From e5633ff288ce61459b5a075d5cb35711efc32591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Aguilar?= Date: Thu, 5 Oct 2023 12:20:59 +0200 Subject: [PATCH] [ONL-7971] Adjust table min width when card component is included (#1708) * [ONL-7971] fixed table layout when custom row is shown * [ONL-7971] update snapshots * 2.2.53 --- package-lock.json | 4 ++-- package.json | 2 +- .../ec-smart-table/__snapshots__/ec-smart-table.spec.js.snap | 4 ++-- src/components/ec-table/__snapshots__/ec-table.spec.ts.snap | 4 ++-- src/components/ec-table/ec-table.vue | 1 + 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 78ca0b848..1ab311fcb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ebury/chameleon-components", - "version": "2.2.52", + "version": "2.2.53", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ebury/chameleon-components", - "version": "2.2.52", + "version": "2.2.53", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 1eec5e144..dd0f28b4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ebury/chameleon-components", - "version": "2.2.52", + "version": "2.2.53", "main": "src/main.js", "sideEffects": false, "author": "Ebury Team (http://labs.ebury.rocks/)", diff --git a/src/components/ec-smart-table/__snapshots__/ec-smart-table.spec.js.snap b/src/components/ec-smart-table/__snapshots__/ec-smart-table.spec.js.snap index 801251ec2..76a83b431 100644 --- a/src/components/ec-smart-table/__snapshots__/ec-smart-table.spec.js.snap +++ b/src/components/ec-smart-table/__snapshots__/ec-smart-table.spec.js.snap @@ -26,7 +26,7 @@ exports[`EcSmartTable #slots should only render custom row if "isCustomRowShown" data-test="ec-table-scroll-container" > @@ -123,7 +123,7 @@ exports[`EcSmartTable #slots should render custom row if window width is lower t data-test="ec-table-scroll-container" >
diff --git a/src/components/ec-table/__snapshots__/ec-table.spec.ts.snap b/src/components/ec-table/__snapshots__/ec-table.spec.ts.snap index ce028b880..f7ceae3c6 100644 --- a/src/components/ec-table/__snapshots__/ec-table.spec.ts.snap +++ b/src/components/ec-table/__snapshots__/ec-table.spec.ts.snap @@ -232,7 +232,7 @@ exports[`EcTable should only render custom row if "isCustomRowShown" is true 1`] data-test="ec-table-scroll-container" >
@@ -862,7 +862,7 @@ exports[`EcTable should render custom row if window width is lower than 768px 1` data-test="ec-table-scroll-container" >
diff --git a/src/components/ec-table/ec-table.vue b/src/components/ec-table/ec-table.vue index a22afaf19..3678f43a4 100644 --- a/src/components/ec-table/ec-table.vue +++ b/src/components/ec-table/ec-table.vue @@ -12,6 +12,7 @@