diff --git a/package.json b/package.json index 37398bd..1d07c2b 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "@storybook/addon-mdx-gfm": "8.6.14", "@storybook/addon-styling-webpack": "^2.0.0", "@storybook/addon-webpack5-compiler-babel": "^3.0.6", + "@storybook/blocks": "8.6.14", "@storybook/components": "8.6.14", "@storybook/core-events": "8.6.14", "@storybook/node-logger": "8.6.14", @@ -133,10 +134,10 @@ "markdown-to-jsx": "7.1.8", "nanoid": "^3.1.12", "node-polyglot": "^2.4.0", - "react": "^19.1.1", + "react": "19.2.3", "react-accessible-accordion": "5.0.0", "react-beautiful-dnd": "^13.1.1", - "react-dom": "^19.1.1", + "react-dom": "19.2.3", "react-dropzone": "^11.3.2", "react-focus-lock": "^2.9.4", "react-hook-form": "^6.15.5", diff --git a/src/global/tables.scss b/src/global/tables.scss index 0a6b59a..def0e32 100644 --- a/src/global/tables.scss +++ b/src/global/tables.scss @@ -155,6 +155,9 @@ table { @apply text-gray-700; } + width: 100%; + @apply text-right; + @apply pl-2; @screen md { @apply flex; @apply flex-col; @@ -162,9 +165,6 @@ table { @apply text-left; @apply w-full; } - width: 100%; - @apply text-right; - @apply pl-2; .stacked-table-cell { @apply font-semibold; @@ -193,10 +193,10 @@ table { @apply px-0; @apply text-base; @apply text-gray-700; + @apply py-2; @screen md { @apply py-3; } - @apply py-2; } thead { @@ -208,10 +208,10 @@ table { .stacked-table-cell-container { @apply text-right; @apply pr-0; + width: 100%; @screen md { width: auto; } - width: 100%; } } } @@ -238,12 +238,13 @@ table { @apply px-0; @apply pb-0; font-size: var(--bloom-font-size-sm); + @apply pt-0; + @apply pb-2; @screen md { padding-top: var(--bloom-s2); padding-bottom: var(--bloom-s2); } - @apply pt-0; - @apply pb-2; + letter-spacing: normal; } @@ -295,12 +296,12 @@ table { @apply py-0; } .stacked-table-cell { - @screen md { - @apply text-base; - } @apply text-xs; @apply text-black; @apply font-normal; + @screen md { + @apply text-base; + } } .stacked-table-subtext { @apply pl-0; @@ -318,10 +319,10 @@ table { tr { td:first-child { .stacked-table-cell:first-child { + display: none; @screen md { display: block; } - display: none; } } } diff --git a/yarn.lock b/yarn.lock index deab185..f1c0763 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10865,7 +10865,14 @@ react-docgen@^7.0.0: resolve "^1.22.1" strip-indent "^4.0.0" -"react-dom@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", react-dom@^19.1.1: +react-dom@19.2.3: + version "19.2.3" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.2.3.tgz#f0b61d7e5c4a86773889fcc1853af3ed5f215b17" + integrity sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg== + dependencies: + scheduler "^0.27.0" + +"react-dom@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0": version "19.1.1" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.1.1.tgz#2daa9ff7f3ae384aeb30e76d5ee38c046dc89893" integrity sha512-Dlq/5LAZgF0Gaz6yiqZCf6VCcZs1ghAJyrsu84Q/GT0gV+mCxbfmKNoGRKBYMJ8IEdGPqu49YWXD02GCknEDkw== @@ -11010,7 +11017,12 @@ react-transition-group@^4.4.1: loose-envify "^1.4.0" prop-types "^15.6.2" -"react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", react@^19.1.1: +react@19.2.3: + version "19.2.3" + resolved "https://registry.yarnpkg.com/react/-/react-19.2.3.tgz#d83e5e8e7a258cf6b4fe28640515f99b87cd19b8" + integrity sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA== + +"react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0": version "19.1.1" resolved "https://registry.yarnpkg.com/react/-/react-19.1.1.tgz#06d9149ec5e083a67f9a1e39ce97b06a03b644af" integrity sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ== @@ -11519,6 +11531,11 @@ scheduler@^0.26.0: resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.26.0.tgz#4ce8a8c2a2095f13ea11bf9a445be50c555d6337" integrity sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA== +scheduler@^0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.27.0.tgz#0c4ef82d67d1e5c1e359e8fc76d3a87f045fe5bd" + integrity sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q== + schema-utils@^2.6.5, schema-utils@^2.7.0: version "2.7.1" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7"