@eightshift/ui-components 7.0.0 → 7.2.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.
- package/dist/assets/fonts/geist-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-symbols-full-normal.woff2 +0 -0
- package/dist/assets/style-admin.css +3 -12528
- package/dist/assets/style-editor.css +3 -12492
- package/dist/assets/style.css +3 -12498
- package/dist/assets/wp-overrides/allow-full-width-blocks.css +2 -6
- package/dist/assets/wp-overrides/fix-label-text-case.css +2 -29
- package/dist/assets/wp-overrides/increase-sidebar-width.css +2 -4
- package/dist/assets/wp-overrides/make-block-messages-nicer.css +2 -155
- package/dist/assets/wp-overrides/replace-fonts.css +2 -8
- package/dist/assets/wp-overrides/restyle-tooltips.css +2 -194
- package/dist/assets/wp-overrides/round-corners.css +2 -200
- package/dist/assets/wp-overrides/unify-button-sizes.css +2 -5
- package/dist/{button-COTeluL8.js → button-D9cbyHeZ.js} +2 -2
- package/dist/{checkbox-D0AWkLhp.js → checkbox-BO5RZmO8.js} +1 -1
- package/dist/{color-swatch-CBYsO_Zs.js → color-swatch-D2ZBkuTt.js} +1 -1
- package/dist/components/base-control/container.js +1 -1
- package/dist/components/button/button.js +1 -2
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.js +2 -2
- package/dist/components/color-pickers/color-swatch.js +1 -2
- package/dist/components/color-pickers/gradient-editor.js +1 -3
- package/dist/components/color-pickers/solid-color-picker.js +1 -2
- package/dist/components/component-toggle/component-toggle.js +4 -4
- package/dist/components/container-panel/container-panel.js +2 -3
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable/draggable.js +1 -2
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +2 -2
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/index.js +14 -16
- package/dist/components/input-field/input-field.js +1 -1
- package/dist/components/item-collection/item-collection.js +1 -1
- package/dist/components/link-input/link-input.js +1 -2
- package/dist/components/matrix-align/matrix-align.js +1 -1
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/modal/modal.js +1 -2
- package/dist/components/number-picker/number-picker.js +1 -2
- package/dist/components/option-select/option-select.js +4 -4
- package/dist/components/placeholders/file-picker-shell.js +1 -2
- package/dist/components/placeholders/file-placeholder.js +1 -1
- package/dist/components/popover/popover.js +2 -2
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.js +3 -3
- package/dist/components/responsive/mini-responsive.js +2 -2
- package/dist/components/responsive/responsive-legacy.js +3 -3
- package/dist/components/responsive/responsive.js +3 -3
- package/dist/components/responsive-preview/responsive-preview.js +1 -1
- package/dist/components/select/async-multi-select.js +9 -12
- package/dist/components/select/async-select.js +8 -10
- package/dist/components/select/multi-select.js +6 -8
- package/dist/components/select/shared.js +1 -2
- package/dist/components/select/single-select.js +6 -8
- package/dist/components/select/styles.js +1 -1
- package/dist/components/slider/column-config-slider.js +2 -2
- package/dist/components/slider/slider.js +2 -3
- package/dist/components/slider/utils.js +1 -1
- package/dist/components/smart-image/smart-image.js +1 -2
- package/dist/components/tabs/tabs.js +1 -2
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/{draggable-CYQyD9gG.js → draggable-CTDVJ4zd.js} +1 -1
- package/dist/gradient-editor-xfxA_s9a.js +1583 -0
- package/dist/icons/index.js +1 -1
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/index.js +14 -16
- package/dist/{input-field-UCZL5bqv.js → input-field-_OCWbftf.js} +1 -1
- package/dist/{link-input-D7iDRpOM.js → link-input-Bh8G7Urm.js} +2 -2
- package/dist/{modal-DbVLYMkH.js → modal-snrElwty.js} +2 -2
- package/dist/{number-picker-CkA1iJNZ.js → number-picker-Dhtx4409.js} +3 -2
- package/dist/{proxy-BG7-_Ou3.js → proxy-DjkEpeDL.js} +43 -21
- package/dist/{shared-DFDimxvX.js → shared-BiWZjrGF.js} +3 -3
- package/dist/{smart-image-CbSsEASF.js → smart-image-CBNbxJ57.js} +1 -1
- package/dist/{solid-color-picker-DbT-aoVx.js → solid-color-picker-DukArNH-.js} +2 -2
- package/dist/{switch-L8dFSQWQ.js → switch-DmsvyQPa.js} +1 -1
- package/dist/{tabs-BrdyBER5.js → tabs-DaIUEc0g.js} +2 -2
- package/dist/{toggle-button-DJ8jNQ-9.js → toggle-button-BlzUGfGy.js} +1 -1
- package/dist/utilities/general.js +25 -2
- package/dist/utilities/index.js +3 -3
- package/package.json +10 -13
- package/dist/general-D-7dwhuF.js +0 -4277
- package/dist/gradient-editor-DbH8NU2p.js +0 -604
- package/dist/workers/image-analysis.worker.js +0 -60
- /package/dist/{List-CMK5qsNF.js → List-DWlgW2Ex.js} +0 -0
- /package/dist/{build-module-sxK3nxOK.js → build-module-Bsx62nlm.js} +0 -0
- /package/dist/{dist-DIK9pFxO.js → dist-2gkv7_1U.js} +0 -0
- /package/dist/{jsx-svg-OBADs_Qs.js → jsx-svg-BRJ4n3pD.js} +0 -0
- /package/dist/{utilities-CPFDXC3B.js → utilities-lwX686oD.js} +0 -0
|
@@ -13,7 +13,7 @@ import { t as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "./useToggleState
|
|
|
13
13
|
import { n as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "./Label-DFXXxMKY.js";
|
|
14
14
|
import { t as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "./Form-DTMkbrQY.js";
|
|
15
15
|
import { RichLabel } from "./components/rich-label/rich-label.js";
|
|
16
|
-
import { t as cva } from "./dist-
|
|
16
|
+
import { t as cva } from "./dist-2gkv7_1U.js";
|
|
17
17
|
import { check } from "./icons/ui-icons/check.js";
|
|
18
18
|
import React, { createContext, forwardRef, useContext, useEffect, useMemo, useRef } from "react";
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5,7 +5,7 @@ import { n as $9446cca9a3875146$export$b6268554fba451f, t as $9446cca9a3875146$e
|
|
|
5
5
|
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C-XNeJ_l.js";
|
|
6
6
|
import { n as $6db58dc88e78b024$export$2f817fcdc4b89ae0, r as $5b160d28a433310d$export$c17fa47878dc55b6, t as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-Dv2diN3k.js";
|
|
7
7
|
import { t as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-m5VW6MTK.js";
|
|
8
|
-
import { t as __ } from "./build-module-
|
|
8
|
+
import { t as __ } from "./build-module-Bsx62nlm.js";
|
|
9
9
|
import React, { createContext, forwardRef, useMemo } from "react";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
//#region node_modules/@react-aria/color/dist/ar-AE.mjs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
|
-
import { t as cva } from "../../dist-
|
|
2
|
+
import { t as cva } from "../../dist-2gkv7_1U.js";
|
|
3
3
|
import { cloneElement, forwardRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/components/base-control/container.jsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Checkbox } from "../../checkbox-
|
|
1
|
+
import { t as Checkbox } from "../../checkbox-BO5RZmO8.js";
|
|
2
2
|
export { Checkbox };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
|
-
import { t as ColorSwatch } from "../../color-swatch-
|
|
2
|
+
import { t as ColorSwatch } from "../../color-swatch-D2ZBkuTt.js";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
|
-
import { t as __ } from "../../build-module-
|
|
5
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
6
6
|
import { colorPickerFill } from "../../icons/ui-icons/color-picker-fill.js";
|
|
7
7
|
import { colorPickerListMarker } from "../../icons/ui-icons/color-picker-list-marker.js";
|
|
8
8
|
import { colorPickerText } from "../../icons/ui-icons/color-picker-text.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
4
|
-
import { n as ButtonGroup } from "../../button-
|
|
5
|
-
import { t as Switch } from "../../switch-
|
|
3
|
+
import { t as ToggleButton } from "../../toggle-button-BlzUGfGy.js";
|
|
4
|
+
import { n as ButtonGroup } from "../../button-D9cbyHeZ.js";
|
|
5
|
+
import { t as Switch } from "../../switch-DmsvyQPa.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
|
-
import { r as sprintf, t as __ } from "../../build-module-
|
|
7
|
+
import { r as sprintf, t as __ } from "../../build-module-Bsx62nlm.js";
|
|
8
8
|
import { componentGeneric } from "../../icons/ui-icons/component-generic.js";
|
|
9
9
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
10
10
|
import { Expandable } from "../expandable/expandable.js";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
|
-
import { t as Button } from "../../button-
|
|
2
|
+
import { t as Button } from "../../button-D9cbyHeZ.js";
|
|
3
3
|
import { n as $28f4fd908f0de97f$export$feabaa331e1d464c, t as $28f4fd908f0de97f$export$74a362b31437ec83 } from "../../Disclosure-NYWFw9RJ.js";
|
|
4
|
-
import { t as Switch } from "../../switch-
|
|
4
|
+
import { t as Switch } from "../../switch-DmsvyQPa.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
|
-
import "../../build-module-sxK3nxOK.js";
|
|
7
6
|
import { chevronDown } from "../../icons/ui-icons/chevron-down.js";
|
|
8
7
|
import { HStack } from "../layout/hstack.js";
|
|
9
8
|
import { useState } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
|
-
import "../../build-module-
|
|
2
|
+
import "../../build-module-Bsx62nlm.js";
|
|
3
3
|
import { reorderGrabberV } from "../../icons/ui-icons/reorder-grabber-v.js";
|
|
4
4
|
import { DraggableContext } from "./draggable-context.js";
|
|
5
5
|
import { useContext } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
3
|
-
import "../../build-module-
|
|
3
|
+
import "../../build-module-Bsx62nlm.js";
|
|
4
4
|
import { reorderGrabberV } from "../../icons/ui-icons/reorder-grabber-v.js";
|
|
5
5
|
import { HStack } from "../layout/hstack.js";
|
|
6
6
|
import { cloneElement } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { BaseControl } from "../base-control/base-control.js";
|
|
3
|
-
import { t as __ } from "../../build-module-
|
|
3
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
4
4
|
import { Container, ContainerGroup } from "../base-control/container.js";
|
|
5
|
-
import { n as arrayMove, r as arrayRemove, t as List } from "../../List-
|
|
5
|
+
import { n as arrayMove, r as arrayRemove, t as List } from "../../List-DWlgW2Ex.js";
|
|
6
6
|
import { useCallback, useMemo } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region lib/components/draggable-list/draggable-list.jsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as Button } from "../../button-D9cbyHeZ.js";
|
|
4
4
|
import { n as $28f4fd908f0de97f$export$feabaa331e1d464c, t as $28f4fd908f0de97f$export$74a362b31437ec83 } from "../../Disclosure-NYWFw9RJ.js";
|
|
5
5
|
import { n as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DFXXxMKY.js";
|
|
6
6
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
7
|
-
import { t as __ } from "../../build-module-
|
|
7
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
8
8
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
9
9
|
import React from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/components/index.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import "../proxy-BG7-_Ou3.js";
|
|
2
1
|
import { AnimatedVisibility } from "./animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as LinkInput } from "../link-input-
|
|
4
|
-
import { t as Modal } from "../modal-
|
|
5
|
-
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../tabs-
|
|
2
|
+
import { t as LinkInput } from "../link-input-Bh8G7Urm.js";
|
|
3
|
+
import { t as Modal } from "../modal-snrElwty.js";
|
|
4
|
+
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../tabs-DaIUEc0g.js";
|
|
6
5
|
import { n as Tooltip, t as DecorativeTooltip } from "../tooltip-BzJzYlcc.js";
|
|
7
|
-
import { t as ToggleButton } from "../toggle-button-
|
|
8
|
-
import { n as ButtonGroup, t as Button } from "../button-
|
|
9
|
-
import { t as Checkbox } from "../checkbox-
|
|
10
|
-
import { t as ColorSwatch } from "../color-swatch-
|
|
11
|
-
import { t as SolidColorPicker } from "../solid-color-picker-
|
|
12
|
-
import { t as Switch } from "../switch-
|
|
13
|
-
import { t as NumberPicker } from "../number-picker-
|
|
14
|
-
import { t as InputField } from "../input-field-
|
|
6
|
+
import { t as ToggleButton } from "../toggle-button-BlzUGfGy.js";
|
|
7
|
+
import { n as ButtonGroup, t as Button } from "../button-D9cbyHeZ.js";
|
|
8
|
+
import { t as Checkbox } from "../checkbox-BO5RZmO8.js";
|
|
9
|
+
import { t as ColorSwatch } from "../color-swatch-D2ZBkuTt.js";
|
|
10
|
+
import { t as SolidColorPicker } from "../solid-color-picker-DukArNH-.js";
|
|
11
|
+
import { t as Switch } from "../switch-DmsvyQPa.js";
|
|
12
|
+
import { t as NumberPicker } from "../number-picker-Dhtx4409.js";
|
|
13
|
+
import { t as InputField } from "../input-field-_OCWbftf.js";
|
|
15
14
|
import { RichLabel } from "./rich-label/rich-label.js";
|
|
16
15
|
import { BaseControl } from "./base-control/base-control.js";
|
|
17
16
|
import { BreakpointPreview } from "./breakpoint-preview/breakpoint-preview.js";
|
|
18
|
-
import "../build-module-sxK3nxOK.js";
|
|
19
17
|
import { Expandable } from "./expandable/expandable.js";
|
|
20
18
|
import { Popover, TriggeredPopover } from "./popover/popover.js";
|
|
21
19
|
import { Spacer } from "./spacer/spacer.js";
|
|
@@ -29,12 +27,12 @@ import { Container, ContainerGroup } from "./base-control/container.js";
|
|
|
29
27
|
import { DraggableList } from "./draggable-list/draggable-list.js";
|
|
30
28
|
import { DraggableListItem, DraggableListItemHandle } from "./draggable-list/draggable-list-item.js";
|
|
31
29
|
import { DraggableContext } from "./draggable/draggable-context.js";
|
|
32
|
-
import { t as Draggable } from "../draggable-
|
|
30
|
+
import { t as Draggable } from "../draggable-CTDVJ4zd.js";
|
|
33
31
|
import { DraggableHandle } from "./draggable/draggable-handle.js";
|
|
34
|
-
import { t as SmartImage } from "../smart-image-
|
|
32
|
+
import { t as SmartImage } from "../smart-image-CBNbxJ57.js";
|
|
35
33
|
import { FilePickerShell } from "./placeholders/file-picker-shell.js";
|
|
36
34
|
import { FilePlaceholder } from "./placeholders/file-placeholder.js";
|
|
37
|
-
import { t as GradientEditor } from "../gradient-editor-
|
|
35
|
+
import { t as GradientEditor } from "../gradient-editor-xfxA_s9a.js";
|
|
38
36
|
import { Slider } from "./slider/slider.js";
|
|
39
37
|
import { MatrixAlign } from "./matrix-align/matrix-align.js";
|
|
40
38
|
import { Toggle } from "./toggle/toggle.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as InputField } from "../../input-field-
|
|
1
|
+
import { t as InputField } from "../../input-field-_OCWbftf.js";
|
|
2
2
|
export { InputField };
|
|
@@ -3,7 +3,7 @@ import { n as $b6c3ddc6086f204d$export$d7b12c4107be0d61, t as $b6c3ddc6086f204d$
|
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { f as upperFirst, t as camelCase } from "../../es-dash-HqXWZZ3_.js";
|
|
6
|
-
import { t as __ } from "../../build-module-
|
|
6
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
7
7
|
import { Icon } from "../../icons/icon.js";
|
|
8
8
|
import { TriggeredPopover } from "../popover/popover.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { a as $3674c52c6b3c5bce$export$2ce376c2cc3355c8, c as $3674c52c6b3c5bce$export$ecabc99eeffab7ca, d as $431f98aba6844401$export$1ff3c3f08ae963c0, i as $3674c52c6b3c5bce$export$27d2ad3c5815583e, o as $3674c52c6b3c5bce$export$4b1545b4f2016d26, s as $3674c52c6b3c5bce$export$d9b273488cd8ce6f } from "../../Dialog-i5VLQw1o.js";
|
|
3
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as Button } from "../../button-D9cbyHeZ.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
|
-
import { t as __ } from "../../build-module-
|
|
5
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
6
6
|
import { dummySpacer } from "../../icons/ui-icons/dummy-spacer.js";
|
|
7
7
|
import { chevronRight } from "../../icons/ui-icons/chevron-right.js";
|
|
8
8
|
import { hamburgerMenu } from "../../icons/ui-icons/hamburger-menu.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
2
|
-
import { n as ButtonGroup } from "../../button-
|
|
1
|
+
import { t as ToggleButton } from "../../toggle-button-BlzUGfGy.js";
|
|
2
|
+
import { n as ButtonGroup } from "../../button-D9cbyHeZ.js";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
|
-
import { t as __ } from "../../build-module-
|
|
5
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
6
6
|
import { Icon } from "../../icons/icon.js";
|
|
7
7
|
import { Menu, MenuItem, MenuSeparator, SubMenuItem } from "../menu/menu.js";
|
|
8
8
|
import { RadioButton, RadioButtonGroup } from "../radio/radio.js";
|
|
@@ -67,7 +67,7 @@ var OptionSelect = (props) => {
|
|
|
67
67
|
if (type === "radiosSegmented") radioDesign = "segmented";
|
|
68
68
|
if (type === "submenu") return jsxs(SubMenuItem, {
|
|
69
69
|
trigger: jsx(MenuItem, {
|
|
70
|
-
icon: !noTriggerIcon && (icon ?? (currentItem ? jsx(Icon, { icon: currentItem?.icon }) : (noTriggerLabel || noTriggerIcon) && notSetLabel)),
|
|
70
|
+
icon: !noTriggerIcon && (icon ?? (currentItem ? currentItem?.icon && jsx(Icon, { icon: currentItem?.icon }) : (noTriggerLabel || noTriggerIcon) && notSetLabel)),
|
|
71
71
|
children: jsx(RichLabel, {
|
|
72
72
|
label: noTriggerLabel ? null : label ?? currentItem?.label ?? notSetLabel,
|
|
73
73
|
subtitle: subtitle === true ? currentItem?.label : subtitle,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { truncateMiddle } from "../../utilities/text-helpers.js";
|
|
3
|
-
import "../../build-module-sxK3nxOK.js";
|
|
4
3
|
import { file } from "../../icons/ui-icons/file.js";
|
|
5
|
-
import { t as SmartImage } from "../../smart-image-
|
|
4
|
+
import { t as SmartImage } from "../../smart-image-CBNbxJ57.js";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
//#region lib/components/placeholders/file-picker-shell.jsx
|
|
8
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
3
|
-
import { t as __ } from "../../build-module-
|
|
3
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
4
4
|
import { file } from "../../icons/ui-icons/file.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region lib/components/placeholders/file-placeholder.jsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { l as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../../Dialog-i5VLQw1o.js";
|
|
3
|
-
import { t as Button } from "../../button-
|
|
4
|
-
import { t as __ } from "../../build-module-
|
|
3
|
+
import { t as Button } from "../../button-D9cbyHeZ.js";
|
|
4
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region lib/components/popover/popover.jsx
|
|
7
7
|
/**
|
|
@@ -4,7 +4,7 @@ import { n as $b6c3ddc6086f204d$export$d7b12c4107be0d61, t as $b6c3ddc6086f204d$
|
|
|
4
4
|
import { n as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DFXXxMKY.js";
|
|
5
5
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
|
-
import { t as cva } from "../../dist-
|
|
7
|
+
import { t as cva } from "../../dist-2gkv7_1U.js";
|
|
8
8
|
import { cloneElement } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region lib/components/radio/radio.jsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
|
-
import { t as Button } from "../../button-
|
|
3
|
-
import { t as __ } from "../../build-module-
|
|
2
|
+
import { t as Button } from "../../button-D9cbyHeZ.js";
|
|
3
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
4
4
|
import { copy } from "../../icons/ui-icons/copy.js";
|
|
5
5
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
6
6
|
import { moreH } from "../../icons/ui-icons/more-h.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as Button } from "../../button-D9cbyHeZ.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
|
-
import { t as __ } from "../../build-module-
|
|
5
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
6
6
|
import { add } from "../../icons/ui-icons/add.js";
|
|
7
7
|
import { moreH } from "../../icons/ui-icons/more-h.js";
|
|
8
8
|
import { panelCollapse } from "../../icons/ui-icons/panel-collapse.js";
|
|
9
9
|
import { panelExpand } from "../../icons/ui-icons/panel-expand.js";
|
|
10
10
|
import { Menu, MenuItem, MenuSeparator } from "../menu/menu.js";
|
|
11
|
-
import { n as arrayMove, r as arrayRemove, t as List } from "../../List-
|
|
11
|
+
import { n as arrayMove, r as arrayRemove, t as List } from "../../List-DWlgW2Ex.js";
|
|
12
12
|
import { RepeaterContext } from "./repeater-context.js";
|
|
13
13
|
import { useCallback, useMemo, useState } from "react";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { t as DecorativeTooltip } from "../../tooltip-BzJzYlcc.js";
|
|
3
|
-
import { n as ButtonGroup, t as Button } from "../../button-
|
|
3
|
+
import { n as ButtonGroup, t as Button } from "../../button-D9cbyHeZ.js";
|
|
4
4
|
import { t as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-O6VBBDlP.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
6
|
import { f as upperFirst } from "../../es-dash-HqXWZZ3_.js";
|
|
7
7
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
8
|
-
import { r as sprintf, t as __ } from "../../build-module-
|
|
8
|
+
import { r as sprintf, t as __ } from "../../build-module-Bsx62nlm.js";
|
|
9
9
|
import { Icon } from "../../icons/icon.js";
|
|
10
10
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
11
11
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
3
|
import { t as DecorativeTooltip } from "../../tooltip-BzJzYlcc.js";
|
|
4
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
5
|
-
import { t as Button } from "../../button-
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-BlzUGfGy.js";
|
|
5
|
+
import { t as Button } from "../../button-D9cbyHeZ.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { f as upperFirst } from "../../es-dash-HqXWZZ3_.js";
|
|
8
8
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
9
|
-
import { r as sprintf, t as __ } from "../../build-module-
|
|
9
|
+
import { r as sprintf, t as __ } from "../../build-module-Bsx62nlm.js";
|
|
10
10
|
import { Icon } from "../../icons/icon.js";
|
|
11
11
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
12
12
|
import { play } from "../../icons/ui-icons/play.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-BUU5J41u.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
3
|
import { t as DecorativeTooltip } from "../../tooltip-BzJzYlcc.js";
|
|
4
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
5
|
-
import { n as ButtonGroup, t as Button } from "../../button-
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-BlzUGfGy.js";
|
|
5
|
+
import { n as ButtonGroup, t as Button } from "../../button-D9cbyHeZ.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { f as upperFirst } from "../../es-dash-HqXWZZ3_.js";
|
|
8
8
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
9
|
-
import { r as sprintf, t as __ } from "../../build-module-
|
|
9
|
+
import { r as sprintf, t as __ } from "../../build-module-Bsx62nlm.js";
|
|
10
10
|
import { Icon } from "../../icons/icon.js";
|
|
11
11
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
12
12
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
2
2
|
import { f as upperFirst } from "../../es-dash-HqXWZZ3_.js";
|
|
3
3
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
4
|
-
import { t as __ } from "../../build-module-
|
|
4
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
5
5
|
import { previewResponsive } from "../../icons/ui-icons/preview-responsive.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region lib/components/responsive-preview/responsive-preview.jsx
|
|
@@ -3,7 +3,7 @@ import { u as $e1995378a142960e$export$fb8073518f34e6ec } from "../../SelectionM
|
|
|
3
3
|
import { l as $07b14b47974efb58$export$5b6b19405a83ff9d, p as $72a5793c14baf454$export$8b251419efc915eb } from "../../Dialog-i5VLQw1o.js";
|
|
4
4
|
import { a as $eed445e0843c11d0$export$dca12b0bb56e4fc, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../ListBox-B21SgugS.js";
|
|
5
5
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-h6xF_WrP.js";
|
|
6
|
-
import { n as SelectClearButton, o as $82d7e5349645de74$export$e288731fd71264f0, r as getGroupedOptions, s as $82d7e5349645de74$export$ef9b1a59e592288f, t as OptionItemBase } from "../../shared-
|
|
6
|
+
import { n as SelectClearButton, o as $82d7e5349645de74$export$e288731fd71264f0, r as getGroupedOptions, s as $82d7e5349645de74$export$ef9b1a59e592288f, t as OptionItemBase } from "../../shared-BiWZjrGF.js";
|
|
7
7
|
import { n as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BURqyJXW.js";
|
|
8
8
|
import { n as $d2f53cda644affe3$export$2f2b9559550c7bbc, t as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../SearchField-DR_I4_yn.js";
|
|
9
9
|
import { n as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DFXXxMKY.js";
|
|
@@ -11,7 +11,7 @@ import { t as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../useAsyncLi
|
|
|
11
11
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
12
12
|
import { BaseControl } from "../base-control/base-control.js";
|
|
13
13
|
import { unescapeHTML } from "../../utilities/text-helpers.js";
|
|
14
|
-
import { n as _n, r as sprintf, t as __ } from "../../build-module-
|
|
14
|
+
import { n as _n, r as sprintf, t as __ } from "../../build-module-Bsx62nlm.js";
|
|
15
15
|
import { Icon } from "../../icons/icon.js";
|
|
16
16
|
import { Spinner } from "../../icons/spinner.js";
|
|
17
17
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
@@ -113,7 +113,7 @@ var AsyncMultiSelect = (props) => {
|
|
|
113
113
|
});
|
|
114
114
|
if (filterText.length > 0) return { items: output };
|
|
115
115
|
const extra = value?.map((val) => {
|
|
116
|
-
if (output?.find((item) => item.value === val?.value)) return null;
|
|
116
|
+
if (!val || !val?.value || output?.find((item) => item.value === val?.value)) return null;
|
|
117
117
|
return val;
|
|
118
118
|
})?.filter(Boolean) ?? [];
|
|
119
119
|
return { items: [...output, ...extra] };
|
|
@@ -128,13 +128,12 @@ var AsyncMultiSelect = (props) => {
|
|
|
128
128
|
const renderItem = (item) => {
|
|
129
129
|
let icon = item?.icon ?? null;
|
|
130
130
|
if (getIcon && !icon) icon = getIcon(item);
|
|
131
|
-
icon = jsx(Icon, { icon });
|
|
132
131
|
return jsxs(OptionItemBase, {
|
|
133
132
|
id: item.value,
|
|
134
133
|
textValue: item.label,
|
|
135
134
|
selectIndicator: true,
|
|
136
135
|
children: [customMenuOption && customMenuOption(item), !customMenuOption && jsx(RichLabel, {
|
|
137
|
-
icon,
|
|
136
|
+
icon: icon && jsx(Icon, { icon }),
|
|
138
137
|
label: item.label,
|
|
139
138
|
subtitle: item.subtitle,
|
|
140
139
|
noColor: true
|
|
@@ -185,7 +184,7 @@ var AsyncMultiSelect = (props) => {
|
|
|
185
184
|
className: clsx("es:group es:w-fill", rest?.className),
|
|
186
185
|
children: jsxs(BaseControl, {
|
|
187
186
|
label,
|
|
188
|
-
icon,
|
|
187
|
+
icon: icon && jsx(Icon, { icon }),
|
|
189
188
|
subtitle,
|
|
190
189
|
actions,
|
|
191
190
|
help,
|
|
@@ -212,8 +211,7 @@ var AsyncMultiSelect = (props) => {
|
|
|
212
211
|
children: placeholder
|
|
213
212
|
});
|
|
214
213
|
const currentItem = value?.[0];
|
|
215
|
-
|
|
216
|
-
icon = jsx(Icon, { icon });
|
|
214
|
+
const icon = getIcon ? getIcon(currentItem) : currentItem?.icon ?? null;
|
|
217
215
|
if (value?.length > 1) return jsx(RichLabel, {
|
|
218
216
|
icon: multiple,
|
|
219
217
|
label: sprintf(_n("%s item", "%s items", value.length, "eightshift-ui-components"), value.length),
|
|
@@ -222,7 +220,7 @@ var AsyncMultiSelect = (props) => {
|
|
|
222
220
|
});
|
|
223
221
|
if (value && customValueDisplay) return customValueDisplay(currentItem);
|
|
224
222
|
return jsx(RichLabel, {
|
|
225
|
-
icon,
|
|
223
|
+
icon: icon && jsx(Icon, { icon }),
|
|
226
224
|
label: currentItem?.label,
|
|
227
225
|
subtitle: currentItem?.subtitle,
|
|
228
226
|
className: clsx("es:pr-6 es:grow es:w-full", disabled && "es:grayscale es:pointer-events-none"),
|
|
@@ -275,10 +273,9 @@ var AsyncMultiSelect = (props) => {
|
|
|
275
273
|
itemContainerClassName: "es:h-full es:max-h-60 es:overflow-y-auto es:pb-1.5 es:mt-0",
|
|
276
274
|
itemClassName: "es:z-999999",
|
|
277
275
|
children: (item) => {
|
|
278
|
-
|
|
279
|
-
icon = jsx(Icon, { icon });
|
|
276
|
+
const icon = getIcon ? getIcon(item) : item?.icon ?? null;
|
|
280
277
|
return jsx(DraggableListItem, {
|
|
281
|
-
icon,
|
|
278
|
+
icon: icon && jsx(Icon, { icon }),
|
|
282
279
|
label: item?.label,
|
|
283
280
|
subtitle: item?.subtitle,
|
|
284
281
|
iconClassName: "es:pointer-events-none es:select-none",
|
|
@@ -3,7 +3,7 @@ import { u as $e1995378a142960e$export$fb8073518f34e6ec } from "../../SelectionM
|
|
|
3
3
|
import { l as $07b14b47974efb58$export$5b6b19405a83ff9d, p as $72a5793c14baf454$export$8b251419efc915eb } from "../../Dialog-i5VLQw1o.js";
|
|
4
4
|
import { a as $eed445e0843c11d0$export$dca12b0bb56e4fc, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../ListBox-B21SgugS.js";
|
|
5
5
|
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-h6xF_WrP.js";
|
|
6
|
-
import { n as SelectClearButton, o as $82d7e5349645de74$export$e288731fd71264f0, r as getGroupedOptions, s as $82d7e5349645de74$export$ef9b1a59e592288f, t as OptionItemBase } from "../../shared-
|
|
6
|
+
import { n as SelectClearButton, o as $82d7e5349645de74$export$e288731fd71264f0, r as getGroupedOptions, s as $82d7e5349645de74$export$ef9b1a59e592288f, t as OptionItemBase } from "../../shared-BiWZjrGF.js";
|
|
7
7
|
import { n as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BURqyJXW.js";
|
|
8
8
|
import { n as $d2f53cda644affe3$export$2f2b9559550c7bbc, t as $440f4836bcb56932$export$b94867ecbd698f21 } from "../../SearchField-DR_I4_yn.js";
|
|
9
9
|
import { n as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-DFXXxMKY.js";
|
|
@@ -11,7 +11,7 @@ import { t as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../useAsyncLi
|
|
|
11
11
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
12
12
|
import { BaseControl } from "../base-control/base-control.js";
|
|
13
13
|
import { unescapeHTML } from "../../utilities/text-helpers.js";
|
|
14
|
-
import { t as __ } from "../../build-module-
|
|
14
|
+
import { t as __ } from "../../build-module-Bsx62nlm.js";
|
|
15
15
|
import { Icon } from "../../icons/icon.js";
|
|
16
16
|
import { Spinner } from "../../icons/spinner.js";
|
|
17
17
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
@@ -80,7 +80,7 @@ var AsyncSelect = (props) => {
|
|
|
80
80
|
const { label, help, icon, subtitle, actions, inline, value: rawValue, onChange, disabled = false, clearable = false, className, placeholder = __("Select...", "eightshift-ui-components"), customMenuOption, customValueDisplay, customDropdownArrow, processLoadedOptions = (options) => options, fetchUrl, fetchConfig = {}, fetchFunction, getLabel = (item) => item?.label, getValue = (item) => item?.value, getMeta, getIcon, getSubtitle, getGroup, getData = (data) => data, extraItemProps, hidden, groupKey, groupValueMapping, flat, size = "default", noMinWidth = false, ...rest } = props;
|
|
81
81
|
const value = rawValue && !Array.isArray(rawValue) && typeof rawValue === "object" ? rawValue : null;
|
|
82
82
|
const list = $f86e6c1ec7da6ebb$export$bc3384a35de93d66({
|
|
83
|
-
initialSelectedKeys: value?.value ? [value.value] : [],
|
|
83
|
+
initialSelectedKeys: value && value?.value ? [value.value] : [],
|
|
84
84
|
getKey: (item) => item?.value,
|
|
85
85
|
async load({ signal, filterText }) {
|
|
86
86
|
let json = [];
|
|
@@ -108,7 +108,7 @@ var AsyncSelect = (props) => {
|
|
|
108
108
|
});
|
|
109
109
|
if (filterText.length > 0) return { items: output };
|
|
110
110
|
let extra = [];
|
|
111
|
-
if (value && !output?.find((item) => item.value === value?.value)) {
|
|
111
|
+
if (value && value?.value && !output?.find((item) => item.value === value?.value)) {
|
|
112
112
|
extra = [value];
|
|
113
113
|
output.pop();
|
|
114
114
|
}
|
|
@@ -125,13 +125,12 @@ var AsyncSelect = (props) => {
|
|
|
125
125
|
const renderItem = (item) => {
|
|
126
126
|
let icon = item?.icon ?? null;
|
|
127
127
|
if (!icon && getIcon) icon = getIcon(item);
|
|
128
|
-
icon = jsx(Icon, { icon });
|
|
129
128
|
return jsxs(OptionItemBase, {
|
|
130
129
|
id: item.value,
|
|
131
130
|
textValue: item.label,
|
|
132
131
|
selectIndicator: true,
|
|
133
132
|
children: [customMenuOption && customMenuOption(item), !customMenuOption && jsx(RichLabel, {
|
|
134
|
-
icon,
|
|
133
|
+
icon: icon && jsx(Icon, { icon }),
|
|
135
134
|
label: item.label,
|
|
136
135
|
subtitle: item.subtitle,
|
|
137
136
|
noColor: true
|
|
@@ -166,7 +165,7 @@ var AsyncSelect = (props) => {
|
|
|
166
165
|
className: clsx("es:group es:w-fill", rest?.className),
|
|
167
166
|
children: jsxs(BaseControl, {
|
|
168
167
|
label,
|
|
169
|
-
icon,
|
|
168
|
+
icon: icon && jsx(Icon, { icon }),
|
|
170
169
|
subtitle,
|
|
171
170
|
actions,
|
|
172
171
|
help,
|
|
@@ -191,10 +190,9 @@ var AsyncSelect = (props) => {
|
|
|
191
190
|
className: "es:select-none es:pointer-events-none es:text-sm es:text-surface-500",
|
|
192
191
|
children: placeholder
|
|
193
192
|
});
|
|
194
|
-
|
|
195
|
-
icon = jsx(Icon, { icon });
|
|
193
|
+
const icon = getIcon ? getIcon(selectedItem) : selectedItem?.icon ?? null;
|
|
196
194
|
return jsx(RichLabel, {
|
|
197
|
-
icon,
|
|
195
|
+
icon: icon && jsx(Icon, { icon }),
|
|
198
196
|
label: selectedItem?.label,
|
|
199
197
|
subtitle: selectedItem?.subtitle,
|
|
200
198
|
className: clsx("es:grow es:w-full", disabled && "es:grayscale es:pointer-events-none"),
|