@eightshift/ui-components 5.3.3 → 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 +893 -86
- package/dist/assets/style-editor.css +893 -86
- package/dist/assets/style.css +893 -86
- package/dist/assets/wp-font-enhancements.css +1 -1
- package/dist/assets/wp-ui-enhancements.css +1 -1
- package/dist/components/button/button.js +75 -22
- 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 +2 -2
- 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 +10 -5
- package/dist/components/tooltip/tooltip.js +2 -2
- 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,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
|
-
};
|