@eightshift/ui-components 5.0.3 → 5.0.4
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-BpwTmkAe.js → Button-DH22t_SM.js} +75 -6
- package/dist/{Collection-n5d0zIgb.js → Collection-uTAXq9Br.js} +1 -1
- package/dist/{Color-lVhk8V_G.js → Color-CNqKeT8D.js} +1 -1
- package/dist/{ColorSwatch-DntWEAC3.js → ColorSwatch-Dt3lRApA.js} +1 -1
- package/dist/{ComboBox-BJpTEATT.js → ComboBox-D7KpCYaK.js} +9 -9
- package/dist/{Dialog-O9uw63D7.js → Dialog-CJVCRT8_.js} +5 -5
- package/dist/{ListBox-BTxlCGcc.js → ListBox-_nDFq8-H.js} +4 -4
- package/dist/{OverlayArrow-5aDgmImj.js → OverlayArrow-CjvnevpX.js} +1 -1
- package/dist/{Separator-CaTBkETC.js → Separator-BN3mjL6q.js} +1 -1
- package/dist/{Slider-C-S1oEH9.js → Slider-uOPcIpqS.js} +1 -1
- package/dist/assets/style-admin.css +791 -247
- package/dist/assets/style-editor.css +791 -247
- package/dist/assets/style.css +791 -247
- package/dist/components/button/button.js +41 -13
- package/dist/components/checkbox/checkbox.js +2 -2
- 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 +4 -4
- package/dist/components/draggable/draggable.js +9 -5
- package/dist/components/expandable/expandable.js +1 -1
- package/dist/components/layout/hstack.js +4 -2
- package/dist/components/layout/vstack.js +4 -2
- package/dist/components/link-input/link-input.js +4 -4
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/modal/modal.js +101 -77
- package/dist/components/number-picker/number-picker.js +2 -2
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/select/v2/async-select.js +4 -4
- 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 +6 -5
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{number-GajL10e1.js → number-CHmNj-oR.js} +2 -2
- package/dist/{useButton-Bt3BffJm.js → useButton-lRcWnvOB.js} +1 -1
- package/dist/{useListState-DkyH7elT.js → useListState-9Hq_FiRF.js} +1 -1
- package/dist/{useNumberField-CU1_u8ze.js → useNumberField-D0u2bh8g.js} +2 -2
- package/dist/{usePress-BrJylgPR.js → usePress-DWBuejBp.js} +5 -3
- package/dist/{useSingleSelectListState-C4sorv2p.js → useSingleSelectListState-DqhemUIh.js} +1 -1
- package/dist/{useToggle-CDa3YAZI.js → useToggle-yGuUBU7q.js} +1 -1
- package/package.json +11 -11
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { _ as __ } from "../../../default-i18n-CT_oS1Fy.js";
|
|
3
3
|
import { BaseControl } from "../../base-control/base-control.js";
|
|
4
|
-
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-
|
|
4
|
+
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../../Button-DH22t_SM.js";
|
|
5
5
|
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../../Label-JS_ob-kh.js";
|
|
6
|
-
import { b as $eed445e0843c11d0$export$7ff8f37d2d81a48d, c as $eed445e0843c11d0$export$7c5906fe4f1f2af2, $ as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../../ListBox-
|
|
7
|
-
import { o as $168583247155ddda$export$dc9c12ed27dd1b49, l as $de32f1b87079253c$export$d2f961adcb0afbe, p as $07b14b47974efb58$export$9b9a0cd73afb7ca4, $ as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-
|
|
6
|
+
import { b as $eed445e0843c11d0$export$7ff8f37d2d81a48d, c as $eed445e0843c11d0$export$7c5906fe4f1f2af2, $ as $eed445e0843c11d0$export$41f133550aa26f48 } from "../../../ListBox-_nDFq8-H.js";
|
|
7
|
+
import { o as $168583247155ddda$export$dc9c12ed27dd1b49, l as $de32f1b87079253c$export$d2f961adcb0afbe, p as $07b14b47974efb58$export$9b9a0cd73afb7ca4, $ as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../../Dialog-CJVCRT8_.js";
|
|
8
8
|
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, p as $ff5963eb1fccf552$export$e08e3b67e392101e, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, b as $64fa3d84918910a7$export$4d86445c2cf5e3, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, h as $64fa3d84918910a7$export$ef03459518577ad4, i as $64fa3d84918910a7$export$2881499e37b75b9a, c as clsx } from "../../../utils-CZt7LCbO.js";
|
|
9
9
|
import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../../FieldError-DHrSdE_Q.js";
|
|
10
10
|
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../../Form-Cq3fu75_.js";
|
|
11
11
|
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../../Text-BuJgePCv.js";
|
|
12
|
-
import { o as $fb3050f43d946246$export$e32c88dfddc6e1d8, e as $e1995378a142960e$export$bf788dd355e3a401 } from "../../../Collection-
|
|
12
|
+
import { o as $fb3050f43d946246$export$e32c88dfddc6e1d8, e as $e1995378a142960e$export$bf788dd355e3a401 } from "../../../Collection-uTAXq9Br.js";
|
|
13
13
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../../filterDOMProps-EDDcM64A.js";
|
|
14
|
-
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, g as $9daab02d461809db$export$683480f191c0e3ea } from "../../../OverlayArrow-
|
|
14
|
+
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, g as $9daab02d461809db$export$683480f191c0e3ea } from "../../../OverlayArrow-CjvnevpX.js";
|
|
15
15
|
import React__default, { useMemo, useRef, useState, forwardRef, createContext, useContext, useCallback, cloneElement } from "react";
|
|
16
16
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../../useLocalizedStringFormatter-C9GO0IDB.js";
|
|
17
17
|
import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "../../../useFormValidation-Dy0PXJg5.js";
|
|
18
|
-
import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../../useSingleSelectListState-
|
|
18
|
+
import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../../useSingleSelectListState-DqhemUIh.js";
|
|
19
19
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../../useFocusRing-Bv0UJQl8.js";
|
|
20
|
-
import { f as $325a3faab7a68acd$export$a16aca283550c30d, g as $2a25aae57d74318e$export$a05409b8bb224a5a } from "../../../Separator-
|
|
20
|
+
import { f as $325a3faab7a68acd$export$a16aca283550c30d, g as $2a25aae57d74318e$export$a05409b8bb224a5a } from "../../../Separator-BN3mjL6q.js";
|
|
21
21
|
import { q as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "../../../useHover-C2SkI1Fn.js";
|
|
22
22
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../../useFormReset-D2YaWRIA.js";
|
|
23
23
|
import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "../../../VisuallyHidden-BYi0pekx.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
|
|
3
3
|
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-JS_ob-kh.js";
|
|
4
|
-
import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-
|
|
4
|
+
import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-uOPcIpqS.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
6
|
import { icons } from "../../icons/icons.js";
|
|
7
7
|
import { getColumnConfigOutputText } from "./utils.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-CZt7LCbO.js";
|
|
3
3
|
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5, a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "../../Label-JS_ob-kh.js";
|
|
4
|
-
import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-
|
|
4
|
+
import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-uOPcIpqS.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,17 +1,17 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as $880e95eb8b93ba9a$export$ecf600387e221c37, i as $ae20dd8cbca75726$export$d6daf82dcd84e87c, d as $e1995378a142960e$export$18af5c7a9e9b3664, f as $e1995378a142960e$export$fb8073518f34e6ec, g as $7135fc7d473fd974$export$4feb769f8ddf26c5, j as $7135fc7d473fd974$export$a164736487e3f0ae, e as $e1995378a142960e$export$bf788dd355e3a401, k as $7135fc7d473fd974$export$90e00781bc59d8f9 } from "../../Collection-
|
|
2
|
+
import { c as $880e95eb8b93ba9a$export$ecf600387e221c37, i as $ae20dd8cbca75726$export$d6daf82dcd84e87c, d as $e1995378a142960e$export$18af5c7a9e9b3664, f as $e1995378a142960e$export$fb8073518f34e6ec, g as $7135fc7d473fd974$export$4feb769f8ddf26c5, j as $7135fc7d473fd974$export$a164736487e3f0ae, e as $e1995378a142960e$export$bf788dd355e3a401, k as $7135fc7d473fd974$export$90e00781bc59d8f9 } from "../../Collection-uTAXq9Br.js";
|
|
3
3
|
import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-CZt7LCbO.js";
|
|
4
4
|
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "../../Hidden-rE6uR-lr.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
|
-
import { b as $cdc5a6778b766db2$export$a9d04c5684123369 } from "../../useListState-
|
|
6
|
+
import { b as $cdc5a6778b766db2$export$a9d04c5684123369 } from "../../useListState-9Hq_FiRF.js";
|
|
7
7
|
import React__default, { useState, useMemo, useRef, useEffect, forwardRef, useContext, createContext, isValidElement, useId, cloneElement } from "react";
|
|
8
|
-
import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "../../usePress-
|
|
8
|
+
import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "../../usePress-DWBuejBp.js";
|
|
9
9
|
import { a as $f645667febf57a63$export$4c014de7c8940b4c, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
|
|
10
10
|
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-B7-lUnAF.js";
|
|
11
11
|
import { a as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-BEPI2m7u.js";
|
|
12
12
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BbYZoHvX.js";
|
|
13
13
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Bv0UJQl8.js";
|
|
14
|
-
import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../useSingleSelectListState-
|
|
14
|
+
import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../useSingleSelectListState-DqhemUIh.js";
|
|
15
15
|
import { _ as __, s as sprintf } from "../../default-i18n-CT_oS1Fy.js";
|
|
16
16
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
17
17
|
import { c as cva } from "../../index-BljRBEr_.js";
|
|
@@ -399,7 +399,8 @@ const $5e8ad37a45e1c704$export$3d96ec278d3efce4 = /* @__PURE__ */ $f39a9eba43920
|
|
|
399
399
|
values: {
|
|
400
400
|
isFocused,
|
|
401
401
|
isFocusVisible,
|
|
402
|
-
|
|
402
|
+
// @ts-ignore - compatibility with React < 19
|
|
403
|
+
isInert: $cdc5a6778b766db2$export$a9d04c5684123369(!isSelected),
|
|
403
404
|
state
|
|
404
405
|
}
|
|
405
406
|
});
|
|
@@ -3,7 +3,7 @@ import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$
|
|
|
3
3
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
4
4
|
import React__default, { forwardRef, createContext } from "react";
|
|
5
5
|
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-ibcBUHnB.js";
|
|
6
|
-
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-
|
|
6
|
+
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-yGuUBU7q.js";
|
|
7
7
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Bv0UJQl8.js";
|
|
8
8
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
|
|
9
9
|
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-BYi0pekx.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { p as $ff5963eb1fccf552$export$e08e3b67e392101e, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-CZt7LCbO.js";
|
|
3
3
|
import React__default, { createContext, forwardRef, useContext } from "react";
|
|
4
4
|
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-ibcBUHnB.js";
|
|
5
|
-
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-
|
|
5
|
+
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-lRcWnvOB.js";
|
|
6
6
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Bv0UJQl8.js";
|
|
7
7
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
|
|
8
8
|
import { c as cva } from "../../index-BljRBEr_.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as $96b38030c423d352$export$9fc1347d4195ccb3, $ as $fc909762b330b746$export$61c6a8c84e605fb6, a as $d3f049242431219c$export$45fda7c47f93fd48, d as $2a41e45df1593e64$export$d39e1813b3bdd0e1, b as $d3f049242431219c$export$6d3443f2c48bfc20, e as $44f671af83e7d9e0$export$2de4954e8ae13b9f, f as $44f671af83e7d9e0$export$746d02f47f4d381 } from "../../OverlayArrow-
|
|
2
|
+
import { c as $96b38030c423d352$export$9fc1347d4195ccb3, $ as $fc909762b330b746$export$61c6a8c84e605fb6, a as $d3f049242431219c$export$45fda7c47f93fd48, d as $2a41e45df1593e64$export$d39e1813b3bdd0e1, b as $d3f049242431219c$export$6d3443f2c48bfc20, e as $44f671af83e7d9e0$export$2de4954e8ae13b9f, f as $44f671af83e7d9e0$export$746d02f47f4d381 } from "../../OverlayArrow-CjvnevpX.js";
|
|
3
3
|
import { n as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, i as $64fa3d84918910a7$export$2881499e37b75b9a, a as $64fa3d84918910a7$export$29f1550f4b0d4415, k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-CZt7LCbO.js";
|
|
4
4
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456, a as $f645667febf57a63$export$4c014de7c8940b4c, x as $507fabe10e71c6fb$export$630ff653c5ada6a9, n as $507fabe10e71c6fb$export$b9b3dfddab17db27, y as $f645667febf57a63$export$13f3202a3e5ddd5 } from "../../useHover-C2SkI1Fn.js";
|
|
5
5
|
import React__default, { useContext, useState, useMemo, useRef, useEffect, forwardRef, createContext } from "react";
|
|
@@ -30,7 +30,7 @@ function $9446cca9a3875146$export$b6268554fba451f(value, digits, base = 10) {
|
|
|
30
30
|
return Math.round(value * pow) / pow;
|
|
31
31
|
}
|
|
32
32
|
export {
|
|
33
|
-
$9446cca9a3875146$export$
|
|
34
|
-
$9446cca9a3875146$export$
|
|
33
|
+
$9446cca9a3875146$export$7d15b64cf5a3a4c4 as $,
|
|
34
|
+
$9446cca9a3875146$export$cb6e0bb50bc19463 as a,
|
|
35
35
|
$9446cca9a3875146$export$b6268554fba451f as b
|
|
36
36
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DWBuejBp.js";
|
|
4
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;
|
|
@@ -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 "./Collection-
|
|
2
|
+
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./Collection-uTAXq9Br.js";
|
|
3
3
|
function $cdc5a6778b766db2$export$a9d04c5684123369(value) {
|
|
4
4
|
const pieces = version.split(".");
|
|
5
5
|
const major = parseInt(pieces[0], 10);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
-
import {
|
|
2
|
+
import { a as $9446cca9a3875146$export$cb6e0bb50bc19463, $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-CHmNj-oR.js";
|
|
3
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";
|
|
@@ -11,7 +11,7 @@ import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-ICdlo
|
|
|
11
11
|
import { b as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-BmDS8Juy.js";
|
|
12
12
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-C9GO0IDB.js";
|
|
13
13
|
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-CZ9QUnRt.js";
|
|
14
|
-
import {
|
|
14
|
+
import { d as $319e236875307eab$export$d10ae4f68404609a, c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-DH22t_SM.js";
|
|
15
15
|
function $7d0a636d7a4dcefd$export$2123ff2b87c81ca(props, ref) {
|
|
16
16
|
let { onScroll, isDisabled } = props;
|
|
17
17
|
let onScrollHandler = useCallback((e) => {
|
|
@@ -292,7 +292,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
292
292
|
shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;
|
|
293
293
|
} else if (state.isPressed && state.pointerType !== "keyboard") {
|
|
294
294
|
let pointerType = state.pointerType || e.nativeEvent.pointerType || "virtual";
|
|
295
|
-
|
|
295
|
+
let stopPressUp = triggerPressUp($f6c31cce2adf654f$var$createEvent(e.currentTarget, e), pointerType);
|
|
296
|
+
let stopPressEnd = triggerPressEnd($f6c31cce2adf654f$var$createEvent(e.currentTarget, e), pointerType, true);
|
|
297
|
+
shouldStopPropagation = stopPressUp && stopPressEnd;
|
|
296
298
|
state.isOverTarget = false;
|
|
297
299
|
triggerClick(e);
|
|
298
300
|
cancel(e);
|
|
@@ -360,7 +362,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
360
362
|
};
|
|
361
363
|
pressProps2.onPointerUp = (e) => {
|
|
362
364
|
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) || state.pointerType === "virtual") return;
|
|
363
|
-
if (e.button === 0) triggerPressUp(e, state.pointerType || e.pointerType);
|
|
365
|
+
if (e.button === 0 && !state.isPressed) triggerPressUp(e, state.pointerType || e.pointerType);
|
|
364
366
|
};
|
|
365
367
|
pressProps2.onPointerEnter = (e) => {
|
|
366
368
|
if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {
|
|
@@ -441,7 +443,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
441
443
|
};
|
|
442
444
|
pressProps2.onMouseUp = (e) => {
|
|
443
445
|
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
444
|
-
if (!state.ignoreEmulatedMouseEvents && e.button === 0) triggerPressUp(e, state.pointerType || "mouse");
|
|
446
|
+
if (!state.ignoreEmulatedMouseEvents && e.button === 0 && !state.isPressed) triggerPressUp(e, state.pointerType || "mouse");
|
|
445
447
|
};
|
|
446
448
|
let onMouseUp = (e) => {
|
|
447
449
|
if (e.button !== 0) return;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
1
|
+
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-9Hq_FiRF.js";
|
|
2
2
|
import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-C2SkI1Fn.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-CZt7LCbO.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
3
3
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-D2YaWRIA.js";
|
|
4
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
4
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DWBuejBp.js";
|
|
5
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eightshift/ui-components",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"react-dom": "^18.3.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@adobe/react-spectrum": "^3.42.
|
|
47
|
-
"@dnd-kit/abstract": "^0.1.
|
|
46
|
+
"@adobe/react-spectrum": "^3.42.2",
|
|
47
|
+
"@dnd-kit/abstract": "^0.1.19",
|
|
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.19",
|
|
50
|
+
"@dnd-kit/helpers": "^0.1.19",
|
|
51
51
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
52
|
-
"@dnd-kit/react": "^0.1.
|
|
52
|
+
"@dnd-kit/react": "^0.1.19",
|
|
53
53
|
"@dnd-kit/sortable": "^10.0.0",
|
|
54
54
|
"@dnd-kit/utilities": "^3.2.2",
|
|
55
55
|
"@eslint/compat": "^1.2.9",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@tailwindcss/vite": "^4.1.8",
|
|
59
59
|
"@types/react": "^18.3.23",
|
|
60
60
|
"@types/react-dom": "^18.3.7",
|
|
61
|
-
"@vitejs/plugin-react-swc": "^3.10.
|
|
61
|
+
"@vitejs/plugin-react-swc": "^3.10.2",
|
|
62
62
|
"@wordpress/i18n": "^5.25.0",
|
|
63
63
|
"autoprefixer": "^10.4.21",
|
|
64
64
|
"class-variance-authority": "^0.7.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"css-gradient-parser": "^0.0.16",
|
|
67
67
|
"eslint": "^9.28.0",
|
|
68
68
|
"eslint-config-prettier": "^10.1.5",
|
|
69
|
-
"eslint-plugin-jsdoc": "^50.
|
|
69
|
+
"eslint-plugin-jsdoc": "^50.8.0",
|
|
70
70
|
"eslint-plugin-prettier": "^5.4.1",
|
|
71
71
|
"glob": "^11.0.2",
|
|
72
72
|
"globals": "^16.2.0",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"prettier": "^3.5.3",
|
|
82
82
|
"prettier-plugin-tailwindcss": "^0.6.12",
|
|
83
83
|
"react": "^18.3.1",
|
|
84
|
-
"react-aria": "^3.41.
|
|
85
|
-
"react-aria-components": "^1.10.
|
|
84
|
+
"react-aria": "^3.41.1",
|
|
85
|
+
"react-aria-components": "^1.10.1",
|
|
86
86
|
"react-dom": "^18.3.1",
|
|
87
87
|
"react-jsx-parser": "^2.4.0",
|
|
88
88
|
"react-movable": "^3.4.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"react-stately": "^3.39.0",
|
|
91
91
|
"svg-to-jsx-string": "^0.1.1",
|
|
92
92
|
"tailwindcss": "^4.1.8",
|
|
93
|
-
"tailwindcss-motion": "^1.1.
|
|
93
|
+
"tailwindcss-motion": "^1.1.1",
|
|
94
94
|
"tailwindcss-react-aria-components": "^2.0.0",
|
|
95
95
|
"vite": "^6.3.5",
|
|
96
96
|
"vite-plugin-lib-inject-css": "^2.2.2"
|