@eightshift/ui-components 8.5.0-beta.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 (71) hide show
  1. package/README.md +3 -1
  2. package/dist/{button-Bp6Gvutm.js → button-CCtgOh0o.js} +57 -57
  3. package/dist/{checkbox-DfZDR444.js → checkbox-d1lNvf65.js} +6 -6
  4. package/dist/{color-swatch-CEYPwPsn.js → color-swatch-BstCWUIZ.js} +1 -1
  5. package/dist/components/animated-visibility/animated-visibility.js +1 -1
  6. package/dist/components/base-control/base-control.js +2 -2
  7. package/dist/components/base-control/container.js +8 -8
  8. package/dist/components/button/button.js +1 -1
  9. package/dist/components/checkbox/checkbox.js +1 -1
  10. package/dist/components/color-pickers/color-picker.js +1 -1
  11. package/dist/components/color-pickers/color-swatch.js +1 -1
  12. package/dist/components/color-pickers/gradient-editor.js +1 -1
  13. package/dist/components/color-pickers/solid-color-picker.js +1 -1
  14. package/dist/components/component-toggle/component-toggle.js +3 -3
  15. package/dist/components/container-panel/container-panel.js +4 -4
  16. package/dist/components/contextual-help/contextual-help.js +3 -3
  17. package/dist/components/draggable/draggable-handle.js +1 -1
  18. package/dist/components/draggable-list/draggable-list-item.js +1 -1
  19. package/dist/components/draggable-list/draggable-list.js +2 -2
  20. package/dist/components/expandable/expandable.js +6 -6
  21. package/dist/components/index.js +13 -13
  22. package/dist/components/input-field/input-field.js +1 -1
  23. package/dist/components/layout/vstack.js +1 -1
  24. package/dist/components/link-input/link-input.js +1 -1
  25. package/dist/components/matrix-align/matrix-align.js +4 -4
  26. package/dist/components/menu/menu.js +5 -5
  27. package/dist/components/modal/modal.js +1 -1
  28. package/dist/components/notice/notice.js +3 -3
  29. package/dist/components/number-picker/number-picker.js +1 -1
  30. package/dist/components/option-select/option-select.js +2 -2
  31. package/dist/components/options-panel/options-panel.js +6 -6
  32. package/dist/components/placeholders/file-picker-shell.js +7 -7
  33. package/dist/components/placeholders/image-placeholder.js +2 -2
  34. package/dist/components/popover/popover.js +3 -3
  35. package/dist/components/prompt-popover/prompt-popover.js +1 -1
  36. package/dist/components/radio/radio.js +10 -10
  37. package/dist/components/repeater/repeater-item.js +2 -2
  38. package/dist/components/repeater/repeater.js +3 -3
  39. package/dist/components/responsive/mini-responsive.js +18 -18
  40. package/dist/components/responsive/responsive-legacy.js +4 -4
  41. package/dist/components/responsive/responsive.js +17 -17
  42. package/dist/components/responsive-preview/responsive-preview.js +2 -2
  43. package/dist/components/rich-label/rich-label.js +6 -6
  44. package/dist/components/select/async-multi-select.js +16 -16
  45. package/dist/components/select/async-select.js +13 -13
  46. package/dist/components/select/multi-select.js +18 -18
  47. package/dist/components/select/shared.js +1 -1
  48. package/dist/components/select/single-select.js +15 -15
  49. package/dist/components/select/styles.js +6 -6
  50. package/dist/components/slider/column-config-slider.js +10 -10
  51. package/dist/components/slider/slider.js +9 -9
  52. package/dist/components/smart-image/smart-image.js +3 -3
  53. package/dist/components/tabs/tabs.js +1 -1
  54. package/dist/components/toggle/switch.js +1 -1
  55. package/dist/components/toggle/toggle.js +1 -1
  56. package/dist/components/toggle-button/toggle-button.js +1 -1
  57. package/dist/components/tooltip/tooltip.js +1 -1
  58. package/dist/{gradient-editor-Cdr-8Rgz.js → gradient-editor-D2zB_7Wi.js} +6 -6
  59. package/dist/icons/spinner.js +1 -1
  60. package/dist/index.js +13 -13
  61. package/dist/{input-field-msAE2llt.js → input-field-DVNpRfYE.js} +5 -5
  62. package/dist/{link-input-wXPvMs_J.js → link-input-XaVrI3wP.js} +26 -26
  63. package/dist/{modal-hRIfHOS5.js → modal-BXSwfGkf.js} +5 -5
  64. package/dist/{number-picker-CBvcBF-r.js → number-picker-DLLqEAsq.js} +13 -13
  65. package/dist/{shared-s7XUBOVx.js → shared-CsO_if0Q.js} +6 -6
  66. package/dist/{solid-color-picker-CDrcphjC.js → solid-color-picker-1QabIOpX.js} +4 -4
  67. package/dist/{switch-bqIILR_c.js → switch-CfgDFjqQ.js} +4 -4
  68. package/dist/{tabs-oYIgL_0S.js → tabs-ORp17BEr.js} +25 -25
  69. package/dist/{toggle-button-BrQCdMsy.js → toggle-button-B0nKYFlk.js} +15 -15
  70. package/dist/{tooltip-C80k6UfC.js → tooltip-Dxr7aiIX.js} +1 -1
  71. package/package.json +6 -6
@@ -1,7 +1,7 @@
1
1
  import { t as clsx } from "../../clsx-DQoRUQAf.js";
2
2
  import { t as $efe09c6d1c304b50$export$5f1af8db9871e1d6 } from "../../Text-CA2_mHEB.js";
3
- import { t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
4
- import { n as ButtonGroup, t as Button } from "../../button-Bp6Gvutm.js";
3
+ import { t as DecorativeTooltip } from "../../tooltip-Dxr7aiIX.js";
4
+ import { n as ButtonGroup, t as Button } from "../../button-CCtgOh0o.js";
5
5
  import { BaseControl } from "../base-control/base-control.js";
6
6
  import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
7
7
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
@@ -94,17 +94,17 @@ var MiniResponsive = (props) => {
94
94
  const fallbackBreakpoint = defaultBreakpoint ?? "desktop";
95
95
  return jsx(DecorativeTooltip, {
96
96
  placement: "left",
97
- className: "es:p-4! es:rounded-2xl! es:max-w-96!",
97
+ className: "es:max-w-96! es:rounded-2xl! es:p-4!",
98
98
  theme: "light",
99
99
  offset: 7.5,
100
100
  arrow: true,
101
101
  text: jsxs(Fragment$1, { children: [
102
102
  jsx("span", {
103
- className: "es:block es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100] es:text-14 es:leading-none es:text-surface-600",
103
+ className: "es:block es:text-14 es:leading-none es:text-surface-600 es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100]",
104
104
  children: __("Default", "eightshift-ui-components")
105
105
  }),
106
106
  jsxs("span", {
107
- className: "es:block es:text-balance es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2] es:text-surface-500 es:mt-1",
107
+ className: "es:mt-1 es:block es:text-balance es:text-surface-500 es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2]",
108
108
  children: [
109
109
  !firstMobileFirstOverride && !lastDesktopFirstOverride ? __("Always applied, regardless of browser width.", "eightshift-ui-components") : null,
110
110
  firstMobileFirstOverride && !isDesktopFirst ? sprintf(__("Applies when the browser width is %dpx or less.", "eightshift-ui-components"), getBreakpointWidth(firstMobileFirstOverride) - 1) : null,
@@ -139,7 +139,7 @@ var MiniResponsive = (props) => {
139
139
  })
140
140
  ] }),
141
141
  children: jsx("div", {
142
- className: "es:icon:size-6 es:mx-0.5 es:text-accent-700",
142
+ className: "es:mx-0.5 es:text-accent-700 es:icon:size-6",
143
143
  children: jsx(Icon, {
144
144
  icon: overrideIcon,
145
145
  fallback: jsx(Icon, { icon: `screen${upperFirst(fallbackBreakpoint)}` })
@@ -173,16 +173,16 @@ var MiniResponsive = (props) => {
173
173
  wrapperClassName: "es:rounded-3xl",
174
174
  children: [
175
175
  jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, {
176
- className: "es:px-4 es:pt-3 es:pb-0.5 es:text-center es:block es:text-base es:text-surface-600 es:font-variation-[\"wdth\"_105,\"wght\"_425,\"ROND\"_100]",
176
+ className: "es:block es:px-4 es:pt-3 es:pb-0.5 es:text-center es:text-base es:text-surface-600 es:font-variation-[\"wdth\"_105,\"wght\"_425,\"ROND\"_100]",
177
177
  children: __("Responsive overrides", "eightshift-ui-components")
178
178
  }),
179
179
  jsxs("div", {
180
- className: "es:px-2 es:mt-1 es:space-y-0.5",
180
+ className: "es:mt-1 es:space-y-0.5 es:px-2",
181
181
  children: [
182
182
  !isDesktopFirst ? jsxs("div", {
183
- className: clsx("es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:bg-white/50 es:p-1.5 es:rounded-sm es:first:rounded-t-2xl es:last:rounded-b-2xl es:inset-ring es:inset-ring-accent-600/25", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
183
+ className: clsx("es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-accent-600/25 es:first:rounded-t-2xl es:last:rounded-b-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
184
184
  children: [renderDefaultTooltip(), jsx("div", {
185
- className: "es:w-full es:col-start-2 es:col-end-2",
185
+ className: "es:col-start-2 es:col-end-2 es:w-full",
186
186
  children: children({
187
187
  breakpoint: defaultKey,
188
188
  currentValue: getResponsiveValue(value, defaultKey),
@@ -202,21 +202,21 @@ var MiniResponsive = (props) => {
202
202
  const aboveOverride = isDesktopFirst ? filterBreakpoints.slice(index + 1).find((currentBreakpoint) => value[currentBreakpoint] !== void 0) : filterBreakpoints.slice(0, index + 1).reverse().find((currentBreakpoint) => value[currentBreakpoint] !== void 0);
203
203
  const belowOverride = isDesktopFirst ? filterBreakpoints.slice(0, index).reverse().find((currentBreakpoint) => value[currentBreakpoint] !== void 0) : filterBreakpoints.slice(index + 2).find((currentBreakpoint) => value[currentBreakpoint] !== void 0);
204
204
  return jsxs("div", {
205
- className: clsx("es:grid es:grid-cols-[minmax(0,auto)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-1.5", "es:bg-white/50 es:p-1.5 es:rounded-sm es:first:rounded-t-2xl es:last:rounded-b-2xl es:inset-ring es:inset-ring-surface-200/60", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
205
+ className: clsx("es:grid es:grid-cols-[minmax(0,auto)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-1.5", "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-surface-200/60 es:first:rounded-t-2xl es:last:rounded-b-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
206
206
  children: [
207
207
  jsx(DecorativeTooltip, {
208
208
  placement: "left",
209
209
  theme: "light",
210
- className: "es:p-4! es:rounded-2xl! es:max-w-96!",
210
+ className: "es:max-w-96! es:rounded-2xl! es:p-4!",
211
211
  offset: 7.5,
212
212
  arrow: true,
213
213
  text: jsxs(Fragment$1, { children: [
214
214
  jsx("span", {
215
- className: "es:block es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100] es:text-14 es:leading-none es:text-surface-600",
215
+ className: "es:block es:text-14 es:leading-none es:text-surface-600 es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100]",
216
216
  children: breakpointUiData?.[realBreakpointName]?.label ?? upperFirst(realBreakpointName)
217
217
  }),
218
218
  jsx("span", {
219
- className: "es:block es:text-balance es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2] es:text-surface-500 es:mt-1",
219
+ className: "es:mt-1 es:block es:text-balance es:text-surface-500 es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2]",
220
220
  children: !isDesktopFirst ? jsxs(Fragment$1, { children: [
221
221
  !belowOverride && value[breakpoint] !== void 0 ? sprintf(__("Applied when the browser width is %dpx or more.", "eightshift-ui-components"), getBreakpointWidth(realBreakpointName)) : null,
222
222
  belowOverride && value[breakpoint] !== void 0 ? sprintf(__("Applied when the browser width is between %dpx and %dpx.", "eightshift-ui-components"), getBreakpointWidth(realBreakpointName), getBreakpointWidth(belowOverride) - 1) : null,
@@ -228,7 +228,7 @@ var MiniResponsive = (props) => {
228
228
  ] })
229
229
  }),
230
230
  value[breakpoint] === void 0 ? jsx("span", {
231
- className: "es:mt-2 es:text-sm es:leading-none es:block es:font-variation-[\"wdth\"_75,\"wght\"_300,\"slnt\"_-5]",
231
+ className: "es:mt-2 es:block es:text-sm es:leading-none es:font-variation-[\"wdth\"_75,\"wght\"_300,\"slnt\"_-5]",
232
232
  children: __("Not set", "eightshift-ui-components")
233
233
  }) : null,
234
234
  value[breakpoint] !== void 0 ? jsx("div", {
@@ -292,7 +292,7 @@ var MiniResponsive = (props) => {
292
292
  }) : null
293
293
  ] }),
294
294
  children: jsx("div", {
295
- className: clsx("es:transition-colors es:icon:size-6 es:mx-0.5", value[breakpoint] !== void 0 ? "es:text-surface-600" : "es:text-surface-300"),
295
+ className: clsx("es:mx-0.5 es:transition-colors es:icon:size-6", value[breakpoint] !== void 0 ? "es:text-surface-600" : "es:text-surface-300"),
296
296
  children: jsx(Icon, {
297
297
  icon: breakpointUiData?.[realBreakpointName]?.icon,
298
298
  fallback: jsx(Icon, { icon: `screen${upperFirst(realBreakpointName)}` })
@@ -325,9 +325,9 @@ var MiniResponsive = (props) => {
325
325
  }, realBreakpointName);
326
326
  }),
327
327
  isDesktopFirst ? jsxs("div", {
328
- className: clsx("es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:bg-white/50 es:p-1.5 es:rounded-sm es:first:rounded-t-2xl es:last:rounded-b-2xl es:inset-ring es:inset-ring-accent-600/25", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
328
+ className: clsx("es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-accent-600/25 es:first:rounded-t-2xl es:last:rounded-b-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
329
329
  children: [renderDefaultTooltip(), jsx("div", {
330
- className: "es:w-full es:col-start-2 es:col-end-2",
330
+ className: "es:col-start-2 es:col-end-2 es:w-full",
331
331
  children: children({
332
332
  breakpoint: defaultKey,
333
333
  currentValue: getResponsiveValue(value, defaultKey),
@@ -1,8 +1,8 @@
1
1
  import { t as clsx } from "../../clsx-DQoRUQAf.js";
2
2
  import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
3
- import { t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
4
- import { t as ToggleButton } from "../../toggle-button-BrQCdMsy.js";
5
- import { t as Button } from "../../button-Bp6Gvutm.js";
3
+ import { t as DecorativeTooltip } from "../../tooltip-Dxr7aiIX.js";
4
+ import { t as ToggleButton } from "../../toggle-button-B0nKYFlk.js";
5
+ import { t as Button } from "../../button-CCtgOh0o.js";
6
6
  import { BaseControl } from "../base-control/base-control.js";
7
7
  import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
8
8
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
@@ -93,7 +93,7 @@ var ResponsiveLegacy = (props) => {
93
93
  className: "es:max-w-64 es:p-1",
94
94
  children: [
95
95
  jsx("span", {
96
- className: "es:block es:text-balance es:font-semibold es:tabular-nums",
96
+ className: "es:block es:font-semibold es:text-balance es:tabular-nums",
97
97
  children: __("Default", "eightshift-ui-components")
98
98
  }),
99
99
  jsxs("span", {
@@ -1,8 +1,8 @@
1
1
  import { t as clsx } from "../../clsx-DQoRUQAf.js";
2
2
  import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
3
- import { t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
4
- import { t as ToggleButton } from "../../toggle-button-BrQCdMsy.js";
5
- import { n as ButtonGroup, t as Button } from "../../button-Bp6Gvutm.js";
3
+ import { t as DecorativeTooltip } from "../../tooltip-Dxr7aiIX.js";
4
+ import { t as ToggleButton } from "../../toggle-button-B0nKYFlk.js";
5
+ import { n as ButtonGroup, t as Button } from "../../button-CCtgOh0o.js";
6
6
  import { BaseControl } from "../base-control/base-control.js";
7
7
  import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
8
8
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
@@ -96,17 +96,17 @@ var Responsive = (props) => {
96
96
  const fallbackBreakpoint = defaultBreakpoint ?? "desktop";
97
97
  return jsx(DecorativeTooltip, {
98
98
  placement: "left",
99
- className: "es:p-4! es:rounded-2xl! es:max-w-96!",
99
+ className: "es:max-w-96! es:rounded-2xl! es:p-4!",
100
100
  theme: "light",
101
101
  offset: 7.5,
102
102
  arrow: true,
103
103
  text: jsxs(Fragment$1, { children: [
104
104
  jsx("span", {
105
- className: "es:block es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100] es:text-14 es:leading-none es:text-surface-600",
105
+ className: "es:block es:text-14 es:leading-none es:text-surface-600 es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100]",
106
106
  children: __("Default", "eightshift-ui-components")
107
107
  }),
108
108
  jsxs("span", {
109
- className: "es:block es:text-balance es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2] es:text-surface-500 es:mt-1",
109
+ className: "es:mt-1 es:block es:text-balance es:text-surface-500 es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2]",
110
110
  children: [
111
111
  !firstMobileFirstOverride && !lastDesktopFirstOverride ? __("Always applied, regardless of browser width.", "eightshift-ui-components") : null,
112
112
  firstMobileFirstOverride && !isDesktopFirst ? sprintf(__("Applies when the browser width is %dpx or less.", "eightshift-ui-components"), getBreakpointWidth(firstMobileFirstOverride) - 1) : null,
@@ -141,7 +141,7 @@ var Responsive = (props) => {
141
141
  }) : null
142
142
  ] }),
143
143
  children: jsx("div", {
144
- className: "es:icon:size-6 es:mx-0.5 es:text-accent-700",
144
+ className: "es:mx-0.5 es:text-accent-700 es:icon:size-6",
145
145
  children: jsx(Icon, {
146
146
  icon: overrideIcon,
147
147
  fallback: jsx(Icon, { icon: `screen${upperFirst(fallbackBreakpoint)}` })
@@ -243,7 +243,7 @@ var Responsive = (props) => {
243
243
  })] })] }),
244
244
  children: [
245
245
  !isDesktopFirst && !inline ? jsxs("div", {
246
- className: clsx("es:grid es:items-center es:gap-x-2 es:transition-[grid-template-columns,margin-block-end] es:duration-200", detailsVisible && "es:bg-white/50 es:p-1.5 es:rounded-sm es:first:rounded-t-2xl es:last:rounded-b-2xl es:inset-ring es:inset-ring-accent-600/25", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch", detailsVisible ? "es:mb-0.5 es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)]" : "es:grid-cols-[minmax(0,0rem)_minmax(0,1fr)_minmax(0,2.25rem)]"),
246
+ className: clsx("es:grid es:items-center es:gap-x-2 es:transition-[grid-template-columns,margin-block-end] es:duration-200", detailsVisible && "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-accent-600/25 es:first:rounded-t-2xl es:last:rounded-b-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch", detailsVisible ? "es:mb-0.5 es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)]" : "es:grid-cols-[minmax(0,0rem)_minmax(0,1fr)_minmax(0,2.25rem)]"),
247
247
  children: [detailsVisible ? renderDefaultTooltip() : null, jsx("div", {
248
248
  className: clsx("es:w-full", detailsVisible ? "es:col-start-2 es:col-end-2" : "es:col-span-full"),
249
249
  children: children({
@@ -259,7 +259,7 @@ var Responsive = (props) => {
259
259
  })]
260
260
  }, "_default-mobile-first") : null,
261
261
  !isDesktopFirst && inline ? jsxs(AnimatedVisibility, {
262
- className: clsx("es:mb-0.5 es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:bg-white/50 es:p-1.5 es:rounded-sm es:first:rounded-t-2xl es:last:rounded-b-2xl es:inset-ring es:inset-ring-accent-600/25", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
262
+ className: clsx("es:mb-0.5 es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-accent-600/25 es:first:rounded-t-2xl es:last:rounded-b-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
263
263
  visible: detailsVisible,
264
264
  children: [renderDefaultTooltip(), jsx("div", {
265
265
  className: "es:col-start-2 es:col-end-2 es:w-full",
@@ -285,21 +285,21 @@ var Responsive = (props) => {
285
285
  const aboveOverride = isDesktopFirst ? filterBreakpoints.slice(index + 1).find((currentBreakpoint) => value[currentBreakpoint] !== void 0) : filterBreakpoints.slice(0, index + 1).reverse().find((currentBreakpoint) => value[currentBreakpoint] !== void 0);
286
286
  const belowOverride = isDesktopFirst ? filterBreakpoints.slice(0, index).reverse().find((currentBreakpoint) => value[currentBreakpoint] !== void 0) : filterBreakpoints.slice(index + 2).find((currentBreakpoint) => value[currentBreakpoint] !== void 0);
287
287
  return jsxs("div", {
288
- className: clsx("es:grid es:grid-cols-[minmax(0,auto)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:bg-white/50 es:p-1.5 es:rounded-sm es:inset-ring es:inset-ring-surface-200/60", !isDesktopFirst && "es:last:rounded-b-2xl", isDesktopFirst && "es:first:rounded-t-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
288
+ className: clsx("es:grid es:grid-cols-[minmax(0,auto)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2", "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-surface-200/60", !isDesktopFirst && "es:last:rounded-b-2xl", isDesktopFirst && "es:first:rounded-t-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
289
289
  children: [
290
290
  jsx(DecorativeTooltip, {
291
291
  placement: "left",
292
292
  theme: "light",
293
- className: "es:p-4! es:rounded-2xl! es:max-w-96!",
293
+ className: "es:max-w-96! es:rounded-2xl! es:p-4!",
294
294
  offset: 7.5,
295
295
  arrow: true,
296
296
  text: jsxs(Fragment$1, { children: [
297
297
  jsx("span", {
298
- className: "es:block es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100] es:text-14 es:leading-none es:text-surface-600",
298
+ className: "es:block es:text-14 es:leading-none es:text-surface-600 es:font-variation-[\"wdth\"_95,\"wght\"_475,\"ROND\"_100]",
299
299
  children: breakpointUiData?.[realBreakpointName]?.label ?? upperFirst(realBreakpointName)
300
300
  }),
301
301
  jsx("span", {
302
- className: "es:block es:text-balance es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2] es:text-surface-500 es:mt-1",
302
+ className: "es:mt-1 es:block es:text-balance es:text-surface-500 es:tabular-nums es:font-variation-[\"wdth\"_64,\"wght\"_275,\"ROND\"_50,\"slnt\"_-2]",
303
303
  children: !isDesktopFirst ? jsxs(Fragment$1, { children: [
304
304
  !belowOverride && value[breakpoint] !== void 0 ? sprintf(__("Applied when the browser width is %dpx or more.", "eightshift-ui-components"), getBreakpointWidth(realBreakpointName)) : null,
305
305
  belowOverride && value[breakpoint] !== void 0 ? sprintf(__("Applied when the browser width is between %dpx and %dpx.", "eightshift-ui-components"), getBreakpointWidth(realBreakpointName), getBreakpointWidth(belowOverride) - 1) : null,
@@ -311,7 +311,7 @@ var Responsive = (props) => {
311
311
  ] })
312
312
  }),
313
313
  value[breakpoint] === void 0 ? jsx("span", {
314
- className: "es:mt-2 es:text-sm es:leading-none es:block es:font-variation-[\"wdth\"_75,\"wght\"_300,\"slnt\"_-5]",
314
+ className: "es:mt-2 es:block es:text-sm es:leading-none es:font-variation-[\"wdth\"_75,\"wght\"_300,\"slnt\"_-5]",
315
315
  children: __("Not set", "eightshift-ui-components")
316
316
  }) : null,
317
317
  value[breakpoint] !== void 0 ? jsx("div", {
@@ -375,7 +375,7 @@ var Responsive = (props) => {
375
375
  }) : null
376
376
  ] }),
377
377
  children: jsx("div", {
378
- className: clsx("es:transition-colors es:icon:size-6 es:mx-0.5", value[breakpoint] !== void 0 ? "es:text-surface-600" : "es:text-surface-300"),
378
+ className: clsx("es:mx-0.5 es:transition-colors es:icon:size-6", value[breakpoint] !== void 0 ? "es:text-surface-600" : "es:text-surface-300"),
379
379
  children: jsx(Icon, {
380
380
  icon: breakpointUiData?.[realBreakpointName]?.icon,
381
381
  fallback: jsx(Icon, { icon: `screen${upperFirst(realBreakpointName)}` })
@@ -409,7 +409,7 @@ var Responsive = (props) => {
409
409
  })
410
410
  }),
411
411
  isDesktopFirst && !inline ? jsxs("div", {
412
- className: clsx("es:grid es:items-center es:gap-x-2 es:transition-[grid-template-columns,margin-block-start] es:duration-150", detailsVisible && "es:bg-white/50 es:p-1.5 es:rounded-sm es:first:rounded-t-2xl es:last:rounded-b-2xl es:inset-ring es:inset-ring-accent-600/25 es:transition-plus", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch", detailsVisible ? "es:mt-0.5 es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)]" : "es:grid-cols-[minmax(0,0rem)_minmax(0,1fr)_minmax(0,2.25rem)]"),
412
+ className: clsx("es:grid es:items-center es:gap-x-2 es:transition-[grid-template-columns,margin-block-start] es:duration-150", detailsVisible && "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-accent-600/25 es:transition-plus es:first:rounded-t-2xl es:last:rounded-b-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch", detailsVisible ? "es:mt-0.5 es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)]" : "es:grid-cols-[minmax(0,0rem)_minmax(0,1fr)_minmax(0,2.25rem)]"),
413
413
  children: [detailsVisible ? renderDefaultTooltip() : null, jsx("div", {
414
414
  className: clsx("es:w-full", detailsVisible ? "es:col-start-2 es:col-end-2" : "es:col-span-full"),
415
415
  children: children({
@@ -425,7 +425,7 @@ var Responsive = (props) => {
425
425
  })]
426
426
  }, "_default-desktop-first") : null,
427
427
  isDesktopFirst && inline ? jsxs(AnimatedVisibility, {
428
- className: clsx("es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2 es:pt-1", "es:bg-white/50 es:p-1.5 es:rounded-sm es:first:rounded-t-2xl es:last:rounded-b-2xl es:inset-ring es:inset-ring-accent-600/25", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
428
+ className: clsx("es:grid es:grid-cols-[minmax(0,1.75rem)_minmax(0,1fr)_minmax(0,2.25rem)] es:items-center es:gap-x-2 es:pt-1", "es:rounded-sm es:bg-white/50 es:p-1.5 es:inset-ring es:inset-ring-accent-600/25 es:first:rounded-t-2xl es:last:rounded-b-2xl", innerContentAlign === "start" && "es:justify-items-start", innerContentAlign === "center" && "es:justify-items-center", innerContentAlign === "end" && "es:justify-items-end", innerContentAlign === "stretch" && "es:justify-items-stretch"),
429
429
  visible: detailsVisible,
430
430
  children: [renderDefaultTooltip(), jsx("div", {
431
431
  className: "es:col-start-2 es:col-end-2",
@@ -73,12 +73,12 @@ var ResponsivePreview = (props) => {
73
73
  icon: previewResponsive,
74
74
  label: __("Breakpoint preview", "eightshift-ui-components")
75
75
  }), jsx("span", {
76
- className: "es:ml-auto es:select-none es:rounded-sm es:bg-secondary-100 es:px-1 es:py-0.5 es:text-xs es:text-secondary-500",
76
+ className: "es:ml-auto es:rounded-sm es:bg-secondary-100 es:px-1 es:py-0.5 es:text-xs es:text-secondary-500 es:select-none",
77
77
  children: isDesktopFirst ? __("Desktop-first", "eightshift-ui-components") : __("Mobile-first", "eightshift-ui-components")
78
78
  })]
79
79
  }),
80
80
  previewItems.length === 0 ? jsx("span", {
81
- className: "es:text-sm es:italic es:text-secondary-500",
81
+ className: "es:text-sm es:text-secondary-500 es:italic",
82
82
  children: __("No overrides applied", "eightshift-ui-components")
83
83
  }) : null,
84
84
  jsx(BreakpointPreview, {
@@ -25,7 +25,7 @@ var RichLabel = (props) => {
25
25
  const subtitleBaseClassName = "es:font-variation-[\"wdth\"_85,\"wght\"_285,\"ROND\"_100]";
26
26
  if (contentsOnly) return jsxs(Fragment$1, { children: [
27
27
  icon && jsx("span", {
28
- className: clsx("es:icon:size-5 es:not-contrast-more:opacity-85", iconClassName),
28
+ className: clsx("es:not-contrast-more:opacity-85 es:icon:size-5", iconClassName),
29
29
  children: icon
30
30
  }),
31
31
  label && jsx("span", {
@@ -33,11 +33,11 @@ var RichLabel = (props) => {
33
33
  children: label
34
34
  }),
35
35
  subtitle && jsx("span", {
36
- className: clsx("es:text-balance es:text-xs es:not-contrast-more:opacity-65", subtitleBaseClassName, subtitleClassName),
36
+ className: clsx("es:text-xs es:text-balance es:not-contrast-more:opacity-65", subtitleBaseClassName, subtitleClassName),
37
37
  children: subtitle
38
38
  }),
39
39
  endIcon && jsx("span", {
40
- className: clsx("es:icon:size-5 es:not-contrast-more:opacity-85 es:ml-auto", iconClassName),
40
+ className: clsx("es:ml-auto es:not-contrast-more:opacity-85 es:icon:size-5", iconClassName),
41
41
  children: endIcon
42
42
  })
43
43
  ] });
@@ -46,11 +46,11 @@ var RichLabel = (props) => {
46
46
  ...rest,
47
47
  children: [
48
48
  icon && jsx("span", {
49
- className: clsx("es:icon:size-5 es:shrink-0", "es:not-contrast-more:opacity-85", iconClassName),
49
+ className: clsx("es:shrink-0 es:icon:size-5", "es:not-contrast-more:opacity-85", iconClassName),
50
50
  children: icon
51
51
  }),
52
52
  (label || subtitle) && jsxs("div", {
53
- className: clsx("es:flex es:items-start es:text-balance es:text-start", inlineSubtitle ? "es:gap-1.5" : "es:flex-col", labelSubtitleWrapClassName),
53
+ className: clsx("es:flex es:items-start es:text-start es:text-balance", inlineSubtitle ? "es:gap-1.5" : "es:flex-col", labelSubtitleWrapClassName),
54
54
  children: [label && jsx("span", {
55
55
  className: clsx(labelBaseClassName, labelClassName),
56
56
  children: label
@@ -60,7 +60,7 @@ var RichLabel = (props) => {
60
60
  })]
61
61
  }),
62
62
  endIcon && jsx("span", {
63
- className: clsx("es:icon:size-5 es:shrink-0", "es:not-contrast-more:opacity-85 es:ml-auto", iconClassName),
63
+ className: clsx("es:shrink-0 es:icon:size-5", "es:ml-auto es:not-contrast-more:opacity-85", iconClassName),
64
64
  children: endIcon
65
65
  })
66
66
  ]
@@ -5,7 +5,7 @@ import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJ
5
5
  import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DcI8gSfH.js";
6
6
  import { O as $53e61d82d8b8611d$export$8b251419efc915eb, d as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CSqjSLlO.js";
7
7
  import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C9dxy3po.js";
8
- import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-s7XUBOVx.js";
8
+ import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-CsO_if0Q.js";
9
9
  import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-D8_U8eBS.js";
10
10
  import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-N1nXzeWK.js";
11
11
  import { t as $c73d3f3d5ec90946$export$bc3384a35de93d66 } from "../../useAsyncList-CjKVLGN0.js";
@@ -215,11 +215,11 @@ var AsyncMultiSelect = (props) => {
215
215
  jsxs($7705c033048f6da7$export$353f5b6fc5456de1, {
216
216
  className: selectButtonClass({ size }),
217
217
  children: [jsx($c8bb816105474884$export$e288731fd71264f0, {
218
- className: "es:select-none es:pointer-events-none",
218
+ className: "es:pointer-events-none es:select-none",
219
219
  children: ({ isPlaceholder, selectedItems }) => {
220
220
  const [selectedItem] = selectedItems;
221
221
  if (!currentValueKeys.length || isPlaceholder) return jsx("span", {
222
- className: "es:select-none es:pointer-events-none es:pr-6 es:text-sm es:text-surface-500",
222
+ className: "es:pointer-events-none es:pr-6 es:text-sm es:text-surface-500 es:select-none",
223
223
  children: placeholder
224
224
  });
225
225
  const activeItem = selectedItem ?? currentValue[0] ?? null;
@@ -236,18 +236,18 @@ var AsyncMultiSelect = (props) => {
236
236
  icon: renderOptionIcon(selectedIcon),
237
237
  label: activeItem?.label,
238
238
  subtitle: activeItem?.subtitle,
239
- className: clsx("es:pr-6 es:grow es:w-full", disabled && "es:grayscale es:pointer-events-none"),
239
+ className: clsx("es:w-full es:grow es:pr-6", disabled && "es:pointer-events-none es:grayscale"),
240
240
  iconClassName: "es:pointer-events-none es:select-none",
241
241
  labelClassName: "es:line-clamp-1",
242
242
  subtitleClassName: "es:line-clamp-1"
243
243
  });
244
244
  }
245
245
  }), jsxs("div", {
246
- className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:flex es:items-center", disabled ? "es:text-secondary-300" : "es:text-secondary-500"),
246
+ className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:flex es:items-center", disabled ? "es:text-secondary-300" : "es:text-secondary-500"),
247
247
  "aria-hidden": "true",
248
248
  children: [!customDropdownArrow ? cloneElement(dropdownCaret, { className: "es:w-4 es:stroke-[1.2] es:group-aria-expanded:-scale-y-100 es:transition-transform es:duration-200" }) : null, customDropdownArrow ? jsx("div", {
249
249
  "aria-hidden": "true",
250
- className: "es:group-aria-expanded:-scale-y-100 es:transition-transform es:duration-200",
250
+ className: "es:transition-transform es:duration-200 es:group-aria-expanded:-scale-y-100",
251
251
  children: customDropdownArrow
252
252
  }) : null]
253
253
  })]
@@ -269,7 +269,7 @@ var AsyncMultiSelect = (props) => {
269
269
  hidden: Boolean(noReorder) || disabled || currentValue.length < 2,
270
270
  style: getPopoverStyle(null),
271
271
  children: [jsx("span", {
272
- className: "es:text-sm es:ml-3 es:mt-2 es:mb-1 es:font-variation-[\"wdth\"_100,\"wght\"_325,\"ROND\"_100] es:text-surface-600",
272
+ className: "es:mt-2 es:mb-1 es:ml-3 es:text-sm es:text-surface-600 es:font-variation-[\"wdth\"_100,\"wght\"_325,\"ROND\"_100]",
273
273
  children: __("Item order", "eightshift-ui-components")
274
274
  }), jsx(TypedDraggableList, {
275
275
  items: currentValue,
@@ -290,14 +290,14 @@ var AsyncMultiSelect = (props) => {
290
290
  iconClassName: "es:pointer-events-none es:select-none",
291
291
  labelClassName: "es:line-clamp-1",
292
292
  subtitleClassName: "es:line-clamp-1",
293
- className: clsx("es:min-h-9 es:flex es:items-center es:justify-between", realItem?.icon ? "es:pl-1" : "es:pl-2")
293
+ className: clsx("es:flex es:min-h-9 es:items-center es:justify-between", realItem?.icon ? "es:pl-1" : "es:pl-2")
294
294
  });
295
295
  }
296
296
  })]
297
297
  })
298
298
  ]
299
299
  }), jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
300
- className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:w-(--select-width) es:min-w-72", "es:outline-hidden", "es:rounded-b-xl es:rounded-t-3xl", "es:overflow-clip es:grid es:grid-cols-1", "es:grid-rows-[auto_minmax(0,1fr)]", "es:has-last-selected:rounded-b-20!", "es:inset-ring es:inset-ring-surface-500/10", "es:inset-shadow-sm es:inset-shadow-white/30", !list.items.length ? "es:bg-surface-50/50" : "es:bg-surface-300/50", !list.items.length ? "es:backdrop-blur-sm" : "es:backdrop-blur-md", !list.items.length ? "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-300 es:motion-ease-spring-bouncy", "es:placement-bottom:origin-top-left es:placement-top:origin-bottom-left", isEntering && "es:motion-scale-x-in-95 es:motion-scale-y-in-85 es:motion-opacity-in-0", isEntering && "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]"),
300
+ className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:w-(--select-width) es:min-w-72", "es:outline-hidden", "es:rounded-t-3xl es:rounded-b-xl", "es:grid es:grid-cols-1 es:overflow-clip", "es:grid-rows-[auto_minmax(0,1fr)]", "es:has-last-selected:rounded-b-20!", "es:inset-ring es:inset-ring-surface-500/10", "es:inset-shadow-sm es:inset-shadow-white/30", !list.items.length ? "es:bg-surface-50/50" : "es:bg-surface-300/50", !list.items.length ? "es:backdrop-blur-sm" : "es:backdrop-blur-md", !list.items.length ? "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-300", "es:placement-top:origin-bottom-left es:placement-bottom:origin-top-left", isEntering && "es:motion-opacity-in-0 es:motion-scale-x-in-95 es:motion-scale-y-in-85", isEntering && "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]"),
301
301
  placement: "bottom left",
302
302
  maxHeight: 260,
303
303
  triggerRef: ref,
@@ -308,23 +308,23 @@ var AsyncMultiSelect = (props) => {
308
308
  children: [
309
309
  jsxs($29a5029ff43c9612$export$b94867ecbd698f21, {
310
310
  "aria-label": __("Search", "eightshift-ui-components"),
311
- className: "es:flex es:items-center es:relative",
311
+ className: "es:relative es:flex es:items-center",
312
312
  children: [jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
313
313
  placeholder: __("Search...", "eightshift-ui-components"),
314
- className: clsx("es:peer es:size-full es:h-9.5 es:outline-hidden! es:pl-3.5 es:pr-9 es:shadow-none! es:text-13! es:placeholder:text-surface-500 es:[&::-webkit-search-cancel-button]:hidden", "es:bg-accent-900/8 es:m-1.5 es:rounded-3xl! es:border-none!", "es:inset-ring! es:inset-ring-accent-950/7 es:focus:inset-ring-accent-950/20", "es:text-accent-950 es:placeholder:text-accent-700/50", "es:transition")
314
+ className: clsx("es:peer es:size-full es:h-9.5 es:pr-9 es:pl-3.5 es:text-13! es:shadow-none! es:outline-hidden! es:placeholder:text-surface-500 es:[&::-webkit-search-cancel-button]:hidden", "es:m-1.5 es:rounded-3xl! es:border-none! es:bg-accent-900/8", "es:inset-ring! es:inset-ring-accent-950/7 es:focus:inset-ring-accent-950/20", "es:text-accent-950 es:placeholder:text-accent-700/50", "es:transition")
315
315
  }), jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
316
316
  slot: "clear",
317
317
  "aria-label": __("Clear", "eightshift-ui-components"),
318
- className: clsx("es:absolute es:right-3 es:inset-y-0 es:my-auto es:border-none es:bg-transparent", "es:flex es:size-7 es:items-center es:justify-center es:rounded-3xl es:text-sm es:text-surface-700 es:transition es:hover:bg-accent-50 es:hover:text-accent-800 es:any-focus:outline-hidden es:focus:ring-2 es:focus:ring-accent-500/50 es:disabled:text-secondary-300", "es:peer-placeholder-shown:opacity-0"),
318
+ className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:border-none es:bg-transparent", "es:flex es:size-7 es:items-center es:justify-center es:rounded-3xl es:text-sm es:text-surface-700 es:transition es:hover:bg-accent-50 es:hover:text-accent-800 es:focus:ring-2 es:focus:ring-accent-500/50 es:disabled:text-secondary-300 es:any-focus:outline-hidden", "es:peer-placeholder-shown:opacity-0"),
319
319
  children: clearAlt
320
320
  })]
321
321
  }),
322
322
  list.isLoading ? jsx("div", {
323
- className: "es:p-3 es:min-h-16 es:flex es:items-center es:justify-center",
323
+ className: "es:flex es:min-h-16 es:items-center es:justify-center es:p-3",
324
324
  children: jsx(Spinner, {})
325
325
  }) : null,
326
326
  jsx($928221da08ecbc62$export$41f133550aa26f48, {
327
- className: clsx("es:space-y-0.75 es:p-1.5 es:pt-0 es:any-focus:outline-hidden es:h-full es:overflow-y-auto es:rounded-t-xl", list.isLoading && "es:hidden"),
327
+ className: clsx("es:h-full es:space-y-0.75 es:overflow-y-auto es:rounded-t-xl es:p-1.5 es:pt-0 es:any-focus:outline-hidden", list.isLoading && "es:hidden"),
328
328
  selectedKeys: list.selectedKeys,
329
329
  selectionMode: "multiple",
330
330
  selectionBehavior: "toggle",
@@ -333,7 +333,7 @@ var AsyncMultiSelect = (props) => {
333
333
  icon: searchEmpty,
334
334
  label: __("No results", "eightshift-ui-components"),
335
335
  subtitle: __("Try a different search term", "eightshift-ui-components"),
336
- className: "es:min-h-14 es:p-2 es:w-fit es:mx-auto es:motion-preset-slide-up es:motion-ease-spring-bouncy es:motion-duration-200 es:shrink-0",
336
+ className: "es:mx-auto es:min-h-14 es:w-fit es:shrink-0 es:motion-preset-slide-up es:p-2 es:motion-ease-spring-bouncy es:motion-duration-200",
337
337
  iconClassName: "es:text-accent-700 es:icon:size-7!",
338
338
  noColor: true
339
339
  }),
@@ -343,7 +343,7 @@ var AsyncMultiSelect = (props) => {
343
343
  id: section.key,
344
344
  className: "es:flex es:flex-col es:gap-0.75",
345
345
  children: [jsx($53e61d82d8b8611d$export$8b251419efc915eb, {
346
- className: "es:px-2.5 es:pb-1 es:pt-3 es:select-none",
346
+ className: "es:px-2.5 es:pt-3 es:pb-1 es:select-none",
347
347
  children: jsx(RichLabel, {
348
348
  icon: section.icon,
349
349
  label: section.label,
@@ -5,7 +5,7 @@ import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJ
5
5
  import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DcI8gSfH.js";
6
6
  import { O as $53e61d82d8b8611d$export$8b251419efc915eb, d as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CSqjSLlO.js";
7
7
  import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C9dxy3po.js";
8
- import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-s7XUBOVx.js";
8
+ import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-CsO_if0Q.js";
9
9
  import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-D8_U8eBS.js";
10
10
  import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-N1nXzeWK.js";
11
11
  import { t as $c73d3f3d5ec90946$export$bc3384a35de93d66 } from "../../useAsyncList-CjKVLGN0.js";
@@ -189,7 +189,7 @@ var AsyncSelect = (props) => {
189
189
  const [selectedItem] = selectedItems;
190
190
  if (!isPlaceholder && selectedItem && customValueDisplay) return customValueDisplay(selectedItem);
191
191
  if (!selectedItem) return jsx("span", {
192
- className: "es:select-none es:pointer-events-none es:text-sm es:text-surface-500",
192
+ className: "es:pointer-events-none es:text-sm es:text-surface-500 es:select-none",
193
193
  children: placeholder
194
194
  });
195
195
  const selectedIcon = getIcon ? getIcon(selectedItem) : selectedItem.icon;
@@ -197,23 +197,23 @@ var AsyncSelect = (props) => {
197
197
  icon: renderOptionIcon(selectedIcon),
198
198
  label: selectedItem.label,
199
199
  subtitle: selectedItem.subtitle,
200
- className: clsx("es:grow es:w-full", disabled && "es:grayscale es:pointer-events-none"),
200
+ className: clsx("es:w-full es:grow", disabled && "es:pointer-events-none es:grayscale"),
201
201
  iconClassName: "es:pointer-events-none es:select-none",
202
202
  labelClassName: "es:line-clamp-1",
203
203
  subtitleClassName: "es:line-clamp-1"
204
204
  });
205
205
  } }), jsxs("div", {
206
- className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:flex es:items-center", disabled ? "es:text-secondary-300" : "es:text-secondary-500"),
206
+ className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:flex es:items-center", disabled ? "es:text-secondary-300" : "es:text-secondary-500"),
207
207
  "aria-hidden": "true",
208
208
  children: [!customDropdownArrow ? cloneElement(dropdownCaret, { className: "es:w-4 es:stroke-[1.2] es:group-aria-expanded:-scale-y-100 es:transition-transform es:duration-200" }) : null, customDropdownArrow ? jsx("div", {
209
209
  "aria-hidden": "true",
210
- className: "es:group-aria-expanded:-scale-y-100 es:transition-transform es:duration-200",
210
+ className: "es:transition-transform es:duration-200 es:group-aria-expanded:-scale-y-100",
211
211
  children: customDropdownArrow
212
212
  }) : null]
213
213
  })]
214
214
  }), clearable ? jsx(SelectClearButton, {}) : null]
215
215
  }), jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
216
- className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:w-(--select-width) es:min-w-72", "es:outline-hidden", "es:rounded-t-3xl", "es:overflow-clip es:grid es:grid-cols-1", "es:grid-rows-[auto_minmax(0,1fr)]", "es:has-last-selected:rounded-b-20!", "es:inset-ring es:inset-ring-surface-500/10", "es:inset-shadow-sm es:inset-shadow-white/30", !list.items.length ? "es:bg-surface-50/50" : "es:bg-surface-300/50", !list.items.length ? "es:backdrop-blur-sm" : "es:backdrop-blur-md", !list.items.length ? "es:backdrop-brightness-105" : "es:backdrop-brightness-110", list.isLoading || !list.items.length ? "es:rounded-b-3xl" : "es:rounded-b-xl", "es:backdrop-saturate-125", "es:shadow-lg es:shadow-black/10", "es:transition-plus", "es:motion-duration-300 es:motion-ease-spring-bouncy", "es:placement-bottom:origin-top-left es:placement-top:origin-bottom-left", isEntering && "es:motion-scale-x-in-95 es:motion-scale-y-in-85 es:motion-opacity-in-0", isEntering && "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]"),
216
+ className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:w-(--select-width) es:min-w-72", "es:outline-hidden", "es:rounded-t-3xl", "es:grid es:grid-cols-1 es:overflow-clip", "es:grid-rows-[auto_minmax(0,1fr)]", "es:has-last-selected:rounded-b-20!", "es:inset-ring es:inset-ring-surface-500/10", "es:inset-shadow-sm es:inset-shadow-white/30", !list.items.length ? "es:bg-surface-50/50" : "es:bg-surface-300/50", !list.items.length ? "es:backdrop-blur-sm" : "es:backdrop-blur-md", !list.items.length ? "es:backdrop-brightness-105" : "es:backdrop-brightness-110", list.isLoading || !list.items.length ? "es:rounded-b-3xl" : "es:rounded-b-xl", "es:backdrop-saturate-125", "es:shadow-lg es:shadow-black/10", "es:transition-plus", "es:motion-ease-spring-bouncy es:motion-duration-300", "es:placement-top:origin-bottom-left es:placement-bottom:origin-top-left", isEntering && "es:motion-opacity-in-0 es:motion-scale-x-in-95 es:motion-scale-y-in-85", isEntering && "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]"),
217
217
  placement: "bottom left",
218
218
  maxHeight: 260,
219
219
  triggerRef: ref,
@@ -224,23 +224,23 @@ var AsyncSelect = (props) => {
224
224
  children: [
225
225
  jsxs($29a5029ff43c9612$export$b94867ecbd698f21, {
226
226
  "aria-label": __("Search", "eightshift-ui-components"),
227
- className: "es:flex es:items-center es:relative",
227
+ className: "es:relative es:flex es:items-center",
228
228
  children: [jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
229
229
  placeholder: __("Search...", "eightshift-ui-components"),
230
- className: clsx("es:peer es:size-full es:h-9.5 es:outline-hidden! es:pl-3.5 es:pr-9 es:shadow-none! es:text-13! es:placeholder:text-surface-500 es:[&::-webkit-search-cancel-button]:hidden", "es:bg-accent-900/8 es:m-1.5 es:rounded-3xl! es:border-none!", "es:inset-ring! es:inset-ring-accent-950/7 es:focus:inset-ring-accent-950/20", "es:text-accent-950 es:placeholder:text-accent-700/50", "es:transition")
230
+ className: clsx("es:peer es:size-full es:h-9.5 es:pr-9 es:pl-3.5 es:text-13! es:shadow-none! es:outline-hidden! es:placeholder:text-surface-500 es:[&::-webkit-search-cancel-button]:hidden", "es:m-1.5 es:rounded-3xl! es:border-none! es:bg-accent-900/8", "es:inset-ring! es:inset-ring-accent-950/7 es:focus:inset-ring-accent-950/20", "es:text-accent-950 es:placeholder:text-accent-700/50", "es:transition")
231
231
  }), jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
232
232
  slot: "clear",
233
233
  "aria-label": __("Clear", "eightshift-ui-components"),
234
- className: clsx("es:absolute es:right-3 es:inset-y-0 es:my-auto es:border-none es:bg-transparent", "es:flex es:size-7 es:items-center es:justify-center es:rounded-3xl es:text-sm es:text-surface-700 es:transition es:hover:bg-accent-50 es:hover:text-accent-800 es:any-focus:outline-hidden es:focus:ring-2 es:focus:ring-accent-500/50 es:disabled:text-secondary-300", "es:peer-placeholder-shown:opacity-0"),
234
+ className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:border-none es:bg-transparent", "es:flex es:size-7 es:items-center es:justify-center es:rounded-3xl es:text-sm es:text-surface-700 es:transition es:hover:bg-accent-50 es:hover:text-accent-800 es:focus:ring-2 es:focus:ring-accent-500/50 es:disabled:text-secondary-300 es:any-focus:outline-hidden", "es:peer-placeholder-shown:opacity-0"),
235
235
  children: clearAlt
236
236
  })]
237
237
  }),
238
238
  list.isLoading ? jsx("div", {
239
- className: "es:p-3 es:min-h-16 es:flex es:items-center es:justify-center",
239
+ className: "es:flex es:min-h-16 es:items-center es:justify-center es:p-3",
240
240
  children: jsx(Spinner, {})
241
241
  }) : null,
242
242
  jsx($928221da08ecbc62$export$41f133550aa26f48, {
243
- className: clsx("es:space-y-0.75 es:p-1.5 es:pt-0 es:any-focus:outline-hidden es:h-full es:overflow-y-auto es:rounded-t-xl", list.isLoading && "es:hidden"),
243
+ className: clsx("es:h-full es:space-y-0.75 es:overflow-y-auto es:rounded-t-xl es:p-1.5 es:pt-0 es:any-focus:outline-hidden", list.isLoading && "es:hidden"),
244
244
  selectedKeys: list.selectedKeys,
245
245
  onSelectionChange: (selected) => {
246
246
  list.setSelectedKeys(selected);
@@ -250,7 +250,7 @@ var AsyncSelect = (props) => {
250
250
  icon: searchEmpty,
251
251
  label: __("No results", "eightshift-ui-components"),
252
252
  subtitle: __("Try a different search term", "eightshift-ui-components"),
253
- className: "es:min-h-14 es:p-2 es:w-fit es:mx-auto es:motion-preset-slide-up es:motion-ease-spring-bouncy es:motion-duration-200 es:shrink-0",
253
+ className: "es:mx-auto es:min-h-14 es:w-fit es:shrink-0 es:motion-preset-slide-up es:p-2 es:motion-ease-spring-bouncy es:motion-duration-200",
254
254
  iconClassName: "es:text-accent-700 es:icon:size-7!",
255
255
  noColor: true
256
256
  }),
@@ -260,7 +260,7 @@ var AsyncSelect = (props) => {
260
260
  id: section.key,
261
261
  className: "es:flex es:flex-col es:gap-0.75",
262
262
  children: [jsx($53e61d82d8b8611d$export$8b251419efc915eb, {
263
- className: "es:px-2.5 es:pb-1 es:pt-3 es:select-none",
263
+ className: "es:px-2.5 es:pt-3 es:pb-1 es:select-none",
264
264
  children: jsx(RichLabel, {
265
265
  icon: section.icon,
266
266
  label: section.label,