@eightshift/ui-components 7.2.0 → 7.3.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/Autocomplete-pLMPWMFq.js +451 -0
- package/dist/Button-Biwg7zwt.js +223 -0
- package/dist/Dialog-C1sh8jbh.js +2474 -0
- package/dist/{Disclosure-NYWFw9RJ.js → Disclosure-B_SHgiUz.js} +50 -51
- package/dist/FocusScope-lGkM8AO8.js +734 -0
- package/dist/Form-BxIJCHYd.js +5 -0
- package/dist/Heading-B2EsUuu6.js +16 -0
- package/dist/{Hidden-8TB37dpK.js → Hidden-DYY00jLm.js} +10 -10
- package/dist/I18nProvider-Cm6dj5jY.js +93 -0
- package/dist/Label-B1TkoVOG.js +17 -0
- package/dist/ListBox-BquE0m8z.js +584 -0
- package/dist/{NumberFormatter-m5VW6MTK.js → NumberFormatter-JHF0Tadk.js} +24 -26
- package/dist/PortalProvider-BYcv24il.js +13 -0
- package/dist/RadioGroup-BxjLooWU.js +324 -0
- package/dist/SearchField-BkAU0HLm.js +322 -0
- package/dist/SelectionIndicator-Bx_EYBXD.js +13 -0
- package/dist/{Slider-DW1RuMVp.js → Slider-DSv6fyZ6.js} +321 -363
- package/dist/Text-C8pfwn0W.js +16 -0
- package/dist/{VisuallyHidden-CfsnJHZb.js → VisuallyHidden-KcXlGa5p.js} +12 -12
- package/dist/{animation-Bd2peown.js → animation-BJ-2VKdB.js} +12 -12
- package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-symbols-full-normal.woff2 +0 -0
- package/dist/assets/style-admin.css +1 -1
- package/dist/assets/style-editor.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/{button-D9cbyHeZ.js → button-CawAzlko.js} +21 -73
- package/dist/{checkbox-BO5RZmO8.js → checkbox-t7VrqXv2.js} +59 -62
- package/dist/{color-swatch-D2ZBkuTt.js → color-swatch-gU09x9Ga.js} +417 -414
- package/dist/components/base-control/base-control.js +2 -2
- package/dist/components/base-control/container.js +1 -1
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.js +2 -2
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.js +1 -1
- package/dist/components/component-toggle/component-toggle.js +4 -4
- package/dist/components/container-panel/container-panel.js +5 -5
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +2 -2
- package/dist/components/expandable/expandable.js +7 -7
- package/dist/components/index.js +15 -15
- package/dist/components/input-field/input-field.js +1 -1
- package/dist/components/item-collection/item-collection.js +1 -1
- package/dist/components/link-input/link-input.js +1 -1
- package/dist/components/matrix-align/matrix-align.js +5 -5
- package/dist/components/menu/menu.js +11 -11
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/number-picker/number-picker.js +1 -1
- package/dist/components/option-select/option-select.js +3 -3
- package/dist/components/options-panel/options-panel.js +3 -3
- package/dist/components/placeholders/file-picker-shell.js +1 -1
- package/dist/components/placeholders/file-placeholder.js +1 -1
- package/dist/components/popover/popover.js +6 -6
- package/dist/components/portal-provider/portal-provider.js +2 -2
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.js +3 -3
- package/dist/components/responsive/mini-responsive.js +6 -6
- package/dist/components/responsive/responsive-legacy.js +5 -5
- package/dist/components/responsive/responsive.js +5 -5
- package/dist/components/responsive-preview/responsive-preview.js +2 -2
- package/dist/components/select/async-multi-select.js +27 -26
- package/dist/components/select/async-select.js +27 -26
- package/dist/components/select/multi-select.js +33 -32
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/single-select.js +33 -32
- package/dist/components/select/styles.js +1 -1
- package/dist/components/slider/column-config-slider.js +8 -8
- package/dist/components/slider/slider.js +8 -8
- package/dist/components/slider/utils.js +1 -1
- package/dist/components/smart-image/smart-image.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +3 -3
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{draggable-CTDVJ4zd.js → draggable-Cxv-OueQ.js} +1 -1
- package/dist/filterDOMProps-BfW758QC.js +69 -0
- package/dist/{gradient-editor-xfxA_s9a.js → gradient-editor-CInqVF8v.js} +6 -11
- package/dist/icons/index.js +1 -1
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/index.js +15 -15
- package/dist/{input-field-_OCWbftf.js → input-field-BdFrxQ-R.js} +46 -47
- package/dist/{jsx-svg-BRJ4n3pD.js → jsx-svg-DT1SBWuP.js} +6 -12
- package/dist/keyboard-CT41mQzR.js +55 -0
- package/dist/{link-input-Bh8G7Urm.js → link-input-BDFhSSvH.js} +324 -356
- package/dist/{modal-snrElwty.js → modal-CJDaBdPh.js} +100 -92
- package/dist/{number-ZZIxJukn.js → number-MWRvGfyE.js} +10 -10
- package/dist/{number-picker-Dhtx4409.js → number-picker-BrxrB-xq.js} +43 -42
- package/dist/{shared-BiWZjrGF.js → shared-CI4kcnm8.js} +482 -502
- package/dist/{smart-image-CBNbxJ57.js → smart-image-eGdMu9s9.js} +2 -2
- package/dist/{solid-color-picker-DukArNH-.js → solid-color-picker-DXgX-OAm.js} +926 -935
- package/dist/{switch-DmsvyQPa.js → switch-DNHFoCCx.js} +28 -28
- package/dist/{tabs-DaIUEc0g.js → tabs-C2tPOEYr.js} +150 -153
- package/dist/textSelection-BhX_2zV9.js +45 -0
- package/dist/{toggle-button-BlzUGfGy.js → toggle-button-DYDp11rq.js} +35 -35
- package/dist/{tooltip-BzJzYlcc.js → tooltip-C-hT6tN9.js} +162 -162
- package/dist/{useAsyncList-BNzwKoX4.js → useAsyncList-DsOh1xIx.js} +54 -74
- package/dist/{useButton-ra1ZSZ4z.js → useButton-BMZc4fTX.js} +11 -11
- package/dist/{SelectionManager-B8lLv6Ue.js → useCollection-CBVYSuGz.js} +1689 -1777
- package/dist/{useEvent-DkZVfgsS.js → useEvent-ypAU33vv.js} +5 -5
- package/dist/useField-BXf__jxy.js +32 -0
- package/dist/{useFilter-OiMnf6sb.js → useFilter-CfKEbIwL.js} +5 -5
- package/dist/{useFocusRing-DuYL4cdO.js → useFocusRing-BgYY-7ko.js} +23 -23
- package/dist/useFormReset-BuMc_O4y.js +17 -0
- package/dist/{FieldError-BWDbP5Db.js → useFormValidation-BcME9D0E.js} +63 -66
- package/dist/useHover-lyApu3ba.js +975 -0
- package/dist/{useLabel-2EohW5l6.js → useLabel-Rv8cIIKk.js} +8 -8
- package/dist/{useLabels-B2p7RXi5.js → useLabels-xOYtkA8o.js} +5 -5
- package/dist/useListState-u6DfeXHi.js +135 -0
- package/dist/{useLocalizedStringFormatter-Dv2diN3k.js → useLocalizedStringFormatter-CR-bmorj.js} +45 -45
- package/dist/{useNumberField-2xbi3jRV.js → useNumberFieldState-xL-ecwNz.js} +665 -619
- package/dist/useNumberFormatter-CR1PAFPG.js +10 -0
- package/dist/useOverlayTriggerState-AeCx45Gv.js +551 -0
- package/dist/usePress-Dnx5rBoD.js +593 -0
- package/dist/useTextField-BW3ZwGyz.js +159 -0
- package/dist/{useToggle-ecIirvIM.js → useToggle-BF5wptMP.js} +19 -20
- package/dist/useToggleState-D5P01lch.js +22 -0
- package/dist/useToolbar-BT25-MJg.js +55 -0
- package/dist/utilities/debounce-throttle.js +1 -1
- package/dist/utilities/es-dash.js +1 -1
- package/dist/utilities/index.js +3 -3
- package/dist/{utils-B_uiqNa4.js → utils-JFcCNFzy.js} +121 -122
- package/package.json +18 -18
- package/dist/Button-h6xF_WrP.js +0 -225
- package/dist/Dialog-i5VLQw1o.js +0 -2488
- package/dist/FocusScope-CgwbGOBB.js +0 -746
- package/dist/Form-DTMkbrQY.js +0 -5
- package/dist/Heading-Hol-wS_B.js +0 -16
- package/dist/Input-BURqyJXW.js +0 -161
- package/dist/Label-DFXXxMKY.js +0 -17
- package/dist/ListBox-B21SgugS.js +0 -601
- package/dist/OverlayArrow-BoloUPQM.js +0 -573
- package/dist/PortalProvider-DinZZCKX.js +0 -14
- package/dist/RSPContexts-C_z0bI8W.js +0 -12
- package/dist/RadioGroup-BwlGtCja.js +0 -329
- package/dist/SearchField-DR_I4_yn.js +0 -765
- package/dist/SelectionIndicator-31L6EI9F.js +0 -13
- package/dist/Text-O6VBBDlP.js +0 -16
- package/dist/context-C-XNeJ_l.js +0 -93
- package/dist/filterDOMProps-_2_3GD-K.js +0 -69
- package/dist/textSelection-Dv6WPj0Z.js +0 -45
- package/dist/useField-D0WrzR2F.js +0 -32
- package/dist/useFormReset-DdkykzAn.js +0 -18
- package/dist/useHover-qaMm3XFO.js +0 -982
- package/dist/useListState-CD_5vfyy.js +0 -147
- package/dist/useNumberFormatter-C2Cm2mNj.js +0 -10
- package/dist/usePress-ZP1TjkFf.js +0 -678
- package/dist/useToggleState-IIDbiKPl.js +0 -23
- /package/dist/{List-DWlgW2Ex.js → List---tsVJlI.js} +0 -0
- /package/dist/{build-module-Bsx62nlm.js → build-module-K6vi4xE0.js} +0 -0
- /package/dist/{debounce-throttle-DXxSAKpq.js → debounce-throttle-LSPAPFtq.js} +0 -0
- /package/dist/{dist-2gkv7_1U.js → dist-jw8wvxoG.js} +0 -0
- /package/dist/{es-dash-HqXWZZ3_.js → es-dash-BuShf_ht.js} +0 -0
- /package/dist/{utilities-lwX686oD.js → utilities-DV0KKJNR.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-BUU5J41u.js";
|
|
2
|
-
import { n as $
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as $
|
|
6
|
-
import { t as $
|
|
7
|
-
import { t as $
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as $
|
|
2
|
+
import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-JFcCNFzy.js";
|
|
3
|
+
import { t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-lyApu3ba.js";
|
|
4
|
+
import { n as $4b38b5b75ecc6208$export$698f465ec27e93df } from "./Autocomplete-pLMPWMFq.js";
|
|
5
|
+
import { t as $d7f64c32b702fe2c$export$86427a43e3e48ebb } from "./Hidden-DYY00jLm.js";
|
|
6
|
+
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BfW758QC.js";
|
|
7
|
+
import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-BgYY-7ko.js";
|
|
8
|
+
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5, t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B1TkoVOG.js";
|
|
9
|
+
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-C8pfwn0W.js";
|
|
10
|
+
import { a as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useFormValidation-BcME9D0E.js";
|
|
11
|
+
import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BxIJCHYd.js";
|
|
12
|
+
import { a as $3a442827418ebe87$export$f9c6924e160136d1, n as $41fb335299a4a39e$export$37fb8590cf2c088c, r as $41fb335299a4a39e$export$f5b8910cec6cf069, t as $054f71d2330da2e3$export$712718f7aec83d5 } from "./useTextField-BW3ZwGyz.js";
|
|
13
13
|
import { BaseControl } from "./components/base-control/base-control.js";
|
|
14
|
-
import { t as cva } from "./dist-
|
|
14
|
+
import { t as cva } from "./dist-jw8wvxoG.js";
|
|
15
15
|
import React, { createContext, forwardRef, useCallback, useRef, useState } from "react";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
//#region node_modules/react-aria-components/dist/TextArea.mjs
|
|
18
|
-
var $
|
|
19
|
-
var $
|
|
17
|
+
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
|
|
18
|
+
var $bd263d78e9bf3c56$export$2dc6166a7e65358c = createContext({});
|
|
19
|
+
var $bd263d78e9bf3c56$var$filterHoverProps = (props) => {
|
|
20
20
|
let { onHoverStart, onHoverChange, onHoverEnd, ...otherProps } = props;
|
|
21
21
|
return otherProps;
|
|
22
22
|
};
|
|
23
|
-
var $
|
|
24
|
-
[props, ref] = $
|
|
25
|
-
let { hoverProps, isHovered } = $
|
|
26
|
-
let { isFocused, isFocusVisible, focusProps } = $
|
|
23
|
+
var $bd263d78e9bf3c56$export$f5c9f3c2c4054eec = forwardRef(function TextArea(props, ref) {
|
|
24
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $bd263d78e9bf3c56$export$2dc6166a7e65358c);
|
|
25
|
+
let { hoverProps, isHovered } = $e969f22b6713ca4a$export$ae780daf29e6d456(props);
|
|
26
|
+
let { isFocused, isFocusVisible, focusProps } = $0c4a58759813079a$export$4e328f61c538687f({
|
|
27
27
|
isTextInput: true,
|
|
28
28
|
autoFocus: props.autoFocus
|
|
29
29
|
});
|
|
30
30
|
let isInvalid = !!props["aria-invalid"] && props["aria-invalid"] !== "false";
|
|
31
|
-
let renderProps = $
|
|
31
|
+
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
32
32
|
...props,
|
|
33
33
|
values: {
|
|
34
34
|
isHovered,
|
|
@@ -39,8 +39,8 @@ var $216918bed6669f72$export$f5c9f3c2c4054eec = forwardRef(function TextArea(pro
|
|
|
39
39
|
},
|
|
40
40
|
defaultClassName: "react-aria-TextArea"
|
|
41
41
|
});
|
|
42
|
-
return React.createElement($
|
|
43
|
-
...$
|
|
42
|
+
return React.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.textarea, {
|
|
43
|
+
...$bbaa08b3cd72f041$export$9d1611c77c2fe928($bd263d78e9bf3c56$var$filterHoverProps(props), focusProps, hoverProps),
|
|
44
44
|
...renderProps,
|
|
45
45
|
ref,
|
|
46
46
|
"data-focused": isFocused || void 0,
|
|
@@ -51,19 +51,18 @@ var $216918bed6669f72$export$f5c9f3c2c4054eec = forwardRef(function TextArea(pro
|
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
|
-
//#region node_modules/react-aria-components/dist/TextField.mjs
|
|
55
|
-
var $
|
|
56
|
-
var $
|
|
57
|
-
[props, ref] = $
|
|
58
|
-
let { validationBehavior: formValidationBehavior } = $
|
|
59
|
-
|
|
60
|
-
let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : "native";
|
|
54
|
+
//#region node_modules/react-aria-components/dist/private/TextField.mjs
|
|
55
|
+
var $b8dcdc58eeae0d40$export$2129e27b3ef0d483 = createContext(null);
|
|
56
|
+
var $b8dcdc58eeae0d40$export$2c73285ae9390cec = $d7f64c32b702fe2c$export$86427a43e3e48ebb(function TextField(props, ref) {
|
|
57
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $b8dcdc58eeae0d40$export$2129e27b3ef0d483);
|
|
58
|
+
let { validationBehavior: formValidationBehavior } = $7230ffa83bc0c2cf$export$fabf2dc03a41866e($cdaed739b1139372$export$c24727297075ec6a) || {};
|
|
59
|
+
let validationBehavior = props.validationBehavior ?? formValidationBehavior ?? "native";
|
|
61
60
|
let inputRef = useRef(null);
|
|
62
|
-
[props, inputRef] = $
|
|
63
|
-
let [labelRef, label] = $
|
|
61
|
+
[props, inputRef] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, inputRef, $4b38b5b75ecc6208$export$698f465ec27e93df);
|
|
62
|
+
let [labelRef, label] = $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
64
63
|
let [inputElementType, setInputElementType] = useState("input");
|
|
65
|
-
let { labelProps, inputProps, descriptionProps, errorMessageProps, ...validation } = $
|
|
66
|
-
...$
|
|
64
|
+
let { labelProps, inputProps, descriptionProps, errorMessageProps, ...validation } = $054f71d2330da2e3$export$712718f7aec83d5({
|
|
65
|
+
...$7230ffa83bc0c2cf$export$ef03459518577ad4(props),
|
|
67
66
|
inputElementType,
|
|
68
67
|
label,
|
|
69
68
|
validationBehavior
|
|
@@ -72,7 +71,7 @@ var $bcdf0525bf22703d$export$2c73285ae9390cec = $f39a9eba43920ace$export$86427a4
|
|
|
72
71
|
inputRef.current = el;
|
|
73
72
|
if (el) setInputElementType(el instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
74
73
|
}, [inputRef]);
|
|
75
|
-
let renderProps = $
|
|
74
|
+
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
76
75
|
...props,
|
|
77
76
|
values: {
|
|
78
77
|
isDisabled: props.isDisabled || false,
|
|
@@ -82,9 +81,9 @@ var $bcdf0525bf22703d$export$2c73285ae9390cec = $f39a9eba43920ace$export$86427a4
|
|
|
82
81
|
},
|
|
83
82
|
defaultClassName: "react-aria-TextField"
|
|
84
83
|
});
|
|
85
|
-
let DOMProps = $
|
|
84
|
+
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
86
85
|
delete DOMProps.id;
|
|
87
|
-
return React.createElement($
|
|
86
|
+
return React.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
88
87
|
...DOMProps,
|
|
89
88
|
...renderProps,
|
|
90
89
|
ref,
|
|
@@ -93,29 +92,29 @@ var $bcdf0525bf22703d$export$2c73285ae9390cec = $f39a9eba43920ace$export$86427a4
|
|
|
93
92
|
"data-invalid": validation.isInvalid || void 0,
|
|
94
93
|
"data-readonly": props.isReadOnly || void 0,
|
|
95
94
|
"data-required": props.isRequired || void 0
|
|
96
|
-
}, React.createElement($
|
|
97
|
-
[$
|
|
95
|
+
}, React.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
96
|
+
[$43a3b93638fe5db9$export$75b6ee27786ba447, {
|
|
98
97
|
...labelProps,
|
|
99
98
|
ref: labelRef
|
|
100
99
|
}],
|
|
101
|
-
[$
|
|
100
|
+
[$41fb335299a4a39e$export$37fb8590cf2c088c, {
|
|
102
101
|
...inputProps,
|
|
103
102
|
ref: inputOrTextAreaRef
|
|
104
103
|
}],
|
|
105
|
-
[$
|
|
104
|
+
[$bd263d78e9bf3c56$export$2dc6166a7e65358c, {
|
|
106
105
|
...inputProps,
|
|
107
106
|
ref: inputOrTextAreaRef
|
|
108
107
|
}],
|
|
109
|
-
[$
|
|
108
|
+
[$3a442827418ebe87$export$f9c6924e160136d1, {
|
|
110
109
|
role: "presentation",
|
|
111
110
|
isInvalid: validation.isInvalid,
|
|
112
111
|
isDisabled: props.isDisabled || false
|
|
113
112
|
}],
|
|
114
|
-
[$
|
|
113
|
+
[$efe09c6d1c304b50$export$9afb8bc826b033ea, { slots: {
|
|
115
114
|
description: descriptionProps,
|
|
116
115
|
errorMessage: errorMessageProps
|
|
117
116
|
} }],
|
|
118
|
-
[$
|
|
117
|
+
[$1f3c3b1a70cec653$export$ff05c3ac10437e03, validation]
|
|
119
118
|
] }, renderProps.children));
|
|
120
119
|
});
|
|
121
120
|
//#endregion
|
|
@@ -243,7 +242,7 @@ var inputClass = cva([
|
|
|
243
242
|
var InputField = (props) => {
|
|
244
243
|
const { icon, label, subtitle, help, actions, inline, value, onChange, type = "text", disabled, readOnly, className, flat, size, wrapperClassName, hidden, monospaceFont, ...other } = props;
|
|
245
244
|
if (hidden) return null;
|
|
246
|
-
return jsx($
|
|
245
|
+
return jsx($b8dcdc58eeae0d40$export$2c73285ae9390cec, {
|
|
247
246
|
value: value ?? "",
|
|
248
247
|
onChange,
|
|
249
248
|
isDisabled: disabled,
|
|
@@ -256,9 +255,9 @@ var InputField = (props) => {
|
|
|
256
255
|
subtitle,
|
|
257
256
|
actions,
|
|
258
257
|
inline,
|
|
259
|
-
labelAs: $
|
|
258
|
+
labelAs: $43a3b93638fe5db9$export$b04be29aa201d4f5,
|
|
260
259
|
help,
|
|
261
|
-
children: [type !== "multiline" && jsx($
|
|
260
|
+
children: [type !== "multiline" && jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
|
|
262
261
|
...other,
|
|
263
262
|
type,
|
|
264
263
|
className: clsx(inputClass({
|
|
@@ -272,7 +271,7 @@ var InputField = (props) => {
|
|
|
272
271
|
if (type === "search" && e.key === "Escape") onChange("");
|
|
273
272
|
if (props.onKeyUp) props.onKeyUp(e);
|
|
274
273
|
}
|
|
275
|
-
}), type === "multiline" && jsx($
|
|
274
|
+
}), type === "multiline" && jsx($bd263d78e9bf3c56$export$f5c9f3c2c4054eec, {
|
|
276
275
|
...other,
|
|
277
276
|
className: clsx(inputClass({
|
|
278
277
|
disabled,
|
|
@@ -3880,23 +3880,21 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
3880
3880
|
var ecma11BinaryProperties2 = ecma10BinaryProperties2;
|
|
3881
3881
|
var ecma12BinaryProperties2 = ecma11BinaryProperties2 + " EBase EComp EMod EPres ExtPict";
|
|
3882
3882
|
var ecma13BinaryProperties2 = ecma12BinaryProperties2;
|
|
3883
|
-
var ecma14BinaryProperties2 = ecma13BinaryProperties2;
|
|
3884
3883
|
var unicodeBinaryProperties2 = {
|
|
3885
3884
|
9: ecma9BinaryProperties2,
|
|
3886
3885
|
10: ecma10BinaryProperties2,
|
|
3887
3886
|
11: ecma11BinaryProperties2,
|
|
3888
3887
|
12: ecma12BinaryProperties2,
|
|
3889
3888
|
13: ecma13BinaryProperties2,
|
|
3890
|
-
14:
|
|
3889
|
+
14: ecma13BinaryProperties2
|
|
3891
3890
|
};
|
|
3892
|
-
var ecma14BinaryPropertiesOfStrings2 = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";
|
|
3893
3891
|
var unicodeBinaryPropertiesOfStrings2 = {
|
|
3894
3892
|
9: "",
|
|
3895
3893
|
10: "",
|
|
3896
3894
|
11: "",
|
|
3897
3895
|
12: "",
|
|
3898
3896
|
13: "",
|
|
3899
|
-
14:
|
|
3897
|
+
14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
|
|
3900
3898
|
};
|
|
3901
3899
|
var unicodeGeneralCategoryValues2 = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";
|
|
3902
3900
|
var ecma9ScriptValues2 = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
|
|
@@ -3904,14 +3902,13 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
3904
3902
|
var ecma11ScriptValues2 = ecma10ScriptValues2 + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
|
|
3905
3903
|
var ecma12ScriptValues2 = ecma11ScriptValues2 + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
|
|
3906
3904
|
var ecma13ScriptValues2 = ecma12ScriptValues2 + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
|
|
3907
|
-
var ecma14ScriptValues2 = ecma13ScriptValues2 + " Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz";
|
|
3908
3905
|
var unicodeScriptValues2 = {
|
|
3909
3906
|
9: ecma9ScriptValues2,
|
|
3910
3907
|
10: ecma10ScriptValues2,
|
|
3911
3908
|
11: ecma11ScriptValues2,
|
|
3912
3909
|
12: ecma12ScriptValues2,
|
|
3913
3910
|
13: ecma13ScriptValues2,
|
|
3914
|
-
14:
|
|
3911
|
+
14: ecma13ScriptValues2 + " Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"
|
|
3915
3912
|
};
|
|
3916
3913
|
var data2 = {};
|
|
3917
3914
|
function buildUnicodeData2(ecmaVersion3) {
|
|
@@ -9126,23 +9123,21 @@ var ecma10BinaryProperties = ecma9BinaryProperties + " Extended_Pictographic";
|
|
|
9126
9123
|
var ecma11BinaryProperties = ecma10BinaryProperties;
|
|
9127
9124
|
var ecma12BinaryProperties = ecma11BinaryProperties + " EBase EComp EMod EPres ExtPict";
|
|
9128
9125
|
var ecma13BinaryProperties = ecma12BinaryProperties;
|
|
9129
|
-
var ecma14BinaryProperties = ecma13BinaryProperties;
|
|
9130
9126
|
var unicodeBinaryProperties = {
|
|
9131
9127
|
9: ecma9BinaryProperties,
|
|
9132
9128
|
10: ecma10BinaryProperties,
|
|
9133
9129
|
11: ecma11BinaryProperties,
|
|
9134
9130
|
12: ecma12BinaryProperties,
|
|
9135
9131
|
13: ecma13BinaryProperties,
|
|
9136
|
-
14:
|
|
9132
|
+
14: ecma13BinaryProperties
|
|
9137
9133
|
};
|
|
9138
|
-
var ecma14BinaryPropertiesOfStrings = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";
|
|
9139
9134
|
var unicodeBinaryPropertiesOfStrings = {
|
|
9140
9135
|
9: "",
|
|
9141
9136
|
10: "",
|
|
9142
9137
|
11: "",
|
|
9143
9138
|
12: "",
|
|
9144
9139
|
13: "",
|
|
9145
|
-
14:
|
|
9140
|
+
14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
|
|
9146
9141
|
};
|
|
9147
9142
|
var unicodeGeneralCategoryValues = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";
|
|
9148
9143
|
var ecma9ScriptValues = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
|
|
@@ -9150,14 +9145,13 @@ var ecma10ScriptValues = ecma9ScriptValues + " Dogra Dogr Gunjala_Gondi Gong Han
|
|
|
9150
9145
|
var ecma11ScriptValues = ecma10ScriptValues + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
|
|
9151
9146
|
var ecma12ScriptValues = ecma11ScriptValues + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
|
|
9152
9147
|
var ecma13ScriptValues = ecma12ScriptValues + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
|
|
9153
|
-
var ecma14ScriptValues = ecma13ScriptValues + " Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz";
|
|
9154
9148
|
var unicodeScriptValues = {
|
|
9155
9149
|
9: ecma9ScriptValues,
|
|
9156
9150
|
10: ecma10ScriptValues,
|
|
9157
9151
|
11: ecma11ScriptValues,
|
|
9158
9152
|
12: ecma12ScriptValues,
|
|
9159
9153
|
13: ecma13ScriptValues,
|
|
9160
|
-
14:
|
|
9154
|
+
14: ecma13ScriptValues + " Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"
|
|
9161
9155
|
};
|
|
9162
9156
|
var data = {};
|
|
9163
9157
|
function buildUnicodeData(ecmaVersion) {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { O as $2add3ce32c6007eb$export$9ac100e40613ea10, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, W as $d447af545b77c9f1$export$b204af158042fbac } from "./useHover-lyApu3ba.js";
|
|
2
|
+
//#region node_modules/react-aria/dist/private/utils/constants.mjs
|
|
3
|
+
var $8b2399d051d06d4c$export$447a38995de2c711 = "react-aria-clear-focus";
|
|
4
|
+
var $8b2399d051d06d4c$export$831c820ad60f9d12 = "react-aria-focus";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
|
|
7
|
+
function $b72f3f7b3b5f42c6$export$76e4e37e5339496d(to) {
|
|
8
|
+
let from = $b72f3f7b3b5f42c6$export$759df0d867455a91($d447af545b77c9f1$export$b204af158042fbac(to));
|
|
9
|
+
if (from !== to) {
|
|
10
|
+
if (from) $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a(from, to);
|
|
11
|
+
if (to) $b72f3f7b3b5f42c6$export$2b35b76d2e30e129(to, from);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
function $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a(from, to) {
|
|
15
|
+
from.dispatchEvent(new FocusEvent("blur", { relatedTarget: to }));
|
|
16
|
+
from.dispatchEvent(new FocusEvent("focusout", {
|
|
17
|
+
bubbles: true,
|
|
18
|
+
relatedTarget: to
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
function $b72f3f7b3b5f42c6$export$2b35b76d2e30e129(to, from) {
|
|
22
|
+
to.dispatchEvent(new FocusEvent("focus", { relatedTarget: from }));
|
|
23
|
+
to.dispatchEvent(new FocusEvent("focusin", {
|
|
24
|
+
bubbles: true,
|
|
25
|
+
relatedTarget: from
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
function $b72f3f7b3b5f42c6$export$759df0d867455a91(document) {
|
|
29
|
+
let activeElement = $23f2114a1b82827e$export$cd4e5573fbe2b576(document);
|
|
30
|
+
let activeDescendant = activeElement?.getAttribute("aria-activedescendant");
|
|
31
|
+
if (activeDescendant) return document.getElementById(activeDescendant) || activeElement;
|
|
32
|
+
return activeElement;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
|
|
36
|
+
function $bb39c0fc1c19b34c$export$16792effe837dba3(e) {
|
|
37
|
+
if ($2add3ce32c6007eb$export$9ac100e40613ea10()) return e.metaKey;
|
|
38
|
+
return e.ctrlKey;
|
|
39
|
+
}
|
|
40
|
+
var $bb39c0fc1c19b34c$var$nonTextInputTypes = new Set([
|
|
41
|
+
"checkbox",
|
|
42
|
+
"radio",
|
|
43
|
+
"range",
|
|
44
|
+
"color",
|
|
45
|
+
"file",
|
|
46
|
+
"image",
|
|
47
|
+
"button",
|
|
48
|
+
"submit",
|
|
49
|
+
"reset"
|
|
50
|
+
]);
|
|
51
|
+
function $bb39c0fc1c19b34c$export$c57958e35f31ed73(target) {
|
|
52
|
+
return target instanceof HTMLInputElement && !$bb39c0fc1c19b34c$var$nonTextInputTypes.has(target.type) || target instanceof HTMLTextAreaElement || target instanceof HTMLElement && target.isContentEditable;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { $b72f3f7b3b5f42c6$export$759df0d867455a91 as a, $8b2399d051d06d4c$export$831c820ad60f9d12 as c, $b72f3f7b3b5f42c6$export$6c5dc7e81d2cc29a as i, $bb39c0fc1c19b34c$export$c57958e35f31ed73 as n, $b72f3f7b3b5f42c6$export$76e4e37e5339496d as o, $b72f3f7b3b5f42c6$export$2b35b76d2e30e129 as r, $8b2399d051d06d4c$export$447a38995de2c711 as s, $bb39c0fc1c19b34c$export$16792effe837dba3 as t };
|