@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
package/dist/Form-DTMkbrQY.js
DELETED
package/dist/Heading-Hol-wS_B.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { o as $4e85f108e88277b8$export$d688439359537581 } from "./RSPContexts-C_z0bI8W.js";
|
|
2
|
-
import { n as $64fa3d84918910a7$export$29f1550f4b0d4415, o as $64fa3d84918910a7$export$df3a06d6289f983e } from "./utils-B_uiqNa4.js";
|
|
3
|
-
import React, { forwardRef } from "react";
|
|
4
|
-
//#region node_modules/react-aria-components/dist/Heading.mjs
|
|
5
|
-
var $5cb03073d3f54797$export$a8a3e93435678ff9 = forwardRef(function Heading(props, ref) {
|
|
6
|
-
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $4e85f108e88277b8$export$d688439359537581);
|
|
7
|
-
let { children, level = 3, className, ...domProps } = props;
|
|
8
|
-
let Element = $64fa3d84918910a7$export$df3a06d6289f983e[`h${level}`];
|
|
9
|
-
return React.createElement(Element, {
|
|
10
|
-
...domProps,
|
|
11
|
-
ref,
|
|
12
|
-
className: className !== null && className !== void 0 ? className : "react-aria-Heading"
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { $5cb03073d3f54797$export$a8a3e93435678ff9 as t };
|
package/dist/Input-BURqyJXW.js
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { n as $64fa3d84918910a7$export$29f1550f4b0d4415, o as $64fa3d84918910a7$export$df3a06d6289f983e, r as $64fa3d84918910a7$export$4d86445c2cf5e3, u as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-B_uiqNa4.js";
|
|
2
|
-
import { H as $d4ee10de306f2510$export$e58f029f0fbfdb29, r as $f645667febf57a63$export$4c014de7c8940b4c, t as $6179b936705e76d3$export$ae780daf29e6d456, v as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-qaMm3XFO.js";
|
|
3
|
-
import { t as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-_2_3GD-K.js";
|
|
4
|
-
import { t as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DdkykzAn.js";
|
|
5
|
-
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DuYL4cdO.js";
|
|
6
|
-
import { t as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-D0WrzR2F.js";
|
|
7
|
-
import { a as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, n as $e93e671b31057976$export$b8473d3665f3a75a } from "./FieldError-BWDbP5Db.js";
|
|
8
|
-
import { t as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-8TB37dpK.js";
|
|
9
|
-
import React, { createContext, forwardRef, useState } from "react";
|
|
10
|
-
//#region node_modules/@react-aria/textfield/dist/useTextField.mjs
|
|
11
|
-
function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
|
|
12
|
-
let { inputElementType = "input", isDisabled = false, isRequired = false, isReadOnly = false, type = "text", validationBehavior = "aria" } = props;
|
|
13
|
-
let [value, setValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || "", props.onChange);
|
|
14
|
-
let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c(props, ref);
|
|
15
|
-
let validationState = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
16
|
-
...props,
|
|
17
|
-
value
|
|
18
|
-
});
|
|
19
|
-
let { isInvalid, validationErrors, validationDetails } = validationState.displayValidation;
|
|
20
|
-
let { labelProps, fieldProps, descriptionProps, errorMessageProps } = $2baaea4c71418dea$export$294aa081a6c6f55d({
|
|
21
|
-
...props,
|
|
22
|
-
isInvalid,
|
|
23
|
-
errorMessage: props.errorMessage || validationErrors
|
|
24
|
-
});
|
|
25
|
-
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { labelable: true });
|
|
26
|
-
const inputOnlyProps = {
|
|
27
|
-
type,
|
|
28
|
-
pattern: props.pattern
|
|
29
|
-
};
|
|
30
|
-
let [initialValue] = useState(value);
|
|
31
|
-
var _props_defaultValue;
|
|
32
|
-
$99facab73266f662$export$5add1d006293d136(ref, (_props_defaultValue = props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : initialValue, setValue);
|
|
33
|
-
$e93e671b31057976$export$b8473d3665f3a75a(props, validationState, ref);
|
|
34
|
-
return {
|
|
35
|
-
labelProps,
|
|
36
|
-
inputProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, inputElementType === "input" ? inputOnlyProps : void 0, {
|
|
37
|
-
disabled: isDisabled,
|
|
38
|
-
readOnly: isReadOnly,
|
|
39
|
-
required: isRequired && validationBehavior === "native",
|
|
40
|
-
"aria-required": isRequired && validationBehavior === "aria" || void 0,
|
|
41
|
-
"aria-invalid": isInvalid || void 0,
|
|
42
|
-
"aria-errormessage": props["aria-errormessage"],
|
|
43
|
-
"aria-activedescendant": props["aria-activedescendant"],
|
|
44
|
-
"aria-autocomplete": props["aria-autocomplete"],
|
|
45
|
-
"aria-haspopup": props["aria-haspopup"],
|
|
46
|
-
"aria-controls": props["aria-controls"],
|
|
47
|
-
value,
|
|
48
|
-
onChange: (e) => setValue($d4ee10de306f2510$export$e58f029f0fbfdb29(e).value),
|
|
49
|
-
autoComplete: props.autoComplete,
|
|
50
|
-
autoCapitalize: props.autoCapitalize,
|
|
51
|
-
maxLength: props.maxLength,
|
|
52
|
-
minLength: props.minLength,
|
|
53
|
-
name: props.name,
|
|
54
|
-
form: props.form,
|
|
55
|
-
placeholder: props.placeholder,
|
|
56
|
-
inputMode: props.inputMode,
|
|
57
|
-
autoCorrect: props.autoCorrect,
|
|
58
|
-
spellCheck: props.spellCheck,
|
|
59
|
-
[parseInt(React.version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: props.enterKeyHint,
|
|
60
|
-
onCopy: props.onCopy,
|
|
61
|
-
onCut: props.onCut,
|
|
62
|
-
onPaste: props.onPaste,
|
|
63
|
-
onCompositionEnd: props.onCompositionEnd,
|
|
64
|
-
onCompositionStart: props.onCompositionStart,
|
|
65
|
-
onCompositionUpdate: props.onCompositionUpdate,
|
|
66
|
-
onSelect: props.onSelect,
|
|
67
|
-
onBeforeInput: props.onBeforeInput,
|
|
68
|
-
onInput: props.onInput,
|
|
69
|
-
...focusableProps,
|
|
70
|
-
...fieldProps
|
|
71
|
-
}),
|
|
72
|
-
descriptionProps,
|
|
73
|
-
errorMessageProps,
|
|
74
|
-
isInvalid,
|
|
75
|
-
validationErrors,
|
|
76
|
-
validationDetails
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
//#endregion
|
|
80
|
-
//#region node_modules/react-aria-components/dist/Group.mjs
|
|
81
|
-
var $a049562f99e7db0e$export$f9c6924e160136d1 = createContext({});
|
|
82
|
-
var $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 = forwardRef(function Group(props, ref) {
|
|
83
|
-
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $a049562f99e7db0e$export$f9c6924e160136d1);
|
|
84
|
-
let { isDisabled, isInvalid, isReadOnly, onHoverStart, onHoverChange, onHoverEnd, ...otherProps } = props;
|
|
85
|
-
isDisabled !== null && isDisabled !== void 0 || (isDisabled = !!props["aria-disabled"] && props["aria-disabled"] !== "false");
|
|
86
|
-
isInvalid !== null && isInvalid !== void 0 || (isInvalid = !!props["aria-invalid"] && props["aria-invalid"] !== "false");
|
|
87
|
-
let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
|
|
88
|
-
onHoverStart,
|
|
89
|
-
onHoverChange,
|
|
90
|
-
onHoverEnd,
|
|
91
|
-
isDisabled
|
|
92
|
-
});
|
|
93
|
-
let { isFocused, isFocusVisible, focusProps } = $f7dceffc5ad7768b$export$4e328f61c538687f({ within: true });
|
|
94
|
-
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
95
|
-
...props,
|
|
96
|
-
values: {
|
|
97
|
-
isHovered,
|
|
98
|
-
isFocusWithin: isFocused,
|
|
99
|
-
isFocusVisible,
|
|
100
|
-
isDisabled,
|
|
101
|
-
isInvalid
|
|
102
|
-
},
|
|
103
|
-
defaultClassName: "react-aria-Group"
|
|
104
|
-
});
|
|
105
|
-
var _props_role, _props_slot;
|
|
106
|
-
return React.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
|
|
107
|
-
...$3ef42575df84b30b$export$9d1611c77c2fe928(otherProps, focusProps, hoverProps),
|
|
108
|
-
...renderProps,
|
|
109
|
-
ref,
|
|
110
|
-
role: (_props_role = props.role) !== null && _props_role !== void 0 ? _props_role : "group",
|
|
111
|
-
slot: (_props_slot = props.slot) !== null && _props_slot !== void 0 ? _props_slot : void 0,
|
|
112
|
-
"data-focus-within": isFocused || void 0,
|
|
113
|
-
"data-hovered": isHovered || void 0,
|
|
114
|
-
"data-focus-visible": isFocusVisible || void 0,
|
|
115
|
-
"data-disabled": isDisabled || void 0,
|
|
116
|
-
"data-invalid": isInvalid || void 0,
|
|
117
|
-
"data-readonly": isReadOnly || void 0
|
|
118
|
-
}, renderProps.children);
|
|
119
|
-
});
|
|
120
|
-
//#endregion
|
|
121
|
-
//#region node_modules/react-aria-components/dist/Input.mjs
|
|
122
|
-
var $3985021b0ad6602f$export$37fb8590cf2c088c = createContext({});
|
|
123
|
-
var $3985021b0ad6602f$var$filterHoverProps = (props) => {
|
|
124
|
-
let { onHoverStart, onHoverChange, onHoverEnd, ...otherProps } = props;
|
|
125
|
-
return otherProps;
|
|
126
|
-
};
|
|
127
|
-
var $3985021b0ad6602f$export$f5b8910cec6cf069 = $f39a9eba43920ace$export$86427a43e3e48ebb(function Input(props, ref) {
|
|
128
|
-
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $3985021b0ad6602f$export$37fb8590cf2c088c);
|
|
129
|
-
let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
|
|
130
|
-
...props,
|
|
131
|
-
isDisabled: props.disabled
|
|
132
|
-
});
|
|
133
|
-
let { isFocused, isFocusVisible, focusProps } = $f7dceffc5ad7768b$export$4e328f61c538687f({
|
|
134
|
-
isTextInput: true,
|
|
135
|
-
autoFocus: props.autoFocus
|
|
136
|
-
});
|
|
137
|
-
let isInvalid = !!props["aria-invalid"] && props["aria-invalid"] !== "false";
|
|
138
|
-
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
139
|
-
...props,
|
|
140
|
-
values: {
|
|
141
|
-
isHovered,
|
|
142
|
-
isFocused,
|
|
143
|
-
isFocusVisible,
|
|
144
|
-
isDisabled: props.disabled || false,
|
|
145
|
-
isInvalid
|
|
146
|
-
},
|
|
147
|
-
defaultClassName: "react-aria-Input"
|
|
148
|
-
});
|
|
149
|
-
return React.createElement($64fa3d84918910a7$export$df3a06d6289f983e.input, {
|
|
150
|
-
...$3ef42575df84b30b$export$9d1611c77c2fe928($3985021b0ad6602f$var$filterHoverProps(props), focusProps, hoverProps),
|
|
151
|
-
...renderProps,
|
|
152
|
-
ref,
|
|
153
|
-
"data-focused": isFocused || void 0,
|
|
154
|
-
"data-disabled": props.disabled || void 0,
|
|
155
|
-
"data-hovered": isHovered || void 0,
|
|
156
|
-
"data-focus-visible": isFocusVisible || void 0,
|
|
157
|
-
"data-invalid": isInvalid || void 0
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
//#endregion
|
|
161
|
-
export { $2d73ec29415bd339$export$712718f7aec83d5 as a, $a049562f99e7db0e$export$f9c6924e160136d1 as i, $3985021b0ad6602f$export$f5b8910cec6cf069 as n, $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as r, $3985021b0ad6602f$export$37fb8590cf2c088c as t };
|
package/dist/Label-DFXXxMKY.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { n as $64fa3d84918910a7$export$29f1550f4b0d4415, o as $64fa3d84918910a7$export$df3a06d6289f983e } from "./utils-B_uiqNa4.js";
|
|
2
|
-
import { t as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-8TB37dpK.js";
|
|
3
|
-
import React, { createContext } from "react";
|
|
4
|
-
//#region node_modules/react-aria-components/dist/Label.mjs
|
|
5
|
-
var $01b77f81d0f07f68$export$75b6ee27786ba447 = createContext({});
|
|
6
|
-
var $01b77f81d0f07f68$export$b04be29aa201d4f5 = $f39a9eba43920ace$export$86427a43e3e48ebb(function Label(props, ref) {
|
|
7
|
-
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $01b77f81d0f07f68$export$75b6ee27786ba447);
|
|
8
|
-
let { elementType = "label", ...labelProps } = props;
|
|
9
|
-
let ElementType = $64fa3d84918910a7$export$df3a06d6289f983e[elementType];
|
|
10
|
-
return React.createElement(ElementType, {
|
|
11
|
-
className: "react-aria-Label",
|
|
12
|
-
...labelProps,
|
|
13
|
-
ref
|
|
14
|
-
});
|
|
15
|
-
});
|
|
16
|
-
//#endregion
|
|
17
|
-
export { $01b77f81d0f07f68$export$b04be29aa201d4f5 as n, $01b77f81d0f07f68$export$75b6ee27786ba447 as t };
|