@eightshift/ui-components 8.1.0 → 8.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-BUU44AuW.js → Autocomplete-Dqkum3dO.js} +29 -25
- package/dist/{Button-_E2Z5G2l.js → Button-DHgs_rCq.js} +15 -9
- package/dist/{Dialog-3XLIaepk.js → Dialog-CldDJ_4u.js} +390 -189
- package/dist/{Disclosure-Dh0z_DEQ.js → Disclosure-BHNgL5Is.js} +33 -29
- package/dist/{FocusScope-BKGWN6UK.js → FocusScope-CUuL5wjz.js} +13 -8
- package/dist/{Heading-BWTs9ckA.js → Heading-BQje2nS2.js} +1 -1
- package/dist/{I18nProvider-BskRMK8G.js → I18nProvider-R_4IDnf9.js} +1 -1
- package/dist/{Label-UpU4cKPh.js → Label-C4bJkVti.js} +1 -1
- package/dist/{ListBox-DepY-52g.js → ListBox-CZXso3mJ.js} +14 -38
- package/dist/{NumberFormatter-WKBRKiEA.js → NumberFormatter-Bwdv413k.js} +4 -2
- package/dist/{RadioGroup-Br9Mn9QJ.js → RadioGroup-BTByPMrl.js} +35 -35
- package/dist/{SearchField-q2Fj0L9K.js → SearchField-DkX1vqMN.js} +29 -26
- package/dist/{Slider-B8icnyOo.js → Slider-Dw-JjfLx.js} +55 -44
- package/dist/{Text-D4y19vs8.js → Text-CA2_mHEB.js} +4 -3
- package/dist/{VisuallyHidden-B_LZ_kn7.js → VisuallyHidden-ZZwHZDro.js} +2 -2
- package/dist/{animation-DpSgtWyu.js → animation-COc9P6ap.js} +2 -4
- package/dist/assets/{image-analysis-worker-BuHru-CI.js → image-analysis-worker-CBOB71mx.js} +1 -1
- 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/assets/wp-overrides/make-block-messages-nicer.css +1 -1
- package/dist/{build-module-DG6ZK7Ty.js → build-module-BISCoQjQ.js} +4 -4
- package/dist/{button-XSk_8UW7.js → button-ldR_tlvk.js} +64 -13
- package/dist/{checkbox-BYaS9tQ5.js → checkbox-DDyLJRY8.js} +8 -8
- package/dist/{color-swatch-6ZEIXej3.js → color-swatch-DmhdOhe4.js} +15 -16
- package/dist/components/animated-visibility/animated-visibility.js +5 -3
- package/dist/components/base-control/base-control.d.ts +1 -1
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/base-control/container.d.ts +4 -30
- package/dist/components/base-control/container.js +5 -32
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -1
- package/dist/components/button/button.d.ts +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 +8 -8
- 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.d.ts +1 -1
- package/dist/components/component-toggle/component-toggle.js +4 -4
- package/dist/components/container-panel/container-panel.js +11 -11
- package/dist/components/contextual-help/contextual-help.js +3 -3
- package/dist/components/draggable/draggable.d.ts +3 -3
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list.d.ts +3 -3
- package/dist/components/draggable-list/draggable-list.js +9 -9
- package/dist/components/expandable/expandable.js +4 -4
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +18 -17
- package/dist/components/input-field/input-field.d.ts +1 -1
- package/dist/components/input-field/input-field.js +1 -1
- package/dist/components/item-collection/item-collection.d.ts +3 -28
- package/dist/components/item-collection/item-collection.js +7 -7
- package/dist/components/link-input/link-input.d.ts +0 -2
- package/dist/components/link-input/link-input.js +1 -1
- package/dist/components/matrix-align/matrix-align.js +5 -4
- package/dist/components/menu/menu.d.ts +8 -29
- package/dist/components/menu/menu.js +11 -8
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/notice/notice.js +8 -8
- package/dist/components/number-picker/number-picker.d.ts +1 -1
- package/dist/components/number-picker/number-picker.js +1 -1
- package/dist/components/option-select/option-select.d.ts +1 -1
- package/dist/components/option-select/option-select.js +22 -16
- package/dist/components/options-panel/options-panel.js +4 -4
- package/dist/components/placeholders/file-picker-shell.js +4 -3
- package/dist/components/placeholders/file-placeholder.js +3 -2
- package/dist/components/popover/popover.js +5 -5
- package/dist/components/portal-provider/portal-provider.js +2 -1
- package/dist/components/prompt-popover/prompt-popover.d.ts +56 -0
- package/dist/components/prompt-popover/prompt-popover.js +81 -0
- package/dist/components/radio/radio.d.ts +2 -1
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/repeater/repeater-context.d.ts +0 -1
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.d.ts +5 -38
- package/dist/components/repeater/repeater.js +8 -11
- package/dist/components/responsive/mini-responsive.d.ts +0 -1
- package/dist/components/responsive/mini-responsive.js +31 -31
- package/dist/components/responsive/responsive-legacy.d.ts +0 -1
- package/dist/components/responsive/responsive-legacy.js +13 -11
- package/dist/components/responsive/responsive.d.ts +0 -1
- package/dist/components/responsive/responsive.js +29 -29
- package/dist/components/responsive-preview/responsive-preview.js +4 -4
- package/dist/components/rich-label/rich-label.d.ts +1 -1
- package/dist/components/rich-label/rich-label.js +2 -2
- package/dist/components/select/async-multi-select.d.ts +12 -13
- package/dist/components/select/async-multi-select.js +40 -21
- package/dist/components/select/async-select.d.ts +12 -13
- package/dist/components/select/async-select.js +39 -21
- package/dist/components/select/multi-select.d.ts +2 -8
- package/dist/components/select/multi-select.js +20 -20
- package/dist/components/select/shared.d.ts +7 -11
- package/dist/components/select/shared.js +2 -2
- package/dist/components/select/single-select.d.ts +2 -8
- package/dist/components/select/single-select.js +17 -17
- package/dist/components/select/styles.d.ts +2 -2
- package/dist/components/slider/column-config-slider.js +8 -6
- package/dist/components/slider/slider.js +16 -12
- package/dist/components/slider/utils.js +1 -1
- package/dist/components/smart-image/smart-image.d.ts +1 -2
- package/dist/components/smart-image/smart-image.js +53 -51
- package/dist/components/tabs/tabs.d.ts +16 -64
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/toggle/switch.d.ts +1 -1
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +2 -2
- package/dist/components/toggle-button/toggle-button.d.ts +2 -2
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{draggable-9MfdTVWP.js → draggable-oS68xcYX.js} +130 -125
- package/dist/{es-dash-DunirOmV.js → es-dash-DPtJSRjw.js} +23 -52
- package/dist/{gradient-editor-yqSw0uPA.js → gradient-editor-DP8ioFX1.js} +39 -30
- package/dist/icons/block-icon.js +1 -1
- package/dist/icons/icon.d.ts +3 -3
- package/dist/icons/icon.js +21 -9
- package/dist/icons/icons.d.ts +210 -1
- package/dist/icons/index.js +1 -1
- package/dist/icons/jsx-svg.d.ts +5 -4
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/index.js +18 -17
- package/dist/{input-field-nN6BO0oz.js → input-field-C-XvZeCZ.js} +8 -8
- package/dist/{jsx-svg-BjGQUBLh.js → jsx-svg-DRwJdRpA.js} +171 -129
- package/dist/{keyboard-g5Amam-c.js → keyboard-Cdqi5ZQQ.js} +1 -1
- package/dist/{link-input-BhlPElU8.js → link-input-DdwuqoMg.js} +147 -89
- package/dist/{modal-B5axB0Fc.js → modal-DZco5MDu.js} +15 -14
- package/dist/{number-picker-nnOf0XnN.js → number-picker-XqKW0BNi.js} +9 -9
- package/dist/{react-y40Dt3ab.js → react-O71mlJXS.js} +250 -266
- package/dist/{shared-Ba_bt4s9.js → shared-YXMIX2ka.js} +60 -44
- package/dist/{solid-color-picker-CsosgTVa.js → solid-color-picker-D5LEdmDM.js} +78 -58
- package/dist/{switch-BJ4_OyUm.js → switch-Bo6nmed_.js} +8 -8
- package/dist/{tabs-wAe0AAyu.js → tabs-DE-qb7Kt.js} +35 -30
- package/dist/{text-helpers-2j9DuxP1.js → text-helpers-QrwKKaOh.js} +3 -2
- package/dist/{textSelection-B_Nv6Jz3.js → textSelection-C17LWYmO.js} +3 -3
- package/dist/{toggle-button-BLJdEp8V.js → toggle-button-Cb4yCEua.js} +39 -8
- package/dist/{tooltip-BW9nj5-V.js → tooltip-CT-vzIdz.js} +68 -62
- package/dist/{useAsyncList-B3-uyJgA.js → useAsyncList-CjKVLGN0.js} +8 -4
- package/dist/{useButton-CPMVLXoX.js → useButton-V65TBDGM.js} +3 -3
- package/dist/{useCollection-PzY6FI39.js → useCollection-DqUS7tjk.js} +281 -184
- package/dist/useEvent-C9zwSNzZ.js +18 -0
- package/dist/{useField-DrfR8j9h.js → useField-B_ibsWst.js} +2 -2
- package/dist/{useFilter-CiCjo6Na.js → useFilter-C75IzdIZ.js} +1 -1
- package/dist/{useFocusRing-CrYHpV7C.js → useFocusRing-JidySWlU.js} +1 -1
- package/dist/{useFormReset-U6c35PHq.js → useFormReset-Sp8-miDa.js} +1 -1
- package/dist/{useFormValidation-B2q2MGWN.js → useFormValidation-CpmQEh8J.js} +2 -2
- package/dist/{useHover-CNsbAR0V.js → useHover-CaY3sRjL.js} +250 -46
- package/dist/{useLabel-DuxAjaic.js → useLabel-gfFDE4bn.js} +2 -2
- package/dist/{useLabels-NUsp5IW3.js → useLabels-Dcg-cEyM.js} +1 -1
- package/dist/{useListState-FLxa7R_U.js → useListState-CzB3v6M9.js} +6 -11
- package/dist/{useLocalizedStringFormatter-Ccm8EL_u.js → useLocalizedStringFormatter-CTCqjYu4.js} +6 -1
- package/dist/{useNumberFieldState-DWvm7CXu.js → useNumberFieldState-DC3XY3DQ.js} +79 -62
- package/dist/{useNumberFormatter-B0_D7a_o.js → useNumberFormatter-DbAt_fC_.js} +2 -2
- package/dist/{useOverlayTriggerState-zZ7homyI.js → useOverlayTriggerState-BKmSTK_5.js} +16 -11
- package/dist/{usePress-DRoujMNm.js → usePress-CUCWcP-m.js} +50 -28
- package/dist/{useSlot-pRz-v9kC.js → useSlot-CnQHcvd4.js} +1 -1
- package/dist/{useTextField-e8jIFT3s.js → useTextField-C3QIkMON.js} +6 -6
- package/dist/{useToggle-CR_ZKvr_.js → useToggle-bbGRUbo4.js} +6 -6
- package/dist/{useToggleState-ButQxGrJ.js → useToggleState-D_rLMrVW.js} +1 -1
- package/dist/utilities/array-helpers.d.ts +2 -2
- package/dist/utilities/array-helpers.js +4 -3
- package/dist/utilities/debounce-throttle.d.ts +9 -2
- package/dist/utilities/es-dash.d.ts +11 -8
- package/dist/utilities/es-dash.js +1 -1
- package/dist/utilities/index.js +2 -2
- package/dist/utilities/text-helpers.js +1 -1
- package/dist/utilities/web-workers.d.ts +7 -7
- package/dist/utilities/web-workers.js +5 -5
- package/dist/{utils-Czi6q2Ub.js → utils-ClM91CuL.js} +30 -19
- package/package.json +23 -27
- package/dist/useEvent-CzuFZ2HT.js +0 -22
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AnimatedVisibility } from "./components/animated-visibility/animated-visibility.js";
|
|
2
|
-
import { t as LinkInput } from "./link-input-
|
|
3
|
-
import { t as Checkbox } from "./checkbox-
|
|
4
|
-
import { t as SolidColorPicker } from "./solid-color-picker-
|
|
5
|
-
import { t as ColorSwatch } from "./color-swatch-
|
|
6
|
-
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "./tabs-
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import { n as
|
|
2
|
+
import { t as LinkInput } from "./link-input-DdwuqoMg.js";
|
|
3
|
+
import { t as Checkbox } from "./checkbox-DDyLJRY8.js";
|
|
4
|
+
import { t as SolidColorPicker } from "./solid-color-picker-D5LEdmDM.js";
|
|
5
|
+
import { t as ColorSwatch } from "./color-swatch-DmhdOhe4.js";
|
|
6
|
+
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "./tabs-DE-qb7Kt.js";
|
|
7
|
+
import { n as Tooltip, t as DecorativeTooltip } from "./tooltip-CT-vzIdz.js";
|
|
8
|
+
import { t as Modal } from "./modal-DZco5MDu.js";
|
|
9
|
+
import { t as NumberPicker } from "./number-picker-XqKW0BNi.js";
|
|
10
|
+
import { t as Switch } from "./switch-Bo6nmed_.js";
|
|
11
|
+
import { t as InputField } from "./input-field-C-XvZeCZ.js";
|
|
12
|
+
import { t as ToggleButton } from "./toggle-button-Cb4yCEua.js";
|
|
13
|
+
import { n as ButtonGroup, t as Button } from "./button-ldR_tlvk.js";
|
|
14
14
|
import { RichLabel } from "./components/rich-label/rich-label.js";
|
|
15
15
|
import { BaseControl } from "./components/base-control/base-control.js";
|
|
16
16
|
import { BreakpointPreview } from "./components/breakpoint-preview/breakpoint-preview.js";
|
|
@@ -24,17 +24,17 @@ import { Menu, MenuItem, MenuSection, MenuSectionHeader, MenuSeparator, SubMenuI
|
|
|
24
24
|
import { ColorPicker } from "./components/color-pickers/color-picker.js";
|
|
25
25
|
import { getColumnConfigOutputText } from "./components/slider/utils.js";
|
|
26
26
|
import { ColumnConfigSlider, ColumnConfigSliderOutput } from "./components/slider/column-config-slider.js";
|
|
27
|
-
import { Container, ContainerGroup } from "./components/base-control/container.js";
|
|
27
|
+
import { Container as TypedContainer, ContainerGroup as TypedContainerGroup } from "./components/base-control/container.js";
|
|
28
28
|
import { ContextualHelp } from "./components/contextual-help/contextual-help.js";
|
|
29
29
|
import { DraggableList } from "./components/draggable-list/draggable-list.js";
|
|
30
30
|
import { DraggableListItem, DraggableListItemHandle } from "./components/draggable-list/draggable-list-item.js";
|
|
31
31
|
import { DraggableContext } from "./components/draggable/draggable-context.js";
|
|
32
|
-
import { t as Draggable } from "./draggable-
|
|
32
|
+
import { t as Draggable } from "./draggable-oS68xcYX.js";
|
|
33
33
|
import { DraggableHandle } from "./components/draggable/draggable-handle.js";
|
|
34
34
|
import { SmartImage } from "./components/smart-image/smart-image.js";
|
|
35
35
|
import { FilePickerShell } from "./components/placeholders/file-picker-shell.js";
|
|
36
36
|
import { FilePlaceholder } from "./components/placeholders/file-placeholder.js";
|
|
37
|
-
import { t as GradientEditor } from "./gradient-editor-
|
|
37
|
+
import { t as GradientEditor } from "./gradient-editor-DP8ioFX1.js";
|
|
38
38
|
import { MatrixAlign } from "./components/matrix-align/matrix-align.js";
|
|
39
39
|
import { RadioButton, RadioButtonGroup } from "./components/radio/radio.js";
|
|
40
40
|
import { OptionSelect } from "./components/option-select/option-select.js";
|
|
@@ -46,6 +46,8 @@ import { MediaPlaceholder } from "./components/placeholders/media-placeholder.js
|
|
|
46
46
|
import { ResponsivePreview } from "./components/responsive-preview/responsive-preview.js";
|
|
47
47
|
import { MiniResponsive } from "./components/responsive/mini-responsive.js";
|
|
48
48
|
import { Notice } from "./components/notice/notice.js";
|
|
49
|
+
import { VStack } from "./components/layout/vstack.js";
|
|
50
|
+
import { PromptPopover } from "./components/prompt-popover/prompt-popover.js";
|
|
49
51
|
import { PortalProvider } from "./components/portal-provider/portal-provider.js";
|
|
50
52
|
import { Repeater } from "./components/repeater/repeater.js";
|
|
51
53
|
import { RepeaterItem } from "./components/repeater/repeater-item.js";
|
|
@@ -56,6 +58,5 @@ import { AsyncSelect } from "./components/select/async-select.js";
|
|
|
56
58
|
import { MultiSelect } from "./components/select/multi-select.js";
|
|
57
59
|
import { OptionsPanel, OptionsPanelHeader, OptionsPanelIntro, OptionsPanelSection } from "./components/options-panel/options-panel.js";
|
|
58
60
|
import { Select } from "./components/select/single-select.js";
|
|
59
|
-
import { VStack } from "./components/layout/vstack.js";
|
|
60
61
|
import "./components/index.js";
|
|
61
|
-
export { AnimatedVisibility, AsyncMultiSelect, AsyncSelect, BaseControl, BreakpointPreview, Button, ButtonGroup, Checkbox, ColorPicker, ColorSwatch, ColumnConfigSlider, ColumnConfigSliderOutput, ComponentToggle, Container, ContainerGroup, ContainerPanel, ContextualHelp, DecorativeTooltip, Draggable, DraggableContext, DraggableHandle, DraggableList, DraggableListItem, DraggableListItemHandle, Expandable, FilePickerShell, FilePlaceholder, GradientEditor, HStack, ImagePlaceholder, InputField, ItemCollection, LinkInput, MatrixAlign, MediaPlaceholder, Menu, MenuItem, MenuSection, MenuSectionHeader, MenuSeparator, MiniResponsive, Modal, MultiSelect, Notice, NumberPicker, OptionSelect, OptionsPanel, OptionsPanelHeader, OptionsPanelIntro, OptionsPanelSection, Popover, PortalProvider, RadioButton, RadioButtonGroup, Repeater, RepeaterItem, Responsive, ResponsiveLegacy, ResponsivePreview, RichLabel, Select, Slider, SmartImage, SolidColorPicker, Spacer, SubMenuItem, Switch, Tab, TabList, TabPanel, Tabs, Toggle, ToggleButton, Tooltip, TriggeredPopover, VStack, getColumnConfigOutputText };
|
|
62
|
+
export { AnimatedVisibility, AsyncMultiSelect, AsyncSelect, BaseControl, BreakpointPreview, Button, ButtonGroup, Checkbox, ColorPicker, ColorSwatch, ColumnConfigSlider, ColumnConfigSliderOutput, ComponentToggle, TypedContainer as Container, TypedContainerGroup as ContainerGroup, ContainerPanel, ContextualHelp, DecorativeTooltip, Draggable, DraggableContext, DraggableHandle, DraggableList, DraggableListItem, DraggableListItemHandle, Expandable, FilePickerShell, FilePlaceholder, GradientEditor, HStack, ImagePlaceholder, InputField, ItemCollection, LinkInput, MatrixAlign, MediaPlaceholder, Menu, MenuItem, MenuSection, MenuSectionHeader, MenuSeparator, MiniResponsive, Modal, MultiSelect, Notice, NumberPicker, OptionSelect, OptionsPanel, OptionsPanelHeader, OptionsPanelIntro, OptionsPanelSection, Popover, PortalProvider, PromptPopover, RadioButton, RadioButtonGroup, Repeater, RepeaterItem, Responsive, ResponsiveLegacy, ResponsivePreview, RichLabel, Select, Slider, SmartImage, SolidColorPicker, Spacer, SubMenuItem, Switch, Tab, TabList, TabPanel, Tabs, Toggle, ToggleButton, Tooltip, TriggeredPopover, VStack, getColumnConfigOutputText };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-DQoRUQAf.js";
|
|
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-
|
|
3
|
-
import { t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-
|
|
4
|
-
import { n as $4b38b5b75ecc6208$export$698f465ec27e93df } from "./Autocomplete-
|
|
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-ClM91CuL.js";
|
|
3
|
+
import { t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-CaY3sRjL.js";
|
|
4
|
+
import { n as $4b38b5b75ecc6208$export$698f465ec27e93df } from "./Autocomplete-Dqkum3dO.js";
|
|
5
5
|
import { t as $d7f64c32b702fe2c$export$86427a43e3e48ebb } from "./Hidden-C4Saxkx9.js";
|
|
6
6
|
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-CgeMQsGa.js";
|
|
7
|
-
import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-
|
|
8
|
-
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5, t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-
|
|
9
|
-
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-
|
|
10
|
-
import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useField-
|
|
7
|
+
import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-JidySWlU.js";
|
|
8
|
+
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5, t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-C4bJkVti.js";
|
|
9
|
+
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-CA2_mHEB.js";
|
|
10
|
+
import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useField-B_ibsWst.js";
|
|
11
11
|
import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BWMVEpwR.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-
|
|
12
|
+
import { a as $3a442827418ebe87$export$f9c6924e160136d1, n as $41fb335299a4a39e$export$37fb8590cf2c088c, r as $41fb335299a4a39e$export$f5b8910cec6cf069, t as $054f71d2330da2e3$export$712718f7aec83d5 } from "./useTextField-C3QIkMON.js";
|
|
13
13
|
import { BaseControl } from "./components/base-control/base-control.js";
|
|
14
14
|
import { t as cva } from "./dist-DpXluZqJ.js";
|
|
15
15
|
import $3ARPR$react, { createContext, forwardRef, useCallback, useRef, useState } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import $3ARPR$react, { Fragment } from "react";
|
|
1
|
+
import $3ARPR$react, { Fragment, createElement, useId } from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region node_modules/svg-to-jsx-string/dist/svg-to-jsx-string.esm.js
|
|
4
4
|
function getLocator(source, options) {
|
|
@@ -2118,9 +2118,11 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
2118
2118
|
this.parseVar(init$1, true, kind);
|
|
2119
2119
|
this.finishNode(init$1, "VariableDeclaration");
|
|
2120
2120
|
if ((this.type === types$12._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && init$1.declarations.length === 1) {
|
|
2121
|
-
if (this.options.ecmaVersion >= 9)
|
|
2122
|
-
if (
|
|
2123
|
-
|
|
2121
|
+
if (this.options.ecmaVersion >= 9) {
|
|
2122
|
+
if (this.type === types$12._in) {
|
|
2123
|
+
if (awaitAt > -1) this.unexpected(awaitAt);
|
|
2124
|
+
} else node.await = awaitAt > -1;
|
|
2125
|
+
}
|
|
2124
2126
|
return this.parseForIn(node, init$1);
|
|
2125
2127
|
}
|
|
2126
2128
|
if (awaitAt > -1) this.unexpected(awaitAt);
|
|
@@ -2419,13 +2421,17 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
2419
2421
|
else keyName = "static";
|
|
2420
2422
|
}
|
|
2421
2423
|
node.static = isStatic;
|
|
2422
|
-
if (!keyName && ecmaVersion3 >= 8 && this.eatContextual("async"))
|
|
2423
|
-
|
|
2424
|
+
if (!keyName && ecmaVersion3 >= 8 && this.eatContextual("async")) {
|
|
2425
|
+
if ((this.isClassElementNameStart() || this.type === types$12.star) && !this.canInsertSemicolon()) isAsync = true;
|
|
2426
|
+
else keyName = "async";
|
|
2427
|
+
}
|
|
2424
2428
|
if (!keyName && (ecmaVersion3 >= 9 || !isAsync) && this.eat(types$12.star)) isGenerator = true;
|
|
2425
2429
|
if (!keyName && !isAsync && !isGenerator) {
|
|
2426
2430
|
var lastValue = this.value;
|
|
2427
|
-
if (this.eatContextual("get") || this.eatContextual("set"))
|
|
2428
|
-
|
|
2431
|
+
if (this.eatContextual("get") || this.eatContextual("set")) {
|
|
2432
|
+
if (this.isClassElementNameStart()) kind = lastValue;
|
|
2433
|
+
else keyName = lastValue;
|
|
2434
|
+
}
|
|
2429
2435
|
}
|
|
2430
2436
|
if (keyName) {
|
|
2431
2437
|
node.computed = false;
|
|
@@ -2520,8 +2526,10 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
2520
2526
|
var parent = len === 0 ? null : this.privateNameStack[len - 1];
|
|
2521
2527
|
for (var i3 = 0; i3 < used.length; ++i3) {
|
|
2522
2528
|
var id = used[i3];
|
|
2523
|
-
if (!hasOwn2(declared, id.name))
|
|
2524
|
-
|
|
2529
|
+
if (!hasOwn2(declared, id.name)) {
|
|
2530
|
+
if (parent) parent.used.push(id);
|
|
2531
|
+
else this.raiseRecoverable(id.start, "Private field '#" + id.name + "' must be declared in an enclosing class");
|
|
2532
|
+
}
|
|
2525
2533
|
}
|
|
2526
2534
|
};
|
|
2527
2535
|
function isPrivateNameConflicted2(privateNameMap, element) {
|
|
@@ -2543,10 +2551,12 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
2543
2551
|
return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
|
|
2544
2552
|
}
|
|
2545
2553
|
pp$82.parseExportAllDeclaration = function(node, exports3) {
|
|
2546
|
-
if (this.options.ecmaVersion >= 11)
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2554
|
+
if (this.options.ecmaVersion >= 11) {
|
|
2555
|
+
if (this.eatContextual("as")) {
|
|
2556
|
+
node.exported = this.parseModuleExportName();
|
|
2557
|
+
this.checkExport(exports3, node.exported, this.lastTokStart);
|
|
2558
|
+
} else node.exported = null;
|
|
2559
|
+
}
|
|
2550
2560
|
this.expectContextual("from");
|
|
2551
2561
|
if (this.type !== types$12.string) this.unexpected();
|
|
2552
2562
|
node.source = this.parseExprAtom();
|
|
@@ -3032,9 +3042,11 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
3032
3042
|
var kind = prop.kind;
|
|
3033
3043
|
if (this.options.ecmaVersion >= 6) {
|
|
3034
3044
|
if (name === "__proto__" && kind === "init") {
|
|
3035
|
-
if (propHash.proto)
|
|
3036
|
-
if (refDestructuringErrors
|
|
3037
|
-
|
|
3045
|
+
if (propHash.proto) {
|
|
3046
|
+
if (refDestructuringErrors) {
|
|
3047
|
+
if (refDestructuringErrors.doubleProto < 0) refDestructuringErrors.doubleProto = key.start;
|
|
3048
|
+
} else this.raiseRecoverable(key.start, "Redefinition of __proto__ property");
|
|
3049
|
+
}
|
|
3038
3050
|
propHash.proto = true;
|
|
3039
3051
|
}
|
|
3040
3052
|
return;
|
|
@@ -3065,8 +3077,10 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
3065
3077
|
return expr;
|
|
3066
3078
|
};
|
|
3067
3079
|
pp$52.parseMaybeAssign = function(forInit, refDestructuringErrors, afterLeftParse) {
|
|
3068
|
-
if (this.isContextual("yield"))
|
|
3069
|
-
|
|
3080
|
+
if (this.isContextual("yield")) {
|
|
3081
|
+
if (this.inGenerator) return this.parseYield(forInit);
|
|
3082
|
+
else this.exprAllowed = false;
|
|
3083
|
+
}
|
|
3070
3084
|
var ownDestructuringErrors = false, oldParenAssign = -1, oldTrailingComma = -1, oldDoubleProto = -1;
|
|
3071
3085
|
if (refDestructuringErrors) {
|
|
3072
3086
|
oldParenAssign = refDestructuringErrors.parenthesizedAssign;
|
|
@@ -3182,9 +3196,10 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
3182
3196
|
expr = this.finishNode(node$1, "UpdateExpression");
|
|
3183
3197
|
}
|
|
3184
3198
|
}
|
|
3185
|
-
if (!incDec && this.eat(types$12.starstar))
|
|
3186
|
-
|
|
3187
|
-
|
|
3199
|
+
if (!incDec && this.eat(types$12.starstar)) {
|
|
3200
|
+
if (sawUnary) this.unexpected(this.lastTokStart);
|
|
3201
|
+
else return this.buildBinary(startPos, startLoc, expr, this.parseMaybeUnary(null, false, false, forInit), "**", false);
|
|
3202
|
+
} else return expr;
|
|
3188
3203
|
};
|
|
3189
3204
|
function isLocalVariableAccess2(node) {
|
|
3190
3205
|
return node.type === "Identifier" || node.type === "ParenthesizedExpression" && isLocalVariableAccess2(node.expression);
|
|
@@ -3604,12 +3619,14 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
3604
3619
|
} else this.unexpected();
|
|
3605
3620
|
};
|
|
3606
3621
|
pp$52.parsePropertyName = function(prop) {
|
|
3607
|
-
if (this.options.ecmaVersion >= 6)
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3622
|
+
if (this.options.ecmaVersion >= 6) {
|
|
3623
|
+
if (this.eat(types$12.bracketL)) {
|
|
3624
|
+
prop.computed = true;
|
|
3625
|
+
prop.key = this.parseMaybeAssign();
|
|
3626
|
+
this.expect(types$12.bracketR);
|
|
3627
|
+
return prop.key;
|
|
3628
|
+
} else prop.computed = false;
|
|
3629
|
+
}
|
|
3613
3630
|
return prop.key = this.type === types$12.num || this.type === types$12.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
|
|
3614
3631
|
};
|
|
3615
3632
|
pp$52.initFunction = function(node) {
|
|
@@ -3744,8 +3761,10 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
3744
3761
|
else this.unexpected();
|
|
3745
3762
|
this.next();
|
|
3746
3763
|
this.finishNode(node, "PrivateIdentifier");
|
|
3747
|
-
if (this.options.checkPrivateFields)
|
|
3748
|
-
|
|
3764
|
+
if (this.options.checkPrivateFields) {
|
|
3765
|
+
if (this.privateNameStack.length === 0) this.raise(node.start, "Private field '#" + node.name + "' must be declared in an enclosing class");
|
|
3766
|
+
else this.privateNameStack[this.privateNameStack.length - 1].used.push(node);
|
|
3767
|
+
}
|
|
3749
3768
|
return node;
|
|
3750
3769
|
};
|
|
3751
3770
|
pp$52.parseYield = function(forInit) {
|
|
@@ -4235,9 +4254,11 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
4235
4254
|
if (!this.regexp_eatGroupName(state)) state.raise("Invalid group");
|
|
4236
4255
|
var trackDisjunction = this.options.ecmaVersion >= 16;
|
|
4237
4256
|
var known = state.groupNames[state.lastStringValue];
|
|
4238
|
-
if (known)
|
|
4239
|
-
|
|
4240
|
-
|
|
4257
|
+
if (known) {
|
|
4258
|
+
if (trackDisjunction) {
|
|
4259
|
+
for (var i3 = 0, list3 = known; i3 < list3.length; i3 += 1) if (!list3[i3].separatedFrom(state.branchID)) state.raise("Duplicate capture group name");
|
|
4260
|
+
} else state.raise("Duplicate capture group name");
|
|
4261
|
+
}
|
|
4241
4262
|
if (trackDisjunction) (known || (state.groupNames[state.lastStringValue] = [])).push(state.branchID);
|
|
4242
4263
|
else state.groupNames[state.lastStringValue] = true;
|
|
4243
4264
|
}
|
|
@@ -5248,12 +5269,14 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
5248
5269
|
if (this.pos >= this.input.length) this.raise(this.start, "Unterminated template");
|
|
5249
5270
|
var ch = this.input.charCodeAt(this.pos);
|
|
5250
5271
|
if (ch === 96 || ch === 36 && this.input.charCodeAt(this.pos + 1) === 123) {
|
|
5251
|
-
if (this.pos === this.start && (this.type === types$12.template || this.type === types$12.invalidTemplate))
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5272
|
+
if (this.pos === this.start && (this.type === types$12.template || this.type === types$12.invalidTemplate)) {
|
|
5273
|
+
if (ch === 36) {
|
|
5274
|
+
this.pos += 2;
|
|
5275
|
+
return this.finishToken(types$12.dollarBraceL);
|
|
5276
|
+
} else {
|
|
5277
|
+
++this.pos;
|
|
5278
|
+
return this.finishToken(types$12.backQuote);
|
|
5279
|
+
}
|
|
5257
5280
|
}
|
|
5258
5281
|
out += this.input.slice(chunkStart, this.pos);
|
|
5259
5282
|
return this.finishToken(types$12.template, out);
|
|
@@ -5271,9 +5294,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
5271
5294
|
out += `
|
|
5272
5295
|
`;
|
|
5273
5296
|
break;
|
|
5274
|
-
default:
|
|
5275
|
-
out += String.fromCharCode(ch);
|
|
5276
|
-
break;
|
|
5297
|
+
default: out += String.fromCharCode(ch);
|
|
5277
5298
|
}
|
|
5278
5299
|
if (this.options.locations) {
|
|
5279
5300
|
++this.curLine;
|
|
@@ -5298,7 +5319,6 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
5298
5319
|
case "\u2029":
|
|
5299
5320
|
++this.curLine;
|
|
5300
5321
|
this.lineStart = this.pos + 1;
|
|
5301
|
-
break;
|
|
5302
5322
|
}
|
|
5303
5323
|
this.raise(this.start, "Unterminated template");
|
|
5304
5324
|
};
|
|
@@ -5601,14 +5621,15 @@ var require_acorn_jsx = __commonJS((exports, module) => {
|
|
|
5601
5621
|
while (this.pos < this.input.length && count++ < 10) {
|
|
5602
5622
|
ch = this.input[this.pos++];
|
|
5603
5623
|
if (ch === ";") {
|
|
5604
|
-
if (str[0] === "#")
|
|
5605
|
-
str
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5624
|
+
if (str[0] === "#") {
|
|
5625
|
+
if (str[1] === "x") {
|
|
5626
|
+
str = str.substr(2);
|
|
5627
|
+
if (hexNumber.test(str)) entity = String.fromCharCode(parseInt(str, 16));
|
|
5628
|
+
} else {
|
|
5629
|
+
str = str.substr(1);
|
|
5630
|
+
if (decimalNumber.test(str)) entity = String.fromCharCode(parseInt(str, 10));
|
|
5631
|
+
}
|
|
5632
|
+
} else entity = XHTMLEntities[str];
|
|
5612
5633
|
break;
|
|
5613
5634
|
}
|
|
5614
5635
|
str += ch;
|
|
@@ -7359,9 +7380,11 @@ pp$8.parseForStatement = function(node) {
|
|
|
7359
7380
|
this.parseVar(init$1, true, kind);
|
|
7360
7381
|
this.finishNode(init$1, "VariableDeclaration");
|
|
7361
7382
|
if ((this.type === types$1._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && init$1.declarations.length === 1) {
|
|
7362
|
-
if (this.options.ecmaVersion >= 9)
|
|
7363
|
-
if (
|
|
7364
|
-
|
|
7383
|
+
if (this.options.ecmaVersion >= 9) {
|
|
7384
|
+
if (this.type === types$1._in) {
|
|
7385
|
+
if (awaitAt > -1) this.unexpected(awaitAt);
|
|
7386
|
+
} else node.await = awaitAt > -1;
|
|
7387
|
+
}
|
|
7365
7388
|
return this.parseForIn(node, init$1);
|
|
7366
7389
|
}
|
|
7367
7390
|
if (awaitAt > -1) this.unexpected(awaitAt);
|
|
@@ -7662,13 +7685,17 @@ pp$8.parseClassElement = function(constructorAllowsSuper) {
|
|
|
7662
7685
|
else keyName = "static";
|
|
7663
7686
|
}
|
|
7664
7687
|
node.static = isStatic;
|
|
7665
|
-
if (!keyName && ecmaVersion >= 8 && this.eatContextual("async"))
|
|
7666
|
-
|
|
7688
|
+
if (!keyName && ecmaVersion >= 8 && this.eatContextual("async")) {
|
|
7689
|
+
if ((this.isClassElementNameStart() || this.type === types$1.star) && !this.canInsertSemicolon()) isAsync = true;
|
|
7690
|
+
else keyName = "async";
|
|
7691
|
+
}
|
|
7667
7692
|
if (!keyName && (ecmaVersion >= 9 || !isAsync) && this.eat(types$1.star)) isGenerator = true;
|
|
7668
7693
|
if (!keyName && !isAsync && !isGenerator) {
|
|
7669
7694
|
var lastValue = this.value;
|
|
7670
|
-
if (this.eatContextual("get") || this.eatContextual("set"))
|
|
7671
|
-
|
|
7695
|
+
if (this.eatContextual("get") || this.eatContextual("set")) {
|
|
7696
|
+
if (this.isClassElementNameStart()) kind = lastValue;
|
|
7697
|
+
else keyName = lastValue;
|
|
7698
|
+
}
|
|
7672
7699
|
}
|
|
7673
7700
|
if (keyName) {
|
|
7674
7701
|
node.computed = false;
|
|
@@ -7763,8 +7790,10 @@ pp$8.exitClassBody = function() {
|
|
|
7763
7790
|
var parent = len === 0 ? null : this.privateNameStack[len - 1];
|
|
7764
7791
|
for (var i = 0; i < used.length; ++i) {
|
|
7765
7792
|
var id = used[i];
|
|
7766
|
-
if (!hasOwn(declared, id.name))
|
|
7767
|
-
|
|
7793
|
+
if (!hasOwn(declared, id.name)) {
|
|
7794
|
+
if (parent) parent.used.push(id);
|
|
7795
|
+
else this.raiseRecoverable(id.start, "Private field '#" + id.name + "' must be declared in an enclosing class");
|
|
7796
|
+
}
|
|
7768
7797
|
}
|
|
7769
7798
|
};
|
|
7770
7799
|
function isPrivateNameConflicted(privateNameMap, element) {
|
|
@@ -7786,10 +7815,12 @@ function checkKeyName(node, name) {
|
|
|
7786
7815
|
return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
|
|
7787
7816
|
}
|
|
7788
7817
|
pp$8.parseExportAllDeclaration = function(node, exports) {
|
|
7789
|
-
if (this.options.ecmaVersion >= 11)
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7818
|
+
if (this.options.ecmaVersion >= 11) {
|
|
7819
|
+
if (this.eatContextual("as")) {
|
|
7820
|
+
node.exported = this.parseModuleExportName();
|
|
7821
|
+
this.checkExport(exports, node.exported, this.lastTokStart);
|
|
7822
|
+
} else node.exported = null;
|
|
7823
|
+
}
|
|
7793
7824
|
this.expectContextual("from");
|
|
7794
7825
|
if (this.type !== types$1.string) this.unexpected();
|
|
7795
7826
|
node.source = this.parseExprAtom();
|
|
@@ -8275,9 +8306,11 @@ pp$5.checkPropClash = function(prop, propHash, refDestructuringErrors) {
|
|
|
8275
8306
|
var kind = prop.kind;
|
|
8276
8307
|
if (this.options.ecmaVersion >= 6) {
|
|
8277
8308
|
if (name === "__proto__" && kind === "init") {
|
|
8278
|
-
if (propHash.proto)
|
|
8279
|
-
if (refDestructuringErrors
|
|
8280
|
-
|
|
8309
|
+
if (propHash.proto) {
|
|
8310
|
+
if (refDestructuringErrors) {
|
|
8311
|
+
if (refDestructuringErrors.doubleProto < 0) refDestructuringErrors.doubleProto = key.start;
|
|
8312
|
+
} else this.raiseRecoverable(key.start, "Redefinition of __proto__ property");
|
|
8313
|
+
}
|
|
8281
8314
|
propHash.proto = true;
|
|
8282
8315
|
}
|
|
8283
8316
|
return;
|
|
@@ -8308,8 +8341,10 @@ pp$5.parseExpression = function(forInit, refDestructuringErrors) {
|
|
|
8308
8341
|
return expr;
|
|
8309
8342
|
};
|
|
8310
8343
|
pp$5.parseMaybeAssign = function(forInit, refDestructuringErrors, afterLeftParse) {
|
|
8311
|
-
if (this.isContextual("yield"))
|
|
8312
|
-
|
|
8344
|
+
if (this.isContextual("yield")) {
|
|
8345
|
+
if (this.inGenerator) return this.parseYield(forInit);
|
|
8346
|
+
else this.exprAllowed = false;
|
|
8347
|
+
}
|
|
8313
8348
|
var ownDestructuringErrors = false, oldParenAssign = -1, oldTrailingComma = -1, oldDoubleProto = -1;
|
|
8314
8349
|
if (refDestructuringErrors) {
|
|
8315
8350
|
oldParenAssign = refDestructuringErrors.parenthesizedAssign;
|
|
@@ -8425,9 +8460,10 @@ pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forIni
|
|
|
8425
8460
|
expr = this.finishNode(node$1, "UpdateExpression");
|
|
8426
8461
|
}
|
|
8427
8462
|
}
|
|
8428
|
-
if (!incDec && this.eat(types$1.starstar))
|
|
8429
|
-
|
|
8430
|
-
|
|
8463
|
+
if (!incDec && this.eat(types$1.starstar)) {
|
|
8464
|
+
if (sawUnary) this.unexpected(this.lastTokStart);
|
|
8465
|
+
else return this.buildBinary(startPos, startLoc, expr, this.parseMaybeUnary(null, false, false, forInit), "**", false);
|
|
8466
|
+
} else return expr;
|
|
8431
8467
|
};
|
|
8432
8468
|
function isLocalVariableAccess(node) {
|
|
8433
8469
|
return node.type === "Identifier" || node.type === "ParenthesizedExpression" && isLocalVariableAccess(node.expression);
|
|
@@ -8847,12 +8883,14 @@ pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP
|
|
|
8847
8883
|
} else this.unexpected();
|
|
8848
8884
|
};
|
|
8849
8885
|
pp$5.parsePropertyName = function(prop) {
|
|
8850
|
-
if (this.options.ecmaVersion >= 6)
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8886
|
+
if (this.options.ecmaVersion >= 6) {
|
|
8887
|
+
if (this.eat(types$1.bracketL)) {
|
|
8888
|
+
prop.computed = true;
|
|
8889
|
+
prop.key = this.parseMaybeAssign();
|
|
8890
|
+
this.expect(types$1.bracketR);
|
|
8891
|
+
return prop.key;
|
|
8892
|
+
} else prop.computed = false;
|
|
8893
|
+
}
|
|
8856
8894
|
return prop.key = this.type === types$1.num || this.type === types$1.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
|
|
8857
8895
|
};
|
|
8858
8896
|
pp$5.initFunction = function(node) {
|
|
@@ -8987,8 +9025,10 @@ pp$5.parsePrivateIdent = function() {
|
|
|
8987
9025
|
else this.unexpected();
|
|
8988
9026
|
this.next();
|
|
8989
9027
|
this.finishNode(node, "PrivateIdentifier");
|
|
8990
|
-
if (this.options.checkPrivateFields)
|
|
8991
|
-
|
|
9028
|
+
if (this.options.checkPrivateFields) {
|
|
9029
|
+
if (this.privateNameStack.length === 0) this.raise(node.start, "Private field '#" + node.name + "' must be declared in an enclosing class");
|
|
9030
|
+
else this.privateNameStack[this.privateNameStack.length - 1].used.push(node);
|
|
9031
|
+
}
|
|
8992
9032
|
return node;
|
|
8993
9033
|
};
|
|
8994
9034
|
pp$5.parseYield = function(forInit) {
|
|
@@ -9481,9 +9521,11 @@ pp$1.regexp_groupSpecifier = function(state) {
|
|
|
9481
9521
|
if (!this.regexp_eatGroupName(state)) state.raise("Invalid group");
|
|
9482
9522
|
var trackDisjunction = this.options.ecmaVersion >= 16;
|
|
9483
9523
|
var known = state.groupNames[state.lastStringValue];
|
|
9484
|
-
if (known)
|
|
9485
|
-
|
|
9486
|
-
|
|
9524
|
+
if (known) {
|
|
9525
|
+
if (trackDisjunction) {
|
|
9526
|
+
for (var i2 = 0, list2 = known; i2 < list2.length; i2 += 1) if (!list2[i2].separatedFrom(state.branchID)) state.raise("Duplicate capture group name");
|
|
9527
|
+
} else state.raise("Duplicate capture group name");
|
|
9528
|
+
}
|
|
9487
9529
|
if (trackDisjunction) (known || (state.groupNames[state.lastStringValue] = [])).push(state.branchID);
|
|
9488
9530
|
else state.groupNames[state.lastStringValue] = true;
|
|
9489
9531
|
}
|
|
@@ -10494,12 +10536,14 @@ pp.readTmplToken = function() {
|
|
|
10494
10536
|
if (this.pos >= this.input.length) this.raise(this.start, "Unterminated template");
|
|
10495
10537
|
var ch = this.input.charCodeAt(this.pos);
|
|
10496
10538
|
if (ch === 96 || ch === 36 && this.input.charCodeAt(this.pos + 1) === 123) {
|
|
10497
|
-
if (this.pos === this.start && (this.type === types$1.template || this.type === types$1.invalidTemplate))
|
|
10498
|
-
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10539
|
+
if (this.pos === this.start && (this.type === types$1.template || this.type === types$1.invalidTemplate)) {
|
|
10540
|
+
if (ch === 36) {
|
|
10541
|
+
this.pos += 2;
|
|
10542
|
+
return this.finishToken(types$1.dollarBraceL);
|
|
10543
|
+
} else {
|
|
10544
|
+
++this.pos;
|
|
10545
|
+
return this.finishToken(types$1.backQuote);
|
|
10546
|
+
}
|
|
10503
10547
|
}
|
|
10504
10548
|
out += this.input.slice(chunkStart, this.pos);
|
|
10505
10549
|
return this.finishToken(types$1.template, out);
|
|
@@ -10517,9 +10561,7 @@ pp.readTmplToken = function() {
|
|
|
10517
10561
|
out += `
|
|
10518
10562
|
`;
|
|
10519
10563
|
break;
|
|
10520
|
-
default:
|
|
10521
|
-
out += String.fromCharCode(ch);
|
|
10522
|
-
break;
|
|
10564
|
+
default: out += String.fromCharCode(ch);
|
|
10523
10565
|
}
|
|
10524
10566
|
if (this.options.locations) {
|
|
10525
10567
|
++this.curLine;
|
|
@@ -10544,7 +10586,6 @@ pp.readInvalidTemplateToken = function() {
|
|
|
10544
10586
|
case "\u2029":
|
|
10545
10587
|
++this.curLine;
|
|
10546
10588
|
this.lineStart = this.pos + 1;
|
|
10547
|
-
break;
|
|
10548
10589
|
}
|
|
10549
10590
|
this.raise(this.start, "Unterminated template");
|
|
10550
10591
|
};
|
|
@@ -11040,39 +11081,40 @@ var JsxParser = class extends $3ARPR$react.Component {
|
|
|
11040
11081
|
var source_default = JsxParser;
|
|
11041
11082
|
//#endregion
|
|
11042
11083
|
//#region lib/icons/jsx-svg.tsx
|
|
11084
|
+
var createSvgComponent = (tagName) => (props) => createElement(tagName, props);
|
|
11043
11085
|
var svgComponents = {
|
|
11044
|
-
animateMotion: "animateMotion",
|
|
11045
|
-
animateTransform: "animateTransform",
|
|
11046
|
-
clipPath: "clipPath",
|
|
11047
|
-
feBlend: "feBlend",
|
|
11048
|
-
feColorMatrix: "feColorMatrix",
|
|
11049
|
-
feComponentTransfer: "feComponentTransfer",
|
|
11050
|
-
feComposite: "feComposite",
|
|
11051
|
-
feConvolveMatrix: "feConvolveMatrix",
|
|
11052
|
-
feDiffuseLighting: "feDiffuseLighting",
|
|
11053
|
-
feDisplacementMap: "feDisplacementMap",
|
|
11054
|
-
feDistantLight: "feDistantLight",
|
|
11055
|
-
feDropShadow: "feDropShadow",
|
|
11056
|
-
feFlood: "feFlood",
|
|
11057
|
-
feFuncA: "feFuncA",
|
|
11058
|
-
feFuncB: "feFuncB",
|
|
11059
|
-
feFuncG: "feFuncG",
|
|
11060
|
-
feFuncR: "feFuncR",
|
|
11061
|
-
feGaussianBlur: "feGaussianBlur",
|
|
11062
|
-
feImage: "feImage",
|
|
11063
|
-
feMerge: "feMerge",
|
|
11064
|
-
feMergeNode: "feMergeNode",
|
|
11065
|
-
feMorphology: "feMorphology",
|
|
11066
|
-
feOffset: "feOffset",
|
|
11067
|
-
fePointLight: "fePointLight",
|
|
11068
|
-
feSpecularLighting: "feSpecularLighting",
|
|
11069
|
-
feSpotLight: "feSpotLight",
|
|
11070
|
-
feTile: "feTile",
|
|
11071
|
-
feTurbulence: "feTurbulence",
|
|
11072
|
-
foreignObject: "foreignObject",
|
|
11073
|
-
linearGradient: "linearGradient",
|
|
11074
|
-
radialGradient: "radialGradient",
|
|
11075
|
-
textPath: "textPath"
|
|
11086
|
+
animateMotion: createSvgComponent("animateMotion"),
|
|
11087
|
+
animateTransform: createSvgComponent("animateTransform"),
|
|
11088
|
+
clipPath: createSvgComponent("clipPath"),
|
|
11089
|
+
feBlend: createSvgComponent("feBlend"),
|
|
11090
|
+
feColorMatrix: createSvgComponent("feColorMatrix"),
|
|
11091
|
+
feComponentTransfer: createSvgComponent("feComponentTransfer"),
|
|
11092
|
+
feComposite: createSvgComponent("feComposite"),
|
|
11093
|
+
feConvolveMatrix: createSvgComponent("feConvolveMatrix"),
|
|
11094
|
+
feDiffuseLighting: createSvgComponent("feDiffuseLighting"),
|
|
11095
|
+
feDisplacementMap: createSvgComponent("feDisplacementMap"),
|
|
11096
|
+
feDistantLight: createSvgComponent("feDistantLight"),
|
|
11097
|
+
feDropShadow: createSvgComponent("feDropShadow"),
|
|
11098
|
+
feFlood: createSvgComponent("feFlood"),
|
|
11099
|
+
feFuncA: createSvgComponent("feFuncA"),
|
|
11100
|
+
feFuncB: createSvgComponent("feFuncB"),
|
|
11101
|
+
feFuncG: createSvgComponent("feFuncG"),
|
|
11102
|
+
feFuncR: createSvgComponent("feFuncR"),
|
|
11103
|
+
feGaussianBlur: createSvgComponent("feGaussianBlur"),
|
|
11104
|
+
feImage: createSvgComponent("feImage"),
|
|
11105
|
+
feMerge: createSvgComponent("feMerge"),
|
|
11106
|
+
feMergeNode: createSvgComponent("feMergeNode"),
|
|
11107
|
+
feMorphology: createSvgComponent("feMorphology"),
|
|
11108
|
+
feOffset: createSvgComponent("feOffset"),
|
|
11109
|
+
fePointLight: createSvgComponent("fePointLight"),
|
|
11110
|
+
feSpecularLighting: createSvgComponent("feSpecularLighting"),
|
|
11111
|
+
feSpotLight: createSvgComponent("feSpotLight"),
|
|
11112
|
+
feTile: createSvgComponent("feTile"),
|
|
11113
|
+
feTurbulence: createSvgComponent("feTurbulence"),
|
|
11114
|
+
foreignObject: createSvgComponent("foreignObject"),
|
|
11115
|
+
linearGradient: createSvgComponent("linearGradient"),
|
|
11116
|
+
radialGradient: createSvgComponent("radialGradient"),
|
|
11117
|
+
textPath: createSvgComponent("textPath")
|
|
11076
11118
|
};
|
|
11077
11119
|
/**
|
|
11078
11120
|
* Renders SVG string as JSX SVGs.
|
|
@@ -11090,14 +11132,14 @@ var svgComponents = {
|
|
|
11090
11132
|
*/
|
|
11091
11133
|
var JsxSvg = (props) => {
|
|
11092
11134
|
const { svg, className, customProps, customPropBindings, "aria-hidden": ariaHiddenProp, ariaHidden, noIdRandomization, idRandomizationPrefix = "icon", ...rest } = props;
|
|
11093
|
-
|
|
11135
|
+
const instanceId = useId().replaceAll(":", "");
|
|
11136
|
+
if (!svg) return null;
|
|
11094
11137
|
let jsxString = svgToJsxString(svg);
|
|
11095
11138
|
if (className && className.length > 0) jsxString = jsxString.replace("<svg ", `<svg className="${className}" `);
|
|
11096
11139
|
if (ariaHiddenProp || ariaHidden) jsxString = jsxString.replace("<svg ", "<svg aria-hidden=\"true\" ");
|
|
11097
11140
|
if (customProps) jsxString = jsxString.replace("<svg ", `<svg ${customProps} `);
|
|
11098
|
-
if (!noIdRandomization) Array.from(jsxString?.matchAll(/id=['"]([a-zA-Z0-9\-_]*)['"]/g)).map((m) => m[1]).filter((v) => Boolean(v)).forEach((match) => {
|
|
11099
|
-
|
|
11100
|
-
jsxString = jsxString.replaceAll(match, `${idRandomizationPrefix}-${newId}`);
|
|
11141
|
+
if (!noIdRandomization) Array.from(jsxString?.matchAll(/id=['"]([a-zA-Z0-9\-_]*)['"]/g)).map((m) => m[1]).filter((v) => Boolean(v)).forEach((match, index) => {
|
|
11142
|
+
jsxString = jsxString.replaceAll(match, `${idRandomizationPrefix}-${instanceId}-${index}`);
|
|
11101
11143
|
});
|
|
11102
11144
|
return jsx(source_default, {
|
|
11103
11145
|
renderInWrapper: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as $2add3ce32c6007eb$export$9ac100e40613ea10, V as $23f2114a1b82827e$export$cd4e5573fbe2b576,
|
|
1
|
+
import { O as $2add3ce32c6007eb$export$9ac100e40613ea10, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, q as $d447af545b77c9f1$export$b204af158042fbac } from "./useHover-CaY3sRjL.js";
|
|
2
2
|
//#region node_modules/react-aria/dist/private/utils/constants.mjs
|
|
3
3
|
var $8b2399d051d06d4c$export$447a38995de2c711 = "react-aria-clear-focus";
|
|
4
4
|
var $8b2399d051d06d4c$export$831c820ad60f9d12 = "react-aria-focus";
|