From 0c358b0119f03b0287e6be03718f0e5101b3491e Mon Sep 17 00:00:00 2001 From: Carina <47381367+ssb-cgn@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:39:20 +0200 Subject: [PATCH] Mim 1974 fix table component again (#1264) * Fixed probem with width * Bumped version * Small refactoring * Made example table wider * Fixed bug with className * Fixed classname * undo change example --- package-lock.json | 4 ++-- package.json | 2 +- src/components/Table/index.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 59cf3424..430e3c83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.2.12", + "version": "2.2.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@statisticsnorway/ssb-component-library", - "version": "2.2.12", + "version": "2.2.13", "license": "Apache-2.0", "dependencies": { "prismjs": "~1.29.0", diff --git a/package.json b/package.json index 0d1759e8..44a75bc4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.2.12", + "version": "2.2.13", "description": "Component library for SSB (Statistics Norway)", "main": "lib/bundle.js", "scripts": { diff --git a/src/components/Table/index.tsx b/src/components/Table/index.tsx index 3d867439..baeeb92e 100644 --- a/src/components/Table/index.tsx +++ b/src/components/Table/index.tsx @@ -96,7 +96,7 @@ const Table = forwardRef(({ className, caption, da return (
- +
{caption && (