@eightshift/ui-components 1.4.7 → 1.5.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.
- package/dist/{Button-uYE9D_E3.js → Button-CYX0D6At.js} +5 -5
- package/dist/{ColorSwatch-Bev-9Vbr.js → ColorSwatch-BNX2quma.js} +4 -4
- package/dist/{Dialog-CGE2ficT.js → Dialog-DSquJZb-.js} +110 -18
- package/dist/{FieldError-CBPJ4Xx8.js → FieldError-ClB3-XvF.js} +2 -2
- package/dist/{FocusScope-CVd6C65L.js → FocusScope-B5L3qI3N.js} +4 -4
- package/dist/{Group-WZgNv9RE.js → Group-ubPTwji_.js} +3 -3
- package/dist/{Hidden-YSmyVF_5.js → Hidden-CupIZhlF.js} +1 -1
- package/dist/{Input-CaS4qmLb.js → Input-BoNEjaXM.js} +8 -8
- package/dist/{Label-yZgqvhXc.js → Label-BqW0M3HN.js} +2 -2
- package/dist/{ListBox-MZyPpwvj.js → ListBox-civ86c_v.js} +13 -18
- package/dist/{Select-49a62830.esm-CqLHaIei.js → Select-49a62830.esm-D8voKavK.js} +1 -1
- package/dist/{SelectionManager-CvRaua4m.js → SelectionManager-Ctbzoj1E.js} +12 -21
- package/dist/{Separator-C7Few7L6.js → Separator-CDhAddZc.js} +3 -3
- package/dist/{Slider-D8a63VhT.js → Slider-Dkj8Slw3.js} +11 -11
- package/dist/{Text-D8qh3_U7.js → Text-CdwRBXol.js} +1 -1
- package/dist/{VisuallyHidden-DD480kAb.js → VisuallyHidden-DsMLX-RC.js} +2 -2
- package/dist/assets/style.css +1 -1
- package/dist/components/animated-visibility/animated-visibility.js +5794 -5751
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +5 -5
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/color-pickers/color-swatch.js +2 -2
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.js +18 -18
- package/dist/components/component-toggle/component-toggle.js +43 -4
- package/dist/components/draggable/draggable-context.js +5 -0
- package/dist/components/draggable/draggable-item.js +66 -0
- package/dist/components/draggable/draggable.js +159 -0
- package/dist/components/draggable-list/draggable-list-context.js +5 -0
- package/dist/components/draggable-list/draggable-list-item.js +51 -39
- package/dist/components/draggable-list/draggable-list.js +93 -3736
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/index.js +10 -2
- package/dist/components/input-field/input-field.js +7 -7
- package/dist/components/item-collection/item-collection.js +54 -0
- package/dist/components/link-input/link-input.js +216 -31
- package/dist/components/list-box/list-box.js +1 -1
- package/dist/components/matrix-align/matrix-align.js +1 -1
- package/dist/components/menu/menu.js +14 -13
- package/dist/components/modal/modal.js +3 -4
- package/dist/components/number-picker/number-picker.js +9 -9
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.js +13 -13
- package/dist/components/repeater/repeater.js +51 -47
- package/dist/components/responsive/responsive-legacy.js +1 -1
- package/dist/components/responsive/responsive.js +1 -1
- package/dist/components/select/async-multi-select.js +2 -2
- package/dist/components/select/async-single-select.js +2 -2
- package/dist/components/select/custom-select-default-components.js +1 -1
- package/dist/components/select/multi-select.js +2 -2
- package/dist/components/select/react-select-component-wrappers.js +1 -1
- package/dist/components/select/single-select.js +2 -2
- package/dist/components/select/styles.js +1 -1
- package/dist/components/slider/column-config-slider.js +2 -2
- package/dist/components/slider/slider.js +3 -3
- package/dist/components/tabs/tabs.js +46 -12
- package/dist/components/toggle/switch.js +7 -7
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +6 -6
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/{context-Bon2Gyx5.js → context-kCEA3M_y.js} +1 -1
- package/dist/{focusSafely-PMGZgZ9-.js → focusSafely-xMzk3syC.js} +1 -1
- package/dist/{index-a301f526.esm-B9tWL9yi.js → index-a301f526.esm-BMg114iK.js} +8 -3
- package/dist/index.js +10 -2
- package/dist/{intlStrings-KQxgp5tS.js → intlStrings-BxJIrC6b.js} +1 -1
- package/dist/{react-select-async.esm-8Rba_3KV.js → react-select-async.esm-DY-cP0QK.js} +2 -2
- package/dist/{react-select.esm-DkSeQzOP.js → react-select.esm-DNlXj0hV.js} +2 -2
- package/dist/swapy-qb4t7itb.js +3059 -0
- package/dist/{textSelection-DS7-670U.js → textSelection-D5Bit8i8.js} +1 -1
- package/dist/{tooltip-C9mg1CP5.js → tooltip-srrt1p-b.js} +9 -8
- package/dist/{useButton-BPY4yXUo.js → useButton-6H5k2W5N.js} +3 -3
- package/dist/{useEvent-DDLT851Z.js → useEvent-BY-3vfxa.js} +1 -1
- package/dist/{useFocusRing-DsxEaA2J.js → useFocusRing-rz8eyzby.js} +1 -1
- package/dist/{useFocusable-BFKHuYS9.js → useFocusable-Bu2Ovohk.js} +2 -2
- package/dist/{useFormReset-BCPbwfnH.js → useFormReset-fUHUaaR6.js} +1 -1
- package/dist/{useFormValidationState-DC5jbhBW.js → useFormValidationState-DAan_XbC.js} +2 -2
- package/dist/{useLabel-DuJhImKc.js → useLabel-Bk7iP__W.js} +2 -2
- package/dist/{useLabels-JaBafrnV.js → useLabels-DmsOywGg.js} +1 -1
- package/dist/{useListState-Csx05BmT.js → useListState-GXSJsAgz.js} +1 -1
- package/dist/{useLocalizedStringFormatter-CVIIVTgz.js → useLocalizedStringFormatter-m03yY3xi.js} +1 -1
- package/dist/{useMenuTrigger-CMgzyMKW.js → useMenuTrigger-BbwpSVmh.js} +4 -4
- package/dist/{useNumberFieldState-BVFqhboT.js → useNumberFieldState-CpmU88xz.js} +9 -9
- package/dist/{useNumberFormatter-BEeBSV-N.js → useNumberFormatter-B-20GQ2u.js} +1 -1
- package/dist/{usePress-CY8MpqYD.js → usePress-Cs8K7gKw.js} +4 -16
- package/dist/{useSingleSelectListState-CzZUgAt0.js → useSingleSelectListState-C1ddMCq3.js} +2 -2
- package/dist/{useToggle-CJp2Fh_L.js → useToggle-Cn2nQUNS.js} +4 -4
- package/dist/{useToggleState-B4--Ski0.js → useToggleState-Dj0JhD9W.js} +1 -1
- package/dist/{utils-B4IdLYb8.js → utils-Du2x3YVu.js} +4 -4
- package/package.json +19 -18
- package/dist/GridList-PBJsm70G.js +0 -1268
- package/dist/ariaHideOutside-BzxkODNq.js +0 -89
- package/dist/getScrollParent-B3XgpXBL.js +0 -10
- package/dist/useHasTabbableChild-Byd7ylXD.js +0 -37
- package/dist/useListData-B5Pk32vd.js +0 -200
|
@@ -4985,7 +4985,7 @@ function move(items, source, target) {
|
|
|
4985
4985
|
const SortableItem = ({ id, index, disabled, children }) => {
|
|
4986
4986
|
const [element, setElement] = useState(null);
|
|
4987
4987
|
const handleRef = useRef(null);
|
|
4988
|
-
const { isDragSource } = useSortable({
|
|
4988
|
+
const { isDragSource, status } = useSortable({
|
|
4989
4989
|
id,
|
|
4990
4990
|
index,
|
|
4991
4991
|
element,
|
|
@@ -4996,7 +4996,7 @@ const SortableItem = ({ id, index, disabled, children }) => {
|
|
|
4996
4996
|
handle: handleRef,
|
|
4997
4997
|
disabled
|
|
4998
4998
|
});
|
|
4999
|
-
return /* @__PURE__ */ jsx("div", { ref: setElement, children: children(handleRef, isDragSource) });
|
|
4999
|
+
return /* @__PURE__ */ jsx("div", { ref: setElement, children: children(handleRef, isDragSource, status) });
|
|
5000
5000
|
};
|
|
5001
5001
|
/**
|
|
5002
5002
|
* A component that allows re-ordering a list of items with additional sub-options.
|
|
@@ -5082,6 +5082,7 @@ const Repeater = (props) => {
|
|
|
5082
5082
|
const [items, setItems] = useState(fixIds(rawItems));
|
|
5083
5083
|
const [canDelete, setCanDelete] = useState(false);
|
|
5084
5084
|
const [isPanelOpen, setIsPanelOpen] = useState({});
|
|
5085
|
+
const [isDragging, setIsDragging] = useState(false);
|
|
5085
5086
|
const isAnyPanelOpen = ((_a3 = Object.keys(isPanelOpen)) == null ? void 0 : _a3.length) < 1 ? false : Object.entries(isPanelOpen).some(([_2, v2]) => v2 === true);
|
|
5086
5087
|
if (canDelete && items.length < (minItems ?? 1)) {
|
|
5087
5088
|
setCanDelete(false);
|
|
@@ -5150,6 +5151,7 @@ const Repeater = (props) => {
|
|
|
5150
5151
|
event.preventDefault();
|
|
5151
5152
|
return;
|
|
5152
5153
|
}
|
|
5154
|
+
setIsDragging(true);
|
|
5153
5155
|
},
|
|
5154
5156
|
onDragOver: (event) => {
|
|
5155
5157
|
if (isAnyPanelOpen) {
|
|
@@ -5174,6 +5176,7 @@ const Repeater = (props) => {
|
|
|
5174
5176
|
if (event.canceled) {
|
|
5175
5177
|
return;
|
|
5176
5178
|
}
|
|
5179
|
+
setIsDragging(false);
|
|
5177
5180
|
setItems((items2) => move(items2, source, target));
|
|
5178
5181
|
onChange(items);
|
|
5179
5182
|
},
|
|
@@ -5184,58 +5187,59 @@ const Repeater = (props) => {
|
|
|
5184
5187
|
index,
|
|
5185
5188
|
item,
|
|
5186
5189
|
disabled: canDelete || isAnyPanelOpen,
|
|
5187
|
-
children: (handleRef, isDragSource) =>
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
index,
|
|
5193
|
-
canDelete,
|
|
5194
|
-
deleteItem: () => {
|
|
5195
|
-
setItems([...items].filter((i2) => i2.id !== item.id));
|
|
5196
|
-
onChange([...items].filter((i2) => i2.id !== item.id));
|
|
5197
|
-
if (onAfterItemRemove) {
|
|
5198
|
-
onAfterItemRemove(item);
|
|
5199
|
-
}
|
|
5200
|
-
},
|
|
5201
|
-
handleOpenChange: (isOpen) => setIsPanelOpen((data) => ({ ...data, [item.id]: isOpen })),
|
|
5202
|
-
isDragSource
|
|
5203
|
-
},
|
|
5204
|
-
children: /* @__PURE__ */ jsxs("div", { className: "es-uic-relative", children: [
|
|
5205
|
-
/* @__PURE__ */ jsx(
|
|
5206
|
-
Button,
|
|
5207
|
-
{
|
|
5208
|
-
size: "small",
|
|
5209
|
-
className: clsx(
|
|
5210
|
-
"es-uic-absolute es-uic-bottom-0 es-uic-left-0 es-uic-top-0 es-uic-my-auto es-uic-h-6 es-uic-w-4 -es-uic-translate-x-full !es-uic-text-gray-500 es-uic-opacity-50 focus:es-uic-opacity-100",
|
|
5211
|
-
(isAnyPanelOpen || canDelete) && "es-uic-pointer-events-none es-uic-invisible !es-uic-cursor-default"
|
|
5212
|
-
),
|
|
5213
|
-
type: "ghost",
|
|
5214
|
-
icon: icons.reorderGrabberV,
|
|
5215
|
-
tooltip: !isDragSource && __("Re-order", "eightshift-ui-components"),
|
|
5216
|
-
forwardedRef: handleRef
|
|
5217
|
-
}
|
|
5218
|
-
),
|
|
5219
|
-
children({
|
|
5190
|
+
children: (handleRef, isDragSource, status) => {
|
|
5191
|
+
return /* @__PURE__ */ jsx(
|
|
5192
|
+
RepeaterContext.Provider,
|
|
5193
|
+
{
|
|
5194
|
+
value: {
|
|
5220
5195
|
...item,
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
onChange(updated);
|
|
5224
|
-
setItems(updated);
|
|
5225
|
-
},
|
|
5226
|
-
itemIndex: index,
|
|
5196
|
+
index,
|
|
5197
|
+
canDelete,
|
|
5227
5198
|
deleteItem: () => {
|
|
5228
5199
|
setItems([...items].filter((i2) => i2.id !== item.id));
|
|
5229
5200
|
onChange([...items].filter((i2) => i2.id !== item.id));
|
|
5230
5201
|
if (onAfterItemRemove) {
|
|
5231
5202
|
onAfterItemRemove(item);
|
|
5232
5203
|
}
|
|
5233
|
-
}
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5204
|
+
},
|
|
5205
|
+
handleOpenChange: (isOpen) => setIsPanelOpen((data) => ({ ...data, [item.id]: isOpen })),
|
|
5206
|
+
isDragSource
|
|
5207
|
+
},
|
|
5208
|
+
children: /* @__PURE__ */ jsxs("div", { className: "es-uic-relative", children: [
|
|
5209
|
+
/* @__PURE__ */ jsx(
|
|
5210
|
+
Button,
|
|
5211
|
+
{
|
|
5212
|
+
size: "small",
|
|
5213
|
+
className: clsx(
|
|
5214
|
+
"es-uic-absolute es-uic-bottom-0 es-uic-left-1 es-uic-top-0 es-uic-z-20 es-uic-my-auto es-uic-h-6 es-uic-w-4 -es-uic-translate-x-full !es-uic-text-gray-500 es-uic-opacity-50 focus:es-uic-opacity-100 [&_svg]:es-uic-shrink-0",
|
|
5215
|
+
(isAnyPanelOpen || canDelete) && "es-uic-pointer-events-none es-uic-invisible !es-uic-cursor-default"
|
|
5216
|
+
),
|
|
5217
|
+
type: "ghost",
|
|
5218
|
+
icon: "⋮",
|
|
5219
|
+
forwardedRef: handleRef
|
|
5220
|
+
}
|
|
5221
|
+
),
|
|
5222
|
+
children({
|
|
5223
|
+
...item,
|
|
5224
|
+
updateData: (newValue) => {
|
|
5225
|
+
const updated = [...items].map((i2) => i2.id === item.id ? { ...i2, ...newValue } : i2);
|
|
5226
|
+
onChange(updated);
|
|
5227
|
+
setItems(updated);
|
|
5228
|
+
},
|
|
5229
|
+
itemIndex: index,
|
|
5230
|
+
deleteItem: () => {
|
|
5231
|
+
setItems([...items].filter((i2) => i2.id !== item.id));
|
|
5232
|
+
onChange([...items].filter((i2) => i2.id !== item.id));
|
|
5233
|
+
if (onAfterItemRemove) {
|
|
5234
|
+
onAfterItemRemove(item);
|
|
5235
|
+
}
|
|
5236
|
+
}
|
|
5237
|
+
})
|
|
5238
|
+
] })
|
|
5239
|
+
},
|
|
5240
|
+
item.id
|
|
5241
|
+
);
|
|
5242
|
+
}
|
|
5239
5243
|
},
|
|
5240
5244
|
item.id
|
|
5241
5245
|
))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { D as DecorativeTooltip } from "../../tooltip-
|
|
3
|
+
import { D as DecorativeTooltip } from "../../tooltip-srrt1p-b.js";
|
|
4
4
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
5
5
|
import { _ as __, s as sprintf } from "../../default-i18n-BqWys-1G.js";
|
|
6
6
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { D as DecorativeTooltip } from "../../tooltip-
|
|
3
|
+
import { D as DecorativeTooltip } from "../../tooltip-srrt1p-b.js";
|
|
4
4
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
5
5
|
import { _ as __, s as sprintf } from "../../default-i18n-BqWys-1G.js";
|
|
6
6
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
@@ -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-
|
|
3
|
+
import { A as AsyncSelect$1 } from "../../react-select-async.esm-DY-cP0QK.js";
|
|
4
4
|
import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValue, b as getMultiValueRemove } from "../../multi-select-components-DTvEidE3.js";
|
|
5
5
|
import { r as restrictToParentElement } from "../../modifiers.esm-BuJQPI1X.js";
|
|
6
6
|
import { CustomSelectDefaultMultiValueRemove, CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } 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-a301f526.esm-
|
|
9
|
+
import { c as components } from "../../index-a301f526.esm-BMg114iK.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-
|
|
2
|
+
import { A as AsyncSelect$1 } from "../../react-select-async.esm-DY-cP0QK.js";
|
|
3
3
|
import { CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } 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-a301f526.esm-
|
|
6
|
+
import { c as components } from "../../index-a301f526.esm-BMg114iK.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-a301f526.esm-
|
|
5
|
+
import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
|
|
6
6
|
/**
|
|
7
7
|
* Default dropdown indicator for CustomSelect.
|
|
8
8
|
*
|
|
@@ -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-
|
|
3
|
+
import { S as StateManagedSelect$1 } from "../../react-select.esm-DNlXj0hV.js";
|
|
4
4
|
import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValue, b as getMultiValueRemove } from "../../multi-select-components-DTvEidE3.js";
|
|
5
5
|
import { r as restrictToParentElement } from "../../modifiers.esm-BuJQPI1X.js";
|
|
6
6
|
import { CustomSelectDefaultMultiValueRemove, CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } 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-a301f526.esm-
|
|
10
|
+
import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
|
|
11
11
|
/**
|
|
12
12
|
* Multi-select menu with re-orderable items.
|
|
13
13
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { S as StateManagedSelect$1 } from "../../react-select.esm-
|
|
2
|
+
import { S as StateManagedSelect$1 } from "../../react-select.esm-DNlXj0hV.js";
|
|
3
3
|
import { CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } 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-a301f526.esm-
|
|
7
|
+
import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
|
|
8
8
|
/**
|
|
9
9
|
* Select menu.
|
|
10
10
|
*
|
|
@@ -16,7 +16,7 @@ const multiValueLabelStyles = "es-uic-select-none";
|
|
|
16
16
|
const multiValueRemoveStyles = "hover:es-uic-bg-red-500/15 hover:es-uic-text-red-900 es-uic-text-gray-500 es-uic-rounded es-uic-p-0.5 [&>svg]:es-uic-size-3.5 [&>svg]:es-uic-stroke-[1.5] es-uic-transition";
|
|
17
17
|
const clearIndicatorStyles = "es-uic-text-gray-500 es-uic-p-1 es-uic-rounded-md hover:bg-red-50 hover:text-red-800 es-uic-transition";
|
|
18
18
|
const dropdownIndicatorStyles = "es-uic-text-gray-500 es-uic-px-1 group-hover:es-uic-text-black [&>svg]:es-uic-transition-transform [&>svg]:es-uic-duration-500 [&>svg]:es-uic-size-5.5";
|
|
19
|
-
const menuStyles = "es-uic-rounded-md es-uic-border es-uic-border-gray-200 es-uic-bg-white es-uic-shadow-lg es-uic-mt-1 es-uic-text-sm es-uic-overflow-x-hidden";
|
|
19
|
+
const menuStyles = "es-uic-relative es-uic-z-50 es-uic-rounded-md es-uic-border es-uic-border-gray-200 es-uic-bg-white es-uic-shadow-lg es-uic-mt-1 es-uic-text-sm es-uic-overflow-x-hidden";
|
|
20
20
|
const optionStyles = {
|
|
21
21
|
base: "es-uic-p-2 !es-uic-flex es-uic-items-center es-uic-gap-1.5 es-uic-text-gray-800 es-uic-rounded [&>svg]:es-uic-size-5 [&>svg]:es-uic-text-gray-500 es-uic-transition es-uic-mx-1 first:es-uic-mt-1 last:es-uic-mb-1 !es-uic-w-auto es-uic-min-h-9",
|
|
22
22
|
focus: "es-uic-bg-gray-100 active:es-uic-bg-teal-700/15",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { _ as __ } from "../../default-i18n-BqWys-1G.js";
|
|
3
|
-
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
4
|
-
import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-
|
|
3
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BqW0M3HN.js";
|
|
4
|
+
import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-Dkj8Slw3.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
|
-
import { $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-
|
|
3
|
-
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5, a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "../../Label-
|
|
4
|
-
import { $ as $6f909507e6374d18$export$472062a354075cee, c as $6f909507e6374d18$export$a590f758a961cb5b, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-
|
|
2
|
+
import { $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-Du2x3YVu.js";
|
|
3
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5, a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "../../Label-BqW0M3HN.js";
|
|
4
|
+
import { $ as $6f909507e6374d18$export$472062a354075cee, c as $6f909507e6374d18$export$a590f758a961cb5b, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-Dkj8Slw3.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,20 +1,51 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { c as $880e95eb8b93ba9a$export$ecf600387e221c37, i as $ae20dd8cbca75726$export$d6daf82dcd84e87c, d as $e1995378a142960e$export$18af5c7a9e9b3664, e as $e1995378a142960e$export$bf788dd355e3a401, f as $e1995378a142960e$export$fb8073518f34e6ec, g as $7135fc7d473fd974$export$4feb769f8ddf26c5,
|
|
3
|
-
import { c as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415,
|
|
4
|
-
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "../../Hidden-
|
|
2
|
+
import { c as $880e95eb8b93ba9a$export$ecf600387e221c37, i as $ae20dd8cbca75726$export$d6daf82dcd84e87c, d as $e1995378a142960e$export$18af5c7a9e9b3664, e as $e1995378a142960e$export$bf788dd355e3a401, f as $e1995378a142960e$export$fb8073518f34e6ec, g as $7135fc7d473fd974$export$4feb769f8ddf26c5, k as $7135fc7d473fd974$export$90e00781bc59d8f9 } from "../../SelectionManager-Ctbzoj1E.js";
|
|
3
|
+
import { j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, c as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415, i as $64fa3d84918910a7$export$2881499e37b75b9a, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-Du2x3YVu.js";
|
|
4
|
+
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "../../Hidden-CupIZhlF.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
|
-
import React__default, { useMemo, useRef, useEffect, forwardRef, useContext, createContext, useId, cloneElement } from "react";
|
|
7
|
-
import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "../../usePress-
|
|
8
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-
|
|
9
|
-
import {
|
|
10
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
11
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
12
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-
|
|
13
|
-
import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../useSingleSelectListState-
|
|
6
|
+
import React__default, { useState, useMemo, useRef, useEffect, forwardRef, useContext, createContext, useId, cloneElement } from "react";
|
|
7
|
+
import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "../../usePress-Cs8K7gKw.js";
|
|
8
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-DmsOywGg.js";
|
|
9
|
+
import { b as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-B5L3qI3N.js";
|
|
10
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-kCEA3M_y.js";
|
|
11
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rz8eyzby.js";
|
|
12
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-xMzk3syC.js";
|
|
13
|
+
import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../useSingleSelectListState-C1ddMCq3.js";
|
|
14
14
|
import { _ as __, s as sprintf } from "../../default-i18n-BqWys-1G.js";
|
|
15
15
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
16
16
|
import { Notice } from "../notice/notice.js";
|
|
17
17
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
18
|
+
function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
|
|
19
|
+
let isDisabled = options === null || options === void 0 ? void 0 : options.isDisabled;
|
|
20
|
+
let [hasTabbableChild, setHasTabbableChild] = useState(false);
|
|
21
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
22
|
+
if ((ref === null || ref === void 0 ? void 0 : ref.current) && !isDisabled) {
|
|
23
|
+
let update = () => {
|
|
24
|
+
if (ref.current) {
|
|
25
|
+
let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(ref.current, {
|
|
26
|
+
tabbable: true
|
|
27
|
+
});
|
|
28
|
+
setHasTabbableChild(!!walker.nextNode());
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
update();
|
|
32
|
+
let observer = new MutationObserver(update);
|
|
33
|
+
observer.observe(ref.current, {
|
|
34
|
+
subtree: true,
|
|
35
|
+
childList: true,
|
|
36
|
+
attributes: true,
|
|
37
|
+
attributeFilter: [
|
|
38
|
+
"tabIndex",
|
|
39
|
+
"disabled"
|
|
40
|
+
]
|
|
41
|
+
});
|
|
42
|
+
return () => {
|
|
43
|
+
observer.disconnect();
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
return isDisabled ? false : hasTabbableChild;
|
|
48
|
+
}
|
|
18
49
|
const $99b62ae3ff97ec45$export$c5f62239608282b6 = /* @__PURE__ */ new WeakMap();
|
|
19
50
|
function $99b62ae3ff97ec45$export$567fc7097e064344(state, key, role) {
|
|
20
51
|
if (typeof key === "string") key = key.replace(/\s+/g, "");
|
|
@@ -311,7 +342,10 @@ const $5e8ad37a45e1c704$export$3e41faf802a29e71 = /* @__PURE__ */ $e1995378a1429
|
|
|
311
342
|
}, state, ref);
|
|
312
343
|
let { focusProps, isFocused, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f();
|
|
313
344
|
let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
|
|
314
|
-
isDisabled
|
|
345
|
+
isDisabled,
|
|
346
|
+
onHoverStart: props.onHoverStart,
|
|
347
|
+
onHoverEnd: props.onHoverEnd,
|
|
348
|
+
onHoverChange: props.onHoverChange
|
|
315
349
|
});
|
|
316
350
|
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
317
351
|
...props,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e,
|
|
2
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, h as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3, c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../../utils-Du2x3YVu.js";
|
|
3
3
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
4
4
|
import React__default, { forwardRef, createContext } from "react";
|
|
5
|
-
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-
|
|
6
|
-
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-
|
|
7
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
8
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-
|
|
9
|
-
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-
|
|
5
|
+
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-Dj0JhD9W.js";
|
|
6
|
+
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-Cn2nQUNS.js";
|
|
7
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rz8eyzby.js";
|
|
8
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-xMzk3syC.js";
|
|
9
|
+
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-DsMLX-RC.js";
|
|
10
10
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
11
11
|
function $b418ec0c85c52f27$export$d853f7095ae95f88(props, state, ref) {
|
|
12
12
|
let { labelProps, inputProps, isSelected, isPressed, isDisabled, isReadOnly } = $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref);
|
|
@@ -129,7 +129,7 @@ const Switch = (props) => {
|
|
|
129
129
|
{
|
|
130
130
|
className: clsx(
|
|
131
131
|
"es-uic-block es-uic-size-2 es-uic-rounded-full es-uic-border es-uic-border-gray-500 es-uic-bg-gray-500 es-uic-transition es-uic-will-change-transform",
|
|
132
|
-
"group-selected
|
|
132
|
+
"group-selected:!es-uic-translate-x-3 group-selected:!es-uic-scale-125 group-selected:es-uic-border-teal-600 group-selected:es-uic-bg-teal-600",
|
|
133
133
|
"group-disabled:es-uic-border-gray-300 group-disabled:es-uic-bg-white",
|
|
134
134
|
isIndeterminate && "es-uic-translate-x-1.5"
|
|
135
135
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
2
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BqW0M3HN.js";
|
|
3
3
|
import { Switch } from "./switch.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { n as $ff5963eb1fccf552$export$e08e3b67e392101e, c as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-
|
|
2
|
+
import { n as $ff5963eb1fccf552$export$e08e3b67e392101e, c as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-Du2x3YVu.js";
|
|
3
3
|
import React__default, { forwardRef, createContext } from "react";
|
|
4
|
-
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-
|
|
5
|
-
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-
|
|
6
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
7
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-
|
|
4
|
+
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-Dj0JhD9W.js";
|
|
5
|
+
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-6H5k2W5N.js";
|
|
6
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rz8eyzby.js";
|
|
7
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-xMzk3syC.js";
|
|
8
8
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
9
|
-
import { T as Tooltip } from "../../tooltip-
|
|
9
|
+
import { T as Tooltip } from "../../tooltip-srrt1p-b.js";
|
|
10
10
|
function $55f54f7887471b58$export$51e84d46ca0bc451(props, state, ref) {
|
|
11
11
|
const { isSelected } = state;
|
|
12
12
|
const { isPressed, buttonProps } = $701a24aa0da5b062$export$ea18c227d4417cc3({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { D, T } from "../../tooltip-
|
|
2
|
+
import { D, T } from "../../tooltip-srrt1p-b.js";
|
|
3
3
|
import "../../lite-DVmmD_-j.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../../focusSafely-
|
|
6
|
-
import "../../utils-
|
|
5
|
+
import "../../focusSafely-xMzk3syC.js";
|
|
6
|
+
import "../../utils-Du2x3YVu.js";
|
|
7
7
|
export {
|
|
8
8
|
D as DecorativeTooltip,
|
|
9
9
|
T as Tooltip
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useContext } from "react";
|
|
2
|
-
import { d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-
|
|
2
|
+
import { d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-Du2x3YVu.js";
|
|
3
3
|
const $148a7a147e38ea7f$var$RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
4
4
|
"Arab",
|
|
5
5
|
"Syrc",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-Du2x3YVu.js";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback, useMemo } from "react";
|
|
3
3
|
const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
4
4
|
var _el_ownerDocument;
|
|
@@ -1241,6 +1241,7 @@ var unitlessKeys = {
|
|
|
1241
1241
|
opacity: 1,
|
|
1242
1242
|
order: 1,
|
|
1243
1243
|
orphans: 1,
|
|
1244
|
+
scale: 1,
|
|
1244
1245
|
tabSize: 1,
|
|
1245
1246
|
widows: 1,
|
|
1246
1247
|
zIndex: 1,
|
|
@@ -1652,10 +1653,14 @@ function getOverflowAncestors(node2, list, traverseIframes) {
|
|
|
1652
1653
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node2.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1653
1654
|
const win = getWindow(scrollableAncestor);
|
|
1654
1655
|
if (isBody) {
|
|
1655
|
-
|
|
1656
|
+
const frameElement = getFrameElement(win);
|
|
1657
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
1656
1658
|
}
|
|
1657
1659
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1658
1660
|
}
|
|
1661
|
+
function getFrameElement(win) {
|
|
1662
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
1663
|
+
}
|
|
1659
1664
|
function getCssDimensions(element) {
|
|
1660
1665
|
const css4 = getComputedStyle$1(element);
|
|
1661
1666
|
let width = parseFloat(css4.width) || 0;
|
|
@@ -1738,7 +1743,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1738
1743
|
const win = getWindow(domElement);
|
|
1739
1744
|
const offsetWin = offsetParent;
|
|
1740
1745
|
let currentWin = win;
|
|
1741
|
-
let currentIFrame = currentWin
|
|
1746
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
1742
1747
|
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
1743
1748
|
const iframeScale = getScale(currentIFrame);
|
|
1744
1749
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
@@ -1752,7 +1757,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1752
1757
|
x += left;
|
|
1753
1758
|
y += top;
|
|
1754
1759
|
currentWin = getWindow(currentIFrame);
|
|
1755
|
-
currentIFrame = currentWin
|
|
1760
|
+
currentIFrame = getFrameElement(currentWin);
|
|
1756
1761
|
}
|
|
1757
1762
|
}
|
|
1758
1763
|
return rectToClientRect({
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,9 @@ import { ColorSwatch } from "./components/color-pickers/color-swatch.js";
|
|
|
9
9
|
import { ColorPicker } from "./components/color-pickers/color-picker.js";
|
|
10
10
|
import { ColumnConfigSlider, ColumnConfigSliderOutput } from "./components/slider/column-config-slider.js";
|
|
11
11
|
import { DraggableList } from "./components/draggable-list/draggable-list.js";
|
|
12
|
-
import { DraggableListItem } from "./components/draggable-list/draggable-list-item.js";
|
|
12
|
+
import { DraggableListItem, DraggableListItemHandle } from "./components/draggable-list/draggable-list-item.js";
|
|
13
|
+
import { Draggable } from "./components/draggable/draggable.js";
|
|
14
|
+
import { DraggableItem, DraggableItemHandle } from "./components/draggable/draggable-item.js";
|
|
13
15
|
import { Expandable } from "./components/expandable/expandable.js";
|
|
14
16
|
import { FilePlaceholder } from "./components/placeholders/file-placeholder.js";
|
|
15
17
|
import { GradientEditor } from "./components/color-pickers/gradient-editor.js";
|
|
@@ -17,6 +19,7 @@ import { HStack } from "./components/layout/hstack.js";
|
|
|
17
19
|
import { RichLabel } from "./components/rich-label/rich-label.js";
|
|
18
20
|
import { InputField } from "./components/input-field/input-field.js";
|
|
19
21
|
import { ImagePlaceholder } from "./components/placeholders/image-placeholder.js";
|
|
22
|
+
import { ItemCollection } from "./components/item-collection/item-collection.js";
|
|
20
23
|
import { LinkInput } from "./components/link-input/link-input.js";
|
|
21
24
|
import { ListBox } from "./components/list-box/list-box.js";
|
|
22
25
|
import { MatrixAlign } from "./components/matrix-align/matrix-align.js";
|
|
@@ -46,7 +49,7 @@ import { Tab, TabList, TabPanel, Tabs } from "./components/tabs/tabs.js";
|
|
|
46
49
|
import { Toggle } from "./components/toggle/toggle.js";
|
|
47
50
|
import { Switch } from "./components/toggle/switch.js";
|
|
48
51
|
import { ToggleButton } from "./components/toggle-button/toggle-button.js";
|
|
49
|
-
import { D, T } from "./tooltip-
|
|
52
|
+
import { D, T } from "./tooltip-srrt1p-b.js";
|
|
50
53
|
import { VStack } from "./components/layout/vstack.js";
|
|
51
54
|
import { getColumnConfigOutputText } from "./components/slider/utils.js";
|
|
52
55
|
export {
|
|
@@ -65,14 +68,19 @@ export {
|
|
|
65
68
|
ComponentToggle,
|
|
66
69
|
ContainerPanel,
|
|
67
70
|
D as DecorativeTooltip,
|
|
71
|
+
Draggable,
|
|
72
|
+
DraggableItem,
|
|
73
|
+
DraggableItemHandle,
|
|
68
74
|
DraggableList,
|
|
69
75
|
DraggableListItem,
|
|
76
|
+
DraggableListItemHandle,
|
|
70
77
|
Expandable,
|
|
71
78
|
FilePlaceholder,
|
|
72
79
|
GradientEditor,
|
|
73
80
|
HStack,
|
|
74
81
|
ImagePlaceholder,
|
|
75
82
|
InputField,
|
|
83
|
+
ItemCollection,
|
|
76
84
|
LinkInput,
|
|
77
85
|
ListBox,
|
|
78
86
|
MatrixAlign,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4, b as $9446cca9a3875146$export$b6268554fba451f } from "./number-CHmNj-oR.js";
|
|
2
|
-
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-
|
|
2
|
+
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-m03yY3xi.js";
|
|
3
3
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-U_Gx0UDq.js";
|
|
4
4
|
var $2d805fd52bb48883$exports = {};
|
|
5
5
|
$2d805fd52bb48883$exports = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as _objectWithoutProperties, b as _slicedToArray, h as handleInputChange, d as _objectSpread2, e as _defineProperty, _ as _extends } from "./index-a301f526.esm-
|
|
1
|
+
import { a as _objectWithoutProperties, b as _slicedToArray, h as handleInputChange, d as _objectSpread2, e as _defineProperty, _ as _extends } from "./index-a301f526.esm-BMg114iK.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRef, useState, useEffect, useCallback, forwardRef } from "react";
|
|
4
|
-
import { u as useStateManager, S as Select } from "./Select-49a62830.esm-
|
|
4
|
+
import { u as useStateManager, S as Select } from "./Select-49a62830.esm-D8voKavK.js";
|
|
5
5
|
import "./index-BTCzc3zb.js";
|
|
6
6
|
var _excluded = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
|
7
7
|
function useAsync(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useStateManager, S as Select } from "./Select-49a62830.esm-
|
|
2
|
-
import { _ as _extends } from "./index-a301f526.esm-
|
|
1
|
+
import { u as useStateManager, S as Select } from "./Select-49a62830.esm-D8voKavK.js";
|
|
2
|
+
import { _ as _extends } from "./index-a301f526.esm-BMg114iK.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import "./index-BTCzc3zb.js";
|