@eightshift/ui-components 8.4.1 → 8.5.0

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.
Files changed (79) hide show
  1. package/README.md +11 -1
  2. package/dist/assets/fonts-manifest.json +66 -0
  3. package/dist/assets/style-admin-no-fonts.css +2 -0
  4. package/dist/assets/style-admin.css +1 -1
  5. package/dist/assets/style-editor-no-fonts.css +2 -0
  6. package/dist/assets/style-editor.css +1 -1
  7. package/dist/assets/style-no-fonts.css +2 -0
  8. package/dist/assets/style.css +1 -1
  9. package/dist/{button-NgEJ1eT2.js → button-CCtgOh0o.js} +57 -57
  10. package/dist/{checkbox-DfZDR444.js → checkbox-d1lNvf65.js} +6 -6
  11. package/dist/{color-swatch-CEYPwPsn.js → color-swatch-BstCWUIZ.js} +1 -1
  12. package/dist/components/animated-visibility/animated-visibility.js +1 -1
  13. package/dist/components/base-control/base-control.js +2 -2
  14. package/dist/components/base-control/container.js +8 -8
  15. package/dist/components/breakpoint-preview/breakpoint-preview.js +15 -15
  16. package/dist/components/button/button.js +1 -1
  17. package/dist/components/checkbox/checkbox.js +1 -1
  18. package/dist/components/color-pickers/color-picker.js +1 -1
  19. package/dist/components/color-pickers/color-swatch.js +1 -1
  20. package/dist/components/color-pickers/gradient-editor.js +1 -1
  21. package/dist/components/color-pickers/solid-color-picker.js +1 -1
  22. package/dist/components/component-toggle/component-toggle.js +3 -3
  23. package/dist/components/container-panel/container-panel.js +4 -4
  24. package/dist/components/contextual-help/contextual-help.js +3 -3
  25. package/dist/components/draggable/draggable-handle.js +1 -1
  26. package/dist/components/draggable-list/draggable-list-item.js +2 -2
  27. package/dist/components/draggable-list/draggable-list.js +2 -2
  28. package/dist/components/expandable/expandable.js +6 -6
  29. package/dist/components/index.js +13 -13
  30. package/dist/components/input-field/input-field.js +1 -1
  31. package/dist/components/layout/vstack.js +1 -1
  32. package/dist/components/link-input/link-input.js +1 -1
  33. package/dist/components/matrix-align/matrix-align.js +4 -4
  34. package/dist/components/menu/menu.js +5 -5
  35. package/dist/components/modal/modal.js +1 -1
  36. package/dist/components/notice/notice.js +3 -3
  37. package/dist/components/number-picker/number-picker.js +1 -1
  38. package/dist/components/option-select/option-select.js +2 -2
  39. package/dist/components/options-panel/options-panel.js +6 -6
  40. package/dist/components/placeholders/file-picker-shell.js +7 -7
  41. package/dist/components/placeholders/image-placeholder.js +2 -2
  42. package/dist/components/popover/popover.js +3 -3
  43. package/dist/components/prompt-popover/prompt-popover.js +4 -2
  44. package/dist/components/radio/radio.js +10 -10
  45. package/dist/components/repeater/repeater-item.js +2 -2
  46. package/dist/components/repeater/repeater.js +3 -3
  47. package/dist/components/responsive/mini-responsive.js +18 -18
  48. package/dist/components/responsive/responsive-legacy.js +6 -6
  49. package/dist/components/responsive/responsive.js +17 -17
  50. package/dist/components/responsive-preview/responsive-preview.js +2 -2
  51. package/dist/components/rich-label/rich-label.js +6 -6
  52. package/dist/components/select/async-multi-select.js +16 -16
  53. package/dist/components/select/async-select.js +13 -13
  54. package/dist/components/select/multi-select.js +18 -18
  55. package/dist/components/select/shared.js +1 -1
  56. package/dist/components/select/single-select.js +15 -15
  57. package/dist/components/select/styles.js +6 -6
  58. package/dist/components/slider/column-config-slider.js +10 -10
  59. package/dist/components/slider/slider.js +9 -9
  60. package/dist/components/smart-image/smart-image.js +3 -3
  61. package/dist/components/tabs/tabs.js +1 -1
  62. package/dist/components/toggle/switch.js +1 -1
  63. package/dist/components/toggle/toggle.js +1 -1
  64. package/dist/components/toggle-button/toggle-button.js +1 -1
  65. package/dist/components/tooltip/tooltip.js +1 -1
  66. package/dist/{gradient-editor-CO1iXPM9.js → gradient-editor-D2zB_7Wi.js} +9 -9
  67. package/dist/icons/spinner.js +1 -1
  68. package/dist/index.js +13 -13
  69. package/dist/{input-field-msAE2llt.js → input-field-DVNpRfYE.js} +5 -5
  70. package/dist/{link-input-D1BWznvA.js → link-input-XaVrI3wP.js} +26 -26
  71. package/dist/{modal-DPHjb2V4.js → modal-BXSwfGkf.js} +5 -5
  72. package/dist/{number-picker-Dqwxp_2B.js → number-picker-DLLqEAsq.js} +13 -13
  73. package/dist/{shared-s7XUBOVx.js → shared-CsO_if0Q.js} +6 -6
  74. package/dist/{solid-color-picker-CDrcphjC.js → solid-color-picker-1QabIOpX.js} +4 -4
  75. package/dist/{switch-bqIILR_c.js → switch-CfgDFjqQ.js} +4 -4
  76. package/dist/{tabs-DvGKX3V7.js → tabs-ORp17BEr.js} +26 -26
  77. package/dist/{toggle-button-g3dLI2F1.js → toggle-button-B0nKYFlk.js} +15 -15
  78. package/dist/{tooltip-Dd1nNj0_.js → tooltip-Dxr7aiIX.js} +1 -1
  79. package/package.json +14 -6
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { AnimatedVisibility } from "./components/animated-visibility/animated-visibility.js";
2
- import { t as LinkInput } from "./link-input-D1BWznvA.js";
3
- import { t as Checkbox } from "./checkbox-DfZDR444.js";
4
- import { t as SolidColorPicker } from "./solid-color-picker-CDrcphjC.js";
5
- import { t as ColorSwatch } from "./color-swatch-CEYPwPsn.js";
6
- import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "./tabs-DvGKX3V7.js";
7
- import { n as Tooltip, t as DecorativeTooltip } from "./tooltip-Dd1nNj0_.js";
8
- import { t as Modal } from "./modal-DPHjb2V4.js";
9
- import { t as NumberPicker } from "./number-picker-Dqwxp_2B.js";
10
- import { t as Switch } from "./switch-bqIILR_c.js";
11
- import { t as InputField } from "./input-field-msAE2llt.js";
12
- import { t as ToggleButton } from "./toggle-button-g3dLI2F1.js";
13
- import { n as ButtonGroup, t as Button } from "./button-NgEJ1eT2.js";
2
+ import { t as LinkInput } from "./link-input-XaVrI3wP.js";
3
+ import { t as Checkbox } from "./checkbox-d1lNvf65.js";
4
+ import { t as SolidColorPicker } from "./solid-color-picker-1QabIOpX.js";
5
+ import { t as ColorSwatch } from "./color-swatch-BstCWUIZ.js";
6
+ import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "./tabs-ORp17BEr.js";
7
+ import { n as Tooltip, t as DecorativeTooltip } from "./tooltip-Dxr7aiIX.js";
8
+ import { t as Modal } from "./modal-BXSwfGkf.js";
9
+ import { t as NumberPicker } from "./number-picker-DLLqEAsq.js";
10
+ import { t as Switch } from "./switch-CfgDFjqQ.js";
11
+ import { t as InputField } from "./input-field-DVNpRfYE.js";
12
+ import { t as ToggleButton } from "./toggle-button-B0nKYFlk.js";
13
+ import { n as ButtonGroup, t as Button } from "./button-CCtgOh0o.js";
14
14
  import { RichLabel } from "./components/rich-label/rich-label.js";
15
15
  import { BaseControl } from "./components/base-control/base-control.js";
16
16
  import { BreakpointPreview } from "./components/breakpoint-preview/breakpoint-preview.js";
@@ -34,7 +34,7 @@ import { DraggableHandle } from "./components/draggable/draggable-handle.js";
34
34
  import { SmartImage } from "./components/smart-image/smart-image.js";
35
35
  import { FilePickerShell } from "./components/placeholders/file-picker-shell.js";
36
36
  import { FilePlaceholder } from "./components/placeholders/file-placeholder.js";
37
- import { t as GradientEditor } from "./gradient-editor-CO1iXPM9.js";
37
+ import { t as GradientEditor } from "./gradient-editor-D2zB_7Wi.js";
38
38
  import { MatrixAlign } from "./components/matrix-align/matrix-align.js";
39
39
  import { RadioButton, RadioButtonGroup } from "./components/radio/radio.js";
40
40
  import { OptionSelect } from "./components/option-select/option-select.js";
@@ -144,7 +144,7 @@ var inputClass = cva([
144
144
  },
145
145
  multiline: {
146
146
  false: "es:py-2",
147
- true: "es:py-3 es:rounded-br-sm!"
147
+ true: "es:rounded-br-sm! es:py-3"
148
148
  },
149
149
  disabled: {
150
150
  false: "es:selection:bg-surface-100 es:selection:text-accent-800",
@@ -166,7 +166,7 @@ var inputClass = cva([
166
166
  readOnly: false,
167
167
  class: [
168
168
  "es:bg-white",
169
- "es:bg-linear-to-b es:from-secondary-100/0 es:to-secondary-100/50 es:from-25%",
169
+ "es:bg-linear-to-b es:from-secondary-100/0 es:from-25% es:to-secondary-100/50",
170
170
  "es:hover:from-surface-100/0 es:hover:to-surface-100/50",
171
171
  "es:inset-ring-secondary-400/50 es:hover:inset-ring-surface-300 es:focus:inset-ring-surface-400",
172
172
  "es:inset-shadow-sm es:inset-shadow-secondary-100/50",
@@ -190,17 +190,17 @@ var inputClass = cva([
190
190
  },
191
191
  {
192
192
  disabled: true,
193
- class: ["es:bg-secondary-50 es:inset-ring-secondary-200 es:text-secondary-400"]
193
+ class: ["es:bg-secondary-50 es:text-secondary-400 es:inset-ring-secondary-200"]
194
194
  },
195
195
  {
196
196
  readOnly: true,
197
197
  flat: false,
198
- class: ["es:bg-secondary-50 es:inset-ring-secondary-300 es:text-secondary-400"]
198
+ class: ["es:bg-secondary-50 es:text-secondary-400 es:inset-ring-secondary-300"]
199
199
  },
200
200
  {
201
201
  readOnly: true,
202
202
  flat: true,
203
- class: ["es:bg-secondary-50 es:inset-ring-secondary-300/60 es:text-secondary-400"]
203
+ class: ["es:bg-secondary-50 es:text-secondary-400 es:inset-ring-secondary-300/60"]
204
204
  }
205
205
  ],
206
206
  defaultVariants: {
@@ -23,7 +23,7 @@ import { i as $928221da08ecbc62$export$a11e76429ed99b4, n as $928221da08ecbc62$e
23
23
  import { r as $f664a81d022446b5$export$d085fb9e920b5ca7, t as $b14b6f590b50af39$export$2f645645f7bca764 } from "./useListState-DTn91yqB.js";
24
24
  import { r as $970072cf4b13fde3$export$683480f191c0e3ea, t as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./useOverlayTriggerState-uzs8mam6.js";
25
25
  import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "./useFilter-Yp-QyW1S.js";
26
- import { n as Tooltip } from "./tooltip-Dd1nNj0_.js";
26
+ import { n as Tooltip } from "./tooltip-Dxr7aiIX.js";
27
27
  import { t as $c73d3f3d5ec90946$export$bc3384a35de93d66 } from "./useAsyncList-CjKVLGN0.js";
28
28
  import { RichLabel } from "./components/rich-label/rich-label.js";
29
29
  import { BaseControl } from "./components/base-control/base-control.js";
@@ -1624,16 +1624,16 @@ var inputClass = cva([
1624
1624
  "es:inset-ring!",
1625
1625
  "es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30",
1626
1626
  "es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500",
1627
- "es:placeholder-shown:pr-0 es:pr-10",
1627
+ "es:pr-10 es:placeholder-shown:pr-0",
1628
1628
  "es:focus:placeholder:text-surface-400",
1629
1629
  "es:font-variation-[\"wdth\"_80,\"wght\"_325,\"slnt\"_0,\"ROND\"_100] es:placeholder-shown:font-variation-[\"wdth\"_60,\"wght\"_300,\"slnt\"_-10,\"ROND\"_0]"
1630
1630
  ], {
1631
1631
  variants: {
1632
1632
  size: {
1633
- small: ["es:min-h-8", "es:py-2 es:px-2.5"],
1634
- medium: ["es:min-h-9", "es:py-2 es:px-3"],
1635
- default: ["es:min-h-10", "es:py-2 es:px-3"],
1636
- large: ["es:min-h-12", "es:py-2 es:px-4"]
1633
+ small: ["es:min-h-8", "es:px-2.5 es:py-2"],
1634
+ medium: ["es:min-h-9", "es:px-3 es:py-2"],
1635
+ default: ["es:min-h-10", "es:px-3 es:py-2"],
1636
+ large: ["es:min-h-12", "es:px-4 es:py-2"]
1637
1637
  },
1638
1638
  inline: {
1639
1639
  true: "es:min-w-48",
@@ -1654,7 +1654,7 @@ var inputClass = cva([
1654
1654
  disabled: false,
1655
1655
  class: [
1656
1656
  "es:bg-white",
1657
- "es:bg-linear-to-b es:from-secondary-100/0 es:to-secondary-100/50 es:from-25%",
1657
+ "es:bg-linear-to-b es:from-secondary-100/0 es:from-25% es:to-secondary-100/50",
1658
1658
  "es:hover:from-surface-100/0 es:hover:to-surface-100/50",
1659
1659
  "es:inset-ring-secondary-400/50 es:hover:inset-ring-surface-300 es:focus:inset-ring-surface-400",
1660
1660
  "es:inset-shadow-sm es:inset-shadow-secondary-100/50",
@@ -1677,7 +1677,7 @@ var inputClass = cva([
1677
1677
  },
1678
1678
  {
1679
1679
  disabled: true,
1680
- class: ["es:bg-white es:inset-ring-secondary-200 es:text-secondary-400"]
1680
+ class: ["es:bg-white es:text-secondary-400 es:inset-ring-secondary-200"]
1681
1681
  }
1682
1682
  ],
1683
1683
  defaultVariants: {
@@ -1743,7 +1743,7 @@ var LinkInput = (props) => {
1743
1743
  inline,
1744
1744
  help,
1745
1745
  children: jsxs($3a442827418ebe87$export$eb2fcfdbd7ba97d4, {
1746
- className: "es:relative es:group",
1746
+ className: "es:group es:relative",
1747
1747
  children: [jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
1748
1748
  placeholder: disabled ? void 0 : placeholder,
1749
1749
  className: clsx(inputClass({
@@ -1764,27 +1764,27 @@ var LinkInput = (props) => {
1764
1764
  isAnchor: false
1765
1765
  });
1766
1766
  },
1767
- className: "es:any-focus:outline-hidden es:rounded-xs es:transition-plus es:focus-visible:rounded-md es:focus-visible:bg-surface-200 es:focus-visible:text-accent-900",
1767
+ className: "es:rounded-xs es:transition-plus es:focus-visible:rounded-md es:focus-visible:bg-surface-200 es:focus-visible:text-accent-900 es:any-focus:outline-hidden",
1768
1768
  children: [!(shouldShowSuggestions && suggestionList.isLoading) ? jsx(Tooltip, {
1769
1769
  text: __("Clear", "eightshift-ui-components"),
1770
1770
  children: jsx("div", {
1771
- className: clsx("es:opacity-0 es:group-hover:opacity-100 es:group-focus-within:opacity-100 es:focus-visible:opacity-100", "es:flex es:size-8 es:items-center es:justify-center es:rounded-md es:text-secondary-600 es:backdrop-blur es:transition", "es:hover:bg-red-600/5 es:hover:text-red-600", "es:icon:size-6"),
1771
+ className: clsx("es:opacity-0 es:group-focus-within:opacity-100 es:group-hover:opacity-100 es:focus-visible:opacity-100", "es:flex es:size-8 es:items-center es:justify-center es:rounded-md es:text-secondary-600 es:backdrop-blur-sm es:transition", "es:hover:bg-red-600/5 es:hover:text-red-600", "es:icon:size-6"),
1772
1772
  children: removeIcon
1773
1773
  })
1774
- }) : null, shouldShowSuggestions && suggestionList.isLoading ? jsx(Spinner, { className: "es:size-5! es:m-1.5 es:spinner-4!" }) : null]
1774
+ }) : null, shouldShowSuggestions && suggestionList.isLoading ? jsx(Spinner, { className: "es:m-1.5 es:size-5! es:spinner-4!" }) : null]
1775
1775
  })
1776
1776
  })]
1777
1777
  })
1778
1778
  }), canShowSuggestions && shouldShowSuggestions ? jsxs($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
1779
1779
  "aria-label": __("URL suggestions", "eightshift-ui-components"),
1780
- className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:w-(--trigger-width)", "es:rounded-xl es:outline-hidden es:min-w-72", "es:has-first-selected:rounded-t-18!", "es:has-last-selected:rounded-b-18!", "es:inset-ring es:inset-ring-surface-500/10", "es:inset-shadow-sm es:inset-shadow-white/50", noResults ? "es:bg-surface-50/50" : "es:bg-surface-50/65", noResults ? "es:backdrop-blur-sm" : "es:backdrop-blur-md", noResults ? "es:backdrop-brightness-105" : "es:backdrop-brightness-110", "es:backdrop-saturate-125", "es:shadow-lg es:shadow-black/10", "es:transition-plus", "es:motion-duration-250 es:motion-ease-spring-bouncy", "es:placement-bottom:origin-top-left es:placement-top:origin-bottom-left", (isEntering || !(suggestionList.isLoading || !shouldShowSuggestions)) && "es:motion-scale-x-in-95 es:motion-scale-y-in-85 es:motion-opacity-in-0", (isEntering || !(suggestionList.isLoading || !shouldShowSuggestions)) && "es:placement-top:motion-translate-y-in-[0.5rem] es:placement-bottom:motion-translate-y-in-[-0.5rem]", isExiting && "es:motion-scale-x-out-95 es:motion-scale-y-out-85 es:motion-opacity-out-0", isExiting && "es:placement-top:motion-translate-y-out-[0.5rem] es:placement-bottom:motion-translate-y-out-[-0.5rem]", (suggestionList.isLoading || !shouldShowSuggestions) && "es:invisible"),
1780
+ className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:w-(--trigger-width)", "es:min-w-72 es:rounded-xl es:outline-hidden", "es:has-first-selected:rounded-t-18!", "es:has-last-selected:rounded-b-18!", "es:inset-ring es:inset-ring-surface-500/10", "es:inset-shadow-sm es:inset-shadow-white/50", noResults ? "es:bg-surface-50/50" : "es:bg-surface-50/65", noResults ? "es:backdrop-blur-sm" : "es:backdrop-blur-md", noResults ? "es:backdrop-brightness-105" : "es:backdrop-brightness-110", "es:backdrop-saturate-125", "es:shadow-lg es:shadow-black/10", "es:transition-plus", "es:motion-ease-spring-bouncy es:motion-duration-250", "es:placement-top:origin-bottom-left es:placement-bottom:origin-top-left", (isEntering || !(suggestionList.isLoading || !shouldShowSuggestions)) && "es:motion-opacity-in-0 es:motion-scale-x-in-95 es:motion-scale-y-in-85", (isEntering || !(suggestionList.isLoading || !shouldShowSuggestions)) && "es:placement-top:motion-translate-y-in-[0.5rem] es:placement-bottom:motion-translate-y-in-[-0.5rem]", isExiting && "es:motion-opacity-out-0 es:motion-scale-x-out-95 es:motion-scale-y-out-85", isExiting && "es:placement-top:motion-translate-y-out-[0.5rem] es:placement-bottom:motion-translate-y-out-[-0.5rem]", (suggestionList.isLoading || !shouldShowSuggestions) && "es:invisible"),
1781
1781
  offset: 3,
1782
1782
  maxHeight: .8 * (window.innerWidth ?? 1e3),
1783
1783
  children: [noResults ? jsx(RichLabel, {
1784
1784
  icon: searchEmpty,
1785
1785
  label: __("No results", "eightshift-ui-components"),
1786
1786
  subtitle: __("Try a different search term", "eightshift-ui-components"),
1787
- className: "es:p-4 es:w-fit es:mx-auto es:flex-col es:items-center es:gap-2.5",
1787
+ className: "es:mx-auto es:w-fit es:flex-col es:items-center es:gap-2.5 es:p-4",
1788
1788
  iconClassName: "es:text-accent-50 es:bg-linear-to-br es:from-accent-600 es:to-accent-700 es:p-2 es:rounded-full es:icon:size-7!",
1789
1789
  labelClassName: "es:mx-auto",
1790
1790
  subtitleClassName: "es:mx-auto",
@@ -1803,7 +1803,7 @@ var LinkInput = (props) => {
1803
1803
  }
1804
1804
  return jsx($928221da08ecbc62$export$a11e76429ed99b4, {
1805
1805
  id: item.value || randomId(8),
1806
- className: clsx("es:transition-plus", "es:px-2 es:py-2.5", "es:bg-accent-900/4 es:rounded-sm es:first:rounded-t-lg es:last:rounded-b-lg es:after-current:rounded-t-lg es:before-current:rounded-b-lg", "es:focus-visible:bg-surface-200/65 es:focus-visible:rounded-2xl es:focus-visible:text-accent-950", "es:hover:bg-surface-200/50 es:hover:rounded-2xl es:hover:text-accent-900", "es:pressed:rounded-3xl!", "es:text-surface-950"),
1806
+ className: clsx("es:transition-plus", "es:px-2 es:py-2.5", "es:rounded-sm es:bg-accent-900/4 es:first:rounded-t-lg es:last:rounded-b-lg es:before-current:rounded-b-lg es:after-current:rounded-t-lg", "es:focus-visible:rounded-2xl es:focus-visible:bg-surface-200/65 es:focus-visible:text-accent-950", "es:hover:rounded-2xl es:hover:bg-surface-200/50 es:hover:text-accent-900", "es:pressed:rounded-3xl!", "es:text-surface-950"),
1807
1807
  textValue: itemUrl,
1808
1808
  children: jsx(RichLabel, {
1809
1809
  icon: typeIcon,
@@ -1817,42 +1817,42 @@ var LinkInput = (props) => {
1817
1817
  });
1818
1818
  }
1819
1819
  }), keyboardShortcuts ? jsxs("div", {
1820
- className: "es:flex es:flex-wrap es:items-center es:justify-end-safe es:gap-x-4 es:gap-y-0.5 es:px-2.5 es:pb-2 es:pt-0.5",
1820
+ className: "es:flex es:flex-wrap es:items-center es:justify-end-safe es:gap-x-4 es:gap-y-0.5 es:px-2.5 es:pt-0.5 es:pb-2",
1821
1821
  children: [
1822
1822
  jsxs("div", {
1823
- className: "es:flex es:gap-1 es:items-center",
1823
+ className: "es:flex es:items-center es:gap-1",
1824
1824
  children: [
1825
1825
  jsx("kbd", {
1826
- className: "es:flex es:size-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100] es:text-13 es:text-box-trim",
1826
+ className: "es:flex es:size-4 es:items-center es:justify-center es:rounded-sm es:bg-surface-600/10 es:font-sans es:text-13 es:text-surface-600 es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100] es:text-box-trim",
1827
1827
  children: "↓"
1828
1828
  }),
1829
1829
  jsx("kbd", {
1830
- className: "es:flex es:size-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100] es:text-13 es:text-box-trim",
1830
+ className: "es:flex es:size-4 es:items-center es:justify-center es:rounded-sm es:bg-surface-600/10 es:font-sans es:text-13 es:text-surface-600 es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100] es:text-box-trim",
1831
1831
  children: "↑"
1832
1832
  }),
1833
1833
  jsx("span", {
1834
- className: "es:font-variation-[\"wdth\"_75,\"wght\"_325,\"ROND\"_100,\"slnt\"_-4] es:text-12 es:text-box-trim es:text-surface-700",
1834
+ className: "es:text-12 es:text-surface-700 es:font-variation-[\"wdth\"_75,\"wght\"_325,\"ROND\"_100,\"slnt\"_-4] es:text-box-trim",
1835
1835
  children: __("Navigate", "eightshift-ui-components")
1836
1836
  })
1837
1837
  ]
1838
1838
  }),
1839
1839
  jsxs("div", {
1840
- className: "es:flex es:gap-1 es:items-center",
1840
+ className: "es:flex es:items-center es:gap-1",
1841
1841
  children: [jsx("kbd", {
1842
- className: "es:flex es:size-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100] es:text-13 es:text-box-trim",
1842
+ className: "es:flex es:size-4 es:items-center es:justify-center es:rounded-sm es:bg-surface-600/10 es:font-sans es:text-13 es:text-surface-600 es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100] es:text-box-trim",
1843
1843
  children: "↵"
1844
1844
  }), jsx("span", {
1845
- className: "es:font-variation-[\"wdth\"_75,\"wght\"_325,\"ROND\"_100,\"slnt\"_-4] es:text-12 es:text-box-trim es:text-surface-700",
1845
+ className: "es:text-12 es:text-surface-700 es:font-variation-[\"wdth\"_75,\"wght\"_325,\"ROND\"_100,\"slnt\"_-4] es:text-box-trim",
1846
1846
  children: __("Select", "eightshift-ui-components")
1847
1847
  })]
1848
1848
  }),
1849
1849
  jsxs("div", {
1850
- className: "es:flex es:gap-1 es:items-center",
1850
+ className: "es:flex es:items-center es:gap-1",
1851
1851
  children: [jsx("kbd", {
1852
- className: "es:flex es:h-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-[\"wdth\"_67,\"wght\"_450,\"ROND\"_100] es:text-10 es:text-box-trim es:px-0.75",
1852
+ className: "es:flex es:h-4 es:items-center es:justify-center es:rounded-sm es:bg-surface-600/10 es:px-0.75 es:font-sans es:text-10 es:text-surface-600 es:font-variation-[\"wdth\"_67,\"wght\"_450,\"ROND\"_100] es:text-box-trim",
1853
1853
  children: "Esc"
1854
1854
  }), jsx("span", {
1855
- className: "es:font-variation-[\"wdth\"_75,\"wght\"_325,\"ROND\"_100,\"slnt\"_-4] es:text-12 es:text-box-trim es:text-surface-700",
1855
+ className: "es:text-12 es:text-surface-700 es:font-variation-[\"wdth\"_75,\"wght\"_325,\"ROND\"_100,\"slnt\"_-4] es:text-box-trim",
1856
1856
  children: __("Hide", "eightshift-ui-components")
1857
1857
  })]
1858
1858
  })
@@ -8,7 +8,7 @@ import { t as $2ec61d1d4f780267$export$a8a3e93435678ff9 } from "./Heading-BQje2n
8
8
  import { _ as $e0a0e4399f316b76$export$b80f73f72d03c10f, b as $58196c8d6a1f38fc$export$1c3ebcada18427bf, g as $0644e3663365bfe5$export$ee0f7cc6afcd1c18, h as $081058010ef8962e$export$2317d149ed6f78c4, i as $f2ff30fde7b014be$export$d2f961adcb0afbe, m as $d7a937236970dc7f$export$c6fdb837b070b4ff, n as $f2ff30fde7b014be$export$3ddf2d174ce01153, p as $d7a937236970dc7f$export$14c98a7594375490, r as $f2ff30fde7b014be$export$8b93a07348a7730c, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88, v as $77844860df94ba23$export$ea8f71083e90600f, y as $58196c8d6a1f38fc$export$1020fa7f77e17884 } from "./Dialog-CSqjSLlO.js";
9
9
  import { t as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./useOverlayTriggerState-uzs8mam6.js";
10
10
  import { n as $fcc7165e876206c6$export$6d3443f2c48bfc20, t as $fcc7165e876206c6$export$45fda7c47f93fd48 } from "./animation-COu1iBGW.js";
11
- import { t as Button } from "./button-NgEJ1eT2.js";
11
+ import { t as Button } from "./button-CCtgOh0o.js";
12
12
  import { t as __ } from "./build-module-BISCoQjQ.js";
13
13
  import { clear } from "./icons/ui-icons/clear.js";
14
14
  import { HStack } from "./components/layout/hstack.js";
@@ -282,15 +282,15 @@ var ModalInternal = (props) => {
282
282
  className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:fixed es:inset-0 es:z-9999 es:flex es:min-h-full es:items-center es:justify-center es:overflow-hidden es:p-4", !noBackdrop && "es:bg-accent-950/20 es:backdrop-blur-xs", isEntering && "es:motion-opacity-in es:motion-duration-150", isExiting && "es:motion-opacity-out es:motion-duration-150", overlayClassName),
283
283
  ...rest,
284
284
  children: jsx($8b8d26808cb8cb53$export$2b77a92f1a5ad772, {
285
- className: ({ isEntering, isExiting }) => clsx("es:w-full es:overflow-y-hidden es:rounded-3xl es:inset-ring es:inset-ring-surface-400/30 es:bg-white es:bg-linear-to-b es:from-accent-300/3 es:to-accent-300/1 es:text-left es:align-middle es:shadow-xl es:text-surface-900", width === "default" && "es:max-w-lg", width === "wide" && "es:max-w-[80vw]", isEntering && "es:motion-scale-in-95 es:motion-fade-in es:motion-translate-y-in-[2rem] es:motion-duration-300 es:motion-ease-spring-smooth/scale", isExiting && "es:motion-scale-out-95 es:motion-fade-out es:motion-translate-y-out-[2rem] es:motion-duration-250 es:motion-ease-spring-smooth/scale", className),
285
+ className: ({ isEntering, isExiting }) => clsx("es:w-full es:overflow-y-hidden es:rounded-3xl es:bg-white es:bg-linear-to-b es:from-accent-300/3 es:to-accent-300/1 es:text-left es:align-middle es:text-surface-900 es:shadow-xl es:inset-ring es:inset-ring-surface-400/30", width === "default" && "es:max-w-lg", width === "wide" && "es:max-w-[80vw]", isEntering && "es:motion-preset-fade-sm es:motion-scale-in-95 es:motion-translate-y-in-[2rem] es:motion-ease-spring-smooth/scale", isExiting && "es:motion-scale-out-95 es:motion-opacity-out es:motion-translate-y-out-[2rem] es:motion-ease-spring-smooth/scale es:motion-duration-250", className),
286
286
  children: jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
287
287
  className: clsx("es:relative es:text-sm es:outline-hidden", (!title || headerActions) && "es:pt-8"),
288
288
  "aria-label": ariaLabel,
289
289
  children: ({ close }) => jsxs(Fragment$1, { children: [
290
290
  jsxs(HStack, {
291
- className: clsx(title && "es:p-6 es:pb-3 es:justify-between", headerClassName),
291
+ className: clsx(title && "es:justify-between es:p-6 es:pb-3", headerClassName),
292
292
  children: [title ? jsx($2ec61d1d4f780267$export$a8a3e93435678ff9, {
293
- className: "es:text-balance es:text-3xl! es:my-0! es:text-accent-800 es:font-variation-[\"wdth\"_40,\"wght\"_425,\"slnt\"_-3,\"ROND\"_100]",
293
+ className: "es:my-0! es:text-3xl! es:text-balance es:text-accent-800 es:font-variation-[\"wdth\"_40,\"wght\"_425,\"slnt\"_-3,\"ROND\"_100]",
294
294
  slot: "title",
295
295
  children: title
296
296
  }) : null, !noCloseButton || headerActions ? jsxs(HStack, {
@@ -307,7 +307,7 @@ var ModalInternal = (props) => {
307
307
  }) : null]
308
308
  }),
309
309
  children ? jsx("div", {
310
- className: clsx("es:px-6 es:space-y-2.5 es:overflow-y-auto es:max-h-[70vh]", !actions && "es:mb-6", contentContainerClassName),
310
+ className: clsx("es:max-h-[70vh] es:space-y-2.5 es:overflow-y-auto es:px-6", !actions && "es:mb-6", contentContainerClassName),
311
311
  children
312
312
  }) : null,
313
313
  actions ? jsx(HStack, {
@@ -9,7 +9,7 @@ import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-CA2_mHEB.
9
9
  import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useField-B_ibsWst.js";
10
10
  import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BWMVEpwR.js";
11
11
  import { a as $3a442827418ebe87$export$f9c6924e160136d1, i as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, n as $41fb335299a4a39e$export$37fb8590cf2c088c, r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "./useTextField-C9dxy3po.js";
12
- import { n as ButtonGroup, t as Button } from "./button-NgEJ1eT2.js";
12
+ import { n as ButtonGroup, t as Button } from "./button-CCtgOh0o.js";
13
13
  import { BaseControl } from "./components/base-control/base-control.js";
14
14
  import { t as cva } from "./dist-DpXluZqJ.js";
15
15
  import { chevronDown } from "./icons/ui-icons/chevron-down.js";
@@ -129,9 +129,9 @@ var inputClass = cva([
129
129
  readOnly: false,
130
130
  class: [
131
131
  "es:bg-white",
132
- "es:bg-linear-to-b es:from-secondary-100/0 es:to-secondary-100/50 es:from-25%",
132
+ "es:bg-linear-to-b es:from-secondary-100/0 es:from-25% es:to-secondary-100/50",
133
133
  "es:hover:from-surface-100/0 es:hover:to-surface-100/50",
134
- "es:inset-ring-secondary-400/50 es:hover:inset-ring-surface-300 es:focus-within:inset-ring-surface-400",
134
+ "es:inset-ring-secondary-400/50 es:focus-within:inset-ring-surface-400 es:hover:inset-ring-surface-300",
135
135
  "es:inset-shadow-sm es:inset-shadow-secondary-100/50",
136
136
  "es:hover:placeholder:text-surface-400",
137
137
  "es:placeholder:text-secondary-400",
@@ -147,22 +147,22 @@ var inputClass = cva([
147
147
  "es:focus-within:text-accent-950",
148
148
  "es:placeholder:text-secondary-500/80",
149
149
  "es:bg-secondary-100 es:focus-within:bg-surface-50",
150
- "es:inset-ring-secondary-200/15 es:hover:inset-ring-secondary-200/65 es:focus-within:inset-ring-surface-200"
150
+ "es:inset-ring-secondary-200/15 es:focus-within:inset-ring-surface-200 es:hover:inset-ring-secondary-200/65"
151
151
  ]
152
152
  },
153
153
  {
154
154
  disabled: true,
155
- class: ["es:bg-secondary-50 es:inset-ring-secondary-200 es:text-secondary-400"]
155
+ class: ["es:bg-secondary-50 es:text-secondary-400 es:inset-ring-secondary-200"]
156
156
  },
157
157
  {
158
158
  readOnly: true,
159
159
  flat: false,
160
- class: ["es:bg-secondary-50 es:inset-ring-secondary-300 es:text-secondary-400"]
160
+ class: ["es:bg-secondary-50 es:text-secondary-400 es:inset-ring-secondary-300"]
161
161
  },
162
162
  {
163
163
  readOnly: true,
164
164
  flat: true,
165
- class: ["es:bg-secondary-50 es:inset-ring-secondary-300/60 es:text-secondary-400"]
165
+ class: ["es:bg-secondary-50 es:text-secondary-400 es:inset-ring-secondary-300/60"]
166
166
  }
167
167
  ],
168
168
  defaultVariants: {
@@ -219,32 +219,32 @@ var NumberPicker = (props) => {
219
219
  children: [
220
220
  prefix ? jsx("span", {
221
221
  slot: "prefix",
222
- className: "es:mr-1 es:-translate-y-px es:select-none es:leading-none es:text-current/65 es:font-variation-[\"wdth\"_76,\"wght\"_325,\"slnt\"_-2,\"ROND\"_100] es:group-focus-within:text-surface-500",
222
+ className: "es:mr-1 es:-translate-y-px es:leading-none es:text-current/65 es:select-none es:font-variation-[\"wdth\"_76,\"wght\"_325,\"slnt\"_-2,\"ROND\"_100] es:group-focus-within:text-surface-500",
223
223
  children: prefix
224
224
  }) : null,
225
225
  jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
226
- className: "es:font-variation-[\"wdth\"_80,\"wght\"_325,\"slnt\"_0,\"ROND\"_100] es:placeholder-shown:font-variation-[\"wdth\"_60,\"wght\"_300,\"slnt\"_-10,\"ROND\"_0] es:any-focus:outline-hidden! es:p-px! es:border-none! es:shadow-none! es:bg-transparent es:text-13!",
226
+ className: "es:border-none! es:bg-transparent es:p-px! es:text-13! es:shadow-none! es:font-variation-[\"wdth\"_80,\"wght\"_325,\"slnt\"_0,\"ROND\"_100] es:placeholder-shown:font-variation-[\"wdth\"_60,\"wght\"_300,\"slnt\"_-10,\"ROND\"_0] es:any-focus:outline-hidden!",
227
227
  placeholder,
228
228
  style: { width: inputWidth }
229
229
  }),
230
230
  jsxs(ButtonGroup, {
231
- className: clsx("es:hidden es:transition-discrete es:gap-0! es:transition es:pl-0.5 es:ease-spring-smooth es:duration-300 es:origin-left", "es:starting:opacity-0 es:starting:translate-x-2", "es:opacity-100 es:translate-x-0", !disabled && !readOnly && "es:group-hover:flex es:group-focus-within:flex", disabled && "es:hidden"),
231
+ className: clsx("es:hidden es:origin-left es:gap-0! es:pl-0.5 es:transition es:transition-discrete es:duration-300 es:ease-spring-smooth", "es:starting:translate-x-2 es:starting:opacity-0", "es:translate-x-0 es:opacity-100", !disabled && !readOnly && "es:group-focus-within:flex es:group-hover:flex", disabled && "es:hidden"),
232
232
  vertical: true,
233
233
  children: [jsx(Button, {
234
234
  type: "ghost",
235
- className: clsx("es:col-start-4 es:w-4 es:disabled:opacity-40 es:text-current/80 es:group-focus-within:text-surface-500 es:icon:size-[0.65rem] es:icon:stroke-2", size === "small" ? "es:h-3" : "es:h-3.5"),
235
+ className: clsx("es:col-start-4 es:w-4 es:text-current/80 es:group-focus-within:text-surface-500 es:disabled:opacity-40 es:icon:size-[0.65rem] es:icon:stroke-2", size === "small" ? "es:h-3" : "es:h-3.5"),
236
236
  slot: "increment",
237
237
  icon: chevronUp
238
238
  }), jsx(Button, {
239
239
  type: "ghost",
240
- className: clsx("es:col-start-4 es:w-4 es:disabled:opacity-40 es:text-current/80 es:group-focus-within:text-surface-500 es:icon:size-[0.65rem] es:icon:stroke-2", size === "small" ? "es:h-3" : "es:h-3.5"),
240
+ className: clsx("es:col-start-4 es:w-4 es:text-current/80 es:group-focus-within:text-surface-500 es:disabled:opacity-40 es:icon:size-[0.65rem] es:icon:stroke-2", size === "small" ? "es:h-3" : "es:h-3.5"),
241
241
  slot: "decrement",
242
242
  icon: chevronDown
243
243
  })]
244
244
  }),
245
245
  suffix ? jsx("span", {
246
246
  slot: "suffix",
247
- className: "es:ml-1 es:-translate-y-px es:select-none es:leading-none es:text-current/60 es:font-variation-[\"wdth\"_76,\"wght\"_325,\"slnt\"_-2,\"ROND\"_100] es:group-focus-within:text-surface-500",
247
+ className: "es:ml-1 es:-translate-y-px es:leading-none es:text-current/60 es:select-none es:font-variation-[\"wdth\"_76,\"wght\"_325,\"slnt\"_-2,\"ROND\"_100] es:group-focus-within:text-surface-500",
248
248
  children: suffix
249
249
  }) : null
250
250
  ]
@@ -907,12 +907,12 @@ var getGroupValue = (mapping, key) => {
907
907
  var OptionItemBase = (props) => jsx($928221da08ecbc62$export$a11e76429ed99b4, {
908
908
  ...props,
909
909
  textValue: props.value?.label,
910
- className: ({ isSelected }) => clsx("es:select-none", "es:min-h-11", "es:scroll-m-2 es:scroll-p-2", "es:flex es:items-center-safe es:gap-2", "es:transition-plus es:ease-out es:duration-400", "es:px-3 es:py-1.75", "es:not-has-any-icon:pl-3.5", isSelected && [
910
+ className: ({ isSelected }) => clsx("es:select-none", "es:min-h-11", "es:scroll-m-2 es:scroll-p-2", "es:flex es:items-center-safe es:gap-2", "es:transition-plus es:duration-400 es:ease-out", "es:px-3 es:py-1.75", "es:not-has-any-icon:pl-3.5", isSelected && [
911
911
  "es:bg-accent-50",
912
912
  "es:rounded-2xl",
913
913
  "es:before-selected:rounded-b-md",
914
914
  "es:after-selected:rounded-t-md",
915
- "es:focus-visible:bg-white/90 es:focus-visible:rounded-3xl es:focus-visible:text-accent-700",
915
+ "es:focus-visible:rounded-3xl es:focus-visible:bg-white/90 es:focus-visible:text-accent-700",
916
916
  "es:pressed:rounded-4xl",
917
917
  "es:hover:bg-accent-100 es:hover:text-accent-800",
918
918
  "es:text-accent-800"
@@ -920,9 +920,9 @@ var OptionItemBase = (props) => jsx($928221da08ecbc62$export$a11e76429ed99b4, {
920
920
  "es:bg-surface-50/90",
921
921
  "es:rounded-md",
922
922
  "es:first:rounded-t-xl es:last:rounded-b-xl",
923
- "es:after-current:rounded-t-xl es:before-current:rounded-b-xl",
923
+ "es:before-current:rounded-b-xl es:after-current:rounded-t-xl",
924
924
  "es:hover:rounded-2xl es:pressed:rounded-3xl",
925
- "es:focus-visible:bg-white/90 es:focus-visible:rounded-2xl es:focus-visible:text-accent-950",
925
+ "es:focus-visible:rounded-2xl es:focus-visible:bg-white/90 es:focus-visible:text-accent-950",
926
926
  "es:hover:bg-surface-100/90 es:hover:text-accent-900",
927
927
  "es:text-accent-950"
928
928
  ], "es:any-focus:outline-hidden"),
@@ -930,7 +930,7 @@ var OptionItemBase = (props) => jsx($928221da08ecbc62$export$a11e76429ed99b4, {
930
930
  props.extraPre,
931
931
  props.children,
932
932
  props.selectIndicator ? jsx("div", {
933
- className: clsx("es:transition es:rounded-3xl es:size-5", "es:flex es:items-center es:justify-center es:shrink-0", "es:ml-auto es:overflow-clip", isSelected && "es:bg-accent-700/15 es:text-accent-900", !isSelected && "es:bg-surface-800/7"),
933
+ className: clsx("es:size-5 es:rounded-3xl es:transition", "es:flex es:shrink-0 es:items-center es:justify-center", "es:ml-auto es:overflow-clip", isSelected && "es:bg-accent-700/15 es:text-accent-900", !isSelected && "es:bg-surface-800/7"),
934
934
  children: jsx(AnimatedVisibility, {
935
935
  transition: "scaleRotateFade",
936
936
  visible: isSelected,
@@ -989,7 +989,7 @@ var SelectClearButton = ({ multi = false }) => {
989
989
  const isEmpty = multi ? state?.value === null || Array.isArray(state?.value) && state.value.length === 0 : state?.value === null;
990
990
  return jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
991
991
  "aria-label": __("Clear value", "eightshift-ui-components"),
992
- className: clsx("es:flex es:items-center es:justify-center", "es:rounded-md es:hover:rounded-lg es:pressed:rounded-xl", "es:text-secondary-600 es:hover:bg-red-700/4 es:hover:text-red-700 es:disabled:text-secondary-300", "es:h-7 es:px-1", "es:any-focus:outline-hidden es:focus-visible:ring-2 es:focus-visible:ring-accent-500/50", "es:transition-plus", isEmpty ? "es:hidden" : "es:flex"),
992
+ className: clsx("es:flex es:items-center es:justify-center", "es:rounded-md es:hover:rounded-lg es:pressed:rounded-xl", "es:text-secondary-600 es:hover:bg-red-700/4 es:hover:text-red-700 es:disabled:text-secondary-300", "es:h-7 es:px-1", "es:focus-visible:ring-2 es:focus-visible:ring-accent-500/50 es:any-focus:outline-hidden", "es:transition-plus", isEmpty ? "es:hidden" : "es:flex"),
993
993
  onPress: () => state?.setValue(null),
994
994
  slot: null,
995
995
  children: clear
@@ -14,7 +14,7 @@ import { n as $ea3928288112382f$export$a966af930f325cab } from "./VisuallyHidden
14
14
  import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useField-B_ibsWst.js";
15
15
  import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$a763b9476acd3eb } from "./useFormValidation-CZPIMeNw.js";
16
16
  import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-DFy_BhX1.js";
17
- import { i as $786ce78c8ff38b91$exports, n as $890783418b00a858$export$4cde5df63f53f473, r as $890783418b00a858$export$6e865ea70d7724f, t as ColorSwatch } from "./color-swatch-CEYPwPsn.js";
17
+ import { i as $786ce78c8ff38b91$exports, n as $890783418b00a858$export$4cde5df63f53f473, r as $890783418b00a858$export$6e865ea70d7724f, t as ColorSwatch } from "./color-swatch-BstCWUIZ.js";
18
18
  import { a as $806e559d0c2c64a0$export$6189c2744041d8f8, c as $d806310b82f07e9d$export$e5fda3247f5d67f9, d as $1dfdc54e7eb53ba0$export$36da96379f79f245, l as $4a5dd96ecb58ab11$export$8d15029008292ae, n as $806e559d0c2c64a0$export$1e7083018727fa60, s as $806e559d0c2c64a0$export$f1fce0420cc6d8ee, t as $806e559d0c2c64a0$export$105594979f116971, u as $4b964a467b2bc7ea$export$56b2c08e277f365 } from "./Slider-Dryu0gH7.js";
19
19
  import { a as $3a442827418ebe87$export$f9c6924e160136d1, n as $41fb335299a4a39e$export$37fb8590cf2c088c, r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "./useTextField-C9dxy3po.js";
20
20
  import { BaseControl } from "./components/base-control/base-control.js";
@@ -1218,7 +1218,7 @@ var SolidColorPicker = (props) => {
1218
1218
  onChange: applyColorChange,
1219
1219
  onChangeEnd: onChangeEnd ? applyColorChangeEnd : void 0,
1220
1220
  isDisabled: disabled,
1221
- children: jsx($ceafedee624ffe11$export$a3cc47cee1c1ccc, { className: "es:size-5 es:rounded-full es:transition es:dragging:scale-110! es:border es:border-white es:shadow-[0_0_0_1px_black] es:disabled:invisible" })
1221
+ children: jsx($ceafedee624ffe11$export$a3cc47cee1c1ccc, { className: "es:size-5 es:rounded-full es:border es:border-white es:shadow-[0_0_0_1px_black] es:transition es:disabled:invisible es:dragging:scale-110!" })
1222
1222
  }),
1223
1223
  jsx($016f94378f03b8fe$export$44fd664bcca5b6fb, {
1224
1224
  channel: "hue",
@@ -1227,7 +1227,7 @@ var SolidColorPicker = (props) => {
1227
1227
  isDisabled: disabled,
1228
1228
  children: jsx($806e559d0c2c64a0$export$105594979f116971, {
1229
1229
  className: clsx("es:h-7 es:w-48 es:rounded-10 es:border es:border-secondary-300 es:shadow-sm", "es:[&:has(>_[data-focus-visible=\"true\"])]:ring-2 es:[&:has(>_[data-focus-visible=\"true\"])]:ring-accent-500/50", "es:disabled:bg-linear-to-r! es:disabled:from-white es:disabled:to-secondary-100"),
1230
- children: jsx($ceafedee624ffe11$export$a3cc47cee1c1ccc, { className: "es:top-3.25 es:size-5 es:rounded-full es:border es:border-white es:shadow-[0_0_0_1px_black] es:transition es:dragging:scale-110! es:disabled:invisible" })
1230
+ children: jsx($ceafedee624ffe11$export$a3cc47cee1c1ccc, { className: "es:top-3.25 es:size-5 es:rounded-full es:border es:border-white es:shadow-[0_0_0_1px_black] es:transition es:disabled:invisible es:dragging:scale-110!" })
1231
1231
  })
1232
1232
  }),
1233
1233
  allowTransparency ? jsx($016f94378f03b8fe$export$44fd664bcca5b6fb, {
@@ -1250,7 +1250,7 @@ var SolidColorPicker = (props) => {
1250
1250
  onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
1251
1251
  "aria-label": __("Hex color value", "eightshift-ui-components"),
1252
1252
  isDisabled: disabled,
1253
- children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: clsx("es:leading-none", "es:w-20", "es:transition-plus", "es:any-focus:outline-hidden", "es:inset-ring", "es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30", "es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500", "es:focus:placeholder:text-surface-400", "es:h-8", "es:px-3", "es:font-mono es:text-12", "es:bg-white", "es:bg-linear-to-b es:from-secondary-100/0 es:to-secondary-100/50 es:from-25%", "es:hover:from-surface-100/0 es:hover:to-surface-100/50", "es:inset-ring-secondary-400/50 es:hover:inset-ring-surface-300 es:focus:inset-ring-surface-400", "es:inset-shadow-sm es:inset-shadow-secondary-100/50", "es:hover:placeholder:text-surface-400", "es:placeholder:text-secondary-400", "es:shadow-xs es:shadow-black/5", "es:rounded-lg! es:focus:rounded-xl!", "es:border-none!") })
1253
+ children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: clsx("es:leading-none", "es:w-20", "es:transition-plus", "es:any-focus:outline-hidden", "es:inset-ring", "es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30", "es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500", "es:focus:placeholder:text-surface-400", "es:h-8", "es:px-3", "es:font-mono es:text-12", "es:bg-white", "es:bg-linear-to-b es:from-secondary-100/0 es:from-25% es:to-secondary-100/50", "es:hover:from-surface-100/0 es:hover:to-surface-100/50", "es:inset-ring-secondary-400/50 es:hover:inset-ring-surface-300 es:focus:inset-ring-surface-400", "es:inset-shadow-sm es:inset-shadow-secondary-100/50", "es:hover:placeholder:text-surface-400", "es:placeholder:text-secondary-400", "es:shadow-xs es:shadow-black/5", "es:rounded-lg! es:focus:rounded-xl!", "es:border-none!") })
1254
1254
  }), jsxs(TriggeredPopover, {
1255
1255
  triggerButtonIcon: dropdownCaretAlt,
1256
1256
  className: "es:w-52 es:p-3",
@@ -121,7 +121,7 @@ var outsideClasses = cva([
121
121
  checked: false,
122
122
  disabled: false,
123
123
  class: [
124
- "es:inset-ring-secondary-400 es:bg-white es:bg-linear-to-r es:from-secondary-800/1 es:to-secondary-800/3",
124
+ "es:bg-white es:bg-linear-to-r es:from-secondary-800/1 es:to-secondary-800/3 es:inset-ring-secondary-400",
125
125
  "es:hover:bg-surface-100",
126
126
  "es:group-hover:inset-ring-surface-400"
127
127
  ]
@@ -140,12 +140,12 @@ var outsideClasses = cva([
140
140
  {
141
141
  checked: false,
142
142
  disabled: true,
143
- class: ["es:inset-ring-secondary-300 es:bg-white"]
143
+ class: ["es:bg-white es:inset-ring-secondary-300"]
144
144
  },
145
145
  {
146
146
  checked: true,
147
147
  disabled: true,
148
- class: ["es:inset-ring-secondary-300 es:bg-secondary-300"]
148
+ class: ["es:bg-secondary-300 es:inset-ring-secondary-300"]
149
149
  }
150
150
  ],
151
151
  defaultVariants: {
@@ -158,7 +158,7 @@ var thumbClasses = cva([
158
158
  "es:block es:rounded-full es:will-change-transform",
159
159
  "es:shrink-0",
160
160
  "es:no-webkit-highlight",
161
- "es:transition es:ease-spring-bouncy es:duration-400"
161
+ "es:transition es:duration-400 es:ease-spring-bouncy"
162
162
  ], {
163
163
  variants: {
164
164
  checked: {