From 5d91b93ef194595e3d15c2bb33fdc9341cb422f4 Mon Sep 17 00:00:00 2001 From: lisa Date: Thu, 11 Dec 2025 11:36:37 +0100 Subject: [PATCH 1/4] fix: column width in list --- .changeset/clear-steaks-share.md | 5 + .../__snapshots__/index.test.tsx.snap | 672 +++---- packages/ui/src/components/List/Cell.tsx | 36 +- .../ui/src/components/List/ColumnProvider.tsx | 26 +- .../__snapshots__/index.test.tsx.snap | 1764 ++++++++--------- packages/ui/src/components/List/styles.css.ts | 13 +- .../ui/src/components/List/variables.css.ts | 7 + packages/ui/src/components/Table/Cell.tsx | 8 +- 8 files changed, 1279 insertions(+), 1252 deletions(-) create mode 100644 .changeset/clear-steaks-share.md diff --git a/.changeset/clear-steaks-share.md b/.changeset/clear-steaks-share.md new file mode 100644 index 0000000000..0d89314257 --- /dev/null +++ b/.changeset/clear-steaks-share.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": minor +--- + +Fix `List.Cell` width when it is in % diff --git a/packages/plus/src/components/OfferList/__tests__/__snapshots__/index.test.tsx.snap b/packages/plus/src/components/OfferList/__tests__/__snapshots__/index.test.tsx.snap index 5c18a64ebe..49958f5836 100644 --- a/packages/plus/src/components/OfferList/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/plus/src/components/OfferList/__tests__/__snapshots__/index.test.tsx.snap @@ -65,7 +65,7 @@ exports[`offerList > should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = ` >
should work loading 1`] = `
should work loading 1`] = `
should work loading 1`] = `
should work with badge 1`] = ` >
should work with badge 1`] = `