@brightspot/ui 6.0.0 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"generatedAt":1785165091230,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"knownPackages":{"testPackages":{"@storybook/addon-vitest":"10.2.12","@vitest/browser-playwright":"4.0.18","playwright":"1.58.2","vitest":"4.0.18"},"stylingPackages":{"tailwindcss":"^3.4.13","autoprefixer":"10.4.21"}},"hasRouterPackage":false,"packageManager":{"type":"yarn","agent":"yarn","nodeLinker":"undefined"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","portableStoriesFileCount":0,"applicationFileCount":6,"storybookVersion":"10.2.12","storybookVersionSpecifier":"10.2.12","language":"typescript","storybookPackages":{"@storybook/addon-themes":{"version":"10.2.12"},"@storybook/web-components-vite":{"version":"10.2.12"},"@wc-toolkit/storybook-helpers":{"version":"10.0.0"},"eslint-plugin-storybook":{"version":"10.0.7"},"storybook":{}},"addons":{"@storybook/addon-docs":{"version":"10.2.12"},"@storybook/addon-vitest":{"version":"10.2.12"}},"packageJsonType":"module"}
1
+ {"generatedAt":1785267013753,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"knownPackages":{"testPackages":{"@storybook/addon-vitest":"10.2.12","@vitest/browser-playwright":"4.0.18","playwright":"1.58.2","vitest":"4.0.18"},"stylingPackages":{"tailwindcss":"^3.4.13","autoprefixer":"10.4.21"}},"hasRouterPackage":false,"packageManager":{"type":"yarn","agent":"yarn","nodeLinker":"undefined"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","portableStoriesFileCount":0,"applicationFileCount":6,"storybookVersion":"10.2.12","storybookVersionSpecifier":"10.2.12","language":"typescript","storybookPackages":{"@storybook/addon-themes":{"version":"10.2.12"},"@storybook/web-components-vite":{"version":"10.2.12"},"@wc-toolkit/storybook-helpers":{"version":"10.0.0"},"eslint-plugin-storybook":{"version":"10.0.7"},"storybook":{}},"addons":{"@storybook/addon-docs":{"version":"10.2.12"},"@storybook/addon-vitest":{"version":"10.2.12"}},"packageJsonType":"module"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspot/ui",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "description": "A UI library for building Brightspot CMS components.",
@@ -140,7 +140,7 @@
140
140
 
141
141
  .CIG-row > .CIG-note,
142
142
  .CIG-noteItem {
143
- @apply order-12 mt-1.5 text-sm text-gray-500;
143
+ @apply order-12 mt-1.5 w-full basis-full text-sm text-gray-500;
144
144
  [data-dynamic-html] .Message {
145
145
  @apply mb-0 mt-1.5 [overflow-wrap:anywhere];
146
146
  }
@@ -210,16 +210,13 @@
210
210
  @apply hidden;
211
211
  }
212
212
 
213
- /* Show word count when focused and reduces width of note if it contains a message */
213
+ /* Show word count when focused */
214
214
  &:focus-within {
215
215
  .CIG-wordCount {
216
216
  @apply opacity-100;
217
217
 
218
218
  transition: opacity 0.25s cubic-bezier(0.25, 0, 0.2, 1);
219
219
  }
220
- &:has(> .CIG-note .Message) > .CIG-note {
221
- @apply me-2 flex-1;
222
- }
223
220
  }
224
221
 
225
222
  /* hidden/unselected Tab Container CIG-rows, shouldn't have padding */
@@ -37,6 +37,15 @@
37
37
  @apply order-3 ms-auto font-semibold text-[--link-color] decoration-solid decoration-auto max-md:ms-0;
38
38
  }
39
39
 
40
+ /* The Message-icon is always JS-appended last (see Message.js), so a leading anchor means the
41
+ message is just an icon + a bare link (e.g. Book Outline's link, ToolUser's password reset
42
+ link) - it should hug the icon now that the bar is full width, not drift to the far end.
43
+ Messages with real content before the link (e.g. a heading + a "view results" link) are
44
+ unaffected and keep the link pinned to the end. */
45
+ > a:first-child {
46
+ @apply ms-0;
47
+ }
48
+
40
49
  .is-emphasis {
41
50
  @apply mx-2 my-0 font-semibold uppercase;
42
51
  }