@eightshift/ui-components 5.3.2 → 5.4.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/{Button-npzfSoYo.js → Button-CQ5ZZJ2w.js} +8 -14
- package/dist/{Dialog-CQ8H6Noi.js → Dialog-BMgMUQuN.js} +81 -73
- package/dist/{FocusScope-DJApHXhY.js → FocusScope-B5vxRkHm.js} +1 -1
- package/dist/{Heading-bh1HU5HH.js → Heading-B5aEynOM.js} +1 -1
- package/dist/{Input-ChJaTNa5.js → Input-8yja_IHC.js} +6 -5
- package/dist/{ListBox-D0Stb4wr.js → ListBox-DggfiuO_.js} +28 -16
- package/dist/{OverlayArrow-DivvkAVb.js → OverlayArrow-DraDOoRn.js} +1 -1
- package/dist/{RSPContexts-2lR5GG9p.js → RSPContexts-CJ-HBf0L.js} +8 -4
- package/dist/{SearchField-jVsbJe1O.js → SearchField-DWGdCvnn.js} +24 -18
- package/dist/{Select-ciHB1pub.js → Select-BvggcFOX.js} +204 -68
- package/dist/SelectionIndicator-D7WMzeAW.js +7 -0
- package/dist/{SelectionManager-CabSdgMq.js → SelectionManager-B6-b5NM2.js} +98 -59
- package/dist/{Separator-BPvqJny4.js → Separator-B-xeqOkC.js} +6 -6
- package/dist/SharedElementTransition-fML-zIv6.js +12 -0
- package/dist/{Slider-ChP04COa.js → Slider-DfU6bRtH.js} +4 -4
- package/dist/{VisuallyHidden-X6SggVVO.js → VisuallyHidden-CgnIuZJ2.js} +1 -1
- package/dist/assets/style-admin.css +940 -100
- package/dist/assets/style-editor.css +940 -100
- package/dist/assets/style.css +940 -100
- package/dist/assets/wp-font-enhancements.css +1 -1
- package/dist/assets/wp-ui-enhancements.css +1 -1
- package/dist/components/button/button.js +83 -26
- package/dist/components/checkbox/checkbox.js +14 -10
- package/dist/components/color-pickers/solid-color-picker.js +8 -8
- package/dist/components/expandable/expandable.js +40 -10
- package/dist/components/index.js +2 -0
- package/dist/components/input-field/input-field.js +5 -5
- package/dist/components/link-input/link-input.js +32 -21
- package/dist/components/menu/menu.js +5 -3
- package/dist/components/modal/modal.js +34 -6
- package/dist/components/number-picker/number-picker.js +5 -4
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/placeholders/file-picker-shell.js +102 -0
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.js +20 -11
- package/dist/components/select/v2/async-multi-select.js +6 -6
- package/dist/components/select/v2/async-select.js +6 -6
- package/dist/components/select/v2/multi-select.js +7 -7
- package/dist/components/select/v2/shared.js +1 -1
- package/dist/components/select/v2/single-select.js +7 -7
- package/dist/components/slider/column-config-slider.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/tabs/tabs.js +16 -10
- package/dist/components/toggle/switch.js +5 -5
- package/dist/components/toggle-button/toggle-button.js +34 -24
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/icons/icons.js +27 -0
- package/dist/index.js +2 -0
- package/dist/{textSelection-k0u64dDA.js → textSelection-DbCKqaw8.js} +1 -1
- package/dist/{useButton-Bn4ZT295.js → useButton-v9ngEj50.js} +2 -2
- package/dist/{useDragAndDrop-DVLrIdEn.js → useDragAndDrop-C08ZXv4F.js} +5 -5
- package/dist/{useFilter-C4wo8Iii.js → useFilter-BlkUH1Ma.js} +1 -1
- package/dist/{useFocusRing-CUxgjvAY.js → useFocusRing-Cgm0R4Cf.js} +1 -1
- package/dist/{useFormValidation-CUtZcedF.js → useFormValidation-CeNsUGWK.js} +1 -1
- package/dist/{useHover-LmGemtHE.js → useHover-BRDW3y7-.js} +3 -1
- package/dist/{useListState-Xsk-aOvN.js → useListState-RdLrYsMP.js} +1 -1
- package/dist/{useNumberField-BCjjZWaz.js → useNumberField-D16dDfYF.js} +5 -5
- package/dist/{usePress-CBQIDzpQ.js → usePress-DJskZBH9.js} +4 -2
- package/dist/{useSingleSelectListState-DattSD7d.js → useSingleSelectListState-n0AVMr3Y.js} +2 -2
- package/dist/{useToggle-C8CedY6Z.js → useToggle-DSBDAfdw.js} +2 -2
- package/dist/{useToggleState-CiAradXs.js → useToggleState-CzN79ary.js} +1 -1
- package/package.json +14 -14
- package/dist/context-DCAZLyDS.js +0 -7
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { p as $ff5963eb1fccf552$export$e08e3b67e392101e, b as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-cvK1vxO7.js";
|
|
3
|
+
import { $ as $1d5b8b8664671ef2$export$c9549807523555e0 } from "../../SelectionIndicator-D7WMzeAW.js";
|
|
3
4
|
import React__default, { createContext, forwardRef, useContext } from "react";
|
|
4
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
|
|
5
|
-
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-
|
|
6
|
-
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-
|
|
7
|
-
import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
8
|
-
import { w as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-
|
|
6
|
+
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-CzN79ary.js";
|
|
7
|
+
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-v9ngEj50.js";
|
|
8
|
+
import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Cgm0R4Cf.js";
|
|
9
|
+
import { w as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-BRDW3y7-.js";
|
|
9
10
|
import { c as cva } from "../../index-Dq3gT5pW.js";
|
|
10
11
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
11
12
|
function $55f54f7887471b58$export$51e84d46ca0bc451(props, state, ref) {
|
|
@@ -100,7 +101,11 @@ const $efde0372d7a700fe$export$d2b052e7b4be1756 = /* @__PURE__ */ forwardRef(fun
|
|
|
100
101
|
"data-selected": isSelected || void 0,
|
|
101
102
|
"data-hovered": isHovered || void 0,
|
|
102
103
|
"data-focus-visible": isFocusVisible || void 0
|
|
103
|
-
}
|
|
104
|
+
}, /* @__PURE__ */ React__default.createElement($1d5b8b8664671ef2$export$c9549807523555e0.Provider, {
|
|
105
|
+
value: {
|
|
106
|
+
isSelected
|
|
107
|
+
}
|
|
108
|
+
}, renderProps.children));
|
|
104
109
|
});
|
|
105
110
|
/**
|
|
106
111
|
* @typedef {import('../tooltip/tooltip').TooltipProps} TooltipProps
|
|
@@ -178,8 +183,10 @@ const ToggleButton2 = (props) => {
|
|
|
178
183
|
"es:btn-group-mid:rounded-none",
|
|
179
184
|
"es:btn-group-h-start:rounded-r-none es:btn-group-v-start:rounded-b-none",
|
|
180
185
|
"es:btn-group-h-end:rounded-l-none es:btn-group-v-end:rounded-t-none",
|
|
181
|
-
"es:enabled:
|
|
182
|
-
"es:
|
|
186
|
+
"es:enabled:not-pending:cursor-pointer",
|
|
187
|
+
"es:shrink-0",
|
|
188
|
+
"es:pending:shadow-none! es:pending:cursor-wait",
|
|
189
|
+
"es:bg-radial-[at_50%_125%]",
|
|
183
190
|
icon && children ? "es:justify-start" : "es:justify-center",
|
|
184
191
|
className
|
|
185
192
|
],
|
|
@@ -189,10 +196,6 @@ const ToggleButton2 = (props) => {
|
|
|
189
196
|
small: "es:icon:size-5 es:rounded-7",
|
|
190
197
|
default: "es:icon:size-5 es:rounded-10",
|
|
191
198
|
large: "es:icon:size-6 es:rounded-xl"
|
|
192
|
-
},
|
|
193
|
-
type: {
|
|
194
|
-
default: ["es:bg-radial-[at_50%_125%]", "es:inset-ring es:inset-shadow-xs"],
|
|
195
|
-
ghost: ["es:border-transparent es:text-secondary-700", "es:hover:bg-secondary-100", "es:disabled:border-transparent!"]
|
|
196
199
|
}
|
|
197
200
|
},
|
|
198
201
|
compoundVariants: [
|
|
@@ -202,22 +205,22 @@ const ToggleButton2 = (props) => {
|
|
|
202
205
|
selected: false,
|
|
203
206
|
class: [
|
|
204
207
|
"es:text-black",
|
|
205
|
-
"es:from-
|
|
208
|
+
"es:from-white es:to-secondary-50",
|
|
206
209
|
"es:border-secondary-300",
|
|
207
|
-
"es:inset-ring-secondary-100",
|
|
208
|
-
"es:inset-shadow-secondary-100/50",
|
|
210
|
+
"es:inset-ring es:inset-ring-secondary-100",
|
|
211
|
+
"es:inset-shadow-xs es:inset-shadow-secondary-100/50",
|
|
209
212
|
"es:shadow-sm",
|
|
210
|
-
"es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
213
|
+
"es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm es:hover:inset-shadow-secondary-100 es:hover:to-secondary-100 es:hover:inset-ring-secondary-100",
|
|
211
214
|
"es:hover:text-accent-950",
|
|
212
215
|
"es:focus-visible:text-accent-950"
|
|
213
216
|
]
|
|
214
217
|
},
|
|
215
218
|
{
|
|
216
|
-
type: "default",
|
|
219
|
+
type: ["default", "ghost"],
|
|
217
220
|
disabled: false,
|
|
218
221
|
selected: true,
|
|
219
222
|
class: [
|
|
220
|
-
"es:text-white
|
|
223
|
+
"es:text-white",
|
|
221
224
|
"es:from-accent-500 es:to-accent-600",
|
|
222
225
|
"es:border-accent-700",
|
|
223
226
|
"es:inset-ring es:inset-ring-accent-600",
|
|
@@ -225,18 +228,25 @@ const ToggleButton2 = (props) => {
|
|
|
225
228
|
"es:focus-visible:border-accent-700",
|
|
226
229
|
"es:focus-visible:inset-ring es:focus-visible:inset-ring-accent-600",
|
|
227
230
|
"es:focus-visible:inset-shadow-xs es:focus-visible:inset-shadow-accent-400",
|
|
228
|
-
"es:shadow
|
|
231
|
+
"es:shadow es:shadow-accent-600/30 es:enabled:hover:shadow-md es:enabled:active:shadow-sm es:enabled:pressed:shadow-sm"
|
|
229
232
|
]
|
|
230
233
|
},
|
|
231
|
-
{
|
|
232
|
-
disabled: true,
|
|
233
|
-
class: "es:disabled:border-secondary-300 es:disabled:text-secondary-400 es:border es:shadow-none es:disabled:inset-shadow-transparent es:disabled:inset-ring-0"
|
|
234
|
-
},
|
|
235
234
|
{
|
|
236
235
|
type: "ghost",
|
|
237
236
|
disabled: false,
|
|
238
|
-
selected:
|
|
239
|
-
class: [
|
|
237
|
+
selected: false,
|
|
238
|
+
class: [
|
|
239
|
+
"es:border-accent-500/0 es:text-secondary-700",
|
|
240
|
+
"es:hover:bg-accent-500/10 es:hover:text-accent-700",
|
|
241
|
+
"es:active:bg-accent-50 es:pressed:bg-accent-50 es:active:text-accent-950 es:pressed:text-accent-950",
|
|
242
|
+
"es:focus-visible:text-accent-700",
|
|
243
|
+
"es:inset-ring es:inset-ring-accent-600/0",
|
|
244
|
+
"es:inset-shadow-xs es:inset-shadow-accent-400/0"
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
disabled: true,
|
|
249
|
+
class: "es:disabled:border-zinc-300 es:disabled:text-zinc-400 es:border es:shadow-none es:disabled:inset-shadow-transparent es:disabled:inset-ring-0"
|
|
240
250
|
},
|
|
241
251
|
// Sizes.
|
|
242
252
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, a as $d3f049242431219c$export$45fda7c47f93fd48, c as $2a41e45df1593e64$export$d39e1813b3bdd0e1, b as $d3f049242431219c$export$6d3443f2c48bfc20, d as $44f671af83e7d9e0$export$2de4954e8ae13b9f, e as $44f671af83e7d9e0$export$746d02f47f4d381 } from "../../OverlayArrow-
|
|
2
|
+
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, a as $d3f049242431219c$export$45fda7c47f93fd48, c as $2a41e45df1593e64$export$d39e1813b3bdd0e1, b as $d3f049242431219c$export$6d3443f2c48bfc20, d as $44f671af83e7d9e0$export$2de4954e8ae13b9f, e as $44f671af83e7d9e0$export$746d02f47f4d381 } from "../../OverlayArrow-DraDOoRn.js";
|
|
3
3
|
import { n as $b5e257d569688ac6$export$535bd6ca7f90a273, b as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37, i as $64fa3d84918910a7$export$2881499e37b75b9a, a as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-cvK1vxO7.js";
|
|
4
4
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-D2C6R0DK.js";
|
|
5
|
-
import { w as $6179b936705e76d3$export$ae780daf29e6d456, $ as $f645667febf57a63$export$4c014de7c8940b4c, u as $507fabe10e71c6fb$export$630ff653c5ada6a9, l as $507fabe10e71c6fb$export$b9b3dfddab17db27, y as $f645667febf57a63$export$13f3202a3e5ddd5 } from "../../useHover-
|
|
5
|
+
import { w as $6179b936705e76d3$export$ae780daf29e6d456, $ as $f645667febf57a63$export$4c014de7c8940b4c, u as $507fabe10e71c6fb$export$630ff653c5ada6a9, l as $507fabe10e71c6fb$export$b9b3dfddab17db27, y as $f645667febf57a63$export$13f3202a3e5ddd5 } from "../../useHover-BRDW3y7-.js";
|
|
6
6
|
import React__default, { useContext, useState, useMemo, useRef, useEffect, forwardRef, createContext } from "react";
|
|
7
7
|
import { a as $96b38030c423d352$export$9fc1347d4195ccb3 } from "../../PortalProvider---wyKpMr.js";
|
|
8
8
|
import { $ as $dbSRa$reactdom } from "../../index-D8-Zjpbd.js";
|
package/dist/icons/icons.js
CHANGED
|
@@ -3349,6 +3349,33 @@ const icons = {
|
|
|
3349
3349
|
/* @__PURE__ */ jsx("path", { opacity: "0.6", d: "M3.439 17.562a.562.562 0 0 0 .793-.794.561.561 0 0 0-.794.793v.001Z", fill: "currentColor" }),
|
|
3350
3350
|
/* @__PURE__ */ jsx("path", { d: "M5.077 18.657a.561.561 0 1 0-.002 0h.002Z", fill: "currentColor" }),
|
|
3351
3351
|
/* @__PURE__ */ jsx("path", { d: "M6.5 12v2.25c0 .138.112.25.25.25H8.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3352
|
+
] }),
|
|
3353
|
+
folderSolid: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", width: "21", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M17.5 5a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-14a2 2 0 0 1-1.99-1.796L1.5 15V8h5.8a.501.501 0 0 0 .298-.099l2.7-2-.008-.01L11.484 5H17.5ZM6.805 3a2 2 0 0 1 1.19.393l1.993 1.476L7.135 7H1.5V5a2 2 0 0 1 2-2h3.305Z", fill: "currentColor" }) }),
|
|
3354
|
+
folderOpenSolid: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", width: "21", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M19.27 8c.256.44.348.979.2 1.522l-1.623 6A2 2 0 0 1 15.916 17H3.5c-.207 0-.407-.033-.595-.092l.076-.277 2.196-7.899A1 1 0 0 1 6.14 8h13.13ZM6.4 3c.513 0 1.008.197 1.38.55l1.234 1.175c.186.176.433.275.69.275H15.5a2 2 0 0 1 2 2H6.14a2 2 0 0 0-1.927 1.465l-2.194 7.901.004-.021A1.99 1.99 0 0 1 1.5 15V5a2 2 0 0 1 2-2h2.9Z", fill: "currentColor" }) }),
|
|
3355
|
+
plusSquare: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
3356
|
+
/* @__PURE__ */ jsx("rect", { x: "1.5", y: "1.5", width: "17", height: "17", rx: "2", stroke: "currentColor", fill: "none" }),
|
|
3357
|
+
/* @__PURE__ */ jsx("path", { d: "M5.5 10H10m0 0h4.5M10 10V5.5m0 4.5v4.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3358
|
+
] }),
|
|
3359
|
+
plusSquareFill: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M16.5 19a2.5 2.5 0 0 0 2.5-2.5v-13A2.5 2.5 0 0 0 16.5 1h-13A2.5 2.5 0 0 0 1 3.5v13A2.5 2.5 0 0 0 3.5 19h13ZM10 15a.5.5 0 0 1-.5-.5v-4h-4a.5.5 0 0 1 0-1h4v-4a.5.5 0 0 1 1 0v4h4a.5.5 0 0 1 0 1h-4v4a.5.5 0 0 1-.5.5Z", fill: "currentColor" }) }),
|
|
3360
|
+
plusSquareFillTransparent: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3361
|
+
/* @__PURE__ */ jsx("rect", { x: "1", y: "1", width: "18", height: "18", rx: "2.5", fill: "currentColor", fillOpacity: "0.12" }),
|
|
3362
|
+
/* @__PURE__ */ jsx("path", { d: "M5.5 10H10m0 0h4.5M10 10V5.5m0 4.5v4.5", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3363
|
+
] }),
|
|
3364
|
+
sortGeneric: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3365
|
+
/* @__PURE__ */ jsx("path", { d: "m1 14 4.5 4.52m0 0L10 14m-4.5 4.52V3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
3366
|
+
/* @__PURE__ */ jsx("path", { d: "M9 3.5h10m-10 3h8m-8 3h6", stroke: "currentColor", strokeLinecap: "round", fill: "none" })
|
|
3367
|
+
] }),
|
|
3368
|
+
musicNote: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3369
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "5", cy: "17", rx: "2.5", ry: "2", fill: "currentColor", stroke: "currentColor" }),
|
|
3370
|
+
/* @__PURE__ */ jsx("ellipse", { cx: "16", cy: "14", rx: "2.5", ry: "2", fill: "currentColor", stroke: "currentColor" }),
|
|
3371
|
+
/* @__PURE__ */ jsx("path", { d: "M18.5 2.698V4l-11 2V4.335a1 1 0 0 1 .821-.984l9-1.637a1 1 0 0 1 1.179.984Z", fill: "currentColor" }),
|
|
3372
|
+
/* @__PURE__ */ jsx("path", { d: "M18.5 14V2.698a1 1 0 0 0-1.179-.984l-9 1.637a1 1 0 0 0-.821.984V17.25M18.5 4l-11 2", stroke: "currentColor", fill: "none" })
|
|
3373
|
+
] }),
|
|
3374
|
+
wordpress: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M17.1 6.118A8.052 8.052 0 0 1 18.091 10a8.087 8.087 0 0 1-4.023 6.994l2.472-7.146c.461-1.154.615-2.077.615-2.898 0-.298-.02-.575-.055-.832Zm-5.985.088c.487-.026.926-.077.926-.077.436-.052.385-.692-.051-.667 0 0-1.311.103-2.157.103-.795 0-2.131-.103-2.131-.103-.437-.025-.488.641-.052.667 0 0 .413.051.85.077L9.76 9.66l-1.771 5.31-2.947-8.764c.488-.026.926-.077.926-.077.436-.052.385-.692-.051-.667 0 0-1.31.103-2.157.103-.152 0-.33-.004-.52-.01A8.082 8.082 0 0 1 10 1.908c2.106 0 4.024.806 5.464 2.125-.035-.003-.069-.007-.105-.007-.794 0-1.358.692-1.358 1.436 0 .667.384 1.231.794 1.898.308.539.668 1.231.668 2.232 0 .692-.267 1.496-.616 2.615l-.808 2.697-2.924-8.698ZM10 18.092a8.09 8.09 0 0 1-2.286-.33l2.428-7.055 2.487 6.815a.76.76 0 0 0 .058.111 8.074 8.074 0 0 1-2.687.459ZM1.908 10a8.06 8.06 0 0 1 .701-3.293l3.86 10.575A8.092 8.092 0 0 1 1.909 10ZM10 1c-4.963 0-9 4.037-9 9 0 4.962 4.037 9 9 9s9-4.038 9-9c0-4.963-4.037-9-9-9Z", fill: "currentColor" }) }),
|
|
3375
|
+
filePdf: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", width: "20", height: "20", fill: "none", children: [
|
|
3376
|
+
/* @__PURE__ */ jsx("path", { d: "m9.5.5 5 5H10a.5.5 0 0 1-.5-.5V.5Z", fill: "currentColor", fillOpacity: "0.3" }),
|
|
3377
|
+
/* @__PURE__ */ jsx("path", { d: "m14.5 5.5-5-5m5 5H10a.5.5 0 0 1-.5-.5V.5m5 5v2m-5-7H2A1.5 1.5 0 0 0 .5 2v16A1.5 1.5 0 0 0 2 19.5h11a1.5 1.5 0 0 0 1.5-1.5v-.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
3378
|
+
/* @__PURE__ */ jsx("path", { d: "M11.236 15.5H9.499v-6h1.737s2.316 0 2.316 2.842v.316c0 2.842-2.316 2.842-2.316 2.842Zm4.263 0v-3m3.184-3H15.5v3m0 0h3.04m-15.04 3v-3m0 0v-3h1.882c.434 0 2.119 0 2.118 1.5-.001 1.5-1.566 1.5-2 1.5h-2Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" })
|
|
3352
3379
|
] })
|
|
3353
3380
|
};
|
|
3354
3381
|
const blockIcons = {
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import { DraggableContext } from "./components/draggable/draggable-context.js";
|
|
|
14
14
|
import { Draggable } from "./components/draggable/draggable.js";
|
|
15
15
|
import { DraggableHandle } from "./components/draggable/draggable-handle.js";
|
|
16
16
|
import { Expandable } from "./components/expandable/expandable.js";
|
|
17
|
+
import { FilePickerShell } from "./components/placeholders/file-picker-shell.js";
|
|
17
18
|
import { FilePlaceholder } from "./components/placeholders/file-placeholder.js";
|
|
18
19
|
import { GradientEditor } from "./components/color-pickers/gradient-editor.js";
|
|
19
20
|
import { HStack } from "./components/layout/hstack.js";
|
|
@@ -82,6 +83,7 @@ export {
|
|
|
82
83
|
DraggableListItem,
|
|
83
84
|
DraggableListItemHandle,
|
|
84
85
|
Expandable,
|
|
86
|
+
FilePickerShell,
|
|
85
87
|
FilePlaceholder,
|
|
86
88
|
GradientEditor,
|
|
87
89
|
HStack,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as $c87311424ea30a05$export$fedb369cb70207f1, c as $431fbd86ca7dc216$export$b204af158042fbac, d as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-
|
|
1
|
+
import { b as $c87311424ea30a05$export$fedb369cb70207f1, c as $431fbd86ca7dc216$export$b204af158042fbac, d as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-BRDW3y7-.js";
|
|
2
2
|
let $14c0b72509d70225$var$state = "default";
|
|
3
3
|
let $14c0b72509d70225$var$savedUserSelect = "";
|
|
4
4
|
let $14c0b72509d70225$var$modifiedElementMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-cvK1vxO7.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-D2C6R0DK.js";
|
|
3
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
4
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-
|
|
3
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DJskZBH9.js";
|
|
4
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-BRDW3y7-.js";
|
|
5
5
|
function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
|
|
6
6
|
let { elementType = "button", isDisabled, onPress, onPressStart, onPressEnd, onPressUp, onPressChange, preventFocusOnPress, allowFocusWhenDisabled, onClick, href, target, rel, type = "button" } = props;
|
|
7
7
|
let additionalProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as $507fabe10e71c6fb$export$98e20ec92f614cfe, u as $507fabe10e71c6fb$export$630ff653c5ada6a9, H as $6a7db85432448f7f$export$60278871457622de, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, B as $c87311424ea30a05$export$9ac100e40613ea10, E as $c87311424ea30a05$export$7bef049ce92e4224, C as $c87311424ea30a05$export$78551043582a6a98, b as $c87311424ea30a05$export$fedb369cb70207f1, v as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-
|
|
2
|
-
import { c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-
|
|
3
|
-
import { k as $5e3802645cc19319$export$1c3ebcada18427bf } from "./Dialog-
|
|
1
|
+
import { L as $507fabe10e71c6fb$export$98e20ec92f614cfe, u as $507fabe10e71c6fb$export$630ff653c5ada6a9, H as $6a7db85432448f7f$export$60278871457622de, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, B as $c87311424ea30a05$export$9ac100e40613ea10, E as $c87311424ea30a05$export$7bef049ce92e4224, C as $c87311424ea30a05$export$78551043582a6a98, b as $c87311424ea30a05$export$fedb369cb70207f1, v as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-BRDW3y7-.js";
|
|
2
|
+
import { c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-CQ5ZZJ2w.js";
|
|
3
|
+
import { k as $5e3802645cc19319$export$1c3ebcada18427bf } from "./Dialog-BMgMUQuN.js";
|
|
4
4
|
import React__default, { useState, useEffect, useRef, version, useCallback, useImperativeHandle, useMemo } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import { c as $62d8ded9296f3872$export$cfa2225e87938781 } from "./Separator-
|
|
5
|
+
import { v as $ef06256079686ba0$export$f8aeda7b10753fa1, r as $c5a24bc478652b5f$export$1005530eda016c13, d as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./SelectionManager-B6-b5NM2.js";
|
|
6
|
+
import { c as $62d8ded9296f3872$export$cfa2225e87938781 } from "./Separator-B-xeqOkC.js";
|
|
7
7
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-eaZiN2tE.js";
|
|
8
8
|
import { e as $8ae05eaa5c114e9c$export$7f54fc3180508a52, k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, d as $bdb11010cef70236$export$f680877a34711e37, b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-cvK1vxO7.js";
|
|
9
9
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DMOmz986.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as $325a3faab7a68acd$export$a16aca283550c30d } from "./Separator-
|
|
1
|
+
import { b as $325a3faab7a68acd$export$a16aca283550c30d } from "./Separator-B-xeqOkC.js";
|
|
2
2
|
import { useCallback, useMemo } from "react";
|
|
3
3
|
function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
|
|
4
4
|
let collator = $325a3faab7a68acd$export$a16aca283550c30d({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, f as $8a9cb279dc87e130$export$715c682d09d639cc, c as $431fbd86ca7dc216$export$b204af158042fbac, g as $d4ee10de306f2510$export$cd4e5573fbe2b576, h as $d4ee10de306f2510$export$e58f029f0fbfdb29, i as $d4ee10de306f2510$export$4282f70798064fe0, j as $8a9cb279dc87e130$export$c2b7abe5d61ec696, k as $8a9cb279dc87e130$export$525bc4921d56d4a, l as $507fabe10e71c6fb$export$b9b3dfddab17db27, m as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, n as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-
|
|
1
|
+
import { e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, f as $8a9cb279dc87e130$export$715c682d09d639cc, c as $431fbd86ca7dc216$export$b204af158042fbac, g as $d4ee10de306f2510$export$cd4e5573fbe2b576, h as $d4ee10de306f2510$export$e58f029f0fbfdb29, i as $d4ee10de306f2510$export$4282f70798064fe0, j as $8a9cb279dc87e130$export$c2b7abe5d61ec696, k as $8a9cb279dc87e130$export$525bc4921d56d4a, l as $507fabe10e71c6fb$export$b9b3dfddab17db27, m as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, n as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-BRDW3y7-.js";
|
|
2
2
|
import { useRef, useCallback, useState } from "react";
|
|
3
3
|
function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
4
4
|
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo, useContext, createContext, useState, useRef, useEffect } from "react";
|
|
2
|
-
import { v as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-
|
|
2
|
+
import { v as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-BRDW3y7-.js";
|
|
3
3
|
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-cvK1vxO7.js";
|
|
4
4
|
const $e5be200c675c3b3a$export$aca958c65c314e6c = {
|
|
5
5
|
badInput: false,
|
|
@@ -270,7 +270,9 @@ function $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) {
|
|
|
270
270
|
!element.hasAttribute("data-react-aria-prevent-focus") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
|
|
271
271
|
}
|
|
272
272
|
function $7d2416ea0959daaa$export$e989c0fffaa6b27a(element, childElement) {
|
|
273
|
-
if ($7d2416ea0959daaa$var$supportsCheckVisibility) return element.checkVisibility(
|
|
273
|
+
if ($7d2416ea0959daaa$var$supportsCheckVisibility) return element.checkVisibility({
|
|
274
|
+
visibilityProperty: true
|
|
275
|
+
}) && !element.closest("[data-react-aria-prevent-focus]");
|
|
274
276
|
return element.nodeName !== "#comment" && $7d2416ea0959daaa$var$isStyleVisible(element) && $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) && (!element.parentElement || $7d2416ea0959daaa$export$e989c0fffaa6b27a(element.parentElement, element));
|
|
275
277
|
}
|
|
276
278
|
const $b4b717babfbb907b$var$focusableElements = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { version, useMemo, useCallback, useRef, useEffect } from "react";
|
|
2
|
-
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-
|
|
2
|
+
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-B6-b5NM2.js";
|
|
3
3
|
function $cdc5a6778b766db2$export$a9d04c5684123369(value) {
|
|
4
4
|
const pieces = version.split(".");
|
|
5
5
|
const major = parseInt(pieces[0], 10);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, n as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, M as $c87311424ea30a05$export$186c6964ca17d99, s as $c87311424ea30a05$export$a11b0059900ceec8, b as $c87311424ea30a05$export$fedb369cb70207f1 } from "./useHover-
|
|
1
|
+
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, n as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, M as $c87311424ea30a05$export$186c6964ca17d99, s as $c87311424ea30a05$export$a11b0059900ceec8, b as $c87311424ea30a05$export$fedb369cb70207f1 } from "./useHover-BRDW3y7-.js";
|
|
2
2
|
import { a as $9446cca9a3875146$export$cb6e0bb50bc19463, $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-7sOvrqo0.js";
|
|
3
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidation-
|
|
3
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidation-CeNsUGWK.js";
|
|
4
4
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
|
|
5
5
|
import { useCallback, useEffect, useRef, useState, useMemo } from "react";
|
|
6
6
|
import { e as $8ae05eaa5c114e9c$export$7f54fc3180508a52, b as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37, p as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-cvK1vxO7.js";
|
|
7
7
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-D2C6R0DK.js";
|
|
8
8
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-yV9VVy9R.js";
|
|
9
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-
|
|
9
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-Cgm0R4Cf.js";
|
|
10
10
|
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-BifIGnVS.js";
|
|
11
|
-
import { d as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-
|
|
11
|
+
import { d as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-8yja_IHC.js";
|
|
12
12
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-eaZiN2tE.js";
|
|
13
13
|
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-BCmkV-7c.js";
|
|
14
|
-
import { d as $319e236875307eab$export$d10ae4f68404609a, c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-
|
|
14
|
+
import { d as $319e236875307eab$export$d10ae4f68404609a, c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-CQ5ZZJ2w.js";
|
|
15
15
|
const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
|
|
16
16
|
const $6c7bd7858deea686$var$NUMBERING_SYSTEMS = [
|
|
17
17
|
"latn",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as $c87311424ea30a05$export$b7d78993b74f766d, C as $c87311424ea30a05$export$78551043582a6a98, B as $c87311424ea30a05$export$9ac100e40613ea10, E as $c87311424ea30a05$export$7bef049ce92e4224, z as $7215afc6de606d6b$export$de79e2c695e052f3, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, j as $8a9cb279dc87e130$export$c2b7abe5d61ec696, k as $8a9cb279dc87e130$export$525bc4921d56d4a, i as $d4ee10de306f2510$export$4282f70798064fe0, h as $d4ee10de306f2510$export$e58f029f0fbfdb29, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, c as $431fbd86ca7dc216$export$b204af158042fbac, G as $8a9cb279dc87e130$export$cabe61c495ee3649, H as $6a7db85432448f7f$export$60278871457622de, x as $431fbd86ca7dc216$export$f21a1ffae260145a, I as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./useHover-
|
|
2
|
-
import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-
|
|
1
|
+
import { D as $c87311424ea30a05$export$b7d78993b74f766d, C as $c87311424ea30a05$export$78551043582a6a98, B as $c87311424ea30a05$export$9ac100e40613ea10, E as $c87311424ea30a05$export$7bef049ce92e4224, z as $7215afc6de606d6b$export$de79e2c695e052f3, e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, j as $8a9cb279dc87e130$export$c2b7abe5d61ec696, k as $8a9cb279dc87e130$export$525bc4921d56d4a, i as $d4ee10de306f2510$export$4282f70798064fe0, h as $d4ee10de306f2510$export$e58f029f0fbfdb29, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, c as $431fbd86ca7dc216$export$b204af158042fbac, G as $8a9cb279dc87e130$export$cabe61c495ee3649, H as $6a7db85432448f7f$export$60278871457622de, x as $431fbd86ca7dc216$export$f21a1ffae260145a, I as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./useHover-BRDW3y7-.js";
|
|
2
|
+
import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-DbCKqaw8.js";
|
|
3
3
|
import React__default, { useContext, createContext, useState, useRef, useMemo, useEffect } from "react";
|
|
4
4
|
import { e as $8ae05eaa5c114e9c$export$7f54fc3180508a52, b as $3ef42575df84b30b$export$9d1611c77c2fe928, p as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-cvK1vxO7.js";
|
|
5
5
|
import { r as reactDomExports } from "./index-D8-Zjpbd.js";
|
|
@@ -261,9 +261,11 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
261
261
|
if (shouldCancelOnPointerExit) cancel(e);
|
|
262
262
|
});
|
|
263
263
|
let triggerClick = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
264
|
+
if (isDisabled) return;
|
|
264
265
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
265
266
|
});
|
|
266
267
|
let triggerSyntheticClick = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e, target) => {
|
|
268
|
+
if (isDisabled) return;
|
|
267
269
|
if (onClick) {
|
|
268
270
|
let event = new MouseEvent("click", e);
|
|
269
271
|
$8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
2
|
-
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-
|
|
1
|
+
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-RdLrYsMP.js";
|
|
2
|
+
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-BRDW3y7-.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
|
|
5
5
|
var _props_defaultSelectedKey;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-cvK1vxO7.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-D2C6R0DK.js";
|
|
3
3
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-yV9VVy9R.js";
|
|
4
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
5
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-
|
|
4
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DJskZBH9.js";
|
|
5
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-BRDW3y7-.js";
|
|
6
6
|
function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
7
7
|
let { isDisabled = false, isReadOnly = false, value, name, form, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid, onPressStart, onPressEnd, onPressChange, onPress, onPressUp, onClick } = props;
|
|
8
8
|
let onChange = (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-
|
|
1
|
+
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-BRDW3y7-.js";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
|
|
4
4
|
let { isReadOnly } = props;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eightshift/ui-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react-dom": "^18.3.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@adobe/react-spectrum": "^3.
|
|
46
|
+
"@adobe/react-spectrum": "^3.45.0",
|
|
47
47
|
"@dnd-kit/abstract": "^0.1.21",
|
|
48
48
|
"@dnd-kit/core": "^6.3.1",
|
|
49
49
|
"@dnd-kit/dom": "^0.1.21",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"@dnd-kit/sortable": "^10.0.0",
|
|
54
54
|
"@dnd-kit/utilities": "^3.2.2",
|
|
55
55
|
"@eslint/compat": "^1.4.0",
|
|
56
|
-
"@react-stately/collections": "^3.12.
|
|
56
|
+
"@react-stately/collections": "^3.12.8",
|
|
57
57
|
"@stylistic/eslint-plugin-js": "^4.4.1",
|
|
58
|
-
"@tailwindcss/vite": "^4.1.
|
|
59
|
-
"@types/react": "^18.3.
|
|
58
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
59
|
+
"@types/react": "^18.3.26",
|
|
60
60
|
"@types/react-dom": "^18.3.7",
|
|
61
61
|
"@vitejs/plugin-react-swc": "^4.1.0",
|
|
62
|
-
"@wordpress/i18n": "^6.
|
|
62
|
+
"@wordpress/i18n": "^6.5.0",
|
|
63
63
|
"autoprefixer": "^10.4.21",
|
|
64
64
|
"class-variance-authority": "^0.7.1",
|
|
65
65
|
"clsx": "^2.1.1",
|
|
66
66
|
"css-gradient-parser": "^0.0.18",
|
|
67
|
-
"eslint": "^9.
|
|
67
|
+
"eslint": "^9.37.0",
|
|
68
68
|
"eslint-config-prettier": "^10.1.8",
|
|
69
|
-
"eslint-plugin-jsdoc": "^60.
|
|
69
|
+
"eslint-plugin-jsdoc": "^60.8.3",
|
|
70
70
|
"eslint-plugin-prettier": "^5.5.4",
|
|
71
71
|
"glob": "^11.0.3",
|
|
72
72
|
"globals": "^16.4.0",
|
|
@@ -76,23 +76,23 @@
|
|
|
76
76
|
"just-is-empty": "^3.4.1",
|
|
77
77
|
"just-kebab-case": "^4.2.0",
|
|
78
78
|
"just-throttle": "^4.2.0",
|
|
79
|
-
"lightningcss": "^1.30.
|
|
79
|
+
"lightningcss": "^1.30.2",
|
|
80
80
|
"postcss": "^8.5.6",
|
|
81
81
|
"prettier": "^3.6.2",
|
|
82
82
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
83
83
|
"react": "^18.3.1",
|
|
84
|
-
"react-aria": "^3.
|
|
85
|
-
"react-aria-components": "^1.
|
|
84
|
+
"react-aria": "^3.44.0",
|
|
85
|
+
"react-aria-components": "^1.13.0",
|
|
86
86
|
"react-dom": "^18.3.1",
|
|
87
87
|
"react-jsx-parser": "^2.4.1",
|
|
88
88
|
"react-movable": "^3.4.1",
|
|
89
89
|
"react-select": "^5.10.2",
|
|
90
|
-
"react-stately": "^3.
|
|
90
|
+
"react-stately": "^3.42.0",
|
|
91
91
|
"svg-to-jsx-string": "^0.1.1",
|
|
92
|
-
"tailwindcss": "^4.1.
|
|
92
|
+
"tailwindcss": "^4.1.14",
|
|
93
93
|
"tailwindcss-motion": "^1.1.1",
|
|
94
94
|
"tailwindcss-react-aria-components": "^2.0.1",
|
|
95
|
-
"vite": "^7.1.
|
|
95
|
+
"vite": "^7.1.9",
|
|
96
96
|
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
package/dist/context-DCAZLyDS.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { createContext } from "react";
|
|
2
|
-
const $8e6cc465cc68f603$export$b0d3ecf7112093a7 = /* @__PURE__ */ createContext(null);
|
|
3
|
-
const $8e6cc465cc68f603$export$698f465ec27e93df = /* @__PURE__ */ createContext(null);
|
|
4
|
-
export {
|
|
5
|
-
$8e6cc465cc68f603$export$698f465ec27e93df as $,
|
|
6
|
-
$8e6cc465cc68f603$export$b0d3ecf7112093a7 as a
|
|
7
|
-
};
|