@brightspot/ui 6.1.1-rc.2 → 6.1.2-pr.275

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":1787590212209,"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":1787672126679,"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.1.1-rc.2",
3
+ "version": "6.1.2-pr.275",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "description": "A UI library for building Brightspot CMS components.",
@@ -135,6 +135,10 @@
135
135
  }
136
136
  }
137
137
 
138
+ &:not(:first-child) {
139
+ @apply mt-2;
140
+ }
141
+
138
142
  a:hover {
139
143
  @apply text-gray-900;
140
144
  }
@@ -684,6 +684,10 @@
684
684
  @apply !pointer-events-auto !opacity-100;
685
685
  }
686
686
 
687
+ .CIG-row.is-unlabeled > .AIChatButton {
688
+ @apply absolute right-0 top-[calc(-1_*_var(--button-size-md))] ms-0 ![display:initial];
689
+ }
690
+
687
691
  /* Focus state for CIG-small in read-only rows */
688
692
  :is(.CIG-row.is-readOnly, .CIG.is-readOnly) .CIG-small:focus-within {
689
693
  @apply rounded-lg outline-dashed outline-[4px] outline-gray-300;
@@ -78,10 +78,6 @@ html::view-transition-new(dashboard-widget) {
78
78
  &:has(> a:focus-visible) {
79
79
  @apply ring-inset;
80
80
  }
81
-
82
- &:not(:first-child) {
83
- @apply mt-0;
84
- }
85
81
  }
86
82
 
87
83
  > li > a {
@@ -27,10 +27,6 @@
27
27
  --link-h-min: calc(theme(lineHeight.4) + theme(spacing.2));
28
28
 
29
29
  @apply flex max-h-[--link-h-max] min-h-[--link-h-min] items-center rounded-lg;
30
-
31
- &:not(:first-child) {
32
- @apply mt-2;
33
- }
34
30
  }
35
31
 
36
32
  > li.Message {
@@ -448,14 +448,6 @@ btu-widget.SearchWidget-create {
448
448
  @apply bg-gray-50;
449
449
  }
450
450
 
451
- .Widget[data-internal-name='com.psddev.cms.tool.content.ReferencesWidget'] {
452
- > p {
453
- > a.icon-action-search {
454
- @apply my-4 w-full btu-button btu-button-outline btu-button-sm btu-button-gray btu-button-fill-none before:btu-icon before:btu-icon-search;
455
- }
456
- }
457
- }
458
-
459
451
  /* Translations Widget */
460
452
  .Widget[data-internal-name='com.psddev.translation.page.TranslationTab'] > * {
461
453
  @apply col-span-full;
@@ -0,0 +1,9 @@
1
+ // Injected by webpack's DefinePlugin (webpack.common.ts).
2
+ declare const BRIGHTSPOT_UI_VERSION: string
3
+
4
+ // Separate module so this runs before everything else v5.ts imports. Written inline there it
5
+ // would run after them instead, and not at all if one of them threw. `info` not `debug`:
6
+ // Chrome hides debug behind a filter.
7
+ console.info(`⭕ brightspot-ui ${BRIGHTSPOT_UI_VERSION}`)
8
+
9
+ export {}