@eightshift/ui-components 5.0.1 → 5.0.2
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-wERNNG0T.js → Button-BpwTmkAe.js} +4 -4
- package/dist/{Collection-CKsHTyhc.js → Collection-n5d0zIgb.js} +66 -31
- package/dist/{Color-BhgbJF5x.js → Color-lVhk8V_G.js} +1 -1
- package/dist/{ColorSwatch-Bcn6oRSg.js → ColorSwatch-DntWEAC3.js} +4 -4
- package/dist/{ComboBox-D1LPUwWP.js → ComboBox-BJpTEATT.js} +31 -22
- package/dist/{Dialog-D190gMbE.js → Dialog-O9uw63D7.js} +46 -27
- package/dist/{FieldError-DeUh5Wkw.js → FieldError-DHrSdE_Q.js} +2 -2
- package/dist/{FocusScope-C-plSxbS.js → FocusScope-BEPI2m7u.js} +2 -2
- package/dist/{Group-C5iZpSAM.js → Group-DDPhPPTQ.js} +3 -3
- package/dist/{Heading-D-Pboe4p.js → Heading-ba38ScjJ.js} +1 -1
- package/dist/{Input--mF4XVE1.js → Input-BmDS8Juy.js} +6 -6
- package/dist/{Label-Fp6AwSRn.js → Label-JS_ob-kh.js} +1 -1
- package/dist/{ListBox-4oW9kh3R.js → ListBox-BTxlCGcc.js} +97 -15
- package/dist/{OverlayArrow-BpB9uB_I.js → OverlayArrow-5aDgmImj.js} +3 -3
- package/dist/{Separator-B88tj5YD.js → Separator-CaTBkETC.js} +21 -12
- package/dist/{Slider-CyJzC1bp.js → Slider-C-S1oEH9.js} +10 -10
- package/dist/{Text-DRpwWot2.js → Text-BuJgePCv.js} +1 -1
- package/dist/{VisuallyHidden-DsKYcRQ_.js → VisuallyHidden-BYi0pekx.js} +2 -2
- package/dist/assets/style-admin.css +58 -14
- package/dist/assets/style-editor.css +58 -14
- package/dist/assets/style.css +58 -14
- package/dist/assets/wp-font-enhancements.css +1 -1
- package/dist/assets/wp-ui-enhancements.css +29 -10
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +5 -5
- package/dist/components/checkbox/checkbox.js +14 -11
- 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 +16 -16
- package/dist/components/draggable/draggable.js +694 -353
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/input-field/input-field.js +7 -7
- package/dist/components/link-input/link-input.js +15 -22
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/modal/modal.js +4 -4
- package/dist/components/number-picker/number-picker.js +9 -9
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.js +16 -13
- package/dist/components/responsive/mini-responsive.js +1 -1
- package/dist/components/select/v2/async-select.js +8 -8
- package/dist/components/select/v2/shared.js +2 -2
- package/dist/components/select/v2/single-select.js +34 -21
- package/dist/components/slider/column-config-slider.js +2 -2
- package/dist/components/slider/slider.js +3 -3
- package/dist/components/tabs/tabs.js +16 -17
- package/dist/components/toggle/switch.js +6 -6
- 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-BYWrbm1z.js → context-BbYZoHvX.js} +1 -1
- package/dist/icons/icons.js +124 -0
- package/dist/{index-wl5606BX.js → index-BljRBEr_.js} +1 -1
- package/dist/{textSelection-CCcyjiRP.js → textSelection-8DpK8fJl.js} +1 -1
- package/dist/{useButton-BOHxkGQF.js → useButton-Bt3BffJm.js} +3 -3
- package/dist/{useEvent-D5o_CqDH.js → useEvent-ICdlokG-.js} +1 -1
- package/dist/{useFocusRing-nMG2uzxS.js → useFocusRing-Bv0UJQl8.js} +1 -1
- package/dist/{useFormReset-DlmRL87g.js → useFormReset-D2YaWRIA.js} +1 -1
- package/dist/{useFormValidation-D0_aaK-e.js → useFormValidation-Dy0PXJg5.js} +2 -2
- package/dist/{useHover-VO5tcIli.js → useHover-C2SkI1Fn.js} +7 -2
- package/dist/{useLabel-BKH4fVA4.js → useLabel-BPCd5c7-.js} +2 -2
- package/dist/{useLabels-ntF3rFY0.js → useLabels-B7-lUnAF.js} +1 -1
- package/dist/{useListState-Cq2Nvr-v.js → useListState-DkyH7elT.js} +10 -3
- package/dist/{useLocalizedStringFormatter-CGzwx1a0.js → useLocalizedStringFormatter-C9GO0IDB.js} +1 -1
- package/dist/{useNumberField-C9dmERhP.js → useNumberField-CU1_u8ze.js} +18 -10
- package/dist/{useNumberFormatter-MrRLgvhj.js → useNumberFormatter-CZ9QUnRt.js} +1 -1
- package/dist/{usePress-DjNo5790.js → usePress-BrJylgPR.js} +21 -10
- package/dist/{useSingleSelectListState--r3AAhRj.js → useSingleSelectListState-C4sorv2p.js} +2 -2
- package/dist/{useToggle-CQaXLe-O.js → useToggle-CDa3YAZI.js} +4 -4
- package/dist/{useToggleState-C3DLdez5.js → useToggleState-ibcBUHnB.js} +1 -1
- package/dist/{utils-B94NDG0v.js → utils-CZt7LCbO.js} +41 -8
- package/package.json +24 -24
package/dist/icons/icons.js
CHANGED
|
@@ -30151,6 +30151,130 @@ const icons = {
|
|
|
30151
30151
|
)
|
|
30152
30152
|
]
|
|
30153
30153
|
}
|
|
30154
|
+
),
|
|
30155
|
+
folder: /* @__PURE__ */ jsx(
|
|
30156
|
+
"svg",
|
|
30157
|
+
{
|
|
30158
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30159
|
+
viewBox: "0 0 20 20",
|
|
30160
|
+
width: "20",
|
|
30161
|
+
height: "20",
|
|
30162
|
+
fill: "none",
|
|
30163
|
+
children: /* @__PURE__ */ jsx(
|
|
30164
|
+
"path",
|
|
30165
|
+
{
|
|
30166
|
+
d: "M9.5 5.5H17A1.5 1.5 0 0 1 18.5 7v8a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 15V7.5m8-2L7.198 3.795a1.5 1.5 0 0 0-.893-.295H3A1.5 1.5 0 0 0 1.5 5v2.5m8-2L7.198 7.205a1.5 1.5 0 0 1-.893.295H1.5",
|
|
30167
|
+
stroke: "currentColor",
|
|
30168
|
+
strokeLinejoin: "round",
|
|
30169
|
+
fill: "none"
|
|
30170
|
+
}
|
|
30171
|
+
)
|
|
30172
|
+
}
|
|
30173
|
+
),
|
|
30174
|
+
folderOpen: /* @__PURE__ */ jsx(
|
|
30175
|
+
"svg",
|
|
30176
|
+
{
|
|
30177
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30178
|
+
viewBox: "0 0 20 20",
|
|
30179
|
+
width: "20",
|
|
30180
|
+
height: "20",
|
|
30181
|
+
fill: "none",
|
|
30182
|
+
children: /* @__PURE__ */ jsx(
|
|
30183
|
+
"path",
|
|
30184
|
+
{
|
|
30185
|
+
d: "M16.5 7.5V7A1.5 1.5 0 0 0 15 5.5H9.203a1.5 1.5 0 0 1-1.034-.413L6.934 3.913A1.5 1.5 0 0 0 5.901 3.5H3A1.5 1.5 0 0 0 1.5 5v10A1.5 1.5 0 0 0 3 16.5h12.416a1.5 1.5 0 0 0 1.448-1.108l1.624-6A1.5 1.5 0 0 0 17.04 7.5H5.64a1.5 1.5 0 0 0-1.445 1.099L2 16.5",
|
|
30186
|
+
stroke: "currentColor",
|
|
30187
|
+
strokeLinejoin: "round",
|
|
30188
|
+
fill: "none"
|
|
30189
|
+
}
|
|
30190
|
+
)
|
|
30191
|
+
}
|
|
30192
|
+
),
|
|
30193
|
+
folderTopLevel: /* @__PURE__ */ jsxs(
|
|
30194
|
+
"svg",
|
|
30195
|
+
{
|
|
30196
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30197
|
+
viewBox: "0 0 20 20",
|
|
30198
|
+
width: "20",
|
|
30199
|
+
height: "20",
|
|
30200
|
+
fill: "none",
|
|
30201
|
+
children: [
|
|
30202
|
+
/* @__PURE__ */ jsx(
|
|
30203
|
+
"path",
|
|
30204
|
+
{
|
|
30205
|
+
d: "M9.5 3.5H17A1.5 1.5 0 0 1 18.5 5v5m-9-6.5L7.198 1.795a1.5 1.5 0 0 0-.893-.295H3A1.5 1.5 0 0 0 1.5 3v2.5m8-2L7.198 5.205a1.5 1.5 0 0 1-.893.295H1.5m0 0V13A1.5 1.5 0 0 0 3 14.5h7",
|
|
30206
|
+
stroke: "currentColor",
|
|
30207
|
+
strokeLinejoin: "round",
|
|
30208
|
+
fill: "none"
|
|
30209
|
+
}
|
|
30210
|
+
),
|
|
30211
|
+
/* @__PURE__ */ jsx(
|
|
30212
|
+
"path",
|
|
30213
|
+
{
|
|
30214
|
+
d: "M13 11a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2h-5Zm2.224 2.082a.5.5 0 0 1 .629.064l2 2 .064.079a.5.5 0 0 1-.693.693l-.078-.065-1.147-1.146V17.5a.5.5 0 1 1-1 0v-2.793l-1.146 1.146a.5.5 0 1 1-.707-.707l2-2 .078-.064Z",
|
|
30215
|
+
fill: "currentColor"
|
|
30216
|
+
}
|
|
30217
|
+
)
|
|
30218
|
+
]
|
|
30219
|
+
}
|
|
30220
|
+
),
|
|
30221
|
+
folderAdd: /* @__PURE__ */ jsxs(
|
|
30222
|
+
"svg",
|
|
30223
|
+
{
|
|
30224
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30225
|
+
viewBox: "0 0 20 20",
|
|
30226
|
+
width: "20",
|
|
30227
|
+
height: "20",
|
|
30228
|
+
fill: "none",
|
|
30229
|
+
children: [
|
|
30230
|
+
/* @__PURE__ */ jsx(
|
|
30231
|
+
"path",
|
|
30232
|
+
{
|
|
30233
|
+
d: "M9.5 3.5H17A1.5 1.5 0 0 1 18.5 5v5m-9-6.5L7.198 1.795a1.5 1.5 0 0 0-.893-.295H3A1.5 1.5 0 0 0 1.5 3v2.5m8-2L7.198 5.205a1.5 1.5 0 0 1-.893.295H1.5m0 0V13A1.5 1.5 0 0 0 3 14.5h7",
|
|
30234
|
+
stroke: "currentColor",
|
|
30235
|
+
strokeLinejoin: "round",
|
|
30236
|
+
fill: "none"
|
|
30237
|
+
}
|
|
30238
|
+
),
|
|
30239
|
+
/* @__PURE__ */ jsx(
|
|
30240
|
+
"path",
|
|
30241
|
+
{
|
|
30242
|
+
d: "M13 11a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2h-5Zm2.5 2a.5.5 0 0 1 .5.5V15h1.5l.1.01a.5.5 0 0 1 0 .98l-.1.01H16v1.5a.5.5 0 1 1-1 0V16h-1.5a.5.5 0 0 1 0-1H15v-1.5a.5.5 0 0 1 .5-.5Z",
|
|
30243
|
+
fill: "currentColor"
|
|
30244
|
+
}
|
|
30245
|
+
)
|
|
30246
|
+
]
|
|
30247
|
+
}
|
|
30248
|
+
),
|
|
30249
|
+
rename: /* @__PURE__ */ jsxs(
|
|
30250
|
+
"svg",
|
|
30251
|
+
{
|
|
30252
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30253
|
+
viewBox: "0 0 20 20",
|
|
30254
|
+
width: "20",
|
|
30255
|
+
height: "20",
|
|
30256
|
+
fill: "none",
|
|
30257
|
+
children: [
|
|
30258
|
+
/* @__PURE__ */ jsx(
|
|
30259
|
+
"path",
|
|
30260
|
+
{
|
|
30261
|
+
opacity: "0.8",
|
|
30262
|
+
d: "M12 5.5h4.5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H12m-4-9H3.5a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2H8",
|
|
30263
|
+
stroke: "currentColor",
|
|
30264
|
+
fill: "none"
|
|
30265
|
+
}
|
|
30266
|
+
),
|
|
30267
|
+
/* @__PURE__ */ jsx(
|
|
30268
|
+
"path",
|
|
30269
|
+
{
|
|
30270
|
+
d: "M10 2.5v15m0-15h3m-3 0H7m3 15H7m3 0h3",
|
|
30271
|
+
stroke: "currentColor",
|
|
30272
|
+
strokeLinecap: "round",
|
|
30273
|
+
fill: "none"
|
|
30274
|
+
}
|
|
30275
|
+
)
|
|
30276
|
+
]
|
|
30277
|
+
}
|
|
30154
30278
|
)
|
|
30155
30279
|
};
|
|
30156
30280
|
const blockIcons = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-
|
|
1
|
+
import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-C2SkI1Fn.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
|
-
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-
|
|
1
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-CZt7LCbO.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
3
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
4
|
-
import { a as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-
|
|
3
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-BrJylgPR.js";
|
|
4
|
+
import { a as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-C2SkI1Fn.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,4 +1,4 @@
|
|
|
1
|
-
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-
|
|
1
|
+
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-CZt7LCbO.js";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
function $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {
|
|
4
4
|
let handleEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(handler);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, h as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, i as $d4ee10de306f2510$export$cd4e5573fbe2b576, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, k as $d4ee10de306f2510$export$4282f70798064fe0, l as $8a9cb279dc87e130$export$c2b7abe5d61ec696, m as $8a9cb279dc87e130$export$525bc4921d56d4a, n as $507fabe10e71c6fb$export$b9b3dfddab17db27, o as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, p as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-
|
|
1
|
+
import { g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, h as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, i as $d4ee10de306f2510$export$cd4e5573fbe2b576, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, k as $d4ee10de306f2510$export$4282f70798064fe0, l as $8a9cb279dc87e130$export$c2b7abe5d61ec696, m as $8a9cb279dc87e130$export$525bc4921d56d4a, n as $507fabe10e71c6fb$export$b9b3dfddab17db27, o as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, p as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-C2SkI1Fn.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,4 +1,4 @@
|
|
|
1
|
-
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-
|
|
1
|
+
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-CZt7LCbO.js";
|
|
2
2
|
import { useRef, useEffect } from "react";
|
|
3
3
|
function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
|
|
4
4
|
let resetValue = useRef(initialValue);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo, useContext, createContext, useState, useRef, useEffect } from "react";
|
|
2
|
-
import { q as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-
|
|
3
|
-
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-
|
|
2
|
+
import { q as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-C2SkI1Fn.js";
|
|
3
|
+
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-CZt7LCbO.js";
|
|
4
4
|
const $e5be200c675c3b3a$export$aca958c65c314e6c = {
|
|
5
5
|
badInput: false,
|
|
6
6
|
customError: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useRef, useCallback, useEffect, useState, useContext, useMemo } from "react";
|
|
2
|
-
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, n as $b5e257d569688ac6$export$535bd6ca7f90a273, l as $df56164dff5785e2$export$4338b53315abf666, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-
|
|
2
|
+
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, n as $b5e257d569688ac6$export$535bd6ca7f90a273, l as $df56164dff5785e2$export$4338b53315abf666, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-CZt7LCbO.js";
|
|
3
3
|
const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
4
4
|
var _el_ownerDocument;
|
|
5
5
|
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
@@ -183,8 +183,13 @@ if (typeof document !== "undefined") {
|
|
|
183
183
|
if (document.readyState !== "loading") $bbed8b41f857bcc0$var$setupGlobalEvents();
|
|
184
184
|
else document.addEventListener("DOMContentLoaded", $bbed8b41f857bcc0$var$setupGlobalEvents);
|
|
185
185
|
}
|
|
186
|
+
function $bbed8b41f857bcc0$var$cleanupDetachedElements() {
|
|
187
|
+
for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)
|
|
188
|
+
if ("isConnected" in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);
|
|
189
|
+
}
|
|
186
190
|
function $bbed8b41f857bcc0$export$24490316f764c430(fn) {
|
|
187
191
|
requestAnimationFrame(() => {
|
|
192
|
+
$bbed8b41f857bcc0$var$cleanupDetachedElements();
|
|
188
193
|
if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();
|
|
189
194
|
else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);
|
|
190
195
|
});
|
|
@@ -490,7 +495,7 @@ function $507fabe10e71c6fb$var$handleWindowBlur() {
|
|
|
490
495
|
$507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
|
|
491
496
|
}
|
|
492
497
|
function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
|
|
493
|
-
if (typeof window === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
|
|
498
|
+
if (typeof window === "undefined" || typeof document === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
|
|
494
499
|
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
495
500
|
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
496
501
|
let focus = windowObject.HTMLElement.prototype.focus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-
|
|
2
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-
|
|
1
|
+
import { e as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-CZt7LCbO.js";
|
|
2
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-B7-lUnAF.js";
|
|
3
3
|
function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
4
4
|
let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
|
|
5
5
|
id = $bdb11010cef70236$export$f680877a34711e37(id);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-
|
|
1
|
+
import { e as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-CZt7LCbO.js";
|
|
2
2
|
function $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {
|
|
3
3
|
let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
|
|
4
4
|
id = $bdb11010cef70236$export$f680877a34711e37(id);
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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 "./Collection-n5d0zIgb.js";
|
|
3
|
+
function $cdc5a6778b766db2$export$a9d04c5684123369(value) {
|
|
4
|
+
const pieces = version.split(".");
|
|
5
|
+
const major = parseInt(pieces[0], 10);
|
|
6
|
+
if (major >= 19) return value;
|
|
7
|
+
return value ? "true" : void 0;
|
|
8
|
+
}
|
|
3
9
|
class $a02d57049d202695$export$d085fb9e920b5ca7 {
|
|
4
10
|
*[Symbol.iterator]() {
|
|
5
11
|
yield* this.iterable;
|
|
@@ -157,5 +163,6 @@ function $e72dd72e1c76a225$var$useFocusedKeyReset(collection, selectionManager)
|
|
|
157
163
|
export {
|
|
158
164
|
$e72dd72e1c76a225$export$2f645645f7bca764 as $,
|
|
159
165
|
$e72dd72e1c76a225$export$ba9d38c0f1bf2b36 as a,
|
|
160
|
-
$
|
|
166
|
+
$cdc5a6778b766db2$export$a9d04c5684123369 as b,
|
|
167
|
+
$a02d57049d202695$export$d085fb9e920b5ca7 as c
|
|
161
168
|
};
|
package/dist/{useLocalizedStringFormatter-CGzwx1a0.js → useLocalizedStringFormatter-C9GO0IDB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
1
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BbYZoHvX.js";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
4
4
|
const $5b160d28a433310d$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, p as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, L as $c87311424ea30a05$export$186c6964ca17d99, v as $c87311424ea30a05$export$a11b0059900ceec8, c as $c87311424ea30a05$export$fedb369cb70207f1 } from "./useHover-
|
|
1
|
+
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, p as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, L as $c87311424ea30a05$export$186c6964ca17d99, v as $c87311424ea30a05$export$a11b0059900ceec8, c as $c87311424ea30a05$export$fedb369cb70207f1 } from "./useHover-C2SkI1Fn.js";
|
|
2
2
|
import { $ as $9446cca9a3875146$export$cb6e0bb50bc19463, a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-GajL10e1.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-Dy0PXJg5.js";
|
|
4
4
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
|
|
5
5
|
import { useCallback, useState, useMemo, useEffect, useRef } from "react";
|
|
6
|
-
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, p as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-
|
|
6
|
+
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, p as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-CZt7LCbO.js";
|
|
7
7
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
8
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
9
|
-
import { a as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-
|
|
10
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-
|
|
11
|
-
import { b as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input
|
|
12
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
13
|
-
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-
|
|
14
|
-
import { c as $319e236875307eab$export$d10ae4f68404609a, b as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-
|
|
8
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-D2YaWRIA.js";
|
|
9
|
+
import { a as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-Bv0UJQl8.js";
|
|
10
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-ICdlokG-.js";
|
|
11
|
+
import { b as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-BmDS8Juy.js";
|
|
12
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-C9GO0IDB.js";
|
|
13
|
+
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-CZ9QUnRt.js";
|
|
14
|
+
import { c as $319e236875307eab$export$d10ae4f68404609a, b as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-BpwTmkAe.js";
|
|
15
15
|
function $7d0a636d7a4dcefd$export$2123ff2b87c81ca(props, ref) {
|
|
16
16
|
let { onScroll, isDisabled } = props;
|
|
17
17
|
let onScrollHandler = useCallback((e) => {
|
|
@@ -94,6 +94,7 @@ class $6c7bd7858deea686$var$NumberParserImpl {
|
|
|
94
94
|
if (this.options.style === "percent") {
|
|
95
95
|
let isNegative = fullySanitizedValue.indexOf("-");
|
|
96
96
|
fullySanitizedValue = fullySanitizedValue.replace("-", "");
|
|
97
|
+
fullySanitizedValue = fullySanitizedValue.replace("+", "");
|
|
97
98
|
let index = fullySanitizedValue.indexOf(".");
|
|
98
99
|
if (index === -1) index = fullySanitizedValue.length;
|
|
99
100
|
fullySanitizedValue = fullySanitizedValue.replace(".", "");
|
|
@@ -147,6 +148,13 @@ class $6c7bd7858deea686$var$NumberParserImpl {
|
|
|
147
148
|
}
|
|
148
149
|
constructor(locale, options = {}) {
|
|
149
150
|
this.locale = locale;
|
|
151
|
+
if (options.roundingIncrement !== 1 && options.roundingIncrement != null) {
|
|
152
|
+
if (options.maximumFractionDigits == null && options.minimumFractionDigits == null) {
|
|
153
|
+
options.maximumFractionDigits = 0;
|
|
154
|
+
options.minimumFractionDigits = 0;
|
|
155
|
+
} else if (options.maximumFractionDigits == null) options.maximumFractionDigits = options.minimumFractionDigits;
|
|
156
|
+
else if (options.minimumFractionDigits == null) options.minimumFractionDigits = options.maximumFractionDigits;
|
|
157
|
+
}
|
|
150
158
|
this.formatter = new Intl.NumberFormat(locale, options);
|
|
151
159
|
this.options = this.formatter.resolvedOptions();
|
|
152
160
|
this.symbols = $6c7bd7858deea686$var$getSymbols(locale, this.formatter, this.options, options);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
1
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BbYZoHvX.js";
|
|
2
2
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
function $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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, g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, l as $8a9cb279dc87e130$export$c2b7abe5d61ec696, m as $8a9cb279dc87e130$export$525bc4921d56d4a, k as $d4ee10de306f2510$export$4282f70798064fe0, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, d as $431fbd86ca7dc216$export$b204af158042fbac, G as $8a9cb279dc87e130$export$cabe61c495ee3649, H as $6a7db85432448f7f$export$60278871457622de, f 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, g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, l as $8a9cb279dc87e130$export$c2b7abe5d61ec696, m as $8a9cb279dc87e130$export$525bc4921d56d4a, k as $d4ee10de306f2510$export$4282f70798064fe0, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, d as $431fbd86ca7dc216$export$b204af158042fbac, G as $8a9cb279dc87e130$export$cabe61c495ee3649, H as $6a7db85432448f7f$export$60278871457622de, f as $431fbd86ca7dc216$export$f21a1ffae260145a, I as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./useHover-C2SkI1Fn.js";
|
|
2
|
+
import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-8DpK8fJl.js";
|
|
3
3
|
import React__default, { useContext, createContext, useState, useRef, useMemo, useEffect } from "react";
|
|
4
|
-
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, p as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-
|
|
4
|
+
import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, p as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-CZt7LCbO.js";
|
|
5
5
|
import { r as reactDomExports } from "./index-CFozsmNS.js";
|
|
6
6
|
const $ea8dcbcb9ea1b556$var$RouterContext = /* @__PURE__ */ createContext({
|
|
7
7
|
isNative: true,
|
|
@@ -163,6 +163,8 @@ class $f6c31cce2adf654f$var$PressEvent {
|
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
const $f6c31cce2adf654f$var$LINK_CLICKED = Symbol("linkClicked");
|
|
166
|
+
const $f6c31cce2adf654f$var$STYLE_ID = "react-aria-pressable-style";
|
|
167
|
+
const $f6c31cce2adf654f$var$PRESSABLE_ATTRIBUTE = "data-react-aria-pressable";
|
|
166
168
|
function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
167
169
|
let { onPress, onPressChange, onPressStart, onPressEnd, onPressUp, onClick, isDisabled, isPressed: isPressedProp, preventFocusOnPress, shouldCancelOnPointerExit, allowTextSelectionOnPress, ref: domRef, ...domProps } = $f6c31cce2adf654f$var$usePressResponderContext(props);
|
|
168
170
|
let [isPressed, setPressed] = useState(false);
|
|
@@ -542,12 +544,19 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
542
544
|
triggerSyntheticClick
|
|
543
545
|
]);
|
|
544
546
|
useEffect(() => {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
547
|
+
if (!domRef || process.env.NODE_ENV === "test") return;
|
|
548
|
+
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(domRef.current);
|
|
549
|
+
if (!ownerDocument || !ownerDocument.head || ownerDocument.getElementById($f6c31cce2adf654f$var$STYLE_ID)) return;
|
|
550
|
+
const style = ownerDocument.createElement("style");
|
|
551
|
+
style.id = $f6c31cce2adf654f$var$STYLE_ID;
|
|
552
|
+
style.textContent = `
|
|
553
|
+
@layer {
|
|
554
|
+
[${$f6c31cce2adf654f$var$PRESSABLE_ATTRIBUTE}] {
|
|
555
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
`.trim();
|
|
559
|
+
ownerDocument.head.prepend(style);
|
|
551
560
|
}, [
|
|
552
561
|
domRef
|
|
553
562
|
]);
|
|
@@ -564,7 +573,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
564
573
|
]);
|
|
565
574
|
return {
|
|
566
575
|
isPressed: isPressedProp || isPressed,
|
|
567
|
-
pressProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, pressProps
|
|
576
|
+
pressProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, pressProps, {
|
|
577
|
+
[$f6c31cce2adf654f$var$PRESSABLE_ATTRIBUTE]: true
|
|
578
|
+
})
|
|
568
579
|
};
|
|
569
580
|
}
|
|
570
581
|
function $f6c31cce2adf654f$var$isHTMLAnchorLink(target) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
2
|
-
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-
|
|
1
|
+
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-DkyH7elT.js";
|
|
2
|
+
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-C2SkI1Fn.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
|
|
5
5
|
var _props_defaultSelectedKey;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-
|
|
1
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-CZt7LCbO.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
3
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
4
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
5
|
-
import { a as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-
|
|
3
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-D2YaWRIA.js";
|
|
4
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-BrJylgPR.js";
|
|
5
|
+
import { a as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-C2SkI1Fn.js";
|
|
6
6
|
function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
7
7
|
let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
|
|
8
8
|
let onChange = (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-
|
|
1
|
+
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-C2SkI1Fn.js";
|
|
2
2
|
function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
|
|
3
3
|
let { isReadOnly } = props;
|
|
4
4
|
let [isSelected, setSelected] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isSelected, props.defaultSelected || false, props.onChange);
|
|
@@ -207,25 +207,58 @@ function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
|
|
|
207
207
|
function $5dc95899b306f630$export$c9058316764c140e(...refs) {
|
|
208
208
|
if (refs.length === 1 && refs[0]) return refs[0];
|
|
209
209
|
return (value) => {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
let hasCleanup = false;
|
|
211
|
+
const cleanups = refs.map((ref) => {
|
|
212
|
+
const cleanup = $5dc95899b306f630$var$setRef(ref, value);
|
|
213
|
+
hasCleanup || (hasCleanup = typeof cleanup == "function");
|
|
214
|
+
return cleanup;
|
|
215
|
+
});
|
|
216
|
+
if (hasCleanup) return () => {
|
|
217
|
+
cleanups.forEach((cleanup, i) => {
|
|
218
|
+
if (typeof cleanup === "function") cleanup();
|
|
219
|
+
else $5dc95899b306f630$var$setRef(refs[i], null);
|
|
220
|
+
});
|
|
221
|
+
};
|
|
214
222
|
};
|
|
215
223
|
}
|
|
216
|
-
function $
|
|
224
|
+
function $5dc95899b306f630$var$setRef(ref, value) {
|
|
225
|
+
if (typeof ref === "function") return ref(value);
|
|
226
|
+
else if (ref != null) ref.current = value;
|
|
227
|
+
}
|
|
228
|
+
function $df56164dff5785e2$export$4338b53315abf666(ref) {
|
|
217
229
|
const objRef = useRef(null);
|
|
230
|
+
const cleanupRef = useRef(void 0);
|
|
231
|
+
const refEffect = useCallback((instance) => {
|
|
232
|
+
if (typeof ref === "function") {
|
|
233
|
+
const refCallback = ref;
|
|
234
|
+
const refCleanup = refCallback(instance);
|
|
235
|
+
return () => {
|
|
236
|
+
if (typeof refCleanup === "function") refCleanup();
|
|
237
|
+
else refCallback(null);
|
|
238
|
+
};
|
|
239
|
+
} else if (ref) {
|
|
240
|
+
ref.current = instance;
|
|
241
|
+
return () => {
|
|
242
|
+
ref.current = null;
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
}, [
|
|
246
|
+
ref
|
|
247
|
+
]);
|
|
218
248
|
return useMemo(() => ({
|
|
219
249
|
get current() {
|
|
220
250
|
return objRef.current;
|
|
221
251
|
},
|
|
222
252
|
set current(value) {
|
|
223
253
|
objRef.current = value;
|
|
224
|
-
if (
|
|
225
|
-
|
|
254
|
+
if (cleanupRef.current) {
|
|
255
|
+
cleanupRef.current();
|
|
256
|
+
cleanupRef.current = void 0;
|
|
257
|
+
}
|
|
258
|
+
if (value != null) cleanupRef.current = refEffect(value);
|
|
226
259
|
}
|
|
227
260
|
}), [
|
|
228
|
-
|
|
261
|
+
refEffect
|
|
229
262
|
]);
|
|
230
263
|
}
|
|
231
264
|
const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eightshift/ui-components",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -43,53 +43,53 @@
|
|
|
43
43
|
"react-dom": "^18.3.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@adobe/react-spectrum": "^3.
|
|
47
|
-
"@dnd-kit/abstract": "^0.1.
|
|
46
|
+
"@adobe/react-spectrum": "^3.42.1",
|
|
47
|
+
"@dnd-kit/abstract": "^0.1.18",
|
|
48
48
|
"@dnd-kit/core": "^6.3.1",
|
|
49
|
-
"@dnd-kit/dom": "^0.1.
|
|
50
|
-
"@dnd-kit/helpers": "^0.1.
|
|
49
|
+
"@dnd-kit/dom": "^0.1.18",
|
|
50
|
+
"@dnd-kit/helpers": "^0.1.18",
|
|
51
51
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
52
|
-
"@dnd-kit/react": "^0.1.
|
|
52
|
+
"@dnd-kit/react": "^0.1.18",
|
|
53
53
|
"@dnd-kit/sortable": "^10.0.0",
|
|
54
54
|
"@dnd-kit/utilities": "^3.2.2",
|
|
55
55
|
"@eslint/compat": "^1.2.9",
|
|
56
|
-
"@react-stately/collections": "^3.12.
|
|
57
|
-
"@stylistic/eslint-plugin-js": "^4.
|
|
58
|
-
"@tailwindcss/vite": "^4.1.
|
|
59
|
-
"@types/react": "^18.3.
|
|
56
|
+
"@react-stately/collections": "^3.12.5",
|
|
57
|
+
"@stylistic/eslint-plugin-js": "^4.4.1",
|
|
58
|
+
"@tailwindcss/vite": "^4.1.8",
|
|
59
|
+
"@types/react": "^18.3.23",
|
|
60
60
|
"@types/react-dom": "^18.3.7",
|
|
61
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
62
|
-
"@wordpress/i18n": "^5.
|
|
61
|
+
"@vitejs/plugin-react-swc": "^3.10.1",
|
|
62
|
+
"@wordpress/i18n": "^5.25.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.16",
|
|
67
|
-
"eslint": "^9.
|
|
68
|
-
"eslint-config-prettier": "^10.1.
|
|
69
|
-
"eslint-plugin-jsdoc": "^50.
|
|
70
|
-
"eslint-plugin-prettier": "^5.4.
|
|
67
|
+
"eslint": "^9.28.0",
|
|
68
|
+
"eslint-config-prettier": "^10.1.5",
|
|
69
|
+
"eslint-plugin-jsdoc": "^50.7.1",
|
|
70
|
+
"eslint-plugin-prettier": "^5.4.1",
|
|
71
71
|
"glob": "^11.0.2",
|
|
72
|
-
"globals": "^16.
|
|
72
|
+
"globals": "^16.2.0",
|
|
73
73
|
"just-camel-case": "^6.2.0",
|
|
74
74
|
"just-debounce-it": "^3.2.0",
|
|
75
75
|
"just-has": "^2.3.0",
|
|
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.
|
|
80
|
-
"postcss": "^8.5.
|
|
79
|
+
"lightningcss": "^1.30.1",
|
|
80
|
+
"postcss": "^8.5.4",
|
|
81
81
|
"prettier": "^3.5.3",
|
|
82
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
82
|
+
"prettier-plugin-tailwindcss": "^0.6.12",
|
|
83
83
|
"react": "^18.3.1",
|
|
84
|
-
"react-aria": "^3.
|
|
85
|
-
"react-aria-components": "^1.
|
|
84
|
+
"react-aria": "^3.41.0",
|
|
85
|
+
"react-aria-components": "^1.10.0",
|
|
86
86
|
"react-dom": "^18.3.1",
|
|
87
87
|
"react-jsx-parser": "^2.4.0",
|
|
88
88
|
"react-movable": "^3.4.1",
|
|
89
89
|
"react-select": "^5.10.1",
|
|
90
|
-
"react-stately": "^3.
|
|
90
|
+
"react-stately": "^3.39.0",
|
|
91
91
|
"svg-to-jsx-string": "^0.1.1",
|
|
92
|
-
"tailwindcss": "^4.1.
|
|
92
|
+
"tailwindcss": "^4.1.8",
|
|
93
93
|
"tailwindcss-motion": "^1.1.0",
|
|
94
94
|
"tailwindcss-react-aria-components": "^2.0.0",
|
|
95
95
|
"vite": "^6.3.5",
|