@eightshift/ui-components 5.2.1 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/{Button-RTwMSBs-.js → Button-npzfSoYo.js} +3 -3
  2. package/dist/{Dialog-Xf6AsnV-.js → Dialog-CQ8H6Noi.js} +77 -50
  3. package/dist/{FocusScope-BnwM-e8R.js → FocusScope-DJApHXhY.js} +1 -1
  4. package/dist/Form-Cq3fu75_.js +5 -0
  5. package/dist/{Group-C4cXobNT.js → Input-ChJaTNa5.js} +39 -39
  6. package/dist/{List-CwJTORxj.js → List-BiAnh5G5.js} +5 -5
  7. package/dist/{ListBox-BeC97FZ4.js → ListBox-D0Stb4wr.js} +13 -23
  8. package/dist/{OverlayArrow-EZ0v_ljk.js → OverlayArrow-DivvkAVb.js} +46 -25
  9. package/dist/{Separator-Fl7qSeN-.js → SearchField-jVsbJe1O.js} +151 -475
  10. package/dist/{Select-DEQf8ZWI.js → Select-ciHB1pub.js} +12 -11
  11. package/dist/{Select-ef7c0426.esm-D6WOCaYm.js → Select-ef7c0426.esm-CmTkSxDx.js} +3 -3
  12. package/dist/{Collection-D_KhdLDC.js → SelectionManager-CabSdgMq.js} +1801 -1777
  13. package/dist/Separator-BPvqJny4.js +344 -0
  14. package/dist/{Slider-BQFSEhvk.js → Slider-ChP04COa.js} +4 -4
  15. package/dist/{VisuallyHidden-D9s7FTtC.js → VisuallyHidden-X6SggVVO.js} +1 -1
  16. package/dist/assets/style-admin.css +315 -79
  17. package/dist/assets/style-editor.css +315 -79
  18. package/dist/assets/style.css +315 -79
  19. package/dist/assets/wp-font-enhancements.css +1 -1
  20. package/dist/assets/wp-ui-enhancements.css +5 -14
  21. package/dist/components/animated-visibility/animated-visibility.js +16 -16
  22. package/dist/components/button/button.js +28 -23
  23. package/dist/components/checkbox/checkbox.js +11 -10
  24. package/dist/components/color-pickers/color-picker.js +5 -4
  25. package/dist/components/color-pickers/color-swatch.js +1 -1
  26. package/dist/components/color-pickers/gradient-editor.js +7 -7
  27. package/dist/components/color-pickers/solid-color-picker.js +8 -8
  28. package/dist/components/component-toggle/component-toggle.js +1 -1
  29. package/dist/components/draggable/draggable-handle.js +1 -1
  30. package/dist/components/draggable/draggable.js +34 -17
  31. package/dist/components/draggable-list/draggable-list-item.js +1 -1
  32. package/dist/components/draggable-list/draggable-list.js +6 -4
  33. package/dist/components/expandable/expandable.js +5 -5
  34. package/dist/components/index.js +2 -1
  35. package/dist/components/input-field/input-field.js +139 -3
  36. package/dist/components/item-collection/item-collection.js +1 -1
  37. package/dist/components/link-input/link-input.js +16 -15
  38. package/dist/components/matrix-align/matrix-align.js +1 -1
  39. package/dist/components/menu/menu.js +94 -24
  40. package/dist/components/modal/modal.js +4 -4
  41. package/dist/components/notice/notice.js +6 -5
  42. package/dist/components/number-picker/number-picker.js +5 -5
  43. package/dist/components/option-select/option-select.js +1 -1
  44. package/dist/components/placeholders/file-placeholder.js +1 -1
  45. package/dist/components/popover/popover.js +28 -21
  46. package/dist/components/radio/radio.js +7 -6
  47. package/dist/components/repeater/repeater-item.js +1 -1
  48. package/dist/components/repeater/repeater.js +2 -2
  49. package/dist/components/responsive/mini-responsive.js +1 -1
  50. package/dist/components/responsive/responsive-legacy.js +1 -1
  51. package/dist/components/responsive/responsive.js +21 -20
  52. package/dist/components/responsive-preview/responsive-preview.js +1 -1
  53. package/dist/components/rich-label/rich-label.js +28 -15
  54. package/dist/components/select/async-multi-select.js +3 -3
  55. package/dist/components/select/async-single-select.js +2 -2
  56. package/dist/components/select/custom-select-default-components.js +1 -1
  57. package/dist/components/select/multi-select-components.js +1 -1
  58. package/dist/components/select/multi-select.js +3 -3
  59. package/dist/components/select/react-select-component-wrappers.js +1 -1
  60. package/dist/components/select/single-select.js +2 -2
  61. package/dist/components/select/styles.js +1 -1
  62. package/dist/components/select/v2/async-multi-select.js +9 -9
  63. package/dist/components/select/v2/async-select.js +9 -9
  64. package/dist/components/select/v2/multi-select.js +8 -8
  65. package/dist/components/select/v2/shared.js +1 -1
  66. package/dist/components/select/v2/single-select.js +8 -8
  67. package/dist/components/slider/column-config-slider.js +2 -2
  68. package/dist/components/slider/slider.js +1 -1
  69. package/dist/components/slider/utils.js +1 -1
  70. package/dist/components/tabs/tabs.js +13 -9
  71. package/dist/components/toggle/switch.js +5 -5
  72. package/dist/components/toggle-button/toggle-button.js +7 -7
  73. package/dist/components/tooltip/tooltip.js +35 -35
  74. package/dist/context-DCAZLyDS.js +7 -0
  75. package/dist/{default-i18n-DY6EfUSA.js → default-i18n-CN_q3KUs.js} +15 -56
  76. package/dist/icons/icons.js +3347 -30273
  77. package/dist/{index-641ee5b8.esm-Bu-mgopl.js → index-641ee5b8.esm-DVp0njHa.js} +10 -8
  78. package/dist/{index-CBHA_HDD.js → index-D8-Zjpbd.js} +18 -18
  79. package/dist/index.js +2 -1
  80. package/dist/{multi-select-components-rCCyCaKO.js → multi-select-components-CT_W0Cy9.js} +1 -1
  81. package/dist/{react-select-async.esm-XYrsKYb2.js → react-select-async.esm-Zl1LPaPb.js} +3 -3
  82. package/dist/{react-select.esm-CCSPY6XR.js → react-select.esm-Bu36HujU.js} +3 -3
  83. package/dist/{textSelection-D5tWX1rJ.js → textSelection-k0u64dDA.js} +1 -1
  84. package/dist/{useAsyncList-ZqaIH2gh.js → useAsyncList-D52mQcrH.js} +30 -0
  85. package/dist/{useButton-BtJSiQi3.js → useButton-Bn4ZT295.js} +4 -3
  86. package/dist/{useDragAndDrop-CddFteYC.js → useDragAndDrop-DVLrIdEn.js} +18 -10
  87. package/dist/{useFilter-Cl2ggwwq.js → useFilter-C4wo8Iii.js} +1 -1
  88. package/dist/{useFocusRing-D5BfOWag.js → useFocusRing-CUxgjvAY.js} +1 -1
  89. package/dist/{Form-BeMxJA29.js → useFormValidation-CUtZcedF.js} +5 -7
  90. package/dist/{useHover-44IApaa2.js → useHover-LmGemtHE.js} +24 -24
  91. package/dist/{useListState-BSkHuB7-.js → useListState-Xsk-aOvN.js} +8 -5
  92. package/dist/{useNumberField-JhWPy1JY.js → useNumberField-BCjjZWaz.js} +100 -99
  93. package/dist/{usePress-BnrkvZ7e.js → usePress-CBQIDzpQ.js} +12 -12
  94. package/dist/{useSingleSelectListState-CzJFsSHr.js → useSingleSelectListState-DattSD7d.js} +2 -2
  95. package/dist/{useToggle-OaIBlwRu.js → useToggle-C8CedY6Z.js} +2 -2
  96. package/dist/{useToggleState-BF8hvidm.js → useToggleState-CiAradXs.js} +1 -1
  97. package/package.json +26 -26
  98. package/dist/TextField-x_eEa_qR.js +0 -143
@@ -1,8 +1,29 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { e as $07b14b47974efb58$export$5b6b19405a83ff9d, f as $de32f1b87079253c$export$3ddf2d174ce01153, g as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../../Dialog-Xf6AsnV-.js";
2
+ import { e as $07b14b47974efb58$export$5b6b19405a83ff9d, f as $de32f1b87079253c$export$3ddf2d174ce01153, g as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../../Dialog-CQ8H6Noi.js";
3
3
  import { c as clsx } from "../../lite-DVmmD_-j.js";
4
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
4
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
5
5
  import { Button } from "../button/button.js";
6
+ /**
7
+ * @typedef {Object} PopoverProps
8
+ * @property {React.Ref} props.triggerRef - Ref of the trigger button. In uncontrolled mode, this element will be used to open the popover. In controlled mode, the popover will be anchored to this element.
9
+ * @property {boolean} [props.openByDefault=false] - (**Controlled mode**) If `true`, the popover is open by default.
10
+ * @property {boolean} props.isOpen - (**Uncontrolled mode**) If `true`, the popover is open.
11
+ * @property {Function} props.onOpenChange - (**Uncontrolled mode**) Function to run when the popover is opened or closed. `(isOpen: boolean) => void`.
12
+ * @property {PopoverPlacement} props.placement - The placement of the popover.
13
+ * @property {string} [props.className] - Classes to pass to the popover contents.
14
+ * @property {string} [props.wrapperClassName] - Classes to pass to the popover wrapper.
15
+ * @property {Object} props.style - Styles to pass to the popover.
16
+ * @property {number} props.offset - Offset from the trigger element, on the same axis as the placement of the popover (e.g. if `placement` is `left`, this controls the horizontal spacing from the element).
17
+ * @property {number} props.crossOffset - Offset from the trigger element, on the opposite axis as the placement of the popover (e.g. if `placement` is `left`, this controls the vertical spacing from the element).
18
+ * @property {number} props.containerPadding - Space that should be left between the popover and the edge of the container (the default container is browser window).
19
+ * @property {boolean} props.shouldFlip - If `true`, the popover should flip when there is not enough space.
20
+ * @property {Function} [props.shouldCloseOnInteractOutside=() => true] - Allows ignoring close events for certain elements. `(element: HTMLElement) => boolean`.
21
+ * @property {boolean} [props.hidden] - If `true`, the component is not rendered.
22
+ *
23
+ * @typedef {'bottom' | 'bottom left' | 'bottom right' | 'bottom start' | 'bottom end' | 'top' | 'top left' | 'top right' | 'top start' | 'top end' | 'left' | 'left top' | 'left bottom' | 'start' | 'start top' | 'start bottom' | 'right' | 'right top' | 'right bottom' | 'end' | 'end top' | 'end bottom'} PopoverPlacement
24
+ *
25
+ * @preserve
26
+ */
6
27
  /**
7
28
  * A popover component.
8
29
  *
@@ -11,26 +32,10 @@ import { Button } from "../button/button.js";
11
32
  * - **uncontrolled mode**: pass `openByDefault` to set the initial popover state. The show/hide state will be managed internally, based on the interaction with the trigger button.
12
33
  *
13
34
  * @component
14
- * @param {Object} props - Component props.
15
- * @param {React.Ref} props.triggerRef - Ref of the trigger button. In uncontrolled mode, this element will be used to open the popover. In controlled mode, the popover will be anchored to this element.
16
- * @param {boolean} [props.openByDefault=false] - (**Controlled mode**) If `true`, the popover is open by default.
17
- * @param {boolean} props.isOpen - (**Uncontrolled mode**) If `true`, the popover is open.
18
- * @param {Function} props.onOpenChange - (**Uncontrolled mode**) Function to run when the popover is opened or closed. `(isOpen: boolean) => void`.
19
- * @param {PopoverPlacement} props.placement - The placement of the popover.
20
- * @param {string} [props.className] - Classes to pass to the popover contents.
21
- * @param {string} [props.wrapperClassName] - Classes to pass to the popover wrapper.
22
- * @param {Object} props.style - Styles to pass to the popover.
23
- * @param {number} props.offset - Offset from the trigger element, on the same axis as the placement of the popover (e.g. if `placement` is `left`, this controls the horizontal spacing from the element).
24
- * @param {number} props.crossOffset - Offset from the trigger element, on the opposite axis as the placement of the popover (e.g. if `placement` is `left`, this controls the vertical spacing from the element).
25
- * @param {number} props.containerPadding - Space that should be left between the popover and the edge of the container (the default container is browser window).
26
- * @param {boolean} props.shouldFlip - If `true`, the popover should flip when there is not enough space.
27
- * @param {Function} [props.shouldCloseOnInteractOutside=() => true] - Allows ignoring close events for certain elements. `(element: HTMLElement) => boolean`.
28
- * @param {boolean} [props.hidden] - If `true`, the component is not rendered.
35
+ * @param {PopoverProps} props - Component props.
29
36
  *
30
37
  * @returns {JSX.Element} The Popover component.
31
38
  *
32
- * @typedef {'bottom' | 'bottom left' | 'bottom right' | 'bottom start' | 'bottom end' | 'top' | 'top left' | 'top right' | 'top start' | 'top end' | 'left' | 'left top' | 'left bottom' | 'start' | 'start top' | 'start bottom' | 'right' | 'right top' | 'right bottom' | 'end' | 'end top' | 'end bottom'} PopoverPlacement
33
- *
34
39
  * @example
35
40
  * // Uncontrolled mode.
36
41
  * const ref = useRef(null);
@@ -102,7 +107,9 @@ const Popover = (props) => {
102
107
  crossOffset,
103
108
  containerPadding,
104
109
  className: ({ isEntering, isExiting }) => clsx(
105
- "es:rounded-2xl es:border es:border-secondary-300 es:bg-white es:inset-ring es:inset-ring-secondary-100 es:shadow-xl es:outline-hidden",
110
+ "es:rounded-2xl es:border es:border-secondary-300 es:bg-white/85 es:inset-ring es:inset-ring-secondary-100 es:shadow-xl es:outline-hidden",
111
+ "es:backdrop-blur-2xl es:backdrop-brightness-125 es:backdrop-saturate-150",
112
+ "es:inset-shadow-xs es:inset-shadow-secondary-100",
106
113
  "es:motion-safe:motion-duration-200 es:motion-safe:motion-ease-spring-bouncy",
107
114
  "es:placement-bottom:origin-top-left es:placement-top:origin-bottom-left",
108
115
  "es:placement-left:origin-right es:placement-right:origin-left",
@@ -137,7 +144,7 @@ const Popover = (props) => {
137
144
  * @param {JSX.Element} props.trigger - Allows using a custom trigger element.
138
145
  * @param {JSX.Element} [props.triggerButtonIcon] - The icon for the built-in trigger button.
139
146
  * @param {string} props.triggerButtonLabel - The label for the built-in trigger button.
140
- * @param {Object} props.triggerButtonProps - Props to pass to the built-in trigger button.
147
+ * @param {ButtonProps} props.triggerButtonProps - Props to pass to the built-in trigger button.
141
148
  * @param {Function} props.onOpenChange - Function to run when the popover is opened or closed. `(isOpen: boolean) => void`.
142
149
  * @param {boolean} props.openByDefault - If `true`, the popover is open by default.
143
150
  * @param {PopoverPlacement} props.placement - The placement of the popover.
@@ -2,17 +2,18 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DWVaNd2E.js";
3
3
  import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37, a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, g as $64fa3d84918910a7$export$ef03459518577ad4, h as $64fa3d84918910a7$export$4d86445c2cf5e3, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, f as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, i as $64fa3d84918910a7$export$2881499e37b75b9a } from "../../utils-cvK1vxO7.js";
4
4
  import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-B8BgFmIQ.js";
5
- import { b as $e93e671b31057976$export$b8473d3665f3a75a, a as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-BeMxJA29.js";
5
+ import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
6
6
  import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-AxKZjtFm.js";
7
7
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
8
8
  import React__default, { useMemo, useState, forwardRef, createContext, cloneElement } from "react";
9
9
  import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-yV9VVy9R.js";
10
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-BnrkvZ7e.js";
11
- import { $ as $f645667febf57a63$export$4c014de7c8940b4c, w as $431fbd86ca7dc216$export$f21a1ffae260145a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, e as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-44IApaa2.js";
12
- import { a as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-BnwM-e8R.js";
13
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec, a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-D5BfOWag.js";
10
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-CBQIDzpQ.js";
11
+ import { $ as $f645667febf57a63$export$4c014de7c8940b4c, x as $431fbd86ca7dc216$export$f21a1ffae260145a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-LmGemtHE.js";
12
+ import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "../../useFormValidation-CUtZcedF.js";
13
+ import { a as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-DJApHXhY.js";
14
+ import { $ as $9ab94262bd0047c7$export$420e68273165f4ec, a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-CUxgjvAY.js";
14
15
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-DMOmz986.js";
15
- import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-D9s7FTtC.js";
16
+ import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-X6SggVVO.js";
16
17
  import { c as clsx } from "../../lite-DVmmD_-j.js";
17
18
  import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
18
19
  import { RichLabel } from "../rich-label/rich-label.js";
@@ -5,7 +5,7 @@ import { icons } from "../../icons/icons.js";
5
5
  import { c as clsx } from "../../lite-DVmmD_-j.js";
6
6
  import { useContext } from "react";
7
7
  import { Expandable } from "../expandable/expandable.js";
8
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
8
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
9
9
  import { RepeaterContext } from "./repeater-context.js";
10
10
  /**
11
11
  * A Repeater item.
@@ -1,13 +1,13 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useId, useState } from "react";
3
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
3
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
4
4
  import { Button } from "../button/button.js";
5
5
  import { icons } from "../../icons/icons.js";
6
6
  import { BaseControl } from "../base-control/base-control.js";
7
7
  import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
8
8
  import { RepeaterContext } from "./repeater-context.js";
9
9
  import { c as clsx } from "../../lite-DVmmD_-j.js";
10
- import { L as List, a as arrayRemove, b as arrayMove } from "../../List-CwJTORxj.js";
10
+ import { L as List, a as arrayRemove, b as arrayMove } from "../../List-BiAnh5G5.js";
11
11
  import { Menu, MenuItem, MenuSeparator } from "../menu/menu.js";
12
12
  const fixIds = (items, itemIdBase) => {
13
13
  return items?.map((item, i) => ({
@@ -3,7 +3,7 @@ import { cloneElement } from "react";
3
3
  import { DecorativeTooltip } from "../tooltip/tooltip.js";
4
4
  import { c as clsx } from "../../lite-DVmmD_-j.js";
5
5
  import { s as sprintf } from "../../sprintf-DmNrJSYG.js";
6
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
6
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
7
7
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
8
8
  import { upperFirst } from "../../utilities/es-dash.js";
9
9
  import { icons } from "../../icons/icons.js";
@@ -3,7 +3,7 @@ import { useState } from "react";
3
3
  import { DecorativeTooltip } from "../tooltip/tooltip.js";
4
4
  import { c as clsx } from "../../lite-DVmmD_-j.js";
5
5
  import { s as sprintf } from "../../sprintf-DmNrJSYG.js";
6
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
6
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
7
7
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
8
8
  import { upperFirst } from "../../utilities/es-dash.js";
9
9
  import { icons } from "../../icons/icons.js";
@@ -3,11 +3,11 @@ import { useState } from "react";
3
3
  import { DecorativeTooltip } from "../tooltip/tooltip.js";
4
4
  import { c as clsx } from "../../lite-DVmmD_-j.js";
5
5
  import { s as sprintf } from "../../sprintf-DmNrJSYG.js";
6
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
6
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
7
7
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
8
8
  import { upperFirst } from "../../utilities/es-dash.js";
9
9
  import { icons } from "../../icons/icons.js";
10
- import { Menu, MenuItem, MenuSeparator, SubMenuItem } from "../menu/menu.js";
10
+ import { Menu, MenuSectionHeader, MenuItem, MenuSeparator, SubMenuItem } from "../menu/menu.js";
11
11
  import { ResponsivePreview } from "../responsive-preview/responsive-preview.js";
12
12
  import { Button, ButtonGroup } from "../button/button.js";
13
13
  import { RichLabel } from "../rich-label/rich-label.js";
@@ -226,14 +226,7 @@ const Responsive = (props) => {
226
226
  triggerIcon: icons.dropdownCaretAlt,
227
227
  children: [
228
228
  !noModeSelect && /* @__PURE__ */ jsxs(Fragment, { children: [
229
- /* @__PURE__ */ jsx(
230
- MenuItem,
231
- {
232
- className: "es:pb-0! es:pt-1!",
233
- disabled: true,
234
- children: __("Breakpoint mode", "eightshift-ui-components")
235
- }
236
- ),
229
+ /* @__PURE__ */ jsx(MenuSectionHeader, { children: __("Breakpoint mode", "eightshift-ui-components") }),
237
230
  /* @__PURE__ */ jsx(
238
231
  MenuItem,
239
232
  {
@@ -269,18 +262,26 @@ const Responsive = (props) => {
269
262
  ),
270
263
  /* @__PURE__ */ jsx(MenuSeparator, {})
271
264
  ] }),
272
- Object.keys(value).some((key) => !key?.startsWith("_") && typeof value?.[key] !== "undefined") && /* @__PURE__ */ jsx(SubMenuItem, { trigger: /* @__PURE__ */ jsx(MenuItem, { icon: icons.previewResponsive, children: __("Responsive preview", "eightshift-ui-components") }), children: /* @__PURE__ */ jsx(MenuItem, { disabled: true, children: /* @__PURE__ */ jsx(
273
- ResponsivePreview,
265
+ Object.keys(value).some((key) => !key?.startsWith("_") && typeof value?.[key] !== "undefined") && /* @__PURE__ */ jsx(
266
+ SubMenuItem,
274
267
  {
275
- value,
276
- isDesktopFirst,
277
- breakpoints,
278
- desktopFirstBreakpoints,
279
- options,
280
- breakpointData,
281
- breakpointUiData
268
+ manualWidth: true,
269
+ popoverProps: { className: "es:max-w-full!" },
270
+ trigger: /* @__PURE__ */ jsx(MenuItem, { icon: icons.previewResponsive, children: __("Responsive preview", "eightshift-ui-components") }),
271
+ children: /* @__PURE__ */ jsx(MenuItem, { disabled: true, children: /* @__PURE__ */ jsx(
272
+ ResponsivePreview,
273
+ {
274
+ value,
275
+ isDesktopFirst,
276
+ breakpoints,
277
+ desktopFirstBreakpoints,
278
+ options,
279
+ breakpointData,
280
+ breakpointUiData
281
+ }
282
+ ) })
282
283
  }
283
- ) }) }),
284
+ ),
284
285
  Object.keys(value).some((key) => !key?.startsWith("_") && typeof value?.[key] !== "undefined") && /* @__PURE__ */ jsx(MenuSeparator, {}),
285
286
  /* @__PURE__ */ jsx(
286
287
  MenuItem,
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
2
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
3
3
  import { upperFirst } from "../../utilities/es-dash.js";
4
4
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
5
5
  import { icons } from "../../icons/icons.js";
@@ -11,6 +11,9 @@ import { c as clsx } from "../../lite-DVmmD_-j.js";
11
11
  * @param {JSX.Element} [props.as] - Element to render the label as. Not compatible with `contentsOnly`.
12
12
  * @param {string} [props.className] - Classes to pass to the label.
13
13
  * @param {string} [props.iconClassName] - Classes to pass to the icon.
14
+ * @param {string} [props.labelClassName] - Classes to pass to the label.
15
+ * @param {string} [props.subtitleClassName] - Classes to pass to the subtitle.
16
+ * @param {string} [props.labelSubtitleWrapClassName] - Classes to pass to the label/subtitle wrapper (not applicable when `contentsOnly` is set).
14
17
  * @param {boolean} [props.fullWidth=false] - If `true`, the component will take up as much space as it can.
15
18
  * @param {boolean} [props.contentsOnly] - If `true`, only the label (/icon/subtitle) will be rendered, without any wrapping elements. Useful if you want to provide your own layout.
16
19
  * @param {boolean} [props.hidden] - If `true`, the component is not rendered.
@@ -29,33 +32,43 @@ import { c as clsx } from "../../lite-DVmmD_-j.js";
29
32
  * @preserve
30
33
  */
31
34
  const RichLabel = (props) => {
32
- const { icon, label, subtitle, as, className, iconClassName, fullWidth = false, contentsOnly, hidden, noColor, fullSizeSubtitle, inlineSubtitle } = props;
35
+ const {
36
+ icon,
37
+ label,
38
+ subtitle,
39
+ as,
40
+ className,
41
+ iconClassName,
42
+ labelClassName,
43
+ subtitleClassName,
44
+ labelSubtitleWrapClassName,
45
+ fullWidth = false,
46
+ contentsOnly,
47
+ hidden,
48
+ noColor,
49
+ fullSizeSubtitle,
50
+ inlineSubtitle
51
+ } = props;
33
52
  if (hidden) {
34
53
  return null;
35
54
  }
36
55
  const ComponentToRender = as ?? "div";
37
56
  if (contentsOnly) {
38
57
  return /* @__PURE__ */ jsxs(Fragment, { children: [
39
- icon && /* @__PURE__ */ jsx("span", { className: clsx("es:icon:size-5.5", !noColor && "es:text-slate-500"), children: icon }),
40
- label && /* @__PURE__ */ jsx("span", { className: clsx("es:text-balance", !noColor && "es:text-secondary-800"), children: label }),
41
- subtitle && /* @__PURE__ */ jsx("span", { className: clsx("es:text-balance es:text-xs es:opacity-65", !noColor && "es:text-secondary-800"), children: subtitle })
58
+ icon && /* @__PURE__ */ jsx("span", { className: clsx("es:icon:size-5", !noColor && "es:text-slate-500", iconClassName), children: icon }),
59
+ label && /* @__PURE__ */ jsx("span", { className: clsx("es:text-balance", !noColor && "es:text-secondary-800", labelClassName), children: label }),
60
+ subtitle && /* @__PURE__ */ jsx("span", { className: clsx("es:text-balance es:text-xs es:not-contrast-more:opacity-65", !noColor && "es:text-secondary-800", subtitleClassName), children: subtitle })
42
61
  ] });
43
62
  }
44
63
  return /* @__PURE__ */ jsxs(
45
64
  ComponentToRender,
46
65
  {
47
- className: clsx(
48
- "es:flex es:items-center es:gap-1.5 es:text-sm",
49
- !noColor && "es:text-secondary-800 es:[&>span>svg]:text-slate-500",
50
- noColor && "es:[&>span>svg]:opacity-80",
51
- fullWidth && "es:grow",
52
- className
53
- ),
66
+ className: clsx("es:flex es:items-center es:gap-2 es:text-sm", !noColor && "es:text-secondary-800 es:[&>span>svg]:text-slate-500", fullWidth && "es:grow", className),
54
67
  children: [
55
- icon && /* @__PURE__ */ jsx("span", { className: clsx("es:icon:size-5.5", iconClassName), children: icon }),
56
- (label || subtitle) && /* @__PURE__ */ jsxs("div", { className: clsx("es:flex es:items-start es:text-balance es:text-start", inlineSubtitle ? "es:gap-1.5" : "es:flex-col"), children: [
57
- label && /* @__PURE__ */ jsx("span", { children: label }),
58
- subtitle && /* @__PURE__ */ jsx("span", { className: clsx(!fullSizeSubtitle && "es:text-xs", "es:opacity-65"), children: subtitle })
68
+ icon && /* @__PURE__ */ jsx("span", { className: clsx("es:icon:size-5 es:shrink-0", noColor && "es:not-contrast-more:opacity-80", iconClassName), children: icon }),
69
+ (label || subtitle) && /* @__PURE__ */ jsxs("div", { className: clsx("es:flex es:items-start es:text-balance es:text-start", inlineSubtitle ? "es:gap-1.5" : "es:flex-col", labelSubtitleWrapClassName), children: [
70
+ label && /* @__PURE__ */ jsx("span", { className: labelClassName, children: label }),
71
+ subtitle && /* @__PURE__ */ jsx("span", { className: clsx(!fullSizeSubtitle && "es:text-xs", "es:not-contrast-more:opacity-65", subtitleClassName), children: subtitle })
59
72
  ] })
60
73
  ]
61
74
  }
@@ -1,12 +1,12 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useId } from "react";
3
- import { A as AsyncSelect$1 } from "../../react-select-async.esm-XYrsKYb2.js";
4
- import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValueRemove, b as getMultiValue } from "../../multi-select-components-rCCyCaKO.js";
3
+ import { A as AsyncSelect$1 } from "../../react-select-async.esm-Zl1LPaPb.js";
4
+ import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValueRemove, b as getMultiValue } from "../../multi-select-components-CT_W0Cy9.js";
5
5
  import { r as restrictToParentElement } from "../../modifiers.esm-BuJQPI1X.js";
6
6
  import { CustomSelectDefaultClearIndicator, CustomSelectDefaultDropdownIndicator, CustomSelectDefaultMultiValueRemove } from "./custom-select-default-components.js";
7
7
  import { BaseControl } from "../base-control/base-control.js";
8
8
  import { eightshiftSelectClasses } from "./styles.js";
9
- import { c as components } from "../../index-641ee5b8.esm-Bu-mgopl.js";
9
+ import { c as components } from "../../index-641ee5b8.esm-DVp0njHa.js";
10
10
  /**
11
11
  * Multi-select menu with async loading and re-ordering.
12
12
  *
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { A as AsyncSelect$1 } from "../../react-select-async.esm-XYrsKYb2.js";
2
+ import { A as AsyncSelect$1 } from "../../react-select-async.esm-Zl1LPaPb.js";
3
3
  import { CustomSelectDefaultClearIndicator, CustomSelectDefaultDropdownIndicator } from "./custom-select-default-components.js";
4
4
  import { BaseControl } from "../base-control/base-control.js";
5
5
  import { eightshiftSelectClasses } from "./styles.js";
6
- import { c as components } from "../../index-641ee5b8.esm-Bu-mgopl.js";
6
+ import { c as components } from "../../index-641ee5b8.esm-DVp0njHa.js";
7
7
  /**
8
8
  * Select menu with async loading.
9
9
  *
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import React__default from "react";
3
3
  import { icons } from "../../icons/icons.js";
4
4
  import { c as clsx } from "../../lite-DVmmD_-j.js";
5
- import { c as components } from "../../index-641ee5b8.esm-Bu-mgopl.js";
5
+ import { c as components } from "../../index-641ee5b8.esm-DVp0njHa.js";
6
6
  /**
7
7
  * Default dropdown indicator for CustomSelect.
8
8
  *
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { g, b, a } from "../../multi-select-components-rCCyCaKO.js";
2
+ import { g, b, a } from "../../multi-select-components-CT_W0Cy9.js";
3
3
  import "../../lite-DVmmD_-j.js";
4
4
  export {
5
5
  g as getDragEndHandler,
@@ -1,13 +1,13 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useId } from "react";
3
- import { S as StateManagedSelect$1 } from "../../react-select.esm-CCSPY6XR.js";
4
- import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValueRemove, b as getMultiValue } from "../../multi-select-components-rCCyCaKO.js";
3
+ import { S as StateManagedSelect$1 } from "../../react-select.esm-Bu36HujU.js";
4
+ import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValueRemove, b as getMultiValue } from "../../multi-select-components-CT_W0Cy9.js";
5
5
  import { r as restrictToParentElement } from "../../modifiers.esm-BuJQPI1X.js";
6
6
  import { CustomSelectDefaultClearIndicator, CustomSelectDefaultDropdownIndicator, CustomSelectDefaultMultiValueRemove } from "./custom-select-default-components.js";
7
7
  import { getValue } from "./shared.js";
8
8
  import { BaseControl } from "../base-control/base-control.js";
9
9
  import { eightshiftSelectClasses } from "./styles.js";
10
- import { c as components } from "../../index-641ee5b8.esm-Bu-mgopl.js";
10
+ import { c as components } from "../../index-641ee5b8.esm-DVp0njHa.js";
11
11
  /**
12
12
  * Multi-select menu with re-orderable items.
13
13
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as components } from "../../index-641ee5b8.esm-Bu-mgopl.js";
2
+ import { c as components } from "../../index-641ee5b8.esm-DVp0njHa.js";
3
3
  /**
4
4
  * Custom dropdown indicator for CustomSelect.
5
5
  *
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { S as StateManagedSelect$1 } from "../../react-select.esm-CCSPY6XR.js";
2
+ import { S as StateManagedSelect$1 } from "../../react-select.esm-Bu36HujU.js";
3
3
  import { CustomSelectDefaultClearIndicator, CustomSelectDefaultDropdownIndicator } from "./custom-select-default-components.js";
4
4
  import { getValue } from "./shared.js";
5
5
  import { BaseControl } from "../base-control/base-control.js";
6
6
  import { eightshiftSelectClasses } from "./styles.js";
7
- import { c as components } from "../../index-641ee5b8.esm-Bu-mgopl.js";
7
+ import { c as components } from "../../index-641ee5b8.esm-DVp0njHa.js";
8
8
  /**
9
9
  * Select menu.
10
10
  *
@@ -15,7 +15,7 @@ const multiValueStyles = clsx(
15
15
  const multiValueLabelStyles = "es:select-none";
16
16
  const multiValueRemoveStyles = "es:hover:bg-red-500/15 es:hover:text-red-900 es:text-gray-500 es:rounded es:p-0.5 es:icon:size-3.5 es:icon:stroke-[1.5] es:transition";
17
17
  const clearIndicatorStyles = "es:text-gray-500 es:p-1 es:rounded-md hover:bg-red-50 hover:text-red-800 es:transition";
18
- const dropdownIndicatorStyles = "es:text-gray-500 es:px-1 es:group-hover:text-black es:icon:transition-transform es:icon:duration-500 es:icon:size-5.5";
18
+ const dropdownIndicatorStyles = "es:text-gray-500 es:px-1 es:group-hover:text-black es:icon:transition-transform es:icon:duration-500 es:icon:size-5";
19
19
  const menuStyles = "es:rounded-2xl es:border es:border-gray-200 es:bg-white es:shadow-lg es:mt-1 es:text-sm es:overflow-x-hidden es:min-w-48";
20
20
  const optionStyles = {
21
21
  base: "es:p-2 es:flex! es:items-center es:gap-1.5 es:text-gray-800 es:rounded-xl es:icon:size-5 es:icon:text-gray-500 es:transition es:mx-1 es:first:mt-1 es:last:mb-1 es:w-auto! es:min-h-9",
@@ -1,14 +1,14 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { _ as __ } from "../../../default-i18n-DY6EfUSA.js";
2
+ import { _ as __ } from "../../../default-i18n-CN_q3KUs.js";
3
3
  import { BaseControl } from "../../base-control/base-control.js";
4
- import { b as $d2f53cda644affe3$export$2f2b9559550c7bbc, c as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../Separator-Fl7qSeN-.js";
5
- import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-RTwMSBs-.js";
6
- import { g as $de32f1b87079253c$export$2e1e1122cf0cba88, e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-Xf6AsnV-.js";
7
- import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Group-C4cXobNT.js";
4
+ import { $ as $d2f53cda644affe3$export$2f2b9559550c7bbc, a as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../SearchField-jVsbJe1O.js";
5
+ import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-npzfSoYo.js";
6
+ import { g as $de32f1b87079253c$export$2e1e1122cf0cba88, e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-CQ8H6Noi.js";
7
+ import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Input-ChJaTNa5.js";
8
8
  import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../../Label-DWVaNd2E.js";
9
- import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4, b as $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 } from "../../../ListBox-BeC97FZ4.js";
9
+ import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4, b as $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 } from "../../../ListBox-D0Stb4wr.js";
10
10
  import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../../Text-AxKZjtFm.js";
11
- import { $ as $d8f176866e6dc039$export$2cfc5be7a55829f6 } from "../../../useDragAndDrop-CddFteYC.js";
11
+ import { $ as $d8f176866e6dc039$export$2cfc5be7a55829f6 } from "../../../useDragAndDrop-DVLrIdEn.js";
12
12
  import { useRef, useEffect, cloneElement } from "react";
13
13
  import { icons } from "../../../icons/icons.js";
14
14
  import "../../../react-jsx-parser.min-LF707GK8.js";
@@ -17,7 +17,7 @@ import { RichLabel } from "../../rich-label/rich-label.js";
17
17
  import { c as clsx } from "../../../utils-cvK1vxO7.js";
18
18
  import { truncateEnd, unescapeHTML } from "../../../utilities/text-helpers.js";
19
19
  import { moveArrayItem } from "../shared.js";
20
- import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../../useAsyncList-ZqaIH2gh.js";
20
+ import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../../useAsyncList-D52mQcrH.js";
21
21
  /**
22
22
  * Async multi-select menu.
23
23
  *
@@ -337,7 +337,7 @@ const __AsyncMultiSelectNext = (props) => {
337
337
  }
338
338
  ),
339
339
  /* @__PURE__ */ jsx("div", { className: "es:w-full es:h-px es:bg-secondary-200 es:shrink-0" }),
340
- list.isLoading && /* @__PURE__ */ jsx("div", { className: "es:p-3 es:min-h-16 es:flex es:items-center es:justify-center", children: cloneElement(icons.loader, { className: "es:text-accent-600! es:size-5.5 es:motion-preset-spin es:motion-duration-1500" }) }),
340
+ list.isLoading && /* @__PURE__ */ jsx("div", { className: "es:p-3 es:min-h-16 es:flex es:items-center es:justify-center", children: cloneElement(icons.loader, { className: "es:text-accent-600! es:size-5 es:motion-preset-spin es:motion-duration-1500" }) }),
341
341
  /* @__PURE__ */ jsx(
342
342
  $eed445e0843c11d0$export$41f133550aa26f48,
343
343
  {
@@ -1,13 +1,13 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { _ as __ } from "../../../default-i18n-DY6EfUSA.js";
2
+ import { _ as __ } from "../../../default-i18n-CN_q3KUs.js";
3
3
  import { BaseControl } from "../../base-control/base-control.js";
4
- import { b as $d2f53cda644affe3$export$2f2b9559550c7bbc, c as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../Separator-Fl7qSeN-.js";
5
- import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-RTwMSBs-.js";
6
- import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Group-C4cXobNT.js";
4
+ import { $ as $d2f53cda644affe3$export$2f2b9559550c7bbc, a as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../SearchField-jVsbJe1O.js";
5
+ import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-npzfSoYo.js";
6
+ import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Input-ChJaTNa5.js";
7
7
  import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../../Label-DWVaNd2E.js";
8
- import { $ as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../../ListBox-BeC97FZ4.js";
9
- import { e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-Xf6AsnV-.js";
10
- import { $ as $82d7e5349645de74$export$ef9b1a59e592288f, a as $82d7e5349645de74$export$e288731fd71264f0, b as $82d7e5349645de74$export$ef445b55be0601bd } from "../../../Select-DEQf8ZWI.js";
8
+ import { $ as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../../ListBox-D0Stb4wr.js";
9
+ import { e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-CQ8H6Noi.js";
10
+ import { $ as $82d7e5349645de74$export$ef9b1a59e592288f, a as $82d7e5349645de74$export$e288731fd71264f0, b as $82d7e5349645de74$export$ef445b55be0601bd } from "../../../Select-ciHB1pub.js";
11
11
  import { useRef, useEffect, cloneElement, useContext } from "react";
12
12
  import { icons } from "../../../icons/icons.js";
13
13
  import "../../../react-jsx-parser.min-LF707GK8.js";
@@ -15,7 +15,7 @@ import { OptionItemBase } from "./shared.js";
15
15
  import { RichLabel } from "../../rich-label/rich-label.js";
16
16
  import { unescapeHTML } from "../../../utilities/text-helpers.js";
17
17
  import { c as clsx } from "../../../utils-cvK1vxO7.js";
18
- import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../../useAsyncList-ZqaIH2gh.js";
18
+ import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../../useAsyncList-D52mQcrH.js";
19
19
  /**
20
20
  * Select menu with async loading.
21
21
  *
@@ -291,7 +291,7 @@ const AsyncSelectNext = (props) => {
291
291
  }
292
292
  ),
293
293
  /* @__PURE__ */ jsx("div", { className: "es:w-full es:h-px es:bg-secondary-200 es:shrink-0" }),
294
- list.isLoading && /* @__PURE__ */ jsx("div", { className: "es:p-3 es:min-h-16 es:flex es:items-center es:justify-center", children: cloneElement(icons.loader, { className: "es:text-accent-600! es:size-5.5 es:motion-preset-spin es:motion-duration-1500" }) }),
294
+ list.isLoading && /* @__PURE__ */ jsx("div", { className: "es:p-3 es:min-h-16 es:flex es:items-center es:justify-center", children: cloneElement(icons.loader, { className: "es:text-accent-600! es:size-5 es:motion-preset-spin es:motion-duration-1500" }) }),
295
295
  /* @__PURE__ */ jsx(
296
296
  $eed445e0843c11d0$export$41f133550aa26f48,
297
297
  {
@@ -1,14 +1,14 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { _ as __ } from "../../../default-i18n-DY6EfUSA.js";
2
+ import { _ as __ } from "../../../default-i18n-CN_q3KUs.js";
3
3
  import { BaseControl } from "../../base-control/base-control.js";
4
- import { b as $d2f53cda644affe3$export$2f2b9559550c7bbc, c as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../Separator-Fl7qSeN-.js";
5
- import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-RTwMSBs-.js";
6
- import { g as $de32f1b87079253c$export$2e1e1122cf0cba88, e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-Xf6AsnV-.js";
7
- import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Group-C4cXobNT.js";
4
+ import { $ as $d2f53cda644affe3$export$2f2b9559550c7bbc, a as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../SearchField-jVsbJe1O.js";
5
+ import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-npzfSoYo.js";
6
+ import { g as $de32f1b87079253c$export$2e1e1122cf0cba88, e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-CQ8H6Noi.js";
7
+ import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Input-ChJaTNa5.js";
8
8
  import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../../Label-DWVaNd2E.js";
9
- import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4, b as $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 } from "../../../ListBox-BeC97FZ4.js";
9
+ import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4, b as $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 } from "../../../ListBox-D0Stb4wr.js";
10
10
  import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../../Text-AxKZjtFm.js";
11
- import { $ as $d8f176866e6dc039$export$2cfc5be7a55829f6 } from "../../../useDragAndDrop-CddFteYC.js";
11
+ import { $ as $d8f176866e6dc039$export$2cfc5be7a55829f6 } from "../../../useDragAndDrop-DVLrIdEn.js";
12
12
  import { useRef, cloneElement } from "react";
13
13
  import { icons } from "../../../icons/icons.js";
14
14
  import "../../../react-jsx-parser.min-LF707GK8.js";
@@ -17,7 +17,7 @@ import { RichLabel } from "../../rich-label/rich-label.js";
17
17
  import { c as clsx } from "../../../utils-cvK1vxO7.js";
18
18
  import { getValue, moveArrayItem } from "../shared.js";
19
19
  import { truncateEnd } from "../../../utilities/text-helpers.js";
20
- import { $ as $bb77f239b46e8c72$export$3274cf84b703fff } from "../../../useFilter-Cl2ggwwq.js";
20
+ import { $ as $bb77f239b46e8c72$export$3274cf84b703fff } from "../../../useFilter-C4wo8Iii.js";
21
21
  /**
22
22
  * Multi-select menu.
23
23
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../../ListBox-BeC97FZ4.js";
2
+ import { a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../../ListBox-D0Stb4wr.js";
3
3
  import { c as clsx } from "../../../utils-cvK1vxO7.js";
4
4
  import { icons } from "../../../icons/icons.js";
5
5
  import "react";
@@ -1,20 +1,20 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { _ as __ } from "../../../default-i18n-DY6EfUSA.js";
2
+ import { _ as __ } from "../../../default-i18n-CN_q3KUs.js";
3
3
  import { BaseControl } from "../../base-control/base-control.js";
4
- import { b as $d2f53cda644affe3$export$2f2b9559550c7bbc, c as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../Separator-Fl7qSeN-.js";
5
- import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-RTwMSBs-.js";
6
- import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Group-C4cXobNT.js";
4
+ import { $ as $d2f53cda644affe3$export$2f2b9559550c7bbc, a as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../../SearchField-jVsbJe1O.js";
5
+ import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-npzfSoYo.js";
6
+ import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../../Input-ChJaTNa5.js";
7
7
  import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../../Label-DWVaNd2E.js";
8
- import { $ as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../../ListBox-BeC97FZ4.js";
9
- import { e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-Xf6AsnV-.js";
10
- import { $ as $82d7e5349645de74$export$ef9b1a59e592288f, a as $82d7e5349645de74$export$e288731fd71264f0, b as $82d7e5349645de74$export$ef445b55be0601bd } from "../../../Select-DEQf8ZWI.js";
8
+ import { $ as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../../ListBox-D0Stb4wr.js";
9
+ import { e as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-CQ8H6Noi.js";
10
+ import { $ as $82d7e5349645de74$export$ef9b1a59e592288f, a as $82d7e5349645de74$export$e288731fd71264f0, b as $82d7e5349645de74$export$ef445b55be0601bd } from "../../../Select-ciHB1pub.js";
11
11
  import { useRef, cloneElement, useContext } from "react";
12
12
  import { icons } from "../../../icons/icons.js";
13
13
  import "../../../react-jsx-parser.min-LF707GK8.js";
14
14
  import { OptionItemBase } from "./shared.js";
15
15
  import { RichLabel } from "../../rich-label/rich-label.js";
16
16
  import { c as clsx } from "../../../utils-cvK1vxO7.js";
17
- import { $ as $bb77f239b46e8c72$export$3274cf84b703fff } from "../../../useFilter-Cl2ggwwq.js";
17
+ import { $ as $bb77f239b46e8c72$export$3274cf84b703fff } from "../../../useFilter-C4wo8Iii.js";
18
18
  /**
19
19
  * Select menu.
20
20
  *
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { _ as __ } from "../../default-i18n-DY6EfUSA.js";
2
+ import { _ as __ } from "../../default-i18n-CN_q3KUs.js";
3
3
  import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DWVaNd2E.js";
4
- import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-BQFSEhvk.js";
4
+ import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-ChP04COa.js";
5
5
  import { BaseControl } from "../base-control/base-control.js";
6
6
  import { icons } from "../../icons/icons.js";
7
7
  import { getColumnConfigOutputText } from "./utils.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-cvK1vxO7.js";
3
3
  import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5, a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "../../Label-DWVaNd2E.js";
4
- import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-BQFSEhvk.js";
4
+ import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-ChP04COa.js";
5
5
  import { BaseControl } from "../base-control/base-control.js";
6
6
  import { c as clsx } from "../../lite-DVmmD_-j.js";
7
7
  import { NumberPicker } from "../number-picker/number-picker.js";
@@ -1,5 +1,5 @@
1
1
  import { s as sprintf } from "../../sprintf-DmNrJSYG.js";
2
- import { _ as __, a as _n } from "../../default-i18n-DY6EfUSA.js";
2
+ import { _ as __, a as _n } from "../../default-i18n-CN_q3KUs.js";
3
3
  /**
4
4
  * Generates an array of markers based on the provided minimum and maximum values and step.
5
5
  * If the step is less than 10, only markers divisible by 5 and 10 are included.