@eightshift/ui-components 6.3.0 → 7.0.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 +197 -200
- package/dist/assets/style-editor.css +197 -200
- package/dist/assets/style.css +197 -200
- 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 +360 -589
- package/dist/components/select/async-select.js +284 -492
- package/dist/components/select/multi-select.js +340 -552
- package/dist/components/select/shared.js +3 -17
- package/dist/components/select/single-select.js +278 -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-D-7dwhuF.js +4277 -0
- package/dist/gradient-editor-DbH8NU2p.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-BG7-_Ou3.js +9638 -0
- package/dist/shared-DFDimxvX.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 +30 -18
- 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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C-XNeJ_l.js";
|
|
2
|
+
import { t as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-m5VW6MTK.js";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
//#region node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs
|
|
5
|
+
function $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {
|
|
6
|
+
let { locale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
7
|
+
return useMemo(() => new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(locale, options), [locale, options]);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { $a916eb452884faea$export$b7a616150fdb9f44 as t };
|
|
@@ -0,0 +1,678 @@
|
|
|
1
|
+
import { f as $ff5963eb1fccf552$export$e08e3b67e392101e, g as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, u as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-B_uiqNa4.js";
|
|
2
|
+
import { C as $e7801be82b4b2a53$export$4debdb1a3f0fa79e, G as $431fbd86ca7dc216$export$f21a1ffae260145a, H as $d4ee10de306f2510$export$e58f029f0fbfdb29, P as $c87311424ea30a05$export$9ac100e40613ea10, R as $7215afc6de606d6b$export$de79e2c695e052f3, S as $6a7db85432448f7f$export$60278871457622de, T as $03deb23ff14920c4$export$4eaf04e54aa8eed6, W as $431fbd86ca7dc216$export$b204af158042fbac, _ as $8a9cb279dc87e130$export$cabe61c495ee3649, g as $8a9cb279dc87e130$export$c2b7abe5d61ec696, k as $ea8dcbcb9ea1b556$export$95185d699e05d4d7, m as $8a9cb279dc87e130$export$525bc4921d56d4a, w as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as $6a7db85432448f7f$export$29bf1b5f2c56cf63, z as $d4ee10de306f2510$export$4282f70798064fe0 } from "./useHover-qaMm3XFO.js";
|
|
3
|
+
import { n as $14c0b72509d70225$export$b0d6fa1ab32e3295, t as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-Dv6WPj0Z.js";
|
|
4
|
+
import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
5
|
+
import { flushSync } from "react-dom";
|
|
6
|
+
//#region node_modules/@swc/helpers/esm/_check_private_redeclaration.js
|
|
7
|
+
function _check_private_redeclaration(obj, privateCollection) {
|
|
8
|
+
if (privateCollection.has(obj)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region node_modules/@swc/helpers/esm/_class_private_field_init.js
|
|
12
|
+
function _class_private_field_init(obj, privateMap, value) {
|
|
13
|
+
_check_private_redeclaration(obj, privateMap);
|
|
14
|
+
privateMap.set(obj, value);
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region node_modules/@react-aria/interactions/dist/context.mjs
|
|
18
|
+
var $ae1eeba8b9eafd08$export$5165eccb35aaadb5 = React.createContext({ register: () => {} });
|
|
19
|
+
$ae1eeba8b9eafd08$export$5165eccb35aaadb5.displayName = "PressResponderContext";
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js
|
|
22
|
+
function _class_apply_descriptor_get(receiver, descriptor) {
|
|
23
|
+
if (descriptor.get) return descriptor.get.call(receiver);
|
|
24
|
+
return descriptor.value;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js
|
|
28
|
+
function _class_extract_field_descriptor(receiver, privateMap, action) {
|
|
29
|
+
if (!privateMap.has(receiver)) throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
30
|
+
return privateMap.get(receiver);
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region node_modules/@swc/helpers/esm/_class_private_field_get.js
|
|
34
|
+
function _class_private_field_get(receiver, privateMap) {
|
|
35
|
+
return _class_apply_descriptor_get(receiver, _class_extract_field_descriptor(receiver, privateMap, "get"));
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js
|
|
39
|
+
function _class_apply_descriptor_set(receiver, descriptor, value) {
|
|
40
|
+
if (descriptor.set) descriptor.set.call(receiver, value);
|
|
41
|
+
else {
|
|
42
|
+
if (!descriptor.writable) throw new TypeError("attempted to set read only private field");
|
|
43
|
+
descriptor.value = value;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region node_modules/@swc/helpers/esm/_class_private_field_set.js
|
|
48
|
+
function _class_private_field_set(receiver, privateMap, value) {
|
|
49
|
+
_class_apply_descriptor_set(receiver, _class_extract_field_descriptor(receiver, privateMap, "set"), value);
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region node_modules/@react-aria/interactions/dist/usePress.mjs
|
|
54
|
+
function $f6c31cce2adf654f$var$usePressResponderContext(props) {
|
|
55
|
+
let context = useContext($ae1eeba8b9eafd08$export$5165eccb35aaadb5);
|
|
56
|
+
if (context) {
|
|
57
|
+
let { register, ref, ...contextProps } = context;
|
|
58
|
+
props = $3ef42575df84b30b$export$9d1611c77c2fe928(contextProps, props);
|
|
59
|
+
register();
|
|
60
|
+
}
|
|
61
|
+
$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, props.ref);
|
|
62
|
+
return props;
|
|
63
|
+
}
|
|
64
|
+
var $f6c31cce2adf654f$var$_shouldStopPropagation = new WeakMap();
|
|
65
|
+
var $f6c31cce2adf654f$var$PressEvent = class {
|
|
66
|
+
continuePropagation() {
|
|
67
|
+
_class_private_field_set(this, $f6c31cce2adf654f$var$_shouldStopPropagation, false);
|
|
68
|
+
}
|
|
69
|
+
get shouldStopPropagation() {
|
|
70
|
+
return _class_private_field_get(this, $f6c31cce2adf654f$var$_shouldStopPropagation);
|
|
71
|
+
}
|
|
72
|
+
constructor(type, pointerType, originalEvent, state) {
|
|
73
|
+
_class_private_field_init(this, $f6c31cce2adf654f$var$_shouldStopPropagation, {
|
|
74
|
+
writable: true,
|
|
75
|
+
value: void 0
|
|
76
|
+
});
|
|
77
|
+
_class_private_field_set(this, $f6c31cce2adf654f$var$_shouldStopPropagation, true);
|
|
78
|
+
var _state_target;
|
|
79
|
+
let currentTarget = (_state_target = state === null || state === void 0 ? void 0 : state.target) !== null && _state_target !== void 0 ? _state_target : originalEvent.currentTarget;
|
|
80
|
+
const rect = currentTarget === null || currentTarget === void 0 ? void 0 : currentTarget.getBoundingClientRect();
|
|
81
|
+
let x, y = 0;
|
|
82
|
+
let clientX, clientY = null;
|
|
83
|
+
if (originalEvent.clientX != null && originalEvent.clientY != null) {
|
|
84
|
+
clientX = originalEvent.clientX;
|
|
85
|
+
clientY = originalEvent.clientY;
|
|
86
|
+
}
|
|
87
|
+
if (rect) if (clientX != null && clientY != null) {
|
|
88
|
+
x = clientX - rect.left;
|
|
89
|
+
y = clientY - rect.top;
|
|
90
|
+
} else {
|
|
91
|
+
x = rect.width / 2;
|
|
92
|
+
y = rect.height / 2;
|
|
93
|
+
}
|
|
94
|
+
this.type = type;
|
|
95
|
+
this.pointerType = pointerType;
|
|
96
|
+
this.target = originalEvent.currentTarget;
|
|
97
|
+
this.shiftKey = originalEvent.shiftKey;
|
|
98
|
+
this.metaKey = originalEvent.metaKey;
|
|
99
|
+
this.ctrlKey = originalEvent.ctrlKey;
|
|
100
|
+
this.altKey = originalEvent.altKey;
|
|
101
|
+
this.x = x;
|
|
102
|
+
this.y = y;
|
|
103
|
+
this.key = originalEvent.key;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
var $f6c31cce2adf654f$var$LINK_CLICKED = Symbol("linkClicked");
|
|
107
|
+
var $f6c31cce2adf654f$var$STYLE_ID = "react-aria-pressable-style";
|
|
108
|
+
var $f6c31cce2adf654f$var$PRESSABLE_ATTRIBUTE = "data-react-aria-pressable";
|
|
109
|
+
function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
110
|
+
let { onPress, onPressChange, onPressStart, onPressEnd, onPressUp, onClick, isDisabled, isPressed: isPressedProp, preventFocusOnPress, shouldCancelOnPointerExit, allowTextSelectionOnPress, ref: domRef, ...domProps } = $f6c31cce2adf654f$var$usePressResponderContext(props);
|
|
111
|
+
let [isPressed, setPressed] = useState(false);
|
|
112
|
+
let ref = useRef({
|
|
113
|
+
isPressed: false,
|
|
114
|
+
ignoreEmulatedMouseEvents: false,
|
|
115
|
+
didFirePressStart: false,
|
|
116
|
+
isTriggeringEvent: false,
|
|
117
|
+
activePointerId: null,
|
|
118
|
+
target: null,
|
|
119
|
+
isOverTarget: false,
|
|
120
|
+
pointerType: null,
|
|
121
|
+
disposables: []
|
|
122
|
+
});
|
|
123
|
+
let { addGlobalListener, removeAllGlobalListeners, removeGlobalListener } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
124
|
+
let triggerPressStart = useCallback((originalEvent, pointerType) => {
|
|
125
|
+
let state = ref.current;
|
|
126
|
+
if (isDisabled || state.didFirePressStart) return false;
|
|
127
|
+
let shouldStopPropagation = true;
|
|
128
|
+
state.isTriggeringEvent = true;
|
|
129
|
+
if (onPressStart) {
|
|
130
|
+
let event = new $f6c31cce2adf654f$var$PressEvent("pressstart", pointerType, originalEvent);
|
|
131
|
+
onPressStart(event);
|
|
132
|
+
shouldStopPropagation = event.shouldStopPropagation;
|
|
133
|
+
}
|
|
134
|
+
if (onPressChange) onPressChange(true);
|
|
135
|
+
state.isTriggeringEvent = false;
|
|
136
|
+
state.didFirePressStart = true;
|
|
137
|
+
setPressed(true);
|
|
138
|
+
return shouldStopPropagation;
|
|
139
|
+
}, [
|
|
140
|
+
isDisabled,
|
|
141
|
+
onPressStart,
|
|
142
|
+
onPressChange
|
|
143
|
+
]);
|
|
144
|
+
let triggerPressEnd = useCallback((originalEvent, pointerType, wasPressed = true) => {
|
|
145
|
+
let state = ref.current;
|
|
146
|
+
if (!state.didFirePressStart) return false;
|
|
147
|
+
state.didFirePressStart = false;
|
|
148
|
+
state.isTriggeringEvent = true;
|
|
149
|
+
let shouldStopPropagation = true;
|
|
150
|
+
if (onPressEnd) {
|
|
151
|
+
let event = new $f6c31cce2adf654f$var$PressEvent("pressend", pointerType, originalEvent);
|
|
152
|
+
onPressEnd(event);
|
|
153
|
+
shouldStopPropagation = event.shouldStopPropagation;
|
|
154
|
+
}
|
|
155
|
+
if (onPressChange) onPressChange(false);
|
|
156
|
+
setPressed(false);
|
|
157
|
+
if (onPress && wasPressed && !isDisabled) {
|
|
158
|
+
let event = new $f6c31cce2adf654f$var$PressEvent("press", pointerType, originalEvent);
|
|
159
|
+
onPress(event);
|
|
160
|
+
shouldStopPropagation && (shouldStopPropagation = event.shouldStopPropagation);
|
|
161
|
+
}
|
|
162
|
+
state.isTriggeringEvent = false;
|
|
163
|
+
return shouldStopPropagation;
|
|
164
|
+
}, [
|
|
165
|
+
isDisabled,
|
|
166
|
+
onPressEnd,
|
|
167
|
+
onPressChange,
|
|
168
|
+
onPress
|
|
169
|
+
]);
|
|
170
|
+
let triggerPressEndEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(triggerPressEnd);
|
|
171
|
+
let triggerPressUp = useCallback((originalEvent, pointerType) => {
|
|
172
|
+
let state = ref.current;
|
|
173
|
+
if (isDisabled) return false;
|
|
174
|
+
if (onPressUp) {
|
|
175
|
+
state.isTriggeringEvent = true;
|
|
176
|
+
let event = new $f6c31cce2adf654f$var$PressEvent("pressup", pointerType, originalEvent);
|
|
177
|
+
onPressUp(event);
|
|
178
|
+
state.isTriggeringEvent = false;
|
|
179
|
+
return event.shouldStopPropagation;
|
|
180
|
+
}
|
|
181
|
+
return true;
|
|
182
|
+
}, [isDisabled, onPressUp]);
|
|
183
|
+
let triggerPressUpEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(triggerPressUp);
|
|
184
|
+
let cancel = useCallback((e) => {
|
|
185
|
+
let state = ref.current;
|
|
186
|
+
if (state.isPressed && state.target) {
|
|
187
|
+
if (state.didFirePressStart && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
|
|
188
|
+
state.isPressed = false;
|
|
189
|
+
setIsPointerPressed(null);
|
|
190
|
+
state.isOverTarget = false;
|
|
191
|
+
state.activePointerId = null;
|
|
192
|
+
state.pointerType = null;
|
|
193
|
+
removeAllGlobalListeners();
|
|
194
|
+
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$b0d6fa1ab32e3295(state.target);
|
|
195
|
+
for (let dispose of state.disposables) dispose();
|
|
196
|
+
state.disposables = [];
|
|
197
|
+
}
|
|
198
|
+
}, [
|
|
199
|
+
allowTextSelectionOnPress,
|
|
200
|
+
removeAllGlobalListeners,
|
|
201
|
+
triggerPressEnd
|
|
202
|
+
]);
|
|
203
|
+
let cancelEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(cancel);
|
|
204
|
+
let cancelOnPointerExit = useCallback((e) => {
|
|
205
|
+
if (shouldCancelOnPointerExit) cancel(e);
|
|
206
|
+
}, [shouldCancelOnPointerExit, cancel]);
|
|
207
|
+
let triggerClick = useCallback((e) => {
|
|
208
|
+
if (isDisabled) return;
|
|
209
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
210
|
+
}, [isDisabled, onClick]);
|
|
211
|
+
let triggerSyntheticClick = useCallback((e, target) => {
|
|
212
|
+
if (isDisabled) return;
|
|
213
|
+
if (onClick) {
|
|
214
|
+
let event = new MouseEvent("click", e);
|
|
215
|
+
$8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target);
|
|
216
|
+
onClick($8a9cb279dc87e130$export$525bc4921d56d4a(event));
|
|
217
|
+
}
|
|
218
|
+
}, [isDisabled, onClick]);
|
|
219
|
+
let triggerSyntheticClickEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(triggerSyntheticClick);
|
|
220
|
+
let [isElemKeyPressed, setIsElemKeyPressed] = useState(false);
|
|
221
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
222
|
+
let state = ref.current;
|
|
223
|
+
if (isElemKeyPressed) {
|
|
224
|
+
let onKeyUp = (e) => {
|
|
225
|
+
var _state_metaKeyEvents;
|
|
226
|
+
if (state.isPressed && state.target && $f6c31cce2adf654f$var$isValidKeyboardEvent(e, state.target)) {
|
|
227
|
+
var _state_metaKeyEvents1;
|
|
228
|
+
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard($d4ee10de306f2510$export$e58f029f0fbfdb29(e), e.key)) e.preventDefault();
|
|
229
|
+
let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
230
|
+
let wasPressed = $d4ee10de306f2510$export$4282f70798064fe0(state.target, target);
|
|
231
|
+
triggerPressEndEvent($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard", wasPressed);
|
|
232
|
+
if (wasPressed) triggerSyntheticClickEvent(e, state.target);
|
|
233
|
+
removeAllGlobalListeners();
|
|
234
|
+
if (e.key !== "Enter" && $f6c31cce2adf654f$var$isHTMLAnchorLink(state.target) && $d4ee10de306f2510$export$4282f70798064fe0(state.target, target) && !e[$f6c31cce2adf654f$var$LINK_CLICKED]) {
|
|
235
|
+
e[$f6c31cce2adf654f$var$LINK_CLICKED] = true;
|
|
236
|
+
$ea8dcbcb9ea1b556$export$95185d699e05d4d7(state.target, e, false);
|
|
237
|
+
}
|
|
238
|
+
state.isPressed = false;
|
|
239
|
+
setIsElemKeyPressed(false);
|
|
240
|
+
(_state_metaKeyEvents1 = state.metaKeyEvents) === null || _state_metaKeyEvents1 === void 0 || _state_metaKeyEvents1.delete(e.key);
|
|
241
|
+
} else if (e.key === "Meta" && ((_state_metaKeyEvents = state.metaKeyEvents) === null || _state_metaKeyEvents === void 0 ? void 0 : _state_metaKeyEvents.size)) {
|
|
242
|
+
var _state_target;
|
|
243
|
+
let events = state.metaKeyEvents;
|
|
244
|
+
state.metaKeyEvents = void 0;
|
|
245
|
+
for (let event of events.values()) (_state_target = state.target) === null || _state_target === void 0 || _state_target.dispatchEvent(new KeyboardEvent("keyup", event));
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
let originalTarget = state.target;
|
|
249
|
+
let pressUp = (e) => {
|
|
250
|
+
if (originalTarget && $f6c31cce2adf654f$var$isValidKeyboardEvent(e, originalTarget) && !e.repeat && $d4ee10de306f2510$export$4282f70798064fe0(originalTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e)) && state.target) triggerPressUpEvent($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard");
|
|
251
|
+
};
|
|
252
|
+
let listener = $ff5963eb1fccf552$export$e08e3b67e392101e(pressUp, onKeyUp);
|
|
253
|
+
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "keyup", listener, true);
|
|
254
|
+
return () => {
|
|
255
|
+
removeGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "keyup", listener, true);
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
}, [
|
|
259
|
+
isElemKeyPressed,
|
|
260
|
+
addGlobalListener,
|
|
261
|
+
removeAllGlobalListeners,
|
|
262
|
+
removeGlobalListener
|
|
263
|
+
]);
|
|
264
|
+
let [isPointerPressed, setIsPointerPressed] = useState(null);
|
|
265
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
266
|
+
let state = ref.current;
|
|
267
|
+
if (isPointerPressed === "pointer") {
|
|
268
|
+
let onPointerUp = (e) => {
|
|
269
|
+
if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {
|
|
270
|
+
if ($d4ee10de306f2510$export$4282f70798064fe0(state.target, $d4ee10de306f2510$export$e58f029f0fbfdb29(e)) && state.pointerType != null) {
|
|
271
|
+
let clicked = false;
|
|
272
|
+
let timeout = setTimeout(() => {
|
|
273
|
+
if (state.isPressed && state.target instanceof HTMLElement) if (clicked) cancelEvent(e);
|
|
274
|
+
else {
|
|
275
|
+
$7215afc6de606d6b$export$de79e2c695e052f3(state.target);
|
|
276
|
+
state.target.click();
|
|
277
|
+
}
|
|
278
|
+
}, 80);
|
|
279
|
+
if (e.currentTarget) addGlobalListener(e.currentTarget, "click", () => clicked = true, true);
|
|
280
|
+
state.disposables.push(() => clearTimeout(timeout));
|
|
281
|
+
} else cancelEvent(e);
|
|
282
|
+
state.isOverTarget = false;
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
let onPointerCancel = (e) => {
|
|
286
|
+
cancelEvent(e);
|
|
287
|
+
};
|
|
288
|
+
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "pointerup", onPointerUp, false);
|
|
289
|
+
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "pointercancel", onPointerCancel, false);
|
|
290
|
+
return () => {
|
|
291
|
+
removeGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "pointerup", onPointerUp, false);
|
|
292
|
+
removeGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "pointercancel", onPointerCancel, false);
|
|
293
|
+
};
|
|
294
|
+
} else if (isPointerPressed === "mouse" && process.env.NODE_ENV === "test") {
|
|
295
|
+
let onMouseUp = (e) => {
|
|
296
|
+
if (e.button !== 0) return;
|
|
297
|
+
if (state.ignoreEmulatedMouseEvents) {
|
|
298
|
+
state.ignoreEmulatedMouseEvents = false;
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
if (state.target && $d4ee10de306f2510$export$4282f70798064fe0(state.target, e.target) && state.pointerType != null);
|
|
302
|
+
else cancelEvent(e);
|
|
303
|
+
state.isOverTarget = false;
|
|
304
|
+
};
|
|
305
|
+
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "mouseup", onMouseUp, false);
|
|
306
|
+
return () => {
|
|
307
|
+
removeGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(state.target), "mouseup", onMouseUp, false);
|
|
308
|
+
};
|
|
309
|
+
} else if (isPointerPressed === "touch" && process.env.NODE_ENV === "test") {
|
|
310
|
+
let onScroll = (e) => {
|
|
311
|
+
if (state.isPressed && $d4ee10de306f2510$export$4282f70798064fe0($d4ee10de306f2510$export$e58f029f0fbfdb29(e), state.target)) cancelEvent({
|
|
312
|
+
currentTarget: state.target,
|
|
313
|
+
shiftKey: false,
|
|
314
|
+
ctrlKey: false,
|
|
315
|
+
metaKey: false,
|
|
316
|
+
altKey: false
|
|
317
|
+
});
|
|
318
|
+
};
|
|
319
|
+
addGlobalListener($431fbd86ca7dc216$export$f21a1ffae260145a(state.target), "scroll", onScroll, true);
|
|
320
|
+
return () => {
|
|
321
|
+
removeGlobalListener($431fbd86ca7dc216$export$f21a1ffae260145a(state.target), "scroll", onScroll, true);
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
}, [
|
|
325
|
+
isPointerPressed,
|
|
326
|
+
addGlobalListener,
|
|
327
|
+
removeGlobalListener
|
|
328
|
+
]);
|
|
329
|
+
let pressProps = useMemo(() => {
|
|
330
|
+
let state = ref.current;
|
|
331
|
+
let pressProps = {
|
|
332
|
+
onKeyDown(e) {
|
|
333
|
+
if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
|
|
334
|
+
var _state_metaKeyEvents;
|
|
335
|
+
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard($d4ee10de306f2510$export$e58f029f0fbfdb29(e), e.key)) e.preventDefault();
|
|
336
|
+
let shouldStopPropagation = true;
|
|
337
|
+
if (!state.isPressed && !e.repeat) {
|
|
338
|
+
state.target = e.currentTarget;
|
|
339
|
+
state.isPressed = true;
|
|
340
|
+
setIsElemKeyPressed(true);
|
|
341
|
+
state.pointerType = "keyboard";
|
|
342
|
+
shouldStopPropagation = triggerPressStart(e, "keyboard");
|
|
343
|
+
}
|
|
344
|
+
if (shouldStopPropagation) e.stopPropagation();
|
|
345
|
+
if (e.metaKey && $c87311424ea30a05$export$9ac100e40613ea10()) (_state_metaKeyEvents = state.metaKeyEvents) === null || _state_metaKeyEvents === void 0 || _state_metaKeyEvents.set(e.key, e.nativeEvent);
|
|
346
|
+
} else if (e.key === "Meta") state.metaKeyEvents = new Map();
|
|
347
|
+
},
|
|
348
|
+
onClick(e) {
|
|
349
|
+
if (e && !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
350
|
+
if (e && e.button === 0 && !state.isTriggeringEvent && !$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening) {
|
|
351
|
+
let shouldStopPropagation = true;
|
|
352
|
+
if (isDisabled) e.preventDefault();
|
|
353
|
+
if (!state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === "virtual" || $6a7db85432448f7f$export$60278871457622de(e.nativeEvent))) {
|
|
354
|
+
let stopPressStart = triggerPressStart(e, "virtual");
|
|
355
|
+
let stopPressUp = triggerPressUp(e, "virtual");
|
|
356
|
+
let stopPressEnd = triggerPressEnd(e, "virtual");
|
|
357
|
+
triggerClick(e);
|
|
358
|
+
shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;
|
|
359
|
+
} else if (state.isPressed && state.pointerType !== "keyboard") {
|
|
360
|
+
let pointerType = state.pointerType || e.nativeEvent.pointerType || "virtual";
|
|
361
|
+
let stopPressUp = triggerPressUp($f6c31cce2adf654f$var$createEvent(e.currentTarget, e), pointerType);
|
|
362
|
+
let stopPressEnd = triggerPressEnd($f6c31cce2adf654f$var$createEvent(e.currentTarget, e), pointerType, true);
|
|
363
|
+
shouldStopPropagation = stopPressUp && stopPressEnd;
|
|
364
|
+
state.isOverTarget = false;
|
|
365
|
+
triggerClick(e);
|
|
366
|
+
cancel(e);
|
|
367
|
+
}
|
|
368
|
+
state.ignoreEmulatedMouseEvents = false;
|
|
369
|
+
if (shouldStopPropagation) e.stopPropagation();
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
if (typeof PointerEvent !== "undefined") {
|
|
374
|
+
pressProps.onPointerDown = (e) => {
|
|
375
|
+
if (e.button !== 0 || !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
376
|
+
if ($6a7db85432448f7f$export$29bf1b5f2c56cf63(e.nativeEvent)) {
|
|
377
|
+
state.pointerType = "virtual";
|
|
378
|
+
return;
|
|
379
|
+
}
|
|
380
|
+
state.pointerType = e.pointerType;
|
|
381
|
+
let shouldStopPropagation = true;
|
|
382
|
+
if (!state.isPressed) {
|
|
383
|
+
state.isPressed = true;
|
|
384
|
+
setIsPointerPressed("pointer");
|
|
385
|
+
state.isOverTarget = true;
|
|
386
|
+
state.activePointerId = e.pointerId;
|
|
387
|
+
state.target = e.currentTarget;
|
|
388
|
+
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
|
|
389
|
+
shouldStopPropagation = triggerPressStart(e, state.pointerType);
|
|
390
|
+
let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
391
|
+
if ("releasePointerCapture" in target) if ("hasPointerCapture" in target) {
|
|
392
|
+
if (target.hasPointerCapture(e.pointerId)) target.releasePointerCapture(e.pointerId);
|
|
393
|
+
} else target.releasePointerCapture(e.pointerId);
|
|
394
|
+
}
|
|
395
|
+
if (shouldStopPropagation) e.stopPropagation();
|
|
396
|
+
};
|
|
397
|
+
pressProps.onMouseDown = (e) => {
|
|
398
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
399
|
+
if (e.button === 0) {
|
|
400
|
+
if (preventFocusOnPress) {
|
|
401
|
+
let dispose = $8a9cb279dc87e130$export$cabe61c495ee3649(e.target);
|
|
402
|
+
if (dispose) state.disposables.push(dispose);
|
|
403
|
+
}
|
|
404
|
+
e.stopPropagation();
|
|
405
|
+
}
|
|
406
|
+
};
|
|
407
|
+
pressProps.onPointerUp = (e) => {
|
|
408
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e)) || state.pointerType === "virtual") return;
|
|
409
|
+
if (e.button === 0 && !state.isPressed) triggerPressUp(e, state.pointerType || e.pointerType);
|
|
410
|
+
};
|
|
411
|
+
pressProps.onPointerEnter = (e) => {
|
|
412
|
+
if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {
|
|
413
|
+
state.isOverTarget = true;
|
|
414
|
+
triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
pressProps.onPointerLeave = (e) => {
|
|
418
|
+
if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {
|
|
419
|
+
state.isOverTarget = false;
|
|
420
|
+
triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
|
|
421
|
+
cancelOnPointerExit(e);
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
pressProps.onDragStart = (e) => {
|
|
425
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
426
|
+
cancel(e);
|
|
427
|
+
};
|
|
428
|
+
} else if (process.env.NODE_ENV === "test") {
|
|
429
|
+
pressProps.onMouseDown = (e) => {
|
|
430
|
+
if (e.button !== 0 || !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
431
|
+
if (state.ignoreEmulatedMouseEvents) {
|
|
432
|
+
e.stopPropagation();
|
|
433
|
+
return;
|
|
434
|
+
}
|
|
435
|
+
state.isPressed = true;
|
|
436
|
+
setIsPointerPressed("mouse");
|
|
437
|
+
state.isOverTarget = true;
|
|
438
|
+
state.target = e.currentTarget;
|
|
439
|
+
state.pointerType = $6a7db85432448f7f$export$60278871457622de(e.nativeEvent) ? "virtual" : "mouse";
|
|
440
|
+
if (flushSync(() => triggerPressStart(e, state.pointerType))) e.stopPropagation();
|
|
441
|
+
if (preventFocusOnPress) {
|
|
442
|
+
let dispose = $8a9cb279dc87e130$export$cabe61c495ee3649(e.target);
|
|
443
|
+
if (dispose) state.disposables.push(dispose);
|
|
444
|
+
}
|
|
445
|
+
};
|
|
446
|
+
pressProps.onMouseEnter = (e) => {
|
|
447
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
448
|
+
let shouldStopPropagation = true;
|
|
449
|
+
if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {
|
|
450
|
+
state.isOverTarget = true;
|
|
451
|
+
shouldStopPropagation = triggerPressStart(e, state.pointerType);
|
|
452
|
+
}
|
|
453
|
+
if (shouldStopPropagation) e.stopPropagation();
|
|
454
|
+
};
|
|
455
|
+
pressProps.onMouseLeave = (e) => {
|
|
456
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
457
|
+
let shouldStopPropagation = true;
|
|
458
|
+
if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {
|
|
459
|
+
state.isOverTarget = false;
|
|
460
|
+
shouldStopPropagation = triggerPressEnd(e, state.pointerType, false);
|
|
461
|
+
cancelOnPointerExit(e);
|
|
462
|
+
}
|
|
463
|
+
if (shouldStopPropagation) e.stopPropagation();
|
|
464
|
+
};
|
|
465
|
+
pressProps.onMouseUp = (e) => {
|
|
466
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
467
|
+
if (!state.ignoreEmulatedMouseEvents && e.button === 0 && !state.isPressed) triggerPressUp(e, state.pointerType || "mouse");
|
|
468
|
+
};
|
|
469
|
+
pressProps.onTouchStart = (e) => {
|
|
470
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
471
|
+
let touch = $f6c31cce2adf654f$var$getTouchFromEvent(e.nativeEvent);
|
|
472
|
+
if (!touch) return;
|
|
473
|
+
state.activePointerId = touch.identifier;
|
|
474
|
+
state.ignoreEmulatedMouseEvents = true;
|
|
475
|
+
state.isOverTarget = true;
|
|
476
|
+
state.isPressed = true;
|
|
477
|
+
setIsPointerPressed("touch");
|
|
478
|
+
state.target = e.currentTarget;
|
|
479
|
+
state.pointerType = "touch";
|
|
480
|
+
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
|
|
481
|
+
if (triggerPressStart($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType)) e.stopPropagation();
|
|
482
|
+
};
|
|
483
|
+
pressProps.onTouchMove = (e) => {
|
|
484
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
485
|
+
if (!state.isPressed) {
|
|
486
|
+
e.stopPropagation();
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
let touch = $f6c31cce2adf654f$var$getTouchById(e.nativeEvent, state.activePointerId);
|
|
490
|
+
let shouldStopPropagation = true;
|
|
491
|
+
if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget)) {
|
|
492
|
+
if (!state.isOverTarget && state.pointerType != null) {
|
|
493
|
+
state.isOverTarget = true;
|
|
494
|
+
shouldStopPropagation = triggerPressStart($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
495
|
+
}
|
|
496
|
+
} else if (state.isOverTarget && state.pointerType != null) {
|
|
497
|
+
state.isOverTarget = false;
|
|
498
|
+
shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType, false);
|
|
499
|
+
cancelOnPointerExit($f6c31cce2adf654f$var$createTouchEvent(state.target, e));
|
|
500
|
+
}
|
|
501
|
+
if (shouldStopPropagation) e.stopPropagation();
|
|
502
|
+
};
|
|
503
|
+
pressProps.onTouchEnd = (e) => {
|
|
504
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
505
|
+
if (!state.isPressed) {
|
|
506
|
+
e.stopPropagation();
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
let touch = $f6c31cce2adf654f$var$getTouchById(e.nativeEvent, state.activePointerId);
|
|
510
|
+
let shouldStopPropagation = true;
|
|
511
|
+
if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {
|
|
512
|
+
triggerPressUp($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
513
|
+
shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
514
|
+
triggerSyntheticClick(e.nativeEvent, state.target);
|
|
515
|
+
} else if (state.isOverTarget && state.pointerType != null) shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType, false);
|
|
516
|
+
if (shouldStopPropagation) e.stopPropagation();
|
|
517
|
+
state.isPressed = false;
|
|
518
|
+
setIsPointerPressed(null);
|
|
519
|
+
state.activePointerId = null;
|
|
520
|
+
state.isOverTarget = false;
|
|
521
|
+
state.ignoreEmulatedMouseEvents = true;
|
|
522
|
+
if (state.target && !allowTextSelectionOnPress) $14c0b72509d70225$export$b0d6fa1ab32e3295(state.target);
|
|
523
|
+
removeAllGlobalListeners();
|
|
524
|
+
};
|
|
525
|
+
pressProps.onTouchCancel = (e) => {
|
|
526
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
527
|
+
e.stopPropagation();
|
|
528
|
+
if (state.isPressed) cancel($f6c31cce2adf654f$var$createTouchEvent(state.target, e));
|
|
529
|
+
};
|
|
530
|
+
pressProps.onDragStart = (e) => {
|
|
531
|
+
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) return;
|
|
532
|
+
cancel(e);
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
return pressProps;
|
|
536
|
+
}, [
|
|
537
|
+
isDisabled,
|
|
538
|
+
preventFocusOnPress,
|
|
539
|
+
removeAllGlobalListeners,
|
|
540
|
+
allowTextSelectionOnPress,
|
|
541
|
+
cancel,
|
|
542
|
+
cancelOnPointerExit,
|
|
543
|
+
triggerPressEnd,
|
|
544
|
+
triggerPressStart,
|
|
545
|
+
triggerPressUp,
|
|
546
|
+
triggerClick,
|
|
547
|
+
triggerSyntheticClick
|
|
548
|
+
]);
|
|
549
|
+
useEffect(() => {
|
|
550
|
+
if (!domRef || process.env.NODE_ENV === "test") return;
|
|
551
|
+
const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(domRef.current);
|
|
552
|
+
if (!ownerDocument || !ownerDocument.head || ownerDocument.getElementById($f6c31cce2adf654f$var$STYLE_ID)) return;
|
|
553
|
+
const style = ownerDocument.createElement("style");
|
|
554
|
+
style.id = $f6c31cce2adf654f$var$STYLE_ID;
|
|
555
|
+
style.textContent = `
|
|
556
|
+
@layer {
|
|
557
|
+
[${$f6c31cce2adf654f$var$PRESSABLE_ATTRIBUTE}] {
|
|
558
|
+
touch-action: pan-x pan-y pinch-zoom;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
`.trim();
|
|
562
|
+
ownerDocument.head.prepend(style);
|
|
563
|
+
}, [domRef]);
|
|
564
|
+
useEffect(() => {
|
|
565
|
+
let state = ref.current;
|
|
566
|
+
return () => {
|
|
567
|
+
var _state_target;
|
|
568
|
+
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$b0d6fa1ab32e3295((_state_target = state.target) !== null && _state_target !== void 0 ? _state_target : void 0);
|
|
569
|
+
for (let dispose of state.disposables) dispose();
|
|
570
|
+
state.disposables = [];
|
|
571
|
+
};
|
|
572
|
+
}, [allowTextSelectionOnPress]);
|
|
573
|
+
return {
|
|
574
|
+
isPressed: isPressedProp || isPressed,
|
|
575
|
+
pressProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, pressProps, { [$f6c31cce2adf654f$var$PRESSABLE_ATTRIBUTE]: true })
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
function $f6c31cce2adf654f$var$isHTMLAnchorLink(target) {
|
|
579
|
+
return target.tagName === "A" && target.hasAttribute("href");
|
|
580
|
+
}
|
|
581
|
+
function $f6c31cce2adf654f$var$isValidKeyboardEvent(event, currentTarget) {
|
|
582
|
+
const { key, code } = event;
|
|
583
|
+
const element = currentTarget;
|
|
584
|
+
const role = element.getAttribute("role");
|
|
585
|
+
return (key === "Enter" || key === " " || key === "Spacebar" || code === "Space") && !(element instanceof $431fbd86ca7dc216$export$f21a1ffae260145a(element).HTMLInputElement && !$f6c31cce2adf654f$var$isValidInputKey(element, key) || element instanceof $431fbd86ca7dc216$export$f21a1ffae260145a(element).HTMLTextAreaElement || element.isContentEditable) && !((role === "link" || !role && $f6c31cce2adf654f$var$isHTMLAnchorLink(element)) && key !== "Enter");
|
|
586
|
+
}
|
|
587
|
+
function $f6c31cce2adf654f$var$getTouchFromEvent(event) {
|
|
588
|
+
const { targetTouches } = event;
|
|
589
|
+
if (targetTouches.length > 0) return targetTouches[0];
|
|
590
|
+
return null;
|
|
591
|
+
}
|
|
592
|
+
function $f6c31cce2adf654f$var$getTouchById(event, pointerId) {
|
|
593
|
+
const changedTouches = event.changedTouches;
|
|
594
|
+
for (let i = 0; i < changedTouches.length; i++) {
|
|
595
|
+
const touch = changedTouches[i];
|
|
596
|
+
if (touch.identifier === pointerId) return touch;
|
|
597
|
+
}
|
|
598
|
+
return null;
|
|
599
|
+
}
|
|
600
|
+
function $f6c31cce2adf654f$var$createTouchEvent(target, e) {
|
|
601
|
+
let clientX = 0;
|
|
602
|
+
let clientY = 0;
|
|
603
|
+
if (e.targetTouches && e.targetTouches.length === 1) {
|
|
604
|
+
clientX = e.targetTouches[0].clientX;
|
|
605
|
+
clientY = e.targetTouches[0].clientY;
|
|
606
|
+
}
|
|
607
|
+
return {
|
|
608
|
+
currentTarget: target,
|
|
609
|
+
shiftKey: e.shiftKey,
|
|
610
|
+
ctrlKey: e.ctrlKey,
|
|
611
|
+
metaKey: e.metaKey,
|
|
612
|
+
altKey: e.altKey,
|
|
613
|
+
clientX,
|
|
614
|
+
clientY
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
function $f6c31cce2adf654f$var$createEvent(target, e) {
|
|
618
|
+
let clientX = e.clientX;
|
|
619
|
+
let clientY = e.clientY;
|
|
620
|
+
return {
|
|
621
|
+
currentTarget: target,
|
|
622
|
+
shiftKey: e.shiftKey,
|
|
623
|
+
ctrlKey: e.ctrlKey,
|
|
624
|
+
metaKey: e.metaKey,
|
|
625
|
+
altKey: e.altKey,
|
|
626
|
+
clientX,
|
|
627
|
+
clientY,
|
|
628
|
+
key: e.key
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
function $f6c31cce2adf654f$var$getPointClientRect(point) {
|
|
632
|
+
let offsetX = 0;
|
|
633
|
+
let offsetY = 0;
|
|
634
|
+
if (point.width !== void 0) offsetX = point.width / 2;
|
|
635
|
+
else if (point.radiusX !== void 0) offsetX = point.radiusX;
|
|
636
|
+
if (point.height !== void 0) offsetY = point.height / 2;
|
|
637
|
+
else if (point.radiusY !== void 0) offsetY = point.radiusY;
|
|
638
|
+
return {
|
|
639
|
+
top: point.clientY - offsetY,
|
|
640
|
+
right: point.clientX + offsetX,
|
|
641
|
+
bottom: point.clientY + offsetY,
|
|
642
|
+
left: point.clientX - offsetX
|
|
643
|
+
};
|
|
644
|
+
}
|
|
645
|
+
function $f6c31cce2adf654f$var$areRectanglesOverlapping(a, b) {
|
|
646
|
+
if (a.left > b.right || b.left > a.right) return false;
|
|
647
|
+
if (a.top > b.bottom || b.top > a.bottom) return false;
|
|
648
|
+
return true;
|
|
649
|
+
}
|
|
650
|
+
function $f6c31cce2adf654f$var$isOverTarget(point, target) {
|
|
651
|
+
return $f6c31cce2adf654f$var$areRectanglesOverlapping(target.getBoundingClientRect(), $f6c31cce2adf654f$var$getPointClientRect(point));
|
|
652
|
+
}
|
|
653
|
+
function $f6c31cce2adf654f$var$shouldPreventDefaultUp(target) {
|
|
654
|
+
if (target instanceof HTMLInputElement) return false;
|
|
655
|
+
if (target instanceof HTMLButtonElement) return target.type !== "submit" && target.type !== "reset";
|
|
656
|
+
if ($f6c31cce2adf654f$var$isHTMLAnchorLink(target)) return false;
|
|
657
|
+
return true;
|
|
658
|
+
}
|
|
659
|
+
function $f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(target, key) {
|
|
660
|
+
if (target instanceof HTMLInputElement) return !$f6c31cce2adf654f$var$isValidInputKey(target, key);
|
|
661
|
+
return $f6c31cce2adf654f$var$shouldPreventDefaultUp(target);
|
|
662
|
+
}
|
|
663
|
+
var $f6c31cce2adf654f$var$nonTextInputTypes = new Set([
|
|
664
|
+
"checkbox",
|
|
665
|
+
"radio",
|
|
666
|
+
"range",
|
|
667
|
+
"color",
|
|
668
|
+
"file",
|
|
669
|
+
"image",
|
|
670
|
+
"button",
|
|
671
|
+
"submit",
|
|
672
|
+
"reset"
|
|
673
|
+
]);
|
|
674
|
+
function $f6c31cce2adf654f$var$isValidInputKey(target, key) {
|
|
675
|
+
return target.type === "checkbox" || target.type === "radio" ? key === " " : $f6c31cce2adf654f$var$nonTextInputTypes.has(target.type);
|
|
676
|
+
}
|
|
677
|
+
//#endregion
|
|
678
|
+
export { $ae1eeba8b9eafd08$export$5165eccb35aaadb5 as n, $f6c31cce2adf654f$export$45712eceda6fad21 as t };
|