@eightshift/ui-components 8.0.0 → 8.2.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-BtRn6klq.js → Autocomplete-CO9aIsTe.js} +45 -34
- package/dist/{Button-9jdCU_L7.js → Button-DO3oQfCq.js} +22 -16
- package/dist/{Dialog-DpHdFPGk.js → Dialog-Bdqjmtt2.js} +393 -243
- package/dist/{Disclosure-B3_qLaUB.js → Disclosure-BTSsPhG9.js} +39 -35
- package/dist/{FocusScope-CZoILo1u.js → FocusScope-Cj6cUR6X.js} +13 -11
- package/dist/{Form-khN5PAN7.js → Form-BWMVEpwR.js} +1 -1
- package/dist/{Heading-V9tM5XWJ.js → Heading-BQje2nS2.js} +3 -3
- package/dist/{Hidden-ZYMtT5BU.js → Hidden-C4Saxkx9.js} +4 -4
- package/dist/{I18nProvider-iRzqGw-D.js → I18nProvider-R_4IDnf9.js} +3 -3
- package/dist/{Label-D8hcesgs.js → Label-C4bJkVti.js} +4 -4
- package/dist/{List-BNOy0zms.js → List-BKcyZ8tT.js} +6 -6
- package/dist/{ListBox-c3TVEPet.js → ListBox-CBvtIFuB.js} +48 -42
- package/dist/{NumberFormatter-CJgo_mTg.js → NumberFormatter-Bwdv413k.js} +8 -3
- package/dist/{PortalProvider-CcgJPJ2x.js → PortalProvider-Dbcc7pHq.js} +2 -2
- package/dist/{RadioGroup-DnE-0ISm.js → RadioGroup-Dxzko0ma.js} +63 -46
- package/dist/{SearchField-D45ndgZB.js → SearchField-zY9JqR1c.js} +34 -31
- package/dist/SelectionIndicator-CyOcB5ps.js +5 -0
- package/dist/SharedElementTransition-D1LPCrSc.js +10 -0
- package/dist/{Slider-BipPsF_i.js → Slider-BXc72kE0.js} +85 -59
- package/dist/{Text-86b6VRkm.js → Text-i-ZK4MiL.js} +3 -3
- package/dist/{VisuallyHidden-CJBnc-Mm.js → VisuallyHidden-CsM0VnV1.js} +4 -4
- package/dist/{animation-DR2fvAP0.js → animation-COc9P6ap.js} +2 -4
- package/dist/assets/fonts/geist-mono-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-700-normal.woff2 +0 -0
- 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/{image-analysis-worker-BuHru-CI.js → image-analysis-worker-CBOB71mx.js} +1 -1
- package/dist/assets/style-admin.css +2 -2
- package/dist/assets/style-editor.css +2 -2
- package/dist/assets/style.css +2 -2
- package/dist/assets/wp-overrides/allow-full-width-blocks.css +1 -1
- package/dist/assets/wp-overrides/fix-label-text-case.css +1 -1
- package/dist/assets/wp-overrides/increase-sidebar-width.css +1 -1
- package/dist/assets/wp-overrides/make-block-messages-nicer.css +1 -1
- package/dist/assets/wp-overrides/replace-fonts.css +1 -1
- package/dist/assets/wp-overrides/restyle-tooltips.css +2 -2
- package/dist/assets/wp-overrides/round-corners.css +1 -1
- package/dist/assets/wp-overrides/unify-button-sizes.css +1 -1
- package/dist/{build-module-Bb_b-FCh.js → build-module-DG6ZK7Ty.js} +6 -131
- package/dist/{button-Bxmw0hqk.js → button-C7mc6eS1.js} +61 -9
- package/dist/{checkbox-BvQwgvc_.js → checkbox-DlG5DILl.js} +49 -55
- package/dist/{color-swatch-D3QlNt5l.js → color-swatch-D6xMLGU-.js} +28 -23
- package/dist/components/animated-visibility/animated-visibility.d.ts +1 -1
- 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 +32 -30
- package/dist/components/base-control/container.js +6 -33
- package/dist/components/breakpoint-preview/breakpoint-preview.d.ts +1 -1
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -1
- package/dist/components/button/button.d.ts +2 -2
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.d.ts +1 -1
- package/dist/components/color-pickers/color-picker.js +8 -8
- package/dist/components/color-pickers/color-swatch.d.ts +1 -1
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.d.ts +2 -1
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.d.ts +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 +5 -4
- package/dist/components/container-panel/container-panel.d.ts +1 -1
- package/dist/components/container-panel/container-panel.js +11 -11
- package/dist/components/contextual-help/contextual-help.d.ts +1 -1
- package/dist/components/contextual-help/contextual-help.js +3 -3
- package/dist/components/draggable/draggable-handle.d.ts +1 -1
- package/dist/components/draggable/draggable.d.ts +3 -3
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list-item.d.ts +2 -2
- package/dist/components/draggable-list/draggable-list.d.ts +3 -3
- package/dist/components/draggable-list/draggable-list.js +10 -10
- package/dist/components/expandable/expandable.d.ts +1 -1
- package/dist/components/expandable/expandable.js +4 -4
- package/dist/components/index.js +16 -16
- 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 +1 -3
- package/dist/components/link-input/link-input.js +1 -1
- package/dist/components/matrix-align/matrix-align.d.ts +1 -1
- package/dist/components/matrix-align/matrix-align.js +5 -4
- package/dist/components/menu/menu.d.ts +6 -6
- package/dist/components/menu/menu.js +12 -9
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/notice/notice.d.ts +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 +2 -2
- package/dist/components/option-select/option-select.js +22 -16
- package/dist/components/options-panel/options-panel.d.ts +4 -9
- package/dist/components/options-panel/options-panel.js +10 -19
- package/dist/components/placeholders/file-picker-shell.d.ts +1 -1
- package/dist/components/placeholders/file-picker-shell.js +4 -3
- package/dist/components/placeholders/file-placeholder.d.ts +1 -1
- package/dist/components/placeholders/file-placeholder.js +3 -2
- package/dist/components/placeholders/image-placeholder.d.ts +1 -1
- package/dist/components/placeholders/media-placeholder.d.ts +1 -1
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/popover/popover.js +4 -4
- package/dist/components/portal-provider/portal-provider.d.ts +1 -1
- package/dist/components/portal-provider/portal-provider.js +3 -2
- package/dist/components/radio/radio.d.ts +2 -2
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/repeater/repeater-context.d.ts +0 -1
- package/dist/components/repeater/repeater-item.d.ts +1 -1
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.d.ts +6 -39
- package/dist/components/repeater/repeater.js +9 -12
- package/dist/components/responsive/mini-responsive.d.ts +1 -2
- package/dist/components/responsive/mini-responsive.js +32 -31
- package/dist/components/responsive/responsive-legacy.d.ts +1 -2
- package/dist/components/responsive/responsive-legacy.js +14 -11
- package/dist/components/responsive/responsive.d.ts +1 -2
- package/dist/components/responsive/responsive.js +30 -29
- package/dist/components/responsive-preview/responsive-preview.d.ts +1 -1
- package/dist/components/responsive-preview/responsive-preview.js +4 -4
- package/dist/components/rich-label/rich-label.d.ts +1 -1
- package/dist/components/select/async-multi-select.d.ts +13 -14
- package/dist/components/select/async-multi-select.js +44 -23
- package/dist/components/select/async-select.d.ts +13 -14
- package/dist/components/select/async-select.js +41 -22
- package/dist/components/select/multi-select.d.ts +3 -9
- package/dist/components/select/multi-select.js +26 -23
- 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 +3 -9
- package/dist/components/select/single-select.js +17 -17
- package/dist/components/select/styles.js +1 -1
- package/dist/components/slider/column-config-slider.d.ts +2 -2
- package/dist/components/slider/column-config-slider.js +9 -6
- package/dist/components/slider/slider.d.ts +1 -1
- package/dist/components/slider/slider.js +16 -12
- package/dist/components/slider/utils.js +2 -1
- package/dist/components/smart-image/smart-image.d.ts +1 -2
- package/dist/components/smart-image/smart-image.js +54 -51
- package/dist/components/spacer/spacer.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +4 -4
- 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.d.ts +1 -1
- package/dist/components/toggle/toggle.js +2 -2
- package/dist/components/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{dist-yhJVnp08.js → dist-DpXluZqJ.js} +3 -2
- package/dist/{draggable-ByXjMHm6.js → draggable-BUfOpGSZ.js} +1081 -710
- package/dist/{es-dash-DunirOmV.js → es-dash-DPtJSRjw.js} +23 -52
- package/dist/{gradient-editor-D5-_PaH7.js → gradient-editor-_q3XF10i.js} +42 -31
- package/dist/icons/block-icon.js +1 -1
- package/dist/icons/icon.d.ts +4 -4
- package/dist/icons/icon.js +24 -12
- 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/icons/ui-icons/a11y-warning.d.ts +1 -1
- package/dist/icons/ui-icons/a11y.d.ts +1 -1
- package/dist/icons/ui-icons/accelerometer.d.ts +1 -1
- package/dist/icons/ui-icons/activity-log.d.ts +1 -1
- package/dist/icons/ui-icons/add.d.ts +1 -1
- package/dist/icons/ui-icons/alert.d.ts +1 -1
- package/dist/icons/ui-icons/align-horizontal-vertical-alt.d.ts +1 -1
- package/dist/icons/ui-icons/align-horizontal-vertical-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/align-horizontal-vertical.d.ts +1 -1
- package/dist/icons/ui-icons/alt-text-generic-alt.d.ts +1 -1
- package/dist/icons/ui-icons/alt-text-generic.d.ts +1 -1
- package/dist/icons/ui-icons/alt-text.d.ts +1 -1
- package/dist/icons/ui-icons/anchor-page.d.ts +1 -1
- package/dist/icons/ui-icons/anchor.d.ts +1 -1
- package/dist/icons/ui-icons/angle.d.ts +1 -1
- package/dist/icons/ui-icons/animation-file.d.ts +1 -1
- package/dist/icons/ui-icons/animation-generic.d.ts +1 -1
- package/dist/icons/ui-icons/animation-list-generic.d.ts +1 -1
- package/dist/icons/ui-icons/animation-settings-generic.d.ts +1 -1
- package/dist/icons/ui-icons/animation.d.ts +1 -1
- package/dist/icons/ui-icons/archive-file.d.ts +1 -1
- package/dist/icons/ui-icons/archive.d.ts +1 -1
- package/dist/icons/ui-icons/aria-label.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-down-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-down-circle.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-down-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-down-square.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-down.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-left-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-left-circle.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-left-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-left-square.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-left.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-right-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-right-circle.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-right-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-right-square.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-right.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-up-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-up-circle.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-up-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-up-square.d.ts +1 -1
- package/dist/icons/ui-icons/arrow-up.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-down.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-horizontal.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-left-diagonal.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-left.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-right-diagonal.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-right.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-up.d.ts +1 -1
- package/dist/icons/ui-icons/arrows-vertical.d.ts +1 -1
- package/dist/icons/ui-icons/aspect-ratio-auto.d.ts +1 -1
- package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.d.ts +1 -1
- package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.d.ts +1 -1
- package/dist/icons/ui-icons/aspect-ratio-square.d.ts +1 -1
- package/dist/icons/ui-icons/aspect-ratio-three-two.d.ts +1 -1
- package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.d.ts +1 -1
- package/dist/icons/ui-icons/aspect-ratio.d.ts +1 -1
- package/dist/icons/ui-icons/attachment.d.ts +1 -1
- package/dist/icons/ui-icons/auto-close.d.ts +1 -1
- package/dist/icons/ui-icons/auto-pause-scroll.d.ts +1 -1
- package/dist/icons/ui-icons/auto-pause.d.ts +1 -1
- package/dist/icons/ui-icons/automatic-alt.d.ts +1 -1
- package/dist/icons/ui-icons/automatic.d.ts +1 -1
- package/dist/icons/ui-icons/autoplay-alt.d.ts +1 -1
- package/dist/icons/ui-icons/autoplay-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/autoplay.d.ts +1 -1
- package/dist/icons/ui-icons/award.d.ts +1 -1
- package/dist/icons/ui-icons/background-blur.d.ts +1 -1
- package/dist/icons/ui-icons/background-color-swatch.d.ts +1 -1
- package/dist/icons/ui-icons/background-image.d.ts +1 -1
- package/dist/icons/ui-icons/background-repeat.d.ts +1 -1
- package/dist/icons/ui-icons/background-type-alt.d.ts +1 -1
- package/dist/icons/ui-icons/background-type-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/background-type.d.ts +1 -1
- package/dist/icons/ui-icons/block-parts.d.ts +1 -1
- package/dist/icons/ui-icons/bold.d.ts +1 -1
- package/dist/icons/ui-icons/book.d.ts +1 -1
- package/dist/icons/ui-icons/bookmark.d.ts +1 -1
- package/dist/icons/ui-icons/boolean-exclude.d.ts +1 -1
- package/dist/icons/ui-icons/boolean-intersect.d.ts +1 -1
- package/dist/icons/ui-icons/boolean-subtract.d.ts +1 -1
- package/dist/icons/ui-icons/boolean-union.d.ts +1 -1
- package/dist/icons/ui-icons/border-color.d.ts +1 -1
- package/dist/icons/ui-icons/border.d.ts +1 -1
- package/dist/icons/ui-icons/bot-deny.d.ts +1 -1
- package/dist/icons/ui-icons/bot.d.ts +1 -1
- package/dist/icons/ui-icons/box.d.ts +1 -1
- package/dist/icons/ui-icons/brain.d.ts +1 -1
- package/dist/icons/ui-icons/branch-fork.d.ts +1 -1
- package/dist/icons/ui-icons/branch.d.ts +1 -1
- package/dist/icons/ui-icons/briefcase.d.ts +1 -1
- package/dist/icons/ui-icons/browser.d.ts +1 -1
- package/dist/icons/ui-icons/button-disabled.d.ts +1 -1
- package/dist/icons/ui-icons/button-filled.d.ts +1 -1
- package/dist/icons/ui-icons/button-ghost.d.ts +1 -1
- package/dist/icons/ui-icons/button-outline.d.ts +1 -1
- package/dist/icons/ui-icons/calculator.d.ts +1 -1
- package/dist/icons/ui-icons/calendar-add.d.ts +1 -1
- package/dist/icons/ui-icons/calendar-download.d.ts +1 -1
- package/dist/icons/ui-icons/calendar-remove.d.ts +1 -1
- package/dist/icons/ui-icons/calendar.d.ts +1 -1
- package/dist/icons/ui-icons/caption-generic.d.ts +1 -1
- package/dist/icons/ui-icons/card-featured.d.ts +1 -1
- package/dist/icons/ui-icons/caret-down-fill.d.ts +1 -1
- package/dist/icons/ui-icons/caret-down.d.ts +1 -1
- package/dist/icons/ui-icons/caret-left-fill.d.ts +1 -1
- package/dist/icons/ui-icons/caret-left.d.ts +1 -1
- package/dist/icons/ui-icons/caret-right-fill.d.ts +1 -1
- package/dist/icons/ui-icons/caret-right.d.ts +1 -1
- package/dist/icons/ui-icons/caret-up-fill.d.ts +1 -1
- package/dist/icons/ui-icons/caret-up.d.ts +1 -1
- package/dist/icons/ui-icons/center-point.d.ts +1 -1
- package/dist/icons/ui-icons/chat-bubble-alt.d.ts +1 -1
- package/dist/icons/ui-icons/chat-bubble.d.ts +1 -1
- package/dist/icons/ui-icons/chat.d.ts +1 -1
- package/dist/icons/ui-icons/check-circle-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/check-circle-fill.d.ts +1 -1
- package/dist/icons/ui-icons/check-circle.d.ts +1 -1
- package/dist/icons/ui-icons/check-square.d.ts +1 -1
- package/dist/icons/ui-icons/check.d.ts +1 -1
- package/dist/icons/ui-icons/checks-circle.d.ts +1 -1
- package/dist/icons/ui-icons/checks.d.ts +1 -1
- package/dist/icons/ui-icons/chevron-down.d.ts +1 -1
- package/dist/icons/ui-icons/chevron-left.d.ts +1 -1
- package/dist/icons/ui-icons/chevron-right.d.ts +1 -1
- package/dist/icons/ui-icons/chevron-up.d.ts +1 -1
- package/dist/icons/ui-icons/clear-alt.d.ts +1 -1
- package/dist/icons/ui-icons/clear.d.ts +1 -1
- package/dist/icons/ui-icons/clipboard-plain.d.ts +1 -1
- package/dist/icons/ui-icons/clipboard.d.ts +1 -1
- package/dist/icons/ui-icons/clock.d.ts +1 -1
- package/dist/icons/ui-icons/closed-captions.d.ts +1 -1
- package/dist/icons/ui-icons/code-variable.d.ts +1 -1
- package/dist/icons/ui-icons/code.d.ts +1 -1
- package/dist/icons/ui-icons/color-alt.d.ts +1 -1
- package/dist/icons/ui-icons/color-fill-swatch.d.ts +1 -1
- package/dist/icons/ui-icons/color-picker-fill.d.ts +1 -1
- package/dist/icons/ui-icons/color-picker-list-marker.d.ts +1 -1
- package/dist/icons/ui-icons/color-picker-text-highlight.d.ts +1 -1
- package/dist/icons/ui-icons/color-picker-text.d.ts +1 -1
- package/dist/icons/ui-icons/color-select.d.ts +1 -1
- package/dist/icons/ui-icons/color.d.ts +1 -1
- package/dist/icons/ui-icons/column-gutters-lr.d.ts +1 -1
- package/dist/icons/ui-icons/columns.d.ts +1 -1
- package/dist/icons/ui-icons/columns3366.d.ts +1 -1
- package/dist/icons/ui-icons/columns6633.d.ts +1 -1
- package/dist/icons/ui-icons/component-generic.d.ts +1 -1
- package/dist/icons/ui-icons/component-options.d.ts +1 -1
- package/dist/icons/ui-icons/condition-h.d.ts +1 -1
- package/dist/icons/ui-icons/condition-v.d.ts +1 -1
- package/dist/icons/ui-icons/conditional-visibility.d.ts +1 -1
- package/dist/icons/ui-icons/container-height.d.ts +1 -1
- package/dist/icons/ui-icons/container-spacing-h.d.ts +1 -1
- package/dist/icons/ui-icons/container-spacing.d.ts +1 -1
- package/dist/icons/ui-icons/container-width.d.ts +1 -1
- package/dist/icons/ui-icons/content-bottom-left.d.ts +1 -1
- package/dist/icons/ui-icons/content-bottom-right.d.ts +1 -1
- package/dist/icons/ui-icons/content-center.d.ts +1 -1
- package/dist/icons/ui-icons/content-top-left.d.ts +1 -1
- package/dist/icons/ui-icons/content-top-right.d.ts +1 -1
- package/dist/icons/ui-icons/contrast-alt.d.ts +1 -1
- package/dist/icons/ui-icons/contrast.d.ts +1 -1
- package/dist/icons/ui-icons/cookie-alt.d.ts +1 -1
- package/dist/icons/ui-icons/cookie.d.ts +1 -1
- package/dist/icons/ui-icons/copy.d.ts +1 -1
- package/dist/icons/ui-icons/currency.d.ts +1 -1
- package/dist/icons/ui-icons/current-page.d.ts +1 -1
- package/dist/icons/ui-icons/cursor-disabled.d.ts +1 -1
- package/dist/icons/ui-icons/cursor-move.d.ts +1 -1
- package/dist/icons/ui-icons/dark-mode.d.ts +1 -1
- package/dist/icons/ui-icons/data.d.ts +1 -1
- package/dist/icons/ui-icons/date-time.d.ts +1 -1
- package/dist/icons/ui-icons/defer.d.ts +1 -1
- package/dist/icons/ui-icons/description-link.d.ts +1 -1
- package/dist/icons/ui-icons/design.d.ts +1 -1
- package/dist/icons/ui-icons/dice.d.ts +1 -1
- package/dist/icons/ui-icons/divider-bottom.d.ts +1 -1
- package/dist/icons/ui-icons/divider-side.d.ts +1 -1
- package/dist/icons/ui-icons/divider-status.d.ts +1 -1
- package/dist/icons/ui-icons/divider-top.d.ts +1 -1
- package/dist/icons/ui-icons/divider.d.ts +1 -1
- package/dist/icons/ui-icons/door-in.d.ts +1 -1
- package/dist/icons/ui-icons/door-out.d.ts +1 -1
- package/dist/icons/ui-icons/door.d.ts +1 -1
- package/dist/icons/ui-icons/download.d.ts +1 -1
- package/dist/icons/ui-icons/dropdown-caret-alt.d.ts +1 -1
- package/dist/icons/ui-icons/dropdown-caret.d.ts +1 -1
- package/dist/icons/ui-icons/dropdown-close.d.ts +1 -1
- package/dist/icons/ui-icons/dropdown-open.d.ts +1 -1
- package/dist/icons/ui-icons/dropdown.d.ts +1 -1
- package/dist/icons/ui-icons/dummy-spacer.d.ts +1 -1
- package/dist/icons/ui-icons/edit-options.d.ts +1 -1
- package/dist/icons/ui-icons/edit.d.ts +1 -1
- package/dist/icons/ui-icons/email-remove.d.ts +1 -1
- package/dist/icons/ui-icons/email.d.ts +1 -1
- package/dist/icons/ui-icons/embed.d.ts +1 -1
- package/dist/icons/ui-icons/empty-circle.d.ts +1 -1
- package/dist/icons/ui-icons/empty-rect.d.ts +1 -1
- package/dist/icons/ui-icons/equal-columns.d.ts +1 -1
- package/dist/icons/ui-icons/equal-rows.d.ts +1 -1
- package/dist/icons/ui-icons/equals.d.ts +1 -1
- package/dist/icons/ui-icons/error-circle-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/error-circle-fill.d.ts +1 -1
- package/dist/icons/ui-icons/error-circle.d.ts +1 -1
- package/dist/icons/ui-icons/exclude-item-alt.d.ts +1 -1
- package/dist/icons/ui-icons/exclude-item.d.ts +1 -1
- package/dist/icons/ui-icons/exclude.d.ts +1 -1
- package/dist/icons/ui-icons/expand-xl.d.ts +1 -1
- package/dist/icons/ui-icons/expand.d.ts +1 -1
- package/dist/icons/ui-icons/experiment.d.ts +1 -1
- package/dist/icons/ui-icons/external-link.d.ts +1 -1
- package/dist/icons/ui-icons/extract-alt.d.ts +1 -1
- package/dist/icons/ui-icons/extract.d.ts +1 -1
- package/dist/icons/ui-icons/eyedropper.d.ts +1 -1
- package/dist/icons/ui-icons/fast-forward.d.ts +1 -1
- package/dist/icons/ui-icons/fast-reverse.d.ts +1 -1
- package/dist/icons/ui-icons/field-after-text.d.ts +1 -1
- package/dist/icons/ui-icons/field-before-text.d.ts +1 -1
- package/dist/icons/ui-icons/field-disabled.d.ts +1 -1
- package/dist/icons/ui-icons/field-help.d.ts +1 -1
- package/dist/icons/ui-icons/field-label.d.ts +1 -1
- package/dist/icons/ui-icons/field-name.d.ts +1 -1
- package/dist/icons/ui-icons/field-placeholder.d.ts +1 -1
- package/dist/icons/ui-icons/field-readonly.d.ts +1 -1
- package/dist/icons/ui-icons/field-required.d.ts +1 -1
- package/dist/icons/ui-icons/field-type.d.ts +1 -1
- package/dist/icons/ui-icons/field-value.d.ts +1 -1
- package/dist/icons/ui-icons/field-width.d.ts +1 -1
- package/dist/icons/ui-icons/file-download.d.ts +1 -1
- package/dist/icons/ui-icons/file-error.d.ts +1 -1
- package/dist/icons/ui-icons/file-metadata.d.ts +1 -1
- package/dist/icons/ui-icons/file-pdf.d.ts +1 -1
- package/dist/icons/ui-icons/file-size-max.d.ts +1 -1
- package/dist/icons/ui-icons/file-size-min.d.ts +1 -1
- package/dist/icons/ui-icons/file-size.d.ts +1 -1
- package/dist/icons/ui-icons/file-type.d.ts +1 -1
- package/dist/icons/ui-icons/file-upload.d.ts +1 -1
- package/dist/icons/ui-icons/file.d.ts +1 -1
- package/dist/icons/ui-icons/files.d.ts +1 -1
- package/dist/icons/ui-icons/fill-color.d.ts +1 -1
- package/dist/icons/ui-icons/filter-alt.d.ts +1 -1
- package/dist/icons/ui-icons/filter.d.ts +1 -1
- package/dist/icons/ui-icons/flag-alt.d.ts +1 -1
- package/dist/icons/ui-icons/flag.d.ts +1 -1
- package/dist/icons/ui-icons/flip-h.d.ts +1 -1
- package/dist/icons/ui-icons/flip-v.d.ts +1 -1
- package/dist/icons/ui-icons/focus.d.ts +1 -1
- package/dist/icons/ui-icons/folder-add.d.ts +1 -1
- package/dist/icons/ui-icons/folder-open-solid.d.ts +1 -1
- package/dist/icons/ui-icons/folder-open.d.ts +1 -1
- package/dist/icons/ui-icons/folder-solid.d.ts +1 -1
- package/dist/icons/ui-icons/folder-top-level.d.ts +1 -1
- package/dist/icons/ui-icons/folder.d.ts +1 -1
- package/dist/icons/ui-icons/font-family.d.ts +1 -1
- package/dist/icons/ui-icons/footer.d.ts +1 -1
- package/dist/icons/ui-icons/form-alt.d.ts +1 -1
- package/dist/icons/ui-icons/form.d.ts +1 -1
- package/dist/icons/ui-icons/four-columns.d.ts +1 -1
- package/dist/icons/ui-icons/frame.d.ts +1 -1
- package/dist/icons/ui-icons/full-max-shield.d.ts +1 -1
- package/dist/icons/ui-icons/full-max-text.d.ts +1 -1
- package/dist/icons/ui-icons/full-width-image.d.ts +1 -1
- package/dist/icons/ui-icons/gears-fill.d.ts +1 -1
- package/dist/icons/ui-icons/gears.d.ts +1 -1
- package/dist/icons/ui-icons/generic-color-swatch.d.ts +1 -1
- package/dist/icons/ui-icons/generic-shapes-alt.d.ts +1 -1
- package/dist/icons/ui-icons/generic-shapes.d.ts +1 -1
- package/dist/icons/ui-icons/globe-anchor.d.ts +1 -1
- package/dist/icons/ui-icons/globe-hash.d.ts +1 -1
- package/dist/icons/ui-icons/globe.d.ts +1 -1
- package/dist/icons/ui-icons/google-tag-manager.d.ts +1 -1
- package/dist/icons/ui-icons/gradient-repeat.d.ts +1 -1
- package/dist/icons/ui-icons/gradient-stop.d.ts +1 -1
- package/dist/icons/ui-icons/gradient.d.ts +1 -1
- package/dist/icons/ui-icons/grid-alt.d.ts +1 -1
- package/dist/icons/ui-icons/grid-auto-cols.d.ts +1 -1
- package/dist/icons/ui-icons/grid-auto-rows.d.ts +1 -1
- package/dist/icons/ui-icons/grid-col.d.ts +1 -1
- package/dist/icons/ui-icons/grid-height.d.ts +1 -1
- package/dist/icons/ui-icons/grid-list-toggle.d.ts +1 -1
- package/dist/icons/ui-icons/grid-manual.d.ts +1 -1
- package/dist/icons/ui-icons/grid-row.d.ts +1 -1
- package/dist/icons/ui-icons/grid-width.d.ts +1 -1
- package/dist/icons/ui-icons/group.d.ts +1 -1
- package/dist/icons/ui-icons/gutter.d.ts +1 -1
- package/dist/icons/ui-icons/gyroscope.d.ts +1 -1
- package/dist/icons/ui-icons/h1.d.ts +1 -1
- package/dist/icons/ui-icons/h2.d.ts +1 -1
- package/dist/icons/ui-icons/h3.d.ts +1 -1
- package/dist/icons/ui-icons/h4.d.ts +1 -1
- package/dist/icons/ui-icons/h5.d.ts +1 -1
- package/dist/icons/ui-icons/h6.d.ts +1 -1
- package/dist/icons/ui-icons/hamburger-menu.d.ts +1 -1
- package/dist/icons/ui-icons/hard-drive.d.ts +1 -1
- package/dist/icons/ui-icons/header.d.ts +1 -1
- package/dist/icons/ui-icons/heading-level-alt.d.ts +1 -1
- package/dist/icons/ui-icons/heading-level.d.ts +1 -1
- package/dist/icons/ui-icons/heading.d.ts +1 -1
- package/dist/icons/ui-icons/heart-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/heart-fill.d.ts +1 -1
- package/dist/icons/ui-icons/heart.d.ts +1 -1
- package/dist/icons/ui-icons/height.d.ts +1 -1
- package/dist/icons/ui-icons/help-alt.d.ts +1 -1
- package/dist/icons/ui-icons/help-fill.d.ts +1 -1
- package/dist/icons/ui-icons/help.d.ts +1 -1
- package/dist/icons/ui-icons/hide.d.ts +1 -1
- package/dist/icons/ui-icons/highlighted-checkmark.d.ts +1 -1
- package/dist/icons/ui-icons/highlighted-exclamation-mark.d.ts +1 -1
- package/dist/icons/ui-icons/history.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-alt.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-around.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-between-alt.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-between.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-center.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-evenly.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-left.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-right.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align-stretch.d.ts +1 -1
- package/dist/icons/ui-icons/horizontal-align.d.ts +1 -1
- package/dist/icons/ui-icons/hover-background-glow.d.ts +1 -1
- package/dist/icons/ui-icons/hover-background-type.d.ts +1 -1
- package/dist/icons/ui-icons/hover-invert-object.d.ts +1 -1
- package/dist/icons/ui-icons/hover-invert-text.d.ts +1 -1
- package/dist/icons/ui-icons/hover-rotate.d.ts +1 -1
- package/dist/icons/ui-icons/hover-zoom.d.ts +1 -1
- package/dist/icons/ui-icons/hyphenate-alt.d.ts +1 -1
- package/dist/icons/ui-icons/hyphenate-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/hyphenate.d.ts +1 -1
- package/dist/icons/ui-icons/icon-generic.d.ts +1 -1
- package/dist/icons/ui-icons/id-card.d.ts +1 -1
- package/dist/icons/ui-icons/id.d.ts +1 -1
- package/dist/icons/ui-icons/image-blur.d.ts +1 -1
- package/dist/icons/ui-icons/image-caption.d.ts +1 -1
- package/dist/icons/ui-icons/image-error.d.ts +1 -1
- package/dist/icons/ui-icons/image-file.d.ts +1 -1
- package/dist/icons/ui-icons/image-lazy-load.d.ts +1 -1
- package/dist/icons/ui-icons/image-opacity.d.ts +1 -1
- package/dist/icons/ui-icons/image-overlay-alt.d.ts +1 -1
- package/dist/icons/ui-icons/image-overlay-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/image-overlay.d.ts +1 -1
- package/dist/icons/ui-icons/image-remove.d.ts +1 -1
- package/dist/icons/ui-icons/image.d.ts +1 -1
- package/dist/icons/ui-icons/info-circle-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/info-circle-fill.d.ts +1 -1
- package/dist/icons/ui-icons/info-circle.d.ts +1 -1
- package/dist/icons/ui-icons/info.d.ts +1 -1
- package/dist/icons/ui-icons/inherit.d.ts +1 -1
- package/dist/icons/ui-icons/inline-gradient-format.d.ts +1 -1
- package/dist/icons/ui-icons/input-field.d.ts +1 -1
- package/dist/icons/ui-icons/italic.d.ts +1 -1
- package/dist/icons/ui-icons/item-limit.d.ts +1 -1
- package/dist/icons/ui-icons/item-select.d.ts +1 -1
- package/dist/icons/ui-icons/item-wrap.d.ts +1 -1
- package/dist/icons/ui-icons/items-per-page.d.ts +1 -1
- package/dist/icons/ui-icons/items-per-row.d.ts +1 -1
- package/dist/icons/ui-icons/key.d.ts +1 -1
- package/dist/icons/ui-icons/keyboard.d.ts +1 -1
- package/dist/icons/ui-icons/large.d.ts +1 -1
- package/dist/icons/ui-icons/latest-posts.d.ts +1 -1
- package/dist/icons/ui-icons/layer-off.d.ts +1 -1
- package/dist/icons/ui-icons/layer.d.ts +1 -1
- package/dist/icons/ui-icons/layers.d.ts +1 -1
- package/dist/icons/ui-icons/layout-alt.d.ts +1 -1
- package/dist/icons/ui-icons/layout-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/layout-alt3.d.ts +1 -1
- package/dist/icons/ui-icons/layout-alt4.d.ts +1 -1
- package/dist/icons/ui-icons/layout-bento-box.d.ts +1 -1
- package/dist/icons/ui-icons/layout-masonry.d.ts +1 -1
- package/dist/icons/ui-icons/layout.d.ts +1 -1
- package/dist/icons/ui-icons/left-panel-alt.d.ts +1 -1
- package/dist/icons/ui-icons/left-panel.d.ts +1 -1
- package/dist/icons/ui-icons/light-bulb-alt.d.ts +1 -1
- package/dist/icons/ui-icons/light-bulb.d.ts +1 -1
- package/dist/icons/ui-icons/light-mode.d.ts +1 -1
- package/dist/icons/ui-icons/limit-width.d.ts +1 -1
- package/dist/icons/ui-icons/line-break-alt-off.d.ts +1 -1
- package/dist/icons/ui-icons/line-break-alt.d.ts +1 -1
- package/dist/icons/ui-icons/line-break-off-alt.d.ts +1 -1
- package/dist/icons/ui-icons/line-break-off.d.ts +1 -1
- package/dist/icons/ui-icons/line-break.d.ts +1 -1
- package/dist/icons/ui-icons/line-breaks-hyphenation.d.ts +1 -1
- package/dist/icons/ui-icons/link-add.d.ts +1 -1
- package/dist/icons/ui-icons/link-nav.d.ts +1 -1
- package/dist/icons/ui-icons/link-remove.d.ts +1 -1
- package/dist/icons/ui-icons/link.d.ts +1 -1
- package/dist/icons/ui-icons/list-indent.d.ts +1 -1
- package/dist/icons/ui-icons/list-ordered.d.ts +1 -1
- package/dist/icons/ui-icons/list-outdent.d.ts +1 -1
- package/dist/icons/ui-icons/list-unordered.d.ts +1 -1
- package/dist/icons/ui-icons/loader-alt.d.ts +1 -1
- package/dist/icons/ui-icons/loader.d.ts +1 -1
- package/dist/icons/ui-icons/location-add.d.ts +1 -1
- package/dist/icons/ui-icons/location-allow.d.ts +1 -1
- package/dist/icons/ui-icons/location-deny.d.ts +1 -1
- package/dist/icons/ui-icons/location-settings.d.ts +1 -1
- package/dist/icons/ui-icons/location.d.ts +1 -1
- package/dist/icons/ui-icons/lock.d.ts +1 -1
- package/dist/icons/ui-icons/loop-mode.d.ts +1 -1
- package/dist/icons/ui-icons/magic-alt-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/magic-alt-fill.d.ts +1 -1
- package/dist/icons/ui-icons/magic-alt.d.ts +1 -1
- package/dist/icons/ui-icons/magic-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/magic-fill.d.ts +1 -1
- package/dist/icons/ui-icons/magic.d.ts +1 -1
- package/dist/icons/ui-icons/map-layer-json.d.ts +1 -1
- package/dist/icons/ui-icons/map-layer-raster.d.ts +1 -1
- package/dist/icons/ui-icons/map-layer-vector.d.ts +1 -1
- package/dist/icons/ui-icons/map-layer.d.ts +1 -1
- package/dist/icons/ui-icons/map-pin.d.ts +1 -1
- package/dist/icons/ui-icons/matrix-align-control-dot-active.d.ts +1 -1
- package/dist/icons/ui-icons/matrix-align-control-dot-inactive.d.ts +1 -1
- package/dist/icons/ui-icons/media.d.ts +1 -1
- package/dist/icons/ui-icons/medium.d.ts +1 -1
- package/dist/icons/ui-icons/menu-item-check.d.ts +1 -1
- package/dist/icons/ui-icons/menu-item-circle.d.ts +1 -1
- package/dist/icons/ui-icons/microphone.d.ts +1 -1
- package/dist/icons/ui-icons/migration-alt-v.d.ts +1 -1
- package/dist/icons/ui-icons/migration-alt.d.ts +1 -1
- package/dist/icons/ui-icons/migration.d.ts +1 -1
- package/dist/icons/ui-icons/module.d.ts +1 -1
- package/dist/icons/ui-icons/money-paper.d.ts +1 -1
- package/dist/icons/ui-icons/more-h-circle.d.ts +1 -1
- package/dist/icons/ui-icons/more-h.d.ts +1 -1
- package/dist/icons/ui-icons/more-v-circle.d.ts +1 -1
- package/dist/icons/ui-icons/more-v.d.ts +1 -1
- package/dist/icons/ui-icons/mouse-cursor.d.ts +1 -1
- package/dist/icons/ui-icons/mouse-wheel.d.ts +1 -1
- package/dist/icons/ui-icons/multi-item-left-inset-mobile.d.ts +1 -1
- package/dist/icons/ui-icons/multi-item-left-inset.d.ts +1 -1
- package/dist/icons/ui-icons/multi-item-right-inset-mobile.d.ts +1 -1
- package/dist/icons/ui-icons/multi-item-right-inset.d.ts +1 -1
- package/dist/icons/ui-icons/multiple.d.ts +1 -1
- package/dist/icons/ui-icons/music-note.d.ts +1 -1
- package/dist/icons/ui-icons/mute-centered.d.ts +1 -1
- package/dist/icons/ui-icons/mute.d.ts +1 -1
- package/dist/icons/ui-icons/narrow-bottom.d.ts +1 -1
- package/dist/icons/ui-icons/narrow-left.d.ts +1 -1
- package/dist/icons/ui-icons/narrow-right.d.ts +1 -1
- package/dist/icons/ui-icons/narrow-top.d.ts +1 -1
- package/dist/icons/ui-icons/navigation-buttons.d.ts +1 -1
- package/dist/icons/ui-icons/new-tab.d.ts +1 -1
- package/dist/icons/ui-icons/newspaper.d.ts +1 -1
- package/dist/icons/ui-icons/none.d.ts +1 -1
- package/dist/icons/ui-icons/notebook.d.ts +1 -1
- package/dist/icons/ui-icons/num0-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num0-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num0-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num0-square.d.ts +1 -1
- package/dist/icons/ui-icons/num1-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num1-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num1-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num1-square.d.ts +1 -1
- package/dist/icons/ui-icons/num2-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num2-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num2-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num2-square.d.ts +1 -1
- package/dist/icons/ui-icons/num3-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num3-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num3-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num3-square.d.ts +1 -1
- package/dist/icons/ui-icons/num4-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num4-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num4-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num4-square.d.ts +1 -1
- package/dist/icons/ui-icons/num5-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num5-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num5-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num5-square.d.ts +1 -1
- package/dist/icons/ui-icons/num6-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num6-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num6-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num6-square.d.ts +1 -1
- package/dist/icons/ui-icons/num7-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num7-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num7-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num7-square.d.ts +1 -1
- package/dist/icons/ui-icons/num8-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num8-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num8-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num8-square.d.ts +1 -1
- package/dist/icons/ui-icons/num9-circle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num9-circle.d.ts +1 -1
- package/dist/icons/ui-icons/num9-square-alt.d.ts +1 -1
- package/dist/icons/ui-icons/num9-square.d.ts +1 -1
- package/dist/icons/ui-icons/office-building.d.ts +1 -1
- package/dist/icons/ui-icons/office-buildings.d.ts +1 -1
- package/dist/icons/ui-icons/offset-auto.d.ts +1 -1
- package/dist/icons/ui-icons/offset.d.ts +1 -1
- package/dist/icons/ui-icons/option-list-alt.d.ts +1 -1
- package/dist/icons/ui-icons/option-list.d.ts +1 -1
- package/dist/icons/ui-icons/options.d.ts +1 -1
- package/dist/icons/ui-icons/order.d.ts +1 -1
- package/dist/icons/ui-icons/padding-bottom.d.ts +1 -1
- package/dist/icons/ui-icons/padding-top.d.ts +1 -1
- package/dist/icons/ui-icons/padding.d.ts +1 -1
- package/dist/icons/ui-icons/pagination.d.ts +1 -1
- package/dist/icons/ui-icons/palette-color.d.ts +1 -1
- package/dist/icons/ui-icons/panel-collapse.d.ts +1 -1
- package/dist/icons/ui-icons/panel-expand.d.ts +1 -1
- package/dist/icons/ui-icons/paragraph.d.ts +1 -1
- package/dist/icons/ui-icons/paste.d.ts +1 -1
- package/dist/icons/ui-icons/pause.d.ts +1 -1
- package/dist/icons/ui-icons/people-group.d.ts +1 -1
- package/dist/icons/ui-icons/people.d.ts +1 -1
- package/dist/icons/ui-icons/person.d.ts +1 -1
- package/dist/icons/ui-icons/photo-camera.d.ts +1 -1
- package/dist/icons/ui-icons/picture-in-picture.d.ts +1 -1
- package/dist/icons/ui-icons/play-reverse.d.ts +1 -1
- package/dist/icons/ui-icons/play.d.ts +1 -1
- package/dist/icons/ui-icons/playback-options.d.ts +1 -1
- package/dist/icons/ui-icons/plus-circle-fill-alt.d.ts +1 -1
- package/dist/icons/ui-icons/plus-circle-fill.d.ts +1 -1
- package/dist/icons/ui-icons/plus-circle.d.ts +1 -1
- package/dist/icons/ui-icons/plus-minus-buttons-h.d.ts +1 -1
- package/dist/icons/ui-icons/plus-minus-buttons-v.d.ts +1 -1
- package/dist/icons/ui-icons/plus-square-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/plus-square-fill.d.ts +1 -1
- package/dist/icons/ui-icons/plus-square.d.ts +1 -1
- package/dist/icons/ui-icons/pointer-hand-disabled.d.ts +1 -1
- package/dist/icons/ui-icons/pointer-hand.d.ts +1 -1
- package/dist/icons/ui-icons/position-arrows-h.d.ts +1 -1
- package/dist/icons/ui-icons/position-arrows-inverted-h.d.ts +1 -1
- package/dist/icons/ui-icons/position-arrows-inverted-v.d.ts +1 -1
- package/dist/icons/ui-icons/position-arrows-inverted.d.ts +1 -1
- package/dist/icons/ui-icons/position-arrows-v.d.ts +1 -1
- package/dist/icons/ui-icons/position-arrows.d.ts +1 -1
- package/dist/icons/ui-icons/position-h-center.d.ts +1 -1
- package/dist/icons/ui-icons/position-h-end.d.ts +1 -1
- package/dist/icons/ui-icons/position-h-start.d.ts +1 -1
- package/dist/icons/ui-icons/position-left.d.ts +1 -1
- package/dist/icons/ui-icons/position-right.d.ts +1 -1
- package/dist/icons/ui-icons/position-v-center.d.ts +1 -1
- package/dist/icons/ui-icons/position-v-end.d.ts +1 -1
- package/dist/icons/ui-icons/position-v-start.d.ts +1 -1
- package/dist/icons/ui-icons/position2x2-bottom-left.d.ts +1 -1
- package/dist/icons/ui-icons/position2x2-bottom-right.d.ts +1 -1
- package/dist/icons/ui-icons/position2x2-empty.d.ts +1 -1
- package/dist/icons/ui-icons/position2x2-top-left.d.ts +1 -1
- package/dist/icons/ui-icons/position2x2-top-right.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-bottom-center.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-bottom-left.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-bottom-right.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-center-center.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-center-left.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-center-right.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-empty.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-top-center.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-top-left.d.ts +1 -1
- package/dist/icons/ui-icons/position3x3-top-right.d.ts +1 -1
- package/dist/icons/ui-icons/positioning-guide-alt.d.ts +1 -1
- package/dist/icons/ui-icons/positioning-guide.d.ts +1 -1
- package/dist/icons/ui-icons/positioning-width-guide.d.ts +1 -1
- package/dist/icons/ui-icons/preload.d.ts +1 -1
- package/dist/icons/ui-icons/preview-responsive.d.ts +1 -1
- package/dist/icons/ui-icons/preview.d.ts +1 -1
- package/dist/icons/ui-icons/progressbar-intermittent.d.ts +1 -1
- package/dist/icons/ui-icons/progressbar.d.ts +1 -1
- package/dist/icons/ui-icons/range-max.d.ts +1 -1
- package/dist/icons/ui-icons/range-mid.d.ts +1 -1
- package/dist/icons/ui-icons/range-min.d.ts +1 -1
- package/dist/icons/ui-icons/range.d.ts +1 -1
- package/dist/icons/ui-icons/read-only.d.ts +1 -1
- package/dist/icons/ui-icons/reduce-height-bottom.d.ts +1 -1
- package/dist/icons/ui-icons/reduce-height-top.d.ts +1 -1
- package/dist/icons/ui-icons/regex.d.ts +1 -1
- package/dist/icons/ui-icons/remove.d.ts +1 -1
- package/dist/icons/ui-icons/rename.d.ts +1 -1
- package/dist/icons/ui-icons/reorder-grabber-h.d.ts +1 -1
- package/dist/icons/ui-icons/reorder-grabber-v.d.ts +1 -1
- package/dist/icons/ui-icons/reorder.d.ts +1 -1
- package/dist/icons/ui-icons/required-alt.d.ts +1 -1
- package/dist/icons/ui-icons/required.d.ts +1 -1
- package/dist/icons/ui-icons/reset-to-zero.d.ts +1 -1
- package/dist/icons/ui-icons/reset.d.ts +1 -1
- package/dist/icons/ui-icons/responsive-overrides-alt-fill.d.ts +1 -1
- package/dist/icons/ui-icons/responsive-overrides-alt.d.ts +1 -1
- package/dist/icons/ui-icons/responsive-overrides-alt2-fill.d.ts +1 -1
- package/dist/icons/ui-icons/responsive-overrides-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/responsive-overrides-alt3-fill.d.ts +1 -1
- package/dist/icons/ui-icons/responsive-overrides.d.ts +1 -1
- package/dist/icons/ui-icons/responsive.d.ts +1 -1
- package/dist/icons/ui-icons/right-panel-alt.d.ts +1 -1
- package/dist/icons/ui-icons/right-panel.d.ts +1 -1
- package/dist/icons/ui-icons/rotate-left.d.ts +1 -1
- package/dist/icons/ui-icons/rotate-right.d.ts +1 -1
- package/dist/icons/ui-icons/rounded-corners.d.ts +1 -1
- package/dist/icons/ui-icons/route.d.ts +1 -1
- package/dist/icons/ui-icons/row-add.d.ts +1 -1
- package/dist/icons/ui-icons/row-empty.d.ts +1 -1
- package/dist/icons/ui-icons/row.d.ts +1 -1
- package/dist/icons/ui-icons/rows.d.ts +1 -1
- package/dist/icons/ui-icons/ruler.d.ts +1 -1
- package/dist/icons/ui-icons/save.d.ts +1 -1
- package/dist/icons/ui-icons/screen-desktop.d.ts +1 -1
- package/dist/icons/ui-icons/screen-large.d.ts +1 -1
- package/dist/icons/ui-icons/screen-mobile.d.ts +1 -1
- package/dist/icons/ui-icons/screen-tablet-large.d.ts +1 -1
- package/dist/icons/ui-icons/screen-tablet.d.ts +1 -1
- package/dist/icons/ui-icons/scrollbar-h.d.ts +1 -1
- package/dist/icons/ui-icons/scrollbar-v.d.ts +1 -1
- package/dist/icons/ui-icons/scrollbars.d.ts +1 -1
- package/dist/icons/ui-icons/search-empty.d.ts +1 -1
- package/dist/icons/ui-icons/search.d.ts +1 -1
- package/dist/icons/ui-icons/separator-h.d.ts +1 -1
- package/dist/icons/ui-icons/separator-v.d.ts +1 -1
- package/dist/icons/ui-icons/shadow.d.ts +1 -1
- package/dist/icons/ui-icons/share.d.ts +1 -1
- package/dist/icons/ui-icons/shield-plus-alt.d.ts +1 -1
- package/dist/icons/ui-icons/shield-plus.d.ts +1 -1
- package/dist/icons/ui-icons/shield.d.ts +1 -1
- package/dist/icons/ui-icons/shrink-diagonal-left-xl.d.ts +1 -1
- package/dist/icons/ui-icons/shrink-diagonal-left.d.ts +1 -1
- package/dist/icons/ui-icons/shrink-diagonal-right-xl.d.ts +1 -1
- package/dist/icons/ui-icons/shrink-diagonal-right.d.ts +1 -1
- package/dist/icons/ui-icons/shrink-xl.d.ts +1 -1
- package/dist/icons/ui-icons/shrink.d.ts +1 -1
- package/dist/icons/ui-icons/shuffle.d.ts +1 -1
- package/dist/icons/ui-icons/sidebar-flip.d.ts +1 -1
- package/dist/icons/ui-icons/sidebar.d.ts +1 -1
- package/dist/icons/ui-icons/single-item-left-inset-mobile.d.ts +1 -1
- package/dist/icons/ui-icons/single-item-left-inset.d.ts +1 -1
- package/dist/icons/ui-icons/single-item-right-inset-mobile.d.ts +1 -1
- package/dist/icons/ui-icons/single-item-right-inset.d.ts +1 -1
- package/dist/icons/ui-icons/size-alt.d.ts +1 -1
- package/dist/icons/ui-icons/size.d.ts +1 -1
- package/dist/icons/ui-icons/slider.d.ts +1 -1
- package/dist/icons/ui-icons/sliders.d.ts +1 -1
- package/dist/icons/ui-icons/small.d.ts +1 -1
- package/dist/icons/ui-icons/solid-circle-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/solid-circle-filled.d.ts +1 -1
- package/dist/icons/ui-icons/solid-circle-gradient.d.ts +1 -1
- package/dist/icons/ui-icons/solid-circle.d.ts +1 -1
- package/dist/icons/ui-icons/solid-color.d.ts +1 -1
- package/dist/icons/ui-icons/solid-rect-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/solid-rect-filled.d.ts +1 -1
- package/dist/icons/ui-icons/solid-rect-gradient.d.ts +1 -1
- package/dist/icons/ui-icons/solid-rect.d.ts +1 -1
- package/dist/icons/ui-icons/sort-asc.d.ts +1 -1
- package/dist/icons/ui-icons/sort-desc.d.ts +1 -1
- package/dist/icons/ui-icons/sort-generic.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-bottom-in.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-bottom.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-left-in.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-left.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-right-in.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-right.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-top-in.d.ts +1 -1
- package/dist/icons/ui-icons/spacing-top.d.ts +1 -1
- package/dist/icons/ui-icons/speed.d.ts +1 -1
- package/dist/icons/ui-icons/stagger.d.ts +1 -1
- package/dist/icons/ui-icons/star.d.ts +1 -1
- package/dist/icons/ui-icons/step.d.ts +1 -1
- package/dist/icons/ui-icons/stop.d.ts +1 -1
- package/dist/icons/ui-icons/swap.d.ts +1 -1
- package/dist/icons/ui-icons/tag-alt.d.ts +1 -1
- package/dist/icons/ui-icons/tag.d.ts +1 -1
- package/dist/icons/ui-icons/text-abc.d.ts +1 -1
- package/dist/icons/ui-icons/text-above.d.ts +1 -1
- package/dist/icons/ui-icons/text-align-center.d.ts +1 -1
- package/dist/icons/ui-icons/text-align-generic.d.ts +1 -1
- package/dist/icons/ui-icons/text-align-justify.d.ts +1 -1
- package/dist/icons/ui-icons/text-align-left.d.ts +1 -1
- package/dist/icons/ui-icons/text-align-right.d.ts +1 -1
- package/dist/icons/ui-icons/text-below.d.ts +1 -1
- package/dist/icons/ui-icons/text-box-edit.d.ts +1 -1
- package/dist/icons/ui-icons/text-color-swatch.d.ts +1 -1
- package/dist/icons/ui-icons/text-highlight-color-swatch-alt.d.ts +1 -1
- package/dist/icons/ui-icons/text-highlight-color-swatch.d.ts +1 -1
- package/dist/icons/ui-icons/text-larger.d.ts +1 -1
- package/dist/icons/ui-icons/text-length.d.ts +1 -1
- package/dist/icons/ui-icons/text-size-alt.d.ts +1 -1
- package/dist/icons/ui-icons/text-size.d.ts +1 -1
- package/dist/icons/ui-icons/text-smaller.d.ts +1 -1
- package/dist/icons/ui-icons/text-strikethrough.d.ts +1 -1
- package/dist/icons/ui-icons/text-uppercase.d.ts +1 -1
- package/dist/icons/ui-icons/text-write.d.ts +1 -1
- package/dist/icons/ui-icons/thumbs-down.d.ts +1 -1
- package/dist/icons/ui-icons/thumbs-up.d.ts +1 -1
- package/dist/icons/ui-icons/title-generic.d.ts +1 -1
- package/dist/icons/ui-icons/toggle-off.d.ts +1 -1
- package/dist/icons/ui-icons/toggle-on-alt.d.ts +1 -1
- package/dist/icons/ui-icons/toggle-on.d.ts +1 -1
- package/dist/icons/ui-icons/tools.d.ts +1 -1
- package/dist/icons/ui-icons/total-items.d.ts +1 -1
- package/dist/icons/ui-icons/trash-alt.d.ts +1 -1
- package/dist/icons/ui-icons/trash.d.ts +1 -1
- package/dist/icons/ui-icons/tree-alt.d.ts +1 -1
- package/dist/icons/ui-icons/tree-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/tree.d.ts +1 -1
- package/dist/icons/ui-icons/troubleshoot-alt.d.ts +1 -1
- package/dist/icons/ui-icons/two-cards-left.d.ts +1 -1
- package/dist/icons/ui-icons/two-cards-right.d.ts +1 -1
- package/dist/icons/ui-icons/two-columns.d.ts +1 -1
- package/dist/icons/ui-icons/typography-options.d.ts +1 -1
- package/dist/icons/ui-icons/typography.d.ts +1 -1
- package/dist/icons/ui-icons/underline.d.ts +1 -1
- package/dist/icons/ui-icons/ungroup.d.ts +1 -1
- package/dist/icons/ui-icons/upload.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram-alt.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram-alt3.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram-alt4.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram-alt5.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram-alt6.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram-alt7.d.ts +1 -1
- package/dist/icons/ui-icons/venn-diagram.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-alt.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-around.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-between-alt.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-between.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-bottom.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-center.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-evenly.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-stretch.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align-top.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-align.d.ts +1 -1
- package/dist/icons/ui-icons/vertical-spacing.d.ts +1 -1
- package/dist/icons/ui-icons/video-chapters.d.ts +1 -1
- package/dist/icons/ui-icons/video-controls.d.ts +1 -1
- package/dist/icons/ui-icons/video-file.d.ts +1 -1
- package/dist/icons/ui-icons/video-poster-image.d.ts +1 -1
- package/dist/icons/ui-icons/video-subtitle-alt.d.ts +1 -1
- package/dist/icons/ui-icons/video-subtitle.d.ts +1 -1
- package/dist/icons/ui-icons/video.d.ts +1 -1
- package/dist/icons/ui-icons/visibility-alt.d.ts +1 -1
- package/dist/icons/ui-icons/visibility-alt2.d.ts +1 -1
- package/dist/icons/ui-icons/visibility.d.ts +1 -1
- package/dist/icons/ui-icons/visible.d.ts +1 -1
- package/dist/icons/ui-icons/volume.d.ts +1 -1
- package/dist/icons/ui-icons/warning-circle-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/warning-circle-fill.d.ts +1 -1
- package/dist/icons/ui-icons/warning-circle.d.ts +1 -1
- package/dist/icons/ui-icons/warning-fill-transparent.d.ts +1 -1
- package/dist/icons/ui-icons/warning-fill.d.ts +1 -1
- package/dist/icons/ui-icons/warning.d.ts +1 -1
- package/dist/icons/ui-icons/web-video.d.ts +1 -1
- package/dist/icons/ui-icons/wide-bottom.d.ts +1 -1
- package/dist/icons/ui-icons/wide-left.d.ts +1 -1
- package/dist/icons/ui-icons/wide-right.d.ts +1 -1
- package/dist/icons/ui-icons/wide-top.d.ts +1 -1
- package/dist/icons/ui-icons/width.d.ts +1 -1
- package/dist/icons/ui-icons/wordpress.d.ts +1 -1
- package/dist/icons/ui-icons/wrapper-alt.d.ts +1 -1
- package/dist/icons/ui-icons/wrapper-config.d.ts +1 -1
- package/dist/icons/ui-icons/wrapper-off-alt.d.ts +1 -1
- package/dist/icons/ui-icons/wrapper-overflow.d.ts +1 -1
- package/dist/icons/ui-icons/wrapper-simple-alt.d.ts +1 -1
- package/dist/icons/ui-icons/wrapper-simple.d.ts +1 -1
- package/dist/icons/ui-icons/wrapper.d.ts +1 -1
- package/dist/icons/ui-icons/wrench.d.ts +1 -1
- package/dist/icons/ui-icons/zap-fill.d.ts +1 -1
- package/dist/icons/ui-icons/zap.d.ts +1 -1
- package/dist/index.js +16 -16
- package/dist/{input-field-BlZlV8tR.js → input-field-QzBpjm-m.js} +15 -15
- package/dist/{jsx-svg-DHsyyG4y.js → jsx-svg-DRwJdRpA.js} +175 -133
- package/dist/{keyboard-DSfGd-PY.js → keyboard-BxnnQA2Z.js} +1 -1
- package/dist/{link-input-eyXFRA_1.js → link-input-CElQp3lP.js} +173 -99
- package/dist/{modal-Ct_DKzP5.js → modal-BeacK9N_.js} +25 -24
- package/dist/{number-Bgzc3wxt.js → number-BeC0ySe4.js} +2 -1
- package/dist/{number-picker-CeOp31Zd.js → number-picker-CK_OHBXw.js} +15 -15
- package/dist/{proxy-5i9ixxY0.js → react-C6Y6cCOx.js} +263 -272
- package/dist/{shared-DSy1H9Uy.js → shared-DBCipn_m.js} +88 -78
- package/dist/{solid-color-picker-DY1pBp18.js → solid-color-picker-2-X3ridX.js} +84 -72
- package/dist/sprintf-xJRAt4p0.js +129 -0
- package/dist/{switch-85EFSGmJ.js → switch-B87lQ1V0.js} +34 -18
- package/dist/{tabs-CBG98k4I.js → tabs-DgkJUkIX.js} +58 -48
- package/dist/text-helpers-QrwKKaOh.js +254 -0
- package/dist/{textSelection-DCeeu848.js → textSelection-5Qk8tLtm.js} +3 -3
- package/dist/{toggle-button-Ba1-pDDV.js → toggle-button-B2-f2rU6.js} +13 -12
- package/dist/{tooltip-CYYcZD_f.js → tooltip-AzOLps8g.js} +76 -70
- package/dist/{useAsyncList-B3-uyJgA.js → useAsyncList-CjKVLGN0.js} +8 -4
- package/dist/{useButton-C5l3uM3M.js → useButton-BIrfoiY8.js} +3 -3
- package/dist/{useCollection-D_QRaKc6.js → useCollection-LQlZnc1u.js} +390 -255
- package/dist/{useEvent-9UH7-hIb.js → useEvent-Bih8lvtM.js} +1 -1
- package/dist/{useField-DZ0cTkNU.js → useField-B_ibsWst.js} +7 -3
- package/dist/{useFilter-BVcZYNGK.js → useFilter-BFaOw4yi.js} +1 -1
- package/dist/{useFocusRing-KUKJnS3I.js → useFocusRing-ZXFsftJJ.js} +3 -2
- package/dist/{useFormReset-Bz-W1XZE.js → useFormReset-DDJhIIfG.js} +1 -1
- package/dist/{useFormValidation-BAC0iB4T.js → useFormValidation-BfnJKcdX.js} +5 -8
- package/dist/{useHover-BZbXvQcj.js → useHover-CbyH227W.js} +253 -61
- package/dist/{useLabel-Dyb9-lU5.js → useLabel-gfFDE4bn.js} +2 -2
- package/dist/{useLabels-DdxgDtMs.js → useLabels-Dcg-cEyM.js} +1 -1
- package/dist/{useListState-DdNleQAH.js → useListState-I22DfnmE.js} +4 -2
- package/dist/{useLocalizedStringFormatter-B5q-uCG6.js → useLocalizedStringFormatter-CTCqjYu4.js} +6 -1
- package/dist/{useNumberFieldState-D9gldYIv.js → useNumberFieldState-C1gD0RuW.js} +93 -64
- package/dist/{useNumberFormatter-DbIS46GT.js → useNumberFormatter-DbAt_fC_.js} +2 -2
- package/dist/{useOverlayTriggerState-DbYNw1PM.js → useOverlayTriggerState-Cpc_IbQf.js} +25 -21
- package/dist/{usePress-yLRbMdw6.js → usePress-BF7otjax.js} +41 -21
- package/dist/useSlot-CnQHcvd4.js +25 -0
- package/dist/{useTextField-BRuuZW8y.js → useTextField-CnTuCBMs.js} +11 -11
- package/dist/useToggle-Cgv5UXaB.js +115 -0
- package/dist/{useToggleState-BTyFw4k9.js → useToggleState-Cy1E36QZ.js} +1 -1
- package/dist/utilities/array-helpers.d.ts +1 -1
- 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 -92
- package/dist/utilities/web-workers.d.ts +9 -8
- package/dist/utilities/web-workers.js +16 -8
- package/dist/{utils-8BmRKOPl.js → utils-ClM91CuL.js} +40 -29
- package/package.json +34 -37
- package/dist/SelectionIndicator-CVL8ZTMW.js +0 -13
- package/dist/useToggle-BYDcqWiq.js +0 -63
- package/dist/useToolbar-BKLb8oIP.js +0 -55
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { a as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, f as $390e54f620492c70$export$b4cc09c592e8fdb8, g as $a4e76a5424781910$export$e08e3b67e392101e, h as $c4867b2f328c2698$export$e5c5a5f917a5871c, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $03e8ab2d84d7657a$export$4338b53315abf666, m as $c7eafbbe1ea5834e$export$535bd6ca7f90a273, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-
|
|
2
|
-
import { n as $bb39c0fc1c19b34c$export$c57958e35f31ed73 } from "./keyboard-
|
|
3
|
-
import { B as $23f2114a1b82827e$export$b4f377a2b6254582, G as $d447af545b77c9f1$export$
|
|
4
|
-
import { n as $4b38b5b75ecc6208$export$698f465ec27e93df, r as $4b38b5b75ecc6208$export$b0d3ecf7112093a7 } from "./Autocomplete-
|
|
5
|
-
import { t as $600b3cf69ae46262$export$90fc3a17d93f704c } from "./useEvent-
|
|
6
|
-
import { t as $e8ac3c3f5d4bae7f$export$d6875122194c7b44 } from "./useLabels-
|
|
7
|
-
import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-
|
|
8
|
-
import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
9
|
-
import { C as $6f0c29017aeec335$export$fd11f34e1d07f134, S as $6f0c29017aeec335$export$d68d59712b04d9d1, _ as $42ceafc619f9c3ba$export$e953bb1cd0f19726, a as $f6ba6936bfd098a0$export$ecf600387e221c37, b as $6f0c29017aeec335$export$5ae2504e948afce5, d as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, f as $263ab7fc0f95ccdb$export$90e00781bc59d8f9, g as $42ceafc619f9c3ba$export$bf788dd355e3a401, h as $42ceafc619f9c3ba$export$18af5c7a9e9b3664, i as $cd5ea4b915021f1d$export$1005530eda016c13, l as $22bbea12c2567021$export$c3d8340acf92597f, m as $263ab7fc0f95ccdb$export$d40e14dec8b060a8, n as $4a07ac835f260f78$export$6c8a5aaad13c9852, o as $7b01448eaad0fe7c$export$c24ed0104d07eab9, r as $60f19cefd567a3e4$export$253fe78d46329472, s as $d667c2af82d35a98$export$d6daf82dcd84e87c, t as $d03379b88399b8c5$export$6cd28814d92fa9c9, u as $901761b40e390936$export$2bb74740c4e19def, v as $42ceafc619f9c3ba$export$fb8073518f34e6ec, y as $6f0c29017aeec335$export$437f11dc9b403b78 } from "./useCollection-
|
|
10
|
-
import { r as $d7f64c32b702fe2c$export$b5d7cc18bb8d2b59 } from "./Hidden-
|
|
1
|
+
import { a as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, f as $390e54f620492c70$export$b4cc09c592e8fdb8, g as $a4e76a5424781910$export$e08e3b67e392101e, h as $c4867b2f328c2698$export$e5c5a5f917a5871c, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $03e8ab2d84d7657a$export$4338b53315abf666, m as $c7eafbbe1ea5834e$export$535bd6ca7f90a273, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
|
|
2
|
+
import { n as $bb39c0fc1c19b34c$export$c57958e35f31ed73 } from "./keyboard-BxnnQA2Z.js";
|
|
3
|
+
import { B as $23f2114a1b82827e$export$b4f377a2b6254582, D as $2add3ce32c6007eb$export$78551043582a6a98, G as $d447af545b77c9f1$export$af51f0f06c0f328a, K as $d447af545b77c9f1$export$b204af158042fbac, O as $2add3ce32c6007eb$export$9ac100e40613ea10, R as $1969ac565cfec8d0$export$de79e2c695e052f3, S as $caaf0dd3060ed57c$export$9a302a45f65d0572, U as $23f2114a1b82827e$export$e58f029f0fbfdb29, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, W as $6a20a7989e6c817a$export$98658e8c59125e6a, _ as $8f5a2122b0992be3$export$b9b3dfddab17db27, a as $d1116acdf220c2da$export$f9762fab77588ecb, b as $caaf0dd3060ed57c$export$7e924b3091a3bd18, d as $3e6197669829fe11$export$40bfa8c7b0832715, f as $fe16bffc7a557bf0$export$7f54fc3180508a52, g as $8f5a2122b0992be3$export$98e20ec92f614cfe, i as $d1116acdf220c2da$export$4c014de7c8940b4c, j as $2add3ce32c6007eb$export$fedb369cb70207f1, l as $f192c2f16961cbe0$export$80f3e147d781571c, m as $8f5a2122b0992be3$export$8397ddfc504fdb9a, o as $b7115c395c64f7b5$export$4debdb1a3f0fa79e, p as $8f5a2122b0992be3$export$630ff653c5ada6a9, q as $d447af545b77c9f1$export$f21a1ffae260145a, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, t as $e969f22b6713ca4a$export$ae780daf29e6d456, y as $caaf0dd3060ed57c$export$13aea1a3cb5e3f1f, z as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useHover-CbyH227W.js";
|
|
4
|
+
import { n as $4b38b5b75ecc6208$export$698f465ec27e93df, r as $4b38b5b75ecc6208$export$b0d3ecf7112093a7 } from "./Autocomplete-CO9aIsTe.js";
|
|
5
|
+
import { t as $600b3cf69ae46262$export$90fc3a17d93f704c } from "./useEvent-Bih8lvtM.js";
|
|
6
|
+
import { t as $e8ac3c3f5d4bae7f$export$d6875122194c7b44 } from "./useLabels-Dcg-cEyM.js";
|
|
7
|
+
import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R_4IDnf9.js";
|
|
8
|
+
import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CTCqjYu4.js";
|
|
9
|
+
import { C as $6f0c29017aeec335$export$fd11f34e1d07f134, S as $6f0c29017aeec335$export$d68d59712b04d9d1, _ as $42ceafc619f9c3ba$export$e953bb1cd0f19726, a as $f6ba6936bfd098a0$export$ecf600387e221c37, b as $6f0c29017aeec335$export$5ae2504e948afce5, d as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, f as $263ab7fc0f95ccdb$export$90e00781bc59d8f9, g as $42ceafc619f9c3ba$export$bf788dd355e3a401, h as $42ceafc619f9c3ba$export$18af5c7a9e9b3664, i as $cd5ea4b915021f1d$export$1005530eda016c13, l as $22bbea12c2567021$export$c3d8340acf92597f, m as $263ab7fc0f95ccdb$export$d40e14dec8b060a8, n as $4a07ac835f260f78$export$6c8a5aaad13c9852, o as $7b01448eaad0fe7c$export$c24ed0104d07eab9, r as $60f19cefd567a3e4$export$253fe78d46329472, s as $d667c2af82d35a98$export$d6daf82dcd84e87c, t as $d03379b88399b8c5$export$6cd28814d92fa9c9, u as $901761b40e390936$export$2bb74740c4e19def, v as $42ceafc619f9c3ba$export$fb8073518f34e6ec, y as $6f0c29017aeec335$export$437f11dc9b403b78 } from "./useCollection-LQlZnc1u.js";
|
|
10
|
+
import { r as $d7f64c32b702fe2c$export$b5d7cc18bb8d2b59 } from "./Hidden-C4Saxkx9.js";
|
|
11
11
|
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-CgeMQsGa.js";
|
|
12
|
-
import { n as $24f9a20f226ad820$export$5165eccb35aaadb5, r as $2b2d34ff061957fb$export$2b85b721e524d74b, t as $d27d541f9569d26d$export$45712eceda6fad21 } from "./usePress-
|
|
13
|
-
import { n as $2c9edc598a03d523$export$420e68273165f4ec } from "./useFocusRing-
|
|
14
|
-
import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-
|
|
15
|
-
import { n as $2ec61d1d4f780267$export$d688439359537581 } from "./Heading-
|
|
16
|
-
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-
|
|
17
|
-
import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { a as $
|
|
21
|
-
import { n as $
|
|
22
|
-
import { n as $
|
|
23
|
-
import
|
|
24
|
-
import $
|
|
12
|
+
import { n as $24f9a20f226ad820$export$5165eccb35aaadb5, r as $2b2d34ff061957fb$export$2b85b721e524d74b, t as $d27d541f9569d26d$export$45712eceda6fad21 } from "./usePress-BF7otjax.js";
|
|
13
|
+
import { n as $2c9edc598a03d523$export$420e68273165f4ec } from "./useFocusRing-ZXFsftJJ.js";
|
|
14
|
+
import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-DO3oQfCq.js";
|
|
15
|
+
import { n as $2ec61d1d4f780267$export$d688439359537581 } from "./Heading-BQje2nS2.js";
|
|
16
|
+
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-i-ZK4MiL.js";
|
|
17
|
+
import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-CsM0VnV1.js";
|
|
18
|
+
import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-D1LPCrSc.js";
|
|
19
|
+
import { t as $91fe5e721c7f36c1$export$c9549807523555e0 } from "./SelectionIndicator-CyOcB5ps.js";
|
|
20
|
+
import { a as $654b97e09f2a30c1$export$4d0f8be8b12a7ef6, n as $535772f9d2c1f38d$export$20e40289641fbbb6, t as $535772f9d2c1f38d$export$1258395f99bf9cbf } from "./FocusScope-Cj6cUR6X.js";
|
|
21
|
+
import { a as $4fcfe18fac72dabd$export$2de4954e8ae13b9f, i as $22e2f5f6490788e8$export$f6211563215e3b37, n as $b3526bc71400be8d$export$d39e1813b3bdd0e1, r as $970072cf4b13fde3$export$683480f191c0e3ea, t as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./useOverlayTriggerState-Cpc_IbQf.js";
|
|
22
|
+
import { n as $72abaeab4d80592f$export$9fc1347d4195ccb3 } from "./PortalProvider-Dbcc7pHq.js";
|
|
23
|
+
import { n as $fcc7165e876206c6$export$6d3443f2c48bfc20, t as $fcc7165e876206c6$export$45fda7c47f93fd48 } from "./animation-COc9P6ap.js";
|
|
24
|
+
import $3ARPR$react, { createContext, forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
25
|
+
import $3wX5A$reactdom from "react-dom";
|
|
25
26
|
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
|
|
26
27
|
function $3578607fe3d4b096$export$cfa2225e87938781(node, checkForOverflow) {
|
|
27
28
|
let scrollableNode = node;
|
|
@@ -34,7 +35,7 @@ function $3578607fe3d4b096$export$cfa2225e87938781(node, checkForOverflow) {
|
|
|
34
35
|
var $53e61d82d8b8611d$export$e0e4026c12a8bdbb = createContext({});
|
|
35
36
|
var $53e61d82d8b8611d$export$8b251419efc915eb = $42ceafc619f9c3ba$export$18af5c7a9e9b3664($6f0c29017aeec335$export$5ae2504e948afce5, function Header(props, ref) {
|
|
36
37
|
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $53e61d82d8b8611d$export$e0e4026c12a8bdbb);
|
|
37
|
-
return
|
|
38
|
+
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.header, {
|
|
38
39
|
className: "react-aria-Header",
|
|
39
40
|
...props,
|
|
40
41
|
ref
|
|
@@ -82,7 +83,7 @@ var $e28ab3efe3e87743$export$1ff3c3f08ae963c0 = $42ceafc619f9c3ba$export$18af5c7
|
|
|
82
83
|
orientation
|
|
83
84
|
});
|
|
84
85
|
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
85
|
-
return
|
|
86
|
+
return $3ARPR$react.createElement(ElementType, {
|
|
86
87
|
render: props.render,
|
|
87
88
|
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(DOMProps, separatorProps),
|
|
88
89
|
style,
|
|
@@ -159,26 +160,26 @@ var $ae8f8d98b2b18f2f$export$a05409b8bb224a5a = class {
|
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
162
|
isDisabled(item) {
|
|
162
|
-
return this.disabledBehavior === "all" && (item.props?.isDisabled || this.disabledKeys.has(item.key));
|
|
163
|
+
return this.disabledBehavior === "all" && (item.props?.isDisabled || this.disabledKeys.has(item.key)) && item.props?.disabledBehavior !== "selection";
|
|
163
164
|
}
|
|
164
|
-
findNextNonDisabled(key, getNext) {
|
|
165
|
+
findNextNonDisabled(key, getNext, includeDisabled = false) {
|
|
165
166
|
let nextKey = key;
|
|
166
167
|
while (nextKey != null) {
|
|
167
168
|
let item = this.collection.getItem(nextKey);
|
|
168
|
-
if (item?.type === "item" && !this.isDisabled(item)) return nextKey;
|
|
169
|
+
if (item?.type === "item" && (includeDisabled || !this.isDisabled(item))) return nextKey;
|
|
169
170
|
nextKey = getNext(nextKey);
|
|
170
171
|
}
|
|
171
172
|
return null;
|
|
172
173
|
}
|
|
173
|
-
getNextKey(key) {
|
|
174
|
+
getNextKey(key, options) {
|
|
174
175
|
let nextKey = key;
|
|
175
176
|
nextKey = this.collection.getKeyAfter(nextKey);
|
|
176
|
-
return this.findNextNonDisabled(nextKey, (key) => this.collection.getKeyAfter(key));
|
|
177
|
+
return this.findNextNonDisabled(nextKey, (key) => this.collection.getKeyAfter(key), options?.includeDisabled);
|
|
177
178
|
}
|
|
178
|
-
getPreviousKey(key) {
|
|
179
|
+
getPreviousKey(key, options) {
|
|
179
180
|
let nextKey = key;
|
|
180
181
|
nextKey = this.collection.getKeyBefore(nextKey);
|
|
181
|
-
return this.findNextNonDisabled(nextKey, (key) => this.collection.getKeyBefore(key));
|
|
182
|
+
return this.findNextNonDisabled(nextKey, (key) => this.collection.getKeyBefore(key), options?.includeDisabled);
|
|
182
183
|
}
|
|
183
184
|
findKey(key, nextKey, shouldSkip) {
|
|
184
185
|
let tempKey = key;
|
|
@@ -198,37 +199,57 @@ var $ae8f8d98b2b18f2f$export$a05409b8bb224a5a = class {
|
|
|
198
199
|
isSameColumn(prevRect, itemRect) {
|
|
199
200
|
return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;
|
|
200
201
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
isReversed(key) {
|
|
203
|
+
let nextKey = this.getNextKey(key);
|
|
204
|
+
let currentEl = $22bbea12c2567021$export$c3d8340acf92597f(this.ref, key);
|
|
205
|
+
if (nextKey != null) {
|
|
206
|
+
let nextEl = $22bbea12c2567021$export$c3d8340acf92597f(this.ref, nextKey);
|
|
207
|
+
if (!currentEl || !nextEl) return false;
|
|
208
|
+
return currentEl.getBoundingClientRect().top > nextEl.getBoundingClientRect().top;
|
|
209
|
+
}
|
|
210
|
+
let prevKey = this.getPreviousKey(key);
|
|
211
|
+
if (prevKey != null) {
|
|
212
|
+
let prevEl = $22bbea12c2567021$export$c3d8340acf92597f(this.ref, prevKey);
|
|
213
|
+
if (!currentEl || !prevEl) return false;
|
|
214
|
+
return prevEl.getBoundingClientRect().top > currentEl.getBoundingClientRect().top;
|
|
215
|
+
}
|
|
216
|
+
return false;
|
|
204
217
|
}
|
|
205
|
-
|
|
206
|
-
if (this.layout === "grid" && this.orientation === "vertical") return this.findKey(key, (key) => this.
|
|
207
|
-
else return this.getPreviousKey(key);
|
|
218
|
+
getKeyBelow(key, options) {
|
|
219
|
+
if (this.layout === "grid" && this.orientation === "vertical") return this.findKey(key, (key) => this.getNextKey(key, options), this.isSameRow);
|
|
220
|
+
else if (this.orientation === "vertical") return this.isReversed(key) ? this.getPreviousKey(key, options) : this.getNextKey(key, options);
|
|
221
|
+
else return this.getNextKey(key, options);
|
|
208
222
|
}
|
|
209
|
-
|
|
210
|
-
|
|
223
|
+
getKeyAbove(key, options) {
|
|
224
|
+
if (this.layout === "grid" && this.orientation === "vertical") return this.findKey(key, (key) => this.getPreviousKey(key, options), this.isSameRow);
|
|
225
|
+
else if (this.orientation === "vertical") return this.isReversed(key) ? this.getNextKey(key, options) : this.getPreviousKey(key, options);
|
|
226
|
+
else return this.getPreviousKey(key, options);
|
|
211
227
|
}
|
|
212
|
-
|
|
228
|
+
getNextColumn(key, right, options) {
|
|
229
|
+
return right ? this.getPreviousKey(key, options) : this.getNextKey(key, options);
|
|
230
|
+
}
|
|
231
|
+
getKeyRightOf(key, options) {
|
|
213
232
|
let layoutDelegateMethod = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
214
233
|
if (this.layoutDelegate[layoutDelegateMethod]) {
|
|
215
234
|
key = this.layoutDelegate[layoutDelegateMethod](key);
|
|
216
|
-
return this.findNextNonDisabled(key, (key) => this.layoutDelegate[layoutDelegateMethod](key));
|
|
235
|
+
return this.findNextNonDisabled(key, (key) => this.layoutDelegate[layoutDelegateMethod](key), options?.includeDisabled);
|
|
217
236
|
}
|
|
218
|
-
if (this.layout === "grid")
|
|
219
|
-
|
|
220
|
-
|
|
237
|
+
if (this.layout === "grid") {
|
|
238
|
+
if (this.orientation === "vertical") return this.getNextColumn(key, this.direction === "rtl", options);
|
|
239
|
+
else return this.findKey(key, (key) => this.getNextColumn(key, this.direction === "rtl", options), this.isSameColumn);
|
|
240
|
+
} else if (this.orientation === "horizontal") return this.getNextColumn(key, this.direction === "rtl", options);
|
|
221
241
|
return null;
|
|
222
242
|
}
|
|
223
|
-
getKeyLeftOf(key) {
|
|
243
|
+
getKeyLeftOf(key, options) {
|
|
224
244
|
let layoutDelegateMethod = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
225
245
|
if (this.layoutDelegate[layoutDelegateMethod]) {
|
|
226
246
|
key = this.layoutDelegate[layoutDelegateMethod](key);
|
|
227
|
-
return this.findNextNonDisabled(key, (key) => this.layoutDelegate[layoutDelegateMethod](key));
|
|
247
|
+
return this.findNextNonDisabled(key, (key) => this.layoutDelegate[layoutDelegateMethod](key), options?.includeDisabled);
|
|
228
248
|
}
|
|
229
|
-
if (this.layout === "grid")
|
|
230
|
-
|
|
231
|
-
|
|
249
|
+
if (this.layout === "grid") {
|
|
250
|
+
if (this.orientation === "vertical") return this.getNextColumn(key, this.direction === "ltr", options);
|
|
251
|
+
else return this.findKey(key, (key) => this.getNextColumn(key, this.direction === "ltr", options), this.isSameColumn);
|
|
252
|
+
} else if (this.orientation === "horizontal") return this.getNextColumn(key, this.direction === "ltr", options);
|
|
232
253
|
return null;
|
|
233
254
|
}
|
|
234
255
|
getFirstKey() {
|
|
@@ -243,6 +264,7 @@ var $ae8f8d98b2b18f2f$export$a05409b8bb224a5a = class {
|
|
|
243
264
|
let menu = this.ref.current;
|
|
244
265
|
let itemRect = this.layoutDelegate.getItemRect(key);
|
|
245
266
|
if (!itemRect) return null;
|
|
267
|
+
let reversed = this.isReversed(key);
|
|
246
268
|
if (menu && !$901761b40e390936$export$2bb74740c4e19def(menu)) return this.getFirstKey();
|
|
247
269
|
let nextKey = key;
|
|
248
270
|
if (this.orientation === "horizontal") {
|
|
@@ -252,18 +274,20 @@ var $ae8f8d98b2b18f2f$export$a05409b8bb224a5a = class {
|
|
|
252
274
|
itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
|
|
253
275
|
}
|
|
254
276
|
} else {
|
|
255
|
-
let
|
|
277
|
+
let visibleRect = this.layoutDelegate.getVisibleRect();
|
|
278
|
+
let pageY = reversed ? itemRect.y - visibleRect.height : Math.max(0, itemRect.y + itemRect.height - visibleRect.height);
|
|
256
279
|
while (itemRect && itemRect.y > pageY && nextKey != null) {
|
|
257
280
|
nextKey = this.getKeyAbove(nextKey);
|
|
258
281
|
itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
|
|
259
282
|
}
|
|
260
283
|
}
|
|
261
|
-
return nextKey ?? this.getFirstKey();
|
|
284
|
+
return nextKey ?? (reversed ? this.getLastKey() : this.getFirstKey());
|
|
262
285
|
}
|
|
263
286
|
getKeyPageBelow(key) {
|
|
264
287
|
let menu = this.ref.current;
|
|
265
288
|
let itemRect = this.layoutDelegate.getItemRect(key);
|
|
266
289
|
if (!itemRect) return null;
|
|
290
|
+
let reversed = this.isReversed(key);
|
|
267
291
|
if (menu && !$901761b40e390936$export$2bb74740c4e19def(menu)) return this.getLastKey();
|
|
268
292
|
let nextKey = key;
|
|
269
293
|
if (this.orientation === "horizontal") {
|
|
@@ -279,7 +303,7 @@ var $ae8f8d98b2b18f2f$export$a05409b8bb224a5a = class {
|
|
|
279
303
|
itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
|
|
280
304
|
}
|
|
281
305
|
}
|
|
282
|
-
return nextKey ?? this.getLastKey();
|
|
306
|
+
return nextKey ?? (reversed ? this.getFirstKey() : this.getLastKey());
|
|
283
307
|
}
|
|
284
308
|
getKeyForSearch(search, fromKey) {
|
|
285
309
|
if (!this.collator) return null;
|
|
@@ -383,12 +407,14 @@ function $58196c8d6a1f38fc$export$1c3ebcada18427bf(targets, options) {
|
|
|
383
407
|
}
|
|
384
408
|
};
|
|
385
409
|
let shadowRootsToWatch = new Set();
|
|
386
|
-
if ($6a20a7989e6c817a$export$98658e8c59125e6a())
|
|
387
|
-
let
|
|
388
|
-
|
|
389
|
-
let
|
|
390
|
-
|
|
391
|
-
|
|
410
|
+
if ($6a20a7989e6c817a$export$98658e8c59125e6a()) {
|
|
411
|
+
let boundary = root.getRootNode();
|
|
412
|
+
for (let target of targets) {
|
|
413
|
+
let current = target.getRootNode();
|
|
414
|
+
while ($d447af545b77c9f1$export$af51f0f06c0f328a(current) && current !== boundary) {
|
|
415
|
+
shadowRootsToWatch.add(current);
|
|
416
|
+
current = current.host.getRootNode();
|
|
417
|
+
}
|
|
392
418
|
}
|
|
393
419
|
}
|
|
394
420
|
let walk = (root) => {
|
|
@@ -600,13 +626,13 @@ function $77844860df94ba23$export$ea8f71083e90600f(props, ref) {
|
|
|
600
626
|
}
|
|
601
627
|
lastVisibleOverlay.current = void 0;
|
|
602
628
|
};
|
|
603
|
-
let
|
|
604
|
-
if (
|
|
605
|
-
e.stopPropagation();
|
|
606
|
-
e.preventDefault();
|
|
629
|
+
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({ shortcuts: { Escape: () => {
|
|
630
|
+
if (!isKeyboardDismissDisabled) {
|
|
607
631
|
onHide();
|
|
632
|
+
return;
|
|
608
633
|
}
|
|
609
|
-
|
|
634
|
+
return false;
|
|
635
|
+
} } });
|
|
610
636
|
$e260d131964da0f9$export$872b660ac5a1ff98({
|
|
611
637
|
ref,
|
|
612
638
|
onInteractOutside: isDismissable && isOpen ? onInteractOutside : void 0,
|
|
@@ -621,7 +647,7 @@ function $77844860df94ba23$export$ea8f71083e90600f(props, ref) {
|
|
|
621
647
|
});
|
|
622
648
|
return {
|
|
623
649
|
overlayProps: {
|
|
624
|
-
|
|
650
|
+
...keyboardProps,
|
|
625
651
|
...focusWithinProps
|
|
626
652
|
},
|
|
627
653
|
underlayProps: {}
|
|
@@ -637,8 +663,10 @@ function $0644e3663365bfe5$export$ee0f7cc6afcd1c18(options = {}) {
|
|
|
637
663
|
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
638
664
|
if (isDisabled) return;
|
|
639
665
|
$0644e3663365bfe5$var$preventScrollCount++;
|
|
640
|
-
if ($0644e3663365bfe5$var$preventScrollCount === 1)
|
|
641
|
-
|
|
666
|
+
if ($0644e3663365bfe5$var$preventScrollCount === 1) {
|
|
667
|
+
if ($2add3ce32c6007eb$export$fedb369cb70207f1() && $2add3ce32c6007eb$export$78551043582a6a98()) $0644e3663365bfe5$var$restore = $0644e3663365bfe5$var$preventScrollMobileWebKit();
|
|
668
|
+
else $0644e3663365bfe5$var$restore = $0644e3663365bfe5$var$preventScrollStandard();
|
|
669
|
+
}
|
|
642
670
|
return () => {
|
|
643
671
|
$0644e3663365bfe5$var$preventScrollCount--;
|
|
644
672
|
if ($0644e3663365bfe5$var$preventScrollCount === 0) $0644e3663365bfe5$var$restore();
|
|
@@ -649,7 +677,7 @@ function $0644e3663365bfe5$var$preventScrollStandard() {
|
|
|
649
677
|
let scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
|
|
650
678
|
return $a4e76a5424781910$export$e08e3b67e392101e(scrollbarWidth > 0 && ("scrollbarGutter" in document.documentElement.style ? $0644e3663365bfe5$var$setStyle(document.documentElement, "scrollbarGutter", "stable") : $0644e3663365bfe5$var$setStyle(document.documentElement, "paddingRight", `${scrollbarWidth}px`)), $0644e3663365bfe5$var$setStyle(document.documentElement, "overflow", "hidden"));
|
|
651
679
|
}
|
|
652
|
-
function $0644e3663365bfe5$var$
|
|
680
|
+
function $0644e3663365bfe5$var$preventScrollMobileWebKit() {
|
|
653
681
|
let restoreOverflow = $0644e3663365bfe5$var$setStyle(document.documentElement, "overflow", "hidden");
|
|
654
682
|
let scrollable;
|
|
655
683
|
let allowTouchMove = false;
|
|
@@ -768,20 +796,24 @@ function $f8a024fbad3a5a2e$export$542a6fd13ac93354(props, state) {
|
|
|
768
796
|
targetRef: triggerRef,
|
|
769
797
|
overlayRef: popoverRef,
|
|
770
798
|
isOpen: state.isOpen,
|
|
771
|
-
onClose: isNonModal && !isSubmenu ? state.close : null
|
|
799
|
+
onClose: isNonModal && !isSubmenu ? state.close : null,
|
|
800
|
+
getTargetRect: otherProps.getTargetRect ?? (state.point ? () => new DOMRect(state.point.x, state.point.y, 0, 0) : void 0)
|
|
772
801
|
});
|
|
773
802
|
$0644e3663365bfe5$export$ee0f7cc6afcd1c18({ isDisabled: isNonModal || !state.isOpen });
|
|
774
803
|
useEffect(() => {
|
|
775
|
-
if (state.isOpen && popoverRef.current)
|
|
776
|
-
|
|
804
|
+
if (state.isOpen && popoverRef.current) {
|
|
805
|
+
if (isNonModal) return $58196c8d6a1f38fc$export$1020fa7f77e17884(groupRef?.current ?? popoverRef.current);
|
|
806
|
+
else return $58196c8d6a1f38fc$export$1c3ebcada18427bf([groupRef?.current ?? popoverRef.current], { shouldUseInert: true });
|
|
807
|
+
}
|
|
777
808
|
}, [
|
|
778
809
|
isNonModal,
|
|
779
810
|
state.isOpen,
|
|
780
811
|
popoverRef,
|
|
781
812
|
groupRef
|
|
782
813
|
]);
|
|
814
|
+
let { focusWithinProps } = $2c9edc598a03d523$export$420e68273165f4ec(props);
|
|
783
815
|
return {
|
|
784
|
-
popoverProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(overlayProps, positionProps),
|
|
816
|
+
popoverProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(overlayProps, positionProps, focusWithinProps),
|
|
785
817
|
arrowProps,
|
|
786
818
|
underlayProps,
|
|
787
819
|
placement,
|
|
@@ -970,11 +1002,12 @@ function $parcel$interopDefault$1(a) {
|
|
|
970
1002
|
}
|
|
971
1003
|
function $081058010ef8962e$export$2317d149ed6f78c4(props) {
|
|
972
1004
|
let { onDismiss, ...otherProps } = props;
|
|
973
|
-
let
|
|
1005
|
+
let stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault$1($8ad4f9eb0c0f6434$exports), "@react-aria/overlays");
|
|
1006
|
+
let labels = $e8ac3c3f5d4bae7f$export$d6875122194c7b44(otherProps, stringFormatter.format("dismiss"));
|
|
974
1007
|
let onClick = () => {
|
|
975
1008
|
if (onDismiss) onDismiss();
|
|
976
1009
|
};
|
|
977
|
-
return
|
|
1010
|
+
return $3ARPR$react.createElement($ea3928288112382f$export$439d29a4e110a164, null, $3ARPR$react.createElement("button", {
|
|
978
1011
|
...labels,
|
|
979
1012
|
tabIndex: -1,
|
|
980
1013
|
onClick,
|
|
@@ -986,7 +1019,7 @@ function $081058010ef8962e$export$2317d149ed6f78c4(props) {
|
|
|
986
1019
|
}
|
|
987
1020
|
//#endregion
|
|
988
1021
|
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
|
|
989
|
-
var $0d47b37c475c5231$export$3351871ee4b288b8 =
|
|
1022
|
+
var $0d47b37c475c5231$export$3351871ee4b288b8 = $3ARPR$react.forwardRef(({ children, ...props }, ref) => {
|
|
990
1023
|
let isRegistered = useRef(false);
|
|
991
1024
|
let prevContext = useContext($24f9a20f226ad820$export$5165eccb35aaadb5);
|
|
992
1025
|
let context = $bbaa08b3cd72f041$export$9d1611c77c2fe928(prevContext || {}, {
|
|
@@ -1004,15 +1037,15 @@ var $0d47b37c475c5231$export$3351871ee4b288b8 = React.forwardRef(({ children, ..
|
|
|
1004
1037
|
isRegistered.current = true;
|
|
1005
1038
|
}
|
|
1006
1039
|
}, []);
|
|
1007
|
-
return
|
|
1040
|
+
return $3ARPR$react.createElement($24f9a20f226ad820$export$5165eccb35aaadb5.Provider, { value: context }, children);
|
|
1008
1041
|
});
|
|
1009
1042
|
function $0d47b37c475c5231$export$cf75428e0b9ed1ea({ children }) {
|
|
1010
1043
|
let context = useMemo(() => ({ register: () => {} }), []);
|
|
1011
|
-
return
|
|
1044
|
+
return $3ARPR$react.createElement($24f9a20f226ad820$export$5165eccb35aaadb5.Provider, { value: context }, children);
|
|
1012
1045
|
}
|
|
1013
1046
|
//#endregion
|
|
1014
1047
|
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
|
|
1015
|
-
var $d7a937236970dc7f$export$a2200b96afd16271 =
|
|
1048
|
+
var $d7a937236970dc7f$export$a2200b96afd16271 = $3ARPR$react.createContext(null);
|
|
1016
1049
|
function $d7a937236970dc7f$export$c6fdb837b070b4ff(props) {
|
|
1017
1050
|
let isSSR = $c7eafbbe1ea5834e$export$535bd6ca7f90a273();
|
|
1018
1051
|
let { portalContainer = isSSR ? null : document.body, isExiting } = props;
|
|
@@ -1025,12 +1058,12 @@ function $d7a937236970dc7f$export$c6fdb837b070b4ff(props) {
|
|
|
1025
1058
|
if (!props.portalContainer && getContainer) portalContainer = getContainer();
|
|
1026
1059
|
if (!portalContainer) return null;
|
|
1027
1060
|
let contents = props.children;
|
|
1028
|
-
if (!props.disableFocusManagement) contents =
|
|
1061
|
+
if (!props.disableFocusManagement) contents = $3ARPR$react.createElement($535772f9d2c1f38d$export$20e40289641fbbb6, {
|
|
1029
1062
|
restoreFocus: true,
|
|
1030
1063
|
contain: (props.shouldContainFocus || contain) && !isExiting
|
|
1031
1064
|
}, contents);
|
|
1032
|
-
contents =
|
|
1033
|
-
return $
|
|
1065
|
+
contents = $3ARPR$react.createElement($d7a937236970dc7f$export$a2200b96afd16271.Provider, { value: contextValue }, $3ARPR$react.createElement($0d47b37c475c5231$export$cf75428e0b9ed1ea, null, $3ARPR$react.createElement($d1116acdf220c2da$export$f9762fab77588ecb.Provider, { value: null }, contents)));
|
|
1066
|
+
return $3wX5A$reactdom.createPortal(contents, portalContainer);
|
|
1034
1067
|
}
|
|
1035
1068
|
function $d7a937236970dc7f$export$14c98a7594375490() {
|
|
1036
1069
|
let setContain = useContext($d7a937236970dc7f$export$a2200b96afd16271)?.setContain;
|
|
@@ -1047,7 +1080,8 @@ var $542a13ca2fa5b484$export$5b6b19405a83ff9d = forwardRef(function Popover(prop
|
|
|
1047
1080
|
let contextState = useContext($f2ff30fde7b014be$export$d2f961adcb0afbe);
|
|
1048
1081
|
let localState = $f11fb0bcf1b2687a$export$61c6a8c84e605fb6(props);
|
|
1049
1082
|
let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
|
|
1050
|
-
let
|
|
1083
|
+
let exitAnimation = $fcc7165e876206c6$export$45fda7c47f93fd48(ref, state.isOpen);
|
|
1084
|
+
let isExiting = props.isExiting || !props.shouldSkipAnimation && exitAnimation || false;
|
|
1051
1085
|
let isHidden = $d7f64c32b702fe2c$export$b5d7cc18bb8d2b59();
|
|
1052
1086
|
let { direction } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
1053
1087
|
if (isHidden) {
|
|
@@ -1059,10 +1093,10 @@ var $542a13ca2fa5b484$export$5b6b19405a83ff9d = forwardRef(function Popover(prop
|
|
|
1059
1093
|
isExiting: false,
|
|
1060
1094
|
defaultChildren: null
|
|
1061
1095
|
});
|
|
1062
|
-
return
|
|
1096
|
+
return $3ARPR$react.createElement($3ARPR$react.Fragment, null, children);
|
|
1063
1097
|
}
|
|
1064
1098
|
if (state && !state.isOpen && !isExiting) return null;
|
|
1065
|
-
return
|
|
1099
|
+
return $3ARPR$react.createElement($542a13ca2fa5b484$var$PopoverInner, {
|
|
1066
1100
|
...props,
|
|
1067
1101
|
triggerRef: props.triggerRef,
|
|
1068
1102
|
state,
|
|
@@ -1083,7 +1117,8 @@ function $542a13ca2fa5b484$var$PopoverInner({ state, isExiting, UNSTABLE_portalC
|
|
|
1083
1117
|
groupRef: isSubPopover ? groupCtx : containerRef
|
|
1084
1118
|
}, state);
|
|
1085
1119
|
let ref = props.popoverRef;
|
|
1086
|
-
let
|
|
1120
|
+
let enterAnimation = $fcc7165e876206c6$export$6d3443f2c48bfc20(ref, !!placement);
|
|
1121
|
+
let isEntering = props.isEntering || !props.shouldSkipAnimation && enterAnimation || false;
|
|
1087
1122
|
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
1088
1123
|
...props,
|
|
1089
1124
|
defaultClassName: "react-aria-Popover",
|
|
@@ -1094,13 +1129,13 @@ function $542a13ca2fa5b484$var$PopoverInner({ state, isExiting, UNSTABLE_portalC
|
|
|
1094
1129
|
isExiting
|
|
1095
1130
|
}
|
|
1096
1131
|
});
|
|
1097
|
-
let shouldBeDialog = !props.isNonModal || props.trigger === "SubmenuTrigger";
|
|
1098
|
-
let [isDialog, setDialog] = useState(
|
|
1132
|
+
let shouldBeDialog = !props.isNonModal || props.trigger === "SubmenuTrigger" || props.trigger === "PreviewTrigger";
|
|
1133
|
+
let [isDialog, setDialog] = useState(props.trigger === "PreviewTrigger");
|
|
1099
1134
|
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
1100
1135
|
if (ref.current) setDialog(shouldBeDialog && !ref.current.querySelector("[role=dialog]"));
|
|
1101
1136
|
}, [ref, shouldBeDialog]);
|
|
1102
1137
|
useEffect(() => {
|
|
1103
|
-
if (isDialog && (props.trigger !== "SubmenuTrigger" || $8f5a2122b0992be3$export$630ff653c5ada6a9() !== "pointer") && ref.current && !$23f2114a1b82827e$export$b4f377a2b6254582(ref.current)) $f192c2f16961cbe0$export$80f3e147d781571c(ref.current);
|
|
1138
|
+
if (isDialog && props.trigger !== "PreviewTrigger" && (props.trigger !== "SubmenuTrigger" || $8f5a2122b0992be3$export$630ff653c5ada6a9() !== "pointer") && ref.current && !$23f2114a1b82827e$export$b4f377a2b6254582(ref.current)) $f192c2f16961cbe0$export$80f3e147d781571c(ref.current);
|
|
1104
1139
|
}, [
|
|
1105
1140
|
isDialog,
|
|
1106
1141
|
ref,
|
|
@@ -1108,17 +1143,28 @@ function $542a13ca2fa5b484$var$PopoverInner({ state, isExiting, UNSTABLE_portalC
|
|
|
1108
1143
|
]);
|
|
1109
1144
|
let children = useMemo(() => {
|
|
1110
1145
|
let children = renderProps.children;
|
|
1111
|
-
if (clearContexts) for (let Context of clearContexts) children =
|
|
1146
|
+
if (clearContexts) for (let Context of clearContexts) children = $3ARPR$react.createElement(Context.Provider, { value: null }, children);
|
|
1112
1147
|
return children;
|
|
1113
1148
|
}, [renderProps.children, clearContexts]);
|
|
1149
|
+
let [triggerWidth, setTriggerWidth] = useState(null);
|
|
1150
|
+
let onResize = useCallback(() => {
|
|
1151
|
+
if (props.triggerRef.current) setTriggerWidth(props.triggerRef.current.getBoundingClientRect().width + "px");
|
|
1152
|
+
}, [props.triggerRef]);
|
|
1153
|
+
$c4867b2f328c2698$export$e5c5a5f917a5871c(onResize, [onResize]);
|
|
1154
|
+
$970072cf4b13fde3$export$683480f191c0e3ea({
|
|
1155
|
+
ref: renderProps.style?.["--trigger-width"] ? void 0 : props.triggerRef,
|
|
1156
|
+
onResize
|
|
1157
|
+
});
|
|
1114
1158
|
let style = {
|
|
1115
1159
|
...popoverProps.style,
|
|
1116
1160
|
"--trigger-anchor-point": triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : void 0,
|
|
1117
|
-
...renderProps.style
|
|
1161
|
+
...renderProps.style,
|
|
1162
|
+
"--trigger-width": renderProps.style?.["--trigger-width"] || triggerWidth
|
|
1118
1163
|
};
|
|
1119
|
-
let overlay =
|
|
1164
|
+
let overlay = $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
1120
1165
|
...$bbaa08b3cd72f041$export$9d1611c77c2fe928($8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true }), popoverProps),
|
|
1121
1166
|
...renderProps,
|
|
1167
|
+
id: isDialog ? props.id : void 0,
|
|
1122
1168
|
role: isDialog ? "dialog" : void 0,
|
|
1123
1169
|
tabIndex: isDialog ? -1 : void 0,
|
|
1124
1170
|
"aria-label": props["aria-label"],
|
|
@@ -1131,30 +1177,30 @@ function $542a13ca2fa5b484$var$PopoverInner({ state, isExiting, UNSTABLE_portalC
|
|
|
1131
1177
|
"data-placement": placement,
|
|
1132
1178
|
"data-entering": isEntering || void 0,
|
|
1133
1179
|
"data-exiting": isExiting || void 0
|
|
1134
|
-
}, !props.isNonModal &&
|
|
1180
|
+
}, !props.isNonModal && $3ARPR$react.createElement($081058010ef8962e$export$2317d149ed6f78c4, { onDismiss: state.close }), $3ARPR$react.createElement($4fcfe18fac72dabd$export$2de4954e8ae13b9f.Provider, { value: {
|
|
1135
1181
|
...arrowProps,
|
|
1136
1182
|
placement,
|
|
1137
1183
|
ref: arrowRef
|
|
1138
|
-
} }, children),
|
|
1139
|
-
if (!isSubPopover) return
|
|
1184
|
+
} }, children), $3ARPR$react.createElement($081058010ef8962e$export$2317d149ed6f78c4, { onDismiss: state.close }));
|
|
1185
|
+
if (!isSubPopover) return $3ARPR$react.createElement($d7a937236970dc7f$export$c6fdb837b070b4ff, {
|
|
1140
1186
|
...props,
|
|
1141
|
-
shouldContainFocus: isDialog,
|
|
1187
|
+
shouldContainFocus: isDialog && props.trigger !== "PreviewTrigger",
|
|
1142
1188
|
isExiting,
|
|
1143
1189
|
portalContainer: UNSTABLE_portalContainer
|
|
1144
|
-
}, !props.isNonModal && state.isOpen &&
|
|
1190
|
+
}, !props.isNonModal && state.isOpen && $3ARPR$react.createElement("div", {
|
|
1145
1191
|
"data-testid": "underlay",
|
|
1146
1192
|
...underlayProps,
|
|
1147
1193
|
style: {
|
|
1148
1194
|
position: "fixed",
|
|
1149
1195
|
inset: 0
|
|
1150
1196
|
}
|
|
1151
|
-
}),
|
|
1197
|
+
}), $3ARPR$react.createElement("div", {
|
|
1152
1198
|
ref: containerRef,
|
|
1153
1199
|
style: { display: "contents" }
|
|
1154
|
-
},
|
|
1155
|
-
return
|
|
1200
|
+
}, $3ARPR$react.createElement($542a13ca2fa5b484$var$PopoverGroupContext.Provider, { value: containerRef }, overlay)));
|
|
1201
|
+
return $3ARPR$react.createElement($d7a937236970dc7f$export$c6fdb837b070b4ff, {
|
|
1156
1202
|
...props,
|
|
1157
|
-
shouldContainFocus: isDialog,
|
|
1203
|
+
shouldContainFocus: isDialog && props.trigger !== "PreviewTrigger",
|
|
1158
1204
|
isExiting,
|
|
1159
1205
|
portalContainer: UNSTABLE_portalContainer ?? groupCtx?.current ?? void 0
|
|
1160
1206
|
}, overlay);
|
|
@@ -1338,6 +1384,58 @@ $bdff4dd8fb5956de$exports = {
|
|
|
1338
1384
|
"zh-TW": $a146d231f9c4bbf9$exports
|
|
1339
1385
|
};
|
|
1340
1386
|
//#endregion
|
|
1387
|
+
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
|
|
1388
|
+
function $00dce70c89c7306c$export$2464060fb1e12fa6(props) {
|
|
1389
|
+
let { onContextMenu } = props;
|
|
1390
|
+
let firedContextMenuEvent = useRef(false);
|
|
1391
|
+
let { longPressProps } = $7b01448eaad0fe7c$export$c24ed0104d07eab9({
|
|
1392
|
+
onLongPressStart() {
|
|
1393
|
+
firedContextMenuEvent.current = false;
|
|
1394
|
+
},
|
|
1395
|
+
onLongPress(e) {
|
|
1396
|
+
if (!firedContextMenuEvent.current) onContextMenu?.({
|
|
1397
|
+
target: e.target,
|
|
1398
|
+
x: e.x,
|
|
1399
|
+
y: e.y
|
|
1400
|
+
});
|
|
1401
|
+
else firedContextMenuEvent.current = false;
|
|
1402
|
+
}
|
|
1403
|
+
});
|
|
1404
|
+
if (!onContextMenu) return { contextMenuProps: {} };
|
|
1405
|
+
return { contextMenuProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928($2add3ce32c6007eb$export$fedb369cb70207f1() ? longPressProps : {}, {
|
|
1406
|
+
onContextMenu(e) {
|
|
1407
|
+
e.stopPropagation();
|
|
1408
|
+
e.preventDefault();
|
|
1409
|
+
firedContextMenuEvent.current = true;
|
|
1410
|
+
let rect = e.currentTarget.getBoundingClientRect();
|
|
1411
|
+
onContextMenu({
|
|
1412
|
+
target: e.currentTarget,
|
|
1413
|
+
x: e.clientX - rect.x,
|
|
1414
|
+
y: e.clientY - rect.y
|
|
1415
|
+
});
|
|
1416
|
+
},
|
|
1417
|
+
onKeyDown(e) {
|
|
1418
|
+
if ($2add3ce32c6007eb$export$9ac100e40613ea10()) {
|
|
1419
|
+
if (e.ctrlKey && e.key === "Enter") {
|
|
1420
|
+
firedContextMenuEvent.current = false;
|
|
1421
|
+
let target = e.currentTarget;
|
|
1422
|
+
e.stopPropagation();
|
|
1423
|
+
setTimeout(() => {
|
|
1424
|
+
if (!firedContextMenuEvent.current) {
|
|
1425
|
+
let rect = target.getBoundingClientRect();
|
|
1426
|
+
onContextMenu({
|
|
1427
|
+
target,
|
|
1428
|
+
x: rect.width / 2,
|
|
1429
|
+
y: rect.height / 2
|
|
1430
|
+
});
|
|
1431
|
+
} else firedContextMenuEvent.current = false;
|
|
1432
|
+
}, 10);
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
}) };
|
|
1437
|
+
}
|
|
1438
|
+
//#endregion
|
|
1341
1439
|
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
|
|
1342
1440
|
function $f282e36c29c025e8$export$f9d5c8beee7d008d(props, state, ref) {
|
|
1343
1441
|
let { type } = props;
|
|
@@ -1368,25 +1466,39 @@ function $f19b83c1486f45cc$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
|
1368
1466
|
let { type = "menu", isDisabled, trigger = "press" } = props;
|
|
1369
1467
|
let menuTriggerId = $390e54f620492c70$export$f680877a34711e37();
|
|
1370
1468
|
let { triggerProps, overlayProps } = $f282e36c29c025e8$export$f9d5c8beee7d008d({ type }, state, ref);
|
|
1371
|
-
let
|
|
1372
|
-
if (
|
|
1373
|
-
|
|
1374
|
-
if (ref && ref.current) switch (e.key) {
|
|
1375
|
-
case "Enter":
|
|
1376
|
-
case " ": if (trigger === "longPress" || e.isDefaultPrevented()) return;
|
|
1377
|
-
case "ArrowDown":
|
|
1378
|
-
if (!("continuePropagation" in e)) e.stopPropagation();
|
|
1379
|
-
e.preventDefault();
|
|
1380
|
-
state.toggle("first");
|
|
1381
|
-
break;
|
|
1382
|
-
case "ArrowUp":
|
|
1383
|
-
if (!("continuePropagation" in e)) e.stopPropagation();
|
|
1384
|
-
e.preventDefault();
|
|
1385
|
-
state.toggle("last");
|
|
1386
|
-
break;
|
|
1387
|
-
default: if ("continuePropagation" in e) e.continuePropagation();
|
|
1388
|
-
}
|
|
1469
|
+
let open = (shouldOpen, e, focusStrategy = "first") => {
|
|
1470
|
+
if (!shouldOpen || e.isDefaultPrevented()) return false;
|
|
1471
|
+
state.toggle(focusStrategy);
|
|
1389
1472
|
};
|
|
1473
|
+
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
1474
|
+
isDisabled,
|
|
1475
|
+
shortcuts: {
|
|
1476
|
+
Enter: (e) => {
|
|
1477
|
+
return open(trigger !== "longPress", e, "first");
|
|
1478
|
+
},
|
|
1479
|
+
" ": (e) => {
|
|
1480
|
+
return open(trigger !== "longPress", e, "first");
|
|
1481
|
+
},
|
|
1482
|
+
ArrowDown: (e) => {
|
|
1483
|
+
return open(trigger !== "longPress", e, "first");
|
|
1484
|
+
},
|
|
1485
|
+
ArrowUp: (e) => {
|
|
1486
|
+
return open(trigger !== "longPress", e, "last");
|
|
1487
|
+
},
|
|
1488
|
+
"Alt+Enter": (e) => {
|
|
1489
|
+
return open(trigger === "longPress", e, "first");
|
|
1490
|
+
},
|
|
1491
|
+
"Alt+ ": (e) => {
|
|
1492
|
+
return open(trigger === "longPress", e, "first");
|
|
1493
|
+
},
|
|
1494
|
+
"Alt+ArrowDown": (e) => {
|
|
1495
|
+
return open(true, e, "first");
|
|
1496
|
+
},
|
|
1497
|
+
"Alt+ArrowUp": (e) => {
|
|
1498
|
+
return open(true, e, "last");
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
});
|
|
1390
1502
|
let stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($bdff4dd8fb5956de$exports), "@react-aria/menu");
|
|
1391
1503
|
let { longPressProps } = $7b01448eaad0fe7c$export$c24ed0104d07eab9({
|
|
1392
1504
|
isDisabled: isDisabled || trigger !== "longPress",
|
|
@@ -1414,12 +1526,42 @@ function $f19b83c1486f45cc$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
|
1414
1526
|
}
|
|
1415
1527
|
};
|
|
1416
1528
|
delete triggerProps.onPress;
|
|
1529
|
+
let { contextMenuProps } = $00dce70c89c7306c$export$2464060fb1e12fa6({ onContextMenu(e) {
|
|
1530
|
+
let rect = e.target.getBoundingClientRect();
|
|
1531
|
+
state.setPoint({
|
|
1532
|
+
x: rect.x + e.x,
|
|
1533
|
+
y: rect.y + e.y
|
|
1534
|
+
});
|
|
1535
|
+
state.open();
|
|
1536
|
+
} });
|
|
1537
|
+
useEffect(() => {
|
|
1538
|
+
if (state.isOpen && trigger === "contextMenu") {
|
|
1539
|
+
let onContextMenu = (e) => {
|
|
1540
|
+
if ((e.button === 2 || e.button === 0 && e.ctrlKey === true) && $23f2114a1b82827e$export$e58f029f0fbfdb29(e) === document.body) state.close();
|
|
1541
|
+
};
|
|
1542
|
+
document.addEventListener("mousedown", onContextMenu);
|
|
1543
|
+
return () => document.removeEventListener("mousedown", onContextMenu);
|
|
1544
|
+
}
|
|
1545
|
+
}, [state, trigger]);
|
|
1546
|
+
let interactionProps;
|
|
1547
|
+
if (trigger === "press") interactionProps = {
|
|
1548
|
+
...pressProps,
|
|
1549
|
+
...keyboardProps
|
|
1550
|
+
};
|
|
1551
|
+
else if (trigger === "longPress") interactionProps = {
|
|
1552
|
+
...longPressProps,
|
|
1553
|
+
...keyboardProps
|
|
1554
|
+
};
|
|
1555
|
+
else if (trigger === "contextMenu") {
|
|
1556
|
+
interactionProps = contextMenuProps;
|
|
1557
|
+
let { "aria-haspopup": _a, "aria-expanded": _b, "aria-controls": _c, ...rest } = triggerProps;
|
|
1558
|
+
triggerProps = rest;
|
|
1559
|
+
}
|
|
1417
1560
|
return {
|
|
1418
1561
|
menuTriggerProps: {
|
|
1419
1562
|
...triggerProps,
|
|
1420
|
-
...
|
|
1421
|
-
id: menuTriggerId
|
|
1422
|
-
onKeyDown
|
|
1563
|
+
...interactionProps,
|
|
1564
|
+
id: menuTriggerId
|
|
1423
1565
|
},
|
|
1424
1566
|
menuProps: {
|
|
1425
1567
|
...overlayProps,
|
|
@@ -1481,7 +1623,7 @@ function $1a9c2c840fd36413$export$9d32628fc2aea7da(props, state, ref) {
|
|
|
1481
1623
|
else if (props.onAction) props.onAction(key);
|
|
1482
1624
|
if (data.onAction) {
|
|
1483
1625
|
let onAction = data.onAction;
|
|
1484
|
-
onAction(key);
|
|
1626
|
+
onAction(key, item?.value);
|
|
1485
1627
|
}
|
|
1486
1628
|
};
|
|
1487
1629
|
let role = "menuitem";
|
|
@@ -1566,34 +1708,34 @@ function $1a9c2c840fd36413$export$9d32628fc2aea7da(props, state, ref) {
|
|
|
1566
1708
|
onHoverEnd
|
|
1567
1709
|
});
|
|
1568
1710
|
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
key: "Enter"
|
|
1587
|
-
};
|
|
1588
|
-
if ($23f2114a1b82827e$export$e58f029f0fbfdb29(e).tagName !== "A") $23f2114a1b82827e$export$e58f029f0fbfdb29(e).click();
|
|
1711
|
+
shortcuts: {
|
|
1712
|
+
" ": (e) => {
|
|
1713
|
+
interaction.current = {
|
|
1714
|
+
pointerType: "keyboard",
|
|
1715
|
+
key: " "
|
|
1716
|
+
};
|
|
1717
|
+
$23f2114a1b82827e$export$e58f029f0fbfdb29(e).click();
|
|
1718
|
+
$8f5a2122b0992be3$export$8397ddfc504fdb9a("keyboard");
|
|
1719
|
+
},
|
|
1720
|
+
Enter: (e) => {
|
|
1721
|
+
interaction.current = {
|
|
1722
|
+
pointerType: "keyboard",
|
|
1723
|
+
key: "Enter"
|
|
1724
|
+
};
|
|
1725
|
+
let target = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
|
|
1726
|
+
if (target.tagName !== "A") {
|
|
1727
|
+
target.click();
|
|
1589
1728
|
$8f5a2122b0992be3$export$8397ddfc504fdb9a("keyboard");
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1729
|
+
return;
|
|
1730
|
+
}
|
|
1731
|
+
$8f5a2122b0992be3$export$8397ddfc504fdb9a("keyboard");
|
|
1732
|
+
return {
|
|
1733
|
+
shouldPreventDefault: false,
|
|
1734
|
+
shouldContinuePropagation: false
|
|
1735
|
+
};
|
|
1595
1736
|
}
|
|
1596
1737
|
},
|
|
1738
|
+
onKeyDown,
|
|
1597
1739
|
onKeyUp
|
|
1598
1740
|
});
|
|
1599
1741
|
let { focusableProps } = $d1116acdf220c2da$export$4c014de7c8940b4c({
|
|
@@ -1780,34 +1922,35 @@ function $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {
|
|
|
1780
1922
|
cancelOpenTimeout();
|
|
1781
1923
|
};
|
|
1782
1924
|
}, [cancelOpenTimeout]);
|
|
1783
|
-
let
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1925
|
+
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({ shortcuts: {
|
|
1926
|
+
ArrowLeft: (e) => {
|
|
1927
|
+
if (!$23f2114a1b82827e$export$b4f377a2b6254582(e.currentTarget)) return false;
|
|
1928
|
+
if (direction === "ltr" && $23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) {
|
|
1929
|
+
onSubmenuClose();
|
|
1930
|
+
if (!shouldUseVirtualFocus && ref.current) $1969ac565cfec8d0$export$de79e2c695e052f3(ref.current);
|
|
1931
|
+
return;
|
|
1932
|
+
}
|
|
1933
|
+
return false;
|
|
1934
|
+
},
|
|
1935
|
+
ArrowRight: (e) => {
|
|
1936
|
+
if (!$23f2114a1b82827e$export$b4f377a2b6254582(e.currentTarget)) return false;
|
|
1937
|
+
if (direction === "rtl" && $23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) {
|
|
1938
|
+
onSubmenuClose();
|
|
1939
|
+
if (!shouldUseVirtualFocus && ref.current) $1969ac565cfec8d0$export$de79e2c695e052f3(ref.current);
|
|
1940
|
+
return;
|
|
1941
|
+
}
|
|
1942
|
+
return false;
|
|
1943
|
+
},
|
|
1944
|
+
Escape: (e) => {
|
|
1945
|
+
if (!$23f2114a1b82827e$export$b4f377a2b6254582(e.currentTarget)) return false;
|
|
1946
|
+
if ($23f2114a1b82827e$export$4282f70798064fe0(submenuRef.current, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) {
|
|
1947
|
+
onSubmenuClose();
|
|
1948
|
+
if (!shouldUseVirtualFocus && ref.current) $1969ac565cfec8d0$export$de79e2c695e052f3(ref.current);
|
|
1949
|
+
return;
|
|
1950
|
+
}
|
|
1951
|
+
return false;
|
|
1809
1952
|
}
|
|
1810
|
-
};
|
|
1953
|
+
} });
|
|
1811
1954
|
let submenuProps = {
|
|
1812
1955
|
id: overlayId,
|
|
1813
1956
|
"aria-labelledby": submenuTriggerId,
|
|
@@ -1815,32 +1958,37 @@ function $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {
|
|
|
1815
1958
|
...type === "menu" && {
|
|
1816
1959
|
onClose: state.closeAll,
|
|
1817
1960
|
autoFocus: state.focusStrategy ?? void 0,
|
|
1818
|
-
|
|
1961
|
+
...keyboardProps
|
|
1819
1962
|
}
|
|
1820
1963
|
};
|
|
1821
|
-
let
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
if (
|
|
1825
|
-
e.preventDefault();
|
|
1964
|
+
let { keyboardProps: submenuTriggerKeyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({ shortcuts: {
|
|
1965
|
+
ArrowRight: () => {
|
|
1966
|
+
if (!isDisabled) {
|
|
1967
|
+
if (direction === "ltr") {
|
|
1826
1968
|
if (!state.isOpen) onSubmenuOpen("first");
|
|
1827
1969
|
if (type === "menu" && !!submenuRef?.current && $23f2114a1b82827e$export$cd4e5573fbe2b576() === ref?.current) $1969ac565cfec8d0$export$de79e2c695e052f3(submenuRef.current);
|
|
1828
|
-
|
|
1829
|
-
else
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1970
|
+
return;
|
|
1971
|
+
} else if (state.isOpen) {
|
|
1972
|
+
onSubmenuClose();
|
|
1973
|
+
return;
|
|
1974
|
+
} else return false;
|
|
1975
|
+
}
|
|
1976
|
+
return false;
|
|
1977
|
+
},
|
|
1978
|
+
ArrowLeft: () => {
|
|
1979
|
+
if (!isDisabled) {
|
|
1980
|
+
if (direction === "rtl") {
|
|
1834
1981
|
if (!state.isOpen) onSubmenuOpen("first");
|
|
1835
1982
|
if (type === "menu" && !!submenuRef?.current && $23f2114a1b82827e$export$cd4e5573fbe2b576() === ref?.current) $1969ac565cfec8d0$export$de79e2c695e052f3(submenuRef.current);
|
|
1836
|
-
|
|
1837
|
-
else
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1983
|
+
return;
|
|
1984
|
+
} else if (state.isOpen) {
|
|
1985
|
+
onSubmenuClose();
|
|
1986
|
+
return;
|
|
1987
|
+
} else return false;
|
|
1988
|
+
}
|
|
1989
|
+
return false;
|
|
1842
1990
|
}
|
|
1843
|
-
};
|
|
1991
|
+
} });
|
|
1844
1992
|
let onPressStart = (e) => {
|
|
1845
1993
|
if (!isDisabled && (e.pointerType === "virtual" || e.pointerType === "keyboard")) onSubmenuOpen("first");
|
|
1846
1994
|
};
|
|
@@ -1871,6 +2019,8 @@ function $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {
|
|
|
1871
2019
|
});
|
|
1872
2020
|
return {
|
|
1873
2021
|
submenuTriggerProps: {
|
|
2022
|
+
onKeyDown: submenuTriggerKeyboardProps.onKeyDown,
|
|
2023
|
+
onKeyUp: submenuTriggerKeyboardProps.onKeyUp,
|
|
1874
2024
|
id: submenuTriggerId,
|
|
1875
2025
|
"aria-controls": state.isOpen ? overlayId : void 0,
|
|
1876
2026
|
"aria-haspopup": !isDisabled ? type : void 0,
|
|
@@ -1878,7 +2028,6 @@ function $8794213c1141208f$export$7138b0d059a6e743(props, state, ref) {
|
|
|
1878
2028
|
onPressStart,
|
|
1879
2029
|
onPress,
|
|
1880
2030
|
onHoverChange,
|
|
1881
|
-
onKeyDown: submenuTriggerKeyDown,
|
|
1882
2031
|
isOpen: state.isOpen
|
|
1883
2032
|
},
|
|
1884
2033
|
submenuProps,
|
|
@@ -1974,7 +2123,9 @@ function $5b3242e27644e8f1$export$cfc51cf86138bf98(props, state) {
|
|
|
1974
2123
|
closeAll,
|
|
1975
2124
|
submenuLevel,
|
|
1976
2125
|
setOpen: () => {},
|
|
1977
|
-
toggle
|
|
2126
|
+
toggle,
|
|
2127
|
+
point: null,
|
|
2128
|
+
setPoint: () => {}
|
|
1978
2129
|
}), [
|
|
1979
2130
|
isOpen,
|
|
1980
2131
|
open,
|
|
@@ -2088,15 +2239,9 @@ function $49319ee1285aa241$export$27d2ad3c5815583e(props) {
|
|
|
2088
2239
|
...props,
|
|
2089
2240
|
type: "menu"
|
|
2090
2241
|
}, state, ref);
|
|
2091
|
-
let [buttonWidth, setButtonWidth] = useState(null);
|
|
2092
|
-
$970072cf4b13fde3$export$683480f191c0e3ea({
|
|
2093
|
-
ref,
|
|
2094
|
-
onResize: useCallback(() => {
|
|
2095
|
-
if (ref.current) setButtonWidth(ref.current.offsetWidth + "px");
|
|
2096
|
-
}, [ref])
|
|
2097
|
-
});
|
|
2098
2242
|
let scrollRef = useRef(null);
|
|
2099
|
-
|
|
2243
|
+
if ($d7f64c32b702fe2c$export$b5d7cc18bb8d2b59()) return null;
|
|
2244
|
+
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
2100
2245
|
[$49319ee1285aa241$export$c7e742effb1c51e2, {
|
|
2101
2246
|
...menuProps,
|
|
2102
2247
|
ref: scrollRef
|
|
@@ -2108,10 +2253,10 @@ function $49319ee1285aa241$export$27d2ad3c5815583e(props) {
|
|
|
2108
2253
|
triggerRef: ref,
|
|
2109
2254
|
scrollRef,
|
|
2110
2255
|
placement: "bottom start",
|
|
2111
|
-
|
|
2112
|
-
"
|
|
2256
|
+
"aria-labelledby": menuProps["aria-labelledby"],
|
|
2257
|
+
offset: props.trigger === "contextMenu" ? 0 : void 0
|
|
2113
2258
|
}]
|
|
2114
|
-
] },
|
|
2259
|
+
] }, $3ARPR$react.createElement($0d47b37c475c5231$export$3351871ee4b288b8, {
|
|
2115
2260
|
...menuTriggerProps,
|
|
2116
2261
|
ref,
|
|
2117
2262
|
isPressed: state.isOpen
|
|
@@ -2146,7 +2291,7 @@ var $49319ee1285aa241$export$ecabc99eeffab7ca = $42ceafc619f9c3ba$export$e953bb1
|
|
|
2146
2291
|
delay: props.delay,
|
|
2147
2292
|
shouldUseVirtualFocus
|
|
2148
2293
|
}, submenuTriggerState, itemRef);
|
|
2149
|
-
return
|
|
2294
|
+
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
2150
2295
|
[$49319ee1285aa241$var$MenuItemContext, {
|
|
2151
2296
|
...submenuTriggerProps,
|
|
2152
2297
|
onAction: void 0,
|
|
@@ -2164,14 +2309,14 @@ var $49319ee1285aa241$export$ecabc99eeffab7ca = $42ceafc619f9c3ba$export$e953bb1
|
|
|
2164
2309
|
"aria-labelledby": submenuProps["aria-labelledby"],
|
|
2165
2310
|
...popoverProps
|
|
2166
2311
|
}]
|
|
2167
|
-
] },
|
|
2312
|
+
] }, $3ARPR$react.createElement(CollectionBranch, {
|
|
2168
2313
|
collection: state.collection,
|
|
2169
2314
|
parent: item
|
|
2170
2315
|
}), props.children[1]);
|
|
2171
2316
|
}, (props) => props.children[0]);
|
|
2172
2317
|
var $49319ee1285aa241$export$d9b273488cd8ce6f = forwardRef(function Menu(props, ref) {
|
|
2173
2318
|
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $49319ee1285aa241$export$c7e742effb1c51e2);
|
|
2174
|
-
return
|
|
2319
|
+
return $3ARPR$react.createElement($42ceafc619f9c3ba$export$bf788dd355e3a401, { content: $3ARPR$react.createElement($42ceafc619f9c3ba$export$fb8073518f34e6ec, props) }, (collection) => $3ARPR$react.createElement($49319ee1285aa241$var$MenuInner, {
|
|
2175
2320
|
props,
|
|
2176
2321
|
collection,
|
|
2177
2322
|
menuRef: ref
|
|
@@ -2200,18 +2345,18 @@ function $49319ee1285aa241$var$MenuInner({ props, collection, menuRef: ref }) {
|
|
|
2200
2345
|
values: { isEmpty: state.collection.size === 0 }
|
|
2201
2346
|
});
|
|
2202
2347
|
let emptyState = null;
|
|
2203
|
-
if (state.collection.size === 0 && props.renderEmptyState) emptyState =
|
|
2348
|
+
if (state.collection.size === 0 && props.renderEmptyState) emptyState = $3ARPR$react.createElement("div", {
|
|
2204
2349
|
role: "menuitem",
|
|
2205
2350
|
style: { display: "contents" }
|
|
2206
2351
|
}, props.renderEmptyState());
|
|
2207
2352
|
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
2208
|
-
return
|
|
2353
|
+
return $3ARPR$react.createElement($535772f9d2c1f38d$export$20e40289641fbbb6, null, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
2209
2354
|
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(DOMProps, renderProps, menuProps),
|
|
2210
2355
|
ref,
|
|
2211
2356
|
slot: props.slot || void 0,
|
|
2212
2357
|
"data-empty": state.collection.size === 0 || void 0,
|
|
2213
2358
|
onScroll: props.onScroll
|
|
2214
|
-
},
|
|
2359
|
+
}, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
2215
2360
|
[$49319ee1285aa241$export$24aad8519b95b41b, state],
|
|
2216
2361
|
[$e28ab3efe3e87743$export$6615d83f6de245ce, { elementType: "div" }],
|
|
2217
2362
|
[$263ab7fc0f95ccdb$export$d40e14dec8b060a8, {
|
|
@@ -2227,7 +2372,7 @@ function $49319ee1285aa241$var$MenuInner({ props, collection, menuRef: ref }) {
|
|
|
2227
2372
|
[$4b38b5b75ecc6208$export$698f465ec27e93df, null],
|
|
2228
2373
|
[$49319ee1285aa241$var$SelectionManagerContext, state.selectionManager],
|
|
2229
2374
|
[$49319ee1285aa241$export$795aec4671cbae19, triggerState ?? $e3403870bfb691da$export$79fefeb1c2091ac3({})]
|
|
2230
|
-
] },
|
|
2375
|
+
] }, $3ARPR$react.createElement($792f28e438b9ad5f$export$758399f318e6385a, null, $3ARPR$react.createElement(CollectionRoot, {
|
|
2231
2376
|
collection: state.collection,
|
|
2232
2377
|
persistedKeys: $263ab7fc0f95ccdb$export$90e00781bc59d8f9(state.selectionManager.focusedKey),
|
|
2233
2378
|
scrollRef: ref
|
|
@@ -2277,17 +2422,17 @@ function $49319ee1285aa241$var$MenuSectionInner(props, ref, section, className =
|
|
|
2277
2422
|
let closeOnSelect = $7230ffa83bc0c2cf$export$fabf2dc03a41866e($49319ee1285aa241$var$MenuItemContext)?.shouldCloseOnSelect;
|
|
2278
2423
|
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
2279
2424
|
delete DOMProps.id;
|
|
2280
|
-
return
|
|
2425
|
+
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.section, {
|
|
2281
2426
|
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(DOMProps, renderProps, groupProps),
|
|
2282
2427
|
ref
|
|
2283
|
-
},
|
|
2428
|
+
}, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
2284
2429
|
[$53e61d82d8b8611d$export$e0e4026c12a8bdbb, {
|
|
2285
2430
|
...headingProps,
|
|
2286
2431
|
ref: headingRef
|
|
2287
2432
|
}],
|
|
2288
2433
|
[$49319ee1285aa241$var$SelectionManagerContext, manager],
|
|
2289
2434
|
[$49319ee1285aa241$var$MenuItemContext, { shouldCloseOnSelect: props.shouldCloseOnSelect ?? closeOnSelect }]
|
|
2290
|
-
] },
|
|
2435
|
+
] }, $3ARPR$react.createElement(CollectionBranch, {
|
|
2291
2436
|
collection: state.collection,
|
|
2292
2437
|
parent: section
|
|
2293
2438
|
})));
|
|
@@ -2328,7 +2473,7 @@ var $49319ee1285aa241$export$2ce376c2cc3355c8 = $42ceafc619f9c3ba$export$18af5c7
|
|
|
2328
2473
|
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
2329
2474
|
delete DOMProps.id;
|
|
2330
2475
|
delete DOMProps.onClick;
|
|
2331
|
-
return
|
|
2476
|
+
return $3ARPR$react.createElement(ElementType, {
|
|
2332
2477
|
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(DOMProps, renderProps, menuItemProps, hoverProps),
|
|
2333
2478
|
ref,
|
|
2334
2479
|
"data-disabled": states.isDisabled || void 0,
|
|
@@ -2340,7 +2485,7 @@ var $49319ee1285aa241$export$2ce376c2cc3355c8 = $42ceafc619f9c3ba$export$18af5c7
|
|
|
2340
2485
|
"data-selection-mode": selectionManager.selectionMode === "none" ? void 0 : selectionManager.selectionMode,
|
|
2341
2486
|
"data-has-submenu": !!props["aria-haspopup"] || void 0,
|
|
2342
2487
|
"data-open": props["aria-expanded"] === "true" || void 0
|
|
2343
|
-
},
|
|
2488
|
+
}, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
2344
2489
|
[$efe09c6d1c304b50$export$9afb8bc826b033ea, { slots: {
|
|
2345
2490
|
[$7230ffa83bc0c2cf$export$c62b8e45d58ddad9]: labelProps,
|
|
2346
2491
|
label: labelProps,
|
|
@@ -2356,6 +2501,8 @@ function $13150e6629d46e45$export$d55e7ee900f34e93(props, ref) {
|
|
|
2356
2501
|
let { role = "dialog" } = props;
|
|
2357
2502
|
let titleId = $390e54f620492c70$export$b4cc09c592e8fdb8();
|
|
2358
2503
|
titleId = props["aria-label"] ? void 0 : titleId;
|
|
2504
|
+
let contentId = $390e54f620492c70$export$b4cc09c592e8fdb8();
|
|
2505
|
+
contentId = role === "alertdialog" && !props["aria-describedby"] ? contentId : void 0;
|
|
2359
2506
|
let isRefocusing = useRef(false);
|
|
2360
2507
|
useEffect(() => {
|
|
2361
2508
|
if (ref.current && !$23f2114a1b82827e$export$b4f377a2b6254582(ref.current)) {
|
|
@@ -2388,17 +2535,20 @@ function $13150e6629d46e45$export$d55e7ee900f34e93(props, ref) {
|
|
|
2388
2535
|
}
|
|
2389
2536
|
}
|
|
2390
2537
|
});
|
|
2538
|
+
let ariaDescribedby = props["aria-describedby"] ?? contentId;
|
|
2391
2539
|
return {
|
|
2392
2540
|
dialogProps: {
|
|
2393
2541
|
...$8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { labelable: true }),
|
|
2394
2542
|
role,
|
|
2395
2543
|
tabIndex: -1,
|
|
2396
|
-
"aria-labelledby": props["aria-labelledby"]
|
|
2544
|
+
"aria-labelledby": props["aria-labelledby"] ?? titleId,
|
|
2545
|
+
"aria-describedby": ariaDescribedby,
|
|
2397
2546
|
onBlur: (e) => {
|
|
2398
2547
|
if (isRefocusing.current) e.stopPropagation();
|
|
2399
2548
|
}
|
|
2400
2549
|
},
|
|
2401
|
-
titleProps: { id: titleId }
|
|
2550
|
+
titleProps: { id: titleId },
|
|
2551
|
+
contentProps: { id: contentId }
|
|
2402
2552
|
};
|
|
2403
2553
|
}
|
|
2404
2554
|
//#endregion
|
|
@@ -2409,26 +2559,19 @@ function $f2ff30fde7b014be$export$2e1e1122cf0cba88(props) {
|
|
|
2409
2559
|
let state = $e3403870bfb691da$export$79fefeb1c2091ac3(props);
|
|
2410
2560
|
let buttonRef = useRef(null);
|
|
2411
2561
|
let { triggerProps, overlayProps } = $f282e36c29c025e8$export$f9d5c8beee7d008d({ type: "dialog" }, state, buttonRef);
|
|
2412
|
-
let [buttonWidth, setButtonWidth] = useState(null);
|
|
2413
|
-
$970072cf4b13fde3$export$683480f191c0e3ea({
|
|
2414
|
-
ref: buttonRef,
|
|
2415
|
-
onResize: useCallback(() => {
|
|
2416
|
-
if (buttonRef.current) setButtonWidth(buttonRef.current.offsetWidth + "px");
|
|
2417
|
-
}, [buttonRef])
|
|
2418
|
-
});
|
|
2419
2562
|
triggerProps.id = $390e54f620492c70$export$f680877a34711e37();
|
|
2420
2563
|
overlayProps["aria-labelledby"] = triggerProps.id;
|
|
2421
|
-
return
|
|
2564
|
+
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
2422
2565
|
[$f2ff30fde7b014be$export$d2f961adcb0afbe, state],
|
|
2423
2566
|
[$49319ee1285aa241$export$795aec4671cbae19, state],
|
|
2424
2567
|
[$f2ff30fde7b014be$export$8b93a07348a7730c, overlayProps],
|
|
2425
2568
|
[$542a13ca2fa5b484$export$9b9a0cd73afb7ca4, {
|
|
2426
2569
|
trigger: "DialogTrigger",
|
|
2427
2570
|
triggerRef: buttonRef,
|
|
2428
|
-
|
|
2429
|
-
|
|
2571
|
+
id: overlayProps.id,
|
|
2572
|
+
"aria-labelledby": overlayProps["aria-labelledby"]
|
|
2430
2573
|
}]
|
|
2431
|
-
] },
|
|
2574
|
+
] }, $3ARPR$react.createElement($0d47b37c475c5231$export$3351871ee4b288b8, {
|
|
2432
2575
|
...triggerProps,
|
|
2433
2576
|
ref: buttonRef,
|
|
2434
2577
|
isPressed: state.isOpen
|
|
@@ -2437,7 +2580,7 @@ function $f2ff30fde7b014be$export$2e1e1122cf0cba88(props) {
|
|
|
2437
2580
|
var $f2ff30fde7b014be$export$3ddf2d174ce01153 = forwardRef(function Dialog(props, ref) {
|
|
2438
2581
|
let originalAriaLabelledby = props["aria-labelledby"];
|
|
2439
2582
|
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $f2ff30fde7b014be$export$8b93a07348a7730c);
|
|
2440
|
-
let { dialogProps, titleProps } = $13150e6629d46e45$export$d55e7ee900f34e93({
|
|
2583
|
+
let { dialogProps, titleProps, contentProps } = $13150e6629d46e45$export$d55e7ee900f34e93({
|
|
2441
2584
|
...props,
|
|
2442
2585
|
"aria-labelledby": originalAriaLabelledby
|
|
2443
2586
|
}, ref);
|
|
@@ -2454,21 +2597,28 @@ var $f2ff30fde7b014be$export$3ddf2d174ce01153 = forwardRef(function Dialog(props
|
|
|
2454
2597
|
values: { close: state?.close || (() => {}) }
|
|
2455
2598
|
});
|
|
2456
2599
|
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
2457
|
-
return
|
|
2600
|
+
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.section, {
|
|
2458
2601
|
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(DOMProps, renderProps, dialogProps),
|
|
2459
2602
|
render: props.render,
|
|
2460
2603
|
ref,
|
|
2461
2604
|
slot: props.slot || void 0
|
|
2462
|
-
},
|
|
2463
|
-
[$
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2605
|
+
}, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
2606
|
+
[$2ec61d1d4f780267$export$d688439359537581, { slots: {
|
|
2607
|
+
[$7230ffa83bc0c2cf$export$c62b8e45d58ddad9]: {},
|
|
2608
|
+
title: {
|
|
2609
|
+
...titleProps,
|
|
2610
|
+
level: 2
|
|
2611
|
+
}
|
|
2612
|
+
} }],
|
|
2613
|
+
[$efe09c6d1c304b50$export$9afb8bc826b033ea, { slots: {
|
|
2614
|
+
[$7230ffa83bc0c2cf$export$c62b8e45d58ddad9]: {},
|
|
2615
|
+
description: contentProps
|
|
2616
|
+
} }],
|
|
2617
|
+
[$7705c033048f6da7$export$24d547caef80ccd1, { slots: {
|
|
2618
|
+
[$7230ffa83bc0c2cf$export$c62b8e45d58ddad9]: {},
|
|
2619
|
+
close: { onPress: () => state?.close() }
|
|
2620
|
+
} }]
|
|
2621
|
+
] }, renderProps.children));
|
|
2472
2622
|
});
|
|
2473
2623
|
//#endregion
|
|
2474
2624
|
export { $e28ab3efe3e87743$export$6615d83f6de245ce as C, $3578607fe3d4b096$export$cfa2225e87938781 as E, $e28ab3efe3e87743$export$1ff3c3f08ae963c0 as S, $53e61d82d8b8611d$export$e0e4026c12a8bdbb as T, $58196c8d6a1f38fc$export$1c3ebcada18427bf as _, $49319ee1285aa241$export$2ce376c2cc3355c8 as a, $673d46fce3e5717d$export$a16aca283550c30d as b, $49319ee1285aa241$export$ecabc99eeffab7ca as c, $542a13ca2fa5b484$export$9b9a0cd73afb7ca4 as d, $d7a937236970dc7f$export$14c98a7594375490 as f, $77844860df94ba23$export$ea8f71083e90600f as g, $0644e3663365bfe5$export$ee0f7cc6afcd1c18 as h, $49319ee1285aa241$export$27d2ad3c5815583e as i, $f19b83c1486f45cc$export$dc9c12ed27dd1b49 as l, $081058010ef8962e$export$2317d149ed6f78c4 as m, $f2ff30fde7b014be$export$3ddf2d174ce01153 as n, $49319ee1285aa241$export$4b1545b4f2016d26 as o, $d7a937236970dc7f$export$c6fdb837b070b4ff as p, $f2ff30fde7b014be$export$d2f961adcb0afbe as r, $49319ee1285aa241$export$d9b273488cd8ce6f as s, $f2ff30fde7b014be$export$2e1e1122cf0cba88 as t, $542a13ca2fa5b484$export$5b6b19405a83ff9d as u, $2efe10d3f1f9e31e$export$77d5aafae4e095b2 as v, $53e61d82d8b8611d$export$8b251419efc915eb as w, $ae8f8d98b2b18f2f$export$a05409b8bb224a5a as x, $64903b4b31b6bb2a$export$b95089534ab7c1fd as y };
|