@brightspot/ui 6.1.0 → 6.1.1-rc.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":1787061637353,"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":1787342787244,"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.0",
3
+ "version": "6.1.1-rc.1",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "description": "A UI library for building Brightspot CMS components.",
@@ -44,7 +44,7 @@
44
44
 
45
45
  /* These content selectors should just appear as normal ComboInputs */
46
46
  > form > .ContentSelector-select + .ComboInput {
47
- @apply rounded-lg pe-4;
47
+ @apply rounded-lg px-4;
48
48
 
49
49
  &:not([aria-expanded='true'], :focus-visible) {
50
50
  @apply border-gray-300;
@@ -523,7 +523,7 @@
523
523
 
524
524
  /* remove button next to a widget url item */
525
525
  .widget-urlsItemRemove > input[type='checkbox'] {
526
- @apply btu-button btu-button-text-hidden btu-button-fill-none btu-button-gray btu-button-xs border-none after:btu-icon after:btu-icon-x;
526
+ @apply btu-button btu-button-text-hidden btu-button-fill-none btu-button-error btu-button-xs border-none after:btu-icon after:btu-icon-x;
527
527
  }
528
528
 
529
529
  /* url item components in removed state */
@@ -548,7 +548,7 @@
548
548
  }
549
549
 
550
550
  .widget-urlsItem.is-removing .widget-urlsItemRemove > input[type='checkbox'] {
551
- @apply after:btu-icon-undo after:text-inherit;
551
+ @apply btu-button-gray after:btu-icon-undo after:text-inherit;
552
552
  }
553
553
 
554
554
  /* Sites access widget */
@@ -157,7 +157,7 @@
157
157
 
158
158
  .Page-title {
159
159
  --logo-size: 36px;
160
- @apply flex items-center text-sm font-semibold max-md:pe-4 md:grid md:max-w-60 md:shrink-0 [&_a]:font-semibold [&_a]:text-inherit [&_a]:no-underline [&_a]:hover:text-inherit [&_a]:focus:text-inherit;
160
+ @apply flex items-center text-sm font-semibold max-md:pe-4 md:grid md:max-w-xs md:shrink-0 [&_a]:font-semibold [&_a]:text-inherit [&_a]:no-underline [&_a]:hover:text-inherit [&_a]:focus:text-inherit;
161
161
 
162
162
  > a {
163
163
  @apply grid auto-cols-[0px] grid-flow-col grid-cols-[max-content] items-center justify-center rounded-lg text-[0] @[80px]:grid-cols-[max-content_minmax(0,1fr)_max-content] max-md:grow;
@@ -15,6 +15,15 @@ input:where(
15
15
  @apply TextInput;
16
16
  }
17
17
 
18
+ /* MapFormInput writes a bare `<textarea class="json">` with no `rows`, and
19
+ AutoExpand.js skips its JS shim wherever `field-sizing` is supported - the
20
+ CSS that stands in for the shim is scoped to `.AutoExpand`, a wrapper this
21
+ textarea never gets. Opt it in directly so it sizes to its content like
22
+ every other read-only textarea. */
23
+ textarea.json {
24
+ @apply [field-sizing:content];
25
+ }
26
+
18
27
  btu-input {
19
28
  @apply relative;
20
29
  }
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .PreviewFrame-moreActions[aria-expanded] {
18
- @apply btu-button-pressed before:btu-icon-x;
18
+ @apply btu-button-pressed;
19
19
  }
20
20
 
21
21
  .PreviewFrame-typeActions {