@eightshift/ui-components 6.3.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button-h6xF_WrP.js +225 -0
- package/dist/Dialog-i5VLQw1o.js +2488 -0
- package/dist/Disclosure-NYWFw9RJ.js +188 -0
- package/dist/FieldError-BWDbP5Db.js +213 -0
- package/dist/FocusScope-CgwbGOBB.js +746 -0
- package/dist/Form-DTMkbrQY.js +5 -0
- package/dist/Heading-Hol-wS_B.js +16 -0
- package/dist/Hidden-8TB37dpK.js +51 -0
- package/dist/Input-BURqyJXW.js +161 -0
- package/dist/Label-DFXXxMKY.js +17 -0
- package/dist/List-CMK5qsNF.js +506 -0
- package/dist/ListBox-B21SgugS.js +601 -0
- package/dist/NumberFormatter-m5VW6MTK.js +122 -0
- package/dist/OverlayArrow-BoloUPQM.js +573 -0
- package/dist/PortalProvider-DinZZCKX.js +14 -0
- package/dist/RSPContexts-C_z0bI8W.js +12 -0
- package/dist/RadioGroup-BwlGtCja.js +329 -0
- package/dist/SearchField-DR_I4_yn.js +765 -0
- package/dist/SelectionIndicator-31L6EI9F.js +13 -0
- package/dist/SelectionManager-B8lLv6Ue.js +2176 -0
- package/dist/Slider-DW1RuMVp.js +827 -0
- package/dist/Text-O6VBBDlP.js +16 -0
- package/dist/VisuallyHidden-CfsnJHZb.js +43 -0
- package/dist/animation-Bd2peown.js +62 -0
- package/dist/assets/style-admin.css +252 -255
- package/dist/assets/style-editor.css +252 -255
- package/dist/assets/style.css +252 -255
- 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 +3 -3
- 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-sxK3nxOK.js +855 -0
- package/dist/button-COTeluL8.js +524 -0
- package/dist/checkbox-D0AWkLhp.js +338 -0
- package/dist/clsx-BUU5J41u.js +16 -0
- package/dist/color-swatch-CBYsO_Zs.js +2572 -0
- package/dist/components/animated-visibility/animated-visibility.js +87 -111
- package/dist/components/base-control/base-control.js +73 -86
- package/dist/components/base-control/container.js +199 -227
- package/dist/components/breakpoint-preview/breakpoint-preview.js +162 -158
- package/dist/components/button/button.js +3 -580
- package/dist/components/checkbox/checkbox.js +2 -391
- package/dist/components/color-pickers/color-picker.js +172 -276
- package/dist/components/color-pickers/color-swatch.js +3 -7
- package/dist/components/color-pickers/gradient-editor.js +4 -552
- package/dist/components/color-pickers/solid-color-picker.js +3 -1710
- package/dist/components/component-toggle/component-toggle.js +107 -160
- package/dist/components/container-panel/container-panel.js +94 -151
- package/dist/components/draggable/draggable-context.js +4 -4
- package/dist/components/draggable/draggable-handle.js +27 -43
- package/dist/components/draggable/draggable.js +3 -7638
- package/dist/components/draggable-list/draggable-list-context.js +4 -4
- package/dist/components/draggable-list/draggable-list-item.js +63 -80
- package/dist/components/draggable-list/draggable-list.js +115 -142
- package/dist/components/expandable/expandable.js +105 -407
- package/dist/components/index.js +30 -106
- package/dist/components/input-field/input-field.js +2 -326
- package/dist/components/item-collection/item-collection.js +50 -56
- package/dist/components/layout/hstack.js +27 -29
- package/dist/components/layout/vstack.js +27 -29
- package/dist/components/link-input/link-input.js +3 -1943
- package/dist/components/matrix-align/matrix-align.js +127 -161
- package/dist/components/menu/menu.js +253 -356
- package/dist/components/modal/modal.js +3 -399
- package/dist/components/notice/notice.js +99 -139
- package/dist/components/number-picker/number-picker.js +3 -344
- package/dist/components/option-select/option-select.js +226 -404
- package/dist/components/options-panel/options-panel.js +138 -175
- package/dist/components/placeholders/file-picker-shell.js +91 -141
- package/dist/components/placeholders/file-placeholder.js +41 -53
- package/dist/components/placeholders/image-placeholder.js +65 -96
- package/dist/components/placeholders/media-placeholder.js +65 -68
- package/dist/components/popover/popover.js +147 -221
- package/dist/components/portal-provider/portal-provider.js +23 -21
- package/dist/components/radio/radio.js +246 -294
- package/dist/components/repeater/repeater-context.js +4 -4
- package/dist/components/repeater/repeater-item.js +95 -114
- package/dist/components/repeater/repeater.js +221 -278
- package/dist/components/responsive/mini-responsive.js +403 -495
- package/dist/components/responsive/responsive-legacy.js +271 -336
- package/dist/components/responsive/responsive.js +445 -562
- package/dist/components/responsive-preview/responsive-preview.js +94 -117
- package/dist/components/rich-label/rich-label.js +80 -75
- package/dist/components/select/async-multi-select.js +357 -589
- package/dist/components/select/async-select.js +282 -492
- package/dist/components/select/multi-select.js +338 -552
- package/dist/components/select/shared.js +3 -17
- package/dist/components/select/single-select.js +276 -475
- package/dist/components/select/styles.js +84 -0
- package/dist/components/slider/column-config-slider.js +170 -301
- package/dist/components/slider/slider.js +258 -405
- package/dist/components/slider/utils.js +77 -121
- package/dist/components/smart-image/image-analysis-worker.js +128 -0
- package/dist/components/smart-image/smart-image.js +3 -205
- package/dist/components/smart-image/worker-inline.js +4 -4
- package/dist/components/spacer/spacer.js +80 -94
- package/dist/components/tabs/tabs.js +3 -1051
- package/dist/components/toggle/switch.js +2 -295
- package/dist/components/toggle/toggle.js +54 -64
- package/dist/components/toggle-button/toggle-button.js +2 -451
- package/dist/components/tooltip/tooltip.js +2 -535
- package/dist/context-C-XNeJ_l.js +93 -0
- package/dist/debounce-throttle-DXxSAKpq.js +120 -0
- package/dist/dist-DIK9pFxO.js +55 -0
- package/dist/draggable-CYQyD9gG.js +6961 -0
- package/dist/es-dash-HqXWZZ3_.js +303 -0
- package/dist/filterDOMProps-_2_3GD-K.js +69 -0
- package/dist/general-BKOvs-AO.js +4276 -0
- package/dist/gradient-editor-BAd_Gzx4.js +604 -0
- package/dist/icons/block-icon.js +34 -39
- package/dist/icons/generated-icon-loaders.js +759 -0
- package/dist/icons/generic-color-swatch.js +81 -111
- package/dist/icons/icon.js +67 -0
- package/dist/icons/icons.js +218 -3656
- package/dist/icons/index.js +756 -10
- package/dist/icons/internal.js +758 -0
- package/dist/icons/jsx-svg.js +2 -94
- package/dist/icons/spinner.js +16 -18
- package/dist/icons/ui-icons/a11y-warning.js +34 -0
- package/dist/icons/ui-icons/a11y.js +29 -0
- package/dist/icons/ui-icons/accelerometer.js +51 -0
- package/dist/icons/ui-icons/activity-log.js +53 -0
- package/dist/icons/ui-icons/add.js +20 -0
- package/dist/icons/ui-icons/alert.js +31 -0
- package/dist/icons/ui-icons/align-horizontal-vertical-alt.js +37 -0
- package/dist/icons/ui-icons/align-horizontal-vertical-alt2.js +36 -0
- package/dist/icons/ui-icons/align-horizontal-vertical.js +34 -0
- package/dist/icons/ui-icons/alt-text-generic-alt.js +19 -0
- package/dist/icons/ui-icons/alt-text-generic.js +25 -0
- package/dist/icons/ui-icons/alt-text.js +36 -0
- package/dist/icons/ui-icons/anchor-page.js +44 -0
- package/dist/icons/ui-icons/anchor.js +28 -0
- package/dist/icons/ui-icons/angle.js +24 -0
- package/dist/icons/ui-icons/animation-file.js +66 -0
- package/dist/icons/ui-icons/animation-generic.js +36 -0
- package/dist/icons/ui-icons/animation-list-generic.js +41 -0
- package/dist/icons/ui-icons/animation-settings-generic.js +41 -0
- package/dist/icons/ui-icons/animation.js +55 -0
- package/dist/icons/ui-icons/archive-file.js +24 -0
- package/dist/icons/ui-icons/archive.js +39 -0
- package/dist/icons/ui-icons/aria-label.js +42 -0
- package/dist/icons/ui-icons/arrow-down-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-down-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-down-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-down-square.js +28 -0
- package/dist/icons/ui-icons/arrow-down.js +20 -0
- package/dist/icons/ui-icons/arrow-left-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-left-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-left-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-left-square.js +28 -0
- package/dist/icons/ui-icons/arrow-left.js +20 -0
- package/dist/icons/ui-icons/arrow-right-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-right-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-right-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-right-square.js +28 -0
- package/dist/icons/ui-icons/arrow-right.js +20 -0
- package/dist/icons/ui-icons/arrow-up-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-up-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-up-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-up-square.js +28 -0
- package/dist/icons/ui-icons/arrow-up.js +20 -0
- package/dist/icons/ui-icons/arrows-down.js +38 -0
- package/dist/icons/ui-icons/arrows-horizontal.js +20 -0
- package/dist/icons/ui-icons/arrows-left-diagonal.js +20 -0
- package/dist/icons/ui-icons/arrows-left.js +38 -0
- package/dist/icons/ui-icons/arrows-right-diagonal.js +20 -0
- package/dist/icons/ui-icons/arrows-right.js +38 -0
- package/dist/icons/ui-icons/arrows-up.js +38 -0
- package/dist/icons/ui-icons/arrows-vertical.js +20 -0
- package/dist/icons/ui-icons/aspect-ratio-auto.js +38 -0
- package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-square.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-three-two.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio.js +27 -0
- package/dist/icons/ui-icons/attachment.js +19 -0
- package/dist/icons/ui-icons/auto-close.js +26 -0
- package/dist/icons/ui-icons/auto-pause-scroll.js +39 -0
- package/dist/icons/ui-icons/auto-pause.js +26 -0
- package/dist/icons/ui-icons/automatic-alt.js +19 -0
- package/dist/icons/ui-icons/automatic.js +20 -0
- package/dist/icons/ui-icons/autoplay-alt.js +34 -0
- package/dist/icons/ui-icons/autoplay-alt2.js +23 -0
- package/dist/icons/ui-icons/autoplay.js +36 -0
- package/dist/icons/ui-icons/award.js +39 -0
- package/dist/icons/ui-icons/background-blur.js +66 -0
- package/dist/icons/ui-icons/background-color-swatch.js +48 -0
- package/dist/icons/ui-icons/background-image.js +41 -0
- package/dist/icons/ui-icons/background-repeat.js +95 -0
- package/dist/icons/ui-icons/background-type-alt.js +38 -0
- package/dist/icons/ui-icons/background-type-alt2.js +27 -0
- package/dist/icons/ui-icons/background-type.js +27 -0
- package/dist/icons/ui-icons/block-parts.js +54 -0
- package/dist/icons/ui-icons/bold.js +21 -0
- package/dist/icons/ui-icons/book.js +40 -0
- package/dist/icons/ui-icons/bookmark.js +18 -0
- package/dist/icons/ui-icons/boolean-exclude.js +24 -0
- package/dist/icons/ui-icons/boolean-intersect.js +31 -0
- package/dist/icons/ui-icons/boolean-subtract.js +27 -0
- package/dist/icons/ui-icons/boolean-union.js +33 -0
- package/dist/icons/ui-icons/border-color.js +79 -0
- package/dist/icons/ui-icons/border.js +60 -0
- package/dist/icons/ui-icons/bot-deny.js +61 -0
- package/dist/icons/ui-icons/bot.js +47 -0
- package/dist/icons/ui-icons/box.js +35 -0
- package/dist/icons/ui-icons/brain.js +20 -0
- package/dist/icons/ui-icons/branch-fork.js +46 -0
- package/dist/icons/ui-icons/branch.js +46 -0
- package/dist/icons/ui-icons/briefcase.js +26 -0
- package/dist/icons/ui-icons/browser.js +60 -0
- package/dist/icons/ui-icons/button-disabled.js +30 -0
- package/dist/icons/ui-icons/button-filled.js +19 -0
- package/dist/icons/ui-icons/button-ghost.js +28 -0
- package/dist/icons/ui-icons/button-outline.js +27 -0
- package/dist/icons/ui-icons/calculator.js +139 -0
- package/dist/icons/ui-icons/calendar-add.js +51 -0
- package/dist/icons/ui-icons/calendar-download.js +62 -0
- package/dist/icons/ui-icons/calendar-remove.js +51 -0
- package/dist/icons/ui-icons/calendar.js +34 -0
- package/dist/icons/ui-icons/caption-generic.js +25 -0
- package/dist/icons/ui-icons/card-featured.js +28 -0
- package/dist/icons/ui-icons/caret-down-fill.js +19 -0
- package/dist/icons/ui-icons/caret-down.js +19 -0
- package/dist/icons/ui-icons/caret-left-fill.js +19 -0
- package/dist/icons/ui-icons/caret-left.js +19 -0
- package/dist/icons/ui-icons/caret-right-fill.js +19 -0
- package/dist/icons/ui-icons/caret-right.js +19 -0
- package/dist/icons/ui-icons/caret-up-fill.js +19 -0
- package/dist/icons/ui-icons/caret-up.js +19 -0
- package/dist/icons/ui-icons/center-point.js +25 -0
- package/dist/icons/ui-icons/chat-bubble-alt.js +25 -0
- package/dist/icons/ui-icons/chat-bubble.js +19 -0
- package/dist/icons/ui-icons/chat.js +25 -0
- package/dist/icons/ui-icons/check-circle-fill-transparent.js +24 -0
- package/dist/icons/ui-icons/check-circle-fill.js +17 -0
- package/dist/icons/ui-icons/check-circle.js +27 -0
- package/dist/icons/ui-icons/check-square.js +28 -0
- package/dist/icons/ui-icons/check.js +20 -0
- package/dist/icons/ui-icons/checks-circle.js +26 -0
- package/dist/icons/ui-icons/checks.js +26 -0
- package/dist/icons/ui-icons/chevron-down.js +20 -0
- package/dist/icons/ui-icons/chevron-left.js +20 -0
- package/dist/icons/ui-icons/chevron-right.js +20 -0
- package/dist/icons/ui-icons/chevron-up.js +20 -0
- package/dist/icons/ui-icons/clear-alt.js +25 -0
- package/dist/icons/ui-icons/clear.js +20 -0
- package/dist/icons/ui-icons/clipboard-plain.js +35 -0
- package/dist/icons/ui-icons/clipboard.js +43 -0
- package/dist/icons/ui-icons/clock.js +26 -0
- package/dist/icons/ui-icons/closed-captions.js +27 -0
- package/dist/icons/ui-icons/code-variable.js +20 -0
- package/dist/icons/ui-icons/code.js +20 -0
- package/dist/icons/ui-icons/color-alt.js +40 -0
- package/dist/icons/ui-icons/color-fill-swatch.js +61 -0
- package/dist/icons/ui-icons/color-picker-fill.js +42 -0
- package/dist/icons/ui-icons/color-picker-list-marker.js +41 -0
- package/dist/icons/ui-icons/color-picker-text-highlight.js +19 -0
- package/dist/icons/ui-icons/color-picker-text.js +20 -0
- package/dist/icons/ui-icons/color-select.js +33 -0
- package/dist/icons/ui-icons/color.js +22 -0
- package/dist/icons/ui-icons/column-gutters-lr.js +54 -0
- package/dist/icons/ui-icons/columns.js +42 -0
- package/dist/icons/ui-icons/columns3366.js +30 -0
- package/dist/icons/ui-icons/columns6633.js +30 -0
- package/dist/icons/ui-icons/component-generic.js +27 -0
- package/dist/icons/ui-icons/component-options.js +36 -0
- package/dist/icons/ui-icons/condition-h.js +20 -0
- package/dist/icons/ui-icons/condition-v.js +20 -0
- package/dist/icons/ui-icons/conditional-visibility.js +26 -0
- package/dist/icons/ui-icons/container-height.js +68 -0
- package/dist/icons/ui-icons/container-spacing-h.js +41 -0
- package/dist/icons/ui-icons/container-spacing.js +41 -0
- package/dist/icons/ui-icons/container-width.js +68 -0
- package/dist/icons/ui-icons/content-bottom-left.js +31 -0
- package/dist/icons/ui-icons/content-bottom-right.js +31 -0
- package/dist/icons/ui-icons/content-center.js +31 -0
- package/dist/icons/ui-icons/content-top-left.js +31 -0
- package/dist/icons/ui-icons/content-top-right.js +31 -0
- package/dist/icons/ui-icons/contrast-alt.js +27 -0
- package/dist/icons/ui-icons/contrast.js +26 -0
- package/dist/icons/ui-icons/cookie-alt.js +124 -0
- package/dist/icons/ui-icons/cookie.js +76 -0
- package/dist/icons/ui-icons/copy.js +26 -0
- package/dist/icons/ui-icons/currency.js +48 -0
- package/dist/icons/ui-icons/current-page.js +42 -0
- package/dist/icons/ui-icons/cursor-disabled.js +35 -0
- package/dist/icons/ui-icons/cursor-move.js +20 -0
- package/dist/icons/ui-icons/dark-mode.js +20 -0
- package/dist/icons/ui-icons/data.js +33 -0
- package/dist/icons/ui-icons/date-time.js +67 -0
- package/dist/icons/ui-icons/defer.js +26 -0
- package/dist/icons/ui-icons/description-link.js +40 -0
- package/dist/icons/ui-icons/design.js +48 -0
- package/dist/icons/ui-icons/dice.js +59 -0
- package/dist/icons/ui-icons/divider-bottom.js +23 -0
- package/dist/icons/ui-icons/divider-side.js +53 -0
- package/dist/icons/ui-icons/divider-status.js +53 -0
- package/dist/icons/ui-icons/divider-top.js +23 -0
- package/dist/icons/ui-icons/divider.js +23 -0
- package/dist/icons/ui-icons/door-in.js +32 -0
- package/dist/icons/ui-icons/door-out.js +32 -0
- package/dist/icons/ui-icons/door.js +27 -0
- package/dist/icons/ui-icons/download.js +20 -0
- package/dist/icons/ui-icons/dropdown-caret-alt.js +17 -0
- package/dist/icons/ui-icons/dropdown-caret.js +20 -0
- package/dist/icons/ui-icons/dropdown-close.js +52 -0
- package/dist/icons/ui-icons/dropdown-open.js +38 -0
- package/dist/icons/ui-icons/dropdown.js +38 -0
- package/dist/icons/ui-icons/dummy-spacer.js +17 -0
- package/dist/icons/ui-icons/edit-options.js +32 -0
- package/dist/icons/ui-icons/edit.js +22 -0
- package/dist/icons/ui-icons/email-remove.js +42 -0
- package/dist/icons/ui-icons/email.js +28 -0
- package/dist/icons/ui-icons/embed.js +28 -0
- package/dist/icons/ui-icons/empty-circle.js +23 -0
- package/dist/icons/ui-icons/empty-rect.js +25 -0
- package/dist/icons/ui-icons/equal-columns.js +25 -0
- package/dist/icons/ui-icons/equal-rows.js +25 -0
- package/dist/icons/ui-icons/equals.js +20 -0
- package/dist/icons/ui-icons/error-circle-fill-transparent.js +23 -0
- package/dist/icons/ui-icons/error-circle-fill.js +17 -0
- package/dist/icons/ui-icons/error-circle.js +24 -0
- package/dist/icons/ui-icons/exclude-item-alt.js +38 -0
- package/dist/icons/ui-icons/exclude-item.js +42 -0
- package/dist/icons/ui-icons/exclude.js +29 -0
- package/dist/icons/ui-icons/expand-xl.js +20 -0
- package/dist/icons/ui-icons/expand.js +20 -0
- package/dist/icons/ui-icons/experiment.js +33 -0
- package/dist/icons/ui-icons/external-link.js +25 -0
- package/dist/icons/ui-icons/extract-alt.js +25 -0
- package/dist/icons/ui-icons/extract.js +25 -0
- package/dist/icons/ui-icons/eyedropper.js +36 -0
- package/dist/icons/ui-icons/fast-forward.js +26 -0
- package/dist/icons/ui-icons/fast-reverse.js +26 -0
- package/dist/icons/ui-icons/field-after-text.js +54 -0
- package/dist/icons/ui-icons/field-before-text.js +46 -0
- package/dist/icons/ui-icons/field-disabled.js +35 -0
- package/dist/icons/ui-icons/field-help.js +46 -0
- package/dist/icons/ui-icons/field-label.js +38 -0
- package/dist/icons/ui-icons/field-name.js +45 -0
- package/dist/icons/ui-icons/field-placeholder.js +49 -0
- package/dist/icons/ui-icons/field-readonly.js +36 -0
- package/dist/icons/ui-icons/field-required.js +37 -0
- package/dist/icons/ui-icons/field-type.js +36 -0
- package/dist/icons/ui-icons/field-value.js +46 -0
- package/dist/icons/ui-icons/field-width.js +27 -0
- package/dist/icons/ui-icons/file-download.js +33 -0
- package/dist/icons/ui-icons/file-error.js +25 -0
- package/dist/icons/ui-icons/file-metadata.js +41 -0
- package/dist/icons/ui-icons/file-pdf.js +34 -0
- package/dist/icons/ui-icons/file-size-max.js +33 -0
- package/dist/icons/ui-icons/file-size-min.js +33 -0
- package/dist/icons/ui-icons/file-size.js +34 -0
- package/dist/icons/ui-icons/file-type.js +42 -0
- package/dist/icons/ui-icons/file-upload.js +33 -0
- package/dist/icons/ui-icons/file.js +24 -0
- package/dist/icons/ui-icons/files.js +34 -0
- package/dist/icons/ui-icons/fill-color.js +49 -0
- package/dist/icons/ui-icons/filter-alt.js +24 -0
- package/dist/icons/ui-icons/filter.js +20 -0
- package/dist/icons/ui-icons/flag-alt.js +24 -0
- package/dist/icons/ui-icons/flag.js +24 -0
- package/dist/icons/ui-icons/flip-h.js +27 -0
- package/dist/icons/ui-icons/flip-v.js +27 -0
- package/dist/icons/ui-icons/focus.js +21 -0
- package/dist/icons/ui-icons/folder-add.js +22 -0
- package/dist/icons/ui-icons/folder-open-solid.js +17 -0
- package/dist/icons/ui-icons/folder-open.js +19 -0
- package/dist/icons/ui-icons/folder-solid.js +17 -0
- package/dist/icons/ui-icons/folder-top-level.js +22 -0
- package/dist/icons/ui-icons/folder.js +19 -0
- package/dist/icons/ui-icons/font-family.js +24 -0
- package/dist/icons/ui-icons/footer.js +23 -0
- package/dist/icons/ui-icons/form-alt.js +71 -0
- package/dist/icons/ui-icons/form.js +53 -0
- package/dist/icons/ui-icons/four-columns.js +38 -0
- package/dist/icons/ui-icons/frame.js +33 -0
- package/dist/icons/ui-icons/full-max-shield.js +26 -0
- package/dist/icons/ui-icons/full-max-text.js +20 -0
- package/dist/icons/ui-icons/full-width-image.js +35 -0
- package/dist/icons/ui-icons/gears-fill.js +19 -0
- package/dist/icons/ui-icons/gears.js +38 -0
- package/dist/icons/ui-icons/generic-color-swatch.js +6 -0
- package/dist/icons/ui-icons/generic-shapes-alt.js +33 -0
- package/dist/icons/ui-icons/generic-shapes.js +38 -0
- package/dist/icons/ui-icons/globe-anchor.js +55 -0
- package/dist/icons/ui-icons/globe-hash.js +40 -0
- package/dist/icons/ui-icons/globe.js +37 -0
- package/dist/icons/ui-icons/google-tag-manager.js +36 -0
- package/dist/icons/ui-icons/gradient-repeat.js +41 -0
- package/dist/icons/ui-icons/gradient-stop.js +36 -0
- package/dist/icons/ui-icons/gradient.js +54 -0
- package/dist/icons/ui-icons/grid-alt.js +19 -0
- package/dist/icons/ui-icons/grid-auto-cols.js +46 -0
- package/dist/icons/ui-icons/grid-auto-rows.js +41 -0
- package/dist/icons/ui-icons/grid-col.js +22 -0
- package/dist/icons/ui-icons/grid-height.js +22 -0
- package/dist/icons/ui-icons/grid-list-toggle.js +48 -0
- package/dist/icons/ui-icons/grid-manual.js +18 -0
- package/dist/icons/ui-icons/grid-row.js +22 -0
- package/dist/icons/ui-icons/grid-width.js +22 -0
- package/dist/icons/ui-icons/group.js +33 -0
- package/dist/icons/ui-icons/gutter.js +28 -0
- package/dist/icons/ui-icons/gyroscope.js +53 -0
- package/dist/icons/ui-icons/h1.js +28 -0
- package/dist/icons/ui-icons/h2.js +28 -0
- package/dist/icons/ui-icons/h3.js +28 -0
- package/dist/icons/ui-icons/h4.js +28 -0
- package/dist/icons/ui-icons/h5.js +28 -0
- package/dist/icons/ui-icons/h6.js +28 -0
- package/dist/icons/ui-icons/hamburger-menu.js +19 -0
- package/dist/icons/ui-icons/hard-drive.js +35 -0
- package/dist/icons/ui-icons/header.js +23 -0
- package/dist/icons/ui-icons/heading-level-alt.js +28 -0
- package/dist/icons/ui-icons/heading-level.js +28 -0
- package/dist/icons/ui-icons/heading.js +20 -0
- package/dist/icons/ui-icons/heart-fill-transparent.js +19 -0
- package/dist/icons/ui-icons/heart-fill.js +18 -0
- package/dist/icons/ui-icons/heart.js +18 -0
- package/dist/icons/ui-icons/height.js +30 -0
- package/dist/icons/ui-icons/help-fill.js +19 -0
- package/dist/icons/ui-icons/help.js +38 -0
- package/dist/icons/ui-icons/hide.js +29 -0
- package/dist/icons/ui-icons/highlighted-checkmark.js +24 -0
- package/dist/icons/ui-icons/highlighted-exclamation-mark.js +33 -0
- package/dist/icons/ui-icons/history.js +26 -0
- package/dist/icons/ui-icons/horizontal-align-alt.js +27 -0
- package/dist/icons/ui-icons/horizontal-align-around.js +37 -0
- package/dist/icons/ui-icons/horizontal-align-between-alt.js +37 -0
- package/dist/icons/ui-icons/horizontal-align-between.js +46 -0
- package/dist/icons/ui-icons/horizontal-align-center.js +41 -0
- package/dist/icons/ui-icons/horizontal-align-evenly.js +37 -0
- package/dist/icons/ui-icons/horizontal-align-left.js +44 -0
- package/dist/icons/ui-icons/horizontal-align-right.js +48 -0
- package/dist/icons/ui-icons/horizontal-align-stretch.js +37 -0
- package/dist/icons/ui-icons/horizontal-align.js +35 -0
- package/dist/icons/ui-icons/hover-background-glow.js +61 -0
- package/dist/icons/ui-icons/hover-background-type.js +34 -0
- package/dist/icons/ui-icons/hover-invert-object.js +42 -0
- package/dist/icons/ui-icons/hover-invert-text.js +32 -0
- package/dist/icons/ui-icons/hover-rotate.js +20 -0
- package/dist/icons/ui-icons/hover-zoom.js +25 -0
- package/dist/icons/ui-icons/hyphenate-alt.js +20 -0
- package/dist/icons/ui-icons/hyphenate-alt2.js +20 -0
- package/dist/icons/ui-icons/hyphenate.js +25 -0
- package/dist/icons/ui-icons/icon-generic.js +23 -0
- package/dist/icons/ui-icons/id-card.js +45 -0
- package/dist/icons/ui-icons/id.js +28 -0
- package/dist/icons/ui-icons/image-blur.js +50 -0
- package/dist/icons/ui-icons/image-caption.js +36 -0
- package/dist/icons/ui-icons/image-error.js +36 -0
- package/dist/icons/ui-icons/image-file.js +40 -0
- package/dist/icons/ui-icons/image-lazy-load.js +52 -0
- package/dist/icons/ui-icons/image-opacity.js +31 -0
- package/dist/icons/ui-icons/image-overlay-alt.js +93 -0
- package/dist/icons/ui-icons/image-overlay-alt2.js +93 -0
- package/dist/icons/ui-icons/image-overlay.js +92 -0
- package/dist/icons/ui-icons/image-remove.js +46 -0
- package/dist/icons/ui-icons/image.js +25 -0
- package/dist/icons/ui-icons/index.js +753 -0
- package/dist/icons/ui-icons/info-circle-fill-transparent.js +21 -0
- package/dist/icons/ui-icons/info-circle-fill.js +17 -0
- package/dist/icons/ui-icons/info-circle.js +24 -0
- package/dist/icons/ui-icons/info.js +17 -0
- package/dist/icons/ui-icons/inherit.js +41 -0
- package/dist/icons/ui-icons/inline-gradient-format.js +62 -0
- package/dist/icons/ui-icons/input-field.js +27 -0
- package/dist/icons/ui-icons/italic.js +20 -0
- package/dist/icons/ui-icons/item-limit.js +35 -0
- package/dist/icons/ui-icons/item-select.js +33 -0
- package/dist/icons/ui-icons/item-wrap.js +60 -0
- package/dist/icons/ui-icons/items-per-page.js +48 -0
- package/dist/icons/ui-icons/items-per-row.js +45 -0
- package/dist/icons/ui-icons/key.js +25 -0
- package/dist/icons/ui-icons/keyboard.js +19 -0
- package/dist/icons/ui-icons/large.js +24 -0
- package/dist/icons/ui-icons/latest-posts.js +44 -0
- package/dist/icons/ui-icons/layer-off.js +20 -0
- package/dist/icons/ui-icons/layer.js +19 -0
- package/dist/icons/ui-icons/layers.js +33 -0
- package/dist/icons/ui-icons/layout-alt.js +19 -0
- package/dist/icons/ui-icons/layout-alt2.js +23 -0
- package/dist/icons/ui-icons/layout-alt3.js +19 -0
- package/dist/icons/ui-icons/layout-alt4.js +19 -0
- package/dist/icons/ui-icons/layout-bento-box.js +19 -0
- package/dist/icons/ui-icons/layout-masonry.js +79 -0
- package/dist/icons/ui-icons/layout.js +43 -0
- package/dist/icons/ui-icons/left-panel-alt.js +25 -0
- package/dist/icons/ui-icons/left-panel.js +22 -0
- package/dist/icons/ui-icons/light-bulb-alt.js +30 -0
- package/dist/icons/ui-icons/light-bulb.js +33 -0
- package/dist/icons/ui-icons/light-mode.js +26 -0
- package/dist/icons/ui-icons/limit-width.js +26 -0
- package/dist/icons/ui-icons/line-break-alt-off.js +26 -0
- package/dist/icons/ui-icons/line-break-alt.js +25 -0
- package/dist/icons/ui-icons/line-break-off-alt.js +35 -0
- package/dist/icons/ui-icons/line-break-off.js +41 -0
- package/dist/icons/ui-icons/line-break.js +29 -0
- package/dist/icons/ui-icons/line-breaks-hyphenation.js +36 -0
- package/dist/icons/ui-icons/link-add.js +41 -0
- package/dist/icons/ui-icons/link-nav.js +59 -0
- package/dist/icons/ui-icons/link-remove.js +41 -0
- package/dist/icons/ui-icons/link.js +19 -0
- package/dist/icons/ui-icons/list-indent.js +26 -0
- package/dist/icons/ui-icons/list-ordered.js +43 -0
- package/dist/icons/ui-icons/list-outdent.js +26 -0
- package/dist/icons/ui-icons/list-unordered.js +43 -0
- package/dist/icons/ui-icons/loader-alt.js +19 -0
- package/dist/icons/ui-icons/loader.js +19 -0
- package/dist/icons/ui-icons/location-add.js +44 -0
- package/dist/icons/ui-icons/location-allow.js +44 -0
- package/dist/icons/ui-icons/location-deny.js +44 -0
- package/dist/icons/ui-icons/location-settings.js +36 -0
- package/dist/icons/ui-icons/location.js +26 -0
- package/dist/icons/ui-icons/lock.js +44 -0
- package/dist/icons/ui-icons/loop-mode.js +20 -0
- package/dist/icons/ui-icons/magic-alt-fill-transparent.js +20 -0
- package/dist/icons/ui-icons/magic-alt-fill.js +19 -0
- package/dist/icons/ui-icons/magic-alt.js +19 -0
- package/dist/icons/ui-icons/magic-fill-transparent.js +20 -0
- package/dist/icons/ui-icons/magic-fill.js +19 -0
- package/dist/icons/ui-icons/magic.js +19 -0
- package/dist/icons/ui-icons/map-layer-json.js +35 -0
- package/dist/icons/ui-icons/map-layer-raster.js +121 -0
- package/dist/icons/ui-icons/map-layer-vector.js +81 -0
- package/dist/icons/ui-icons/map-layer.js +26 -0
- package/dist/icons/ui-icons/map-pin.js +41 -0
- package/dist/icons/ui-icons/matrix-align-control-dot-active.js +23 -0
- package/dist/icons/ui-icons/matrix-align-control-dot-inactive.js +21 -0
- package/dist/icons/ui-icons/media.js +49 -0
- package/dist/icons/ui-icons/medium.js +24 -0
- package/dist/icons/ui-icons/menu-item-check.js +20 -0
- package/dist/icons/ui-icons/menu-item-circle.js +19 -0
- package/dist/icons/ui-icons/microphone.js +23 -0
- package/dist/icons/ui-icons/migration-alt-v.js +20 -0
- package/dist/icons/ui-icons/migration-alt.js +20 -0
- package/dist/icons/ui-icons/migration.js +26 -0
- package/dist/icons/ui-icons/module.js +24 -0
- package/dist/icons/ui-icons/money-paper.js +58 -0
- package/dist/icons/ui-icons/more-h-circle.js +40 -0
- package/dist/icons/ui-icons/more-h.js +33 -0
- package/dist/icons/ui-icons/more-v-circle.js +44 -0
- package/dist/icons/ui-icons/more-v.js +36 -0
- package/dist/icons/ui-icons/mouse-cursor.js +20 -0
- package/dist/icons/ui-icons/mouse-wheel.js +27 -0
- package/dist/icons/ui-icons/multi-item-left-inset-mobile.js +58 -0
- package/dist/icons/ui-icons/multi-item-left-inset.js +39 -0
- package/dist/icons/ui-icons/multi-item-right-inset-mobile.js +55 -0
- package/dist/icons/ui-icons/multi-item-right-inset.js +36 -0
- package/dist/icons/ui-icons/multiple.js +34 -0
- package/dist/icons/ui-icons/music-note.js +40 -0
- package/dist/icons/ui-icons/mute-centered.js +20 -0
- package/dist/icons/ui-icons/mute.js +20 -0
- package/dist/icons/ui-icons/narrow-bottom.js +49 -0
- package/dist/icons/ui-icons/narrow-left.js +49 -0
- package/dist/icons/ui-icons/narrow-right.js +49 -0
- package/dist/icons/ui-icons/narrow-top.js +49 -0
- package/dist/icons/ui-icons/navigation-buttons.js +39 -0
- package/dist/icons/ui-icons/new-tab.js +27 -0
- package/dist/icons/ui-icons/newspaper.js +45 -0
- package/dist/icons/ui-icons/none.js +25 -0
- package/dist/icons/ui-icons/notebook.js +44 -0
- package/dist/icons/ui-icons/num0-circle-alt.js +24 -0
- package/dist/icons/ui-icons/num0-circle.js +24 -0
- package/dist/icons/ui-icons/num0-square-alt.js +26 -0
- package/dist/icons/ui-icons/num0-square.js +26 -0
- package/dist/icons/ui-icons/num1-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num1-circle.js +26 -0
- package/dist/icons/ui-icons/num1-square-alt.js +28 -0
- package/dist/icons/ui-icons/num1-square.js +28 -0
- package/dist/icons/ui-icons/num2-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num2-circle.js +26 -0
- package/dist/icons/ui-icons/num2-square-alt.js +28 -0
- package/dist/icons/ui-icons/num2-square.js +28 -0
- package/dist/icons/ui-icons/num3-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num3-circle.js +26 -0
- package/dist/icons/ui-icons/num3-square-alt.js +28 -0
- package/dist/icons/ui-icons/num3-square.js +28 -0
- package/dist/icons/ui-icons/num4-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num4-circle.js +26 -0
- package/dist/icons/ui-icons/num4-square-alt.js +28 -0
- package/dist/icons/ui-icons/num4-square.js +28 -0
- package/dist/icons/ui-icons/num5-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num5-circle.js +26 -0
- package/dist/icons/ui-icons/num5-square-alt.js +28 -0
- package/dist/icons/ui-icons/num5-square.js +28 -0
- package/dist/icons/ui-icons/num6-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num6-circle.js +26 -0
- package/dist/icons/ui-icons/num6-square-alt.js +28 -0
- package/dist/icons/ui-icons/num6-square.js +28 -0
- package/dist/icons/ui-icons/num7-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num7-circle.js +26 -0
- package/dist/icons/ui-icons/num7-square-alt.js +28 -0
- package/dist/icons/ui-icons/num7-square.js +28 -0
- package/dist/icons/ui-icons/num8-circle-alt.js +24 -0
- package/dist/icons/ui-icons/num8-circle.js +24 -0
- package/dist/icons/ui-icons/num8-square-alt.js +26 -0
- package/dist/icons/ui-icons/num8-square.js +26 -0
- package/dist/icons/ui-icons/num9-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num9-circle.js +26 -0
- package/dist/icons/ui-icons/num9-square-alt.js +28 -0
- package/dist/icons/ui-icons/num9-square.js +28 -0
- package/dist/icons/ui-icons/office-building.js +203 -0
- package/dist/icons/ui-icons/office-buildings.js +256 -0
- package/dist/icons/ui-icons/offset-auto.js +46 -0
- package/dist/icons/ui-icons/offset.js +39 -0
- package/dist/icons/ui-icons/option-list-alt.js +61 -0
- package/dist/icons/ui-icons/option-list.js +63 -0
- package/dist/icons/ui-icons/options.js +24 -0
- package/dist/icons/ui-icons/order.js +49 -0
- package/dist/icons/ui-icons/padding-bottom.js +35 -0
- package/dist/icons/ui-icons/padding-top.js +35 -0
- package/dist/icons/ui-icons/padding.js +34 -0
- package/dist/icons/ui-icons/pagination.js +49 -0
- package/dist/icons/ui-icons/palette-color.js +111 -0
- package/dist/icons/ui-icons/panel-collapse.js +41 -0
- package/dist/icons/ui-icons/panel-expand.js +41 -0
- package/dist/icons/ui-icons/paragraph.js +24 -0
- package/dist/icons/ui-icons/paste.js +52 -0
- package/dist/icons/ui-icons/pause.js +20 -0
- package/dist/icons/ui-icons/people-group.js +57 -0
- package/dist/icons/ui-icons/people.js +43 -0
- package/dist/icons/ui-icons/person.js +26 -0
- package/dist/icons/ui-icons/photo-camera.js +26 -0
- package/dist/icons/ui-icons/picture-in-picture.js +33 -0
- package/dist/icons/ui-icons/play-reverse.js +20 -0
- package/dist/icons/ui-icons/play.js +20 -0
- package/dist/icons/ui-icons/playback-options.js +24 -0
- package/dist/icons/ui-icons/plus-circle-fill-alt.js +23 -0
- package/dist/icons/ui-icons/plus-circle-fill.js +17 -0
- package/dist/icons/ui-icons/plus-circle.js +26 -0
- package/dist/icons/ui-icons/plus-minus-buttons-h.js +25 -0
- package/dist/icons/ui-icons/plus-minus-buttons-v.js +25 -0
- package/dist/icons/ui-icons/plus-square-fill-transparent.js +27 -0
- package/dist/icons/ui-icons/plus-square-fill.js +17 -0
- package/dist/icons/ui-icons/plus-square.js +27 -0
- package/dist/icons/ui-icons/pointer-hand-disabled.js +34 -0
- package/dist/icons/ui-icons/pointer-hand.js +20 -0
- package/dist/icons/ui-icons/position-arrows-h.js +26 -0
- package/dist/icons/ui-icons/position-arrows-inverted-h.js +26 -0
- package/dist/icons/ui-icons/position-arrows-inverted-v.js +26 -0
- package/dist/icons/ui-icons/position-arrows-inverted.js +26 -0
- package/dist/icons/ui-icons/position-arrows-v.js +26 -0
- package/dist/icons/ui-icons/position-arrows.js +26 -0
- package/dist/icons/ui-icons/position-h-center.js +43 -0
- package/dist/icons/ui-icons/position-h-end.js +43 -0
- package/dist/icons/ui-icons/position-h-start.js +43 -0
- package/dist/icons/ui-icons/position-left.js +31 -0
- package/dist/icons/ui-icons/position-right.js +31 -0
- package/dist/icons/ui-icons/position-v-center.js +43 -0
- package/dist/icons/ui-icons/position-v-end.js +43 -0
- package/dist/icons/ui-icons/position-v-start.js +43 -0
- package/dist/icons/ui-icons/position2x2-bottom-left.js +52 -0
- package/dist/icons/ui-icons/position2x2-bottom-right.js +52 -0
- package/dist/icons/ui-icons/position2x2-empty.js +51 -0
- package/dist/icons/ui-icons/position2x2-top-left.js +52 -0
- package/dist/icons/ui-icons/position2x2-top-right.js +52 -0
- package/dist/icons/ui-icons/position3x3-bottom-center.js +97 -0
- package/dist/icons/ui-icons/position3x3-bottom-left.js +97 -0
- package/dist/icons/ui-icons/position3x3-bottom-right.js +97 -0
- package/dist/icons/ui-icons/position3x3-center-center.js +97 -0
- package/dist/icons/ui-icons/position3x3-center-left.js +97 -0
- package/dist/icons/ui-icons/position3x3-center-right.js +97 -0
- package/dist/icons/ui-icons/position3x3-empty.js +96 -0
- package/dist/icons/ui-icons/position3x3-top-center.js +97 -0
- package/dist/icons/ui-icons/position3x3-top-left.js +97 -0
- package/dist/icons/ui-icons/position3x3-top-right.js +97 -0
- package/dist/icons/ui-icons/positioning-guide-alt.js +30 -0
- package/dist/icons/ui-icons/positioning-guide.js +30 -0
- package/dist/icons/ui-icons/positioning-width-guide.js +40 -0
- package/dist/icons/ui-icons/preload.js +44 -0
- package/dist/icons/ui-icons/preview-responsive.js +48 -0
- package/dist/icons/ui-icons/preview.js +35 -0
- package/dist/icons/ui-icons/progressbar-intermittent.js +26 -0
- package/dist/icons/ui-icons/progressbar.js +30 -0
- package/dist/icons/ui-icons/range-max.js +48 -0
- package/dist/icons/ui-icons/range-mid.js +40 -0
- package/dist/icons/ui-icons/range-min.js +48 -0
- package/dist/icons/ui-icons/range.js +61 -0
- package/dist/icons/ui-icons/read-only.js +25 -0
- package/dist/icons/ui-icons/reduce-height-bottom.js +49 -0
- package/dist/icons/ui-icons/reduce-height-top.js +49 -0
- package/dist/icons/ui-icons/regex.js +39 -0
- package/dist/icons/ui-icons/remove.js +20 -0
- package/dist/icons/ui-icons/rename.js +24 -0
- package/dist/icons/ui-icons/reorder-grabber-h.js +51 -0
- package/dist/icons/ui-icons/reorder-grabber-v.js +57 -0
- package/dist/icons/ui-icons/reorder.js +35 -0
- package/dist/icons/ui-icons/required-alt.js +20 -0
- package/dist/icons/ui-icons/required.js +19 -0
- package/dist/icons/ui-icons/reset-to-zero.js +33 -0
- package/dist/icons/ui-icons/reset.js +25 -0
- package/dist/icons/ui-icons/responsive-overrides-alt-fill.js +26 -0
- package/dist/icons/ui-icons/responsive-overrides-alt.js +49 -0
- package/dist/icons/ui-icons/responsive-overrides-alt2-fill.js +34 -0
- package/dist/icons/ui-icons/responsive-overrides-alt2.js +45 -0
- package/dist/icons/ui-icons/responsive-overrides-alt3-fill.js +33 -0
- package/dist/icons/ui-icons/responsive-overrides.js +39 -0
- package/dist/icons/ui-icons/responsive.js +33 -0
- package/dist/icons/ui-icons/right-panel-alt.js +23 -0
- package/dist/icons/ui-icons/right-panel.js +22 -0
- package/dist/icons/ui-icons/rotate-left.js +20 -0
- package/dist/icons/ui-icons/rotate-right.js +20 -0
- package/dist/icons/ui-icons/rounded-corners.js +19 -0
- package/dist/icons/ui-icons/route.js +27 -0
- package/dist/icons/ui-icons/row-add.js +45 -0
- package/dist/icons/ui-icons/row-empty.js +51 -0
- package/dist/icons/ui-icons/row.js +45 -0
- package/dist/icons/ui-icons/rows.js +42 -0
- package/dist/icons/ui-icons/ruler.js +28 -0
- package/dist/icons/ui-icons/save.js +26 -0
- package/dist/icons/ui-icons/screen-desktop.js +32 -0
- package/dist/icons/ui-icons/screen-large.js +23 -0
- package/dist/icons/ui-icons/screen-mobile.js +39 -0
- package/dist/icons/ui-icons/screen-tablet-large.js +36 -0
- package/dist/icons/ui-icons/screen-tablet.js +36 -0
- package/dist/icons/ui-icons/scrollbar-h.js +40 -0
- package/dist/icons/ui-icons/scrollbar-v.js +41 -0
- package/dist/icons/ui-icons/scrollbars.js +55 -0
- package/dist/icons/ui-icons/search-empty.js +37 -0
- package/dist/icons/ui-icons/search.js +25 -0
- package/dist/icons/ui-icons/separator-h.js +41 -0
- package/dist/icons/ui-icons/separator-v.js +39 -0
- package/dist/icons/ui-icons/shadow.js +61 -0
- package/dist/icons/ui-icons/share.js +26 -0
- package/dist/icons/ui-icons/shield-plus-alt.js +27 -0
- package/dist/icons/ui-icons/shield-plus.js +20 -0
- package/dist/icons/ui-icons/shield.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-left-xl.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-left.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-right-xl.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-right.js +20 -0
- package/dist/icons/ui-icons/shrink-xl.js +20 -0
- package/dist/icons/ui-icons/shrink.js +20 -0
- package/dist/icons/ui-icons/shuffle.js +20 -0
- package/dist/icons/ui-icons/sidebar-flip.js +22 -0
- package/dist/icons/ui-icons/sidebar.js +22 -0
- package/dist/icons/ui-icons/single-item-left-inset-mobile.js +48 -0
- package/dist/icons/ui-icons/single-item-left-inset.js +23 -0
- package/dist/icons/ui-icons/single-item-right-inset-mobile.js +50 -0
- package/dist/icons/ui-icons/single-item-right-inset.js +23 -0
- package/dist/icons/ui-icons/size-alt.js +33 -0
- package/dist/icons/ui-icons/size.js +29 -0
- package/dist/icons/ui-icons/slider.js +31 -0
- package/dist/icons/ui-icons/sliders.js +68 -0
- package/dist/icons/ui-icons/small.js +24 -0
- package/dist/icons/ui-icons/solid-circle-fill-transparent.js +22 -0
- package/dist/icons/ui-icons/solid-circle-filled.js +21 -0
- package/dist/icons/ui-icons/solid-circle-gradient.js +31 -0
- package/dist/icons/ui-icons/solid-circle.js +21 -0
- package/dist/icons/ui-icons/solid-color.js +19 -0
- package/dist/icons/ui-icons/solid-rect-fill-transparent.js +24 -0
- package/dist/icons/ui-icons/solid-rect-filled.js +23 -0
- package/dist/icons/ui-icons/solid-rect-gradient.js +33 -0
- package/dist/icons/ui-icons/solid-rect.js +23 -0
- package/dist/icons/ui-icons/sort-asc.js +20 -0
- package/dist/icons/ui-icons/sort-desc.js +20 -0
- package/dist/icons/ui-icons/sort-generic.js +25 -0
- package/dist/icons/ui-icons/spacing-bottom-in.js +23 -0
- package/dist/icons/ui-icons/spacing-bottom.js +23 -0
- package/dist/icons/ui-icons/spacing-left-in.js +23 -0
- package/dist/icons/ui-icons/spacing-left.js +23 -0
- package/dist/icons/ui-icons/spacing-right-in.js +23 -0
- package/dist/icons/ui-icons/spacing-right.js +23 -0
- package/dist/icons/ui-icons/spacing-top-in.js +23 -0
- package/dist/icons/ui-icons/spacing-top.js +23 -0
- package/dist/icons/ui-icons/speed.js +25 -0
- package/dist/icons/ui-icons/stagger.js +53 -0
- package/dist/icons/ui-icons/star.js +18 -0
- package/dist/icons/ui-icons/step.js +27 -0
- package/dist/icons/ui-icons/stop.js +20 -0
- package/dist/icons/ui-icons/swap.js +41 -0
- package/dist/icons/ui-icons/tag-alt.js +24 -0
- package/dist/icons/ui-icons/tag.js +26 -0
- package/dist/icons/ui-icons/text-abc.js +40 -0
- package/dist/icons/ui-icons/text-above.js +25 -0
- package/dist/icons/ui-icons/text-align-center.js +20 -0
- package/dist/icons/ui-icons/text-align-generic.js +20 -0
- package/dist/icons/ui-icons/text-align-justify.js +20 -0
- package/dist/icons/ui-icons/text-align-left.js +20 -0
- package/dist/icons/ui-icons/text-align-right.js +20 -0
- package/dist/icons/ui-icons/text-below.js +25 -0
- package/dist/icons/ui-icons/text-box-edit.js +35 -0
- package/dist/icons/ui-icons/text-color-swatch.js +40 -0
- package/dist/icons/ui-icons/text-highlight-color-swatch-alt.js +49 -0
- package/dist/icons/ui-icons/text-highlight-color-swatch.js +48 -0
- package/dist/icons/ui-icons/text-larger.js +23 -0
- package/dist/icons/ui-icons/text-length.js +20 -0
- package/dist/icons/ui-icons/text-size-alt.js +23 -0
- package/dist/icons/ui-icons/text-size.js +20 -0
- package/dist/icons/ui-icons/text-smaller.js +23 -0
- package/dist/icons/ui-icons/text-strikethrough.js +26 -0
- package/dist/icons/ui-icons/text-uppercase.js +25 -0
- package/dist/icons/ui-icons/text-write.js +39 -0
- package/dist/icons/ui-icons/thumbs-down.js +22 -0
- package/dist/icons/ui-icons/thumbs-up.js +22 -0
- package/dist/icons/ui-icons/title-generic.js +25 -0
- package/dist/icons/ui-icons/toggle-off.js +33 -0
- package/dist/icons/ui-icons/toggle-on-alt.js +19 -0
- package/dist/icons/ui-icons/toggle-on.js +31 -0
- package/dist/icons/ui-icons/tools.js +25 -0
- package/dist/icons/ui-icons/total-items.js +45 -0
- package/dist/icons/ui-icons/trash-alt.js +44 -0
- package/dist/icons/ui-icons/trash.js +33 -0
- package/dist/icons/ui-icons/tree-alt.js +62 -0
- package/dist/icons/ui-icons/tree-alt2.js +79 -0
- package/dist/icons/ui-icons/tree.js +70 -0
- package/dist/icons/ui-icons/troubleshoot-alt.js +39 -0
- package/dist/icons/ui-icons/two-cards-left.js +32 -0
- package/dist/icons/ui-icons/two-cards-right.js +32 -0
- package/dist/icons/ui-icons/two-columns.js +30 -0
- package/dist/icons/ui-icons/typography-options.js +77 -0
- package/dist/icons/ui-icons/typography.js +71 -0
- package/dist/icons/ui-icons/underline.js +19 -0
- package/dist/icons/ui-icons/ungroup.js +39 -0
- package/dist/icons/ui-icons/upload.js +20 -0
- package/dist/icons/ui-icons/venn-diagram-alt.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt2.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt3.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt4.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt5.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt6.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt7.js +39 -0
- package/dist/icons/ui-icons/venn-diagram.js +26 -0
- package/dist/icons/ui-icons/vertical-align-alt.js +27 -0
- package/dist/icons/ui-icons/vertical-align-around.js +39 -0
- package/dist/icons/ui-icons/vertical-align-between-alt.js +39 -0
- package/dist/icons/ui-icons/vertical-align-between.js +48 -0
- package/dist/icons/ui-icons/vertical-align-bottom.js +44 -0
- package/dist/icons/ui-icons/vertical-align-center.js +39 -0
- package/dist/icons/ui-icons/vertical-align-evenly.js +39 -0
- package/dist/icons/ui-icons/vertical-align-stretch.js +39 -0
- package/dist/icons/ui-icons/vertical-align-top.js +46 -0
- package/dist/icons/ui-icons/vertical-align.js +35 -0
- package/dist/icons/ui-icons/vertical-spacing.js +28 -0
- package/dist/icons/ui-icons/video-chapters.js +25 -0
- package/dist/icons/ui-icons/video-controls.js +67 -0
- package/dist/icons/ui-icons/video-file.js +40 -0
- package/dist/icons/ui-icons/video-poster-image.js +40 -0
- package/dist/icons/ui-icons/video-subtitle-alt.js +39 -0
- package/dist/icons/ui-icons/video-subtitle.js +27 -0
- package/dist/icons/ui-icons/video.js +36 -0
- package/dist/icons/ui-icons/visibility-alt.js +40 -0
- package/dist/icons/ui-icons/visibility-alt2.js +41 -0
- package/dist/icons/ui-icons/visibility.js +45 -0
- package/dist/icons/ui-icons/visible.js +28 -0
- package/dist/icons/ui-icons/volume.js +25 -0
- package/dist/icons/ui-icons/warning-circle-fill-transparent.js +30 -0
- package/dist/icons/ui-icons/warning-circle-fill.js +17 -0
- package/dist/icons/ui-icons/warning-circle.js +33 -0
- package/dist/icons/ui-icons/warning-fill-transparent.js +30 -0
- package/dist/icons/ui-icons/warning-fill.js +17 -0
- package/dist/icons/ui-icons/warning.js +30 -0
- package/dist/icons/ui-icons/web-video.js +63 -0
- package/dist/icons/ui-icons/wide-bottom.js +49 -0
- package/dist/icons/ui-icons/wide-left.js +49 -0
- package/dist/icons/ui-icons/wide-right.js +49 -0
- package/dist/icons/ui-icons/wide-top.js +49 -0
- package/dist/icons/ui-icons/width.js +29 -0
- package/dist/icons/ui-icons/wordpress.js +17 -0
- package/dist/icons/ui-icons/wrapper-alt.js +71 -0
- package/dist/icons/ui-icons/wrapper-config.js +41 -0
- package/dist/icons/ui-icons/wrapper-off-alt.js +19 -0
- package/dist/icons/ui-icons/wrapper-overflow.js +31 -0
- package/dist/icons/ui-icons/wrapper-simple-alt.js +58 -0
- package/dist/icons/ui-icons/wrapper-simple.js +32 -0
- package/dist/icons/ui-icons/wrapper.js +42 -0
- package/dist/icons/ui-icons/wrench.js +19 -0
- package/dist/icons/ui-icons/zap-fill.js +20 -0
- package/dist/icons/ui-icons/zap.js +19 -0
- package/dist/index.js +32 -108
- package/dist/input-field-UCZL5bqv.js +290 -0
- package/dist/jsx-svg-OBADs_Qs.js +11123 -0
- package/dist/link-input-D7iDRpOM.js +1821 -0
- package/dist/modal-DbVLYMkH.js +318 -0
- package/dist/number-ZZIxJukn.js +40 -0
- package/dist/number-picker-CkA1iJNZ.js +268 -0
- package/dist/proxy-DjkEpeDL.js +9660 -0
- package/dist/shared-D_OXizRt.js +1038 -0
- package/dist/smart-image-CbSsEASF.js +284 -0
- package/dist/solid-color-picker-DbT-aoVx.js +1415 -0
- package/dist/style-admin.js +1 -1
- package/dist/style-editor.js +1 -1
- package/dist/style.js +1 -1
- package/dist/switch-L8dFSQWQ.js +274 -0
- package/dist/tabs-BrdyBER5.js +975 -0
- package/dist/textSelection-Dv6WPj0Z.js +45 -0
- package/dist/toggle-button-DJ8jNQ-9.js +424 -0
- package/dist/tooltip-BzJzYlcc.js +440 -0
- package/dist/useAsyncList-BNzwKoX4.js +412 -0
- package/dist/useButton-ra1ZSZ4z.js +57 -0
- package/dist/useEvent-DkZVfgsS.js +22 -0
- package/dist/useField-D0WrzR2F.js +32 -0
- package/dist/useFilter-OiMnf6sb.js +44 -0
- package/dist/useFocusRing-DuYL4cdO.js +98 -0
- package/dist/useFormReset-DdkykzAn.js +18 -0
- package/dist/useHover-qaMm3XFO.js +982 -0
- package/dist/useLabel-2EohW5l6.js +27 -0
- package/dist/useLabels-B2p7RXi5.js +16 -0
- package/dist/useListState-CD_5vfyy.js +147 -0
- package/dist/useLocalizedStringFormatter-Dv2diN3k.js +108 -0
- package/dist/useNumberField-2xbi3jRV.js +1318 -0
- package/dist/useNumberFormatter-C2Cm2mNj.js +10 -0
- package/dist/usePress-ZP1TjkFf.js +678 -0
- package/dist/useToggle-ecIirvIM.js +64 -0
- package/dist/useToggleState-IIDbiKPl.js +23 -0
- package/dist/utilities/array-helpers.js +38 -49
- package/dist/utilities/debounce-throttle.js +2 -123
- package/dist/utilities/es-dash.js +2 -400
- package/dist/utilities/general.js +2 -10
- package/dist/utilities/hash.js +31 -35
- package/dist/utilities/index.js +6 -41
- package/dist/utilities/text-helpers.js +96 -129
- package/dist/utilities/web-workers.js +61 -44
- package/dist/utilities-CPFDXC3B.js +7 -0
- package/dist/utils-B_uiqNa4.js +372 -0
- package/dist/workers/image-analysis.worker.js +56 -48
- package/package.json +37 -25
- package/dist/Button-DtRmB6b8.js +0 -243
- package/dist/Dialog-DTIxSDhz.js +0 -2790
- package/dist/FieldError-BPG0hKfB.js +0 -42
- package/dist/FocusScope-CjFQ7cbd.js +0 -832
- package/dist/Form-Cq3fu75_.js +0 -5
- package/dist/Heading-CY-_gt-U.js +0 -16
- package/dist/Hidden-DOH36apC.js +0 -58
- package/dist/Input-BG9DaxYN.js +0 -169
- package/dist/Label-_aSf9-8u.js +0 -18
- package/dist/List-CQFXnN4w.js +0 -590
- package/dist/ListBox-DXFyyj_r.js +0 -695
- package/dist/NumberFormatter-DA8u1Ot7.js +0 -140
- package/dist/OverlayArrow-Fuxj-1QM.js +0 -614
- package/dist/PortalProvider-BQ1X8vGX.js +0 -19
- package/dist/RSPContexts-CJ-HBf0L.js +0 -18
- package/dist/RadioGroup-DCeiLxLK.js +0 -371
- package/dist/SearchField-B_yKFXRk.js +0 -817
- package/dist/SelectionIndicator-D7WMzeAW.js +0 -7
- package/dist/SelectionManager-B02LcxLr.js +0 -2505
- package/dist/SharedElementTransition-CtoWSaF0.js +0 -12
- package/dist/Slider-bR3fAmim.js +0 -897
- package/dist/Text-CjFEHSfr.js +0 -17
- package/dist/VisuallyHidden-DZnWrkn8.js +0 -48
- package/dist/animation-Dfl8uEb3.js +0 -67
- package/dist/clsx-DgYk2OaC.js +0 -16
- package/dist/color-swatch-bUFkK7ox.js +0 -2570
- package/dist/components/smart-image/image-analysis-worker-next.js +0 -144
- package/dist/components/smart-image/smart-image-next.js +0 -294
- package/dist/context-iUFQCK8m.js +0 -95
- package/dist/default-i18n-CnQeC5Pl.js +0 -731
- package/dist/filterDOMProps-eGTqWSTd.js +0 -71
- package/dist/general-BfKmjm56.js +0 -4378
- package/dist/index-BHpUy2Ix.js +0 -44
- package/dist/index-BL5gdWX4.js +0 -28323
- package/dist/number-7sOvrqo0.js +0 -41
- package/dist/proxy-CNEXmkdK.js +0 -7948
- package/dist/react-jsx-parser.min-DAh4myol.js +0 -11736
- package/dist/shared-CNH8QfV9.js +0 -1111
- package/dist/sprintf-DmNrJSYG.js +0 -51
- package/dist/textSelection-DA3VcKpG.js +0 -46
- package/dist/useAsyncList-DsZvQXls.js +0 -453
- package/dist/useButton-DyMX0EVr.js +0 -59
- package/dist/useEvent-Bfy68GHZ.js +0 -22
- package/dist/useFilter-Bg5C34XC.js +0 -50
- package/dist/useFocusRing-B2glEZ25.js +0 -114
- package/dist/useFormReset-BoxsKyJ9.js +0 -20
- package/dist/useFormValidation-BrbMhS2N.js +0 -232
- package/dist/useHover-DkmPQdGE.js +0 -1047
- package/dist/useLabel-DzXzKZZZ.js +0 -27
- package/dist/useLabels-D8O3gOdV.js +0 -23
- package/dist/useListState-BjnzKozj.js +0 -171
- package/dist/useLocalizedStringFormatter-CEDs0LsA.js +0 -121
- package/dist/useNumberField-CsygZKz9.js +0 -1330
- package/dist/useNumberFormatter-CG_IQXp9.js +0 -13
- package/dist/usePress-Ck5xMtDr.js +0 -701
- package/dist/useToggle-Ddc7N8pR.js +0 -72
- package/dist/useToggleState-H_lORSWO.js +0 -23
- package/dist/utils-Cr3pLd9c.js +0 -420
|
@@ -1,1047 +0,0 @@
|
|
|
1
|
-
import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, m as $b5e257d569688ac6$export$535bd6ca7f90a273, b as $3ef42575df84b30b$export$9d1611c77c2fe928, k as $df56164dff5785e2$export$4338b53315abf666 } from "./utils-Cr3pLd9c.js";
|
|
2
|
-
import $dbSRa$react__default, { useContext, createContext, useRef, useCallback, useEffect, useState, useReducer, useMemo } from "react";
|
|
3
|
-
const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
4
|
-
var _el_ownerDocument;
|
|
5
|
-
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
6
|
-
};
|
|
7
|
-
const $431fbd86ca7dc216$export$f21a1ffae260145a = (el) => {
|
|
8
|
-
if (el && "window" in el && el.window === el) return el;
|
|
9
|
-
const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);
|
|
10
|
-
return doc.defaultView || window;
|
|
11
|
-
};
|
|
12
|
-
function $431fbd86ca7dc216$var$isNode(value) {
|
|
13
|
-
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
14
|
-
}
|
|
15
|
-
function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
|
|
16
|
-
return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
|
|
17
|
-
}
|
|
18
|
-
let $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
19
|
-
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
20
|
-
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
21
|
-
}
|
|
22
|
-
function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
|
|
23
|
-
if (!$f4e2df6bd15f8569$export$98658e8c59125e6a()) return otherNode && node ? node.contains(otherNode) : false;
|
|
24
|
-
if (!node || !otherNode) return false;
|
|
25
|
-
let currentNode = otherNode;
|
|
26
|
-
while (currentNode !== null) {
|
|
27
|
-
if (currentNode === node) return true;
|
|
28
|
-
if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
|
|
29
|
-
currentNode = currentNode.assignedSlot.parentNode;
|
|
30
|
-
else if ($431fbd86ca7dc216$export$af51f0f06c0f328a(currentNode))
|
|
31
|
-
currentNode = currentNode.host;
|
|
32
|
-
else currentNode = currentNode.parentNode;
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
const $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
37
|
-
var _activeElement_shadowRoot;
|
|
38
|
-
if (!$f4e2df6bd15f8569$export$98658e8c59125e6a()) return doc.activeElement;
|
|
39
|
-
let activeElement = doc.activeElement;
|
|
40
|
-
while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
|
|
41
|
-
return activeElement;
|
|
42
|
-
};
|
|
43
|
-
function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
|
|
44
|
-
if ($f4e2df6bd15f8569$export$98658e8c59125e6a() && event.target instanceof Element && event.target.shadowRoot) {
|
|
45
|
-
var _event_composedPath_, _event_nativeEvent_composedPath_;
|
|
46
|
-
if ("composedPath" in event) return (_event_composedPath_ = event.composedPath()[0]) !== null && _event_composedPath_ !== void 0 ? _event_composedPath_ : null;
|
|
47
|
-
else if ("composedPath" in event.nativeEvent) return (_event_nativeEvent_composedPath_ = event.nativeEvent.composedPath()[0]) !== null && _event_nativeEvent_composedPath_ !== void 0 ? _event_nativeEvent_composedPath_ : null;
|
|
48
|
-
}
|
|
49
|
-
return event.target;
|
|
50
|
-
}
|
|
51
|
-
function $d4ee10de306f2510$export$b4f377a2b6254582(node) {
|
|
52
|
-
if (!node) return false;
|
|
53
|
-
let root = node.getRootNode();
|
|
54
|
-
let ownerWindow = $431fbd86ca7dc216$export$f21a1ffae260145a(node);
|
|
55
|
-
if (!(root instanceof ownerWindow.Document || root instanceof ownerWindow.ShadowRoot)) return false;
|
|
56
|
-
let activeElement = root.activeElement;
|
|
57
|
-
return activeElement != null && node.contains(activeElement);
|
|
58
|
-
}
|
|
59
|
-
function $7215afc6de606d6b$export$de79e2c695e052f3(element) {
|
|
60
|
-
if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({
|
|
61
|
-
preventScroll: true
|
|
62
|
-
});
|
|
63
|
-
else {
|
|
64
|
-
let scrollableElements = $7215afc6de606d6b$var$getScrollableElements(element);
|
|
65
|
-
element.focus();
|
|
66
|
-
$7215afc6de606d6b$var$restoreScrollPosition(scrollableElements);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
let $7215afc6de606d6b$var$supportsPreventScrollCached = null;
|
|
70
|
-
function $7215afc6de606d6b$var$supportsPreventScroll() {
|
|
71
|
-
if ($7215afc6de606d6b$var$supportsPreventScrollCached == null) {
|
|
72
|
-
$7215afc6de606d6b$var$supportsPreventScrollCached = false;
|
|
73
|
-
try {
|
|
74
|
-
let focusElem = document.createElement("div");
|
|
75
|
-
focusElem.focus({
|
|
76
|
-
get preventScroll() {
|
|
77
|
-
$7215afc6de606d6b$var$supportsPreventScrollCached = true;
|
|
78
|
-
return true;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
} catch {
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return $7215afc6de606d6b$var$supportsPreventScrollCached;
|
|
85
|
-
}
|
|
86
|
-
function $7215afc6de606d6b$var$getScrollableElements(element) {
|
|
87
|
-
let parent = element.parentNode;
|
|
88
|
-
let scrollableElements = [];
|
|
89
|
-
let rootScrollingElement = document.scrollingElement || document.documentElement;
|
|
90
|
-
while (parent instanceof HTMLElement && parent !== rootScrollingElement) {
|
|
91
|
-
if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({
|
|
92
|
-
element: parent,
|
|
93
|
-
scrollTop: parent.scrollTop,
|
|
94
|
-
scrollLeft: parent.scrollLeft
|
|
95
|
-
});
|
|
96
|
-
parent = parent.parentNode;
|
|
97
|
-
}
|
|
98
|
-
if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({
|
|
99
|
-
element: rootScrollingElement,
|
|
100
|
-
scrollTop: rootScrollingElement.scrollTop,
|
|
101
|
-
scrollLeft: rootScrollingElement.scrollLeft
|
|
102
|
-
});
|
|
103
|
-
return scrollableElements;
|
|
104
|
-
}
|
|
105
|
-
function $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements) {
|
|
106
|
-
for (let { element, scrollTop, scrollLeft } of scrollableElements) {
|
|
107
|
-
element.scrollTop = scrollTop;
|
|
108
|
-
element.scrollLeft = scrollLeft;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
function $c87311424ea30a05$var$testUserAgent(re) {
|
|
112
|
-
var _window_navigator_userAgentData;
|
|
113
|
-
if (typeof window === "undefined" || window.navigator == null) return false;
|
|
114
|
-
let brands = (_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands;
|
|
115
|
-
return Array.isArray(brands) && brands.some((brand) => re.test(brand.brand)) || re.test(window.navigator.userAgent);
|
|
116
|
-
}
|
|
117
|
-
function $c87311424ea30a05$var$testPlatform(re) {
|
|
118
|
-
var _window_navigator_userAgentData;
|
|
119
|
-
return typeof window !== "undefined" && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;
|
|
120
|
-
}
|
|
121
|
-
function $c87311424ea30a05$var$cached(fn) {
|
|
122
|
-
if (process.env.NODE_ENV === "test") return fn;
|
|
123
|
-
let res = null;
|
|
124
|
-
return () => {
|
|
125
|
-
if (res == null) res = fn();
|
|
126
|
-
return res;
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
const $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {
|
|
130
|
-
return $c87311424ea30a05$var$testPlatform(/^Mac/i);
|
|
131
|
-
});
|
|
132
|
-
const $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {
|
|
133
|
-
return $c87311424ea30a05$var$testPlatform(/^iPhone/i);
|
|
134
|
-
});
|
|
135
|
-
const $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {
|
|
136
|
-
return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
137
|
-
$c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;
|
|
138
|
-
});
|
|
139
|
-
const $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {
|
|
140
|
-
return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();
|
|
141
|
-
});
|
|
142
|
-
const $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {
|
|
143
|
-
return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();
|
|
144
|
-
});
|
|
145
|
-
const $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {
|
|
146
|
-
return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();
|
|
147
|
-
});
|
|
148
|
-
const $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {
|
|
149
|
-
return $c87311424ea30a05$var$testUserAgent(/Chrome/i);
|
|
150
|
-
});
|
|
151
|
-
const $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {
|
|
152
|
-
return $c87311424ea30a05$var$testUserAgent(/Android/i);
|
|
153
|
-
});
|
|
154
|
-
const $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {
|
|
155
|
-
return $c87311424ea30a05$var$testUserAgent(/Firefox/i);
|
|
156
|
-
});
|
|
157
|
-
const $ea8dcbcb9ea1b556$var$RouterContext = /* @__PURE__ */ createContext({
|
|
158
|
-
isNative: true,
|
|
159
|
-
open: $ea8dcbcb9ea1b556$var$openSyntheticLink,
|
|
160
|
-
useHref: (href) => href
|
|
161
|
-
});
|
|
162
|
-
function $ea8dcbcb9ea1b556$export$9a302a45f65d0572() {
|
|
163
|
-
return useContext($ea8dcbcb9ea1b556$var$RouterContext);
|
|
164
|
-
}
|
|
165
|
-
function $ea8dcbcb9ea1b556$export$efa8c9099e530235(link, modifiers) {
|
|
166
|
-
let target = link.getAttribute("target");
|
|
167
|
-
return (!target || target === "_self") && link.origin === location.origin && !link.hasAttribute("download") && !modifiers.metaKey && // open in new tab (mac)
|
|
168
|
-
!modifiers.ctrlKey && // open in new tab (windows)
|
|
169
|
-
!modifiers.altKey && // download
|
|
170
|
-
!modifiers.shiftKey;
|
|
171
|
-
}
|
|
172
|
-
function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening = true) {
|
|
173
|
-
var _window_event_type, _window_event;
|
|
174
|
-
let { metaKey, ctrlKey, altKey, shiftKey } = modifiers;
|
|
175
|
-
if ($c87311424ea30a05$export$b7d78993b74f766d() && ((_window_event = window.event) === null || _window_event === void 0 ? void 0 : (_window_event_type = _window_event.type) === null || _window_event_type === void 0 ? void 0 : _window_event_type.startsWith("key")) && target.target === "_blank") {
|
|
176
|
-
if ($c87311424ea30a05$export$9ac100e40613ea10()) metaKey = true;
|
|
177
|
-
else ctrlKey = true;
|
|
178
|
-
}
|
|
179
|
-
let event = $c87311424ea30a05$export$78551043582a6a98() && $c87311424ea30a05$export$9ac100e40613ea10() && !$c87311424ea30a05$export$7bef049ce92e4224() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
|
|
180
|
-
keyIdentifier: "Enter",
|
|
181
|
-
metaKey,
|
|
182
|
-
ctrlKey,
|
|
183
|
-
altKey,
|
|
184
|
-
shiftKey
|
|
185
|
-
}) : new MouseEvent("click", {
|
|
186
|
-
metaKey,
|
|
187
|
-
ctrlKey,
|
|
188
|
-
altKey,
|
|
189
|
-
shiftKey,
|
|
190
|
-
detail: 1,
|
|
191
|
-
bubbles: true,
|
|
192
|
-
cancelable: true
|
|
193
|
-
});
|
|
194
|
-
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = setOpening;
|
|
195
|
-
$7215afc6de606d6b$export$de79e2c695e052f3(target);
|
|
196
|
-
target.dispatchEvent(event);
|
|
197
|
-
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;
|
|
198
|
-
}
|
|
199
|
-
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;
|
|
200
|
-
function $ea8dcbcb9ea1b556$var$getSyntheticLink(target, open) {
|
|
201
|
-
if (target instanceof HTMLAnchorElement) open(target);
|
|
202
|
-
else if (target.hasAttribute("data-href")) {
|
|
203
|
-
let link = document.createElement("a");
|
|
204
|
-
link.href = target.getAttribute("data-href");
|
|
205
|
-
if (target.hasAttribute("data-target")) link.target = target.getAttribute("data-target");
|
|
206
|
-
if (target.hasAttribute("data-rel")) link.rel = target.getAttribute("data-rel");
|
|
207
|
-
if (target.hasAttribute("data-download")) link.download = target.getAttribute("data-download");
|
|
208
|
-
if (target.hasAttribute("data-ping")) link.ping = target.getAttribute("data-ping");
|
|
209
|
-
if (target.hasAttribute("data-referrer-policy")) link.referrerPolicy = target.getAttribute("data-referrer-policy");
|
|
210
|
-
target.appendChild(link);
|
|
211
|
-
open(link);
|
|
212
|
-
target.removeChild(link);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
function $ea8dcbcb9ea1b556$var$openSyntheticLink(target, modifiers) {
|
|
216
|
-
$ea8dcbcb9ea1b556$var$getSyntheticLink(target, (link) => $ea8dcbcb9ea1b556$export$95185d699e05d4d7(link, modifiers));
|
|
217
|
-
}
|
|
218
|
-
function $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(props) {
|
|
219
|
-
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
220
|
-
var _props_href;
|
|
221
|
-
const href = router.useHref((_props_href = props === null || props === void 0 ? void 0 : props.href) !== null && _props_href !== void 0 ? _props_href : "");
|
|
222
|
-
return {
|
|
223
|
-
href: (props === null || props === void 0 ? void 0 : props.href) ? href : void 0,
|
|
224
|
-
target: props === null || props === void 0 ? void 0 : props.target,
|
|
225
|
-
rel: props === null || props === void 0 ? void 0 : props.rel,
|
|
226
|
-
download: props === null || props === void 0 ? void 0 : props.download,
|
|
227
|
-
ping: props === null || props === void 0 ? void 0 : props.ping,
|
|
228
|
-
referrerPolicy: props === null || props === void 0 ? void 0 : props.referrerPolicy
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
function $ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f(e, router, href, routerOptions) {
|
|
232
|
-
if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.
|
|
233
|
-
!e.isDefaultPrevented() && $ea8dcbcb9ea1b556$export$efa8c9099e530235(e.currentTarget, e) && href) {
|
|
234
|
-
e.preventDefault();
|
|
235
|
-
router.open(e.currentTarget, e, href, routerOptions);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
let $bbed8b41f857bcc0$var$transitionsByElement = /* @__PURE__ */ new Map();
|
|
239
|
-
let $bbed8b41f857bcc0$var$transitionCallbacks = /* @__PURE__ */ new Set();
|
|
240
|
-
function $bbed8b41f857bcc0$var$setupGlobalEvents() {
|
|
241
|
-
if (typeof window === "undefined") return;
|
|
242
|
-
function isTransitionEvent(event) {
|
|
243
|
-
return "propertyName" in event;
|
|
244
|
-
}
|
|
245
|
-
let onTransitionStart = (e) => {
|
|
246
|
-
let eventTarget = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
247
|
-
if (!isTransitionEvent(e) || !eventTarget) return;
|
|
248
|
-
let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(eventTarget);
|
|
249
|
-
if (!transitions) {
|
|
250
|
-
transitions = /* @__PURE__ */ new Set();
|
|
251
|
-
$bbed8b41f857bcc0$var$transitionsByElement.set(eventTarget, transitions);
|
|
252
|
-
eventTarget.addEventListener("transitioncancel", onTransitionEnd, {
|
|
253
|
-
once: true
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
transitions.add(e.propertyName);
|
|
257
|
-
};
|
|
258
|
-
let onTransitionEnd = (e) => {
|
|
259
|
-
let eventTarget = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
260
|
-
if (!isTransitionEvent(e) || !eventTarget) return;
|
|
261
|
-
let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(eventTarget);
|
|
262
|
-
if (!properties) return;
|
|
263
|
-
properties.delete(e.propertyName);
|
|
264
|
-
if (properties.size === 0) {
|
|
265
|
-
eventTarget.removeEventListener("transitioncancel", onTransitionEnd);
|
|
266
|
-
$bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);
|
|
267
|
-
}
|
|
268
|
-
if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {
|
|
269
|
-
for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks) cb();
|
|
270
|
-
$bbed8b41f857bcc0$var$transitionCallbacks.clear();
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
document.body.addEventListener("transitionrun", onTransitionStart);
|
|
274
|
-
document.body.addEventListener("transitionend", onTransitionEnd);
|
|
275
|
-
}
|
|
276
|
-
if (typeof document !== "undefined") {
|
|
277
|
-
if (document.readyState !== "loading") $bbed8b41f857bcc0$var$setupGlobalEvents();
|
|
278
|
-
else document.addEventListener("DOMContentLoaded", $bbed8b41f857bcc0$var$setupGlobalEvents);
|
|
279
|
-
}
|
|
280
|
-
function $bbed8b41f857bcc0$var$cleanupDetachedElements() {
|
|
281
|
-
for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)
|
|
282
|
-
if ("isConnected" in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);
|
|
283
|
-
}
|
|
284
|
-
function $bbed8b41f857bcc0$export$24490316f764c430(fn) {
|
|
285
|
-
requestAnimationFrame(() => {
|
|
286
|
-
$bbed8b41f857bcc0$var$cleanupDetachedElements();
|
|
287
|
-
if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();
|
|
288
|
-
else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
292
|
-
let globalListeners = useRef(/* @__PURE__ */ new Map());
|
|
293
|
-
let addGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
294
|
-
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
295
|
-
globalListeners.current.delete(listener);
|
|
296
|
-
listener(...args);
|
|
297
|
-
} : listener;
|
|
298
|
-
globalListeners.current.set(listener, {
|
|
299
|
-
type,
|
|
300
|
-
eventTarget,
|
|
301
|
-
fn,
|
|
302
|
-
options
|
|
303
|
-
});
|
|
304
|
-
eventTarget.addEventListener(type, fn, options);
|
|
305
|
-
}, []);
|
|
306
|
-
let removeGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
307
|
-
var _globalListeners_current_get;
|
|
308
|
-
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
309
|
-
eventTarget.removeEventListener(type, fn, options);
|
|
310
|
-
globalListeners.current.delete(listener);
|
|
311
|
-
}, []);
|
|
312
|
-
let removeAllGlobalListeners = useCallback(() => {
|
|
313
|
-
globalListeners.current.forEach((value, key) => {
|
|
314
|
-
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
315
|
-
});
|
|
316
|
-
}, [
|
|
317
|
-
removeGlobalListener
|
|
318
|
-
]);
|
|
319
|
-
useEffect(() => {
|
|
320
|
-
return removeAllGlobalListeners;
|
|
321
|
-
}, [
|
|
322
|
-
removeAllGlobalListeners
|
|
323
|
-
]);
|
|
324
|
-
return {
|
|
325
|
-
addGlobalListener,
|
|
326
|
-
removeGlobalListener,
|
|
327
|
-
removeAllGlobalListeners
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
331
|
-
const $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = $dbSRa$react__default["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c;
|
|
332
|
-
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
333
|
-
const ref = useRef(null);
|
|
334
|
-
$8ae05eaa5c114e9c$var$useEarlyEffect(() => {
|
|
335
|
-
ref.current = fn;
|
|
336
|
-
}, [
|
|
337
|
-
fn
|
|
338
|
-
]);
|
|
339
|
-
return useCallback((...args) => {
|
|
340
|
-
const f = ref.current;
|
|
341
|
-
return f === null || f === void 0 ? void 0 : f(...args);
|
|
342
|
-
}, []);
|
|
343
|
-
}
|
|
344
|
-
function $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref) {
|
|
345
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
346
|
-
if (context && context.ref && ref) {
|
|
347
|
-
context.ref.current = ref.current;
|
|
348
|
-
return () => {
|
|
349
|
-
if (context.ref) context.ref.current = null;
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
}
|
|
354
|
-
function $6a7db85432448f7f$export$60278871457622de(event) {
|
|
355
|
-
if (event.pointerType === "" && event.isTrusted) return true;
|
|
356
|
-
if ($c87311424ea30a05$export$a11b0059900ceec8() && event.pointerType) return event.type === "click" && event.buttons === 1;
|
|
357
|
-
return event.detail === 0 && !event.pointerType;
|
|
358
|
-
}
|
|
359
|
-
function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
|
|
360
|
-
return !$c87311424ea30a05$export$a11b0059900ceec8() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
|
|
361
|
-
}
|
|
362
|
-
const $7d2416ea0959daaa$var$supportsCheckVisibility = typeof Element !== "undefined" && "checkVisibility" in Element.prototype;
|
|
363
|
-
function $7d2416ea0959daaa$var$isStyleVisible(element) {
|
|
364
|
-
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
365
|
-
if (!(element instanceof windowObject.HTMLElement) && !(element instanceof windowObject.SVGElement)) return false;
|
|
366
|
-
let { display, visibility } = element.style;
|
|
367
|
-
let isVisible = display !== "none" && visibility !== "hidden" && visibility !== "collapse";
|
|
368
|
-
if (isVisible) {
|
|
369
|
-
const { getComputedStyle } = element.ownerDocument.defaultView;
|
|
370
|
-
let { display: computedDisplay, visibility: computedVisibility } = getComputedStyle(element);
|
|
371
|
-
isVisible = computedDisplay !== "none" && computedVisibility !== "hidden" && computedVisibility !== "collapse";
|
|
372
|
-
}
|
|
373
|
-
return isVisible;
|
|
374
|
-
}
|
|
375
|
-
function $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) {
|
|
376
|
-
return !element.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
|
|
377
|
-
!element.hasAttribute("data-react-aria-prevent-focus") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
|
|
378
|
-
}
|
|
379
|
-
function $7d2416ea0959daaa$export$e989c0fffaa6b27a(element, childElement) {
|
|
380
|
-
if ($7d2416ea0959daaa$var$supportsCheckVisibility) return element.checkVisibility({
|
|
381
|
-
visibilityProperty: true
|
|
382
|
-
}) && !element.closest("[data-react-aria-prevent-focus]");
|
|
383
|
-
return element.nodeName !== "#comment" && $7d2416ea0959daaa$var$isStyleVisible(element) && $7d2416ea0959daaa$var$isAttributeVisible(element, childElement) && (!element.parentElement || $7d2416ea0959daaa$export$e989c0fffaa6b27a(element.parentElement, element));
|
|
384
|
-
}
|
|
385
|
-
const $b4b717babfbb907b$var$focusableElements = [
|
|
386
|
-
"input:not([disabled]):not([type=hidden])",
|
|
387
|
-
"select:not([disabled])",
|
|
388
|
-
"textarea:not([disabled])",
|
|
389
|
-
"button:not([disabled])",
|
|
390
|
-
"a[href]",
|
|
391
|
-
"area[href]",
|
|
392
|
-
"summary",
|
|
393
|
-
"iframe",
|
|
394
|
-
"object",
|
|
395
|
-
"embed",
|
|
396
|
-
"audio[controls]",
|
|
397
|
-
"video[controls]",
|
|
398
|
-
'[contenteditable]:not([contenteditable^="false"])',
|
|
399
|
-
"permission"
|
|
400
|
-
];
|
|
401
|
-
const $b4b717babfbb907b$var$FOCUSABLE_ELEMENT_SELECTOR = $b4b717babfbb907b$var$focusableElements.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
|
|
402
|
-
$b4b717babfbb907b$var$focusableElements.push('[tabindex]:not([tabindex="-1"]):not([disabled])');
|
|
403
|
-
const $b4b717babfbb907b$var$TABBABLE_ELEMENT_SELECTOR = $b4b717babfbb907b$var$focusableElements.join(':not([hidden]):not([tabindex="-1"]),');
|
|
404
|
-
function $b4b717babfbb907b$export$4c063cf1350e6fed(element) {
|
|
405
|
-
return element.matches($b4b717babfbb907b$var$FOCUSABLE_ELEMENT_SELECTOR) && $7d2416ea0959daaa$export$e989c0fffaa6b27a(element) && !$b4b717babfbb907b$var$isInert(element);
|
|
406
|
-
}
|
|
407
|
-
function $b4b717babfbb907b$export$bebd5a1431fec25d(element) {
|
|
408
|
-
return element.matches($b4b717babfbb907b$var$TABBABLE_ELEMENT_SELECTOR) && $7d2416ea0959daaa$export$e989c0fffaa6b27a(element) && !$b4b717babfbb907b$var$isInert(element);
|
|
409
|
-
}
|
|
410
|
-
function $b4b717babfbb907b$var$isInert(element) {
|
|
411
|
-
let node = element;
|
|
412
|
-
while (node != null) {
|
|
413
|
-
if (node instanceof node.ownerDocument.defaultView.HTMLElement && node.inert) return true;
|
|
414
|
-
node = node.parentElement;
|
|
415
|
-
}
|
|
416
|
-
return false;
|
|
417
|
-
}
|
|
418
|
-
var $458b0a5536c1a7cf$var$_React_useInsertionEffect;
|
|
419
|
-
const $458b0a5536c1a7cf$var$useEarlyEffect = typeof document !== "undefined" ? ($458b0a5536c1a7cf$var$_React_useInsertionEffect = $dbSRa$react__default["useInsertionEffect"]) !== null && $458b0a5536c1a7cf$var$_React_useInsertionEffect !== void 0 ? $458b0a5536c1a7cf$var$_React_useInsertionEffect : $dbSRa$react__default.useLayoutEffect : () => {
|
|
420
|
-
};
|
|
421
|
-
function $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, defaultValue, onChange) {
|
|
422
|
-
let [stateValue, setStateValue] = useState(value || defaultValue);
|
|
423
|
-
let valueRef = useRef(stateValue);
|
|
424
|
-
let isControlledRef = useRef(value !== void 0);
|
|
425
|
-
let isControlled = value !== void 0;
|
|
426
|
-
useEffect(() => {
|
|
427
|
-
let wasControlled = isControlledRef.current;
|
|
428
|
-
if (wasControlled !== isControlled && process.env.NODE_ENV !== "production") console.warn(`WARN: A component changed from ${wasControlled ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}.`);
|
|
429
|
-
isControlledRef.current = isControlled;
|
|
430
|
-
}, [
|
|
431
|
-
isControlled
|
|
432
|
-
]);
|
|
433
|
-
let currentValue = isControlled ? value : stateValue;
|
|
434
|
-
$458b0a5536c1a7cf$var$useEarlyEffect(() => {
|
|
435
|
-
valueRef.current = currentValue;
|
|
436
|
-
});
|
|
437
|
-
let [, forceUpdate] = useReducer(() => ({}), {});
|
|
438
|
-
let setValue = useCallback((value2, ...args) => {
|
|
439
|
-
let newValue = typeof value2 === "function" ? value2(valueRef.current) : value2;
|
|
440
|
-
if (!Object.is(valueRef.current, newValue)) {
|
|
441
|
-
valueRef.current = newValue;
|
|
442
|
-
setStateValue(newValue);
|
|
443
|
-
forceUpdate();
|
|
444
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue, ...args);
|
|
445
|
-
}
|
|
446
|
-
}, [
|
|
447
|
-
onChange
|
|
448
|
-
]);
|
|
449
|
-
return [
|
|
450
|
-
currentValue,
|
|
451
|
-
setValue
|
|
452
|
-
];
|
|
453
|
-
}
|
|
454
|
-
function $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {
|
|
455
|
-
let event = nativeEvent;
|
|
456
|
-
event.nativeEvent = nativeEvent;
|
|
457
|
-
event.isDefaultPrevented = () => event.defaultPrevented;
|
|
458
|
-
event.isPropagationStopped = () => event.cancelBubble;
|
|
459
|
-
event.persist = () => {
|
|
460
|
-
};
|
|
461
|
-
return event;
|
|
462
|
-
}
|
|
463
|
-
function $8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target) {
|
|
464
|
-
Object.defineProperty(event, "target", {
|
|
465
|
-
value: target
|
|
466
|
-
});
|
|
467
|
-
Object.defineProperty(event, "currentTarget", {
|
|
468
|
-
value: target
|
|
469
|
-
});
|
|
470
|
-
}
|
|
471
|
-
function $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {
|
|
472
|
-
let stateRef = useRef({
|
|
473
|
-
isFocused: false,
|
|
474
|
-
observer: null
|
|
475
|
-
});
|
|
476
|
-
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
477
|
-
const state = stateRef.current;
|
|
478
|
-
return () => {
|
|
479
|
-
if (state.observer) {
|
|
480
|
-
state.observer.disconnect();
|
|
481
|
-
state.observer = null;
|
|
482
|
-
}
|
|
483
|
-
};
|
|
484
|
-
}, []);
|
|
485
|
-
return useCallback((e) => {
|
|
486
|
-
let eventTarget = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
487
|
-
if (eventTarget instanceof HTMLButtonElement || eventTarget instanceof HTMLInputElement || eventTarget instanceof HTMLTextAreaElement || eventTarget instanceof HTMLSelectElement) {
|
|
488
|
-
stateRef.current.isFocused = true;
|
|
489
|
-
let target = eventTarget;
|
|
490
|
-
let onBlurHandler = (e2) => {
|
|
491
|
-
stateRef.current.isFocused = false;
|
|
492
|
-
if (target.disabled) {
|
|
493
|
-
let event = $8a9cb279dc87e130$export$525bc4921d56d4a(e2);
|
|
494
|
-
onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
|
|
495
|
-
}
|
|
496
|
-
if (stateRef.current.observer) {
|
|
497
|
-
stateRef.current.observer.disconnect();
|
|
498
|
-
stateRef.current.observer = null;
|
|
499
|
-
}
|
|
500
|
-
};
|
|
501
|
-
target.addEventListener("focusout", onBlurHandler, {
|
|
502
|
-
once: true
|
|
503
|
-
});
|
|
504
|
-
stateRef.current.observer = new MutationObserver(() => {
|
|
505
|
-
if (stateRef.current.isFocused && target.disabled) {
|
|
506
|
-
var _stateRef_current_observer;
|
|
507
|
-
(_stateRef_current_observer = stateRef.current.observer) === null || _stateRef_current_observer === void 0 ? void 0 : _stateRef_current_observer.disconnect();
|
|
508
|
-
let relatedTargetEl = target === $d4ee10de306f2510$export$cd4e5573fbe2b576() ? null : $d4ee10de306f2510$export$cd4e5573fbe2b576();
|
|
509
|
-
target.dispatchEvent(new FocusEvent("blur", {
|
|
510
|
-
relatedTarget: relatedTargetEl
|
|
511
|
-
}));
|
|
512
|
-
target.dispatchEvent(new FocusEvent("focusout", {
|
|
513
|
-
bubbles: true,
|
|
514
|
-
relatedTarget: relatedTargetEl
|
|
515
|
-
}));
|
|
516
|
-
}
|
|
517
|
-
});
|
|
518
|
-
stateRef.current.observer.observe(target, {
|
|
519
|
-
attributes: true,
|
|
520
|
-
attributeFilter: [
|
|
521
|
-
"disabled"
|
|
522
|
-
]
|
|
523
|
-
});
|
|
524
|
-
}
|
|
525
|
-
}, [
|
|
526
|
-
onBlur
|
|
527
|
-
]);
|
|
528
|
-
}
|
|
529
|
-
let $8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;
|
|
530
|
-
function $8a9cb279dc87e130$export$cabe61c495ee3649(target) {
|
|
531
|
-
while (target && !$b4b717babfbb907b$export$4c063cf1350e6fed(target)) target = target.parentElement;
|
|
532
|
-
let window2 = $431fbd86ca7dc216$export$f21a1ffae260145a(target);
|
|
533
|
-
let activeElement = window2.document.activeElement;
|
|
534
|
-
if (!activeElement || activeElement === target) return;
|
|
535
|
-
$8a9cb279dc87e130$export$fda7da73ab5d4c48 = true;
|
|
536
|
-
let isRefocusing = false;
|
|
537
|
-
let onBlur = (e) => {
|
|
538
|
-
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === activeElement || isRefocusing) e.stopImmediatePropagation();
|
|
539
|
-
};
|
|
540
|
-
let onFocusOut = (e) => {
|
|
541
|
-
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === activeElement || isRefocusing) {
|
|
542
|
-
e.stopImmediatePropagation();
|
|
543
|
-
if (!target && !isRefocusing) {
|
|
544
|
-
isRefocusing = true;
|
|
545
|
-
$7215afc6de606d6b$export$de79e2c695e052f3(activeElement);
|
|
546
|
-
cleanup();
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
|
-
let onFocus = (e) => {
|
|
551
|
-
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === target || isRefocusing) e.stopImmediatePropagation();
|
|
552
|
-
};
|
|
553
|
-
let onFocusIn = (e) => {
|
|
554
|
-
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === target || isRefocusing) {
|
|
555
|
-
e.stopImmediatePropagation();
|
|
556
|
-
if (!isRefocusing) {
|
|
557
|
-
isRefocusing = true;
|
|
558
|
-
$7215afc6de606d6b$export$de79e2c695e052f3(activeElement);
|
|
559
|
-
cleanup();
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
};
|
|
563
|
-
window2.addEventListener("blur", onBlur, true);
|
|
564
|
-
window2.addEventListener("focusout", onFocusOut, true);
|
|
565
|
-
window2.addEventListener("focusin", onFocusIn, true);
|
|
566
|
-
window2.addEventListener("focus", onFocus, true);
|
|
567
|
-
let cleanup = () => {
|
|
568
|
-
cancelAnimationFrame(raf);
|
|
569
|
-
window2.removeEventListener("blur", onBlur, true);
|
|
570
|
-
window2.removeEventListener("focusout", onFocusOut, true);
|
|
571
|
-
window2.removeEventListener("focusin", onFocusIn, true);
|
|
572
|
-
window2.removeEventListener("focus", onFocus, true);
|
|
573
|
-
$8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;
|
|
574
|
-
isRefocusing = false;
|
|
575
|
-
};
|
|
576
|
-
let raf = requestAnimationFrame(cleanup);
|
|
577
|
-
return cleanup;
|
|
578
|
-
}
|
|
579
|
-
let $507fabe10e71c6fb$var$currentModality = null;
|
|
580
|
-
let $507fabe10e71c6fb$var$currentPointerType = "keyboard";
|
|
581
|
-
const $507fabe10e71c6fb$export$901e90a13c50a14e = /* @__PURE__ */ new Set();
|
|
582
|
-
let $507fabe10e71c6fb$export$d90243b58daecda7 = /* @__PURE__ */ new Map();
|
|
583
|
-
let $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
584
|
-
let $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
585
|
-
const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
|
|
586
|
-
Tab: true,
|
|
587
|
-
Escape: true
|
|
588
|
-
};
|
|
589
|
-
function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
|
|
590
|
-
for (let handler of $507fabe10e71c6fb$export$901e90a13c50a14e) handler(modality, e);
|
|
591
|
-
}
|
|
592
|
-
function $507fabe10e71c6fb$var$isValidKey(e) {
|
|
593
|
-
return !(e.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
594
|
-
}
|
|
595
|
-
function $507fabe10e71c6fb$var$handleKeyboardEvent(e) {
|
|
596
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
597
|
-
if (!$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening && $507fabe10e71c6fb$var$isValidKey(e)) {
|
|
598
|
-
$507fabe10e71c6fb$var$currentModality = "keyboard";
|
|
599
|
-
$507fabe10e71c6fb$var$currentPointerType = "keyboard";
|
|
600
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("keyboard", e);
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
function $507fabe10e71c6fb$var$handlePointerEvent(e) {
|
|
604
|
-
$507fabe10e71c6fb$var$currentModality = "pointer";
|
|
605
|
-
$507fabe10e71c6fb$var$currentPointerType = "pointerType" in e ? e.pointerType : "mouse";
|
|
606
|
-
if (e.type === "mousedown" || e.type === "pointerdown") {
|
|
607
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
608
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("pointer", e);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
function $507fabe10e71c6fb$var$handleClickEvent(e) {
|
|
612
|
-
if (!$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening && $6a7db85432448f7f$export$60278871457622de(e)) {
|
|
613
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
614
|
-
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
615
|
-
$507fabe10e71c6fb$var$currentPointerType = "virtual";
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
function $507fabe10e71c6fb$var$handleFocusEvent(e) {
|
|
619
|
-
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === window || $d4ee10de306f2510$export$e58f029f0fbfdb29(e) === document || $8a9cb279dc87e130$export$fda7da73ab5d4c48 || !e.isTrusted) return;
|
|
620
|
-
if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {
|
|
621
|
-
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
622
|
-
$507fabe10e71c6fb$var$currentPointerType = "virtual";
|
|
623
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers("virtual", e);
|
|
624
|
-
}
|
|
625
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
626
|
-
$507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
627
|
-
}
|
|
628
|
-
function $507fabe10e71c6fb$var$handleWindowBlur() {
|
|
629
|
-
if ($8a9cb279dc87e130$export$fda7da73ab5d4c48) return;
|
|
630
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
631
|
-
$507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
|
|
632
|
-
}
|
|
633
|
-
function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
|
|
634
|
-
if (typeof window === "undefined" || typeof document === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
|
|
635
|
-
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
636
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
637
|
-
let focus = windowObject.HTMLElement.prototype.focus;
|
|
638
|
-
windowObject.HTMLElement.prototype.focus = function() {
|
|
639
|
-
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
640
|
-
focus.apply(this, arguments);
|
|
641
|
-
};
|
|
642
|
-
documentObject.addEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
643
|
-
documentObject.addEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
644
|
-
documentObject.addEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
645
|
-
windowObject.addEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
646
|
-
windowObject.addEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
647
|
-
if (typeof PointerEvent !== "undefined") {
|
|
648
|
-
documentObject.addEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
649
|
-
documentObject.addEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
650
|
-
documentObject.addEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
651
|
-
} else if (process.env.NODE_ENV === "test") {
|
|
652
|
-
documentObject.addEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
653
|
-
documentObject.addEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
654
|
-
documentObject.addEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
655
|
-
}
|
|
656
|
-
windowObject.addEventListener("beforeunload", () => {
|
|
657
|
-
$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);
|
|
658
|
-
}, {
|
|
659
|
-
once: true
|
|
660
|
-
});
|
|
661
|
-
$507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {
|
|
662
|
-
focus
|
|
663
|
-
});
|
|
664
|
-
}
|
|
665
|
-
const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener) => {
|
|
666
|
-
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
667
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
668
|
-
if (loadListener) documentObject.removeEventListener("DOMContentLoaded", loadListener);
|
|
669
|
-
if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;
|
|
670
|
-
windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;
|
|
671
|
-
documentObject.removeEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
672
|
-
documentObject.removeEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
673
|
-
documentObject.removeEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
674
|
-
windowObject.removeEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
675
|
-
windowObject.removeEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
676
|
-
if (typeof PointerEvent !== "undefined") {
|
|
677
|
-
documentObject.removeEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
678
|
-
documentObject.removeEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
679
|
-
documentObject.removeEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
680
|
-
} else if (process.env.NODE_ENV === "test") {
|
|
681
|
-
documentObject.removeEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
682
|
-
documentObject.removeEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
683
|
-
documentObject.removeEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
684
|
-
}
|
|
685
|
-
$507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);
|
|
686
|
-
};
|
|
687
|
-
function $507fabe10e71c6fb$export$2f1888112f558a7d(element) {
|
|
688
|
-
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
689
|
-
let loadListener;
|
|
690
|
-
if (documentObject.readyState !== "loading") $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
691
|
-
else {
|
|
692
|
-
loadListener = () => {
|
|
693
|
-
$507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
694
|
-
};
|
|
695
|
-
documentObject.addEventListener("DOMContentLoaded", loadListener);
|
|
696
|
-
}
|
|
697
|
-
return () => $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);
|
|
698
|
-
}
|
|
699
|
-
if (typeof document !== "undefined") $507fabe10e71c6fb$export$2f1888112f558a7d();
|
|
700
|
-
function $507fabe10e71c6fb$export$b9b3dfddab17db27() {
|
|
701
|
-
return $507fabe10e71c6fb$var$currentModality !== "pointer";
|
|
702
|
-
}
|
|
703
|
-
function $507fabe10e71c6fb$export$630ff653c5ada6a9() {
|
|
704
|
-
return $507fabe10e71c6fb$var$currentModality;
|
|
705
|
-
}
|
|
706
|
-
function $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {
|
|
707
|
-
$507fabe10e71c6fb$var$currentModality = modality;
|
|
708
|
-
$507fabe10e71c6fb$var$currentPointerType = modality === "pointer" ? "mouse" : modality;
|
|
709
|
-
$507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);
|
|
710
|
-
}
|
|
711
|
-
function $507fabe10e71c6fb$export$887a228355cf7d95() {
|
|
712
|
-
return $507fabe10e71c6fb$var$currentPointerType;
|
|
713
|
-
}
|
|
714
|
-
function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
|
|
715
|
-
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
716
|
-
let [modality, setModality] = useState($507fabe10e71c6fb$var$currentModality);
|
|
717
|
-
useEffect(() => {
|
|
718
|
-
let handler = () => {
|
|
719
|
-
setModality($507fabe10e71c6fb$var$currentModality);
|
|
720
|
-
};
|
|
721
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.add(handler);
|
|
722
|
-
return () => {
|
|
723
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.delete(handler);
|
|
724
|
-
};
|
|
725
|
-
}, []);
|
|
726
|
-
return $b5e257d569688ac6$export$535bd6ca7f90a273() ? null : modality;
|
|
727
|
-
}
|
|
728
|
-
const $507fabe10e71c6fb$var$nonTextInputTypes = /* @__PURE__ */ new Set([
|
|
729
|
-
"checkbox",
|
|
730
|
-
"radio",
|
|
731
|
-
"range",
|
|
732
|
-
"color",
|
|
733
|
-
"file",
|
|
734
|
-
"image",
|
|
735
|
-
"button",
|
|
736
|
-
"submit",
|
|
737
|
-
"reset"
|
|
738
|
-
]);
|
|
739
|
-
function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
|
|
740
|
-
let document1 = $431fbd86ca7dc216$export$b204af158042fbac(e ? $d4ee10de306f2510$export$e58f029f0fbfdb29(e) : void 0);
|
|
741
|
-
let eventTarget = e ? $d4ee10de306f2510$export$e58f029f0fbfdb29(e) : void 0;
|
|
742
|
-
const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(eventTarget).HTMLInputElement : HTMLInputElement;
|
|
743
|
-
const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(eventTarget).HTMLTextAreaElement : HTMLTextAreaElement;
|
|
744
|
-
const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(eventTarget).HTMLElement : HTMLElement;
|
|
745
|
-
const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(eventTarget).KeyboardEvent : KeyboardEvent;
|
|
746
|
-
let activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(document1);
|
|
747
|
-
isTextInput = isTextInput || activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(activeElement.type) || activeElement instanceof IHTMLTextAreaElement || activeElement instanceof IHTMLElement && activeElement.isContentEditable;
|
|
748
|
-
return !(isTextInput && modality === "keyboard" && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
|
|
749
|
-
}
|
|
750
|
-
function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
751
|
-
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
752
|
-
useEffect(() => {
|
|
753
|
-
if ((opts === null || opts === void 0 ? void 0 : opts.enabled) === false) return;
|
|
754
|
-
let handler = (modality, e) => {
|
|
755
|
-
if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
|
|
756
|
-
fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
|
|
757
|
-
};
|
|
758
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.add(handler);
|
|
759
|
-
return () => {
|
|
760
|
-
$507fabe10e71c6fb$export$901e90a13c50a14e.delete(handler);
|
|
761
|
-
};
|
|
762
|
-
}, deps);
|
|
763
|
-
}
|
|
764
|
-
function $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {
|
|
765
|
-
if (!element.isConnected) return;
|
|
766
|
-
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
767
|
-
if ($507fabe10e71c6fb$export$630ff653c5ada6a9() === "virtual") {
|
|
768
|
-
let lastFocusedElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
|
|
769
|
-
$bbed8b41f857bcc0$export$24490316f764c430(() => {
|
|
770
|
-
const activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
|
|
771
|
-
if ((activeElement === lastFocusedElement || activeElement === ownerDocument.body) && element.isConnected) $7215afc6de606d6b$export$de79e2c695e052f3(element);
|
|
772
|
-
});
|
|
773
|
-
} else $7215afc6de606d6b$export$de79e2c695e052f3(element);
|
|
774
|
-
}
|
|
775
|
-
function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
|
776
|
-
let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
|
|
777
|
-
const onBlur = useCallback((e) => {
|
|
778
|
-
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === e.currentTarget) {
|
|
779
|
-
if (onBlurProp) onBlurProp(e);
|
|
780
|
-
if (onFocusChange) onFocusChange(false);
|
|
781
|
-
return true;
|
|
782
|
-
}
|
|
783
|
-
}, [
|
|
784
|
-
onBlurProp,
|
|
785
|
-
onFocusChange
|
|
786
|
-
]);
|
|
787
|
-
const onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
|
|
788
|
-
const onFocus = useCallback((e) => {
|
|
789
|
-
let eventTarget = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
790
|
-
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(eventTarget);
|
|
791
|
-
const activeElement = ownerDocument ? $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument) : $d4ee10de306f2510$export$cd4e5573fbe2b576();
|
|
792
|
-
if (eventTarget === e.currentTarget && eventTarget === activeElement) {
|
|
793
|
-
if (onFocusProp) onFocusProp(e);
|
|
794
|
-
if (onFocusChange) onFocusChange(true);
|
|
795
|
-
onSyntheticFocus(e);
|
|
796
|
-
}
|
|
797
|
-
}, [
|
|
798
|
-
onFocusChange,
|
|
799
|
-
onFocusProp,
|
|
800
|
-
onSyntheticFocus
|
|
801
|
-
]);
|
|
802
|
-
return {
|
|
803
|
-
focusProps: {
|
|
804
|
-
onFocus: !isDisabled && (onFocusProp || onFocusChange || onBlurProp) ? onFocus : void 0,
|
|
805
|
-
onBlur: !isDisabled && (onBlurProp || onFocusChange) ? onBlur : void 0
|
|
806
|
-
}
|
|
807
|
-
};
|
|
808
|
-
}
|
|
809
|
-
function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
810
|
-
if (!handler) return void 0;
|
|
811
|
-
let shouldStopPropagation = true;
|
|
812
|
-
return (e) => {
|
|
813
|
-
let event = {
|
|
814
|
-
...e,
|
|
815
|
-
preventDefault() {
|
|
816
|
-
e.preventDefault();
|
|
817
|
-
},
|
|
818
|
-
isDefaultPrevented() {
|
|
819
|
-
return e.isDefaultPrevented();
|
|
820
|
-
},
|
|
821
|
-
stopPropagation() {
|
|
822
|
-
if (shouldStopPropagation && process.env.NODE_ENV !== "production") console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
|
|
823
|
-
else shouldStopPropagation = true;
|
|
824
|
-
},
|
|
825
|
-
continuePropagation() {
|
|
826
|
-
shouldStopPropagation = false;
|
|
827
|
-
},
|
|
828
|
-
isPropagationStopped() {
|
|
829
|
-
return shouldStopPropagation;
|
|
830
|
-
}
|
|
831
|
-
};
|
|
832
|
-
handler(event);
|
|
833
|
-
if (shouldStopPropagation) e.stopPropagation();
|
|
834
|
-
};
|
|
835
|
-
}
|
|
836
|
-
function $46d819fcbaf35654$export$8f71654801c2f7cd(props) {
|
|
837
|
-
return {
|
|
838
|
-
keyboardProps: props.isDisabled ? {} : {
|
|
839
|
-
onKeyDown: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyDown),
|
|
840
|
-
onKeyUp: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyUp)
|
|
841
|
-
}
|
|
842
|
-
};
|
|
843
|
-
}
|
|
844
|
-
let $f645667febf57a63$export$f9762fab77588ecb = /* @__PURE__ */ $dbSRa$react__default.createContext(null);
|
|
845
|
-
function $f645667febf57a63$var$useFocusableContext(ref) {
|
|
846
|
-
let context = useContext($f645667febf57a63$export$f9762fab77588ecb) || {};
|
|
847
|
-
$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref);
|
|
848
|
-
let { ref: _, ...otherProps } = context;
|
|
849
|
-
return otherProps;
|
|
850
|
-
}
|
|
851
|
-
const $f645667febf57a63$export$13f3202a3e5ddd5 = /* @__PURE__ */ $dbSRa$react__default.forwardRef(function FocusableProvider(props, ref) {
|
|
852
|
-
let { children, ...otherProps } = props;
|
|
853
|
-
let objRef = $df56164dff5785e2$export$4338b53315abf666(ref);
|
|
854
|
-
let context = {
|
|
855
|
-
...otherProps,
|
|
856
|
-
ref: objRef
|
|
857
|
-
};
|
|
858
|
-
return /* @__PURE__ */ $dbSRa$react__default.createElement($f645667febf57a63$export$f9762fab77588ecb.Provider, {
|
|
859
|
-
value: context
|
|
860
|
-
}, children);
|
|
861
|
-
});
|
|
862
|
-
function $f645667febf57a63$export$4c014de7c8940b4c(props, domRef) {
|
|
863
|
-
let { focusProps } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props);
|
|
864
|
-
let { keyboardProps } = $46d819fcbaf35654$export$8f71654801c2f7cd(props);
|
|
865
|
-
let interactions = $3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, keyboardProps);
|
|
866
|
-
let domProps = $f645667febf57a63$var$useFocusableContext(domRef);
|
|
867
|
-
let interactionProps = props.isDisabled ? {} : domProps;
|
|
868
|
-
let autoFocusRef = useRef(props.autoFocus);
|
|
869
|
-
useEffect(() => {
|
|
870
|
-
if (autoFocusRef.current && domRef.current) $3ad3f6e1647bc98d$export$80f3e147d781571c(domRef.current);
|
|
871
|
-
autoFocusRef.current = false;
|
|
872
|
-
}, [
|
|
873
|
-
domRef
|
|
874
|
-
]);
|
|
875
|
-
let tabIndex = props.excludeFromTabOrder ? -1 : 0;
|
|
876
|
-
if (props.isDisabled) tabIndex = void 0;
|
|
877
|
-
return {
|
|
878
|
-
focusableProps: $3ef42575df84b30b$export$9d1611c77c2fe928({
|
|
879
|
-
...interactions,
|
|
880
|
-
tabIndex
|
|
881
|
-
}, interactionProps)
|
|
882
|
-
};
|
|
883
|
-
}
|
|
884
|
-
let $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
|
885
|
-
let $6179b936705e76d3$var$hoverCount = 0;
|
|
886
|
-
function $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {
|
|
887
|
-
$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;
|
|
888
|
-
setTimeout(() => {
|
|
889
|
-
$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
|
890
|
-
}, 50);
|
|
891
|
-
}
|
|
892
|
-
function $6179b936705e76d3$var$handleGlobalPointerEvent(e) {
|
|
893
|
-
if (e.pointerType === "touch") $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();
|
|
894
|
-
}
|
|
895
|
-
function $6179b936705e76d3$var$setupGlobalTouchEvents() {
|
|
896
|
-
if (typeof document === "undefined") return;
|
|
897
|
-
if ($6179b936705e76d3$var$hoverCount === 0) {
|
|
898
|
-
if (typeof PointerEvent !== "undefined") document.addEventListener("pointerup", $6179b936705e76d3$var$handleGlobalPointerEvent);
|
|
899
|
-
else if (process.env.NODE_ENV === "test") document.addEventListener("touchend", $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);
|
|
900
|
-
}
|
|
901
|
-
$6179b936705e76d3$var$hoverCount++;
|
|
902
|
-
return () => {
|
|
903
|
-
$6179b936705e76d3$var$hoverCount--;
|
|
904
|
-
if ($6179b936705e76d3$var$hoverCount > 0) return;
|
|
905
|
-
if (typeof PointerEvent !== "undefined") document.removeEventListener("pointerup", $6179b936705e76d3$var$handleGlobalPointerEvent);
|
|
906
|
-
else if (process.env.NODE_ENV === "test") document.removeEventListener("touchend", $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);
|
|
907
|
-
};
|
|
908
|
-
}
|
|
909
|
-
function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
910
|
-
let { onHoverStart, onHoverChange, onHoverEnd, isDisabled } = props;
|
|
911
|
-
let [isHovered, setHovered] = useState(false);
|
|
912
|
-
let state = useRef({
|
|
913
|
-
isHovered: false,
|
|
914
|
-
ignoreEmulatedMouseEvents: false,
|
|
915
|
-
pointerType: "",
|
|
916
|
-
target: null
|
|
917
|
-
}).current;
|
|
918
|
-
useEffect($6179b936705e76d3$var$setupGlobalTouchEvents, []);
|
|
919
|
-
let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
920
|
-
let { hoverProps, triggerHoverEnd } = useMemo(() => {
|
|
921
|
-
let triggerHoverStart = (event, pointerType) => {
|
|
922
|
-
state.pointerType = pointerType;
|
|
923
|
-
if (isDisabled || pointerType === "touch" || state.isHovered || !$d4ee10de306f2510$export$4282f70798064fe0(event.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(event))) return;
|
|
924
|
-
state.isHovered = true;
|
|
925
|
-
let target = event.currentTarget;
|
|
926
|
-
state.target = target;
|
|
927
|
-
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac($d4ee10de306f2510$export$e58f029f0fbfdb29(event)), "pointerover", (e) => {
|
|
928
|
-
if (state.isHovered && state.target && !$d4ee10de306f2510$export$4282f70798064fe0(state.target, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) triggerHoverEnd2(e, e.pointerType);
|
|
929
|
-
}, {
|
|
930
|
-
capture: true
|
|
931
|
-
});
|
|
932
|
-
if (onHoverStart) onHoverStart({
|
|
933
|
-
type: "hoverstart",
|
|
934
|
-
target,
|
|
935
|
-
pointerType
|
|
936
|
-
});
|
|
937
|
-
if (onHoverChange) onHoverChange(true);
|
|
938
|
-
setHovered(true);
|
|
939
|
-
};
|
|
940
|
-
let triggerHoverEnd2 = (event, pointerType) => {
|
|
941
|
-
let target = state.target;
|
|
942
|
-
state.pointerType = "";
|
|
943
|
-
state.target = null;
|
|
944
|
-
if (pointerType === "touch" || !state.isHovered || !target) return;
|
|
945
|
-
state.isHovered = false;
|
|
946
|
-
removeAllGlobalListeners();
|
|
947
|
-
if (onHoverEnd) onHoverEnd({
|
|
948
|
-
type: "hoverend",
|
|
949
|
-
target,
|
|
950
|
-
pointerType
|
|
951
|
-
});
|
|
952
|
-
if (onHoverChange) onHoverChange(false);
|
|
953
|
-
setHovered(false);
|
|
954
|
-
};
|
|
955
|
-
let hoverProps2 = {};
|
|
956
|
-
if (typeof PointerEvent !== "undefined") {
|
|
957
|
-
hoverProps2.onPointerEnter = (e) => {
|
|
958
|
-
if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === "mouse") return;
|
|
959
|
-
triggerHoverStart(e, e.pointerType);
|
|
960
|
-
};
|
|
961
|
-
hoverProps2.onPointerLeave = (e) => {
|
|
962
|
-
if (!isDisabled && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) triggerHoverEnd2(e, e.pointerType);
|
|
963
|
-
};
|
|
964
|
-
} else if (process.env.NODE_ENV === "test") {
|
|
965
|
-
hoverProps2.onTouchStart = () => {
|
|
966
|
-
state.ignoreEmulatedMouseEvents = true;
|
|
967
|
-
};
|
|
968
|
-
hoverProps2.onMouseEnter = (e) => {
|
|
969
|
-
if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, "mouse");
|
|
970
|
-
state.ignoreEmulatedMouseEvents = false;
|
|
971
|
-
};
|
|
972
|
-
hoverProps2.onMouseLeave = (e) => {
|
|
973
|
-
if (!isDisabled && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) triggerHoverEnd2(e, "mouse");
|
|
974
|
-
};
|
|
975
|
-
}
|
|
976
|
-
return {
|
|
977
|
-
hoverProps: hoverProps2,
|
|
978
|
-
triggerHoverEnd: triggerHoverEnd2
|
|
979
|
-
};
|
|
980
|
-
}, [
|
|
981
|
-
onHoverStart,
|
|
982
|
-
onHoverChange,
|
|
983
|
-
onHoverEnd,
|
|
984
|
-
isDisabled,
|
|
985
|
-
state,
|
|
986
|
-
addGlobalListener,
|
|
987
|
-
removeAllGlobalListeners
|
|
988
|
-
]);
|
|
989
|
-
useEffect(() => {
|
|
990
|
-
if (isDisabled) triggerHoverEnd({
|
|
991
|
-
currentTarget: state.target
|
|
992
|
-
}, state.pointerType);
|
|
993
|
-
}, [
|
|
994
|
-
isDisabled
|
|
995
|
-
]);
|
|
996
|
-
return {
|
|
997
|
-
hoverProps,
|
|
998
|
-
isHovered
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
export {
|
|
1002
|
-
$f645667febf57a63$export$4c014de7c8940b4c as $,
|
|
1003
|
-
$7215afc6de606d6b$export$de79e2c695e052f3 as A,
|
|
1004
|
-
$46d819fcbaf35654$export$8f71654801c2f7cd as B,
|
|
1005
|
-
$c87311424ea30a05$export$78551043582a6a98 as C,
|
|
1006
|
-
$d4ee10de306f2510$export$b4f377a2b6254582 as D,
|
|
1007
|
-
$c87311424ea30a05$export$9ac100e40613ea10 as E,
|
|
1008
|
-
$ea8dcbcb9ea1b556$export$7e924b3091a3bd18 as F,
|
|
1009
|
-
$6a7db85432448f7f$export$29bf1b5f2c56cf63 as G,
|
|
1010
|
-
$8a9cb279dc87e130$export$cabe61c495ee3649 as H,
|
|
1011
|
-
$6a7db85432448f7f$export$60278871457622de as I,
|
|
1012
|
-
$e7801be82b4b2a53$export$4debdb1a3f0fa79e as J,
|
|
1013
|
-
$ea8dcbcb9ea1b556$export$95185d699e05d4d7 as K,
|
|
1014
|
-
$c87311424ea30a05$export$e1865c3bedcd822b as L,
|
|
1015
|
-
$ea8dcbcb9ea1b556$export$9a302a45f65d0572 as M,
|
|
1016
|
-
$f645667febf57a63$export$f9762fab77588ecb as N,
|
|
1017
|
-
$507fabe10e71c6fb$export$887a228355cf7d95 as O,
|
|
1018
|
-
$c87311424ea30a05$export$186c6964ca17d99 as P,
|
|
1019
|
-
$ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f as Q,
|
|
1020
|
-
$507fabe10e71c6fb$export$98e20ec92f614cfe as R,
|
|
1021
|
-
$458b0a5536c1a7cf$export$40bfa8c7b0832715 as a,
|
|
1022
|
-
$d4ee10de306f2510$export$e58f029f0fbfdb29 as b,
|
|
1023
|
-
$8ae05eaa5c114e9c$export$7f54fc3180508a52 as c,
|
|
1024
|
-
$c87311424ea30a05$export$fedb369cb70207f1 as d,
|
|
1025
|
-
$431fbd86ca7dc216$export$b204af158042fbac as e,
|
|
1026
|
-
$bbed8b41f857bcc0$export$24490316f764c430 as f,
|
|
1027
|
-
$03deb23ff14920c4$export$4eaf04e54aa8eed6 as g,
|
|
1028
|
-
$d4ee10de306f2510$export$4282f70798064fe0 as h,
|
|
1029
|
-
$8a9cb279dc87e130$export$715c682d09d639cc as i,
|
|
1030
|
-
$d4ee10de306f2510$export$cd4e5573fbe2b576 as j,
|
|
1031
|
-
$8a9cb279dc87e130$export$c2b7abe5d61ec696 as k,
|
|
1032
|
-
$8a9cb279dc87e130$export$525bc4921d56d4a as l,
|
|
1033
|
-
$507fabe10e71c6fb$export$b9b3dfddab17db27 as m,
|
|
1034
|
-
$507fabe10e71c6fb$export$ec71b4b83ac08ec3 as n,
|
|
1035
|
-
$a1ea59d68270f0dd$export$f8168d8dd8fd66e6 as o,
|
|
1036
|
-
$f4e2df6bd15f8569$export$98658e8c59125e6a as p,
|
|
1037
|
-
$b4b717babfbb907b$export$bebd5a1431fec25d as q,
|
|
1038
|
-
$b4b717babfbb907b$export$4c063cf1350e6fed as r,
|
|
1039
|
-
$c87311424ea30a05$export$a11b0059900ceec8 as s,
|
|
1040
|
-
$c87311424ea30a05$export$6446a186d09e379e as t,
|
|
1041
|
-
$3ad3f6e1647bc98d$export$80f3e147d781571c as u,
|
|
1042
|
-
$507fabe10e71c6fb$export$630ff653c5ada6a9 as v,
|
|
1043
|
-
$431fbd86ca7dc216$export$f21a1ffae260145a as w,
|
|
1044
|
-
$507fabe10e71c6fb$export$8397ddfc504fdb9a as x,
|
|
1045
|
-
$6179b936705e76d3$export$ae780daf29e6d456 as y,
|
|
1046
|
-
$f645667febf57a63$export$13f3202a3e5ddd5 as z
|
|
1047
|
-
};
|