@eightshift/ui-components 8.5.0 → 9.0.0-beta.2
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/README.md +73 -4
- package/dist/AnimatePresence-d1_liqRo.js +9 -0
- package/dist/Autocomplete-CQH-8_68.js +1 -0
- package/dist/Button-DhaWFe8e.js +1 -0
- package/dist/Checkbox-CrF0YJpD.js +1 -0
- package/dist/Dialog-CapEn0UN.js +5 -0
- package/dist/FocusScope-BoxZvmWP.js +1 -0
- package/dist/Form-BRnR5K3X.js +1 -0
- package/dist/Heading-DMnq9QZH.js +1 -0
- package/dist/Hidden-BK7EwYvz.js +1 -0
- package/dist/I18nProvider-BEh6VvSv.js +1 -0
- package/dist/Input-DldfdALf.js +1 -0
- package/dist/ListBox-fe9bhB2y.js +1 -0
- package/dist/NumberFormatter-nhsGk7J2.js +1 -0
- package/dist/PortalProvider-CJT9hS6n.js +1 -0
- package/dist/RadioGroup-yAsG5Pon.js +1 -0
- package/dist/SearchField-BtcWW7kv.js +1 -0
- package/dist/SelectionIndicator-Bslc4sCw.js +1 -0
- package/dist/Slider-B_pPPuRp.js +1 -0
- package/dist/Text-CKNC-T46.js +1 -0
- package/dist/VisuallyHidden-D5n5kSd7.js +1 -0
- package/dist/animation-CmxZG3Hu.js +1 -0
- package/dist/assets/font-allo.css +11 -0
- package/dist/assets/font-dm-mono.css +1 -0
- package/dist/assets/fonts/Allo-OFL.txt +93 -0
- package/dist/assets/fonts/AlloVariable.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-300-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-ext-300-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/dm-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts-manifest.json +13 -49
- package/dist/assets/style-admin.css +2 -4
- package/dist/assets/style-editor.css +2 -4
- package/dist/assets/style.css +2 -4
- package/dist/assets/wp-overrides/allow-full-width-blocks.css +1 -1
- package/dist/assets/wp-overrides/fix-label-text-case.css +2 -2
- package/dist/assets/wp-overrides/increase-sidebar-width.css +2 -2
- package/dist/assets/wp-overrides/make-block-messages-nicer.css +2 -2
- package/dist/assets/wp-overrides/replace-fonts.css +2 -2
- package/dist/assets/wp-overrides/restyle-tooltips.css +2 -2
- package/dist/assets/wp-overrides/round-corners.css +2 -2
- package/dist/assets/wp-overrides/unify-button-sizes.css +2 -2
- package/dist/build-module-CslE_kF6.js +1 -0
- package/dist/button-C_B2CkrL.js +1 -0
- package/dist/clsx-DB0hHKMi.js +1 -0
- package/dist/color-swatch-DUJ3Q4oy.js +1 -0
- package/dist/components/animated-visibility/animated-visibility.js +1 -82
- package/dist/components/base-control/base-control.d.ts +3 -1
- package/dist/components/base-control/base-control.js +1 -69
- package/dist/components/base-control/{container.d.ts → control-group.d.ts} +19 -26
- package/dist/components/base-control/control-group.js +1 -0
- package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -151
- package/dist/components/button/button.d.ts +16 -22
- package/dist/components/button/button.js +1 -2
- package/dist/components/button/styles.d.ts +15 -0
- package/dist/components/button/styles.js +1 -0
- package/dist/components/checkbox/checkbox.d.ts +2 -4
- package/dist/components/checkbox/checkbox.js +1 -2
- package/dist/components/color-pickers/color-picker.js +1 -158
- package/dist/components/color-pickers/color-swatch.d.ts +0 -2
- package/dist/components/color-pickers/color-swatch.js +1 -2
- package/dist/components/color-pickers/gradient-editor.js +1 -2
- package/dist/components/color-pickers/solid-color-picker.js +1 -2
- package/dist/components/contextual-help/contextual-help.d.ts +2 -1
- package/dist/components/contextual-help/contextual-help.js +1 -82
- package/dist/components/{expandable/expandable.d.ts → disclosure/disclosure.d.ts} +15 -10
- package/dist/components/disclosure/disclosure.js +1 -0
- package/dist/components/draggable/draggable-context.js +1 -9
- package/dist/components/draggable/draggable-handle.js +1 -29
- package/dist/components/draggable/draggable.d.ts +9 -4
- package/dist/components/draggable/draggable.js +1 -2
- package/dist/components/draggable-list/draggable-list-context.js +1 -5
- package/dist/components/draggable-list/draggable-list-item.js +1 -61
- package/dist/components/draggable-list/draggable-list.d.ts +9 -2
- package/dist/components/draggable-list/draggable-list.js +1 -109
- package/dist/components/empty-state/empty-state.d.ts +19 -0
- package/dist/components/empty-state/empty-state.js +1 -0
- package/dist/components/index.d.ts +10 -19
- package/dist/components/index.js +1 -60
- package/dist/components/input-field/date-controls.d.ts +28 -0
- package/dist/components/input-field/date-controls.js +1 -0
- package/dist/components/input-field/input-clear-button.d.ts +8 -0
- package/dist/components/input-field/input-clear-button.js +1 -0
- package/dist/components/input-field/input-field.d.ts +12 -23
- package/dist/components/input-field/input-field.js +1 -2
- package/dist/components/input-field/input.d.ts +17 -0
- package/dist/components/input-field/input.js +1 -0
- package/dist/components/input-field/styles.d.ts +7 -0
- package/dist/components/input-field/styles.js +1 -0
- package/dist/components/intro-card/intro-card.d.ts +29 -0
- package/dist/components/intro-card/intro-card.js +1 -0
- package/dist/components/item-collection/item-collection.js +1 -52
- package/dist/components/layout/hstack.js +1 -25
- package/dist/components/layout/vstack.js +1 -25
- package/dist/components/link-input/link-input.d.ts +3 -3
- package/dist/components/link-input/link-input.js +1 -2
- package/dist/components/list/list.d.ts +7 -0
- package/dist/components/list/list.js +1 -0
- package/dist/components/list/reorderable-grid.d.ts +36 -0
- package/dist/components/list/reorderable-grid.js +1 -0
- package/dist/components/list/use-reorderable-rows.d.ts +4 -0
- package/dist/components/list/use-reorderable-rows.js +1 -0
- package/dist/components/matrix-align/matrix-align.js +1 -123
- package/dist/components/menu/menu.js +1 -239
- package/dist/components/modal/modal.js +1 -2
- package/dist/components/notice/notice.d.ts +0 -2
- package/dist/components/notice/notice.js +1 -92
- package/dist/components/number-picker/number-picker.d.ts +2 -4
- package/dist/components/number-picker/number-picker.js +1 -2
- package/dist/components/option-checkmark.d.ts +3 -0
- package/dist/components/option-checkmark.js +1 -0
- package/dist/components/option-picker/buttons.d.ts +20 -0
- package/dist/components/option-picker/buttons.js +1 -0
- package/dist/components/option-picker/checkboxes.d.ts +17 -0
- package/dist/components/option-picker/checkboxes.js +1 -0
- package/dist/components/option-picker/menu.d.ts +41 -0
- package/dist/components/option-picker/menu.js +1 -0
- package/dist/components/option-picker/option-picker.d.ts +26 -0
- package/dist/components/option-picker/option-picker.js +1 -0
- package/dist/components/option-picker/point.d.ts +18 -0
- package/dist/components/option-picker/point.js +1 -0
- package/dist/components/option-picker/radios.d.ts +16 -0
- package/dist/components/option-picker/radios.js +1 -0
- package/dist/components/option-picker/shared.d.ts +30 -0
- package/dist/components/option-picker/shared.js +1 -0
- package/dist/components/page-header/page-header.d.ts +32 -0
- package/dist/components/page-header/page-header.js +1 -0
- package/dist/components/panel/panel.d.ts +2 -0
- package/dist/components/panel/panel.js +1 -0
- package/dist/components/placeholders/file-picker-shell.d.ts +24 -55
- package/dist/components/placeholders/file-picker-shell.js +1 -87
- package/dist/components/placeholders/file-placeholder.d.ts +4 -2
- package/dist/components/placeholders/file-placeholder.js +1 -42
- package/dist/components/placeholders/image-placeholder.d.ts +0 -9
- package/dist/components/placeholders/image-placeholder.js +1 -53
- package/dist/components/popover/popover.d.ts +12 -7
- package/dist/components/popover/popover.js +1 -125
- package/dist/components/popover/resizing-popover.d.ts +14 -0
- package/dist/components/popover/resizing-popover.js +1 -0
- package/dist/components/popover/styles.d.ts +1 -0
- package/dist/components/popover/styles.js +1 -0
- package/dist/components/popover/suggestion-empty-state.d.ts +1 -0
- package/dist/components/popover/suggestion-empty-state.js +1 -0
- package/dist/components/portal-provider/portal-provider.js +1 -26
- package/dist/components/prompt-popover/prompt-popover.d.ts +4 -4
- package/dist/components/prompt-popover/prompt-popover.js +1 -83
- package/dist/components/radio/radio.d.ts +3 -14
- package/dist/components/radio/radio.js +1 -254
- package/dist/components/repeater/repeater-context.d.ts +4 -5
- package/dist/components/repeater/repeater-context.js +1 -5
- package/dist/components/repeater/repeater-item.d.ts +2 -2
- package/dist/components/repeater/repeater-item.js +1 -92
- package/dist/components/repeater/repeater.d.ts +5 -2
- package/dist/components/repeater/repeater.js +1 -198
- package/dist/components/responsive/mini-responsive.js +1 -409
- package/dist/components/responsive/responsive-legacy.d.ts +1 -1
- package/dist/components/responsive/responsive-legacy.js +1 -272
- package/dist/components/responsive/responsive.js +1 -449
- package/dist/components/responsive-preview/responsive-preview.js +1 -93
- package/dist/components/rich-label/rich-label.d.ts +2 -0
- package/dist/components/rich-label/rich-label.js +1 -70
- package/dist/components/select/async-multi-select.d.ts +8 -21
- package/dist/components/select/async-multi-select.js +1 -371
- package/dist/components/select/async-select-loader.d.ts +38 -0
- package/dist/components/select/async-select-loader.js +1 -0
- package/dist/components/select/async-select.d.ts +8 -21
- package/dist/components/select/async-select.js +1 -288
- package/dist/components/select/multi-select.d.ts +5 -3
- package/dist/components/select/multi-select.js +1 -341
- package/dist/components/select/selected-items-popover.d.ts +15 -0
- package/dist/components/select/selected-items-popover.js +1 -0
- package/dist/components/select/shared.d.ts +12 -3
- package/dist/components/select/shared.js +1 -2
- package/dist/components/select/single-select.d.ts +5 -3
- package/dist/components/select/single-select.js +1 -269
- package/dist/components/select/styles.d.ts +5 -3
- package/dist/components/select/styles.js +1 -108
- package/dist/components/selection-indicator.d.ts +8 -0
- package/dist/components/selection-indicator.js +1 -0
- package/dist/components/slider/column-config-slider.d.ts +0 -2
- package/dist/components/slider/column-config-slider.js +1 -175
- package/dist/components/slider/slider.d.ts +0 -2
- package/dist/components/slider/slider.js +1 -235
- package/dist/components/slider/styles.d.ts +2 -0
- package/dist/components/slider/styles.js +1 -0
- package/dist/components/slider/utils.js +1 -73
- package/dist/components/smart-image/smart-image.js +1 -288
- package/dist/components/spacer/spacer.js +1 -76
- package/dist/components/tabs/tabs.d.ts +33 -22
- package/dist/components/tabs/tabs.js +1 -2
- package/dist/components/toggle/switch.d.ts +2 -4
- package/dist/components/toggle/switch.js +1 -2
- package/dist/components/toggle/toggle.d.ts +0 -2
- package/dist/components/toggle/toggle.js +1 -47
- package/dist/components/toggle-button/toggle-button.d.ts +4 -17
- package/dist/components/toggle-button/toggle-button.js +1 -2
- package/dist/components/tooltip/tooltip.d.ts +4 -4
- package/dist/components/tooltip/tooltip.js +1 -2
- package/dist/date-controls-CX5bNUtF.js +1 -0
- package/dist/debounce-throttle-BlCrtRhZ.js +1 -0
- package/dist/disclosure-DYBM7fJk.js +1 -0
- package/dist/dist-BogNzeK9.js +1 -0
- package/dist/dist-C7IRUxSh.js +1 -0
- package/dist/draggable-9cdMY-oW.js +67 -0
- package/dist/es-dash-Fi4--j2S.js +1 -0
- package/dist/filterDOMProps-DKemR-4v.js +1 -0
- package/dist/gradient-editor-DB-RPeth.js +1 -0
- package/dist/icons/block-icon.js +1 -33
- package/dist/icons/generated-icon-loaders.js +1 -760
- package/dist/icons/generic-color-swatch.js +1 -83
- package/dist/icons/icon.js +1 -79
- package/dist/icons/icons.js +1 -219
- package/dist/icons/index.js +1 -759
- package/dist/icons/internal.js +1 -758
- package/dist/icons/jsx-svg.js +1 -2
- package/dist/icons/spinner.d.ts +1 -1
- package/dist/icons/spinner.js +1 -17
- package/dist/icons/ui-icons/a11y-warning.js +1 -34
- package/dist/icons/ui-icons/a11y.js +1 -29
- package/dist/icons/ui-icons/accelerometer.js +1 -51
- package/dist/icons/ui-icons/activity-log.js +1 -53
- package/dist/icons/ui-icons/add.js +1 -20
- package/dist/icons/ui-icons/alert.js +1 -31
- package/dist/icons/ui-icons/align-horizontal-vertical-alt.js +1 -37
- package/dist/icons/ui-icons/align-horizontal-vertical-alt2.js +1 -36
- package/dist/icons/ui-icons/align-horizontal-vertical.js +1 -34
- package/dist/icons/ui-icons/alt-text-generic-alt.js +1 -19
- package/dist/icons/ui-icons/alt-text-generic.js +1 -25
- package/dist/icons/ui-icons/alt-text.js +1 -36
- package/dist/icons/ui-icons/anchor-page.js +1 -44
- package/dist/icons/ui-icons/anchor.js +1 -28
- package/dist/icons/ui-icons/angle.js +1 -24
- package/dist/icons/ui-icons/animation-file.js +1 -66
- package/dist/icons/ui-icons/animation-generic.js +1 -36
- package/dist/icons/ui-icons/animation-list-generic.js +1 -41
- package/dist/icons/ui-icons/animation-settings-generic.js +1 -41
- package/dist/icons/ui-icons/animation.js +1 -55
- package/dist/icons/ui-icons/archive-file.js +1 -24
- package/dist/icons/ui-icons/archive.js +1 -39
- package/dist/icons/ui-icons/aria-label.js +1 -42
- package/dist/icons/ui-icons/arrow-down-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-down-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-down-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-down-square.js +1 -28
- package/dist/icons/ui-icons/arrow-down.js +1 -20
- package/dist/icons/ui-icons/arrow-left-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-left-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-left-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-left-square.js +1 -28
- package/dist/icons/ui-icons/arrow-left.js +1 -20
- package/dist/icons/ui-icons/arrow-right-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-right-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-right-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-right-square.js +1 -28
- package/dist/icons/ui-icons/arrow-right.js +1 -20
- package/dist/icons/ui-icons/arrow-up-circle-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-up-circle.js +1 -28
- package/dist/icons/ui-icons/arrow-up-square-alt.js +1 -28
- package/dist/icons/ui-icons/arrow-up-square.js +1 -28
- package/dist/icons/ui-icons/arrow-up.js +1 -20
- package/dist/icons/ui-icons/arrows-down.js +1 -38
- package/dist/icons/ui-icons/arrows-horizontal.js +1 -20
- package/dist/icons/ui-icons/arrows-left-diagonal.js +1 -20
- package/dist/icons/ui-icons/arrows-left.js +1 -38
- package/dist/icons/ui-icons/arrows-right-diagonal.js +1 -20
- package/dist/icons/ui-icons/arrows-right.js +1 -38
- package/dist/icons/ui-icons/arrows-up.js +1 -38
- package/dist/icons/ui-icons/arrows-vertical.js +1 -20
- package/dist/icons/ui-icons/aspect-ratio-auto.js +1 -38
- package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-square.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-three-two.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.js +1 -28
- package/dist/icons/ui-icons/aspect-ratio.js +1 -27
- package/dist/icons/ui-icons/attachment.js +1 -19
- package/dist/icons/ui-icons/auto-close.js +1 -26
- package/dist/icons/ui-icons/auto-pause-scroll.js +1 -39
- package/dist/icons/ui-icons/auto-pause.js +1 -26
- package/dist/icons/ui-icons/automatic-alt.js +1 -19
- package/dist/icons/ui-icons/automatic.js +1 -20
- package/dist/icons/ui-icons/autoplay-alt.js +1 -34
- package/dist/icons/ui-icons/autoplay-alt2.js +1 -23
- package/dist/icons/ui-icons/autoplay.js +1 -36
- package/dist/icons/ui-icons/award.js +1 -39
- package/dist/icons/ui-icons/background-blur.js +1 -66
- package/dist/icons/ui-icons/background-color-swatch.js +1 -48
- package/dist/icons/ui-icons/background-image.js +1 -41
- package/dist/icons/ui-icons/background-repeat.js +1 -95
- package/dist/icons/ui-icons/background-type-alt.js +1 -38
- package/dist/icons/ui-icons/background-type-alt2.js +1 -27
- package/dist/icons/ui-icons/background-type.js +1 -27
- package/dist/icons/ui-icons/block-parts.js +1 -54
- package/dist/icons/ui-icons/bold.js +1 -21
- package/dist/icons/ui-icons/book.js +1 -40
- package/dist/icons/ui-icons/bookmark.js +1 -18
- package/dist/icons/ui-icons/boolean-exclude.js +1 -24
- package/dist/icons/ui-icons/boolean-intersect.js +1 -31
- package/dist/icons/ui-icons/boolean-subtract.js +1 -27
- package/dist/icons/ui-icons/boolean-union.js +1 -33
- package/dist/icons/ui-icons/border-color.js +1 -79
- package/dist/icons/ui-icons/border.js +1 -60
- package/dist/icons/ui-icons/bot-deny.js +1 -61
- package/dist/icons/ui-icons/bot.js +1 -47
- package/dist/icons/ui-icons/box.js +1 -35
- package/dist/icons/ui-icons/brain.js +1 -20
- package/dist/icons/ui-icons/branch-fork.js +1 -46
- package/dist/icons/ui-icons/branch.js +1 -46
- package/dist/icons/ui-icons/briefcase.js +1 -26
- package/dist/icons/ui-icons/browser.js +1 -60
- package/dist/icons/ui-icons/button-disabled.js +1 -30
- package/dist/icons/ui-icons/button-filled.js +1 -19
- package/dist/icons/ui-icons/button-ghost.js +1 -28
- package/dist/icons/ui-icons/button-outline.js +1 -27
- package/dist/icons/ui-icons/calculator.js +1 -139
- package/dist/icons/ui-icons/calendar-add.js +1 -51
- package/dist/icons/ui-icons/calendar-download.js +1 -62
- package/dist/icons/ui-icons/calendar-remove.js +1 -51
- package/dist/icons/ui-icons/calendar.js +1 -34
- package/dist/icons/ui-icons/caption-generic.js +1 -25
- package/dist/icons/ui-icons/card-featured.js +1 -28
- package/dist/icons/ui-icons/caret-down-fill.js +1 -19
- package/dist/icons/ui-icons/caret-down.js +1 -19
- package/dist/icons/ui-icons/caret-left-fill.js +1 -19
- package/dist/icons/ui-icons/caret-left.js +1 -19
- package/dist/icons/ui-icons/caret-right-fill.js +1 -19
- package/dist/icons/ui-icons/caret-right.js +1 -19
- package/dist/icons/ui-icons/caret-up-fill.js +1 -19
- package/dist/icons/ui-icons/caret-up.js +1 -19
- package/dist/icons/ui-icons/center-point.js +1 -25
- package/dist/icons/ui-icons/chat-bubble-alt.js +1 -25
- package/dist/icons/ui-icons/chat-bubble.js +1 -19
- package/dist/icons/ui-icons/chat.js +1 -25
- package/dist/icons/ui-icons/check-circle-fill-transparent.js +1 -24
- package/dist/icons/ui-icons/check-circle-fill.js +1 -17
- package/dist/icons/ui-icons/check-circle.js +1 -27
- package/dist/icons/ui-icons/check-square.js +1 -28
- package/dist/icons/ui-icons/check.js +1 -20
- package/dist/icons/ui-icons/checks-circle.js +1 -26
- package/dist/icons/ui-icons/checks.js +1 -26
- package/dist/icons/ui-icons/chevron-down.js +1 -20
- package/dist/icons/ui-icons/chevron-left.js +1 -20
- package/dist/icons/ui-icons/chevron-right.js +1 -20
- package/dist/icons/ui-icons/chevron-up.js +1 -20
- package/dist/icons/ui-icons/clear-alt.js +1 -25
- package/dist/icons/ui-icons/clear.js +1 -20
- package/dist/icons/ui-icons/clipboard-plain.js +1 -35
- package/dist/icons/ui-icons/clipboard.js +1 -43
- package/dist/icons/ui-icons/clock.js +1 -26
- package/dist/icons/ui-icons/closed-captions.js +1 -27
- package/dist/icons/ui-icons/code-variable.js +1 -20
- package/dist/icons/ui-icons/code.js +1 -20
- package/dist/icons/ui-icons/color-alt.js +1 -40
- package/dist/icons/ui-icons/color-fill-swatch.js +1 -61
- package/dist/icons/ui-icons/color-picker-fill.js +1 -42
- package/dist/icons/ui-icons/color-picker-list-marker.js +1 -41
- package/dist/icons/ui-icons/color-picker-text-highlight.js +1 -19
- package/dist/icons/ui-icons/color-picker-text.js +1 -20
- package/dist/icons/ui-icons/color-select.js +1 -33
- package/dist/icons/ui-icons/color.js +1 -22
- package/dist/icons/ui-icons/column-gutters-lr.js +1 -54
- package/dist/icons/ui-icons/columns.js +1 -42
- package/dist/icons/ui-icons/columns3366.js +1 -30
- package/dist/icons/ui-icons/columns6633.js +1 -30
- package/dist/icons/ui-icons/component-generic.js +1 -27
- package/dist/icons/ui-icons/component-options.js +1 -36
- package/dist/icons/ui-icons/condition-h.js +1 -20
- package/dist/icons/ui-icons/condition-v.js +1 -20
- package/dist/icons/ui-icons/conditional-visibility.js +1 -26
- package/dist/icons/ui-icons/container-height.js +1 -68
- package/dist/icons/ui-icons/container-spacing-h.js +1 -41
- package/dist/icons/ui-icons/container-spacing.js +1 -41
- package/dist/icons/ui-icons/container-width.js +1 -68
- package/dist/icons/ui-icons/content-bottom-left.js +1 -31
- package/dist/icons/ui-icons/content-bottom-right.js +1 -31
- package/dist/icons/ui-icons/content-center.js +1 -31
- package/dist/icons/ui-icons/content-top-left.js +1 -31
- package/dist/icons/ui-icons/content-top-right.js +1 -31
- package/dist/icons/ui-icons/contrast-alt.js +1 -27
- package/dist/icons/ui-icons/contrast.js +1 -26
- package/dist/icons/ui-icons/cookie-alt.js +1 -124
- package/dist/icons/ui-icons/cookie.js +1 -76
- package/dist/icons/ui-icons/copy.js +1 -26
- package/dist/icons/ui-icons/currency.js +1 -48
- package/dist/icons/ui-icons/current-page.js +1 -42
- package/dist/icons/ui-icons/cursor-disabled.js +1 -35
- package/dist/icons/ui-icons/cursor-move.js +1 -20
- package/dist/icons/ui-icons/dark-mode.js +1 -20
- package/dist/icons/ui-icons/data.js +1 -33
- package/dist/icons/ui-icons/date-time.js +1 -67
- package/dist/icons/ui-icons/defer.js +1 -26
- package/dist/icons/ui-icons/description-link.js +1 -40
- package/dist/icons/ui-icons/design.js +1 -48
- package/dist/icons/ui-icons/dice.js +1 -59
- package/dist/icons/ui-icons/divider-bottom.js +1 -23
- package/dist/icons/ui-icons/divider-side.js +1 -53
- package/dist/icons/ui-icons/divider-status.js +1 -53
- package/dist/icons/ui-icons/divider-top.js +1 -23
- package/dist/icons/ui-icons/divider.js +1 -23
- package/dist/icons/ui-icons/door-in.js +1 -32
- package/dist/icons/ui-icons/door-out.js +1 -32
- package/dist/icons/ui-icons/door.js +1 -27
- package/dist/icons/ui-icons/download.js +1 -20
- package/dist/icons/ui-icons/dropdown-caret-alt.js +1 -17
- package/dist/icons/ui-icons/dropdown-caret.js +1 -20
- package/dist/icons/ui-icons/dropdown-close.js +1 -52
- package/dist/icons/ui-icons/dropdown-open.js +1 -38
- package/dist/icons/ui-icons/dropdown.js +1 -38
- package/dist/icons/ui-icons/dummy-spacer.js +1 -17
- package/dist/icons/ui-icons/edit-options.js +1 -32
- package/dist/icons/ui-icons/edit.js +1 -22
- package/dist/icons/ui-icons/email-remove.js +1 -42
- package/dist/icons/ui-icons/email.js +1 -28
- package/dist/icons/ui-icons/embed.js +1 -28
- package/dist/icons/ui-icons/empty-circle.js +1 -23
- package/dist/icons/ui-icons/empty-rect.js +1 -25
- package/dist/icons/ui-icons/equal-columns.js +1 -25
- package/dist/icons/ui-icons/equal-rows.js +1 -25
- package/dist/icons/ui-icons/equals.js +1 -20
- package/dist/icons/ui-icons/error-circle-fill-transparent.js +1 -23
- package/dist/icons/ui-icons/error-circle-fill.js +1 -17
- package/dist/icons/ui-icons/error-circle.js +1 -24
- package/dist/icons/ui-icons/exclude-item-alt.js +1 -38
- package/dist/icons/ui-icons/exclude-item.js +1 -42
- package/dist/icons/ui-icons/exclude.js +1 -29
- package/dist/icons/ui-icons/expand-xl.js +1 -20
- package/dist/icons/ui-icons/expand.js +1 -20
- package/dist/icons/ui-icons/experiment.js +1 -33
- package/dist/icons/ui-icons/external-link.js +1 -25
- package/dist/icons/ui-icons/extract-alt.js +1 -25
- package/dist/icons/ui-icons/extract.js +1 -25
- package/dist/icons/ui-icons/eyedropper.js +1 -36
- package/dist/icons/ui-icons/fast-forward.js +1 -26
- package/dist/icons/ui-icons/fast-reverse.js +1 -26
- package/dist/icons/ui-icons/field-after-text.js +1 -54
- package/dist/icons/ui-icons/field-before-text.js +1 -46
- package/dist/icons/ui-icons/field-disabled.js +1 -35
- package/dist/icons/ui-icons/field-help.js +1 -46
- package/dist/icons/ui-icons/field-label.js +1 -38
- package/dist/icons/ui-icons/field-name.js +1 -45
- package/dist/icons/ui-icons/field-placeholder.js +1 -49
- package/dist/icons/ui-icons/field-readonly.js +1 -36
- package/dist/icons/ui-icons/field-required.js +1 -37
- package/dist/icons/ui-icons/field-type.js +1 -36
- package/dist/icons/ui-icons/field-value.js +1 -46
- package/dist/icons/ui-icons/field-width.js +1 -27
- package/dist/icons/ui-icons/file-download.js +1 -33
- package/dist/icons/ui-icons/file-error.js +1 -25
- package/dist/icons/ui-icons/file-metadata.js +1 -41
- package/dist/icons/ui-icons/file-pdf.js +1 -34
- package/dist/icons/ui-icons/file-size-max.js +1 -33
- package/dist/icons/ui-icons/file-size-min.js +1 -33
- package/dist/icons/ui-icons/file-size.js +1 -34
- package/dist/icons/ui-icons/file-type.js +1 -42
- package/dist/icons/ui-icons/file-upload.js +1 -33
- package/dist/icons/ui-icons/file.js +1 -24
- package/dist/icons/ui-icons/files.js +1 -34
- package/dist/icons/ui-icons/fill-color.js +1 -49
- package/dist/icons/ui-icons/filter-alt.js +1 -24
- package/dist/icons/ui-icons/filter.js +1 -20
- package/dist/icons/ui-icons/flag-alt.js +1 -24
- package/dist/icons/ui-icons/flag.js +1 -24
- package/dist/icons/ui-icons/flip-h.js +1 -27
- package/dist/icons/ui-icons/flip-v.js +1 -27
- package/dist/icons/ui-icons/focus.js +1 -21
- package/dist/icons/ui-icons/folder-add.js +1 -22
- package/dist/icons/ui-icons/folder-open-solid.js +1 -17
- package/dist/icons/ui-icons/folder-open.js +1 -19
- package/dist/icons/ui-icons/folder-solid.js +1 -17
- package/dist/icons/ui-icons/folder-top-level.js +1 -22
- package/dist/icons/ui-icons/folder.js +1 -19
- package/dist/icons/ui-icons/font-family.js +1 -24
- package/dist/icons/ui-icons/footer.js +1 -23
- package/dist/icons/ui-icons/form-alt.js +1 -71
- package/dist/icons/ui-icons/form.js +1 -53
- package/dist/icons/ui-icons/four-columns.js +1 -38
- package/dist/icons/ui-icons/frame.js +1 -33
- package/dist/icons/ui-icons/full-max-shield.js +1 -26
- package/dist/icons/ui-icons/full-max-text.js +1 -20
- package/dist/icons/ui-icons/full-width-image.js +1 -35
- package/dist/icons/ui-icons/gears-fill.js +1 -19
- package/dist/icons/ui-icons/gears.js +1 -38
- package/dist/icons/ui-icons/generic-color-swatch.js +1 -6
- package/dist/icons/ui-icons/generic-shapes-alt.js +1 -33
- package/dist/icons/ui-icons/generic-shapes.js +1 -38
- package/dist/icons/ui-icons/globe-anchor.js +1 -55
- package/dist/icons/ui-icons/globe-hash.js +1 -40
- package/dist/icons/ui-icons/globe.js +1 -37
- package/dist/icons/ui-icons/google-tag-manager.js +1 -36
- package/dist/icons/ui-icons/gradient-repeat.js +1 -41
- package/dist/icons/ui-icons/gradient-stop.js +1 -36
- package/dist/icons/ui-icons/gradient.js +1 -54
- package/dist/icons/ui-icons/grid-alt.js +1 -19
- package/dist/icons/ui-icons/grid-auto-cols.js +1 -46
- package/dist/icons/ui-icons/grid-auto-rows.js +1 -41
- package/dist/icons/ui-icons/grid-col.js +1 -22
- package/dist/icons/ui-icons/grid-height.js +1 -22
- package/dist/icons/ui-icons/grid-list-toggle.js +1 -48
- package/dist/icons/ui-icons/grid-manual.js +1 -18
- package/dist/icons/ui-icons/grid-row.js +1 -22
- package/dist/icons/ui-icons/grid-width.js +1 -22
- package/dist/icons/ui-icons/group.js +1 -33
- package/dist/icons/ui-icons/gutter.js +1 -28
- package/dist/icons/ui-icons/gyroscope.js +1 -53
- package/dist/icons/ui-icons/h1.js +1 -28
- package/dist/icons/ui-icons/h2.js +1 -28
- package/dist/icons/ui-icons/h3.js +1 -28
- package/dist/icons/ui-icons/h4.js +1 -28
- package/dist/icons/ui-icons/h5.js +1 -28
- package/dist/icons/ui-icons/h6.js +1 -28
- package/dist/icons/ui-icons/hamburger-menu.js +1 -19
- package/dist/icons/ui-icons/hard-drive.js +1 -35
- package/dist/icons/ui-icons/header.js +1 -23
- package/dist/icons/ui-icons/heading-level-alt.js +1 -28
- package/dist/icons/ui-icons/heading-level.js +1 -28
- package/dist/icons/ui-icons/heading.js +1 -20
- package/dist/icons/ui-icons/heart-fill-transparent.js +1 -19
- package/dist/icons/ui-icons/heart-fill.js +1 -18
- package/dist/icons/ui-icons/heart.js +1 -18
- package/dist/icons/ui-icons/height.js +1 -30
- package/dist/icons/ui-icons/help-alt.js +1 -25
- package/dist/icons/ui-icons/help-fill.js +1 -17
- package/dist/icons/ui-icons/help.js +1 -35
- package/dist/icons/ui-icons/hide.js +1 -29
- package/dist/icons/ui-icons/highlighted-checkmark.js +1 -24
- package/dist/icons/ui-icons/highlighted-exclamation-mark.js +1 -33
- package/dist/icons/ui-icons/history.js +1 -26
- package/dist/icons/ui-icons/horizontal-align-alt.js +1 -27
- package/dist/icons/ui-icons/horizontal-align-around.js +1 -37
- package/dist/icons/ui-icons/horizontal-align-between-alt.js +1 -37
- package/dist/icons/ui-icons/horizontal-align-between.js +1 -46
- package/dist/icons/ui-icons/horizontal-align-center.js +1 -41
- package/dist/icons/ui-icons/horizontal-align-evenly.js +1 -37
- package/dist/icons/ui-icons/horizontal-align-left.js +1 -44
- package/dist/icons/ui-icons/horizontal-align-right.js +1 -48
- package/dist/icons/ui-icons/horizontal-align-stretch.js +1 -37
- package/dist/icons/ui-icons/horizontal-align.js +1 -35
- package/dist/icons/ui-icons/hover-background-glow.js +1 -61
- package/dist/icons/ui-icons/hover-background-type.js +1 -34
- package/dist/icons/ui-icons/hover-invert-object.js +1 -42
- package/dist/icons/ui-icons/hover-invert-text.js +1 -32
- package/dist/icons/ui-icons/hover-rotate.js +1 -20
- package/dist/icons/ui-icons/hover-zoom.js +1 -25
- package/dist/icons/ui-icons/hyphenate-alt.js +1 -20
- package/dist/icons/ui-icons/hyphenate-alt2.js +1 -20
- package/dist/icons/ui-icons/hyphenate.js +1 -25
- package/dist/icons/ui-icons/icon-generic.js +1 -23
- package/dist/icons/ui-icons/id-card.js +1 -45
- package/dist/icons/ui-icons/id.js +1 -28
- package/dist/icons/ui-icons/image-blur.js +1 -50
- package/dist/icons/ui-icons/image-caption.js +1 -36
- package/dist/icons/ui-icons/image-error.js +1 -36
- package/dist/icons/ui-icons/image-file.js +1 -40
- package/dist/icons/ui-icons/image-lazy-load.js +1 -52
- package/dist/icons/ui-icons/image-opacity.js +1 -31
- package/dist/icons/ui-icons/image-overlay-alt.js +1 -93
- package/dist/icons/ui-icons/image-overlay-alt2.js +1 -93
- package/dist/icons/ui-icons/image-overlay.js +1 -92
- package/dist/icons/ui-icons/image-remove.js +1 -46
- package/dist/icons/ui-icons/image.js +1 -25
- package/dist/icons/ui-icons/index.js +1 -753
- package/dist/icons/ui-icons/info-circle-fill-transparent.js +1 -21
- package/dist/icons/ui-icons/info-circle-fill.js +1 -17
- package/dist/icons/ui-icons/info-circle.js +1 -24
- package/dist/icons/ui-icons/info.js +1 -17
- package/dist/icons/ui-icons/inherit.js +1 -41
- package/dist/icons/ui-icons/inline-gradient-format.js +1 -62
- package/dist/icons/ui-icons/input-field.js +1 -27
- package/dist/icons/ui-icons/italic.js +1 -20
- package/dist/icons/ui-icons/item-limit.js +1 -35
- package/dist/icons/ui-icons/item-select.js +1 -33
- package/dist/icons/ui-icons/item-wrap.js +1 -60
- package/dist/icons/ui-icons/items-per-page.js +1 -48
- package/dist/icons/ui-icons/items-per-row.js +1 -45
- package/dist/icons/ui-icons/key.js +1 -25
- package/dist/icons/ui-icons/keyboard.js +1 -19
- package/dist/icons/ui-icons/large.js +1 -24
- package/dist/icons/ui-icons/latest-posts.js +1 -44
- package/dist/icons/ui-icons/layer-off.js +1 -20
- package/dist/icons/ui-icons/layer.js +1 -19
- package/dist/icons/ui-icons/layers.js +1 -33
- package/dist/icons/ui-icons/layout-alt.js +1 -19
- package/dist/icons/ui-icons/layout-alt2.js +1 -23
- package/dist/icons/ui-icons/layout-alt3.js +1 -19
- package/dist/icons/ui-icons/layout-alt4.js +1 -19
- package/dist/icons/ui-icons/layout-bento-box.js +1 -19
- package/dist/icons/ui-icons/layout-masonry.js +1 -79
- package/dist/icons/ui-icons/layout.js +1 -43
- package/dist/icons/ui-icons/left-panel-alt.js +1 -25
- package/dist/icons/ui-icons/left-panel.js +1 -22
- package/dist/icons/ui-icons/light-bulb-alt.js +1 -30
- package/dist/icons/ui-icons/light-bulb.js +1 -33
- package/dist/icons/ui-icons/light-mode.js +1 -26
- package/dist/icons/ui-icons/limit-width.js +1 -26
- package/dist/icons/ui-icons/line-break-alt-off.js +1 -26
- package/dist/icons/ui-icons/line-break-alt.js +1 -25
- package/dist/icons/ui-icons/line-break-off-alt.js +1 -35
- package/dist/icons/ui-icons/line-break-off.js +1 -41
- package/dist/icons/ui-icons/line-break.js +1 -29
- package/dist/icons/ui-icons/line-breaks-hyphenation.js +1 -36
- package/dist/icons/ui-icons/link-add.js +1 -41
- package/dist/icons/ui-icons/link-nav.js +1 -59
- package/dist/icons/ui-icons/link-remove.js +1 -41
- package/dist/icons/ui-icons/link.js +1 -19
- package/dist/icons/ui-icons/list-indent.js +1 -26
- package/dist/icons/ui-icons/list-ordered.js +1 -43
- package/dist/icons/ui-icons/list-outdent.js +1 -26
- package/dist/icons/ui-icons/list-unordered.js +1 -43
- package/dist/icons/ui-icons/loader-alt.js +1 -19
- package/dist/icons/ui-icons/loader.js +1 -19
- package/dist/icons/ui-icons/location-add.js +1 -44
- package/dist/icons/ui-icons/location-allow.js +1 -44
- package/dist/icons/ui-icons/location-deny.js +1 -44
- package/dist/icons/ui-icons/location-settings.js +1 -36
- package/dist/icons/ui-icons/location.js +1 -26
- package/dist/icons/ui-icons/lock.js +1 -44
- package/dist/icons/ui-icons/loop-mode.js +1 -20
- package/dist/icons/ui-icons/magic-alt-fill-transparent.js +1 -20
- package/dist/icons/ui-icons/magic-alt-fill.js +1 -19
- package/dist/icons/ui-icons/magic-alt.js +1 -19
- package/dist/icons/ui-icons/magic-fill-transparent.js +1 -20
- package/dist/icons/ui-icons/magic-fill.js +1 -19
- package/dist/icons/ui-icons/magic.js +1 -19
- package/dist/icons/ui-icons/map-layer-json.js +1 -35
- package/dist/icons/ui-icons/map-layer-raster.js +1 -121
- package/dist/icons/ui-icons/map-layer-vector.js +1 -81
- package/dist/icons/ui-icons/map-layer.js +1 -26
- package/dist/icons/ui-icons/map-pin.js +1 -41
- package/dist/icons/ui-icons/matrix-align-control-dot-active.js +1 -23
- package/dist/icons/ui-icons/matrix-align-control-dot-inactive.js +1 -21
- package/dist/icons/ui-icons/media.js +1 -49
- package/dist/icons/ui-icons/medium.js +1 -24
- package/dist/icons/ui-icons/menu-item-check.js +1 -20
- package/dist/icons/ui-icons/menu-item-circle.js +1 -19
- package/dist/icons/ui-icons/microphone.js +1 -23
- package/dist/icons/ui-icons/migration-alt-v.js +1 -20
- package/dist/icons/ui-icons/migration-alt.js +1 -20
- package/dist/icons/ui-icons/migration.js +1 -26
- package/dist/icons/ui-icons/module.js +1 -24
- package/dist/icons/ui-icons/money-paper.js +1 -58
- package/dist/icons/ui-icons/more-h-circle.js +1 -40
- package/dist/icons/ui-icons/more-h.js +1 -33
- package/dist/icons/ui-icons/more-v-circle.js +1 -44
- package/dist/icons/ui-icons/more-v.js +1 -36
- package/dist/icons/ui-icons/mouse-cursor.js +1 -20
- package/dist/icons/ui-icons/mouse-wheel.js +1 -27
- package/dist/icons/ui-icons/multi-item-left-inset-mobile.js +1 -58
- package/dist/icons/ui-icons/multi-item-left-inset.js +1 -39
- package/dist/icons/ui-icons/multi-item-right-inset-mobile.js +1 -55
- package/dist/icons/ui-icons/multi-item-right-inset.js +1 -36
- package/dist/icons/ui-icons/multiple.js +1 -34
- package/dist/icons/ui-icons/music-note.js +1 -40
- package/dist/icons/ui-icons/mute-centered.js +1 -20
- package/dist/icons/ui-icons/mute.js +1 -20
- package/dist/icons/ui-icons/narrow-bottom.js +1 -49
- package/dist/icons/ui-icons/narrow-left.js +1 -49
- package/dist/icons/ui-icons/narrow-right.js +1 -49
- package/dist/icons/ui-icons/narrow-top.js +1 -49
- package/dist/icons/ui-icons/navigation-buttons.js +1 -39
- package/dist/icons/ui-icons/new-tab.js +1 -27
- package/dist/icons/ui-icons/newspaper.js +1 -45
- package/dist/icons/ui-icons/none.js +1 -25
- package/dist/icons/ui-icons/notebook.js +1 -44
- package/dist/icons/ui-icons/num0-circle-alt.js +1 -24
- package/dist/icons/ui-icons/num0-circle.js +1 -24
- package/dist/icons/ui-icons/num0-square-alt.js +1 -26
- package/dist/icons/ui-icons/num0-square.js +1 -26
- package/dist/icons/ui-icons/num1-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num1-circle.js +1 -26
- package/dist/icons/ui-icons/num1-square-alt.js +1 -28
- package/dist/icons/ui-icons/num1-square.js +1 -28
- package/dist/icons/ui-icons/num2-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num2-circle.js +1 -26
- package/dist/icons/ui-icons/num2-square-alt.js +1 -28
- package/dist/icons/ui-icons/num2-square.js +1 -28
- package/dist/icons/ui-icons/num3-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num3-circle.js +1 -26
- package/dist/icons/ui-icons/num3-square-alt.js +1 -28
- package/dist/icons/ui-icons/num3-square.js +1 -28
- package/dist/icons/ui-icons/num4-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num4-circle.js +1 -26
- package/dist/icons/ui-icons/num4-square-alt.js +1 -28
- package/dist/icons/ui-icons/num4-square.js +1 -28
- package/dist/icons/ui-icons/num5-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num5-circle.js +1 -26
- package/dist/icons/ui-icons/num5-square-alt.js +1 -28
- package/dist/icons/ui-icons/num5-square.js +1 -28
- package/dist/icons/ui-icons/num6-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num6-circle.js +1 -26
- package/dist/icons/ui-icons/num6-square-alt.js +1 -28
- package/dist/icons/ui-icons/num6-square.js +1 -28
- package/dist/icons/ui-icons/num7-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num7-circle.js +1 -26
- package/dist/icons/ui-icons/num7-square-alt.js +1 -28
- package/dist/icons/ui-icons/num7-square.js +1 -28
- package/dist/icons/ui-icons/num8-circle-alt.js +1 -24
- package/dist/icons/ui-icons/num8-circle.js +1 -24
- package/dist/icons/ui-icons/num8-square-alt.js +1 -26
- package/dist/icons/ui-icons/num8-square.js +1 -26
- package/dist/icons/ui-icons/num9-circle-alt.js +1 -26
- package/dist/icons/ui-icons/num9-circle.js +1 -26
- package/dist/icons/ui-icons/num9-square-alt.js +1 -28
- package/dist/icons/ui-icons/num9-square.js +1 -28
- package/dist/icons/ui-icons/office-building.js +1 -203
- package/dist/icons/ui-icons/office-buildings.js +1 -256
- package/dist/icons/ui-icons/offset-auto.js +1 -46
- package/dist/icons/ui-icons/offset.js +1 -39
- package/dist/icons/ui-icons/option-list-alt.js +1 -61
- package/dist/icons/ui-icons/option-list.js +1 -63
- package/dist/icons/ui-icons/options.js +1 -24
- package/dist/icons/ui-icons/order.js +1 -49
- package/dist/icons/ui-icons/padding-bottom.js +1 -35
- package/dist/icons/ui-icons/padding-top.js +1 -35
- package/dist/icons/ui-icons/padding.js +1 -34
- package/dist/icons/ui-icons/pagination.js +1 -49
- package/dist/icons/ui-icons/palette-color.js +1 -111
- package/dist/icons/ui-icons/panel-collapse.js +1 -41
- package/dist/icons/ui-icons/panel-expand.js +1 -41
- package/dist/icons/ui-icons/paragraph.js +1 -24
- package/dist/icons/ui-icons/paste.js +1 -52
- package/dist/icons/ui-icons/pause.js +1 -20
- package/dist/icons/ui-icons/people-group.js +1 -57
- package/dist/icons/ui-icons/people.js +1 -43
- package/dist/icons/ui-icons/person.js +1 -26
- package/dist/icons/ui-icons/photo-camera.js +1 -26
- package/dist/icons/ui-icons/picture-in-picture.js +1 -33
- package/dist/icons/ui-icons/play-reverse.js +1 -20
- package/dist/icons/ui-icons/play.js +1 -20
- package/dist/icons/ui-icons/playback-options.js +1 -24
- package/dist/icons/ui-icons/plus-circle-fill-alt.js +1 -23
- package/dist/icons/ui-icons/plus-circle-fill.js +1 -17
- package/dist/icons/ui-icons/plus-circle.js +1 -26
- package/dist/icons/ui-icons/plus-minus-buttons-h.js +1 -25
- package/dist/icons/ui-icons/plus-minus-buttons-v.js +1 -25
- package/dist/icons/ui-icons/plus-square-fill-transparent.js +1 -27
- package/dist/icons/ui-icons/plus-square-fill.js +1 -17
- package/dist/icons/ui-icons/plus-square.js +1 -27
- package/dist/icons/ui-icons/pointer-hand-disabled.js +1 -34
- package/dist/icons/ui-icons/pointer-hand.js +1 -20
- package/dist/icons/ui-icons/position-arrows-h.js +1 -26
- package/dist/icons/ui-icons/position-arrows-inverted-h.js +1 -26
- package/dist/icons/ui-icons/position-arrows-inverted-v.js +1 -26
- package/dist/icons/ui-icons/position-arrows-inverted.js +1 -26
- package/dist/icons/ui-icons/position-arrows-v.js +1 -26
- package/dist/icons/ui-icons/position-arrows.js +1 -26
- package/dist/icons/ui-icons/position-h-center.js +1 -43
- package/dist/icons/ui-icons/position-h-end.js +1 -43
- package/dist/icons/ui-icons/position-h-start.js +1 -43
- package/dist/icons/ui-icons/position-left.js +1 -31
- package/dist/icons/ui-icons/position-right.js +1 -31
- package/dist/icons/ui-icons/position-v-center.js +1 -43
- package/dist/icons/ui-icons/position-v-end.js +1 -43
- package/dist/icons/ui-icons/position-v-start.js +1 -43
- package/dist/icons/ui-icons/position2x2-bottom-left.js +1 -52
- package/dist/icons/ui-icons/position2x2-bottom-right.js +1 -52
- package/dist/icons/ui-icons/position2x2-empty.js +1 -51
- package/dist/icons/ui-icons/position2x2-top-left.js +1 -52
- package/dist/icons/ui-icons/position2x2-top-right.js +1 -52
- package/dist/icons/ui-icons/position3x3-bottom-center.js +1 -97
- package/dist/icons/ui-icons/position3x3-bottom-left.js +1 -97
- package/dist/icons/ui-icons/position3x3-bottom-right.js +1 -97
- package/dist/icons/ui-icons/position3x3-center-center.js +1 -97
- package/dist/icons/ui-icons/position3x3-center-left.js +1 -97
- package/dist/icons/ui-icons/position3x3-center-right.js +1 -97
- package/dist/icons/ui-icons/position3x3-empty.js +1 -96
- package/dist/icons/ui-icons/position3x3-top-center.js +1 -97
- package/dist/icons/ui-icons/position3x3-top-left.js +1 -97
- package/dist/icons/ui-icons/position3x3-top-right.js +1 -97
- package/dist/icons/ui-icons/positioning-guide-alt.js +1 -30
- package/dist/icons/ui-icons/positioning-guide.js +1 -30
- package/dist/icons/ui-icons/positioning-width-guide.js +1 -40
- package/dist/icons/ui-icons/preload.js +1 -44
- package/dist/icons/ui-icons/preview-responsive.js +1 -48
- package/dist/icons/ui-icons/preview.js +1 -35
- package/dist/icons/ui-icons/progressbar-intermittent.js +1 -26
- package/dist/icons/ui-icons/progressbar.js +1 -30
- package/dist/icons/ui-icons/range-max.js +1 -48
- package/dist/icons/ui-icons/range-mid.js +1 -40
- package/dist/icons/ui-icons/range-min.js +1 -48
- package/dist/icons/ui-icons/range.js +1 -61
- package/dist/icons/ui-icons/read-only.js +1 -25
- package/dist/icons/ui-icons/reduce-height-bottom.js +1 -49
- package/dist/icons/ui-icons/reduce-height-top.js +1 -49
- package/dist/icons/ui-icons/regex.js +1 -39
- package/dist/icons/ui-icons/remove.js +1 -20
- package/dist/icons/ui-icons/rename.js +1 -24
- package/dist/icons/ui-icons/reorder-grabber-h.js +1 -51
- package/dist/icons/ui-icons/reorder-grabber-v.js +1 -57
- package/dist/icons/ui-icons/reorder.js +1 -35
- package/dist/icons/ui-icons/required-alt.js +1 -20
- package/dist/icons/ui-icons/required.js +1 -19
- package/dist/icons/ui-icons/reset-to-zero.js +1 -33
- package/dist/icons/ui-icons/reset.js +1 -25
- package/dist/icons/ui-icons/responsive-overrides-alt-fill.js +1 -26
- package/dist/icons/ui-icons/responsive-overrides-alt.js +1 -49
- package/dist/icons/ui-icons/responsive-overrides-alt2-fill.js +1 -34
- package/dist/icons/ui-icons/responsive-overrides-alt2.js +1 -45
- package/dist/icons/ui-icons/responsive-overrides-alt3-fill.js +1 -33
- package/dist/icons/ui-icons/responsive-overrides.js +1 -39
- package/dist/icons/ui-icons/responsive.js +1 -33
- package/dist/icons/ui-icons/right-panel-alt.js +1 -23
- package/dist/icons/ui-icons/right-panel.js +1 -22
- package/dist/icons/ui-icons/rotate-left.js +1 -20
- package/dist/icons/ui-icons/rotate-right.js +1 -20
- package/dist/icons/ui-icons/rounded-corners.js +1 -19
- package/dist/icons/ui-icons/route.js +1 -27
- package/dist/icons/ui-icons/row-add.js +1 -45
- package/dist/icons/ui-icons/row-empty.js +1 -51
- package/dist/icons/ui-icons/row.js +1 -45
- package/dist/icons/ui-icons/rows.js +1 -42
- package/dist/icons/ui-icons/ruler.js +1 -28
- package/dist/icons/ui-icons/save.js +1 -26
- package/dist/icons/ui-icons/screen-desktop.js +1 -32
- package/dist/icons/ui-icons/screen-large.js +1 -23
- package/dist/icons/ui-icons/screen-mobile.js +1 -39
- package/dist/icons/ui-icons/screen-tablet-large.js +1 -36
- package/dist/icons/ui-icons/screen-tablet.js +1 -36
- package/dist/icons/ui-icons/scrollbar-h.js +1 -40
- package/dist/icons/ui-icons/scrollbar-v.js +1 -41
- package/dist/icons/ui-icons/scrollbars.js +1 -55
- package/dist/icons/ui-icons/search-empty.js +1 -37
- package/dist/icons/ui-icons/search.js +1 -25
- package/dist/icons/ui-icons/separator-h.js +1 -41
- package/dist/icons/ui-icons/separator-v.js +1 -39
- package/dist/icons/ui-icons/shadow.js +1 -61
- package/dist/icons/ui-icons/share.js +1 -26
- package/dist/icons/ui-icons/shield-plus-alt.js +1 -27
- package/dist/icons/ui-icons/shield-plus.js +1 -20
- package/dist/icons/ui-icons/shield.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-left-xl.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-left.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-right-xl.js +1 -20
- package/dist/icons/ui-icons/shrink-diagonal-right.js +1 -20
- package/dist/icons/ui-icons/shrink-xl.js +1 -20
- package/dist/icons/ui-icons/shrink.js +1 -20
- package/dist/icons/ui-icons/shuffle.js +1 -20
- package/dist/icons/ui-icons/sidebar-flip.js +1 -22
- package/dist/icons/ui-icons/sidebar.js +1 -22
- package/dist/icons/ui-icons/single-item-left-inset-mobile.js +1 -48
- package/dist/icons/ui-icons/single-item-left-inset.js +1 -23
- package/dist/icons/ui-icons/single-item-right-inset-mobile.js +1 -50
- package/dist/icons/ui-icons/single-item-right-inset.js +1 -23
- package/dist/icons/ui-icons/size-alt.js +1 -33
- package/dist/icons/ui-icons/size.js +1 -29
- package/dist/icons/ui-icons/slider.js +1 -31
- package/dist/icons/ui-icons/sliders.js +1 -68
- package/dist/icons/ui-icons/small.js +1 -24
- package/dist/icons/ui-icons/solid-circle-fill-transparent.js +1 -22
- package/dist/icons/ui-icons/solid-circle-filled.js +1 -21
- package/dist/icons/ui-icons/solid-circle-gradient.js +1 -31
- package/dist/icons/ui-icons/solid-circle.js +1 -21
- package/dist/icons/ui-icons/solid-color.js +1 -19
- package/dist/icons/ui-icons/solid-rect-fill-transparent.js +1 -24
- package/dist/icons/ui-icons/solid-rect-filled.js +1 -23
- package/dist/icons/ui-icons/solid-rect-gradient.js +1 -33
- package/dist/icons/ui-icons/solid-rect.js +1 -23
- package/dist/icons/ui-icons/sort-asc.js +1 -20
- package/dist/icons/ui-icons/sort-desc.js +1 -20
- package/dist/icons/ui-icons/sort-generic.js +1 -25
- package/dist/icons/ui-icons/spacing-bottom-in.js +1 -23
- package/dist/icons/ui-icons/spacing-bottom.js +1 -23
- package/dist/icons/ui-icons/spacing-left-in.js +1 -23
- package/dist/icons/ui-icons/spacing-left.js +1 -23
- package/dist/icons/ui-icons/spacing-right-in.js +1 -23
- package/dist/icons/ui-icons/spacing-right.js +1 -23
- package/dist/icons/ui-icons/spacing-top-in.js +1 -23
- package/dist/icons/ui-icons/spacing-top.js +1 -23
- package/dist/icons/ui-icons/speed.js +1 -25
- package/dist/icons/ui-icons/stagger.js +1 -53
- package/dist/icons/ui-icons/star.js +1 -18
- package/dist/icons/ui-icons/step.js +1 -27
- package/dist/icons/ui-icons/stop.js +1 -20
- package/dist/icons/ui-icons/swap.js +1 -41
- package/dist/icons/ui-icons/tag-alt.js +1 -24
- package/dist/icons/ui-icons/tag.js +1 -26
- package/dist/icons/ui-icons/text-abc.js +1 -40
- package/dist/icons/ui-icons/text-above.js +1 -25
- package/dist/icons/ui-icons/text-align-center.js +1 -20
- package/dist/icons/ui-icons/text-align-generic.js +1 -20
- package/dist/icons/ui-icons/text-align-justify.js +1 -20
- package/dist/icons/ui-icons/text-align-left.js +1 -20
- package/dist/icons/ui-icons/text-align-right.js +1 -20
- package/dist/icons/ui-icons/text-below.js +1 -25
- package/dist/icons/ui-icons/text-box-edit.js +1 -35
- package/dist/icons/ui-icons/text-color-swatch.js +1 -40
- package/dist/icons/ui-icons/text-highlight-color-swatch-alt.js +1 -49
- package/dist/icons/ui-icons/text-highlight-color-swatch.js +1 -48
- package/dist/icons/ui-icons/text-larger.js +1 -23
- package/dist/icons/ui-icons/text-length.js +1 -20
- package/dist/icons/ui-icons/text-size-alt.js +1 -23
- package/dist/icons/ui-icons/text-size.js +1 -20
- package/dist/icons/ui-icons/text-smaller.js +1 -23
- package/dist/icons/ui-icons/text-strikethrough.js +1 -26
- package/dist/icons/ui-icons/text-uppercase.js +1 -25
- package/dist/icons/ui-icons/text-write.js +1 -39
- package/dist/icons/ui-icons/thumbs-down.js +1 -22
- package/dist/icons/ui-icons/thumbs-up.js +1 -22
- package/dist/icons/ui-icons/title-generic.js +1 -25
- package/dist/icons/ui-icons/toggle-off.js +1 -33
- package/dist/icons/ui-icons/toggle-on-alt.js +1 -19
- package/dist/icons/ui-icons/toggle-on.js +1 -31
- package/dist/icons/ui-icons/tools.js +1 -25
- package/dist/icons/ui-icons/total-items.js +1 -45
- package/dist/icons/ui-icons/trash-alt.js +1 -44
- package/dist/icons/ui-icons/trash.js +1 -33
- package/dist/icons/ui-icons/tree-alt.js +1 -62
- package/dist/icons/ui-icons/tree-alt2.js +1 -79
- package/dist/icons/ui-icons/tree.js +1 -70
- package/dist/icons/ui-icons/troubleshoot-alt.js +1 -39
- package/dist/icons/ui-icons/two-cards-left.js +1 -32
- package/dist/icons/ui-icons/two-cards-right.js +1 -32
- package/dist/icons/ui-icons/two-columns.js +1 -30
- package/dist/icons/ui-icons/typography-options.js +1 -77
- package/dist/icons/ui-icons/typography.js +1 -71
- package/dist/icons/ui-icons/underline.js +1 -19
- package/dist/icons/ui-icons/ungroup.js +1 -39
- package/dist/icons/ui-icons/upload.js +1 -20
- package/dist/icons/ui-icons/venn-diagram-alt.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt2.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt3.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt4.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt5.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt6.js +1 -34
- package/dist/icons/ui-icons/venn-diagram-alt7.js +1 -39
- package/dist/icons/ui-icons/venn-diagram.js +1 -26
- package/dist/icons/ui-icons/vertical-align-alt.js +1 -27
- package/dist/icons/ui-icons/vertical-align-around.js +1 -39
- package/dist/icons/ui-icons/vertical-align-between-alt.js +1 -39
- package/dist/icons/ui-icons/vertical-align-between.js +1 -48
- package/dist/icons/ui-icons/vertical-align-bottom.js +1 -44
- package/dist/icons/ui-icons/vertical-align-center.js +1 -39
- package/dist/icons/ui-icons/vertical-align-evenly.js +1 -39
- package/dist/icons/ui-icons/vertical-align-stretch.js +1 -39
- package/dist/icons/ui-icons/vertical-align-top.js +1 -46
- package/dist/icons/ui-icons/vertical-align.js +1 -35
- package/dist/icons/ui-icons/vertical-spacing.js +1 -28
- package/dist/icons/ui-icons/video-chapters.js +1 -25
- package/dist/icons/ui-icons/video-controls.js +1 -67
- package/dist/icons/ui-icons/video-file.js +1 -40
- package/dist/icons/ui-icons/video-poster-image.js +1 -40
- package/dist/icons/ui-icons/video-subtitle-alt.js +1 -39
- package/dist/icons/ui-icons/video-subtitle.js +1 -27
- package/dist/icons/ui-icons/video.js +1 -36
- package/dist/icons/ui-icons/visibility-alt.js +1 -40
- package/dist/icons/ui-icons/visibility-alt2.js +1 -41
- package/dist/icons/ui-icons/visibility.js +1 -45
- package/dist/icons/ui-icons/visible.js +1 -28
- package/dist/icons/ui-icons/volume.js +1 -25
- package/dist/icons/ui-icons/warning-circle-fill-transparent.js +1 -30
- package/dist/icons/ui-icons/warning-circle-fill.js +1 -17
- package/dist/icons/ui-icons/warning-circle.js +1 -33
- package/dist/icons/ui-icons/warning-fill-transparent.js +1 -30
- package/dist/icons/ui-icons/warning-fill.js +1 -17
- package/dist/icons/ui-icons/warning.js +1 -30
- package/dist/icons/ui-icons/web-video.js +1 -63
- package/dist/icons/ui-icons/wide-bottom.js +1 -49
- package/dist/icons/ui-icons/wide-left.js +1 -49
- package/dist/icons/ui-icons/wide-right.js +1 -49
- package/dist/icons/ui-icons/wide-top.js +1 -49
- package/dist/icons/ui-icons/width.js +1 -29
- package/dist/icons/ui-icons/wordpress.js +1 -17
- package/dist/icons/ui-icons/wrapper-alt.js +1 -71
- package/dist/icons/ui-icons/wrapper-config.js +1 -41
- package/dist/icons/ui-icons/wrapper-off-alt.js +1 -19
- package/dist/icons/ui-icons/wrapper-overflow.js +1 -31
- package/dist/icons/ui-icons/wrapper-simple-alt.js +1 -58
- package/dist/icons/ui-icons/wrapper-simple.js +1 -32
- package/dist/icons/ui-icons/wrapper.js +1 -42
- package/dist/icons/ui-icons/wrench.js +1 -19
- package/dist/icons/ui-icons/zap-fill.js +1 -20
- package/dist/icons/ui-icons/zap.js +1 -19
- package/dist/index.js +1 -62
- package/dist/input-field-fSivrDer.js +1 -0
- package/dist/jsx-svg-zli3d0qY.js +68 -0
- package/dist/keyboard-BzlG0aH2.js +1 -0
- package/dist/link-input-D9t6cjWZ.js +1 -0
- package/dist/modal-DBnLSJmx.js +1 -0
- package/dist/number-C1r4kgNV.js +1 -0
- package/dist/number-picker-BIXieDJ6.js +1 -0
- package/dist/react-BSpnyKxv.js +1 -0
- package/dist/reorderable-grid-BAYa6mTs.js +2 -0
- package/dist/shared-CVfujbDV.js +1 -0
- package/dist/solid-color-picker-BYZhRF7V.js +1 -0
- package/dist/sprintf-jxGppDDY.js +1 -0
- package/dist/switch-35fHzULo.js +1 -0
- package/dist/tabs-eEqiNYD8.js +1 -0
- package/dist/text-helpers-Bs5upvzH.js +1 -0
- package/dist/toggle-button-BroScPLM.js +1 -0
- package/dist/tooltip-Cpzgu8xY.js +1 -0
- package/dist/useAsyncList-cN2_5xNF.js +1 -0
- package/dist/useButton-CUbkFkS6.js +1 -0
- package/dist/useCollection-BqmrVZIy.js +1 -0
- package/dist/useControlledState-DuIQl7AI.js +1 -0
- package/dist/useEvent-BlCQMrO9.js +1 -0
- package/dist/useField-KKAxOCpq.js +1 -0
- package/dist/useFilter-c6g6MH-o.js +1 -0
- package/dist/useFocusRing-iqZqZ3LT.js +7 -0
- package/dist/useFormReset-BR6FFFlJ.js +1 -0
- package/dist/useFormValidation-Bh9mXXQp.js +1 -0
- package/dist/useHasTabbableChild-B5OQsxku.js +1 -0
- package/dist/useHover-B7zqOZ-m.js +1 -0
- package/dist/useLabels-BrjiKdsE.js +1 -0
- package/dist/useListState-CPL-VMhR.js +1 -0
- package/dist/useLocalizedStringFormatter-B693_Wcz.js +1 -0
- package/dist/useNumberFieldState-Cz03G3Lt.js +1 -0
- package/dist/useObjectRef-BjjTnUOY.js +1 -0
- package/dist/useOverlayTriggerState-DKUl8FBy.js +1 -0
- package/dist/useSlot-IUqvn2jp.js +1 -0
- package/dist/useSpinButton-B4eYBjz0.js +1 -0
- package/dist/useTextField-CFwJQKgI.js +1 -0
- package/dist/useToggle-CFFHpBO3.js +1 -0
- package/dist/useToggleState-CTvAIp3u.js +1 -0
- package/dist/useUpdateEffect-ydebgl8a.js +1 -0
- package/dist/utilities/array-helpers.js +1 -46
- package/dist/utilities/debounce-throttle.js +1 -2
- package/dist/utilities/es-dash.js +1 -2
- package/dist/utilities/general.js +1 -36
- package/dist/utilities/hash.js +1 -35
- package/dist/utilities/index.js +1 -9
- package/dist/utilities/text-helpers.js +1 -2
- package/dist/utilities/web-workers.js +1 -78
- package/dist/utilities-CQP2zvrh.js +1 -0
- package/dist/utils-a89BELgQ.js +1 -0
- package/package.json +17 -24
- package/dist/Autocomplete-DWofaS1k.js +0 -462
- package/dist/Button-DcI8gSfH.js +0 -229
- package/dist/Dialog-CSqjSLlO.js +0 -2764
- package/dist/Disclosure-CkaUMe7J.js +0 -191
- package/dist/FocusScope-DLpr7Rq0.js +0 -739
- package/dist/Form-BWMVEpwR.js +0 -5
- package/dist/Heading-BQje2nS2.js +0 -16
- package/dist/Hidden-C4Saxkx9.js +0 -51
- package/dist/I18nProvider-R_4IDnf9.js +0 -93
- package/dist/Label-C4bJkVti.js +0 -17
- package/dist/List-BKcyZ8tT.js +0 -506
- package/dist/ListBox-D8_U8eBS.js +0 -562
- package/dist/NumberFormatter-BbOYa3Kg.js +0 -91
- package/dist/PortalProvider-Dbcc7pHq.js +0 -13
- package/dist/RadioGroup-BZkgf6tl.js +0 -341
- package/dist/SearchField-N1nXzeWK.js +0 -325
- package/dist/SelectionIndicator-CyOcB5ps.js +0 -5
- package/dist/SharedElementTransition-D1LPCrSc.js +0 -10
- package/dist/Slider-Dryu0gH7.js +0 -811
- package/dist/Text-CA2_mHEB.js +0 -17
- package/dist/VisuallyHidden-2DfCzdKo.js +0 -43
- package/dist/animation-COu1iBGW.js +0 -65
- package/dist/assets/fonts/geist-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/geist-mono-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-latin-full-normal.woff2 +0 -0
- package/dist/assets/fonts/google-sans-flex-symbols-full-normal.woff2 +0 -0
- package/dist/assets/style-admin-no-fonts.css +0 -2
- package/dist/assets/style-editor-no-fonts.css +0 -2
- package/dist/assets/style-no-fonts.css +0 -2
- package/dist/build-module-BISCoQjQ.js +0 -730
- package/dist/button-CCtgOh0o.js +0 -583
- package/dist/checkbox-d1lNvf65.js +0 -333
- package/dist/clsx-DQoRUQAf.js +0 -16
- package/dist/color-swatch-BstCWUIZ.js +0 -2579
- package/dist/components/base-control/container.js +0 -168
- package/dist/components/component-toggle/component-toggle.d.ts +0 -57
- package/dist/components/component-toggle/component-toggle.js +0 -100
- package/dist/components/container-panel/container-panel.d.ts +0 -50
- package/dist/components/container-panel/container-panel.js +0 -82
- package/dist/components/expandable/expandable.js +0 -88
- package/dist/components/option-select/option-select.d.ts +0 -96
- package/dist/components/option-select/option-select.js +0 -178
- package/dist/components/options-panel/options-panel.d.ts +0 -97
- package/dist/components/options-panel/options-panel.js +0 -114
- package/dist/components/placeholders/media-placeholder.d.ts +0 -34
- package/dist/components/placeholders/media-placeholder.js +0 -56
- package/dist/debounce-throttle-DklGQQrz.js +0 -120
- package/dist/dist-DpXluZqJ.js +0 -56
- package/dist/draggable-CE4MJU75.js +0 -7496
- package/dist/es-dash-DPtJSRjw.js +0 -298
- package/dist/filterDOMProps-BV6v3Ytq.js +0 -70
- package/dist/getMetaValue-Cpc6U0mQ.js +0 -18
- package/dist/gradient-editor-D2zB_7Wi.js +0 -1650
- package/dist/input-field-DVNpRfYE.js +0 -278
- package/dist/jsx-svg-DRwJdRpA.js +0 -11153
- package/dist/keyboard-DwWaJveG.js +0 -205
- package/dist/link-input-XaVrI3wP.js +0 -1865
- package/dist/modal-BXSwfGkf.js +0 -349
- package/dist/number-BeC0ySe4.js +0 -41
- package/dist/number-picker-DLLqEAsq.js +0 -257
- package/dist/react-c-t8odpE.js +0 -10967
- package/dist/shared-CsO_if0Q.js +0 -1030
- package/dist/solid-color-picker-1QabIOpX.js +0 -1423
- package/dist/sprintf-xJRAt4p0.js +0 -129
- package/dist/switch-CfgDFjqQ.js +0 -297
- package/dist/tabs-ORp17BEr.js +0 -1056
- package/dist/text-helpers-QrwKKaOh.js +0 -254
- package/dist/textSelection-BYhA9uWK.js +0 -45
- package/dist/toggle-button-B0nKYFlk.js +0 -463
- package/dist/tooltip-Dxr7aiIX.js +0 -421
- package/dist/useAsyncList-CjKVLGN0.js +0 -396
- package/dist/useButton-BO_4n6_e.js +0 -57
- package/dist/useCollection-BVUc8URe.js +0 -2243
- package/dist/useEvent-5yhOs2HC.js +0 -18
- package/dist/useField-B_ibsWst.js +0 -36
- package/dist/useFilter-Yp-QyW1S.js +0 -44
- package/dist/useFocusRing-DxPoGWMJ.js +0 -99
- package/dist/useFormReset-DFy_BhX1.js +0 -17
- package/dist/useFormValidation-CZPIMeNw.js +0 -207
- package/dist/useHover-DgudzTcf.js +0 -1158
- package/dist/useLabel-gfFDE4bn.js +0 -27
- package/dist/useLabels-Dcg-cEyM.js +0 -16
- package/dist/useListState-DTn91yqB.js +0 -130
- package/dist/useLocalizedStringFormatter-CTCqjYu4.js +0 -113
- package/dist/useNumberFieldState-D-Bsp98Z.js +0 -1393
- package/dist/useNumberFormatter-DNUGdm93.js +0 -10
- package/dist/useOverlayTriggerState-uzs8mam6.js +0 -557
- package/dist/usePress-BpGYwCwy.js +0 -609
- package/dist/useSlot-CnQHcvd4.js +0 -25
- package/dist/useTextField-C9dxy3po.js +0 -159
- package/dist/useToggle-CudcGIyz.js +0 -115
- package/dist/useToggleState-CYfSFy4b.js +0 -22
- package/dist/utilities-COki58KB.js +0 -7
- package/dist/utils-ClM91CuL.js +0 -382
|
@@ -1,1423 +0,0 @@
|
|
|
1
|
-
import { t as clsx } from "./clsx-DQoRUQAf.js";
|
|
2
|
-
import { i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
|
|
3
|
-
import { R as $1969ac565cfec8d0$export$de79e2c695e052f3, c as $1e74c67db218ce67$export$f8168d8dd8fd66e6, d as $3e6197669829fe11$export$40bfa8c7b0832715, j as $2add3ce32c6007eb$export$fedb369cb70207f1, k as $2add3ce32c6007eb$export$a11b0059900ceec8, n as $48a7d519b337145d$export$4eaf04e54aa8eed6, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-DgudzTcf.js";
|
|
4
|
-
import { t as $e8ac3c3f5d4bae7f$export$d6875122194c7b44 } from "./useLabels-Dcg-cEyM.js";
|
|
5
|
-
import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R_4IDnf9.js";
|
|
6
|
-
import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CTCqjYu4.js";
|
|
7
|
-
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BV6v3Ytq.js";
|
|
8
|
-
import { n as $2c9edc598a03d523$export$420e68273165f4ec, t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-DxPoGWMJ.js";
|
|
9
|
-
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-C4bJkVti.js";
|
|
10
|
-
import { a as $62888b2ec35be488$export$4f384c9210e583c3, i as $14554ba6a2007b17$export$2123ff2b87c81ca, n as $cd2fa56213693c5e$export$23f548e970bdf099, r as $757ec6630f26125c$export$e908e06f4b8e3402, t as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c } from "./useNumberFieldState-D-Bsp98Z.js";
|
|
11
|
-
import { r as $240e9101ba2842f5$export$cb6e0bb50bc19463, t as $240e9101ba2842f5$export$7d15b64cf5a3a4c4 } from "./number-BeC0ySe4.js";
|
|
12
|
-
import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-CA2_mHEB.js";
|
|
13
|
-
import { n as $ea3928288112382f$export$a966af930f325cab } from "./VisuallyHidden-2DfCzdKo.js";
|
|
14
|
-
import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useField-B_ibsWst.js";
|
|
15
|
-
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$a763b9476acd3eb } from "./useFormValidation-CZPIMeNw.js";
|
|
16
|
-
import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-DFy_BhX1.js";
|
|
17
|
-
import { i as $786ce78c8ff38b91$exports, n as $890783418b00a858$export$4cde5df63f53f473, r as $890783418b00a858$export$6e865ea70d7724f, t as ColorSwatch } from "./color-swatch-BstCWUIZ.js";
|
|
18
|
-
import { a as $806e559d0c2c64a0$export$6189c2744041d8f8, c as $d806310b82f07e9d$export$e5fda3247f5d67f9, d as $1dfdc54e7eb53ba0$export$36da96379f79f245, l as $4a5dd96ecb58ab11$export$8d15029008292ae, n as $806e559d0c2c64a0$export$1e7083018727fa60, s as $806e559d0c2c64a0$export$f1fce0420cc6d8ee, t as $806e559d0c2c64a0$export$105594979f116971, u as $4b964a467b2bc7ea$export$56b2c08e277f365 } from "./Slider-Dryu0gH7.js";
|
|
19
|
-
import { a as $3a442827418ebe87$export$f9c6924e160136d1, n as $41fb335299a4a39e$export$37fb8590cf2c088c, r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "./useTextField-C9dxy3po.js";
|
|
20
|
-
import { BaseControl } from "./components/base-control/base-control.js";
|
|
21
|
-
import { t as __ } from "./build-module-BISCoQjQ.js";
|
|
22
|
-
import { dropdownCaretAlt } from "./icons/ui-icons/dropdown-caret-alt.js";
|
|
23
|
-
import { TriggeredPopover } from "./components/popover/popover.js";
|
|
24
|
-
import $3ARPR$react, { createContext, forwardRef, useCallback, useContext, useMemo, useRef, useState } from "react";
|
|
25
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
|
-
import { flushSync } from "react-dom";
|
|
27
|
-
//#region node_modules/react-aria-components/dist/private/ColorThumb.mjs
|
|
28
|
-
var $ceafedee624ffe11$export$c80c0ea2ca5cb846 = createContext(null);
|
|
29
|
-
var $ceafedee624ffe11$export$a3cc47cee1c1ccc = forwardRef(function ColorThumb(props, ref) {
|
|
30
|
-
let { state, thumbProps, inputXRef, inputYRef, xInputProps, yInputProps, isDisabled = false } = useContext($ceafedee624ffe11$export$c80c0ea2ca5cb846);
|
|
31
|
-
let { focusProps, isFocused, isFocusVisible } = $0c4a58759813079a$export$4e328f61c538687f();
|
|
32
|
-
let { hoverProps, isHovered } = $e969f22b6713ca4a$export$ae780daf29e6d456(props);
|
|
33
|
-
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
34
|
-
...props,
|
|
35
|
-
defaultClassName: "react-aria-ColorThumb",
|
|
36
|
-
defaultStyle: {
|
|
37
|
-
...thumbProps.style,
|
|
38
|
-
backgroundColor: state.getDisplayColor().toString()
|
|
39
|
-
},
|
|
40
|
-
values: {
|
|
41
|
-
color: state.getDisplayColor(),
|
|
42
|
-
isHovered,
|
|
43
|
-
isDragging: state.isDragging,
|
|
44
|
-
isFocused,
|
|
45
|
-
isFocusVisible,
|
|
46
|
-
isDisabled
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
50
|
-
delete DOMProps.id;
|
|
51
|
-
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
52
|
-
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(thumbProps, hoverProps, DOMProps),
|
|
53
|
-
...renderProps,
|
|
54
|
-
ref,
|
|
55
|
-
"data-hovered": isHovered || void 0,
|
|
56
|
-
"data-dragging": state.isDragging || void 0,
|
|
57
|
-
"data-focused": isFocused || void 0,
|
|
58
|
-
"data-focus-visible": isFocusVisible || void 0,
|
|
59
|
-
"data-disabled": isDisabled || void 0
|
|
60
|
-
}, $3ARPR$react.createElement("input", {
|
|
61
|
-
ref: inputXRef,
|
|
62
|
-
...xInputProps,
|
|
63
|
-
...focusProps
|
|
64
|
-
}), yInputProps && $3ARPR$react.createElement("input", {
|
|
65
|
-
ref: inputYRef,
|
|
66
|
-
...yInputProps,
|
|
67
|
-
...focusProps
|
|
68
|
-
}), renderProps.children);
|
|
69
|
-
});
|
|
70
|
-
//#endregion
|
|
71
|
-
//#region node_modules/react-aria/dist/private/color/useColorAreaGradient.mjs
|
|
72
|
-
var $ad8cc31e40d60e64$var$hue = (color) => [
|
|
73
|
-
0,
|
|
74
|
-
60,
|
|
75
|
-
120,
|
|
76
|
-
180,
|
|
77
|
-
240,
|
|
78
|
-
300,
|
|
79
|
-
360
|
|
80
|
-
].map((hue) => color.withChannelValue("hue", hue).toString("css")).join(", ");
|
|
81
|
-
var $ad8cc31e40d60e64$var$saturation = (color) => `${color.withChannelValue("saturation", 0)}, transparent`;
|
|
82
|
-
var $ad8cc31e40d60e64$var$hslChannels = {
|
|
83
|
-
hue: $ad8cc31e40d60e64$var$hue,
|
|
84
|
-
saturation: $ad8cc31e40d60e64$var$saturation,
|
|
85
|
-
lightness: () => "black, transparent, white"
|
|
86
|
-
};
|
|
87
|
-
var $ad8cc31e40d60e64$var$hsbChannels = {
|
|
88
|
-
hue: $ad8cc31e40d60e64$var$hue,
|
|
89
|
-
saturation: $ad8cc31e40d60e64$var$saturation,
|
|
90
|
-
brightness: () => "black, transparent"
|
|
91
|
-
};
|
|
92
|
-
function $ad8cc31e40d60e64$export$dd62420467d245ca({ direction, state, zChannel, xChannel, yChannel }) {
|
|
93
|
-
return useMemo(() => {
|
|
94
|
-
let end = direction === "rtl" ? "left" : "right";
|
|
95
|
-
let colorAreaStyles = {};
|
|
96
|
-
let zValue = state.value.getChannelValue(zChannel);
|
|
97
|
-
switch (state.value.getColorSpace()) {
|
|
98
|
-
case "rgb": {
|
|
99
|
-
let rgb = $890783418b00a858$export$6e865ea70d7724f("rgb(0, 0, 0)");
|
|
100
|
-
colorAreaStyles = {
|
|
101
|
-
background: [
|
|
102
|
-
`linear-gradient(to ${end}, ${rgb.withChannelValue(xChannel, 0)}, ${rgb.withChannelValue(xChannel, 255)})`,
|
|
103
|
-
`linear-gradient(to top, ${rgb.withChannelValue(yChannel, 0)}, ${rgb.withChannelValue(yChannel, 255)})`,
|
|
104
|
-
rgb.withChannelValue(zChannel, zValue)
|
|
105
|
-
].join(","),
|
|
106
|
-
backgroundBlendMode: "screen"
|
|
107
|
-
};
|
|
108
|
-
break;
|
|
109
|
-
}
|
|
110
|
-
case "hsl": {
|
|
111
|
-
let channels = state.value.getColorChannels();
|
|
112
|
-
let value = $890783418b00a858$export$6e865ea70d7724f("hsl(0, 100%, 50%)").withChannelValue(zChannel, zValue);
|
|
113
|
-
let bg = channels.filter((c) => c !== zChannel).map((c) => `linear-gradient(to ${c === xChannel ? end : "top"}, ${$ad8cc31e40d60e64$var$hslChannels[c](value)})`).reverse();
|
|
114
|
-
if (zChannel === "hue") bg.push(value.toString("css"));
|
|
115
|
-
colorAreaStyles = { background: bg.join(", ") };
|
|
116
|
-
break;
|
|
117
|
-
}
|
|
118
|
-
case "hsb": {
|
|
119
|
-
let channels = state.value.getColorChannels();
|
|
120
|
-
let value = $890783418b00a858$export$6e865ea70d7724f("hsb(0, 100%, 100%)").withChannelValue(zChannel, zValue);
|
|
121
|
-
let bg = channels.filter((c) => c !== zChannel).map((c) => `linear-gradient(to ${c === xChannel ? end : "top"}, ${$ad8cc31e40d60e64$var$hsbChannels[c](value)})`).reverse();
|
|
122
|
-
if (zChannel === "hue") bg.push(value.toString("css"));
|
|
123
|
-
colorAreaStyles = { background: bg.join(", ") };
|
|
124
|
-
break;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
let { x, y } = state.getThumbPosition();
|
|
128
|
-
if (direction === "rtl") x = 1 - x;
|
|
129
|
-
let forcedColorAdjustNoneStyle = { forcedColorAdjust: "none" };
|
|
130
|
-
return {
|
|
131
|
-
colorAreaStyleProps: { style: {
|
|
132
|
-
position: "relative",
|
|
133
|
-
touchAction: "none",
|
|
134
|
-
...forcedColorAdjustNoneStyle,
|
|
135
|
-
...colorAreaStyles
|
|
136
|
-
} },
|
|
137
|
-
thumbStyleProps: { style: {
|
|
138
|
-
position: "absolute",
|
|
139
|
-
left: `${x * 100}%`,
|
|
140
|
-
top: `${y * 100}%`,
|
|
141
|
-
transform: "translate(-50%, -50%)",
|
|
142
|
-
touchAction: "none",
|
|
143
|
-
...forcedColorAdjustNoneStyle
|
|
144
|
-
} }
|
|
145
|
-
};
|
|
146
|
-
}, [
|
|
147
|
-
direction,
|
|
148
|
-
state,
|
|
149
|
-
zChannel,
|
|
150
|
-
xChannel,
|
|
151
|
-
yChannel
|
|
152
|
-
]);
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region node_modules/react-aria/dist/private/color/useColorArea.mjs
|
|
156
|
-
function $parcel$interopDefault(a) {
|
|
157
|
-
return a && a.__esModule ? a.default : a;
|
|
158
|
-
}
|
|
159
|
-
function $12db0b624ec2ac09$export$2f92a7a615a014f6(props, state) {
|
|
160
|
-
let { isDisabled, inputXRef, inputYRef, containerRef, "aria-label": ariaLabel, xName, yName, form } = props;
|
|
161
|
-
let stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($786ce78c8ff38b91$exports), "@react-aria/color");
|
|
162
|
-
let { addGlobalListener, removeGlobalListener } = $48a7d519b337145d$export$4eaf04e54aa8eed6();
|
|
163
|
-
let { direction, locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
164
|
-
let [focusedInput, setFocusedInput] = useState(null);
|
|
165
|
-
let focusInput = useCallback((inputRef = inputXRef) => {
|
|
166
|
-
if (inputRef.current) $1969ac565cfec8d0$export$de79e2c695e052f3(inputRef.current);
|
|
167
|
-
}, [inputXRef]);
|
|
168
|
-
$3274bf1495747a7b$export$5add1d006293d136(inputXRef, state.defaultValue, state.setValue);
|
|
169
|
-
let [valueChangedViaKeyboard, setValueChangedViaKeyboard] = useState(false);
|
|
170
|
-
let [valueChangedViaInputChangeEvent, setValueChangedViaInputChangeEvent] = useState(false);
|
|
171
|
-
let { xChannel, yChannel, zChannel } = state.channels;
|
|
172
|
-
let xChannelStep = state.xChannelStep;
|
|
173
|
-
let yChannelStep = state.yChannelStep;
|
|
174
|
-
let currentPosition = useRef(null);
|
|
175
|
-
let keyboardUpdate = (cb, inputRef, input) => {
|
|
176
|
-
state.setDragging(true);
|
|
177
|
-
setValueChangedViaKeyboard(true);
|
|
178
|
-
cb();
|
|
179
|
-
state.setDragging(false);
|
|
180
|
-
focusInput(inputRef);
|
|
181
|
-
setFocusedInput(input);
|
|
182
|
-
};
|
|
183
|
-
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
184
|
-
shortcuts: {
|
|
185
|
-
PageUp: () => {
|
|
186
|
-
return keyboardUpdate(() => {
|
|
187
|
-
state.incrementY(state.yChannelPageStep);
|
|
188
|
-
}, inputYRef, "y");
|
|
189
|
-
},
|
|
190
|
-
PageDown: () => {
|
|
191
|
-
return keyboardUpdate(() => {
|
|
192
|
-
state.decrementY(state.yChannelPageStep);
|
|
193
|
-
}, inputYRef, "y");
|
|
194
|
-
},
|
|
195
|
-
Home: () => {
|
|
196
|
-
return keyboardUpdate(() => {
|
|
197
|
-
direction === "rtl" ? state.incrementX(state.xChannelPageStep) : state.decrementX(state.xChannelPageStep);
|
|
198
|
-
}, inputXRef, "x");
|
|
199
|
-
},
|
|
200
|
-
End: () => {
|
|
201
|
-
return keyboardUpdate(() => {
|
|
202
|
-
direction === "rtl" ? state.decrementX(state.xChannelPageStep) : state.incrementX(state.xChannelPageStep);
|
|
203
|
-
}, inputXRef, "x");
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
allowRepeats: true
|
|
207
|
-
});
|
|
208
|
-
let moveHandler = {
|
|
209
|
-
onMoveStart() {
|
|
210
|
-
currentPosition.current = null;
|
|
211
|
-
state.setDragging(true);
|
|
212
|
-
},
|
|
213
|
-
onMove({ deltaX, deltaY, pointerType, shiftKey }) {
|
|
214
|
-
let { incrementX, decrementX, incrementY, decrementY, xChannelPageStep, xChannelStep, yChannelPageStep, yChannelStep, getThumbPosition, setColorFromPoint } = state;
|
|
215
|
-
if (currentPosition.current == null) currentPosition.current = getThumbPosition();
|
|
216
|
-
let { width, height } = containerRef.current?.getBoundingClientRect() || {
|
|
217
|
-
width: 0,
|
|
218
|
-
height: 0
|
|
219
|
-
};
|
|
220
|
-
let valueChanged = deltaX !== 0 || deltaY !== 0;
|
|
221
|
-
if (pointerType === "keyboard") {
|
|
222
|
-
let deltaXValue = shiftKey && xChannelPageStep > xChannelStep ? xChannelPageStep : xChannelStep;
|
|
223
|
-
let deltaYValue = shiftKey && yChannelPageStep > yChannelStep ? yChannelPageStep : yChannelStep;
|
|
224
|
-
if (deltaX > 0 && direction === "ltr" || deltaX < 0 && direction === "rtl") incrementX(deltaXValue);
|
|
225
|
-
else if (deltaX < 0 && direction === "ltr" || deltaX > 0 && direction === "rtl") decrementX(deltaXValue);
|
|
226
|
-
else if (deltaY > 0) decrementY(deltaYValue);
|
|
227
|
-
else if (deltaY < 0) incrementY(deltaYValue);
|
|
228
|
-
setValueChangedViaKeyboard(valueChanged);
|
|
229
|
-
focusedInput = valueChanged && Math.abs(deltaY) > Math.abs(deltaX) ? "y" : "x";
|
|
230
|
-
setFocusedInput(focusedInput);
|
|
231
|
-
} else {
|
|
232
|
-
currentPosition.current.x += (direction === "rtl" ? -1 : 1) * deltaX / width;
|
|
233
|
-
currentPosition.current.y += deltaY / height;
|
|
234
|
-
setColorFromPoint(currentPosition.current.x, currentPosition.current.y);
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
onMoveEnd() {
|
|
238
|
-
isOnColorArea.current = false;
|
|
239
|
-
state.setDragging(false);
|
|
240
|
-
focusInput(focusedInput === "x" ? inputXRef : inputYRef);
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
let { moveProps: movePropsThumb } = $1dfdc54e7eb53ba0$export$36da96379f79f245(moveHandler);
|
|
244
|
-
let { focusWithinProps } = $2c9edc598a03d523$export$420e68273165f4ec({ onFocusWithinChange: (focusWithin) => {
|
|
245
|
-
if (!focusWithin) {
|
|
246
|
-
setValueChangedViaKeyboard(false);
|
|
247
|
-
setValueChangedViaInputChangeEvent(false);
|
|
248
|
-
}
|
|
249
|
-
} });
|
|
250
|
-
let currentPointer = useRef(void 0);
|
|
251
|
-
let isOnColorArea = useRef(false);
|
|
252
|
-
let { moveProps: movePropsContainer } = $1dfdc54e7eb53ba0$export$36da96379f79f245({
|
|
253
|
-
onMoveStart() {
|
|
254
|
-
if (isOnColorArea.current) moveHandler.onMoveStart();
|
|
255
|
-
},
|
|
256
|
-
onMove(e) {
|
|
257
|
-
if (isOnColorArea.current) moveHandler.onMove(e);
|
|
258
|
-
},
|
|
259
|
-
onMoveEnd() {
|
|
260
|
-
if (isOnColorArea.current) moveHandler.onMoveEnd();
|
|
261
|
-
}
|
|
262
|
-
});
|
|
263
|
-
let onThumbDown = (id) => {
|
|
264
|
-
if (!state.isDragging) {
|
|
265
|
-
currentPointer.current = id;
|
|
266
|
-
setValueChangedViaKeyboard(false);
|
|
267
|
-
focusInput();
|
|
268
|
-
state.setDragging(true);
|
|
269
|
-
if (typeof PointerEvent !== "undefined") addGlobalListener(window, "pointerup", onThumbUp, false);
|
|
270
|
-
else {
|
|
271
|
-
addGlobalListener(window, "mouseup", onThumbUp, false);
|
|
272
|
-
addGlobalListener(window, "touchend", onThumbUp, false);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
};
|
|
276
|
-
let onThumbUp = (e) => {
|
|
277
|
-
if ((e.pointerId ?? e.changedTouches?.[0].identifier) === currentPointer.current) {
|
|
278
|
-
setValueChangedViaKeyboard(false);
|
|
279
|
-
focusInput();
|
|
280
|
-
state.setDragging(false);
|
|
281
|
-
currentPointer.current = void 0;
|
|
282
|
-
isOnColorArea.current = false;
|
|
283
|
-
if (typeof PointerEvent !== "undefined") removeGlobalListener(window, "pointerup", onThumbUp, false);
|
|
284
|
-
else {
|
|
285
|
-
removeGlobalListener(window, "mouseup", onThumbUp, false);
|
|
286
|
-
removeGlobalListener(window, "touchend", onThumbUp, false);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
};
|
|
290
|
-
let onColorAreaDown = (colorArea, id, clientX, clientY) => {
|
|
291
|
-
let rect = colorArea.getBoundingClientRect();
|
|
292
|
-
let { width, height } = rect;
|
|
293
|
-
let x = (clientX - rect.x) / width;
|
|
294
|
-
let y = (clientY - rect.y) / height;
|
|
295
|
-
if (direction === "rtl") x = 1 - x;
|
|
296
|
-
if (x >= 0 && x <= 1 && y >= 0 && y <= 1 && !state.isDragging && currentPointer.current === void 0) {
|
|
297
|
-
isOnColorArea.current = true;
|
|
298
|
-
setValueChangedViaKeyboard(false);
|
|
299
|
-
currentPointer.current = id;
|
|
300
|
-
state.setColorFromPoint(x, y);
|
|
301
|
-
focusInput();
|
|
302
|
-
state.setDragging(true);
|
|
303
|
-
if (typeof PointerEvent !== "undefined") addGlobalListener(window, "pointerup", onColorAreaUp, false);
|
|
304
|
-
else {
|
|
305
|
-
addGlobalListener(window, "mouseup", onColorAreaUp, false);
|
|
306
|
-
addGlobalListener(window, "touchend", onColorAreaUp, false);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
let onColorAreaUp = (e) => {
|
|
311
|
-
let id = e.pointerId ?? e.changedTouches?.[0].identifier;
|
|
312
|
-
if (isOnColorArea.current && id === currentPointer.current) {
|
|
313
|
-
isOnColorArea.current = false;
|
|
314
|
-
setValueChangedViaKeyboard(false);
|
|
315
|
-
currentPointer.current = void 0;
|
|
316
|
-
state.setDragging(false);
|
|
317
|
-
focusInput();
|
|
318
|
-
if (typeof PointerEvent !== "undefined") removeGlobalListener(window, "pointerup", onColorAreaUp, false);
|
|
319
|
-
else {
|
|
320
|
-
removeGlobalListener(window, "mouseup", onColorAreaUp, false);
|
|
321
|
-
removeGlobalListener(window, "touchend", onColorAreaUp, false);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
};
|
|
325
|
-
let colorAreaInteractions = isDisabled ? {} : $bbaa08b3cd72f041$export$9d1611c77c2fe928({ ...typeof PointerEvent !== "undefined" ? { onPointerDown: (e) => {
|
|
326
|
-
if (e.pointerType === "mouse" && (e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey)) return;
|
|
327
|
-
onColorAreaDown(e.currentTarget, e.pointerId, e.clientX, e.clientY);
|
|
328
|
-
} } : {
|
|
329
|
-
onMouseDown: (e) => {
|
|
330
|
-
if (e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey) return;
|
|
331
|
-
onColorAreaDown(e.currentTarget, void 0, e.clientX, e.clientY);
|
|
332
|
-
},
|
|
333
|
-
onTouchStart: (e) => {
|
|
334
|
-
onColorAreaDown(e.currentTarget, e.changedTouches[0].identifier, e.changedTouches[0].clientX, e.changedTouches[0].clientY);
|
|
335
|
-
}
|
|
336
|
-
} }, movePropsContainer);
|
|
337
|
-
let thumbInteractions = isDisabled ? {} : $bbaa08b3cd72f041$export$9d1611c77c2fe928({ ...typeof PointerEvent !== "undefined" ? { onPointerDown: (e) => {
|
|
338
|
-
if (e.pointerType === "mouse" && (e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey)) return;
|
|
339
|
-
onThumbDown(e.pointerId);
|
|
340
|
-
} } : {
|
|
341
|
-
onMouseDown: (e) => {
|
|
342
|
-
if (e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey) return;
|
|
343
|
-
onThumbDown(void 0);
|
|
344
|
-
},
|
|
345
|
-
onTouchStart: (e) => {
|
|
346
|
-
onThumbDown(e.changedTouches[0].identifier);
|
|
347
|
-
}
|
|
348
|
-
} }, focusWithinProps, keyboardProps, movePropsThumb);
|
|
349
|
-
let { focusProps: xInputFocusProps } = $1e74c67db218ce67$export$f8168d8dd8fd66e6({ onFocus: () => {
|
|
350
|
-
setFocusedInput("x");
|
|
351
|
-
} });
|
|
352
|
-
let { focusProps: yInputFocusProps } = $1e74c67db218ce67$export$f8168d8dd8fd66e6({ onFocus: () => {
|
|
353
|
-
setFocusedInput("y");
|
|
354
|
-
} });
|
|
355
|
-
const onChange = (e) => {
|
|
356
|
-
const { target } = e;
|
|
357
|
-
setValueChangedViaInputChangeEvent(true);
|
|
358
|
-
if (target === inputXRef.current) state.setXValue(parseFloat(target.value));
|
|
359
|
-
else if (target === inputYRef.current) state.setYValue(parseFloat(target.value));
|
|
360
|
-
};
|
|
361
|
-
let isMobile = $2add3ce32c6007eb$export$fedb369cb70207f1() || $2add3ce32c6007eb$export$a11b0059900ceec8();
|
|
362
|
-
let value = state.getDisplayColor();
|
|
363
|
-
const getAriaValueTextForChannel = useCallback((channel) => {
|
|
364
|
-
return `${valueChangedViaInputChangeEvent || valueChangedViaKeyboard ? stringFormatter.format("colorNameAndValue", {
|
|
365
|
-
name: value.getChannelName(channel, locale),
|
|
366
|
-
value: value.formatChannelValue(channel, locale)
|
|
367
|
-
}) : [
|
|
368
|
-
stringFormatter.format("colorNameAndValue", {
|
|
369
|
-
name: value.getChannelName(channel, locale),
|
|
370
|
-
value: value.formatChannelValue(channel, locale)
|
|
371
|
-
}),
|
|
372
|
-
stringFormatter.format("colorNameAndValue", {
|
|
373
|
-
name: value.getChannelName(channel === yChannel ? xChannel : yChannel, locale),
|
|
374
|
-
value: value.formatChannelValue(channel === yChannel ? xChannel : yChannel, locale)
|
|
375
|
-
}),
|
|
376
|
-
stringFormatter.format("colorNameAndValue", {
|
|
377
|
-
name: value.getChannelName(zChannel, locale),
|
|
378
|
-
value: value.formatChannelValue(zChannel, locale)
|
|
379
|
-
})
|
|
380
|
-
].join(", ")}, ${value.getColorName(locale)}`;
|
|
381
|
-
}, [
|
|
382
|
-
locale,
|
|
383
|
-
value,
|
|
384
|
-
stringFormatter,
|
|
385
|
-
valueChangedViaInputChangeEvent,
|
|
386
|
-
valueChangedViaKeyboard,
|
|
387
|
-
xChannel,
|
|
388
|
-
yChannel,
|
|
389
|
-
zChannel
|
|
390
|
-
]);
|
|
391
|
-
let colorPickerLabel = stringFormatter.format("colorPicker");
|
|
392
|
-
let xInputLabellingProps = $e8ac3c3f5d4bae7f$export$d6875122194c7b44({
|
|
393
|
-
...props,
|
|
394
|
-
"aria-label": ariaLabel ? stringFormatter.format("colorInputLabel", {
|
|
395
|
-
label: ariaLabel,
|
|
396
|
-
channelLabel: colorPickerLabel
|
|
397
|
-
}) : colorPickerLabel
|
|
398
|
-
});
|
|
399
|
-
let yInputLabellingProps = $e8ac3c3f5d4bae7f$export$d6875122194c7b44({
|
|
400
|
-
...props,
|
|
401
|
-
"aria-label": ariaLabel ? stringFormatter.format("colorInputLabel", {
|
|
402
|
-
label: ariaLabel,
|
|
403
|
-
channelLabel: colorPickerLabel
|
|
404
|
-
}) : colorPickerLabel
|
|
405
|
-
});
|
|
406
|
-
let colorAreaLabellingProps = $e8ac3c3f5d4bae7f$export$d6875122194c7b44({
|
|
407
|
-
...props,
|
|
408
|
-
"aria-label": ariaLabel ? `${ariaLabel}, ${colorPickerLabel}` : void 0
|
|
409
|
-
}, isMobile ? colorPickerLabel : void 0);
|
|
410
|
-
let ariaRoleDescription = stringFormatter.format("twoDimensionalSlider");
|
|
411
|
-
let { visuallyHiddenProps } = $ea3928288112382f$export$a966af930f325cab({ style: {
|
|
412
|
-
opacity: "0.0001",
|
|
413
|
-
width: "100%",
|
|
414
|
-
height: "100%",
|
|
415
|
-
pointerEvents: "none"
|
|
416
|
-
} });
|
|
417
|
-
let { colorAreaStyleProps, thumbStyleProps } = $ad8cc31e40d60e64$export$dd62420467d245ca({
|
|
418
|
-
direction,
|
|
419
|
-
state,
|
|
420
|
-
xChannel,
|
|
421
|
-
yChannel,
|
|
422
|
-
zChannel
|
|
423
|
-
});
|
|
424
|
-
return {
|
|
425
|
-
colorAreaProps: {
|
|
426
|
-
...colorAreaLabellingProps,
|
|
427
|
-
...colorAreaInteractions,
|
|
428
|
-
...colorAreaStyleProps,
|
|
429
|
-
role: "group"
|
|
430
|
-
},
|
|
431
|
-
thumbProps: {
|
|
432
|
-
...thumbInteractions,
|
|
433
|
-
...thumbStyleProps,
|
|
434
|
-
role: "presentation"
|
|
435
|
-
},
|
|
436
|
-
xInputProps: {
|
|
437
|
-
...xInputLabellingProps,
|
|
438
|
-
...visuallyHiddenProps,
|
|
439
|
-
...xInputFocusProps,
|
|
440
|
-
type: "range",
|
|
441
|
-
min: state.value.getChannelRange(xChannel).minValue,
|
|
442
|
-
max: state.value.getChannelRange(xChannel).maxValue,
|
|
443
|
-
step: xChannelStep,
|
|
444
|
-
"aria-roledescription": ariaRoleDescription,
|
|
445
|
-
"aria-valuetext": getAriaValueTextForChannel(xChannel),
|
|
446
|
-
"aria-orientation": "horizontal",
|
|
447
|
-
"aria-describedby": props["aria-describedby"],
|
|
448
|
-
"aria-details": props["aria-details"],
|
|
449
|
-
disabled: isDisabled,
|
|
450
|
-
value: state.value.getChannelValue(xChannel),
|
|
451
|
-
name: xName,
|
|
452
|
-
form,
|
|
453
|
-
tabIndex: isMobile || !focusedInput || focusedInput === "x" ? void 0 : -1,
|
|
454
|
-
"aria-hidden": isMobile || !focusedInput || focusedInput === "x" || valueChangedViaKeyboard ? void 0 : "true",
|
|
455
|
-
onChange
|
|
456
|
-
},
|
|
457
|
-
yInputProps: {
|
|
458
|
-
...yInputLabellingProps,
|
|
459
|
-
...visuallyHiddenProps,
|
|
460
|
-
...yInputFocusProps,
|
|
461
|
-
type: "range",
|
|
462
|
-
min: state.value.getChannelRange(yChannel).minValue,
|
|
463
|
-
max: state.value.getChannelRange(yChannel).maxValue,
|
|
464
|
-
step: yChannelStep,
|
|
465
|
-
"aria-roledescription": ariaRoleDescription,
|
|
466
|
-
"aria-valuetext": getAriaValueTextForChannel(yChannel),
|
|
467
|
-
"aria-orientation": "vertical",
|
|
468
|
-
"aria-describedby": props["aria-describedby"],
|
|
469
|
-
"aria-details": props["aria-details"],
|
|
470
|
-
disabled: isDisabled,
|
|
471
|
-
value: state.value.getChannelValue(yChannel),
|
|
472
|
-
name: yName,
|
|
473
|
-
form,
|
|
474
|
-
tabIndex: isMobile || focusedInput === "y" ? void 0 : -1,
|
|
475
|
-
"aria-hidden": isMobile || focusedInput === "y" || valueChangedViaKeyboard ? void 0 : "true",
|
|
476
|
-
onChange
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
}
|
|
480
|
-
//#endregion
|
|
481
|
-
//#region node_modules/react-stately/dist/private/color/useColorAreaState.mjs
|
|
482
|
-
var $1f22dbfd2b026cf2$var$DEFAULT_COLOR = $890783418b00a858$export$6e865ea70d7724f("#ffffff");
|
|
483
|
-
function $1f22dbfd2b026cf2$export$6df7f0e2cabc7eef(props) {
|
|
484
|
-
let { value, defaultValue, colorSpace, xChannel, yChannel, onChange, onChangeEnd } = props;
|
|
485
|
-
if (!value && !defaultValue) defaultValue = $1f22dbfd2b026cf2$var$DEFAULT_COLOR;
|
|
486
|
-
if (value) value = $890783418b00a858$export$4cde5df63f53f473(value);
|
|
487
|
-
if (defaultValue) defaultValue = $890783418b00a858$export$4cde5df63f53f473(defaultValue);
|
|
488
|
-
let [colorValue, setColorState] = $3e6197669829fe11$export$40bfa8c7b0832715(value, defaultValue, onChange);
|
|
489
|
-
let [initialValue] = useState(colorValue);
|
|
490
|
-
let color = useMemo(() => colorSpace && colorValue ? colorValue.toFormat(colorSpace) : colorValue, [colorValue, colorSpace]);
|
|
491
|
-
let valueRef = useRef(color);
|
|
492
|
-
let setColor = (color) => {
|
|
493
|
-
valueRef.current = color;
|
|
494
|
-
setColorState(color);
|
|
495
|
-
};
|
|
496
|
-
let channels = useMemo(() => color.getColorSpaceAxes({
|
|
497
|
-
xChannel,
|
|
498
|
-
yChannel
|
|
499
|
-
}), [
|
|
500
|
-
color,
|
|
501
|
-
xChannel,
|
|
502
|
-
yChannel
|
|
503
|
-
]);
|
|
504
|
-
let xChannelRange = color.getChannelRange(channels.xChannel);
|
|
505
|
-
let yChannelRange = color.getChannelRange(channels.yChannel);
|
|
506
|
-
let { minValue: minValueX, maxValue: maxValueX, step: stepX, pageSize: pageSizeX } = xChannelRange;
|
|
507
|
-
let { minValue: minValueY, maxValue: maxValueY, step: stepY, pageSize: pageSizeY } = yChannelRange;
|
|
508
|
-
let [isDragging, setDragging] = useState(false);
|
|
509
|
-
let isDraggingRef = useRef(false);
|
|
510
|
-
let xValue = color.getChannelValue(channels.xChannel);
|
|
511
|
-
let yValue = color.getChannelValue(channels.yChannel);
|
|
512
|
-
let setXValue = (v) => {
|
|
513
|
-
if (v === xValue) return;
|
|
514
|
-
let newColor = color.withChannelValue(channels.xChannel, v);
|
|
515
|
-
setColor(newColor);
|
|
516
|
-
};
|
|
517
|
-
let setYValue = (v) => {
|
|
518
|
-
if (v === yValue) return;
|
|
519
|
-
let newColor = color.withChannelValue(channels.yChannel, v);
|
|
520
|
-
setColor(newColor);
|
|
521
|
-
};
|
|
522
|
-
return {
|
|
523
|
-
channels,
|
|
524
|
-
xChannelStep: stepX,
|
|
525
|
-
yChannelStep: stepY,
|
|
526
|
-
xChannelPageStep: pageSizeX,
|
|
527
|
-
yChannelPageStep: pageSizeY,
|
|
528
|
-
value: color,
|
|
529
|
-
defaultValue: value !== void 0 ? initialValue : defaultValue,
|
|
530
|
-
setValue(value) {
|
|
531
|
-
setColor($890783418b00a858$export$4cde5df63f53f473(value));
|
|
532
|
-
},
|
|
533
|
-
xValue,
|
|
534
|
-
setXValue,
|
|
535
|
-
yValue,
|
|
536
|
-
setYValue,
|
|
537
|
-
setColorFromPoint(x, y) {
|
|
538
|
-
let newXValue = minValueX + $240e9101ba2842f5$export$7d15b64cf5a3a4c4(x, 0, 1) * (maxValueX - minValueX);
|
|
539
|
-
let newYValue = minValueY + (1 - $240e9101ba2842f5$export$7d15b64cf5a3a4c4(y, 0, 1)) * (maxValueY - minValueY);
|
|
540
|
-
let newColor;
|
|
541
|
-
if (newXValue !== xValue) {
|
|
542
|
-
newXValue = $240e9101ba2842f5$export$cb6e0bb50bc19463(newXValue, minValueX, maxValueX, stepX);
|
|
543
|
-
newColor = color.withChannelValue(channels.xChannel, newXValue);
|
|
544
|
-
}
|
|
545
|
-
if (newYValue !== yValue) {
|
|
546
|
-
newYValue = $240e9101ba2842f5$export$cb6e0bb50bc19463(newYValue, minValueY, maxValueY, stepY);
|
|
547
|
-
newColor = (newColor || color).withChannelValue(channels.yChannel, newYValue);
|
|
548
|
-
}
|
|
549
|
-
if (newColor) setColor(newColor);
|
|
550
|
-
},
|
|
551
|
-
getThumbPosition() {
|
|
552
|
-
return {
|
|
553
|
-
x: (xValue - minValueX) / (maxValueX - minValueX),
|
|
554
|
-
y: 1 - (yValue - minValueY) / (maxValueY - minValueY)
|
|
555
|
-
};
|
|
556
|
-
},
|
|
557
|
-
incrementX(stepSize = 1) {
|
|
558
|
-
setXValue(xValue + stepSize > maxValueX ? maxValueX : $240e9101ba2842f5$export$cb6e0bb50bc19463(xValue + stepSize, minValueX, maxValueX, stepX));
|
|
559
|
-
},
|
|
560
|
-
incrementY(stepSize = 1) {
|
|
561
|
-
setYValue(yValue + stepSize > maxValueY ? maxValueY : $240e9101ba2842f5$export$cb6e0bb50bc19463(yValue + stepSize, minValueY, maxValueY, stepY));
|
|
562
|
-
},
|
|
563
|
-
decrementX(stepSize = 1) {
|
|
564
|
-
setXValue($240e9101ba2842f5$export$cb6e0bb50bc19463(xValue - stepSize, minValueX, maxValueX, stepX));
|
|
565
|
-
},
|
|
566
|
-
decrementY(stepSize = 1) {
|
|
567
|
-
setYValue($240e9101ba2842f5$export$cb6e0bb50bc19463(yValue - stepSize, minValueY, maxValueY, stepY));
|
|
568
|
-
},
|
|
569
|
-
setDragging(isDragging) {
|
|
570
|
-
let wasDragging = isDraggingRef.current;
|
|
571
|
-
isDraggingRef.current = isDragging;
|
|
572
|
-
if (onChangeEnd && !isDragging && wasDragging) onChangeEnd(valueRef.current);
|
|
573
|
-
setDragging(isDragging);
|
|
574
|
-
},
|
|
575
|
-
isDragging,
|
|
576
|
-
getDisplayColor() {
|
|
577
|
-
return color.withChannelValue("alpha", 1);
|
|
578
|
-
}
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
//#endregion
|
|
582
|
-
//#region node_modules/react-aria-components/dist/private/ColorArea.mjs
|
|
583
|
-
var $e3bcd4910eec2b11$export$ebe63fadcdce34ed = createContext(null);
|
|
584
|
-
var $e3bcd4910eec2b11$export$6b32221de49982e = createContext(null);
|
|
585
|
-
var $e3bcd4910eec2b11$export$b2103f68a961418e = forwardRef(function ColorArea(props, ref) {
|
|
586
|
-
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $e3bcd4910eec2b11$export$ebe63fadcdce34ed);
|
|
587
|
-
let inputXRef = useRef(null);
|
|
588
|
-
let inputYRef = useRef(null);
|
|
589
|
-
let state = $1f22dbfd2b026cf2$export$6df7f0e2cabc7eef(props);
|
|
590
|
-
let { colorAreaProps, xInputProps, yInputProps, thumbProps } = $12db0b624ec2ac09$export$2f92a7a615a014f6({
|
|
591
|
-
...props,
|
|
592
|
-
inputXRef,
|
|
593
|
-
inputYRef,
|
|
594
|
-
containerRef: ref
|
|
595
|
-
}, state);
|
|
596
|
-
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
597
|
-
...props,
|
|
598
|
-
defaultClassName: "react-aria-ColorArea",
|
|
599
|
-
defaultStyle: colorAreaProps.style,
|
|
600
|
-
values: {
|
|
601
|
-
state,
|
|
602
|
-
isDisabled: props.isDisabled || false
|
|
603
|
-
}
|
|
604
|
-
});
|
|
605
|
-
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
606
|
-
delete DOMProps.id;
|
|
607
|
-
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
608
|
-
ref,
|
|
609
|
-
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(DOMProps, colorAreaProps, renderProps),
|
|
610
|
-
slot: props.slot || void 0,
|
|
611
|
-
"data-disabled": props.isDisabled || void 0
|
|
612
|
-
}, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [[$e3bcd4910eec2b11$export$6b32221de49982e, state], [$ceafedee624ffe11$export$c80c0ea2ca5cb846, {
|
|
613
|
-
state,
|
|
614
|
-
thumbProps,
|
|
615
|
-
inputXRef,
|
|
616
|
-
xInputProps,
|
|
617
|
-
inputYRef,
|
|
618
|
-
yInputProps,
|
|
619
|
-
isDisabled: props.isDisabled
|
|
620
|
-
}]] }, renderProps.children));
|
|
621
|
-
});
|
|
622
|
-
//#endregion
|
|
623
|
-
//#region node_modules/react-aria/dist/private/color/useColorField.mjs
|
|
624
|
-
function $3945427e9f7dd37b$export$77e32ca575a28fdf(props, state, ref) {
|
|
625
|
-
let { isDisabled, isReadOnly, isRequired, isWheelDisabled, validationBehavior = "aria", onKeyDown, onKeyUp } = props;
|
|
626
|
-
let { colorValue, inputValue, increment, decrement, incrementToMax, decrementToMin, commit, commitValidation } = state;
|
|
627
|
-
let inputId = $390e54f620492c70$export$f680877a34711e37();
|
|
628
|
-
let { spinButtonProps } = $757ec6630f26125c$export$e908e06f4b8e3402({
|
|
629
|
-
isDisabled,
|
|
630
|
-
isReadOnly,
|
|
631
|
-
isRequired,
|
|
632
|
-
maxValue: 16777215,
|
|
633
|
-
minValue: 0,
|
|
634
|
-
onIncrement: increment,
|
|
635
|
-
onIncrementToMax: incrementToMax,
|
|
636
|
-
onDecrement: decrement,
|
|
637
|
-
onDecrementToMin: decrementToMin,
|
|
638
|
-
value: colorValue ? colorValue.toHexInt() : void 0,
|
|
639
|
-
textValue: colorValue ? colorValue.toString("hex") : void 0
|
|
640
|
-
});
|
|
641
|
-
let [focusWithin, setFocusWithin] = useState(false);
|
|
642
|
-
let { focusWithinProps } = $2c9edc598a03d523$export$420e68273165f4ec({
|
|
643
|
-
isDisabled,
|
|
644
|
-
onFocusWithinChange: setFocusWithin
|
|
645
|
-
});
|
|
646
|
-
let onWheel = useCallback((e) => {
|
|
647
|
-
if (Math.abs(e.deltaY) <= Math.abs(e.deltaX)) return;
|
|
648
|
-
if (e.deltaY > 0) increment();
|
|
649
|
-
else if (e.deltaY < 0) decrement();
|
|
650
|
-
}, [decrement, increment]);
|
|
651
|
-
$14554ba6a2007b17$export$2123ff2b87c81ca({
|
|
652
|
-
onScroll: onWheel,
|
|
653
|
-
isDisabled: isWheelDisabled || isDisabled || isReadOnly || !focusWithin
|
|
654
|
-
}, ref);
|
|
655
|
-
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
656
|
-
isDisabled: isDisabled || isReadOnly,
|
|
657
|
-
shortcuts: { Enter: () => {
|
|
658
|
-
flushSync(() => {
|
|
659
|
-
commit();
|
|
660
|
-
});
|
|
661
|
-
commitValidation();
|
|
662
|
-
return { shouldPreventDefault: false };
|
|
663
|
-
} },
|
|
664
|
-
onKeyDown,
|
|
665
|
-
onKeyUp
|
|
666
|
-
});
|
|
667
|
-
let onChange = (value) => {
|
|
668
|
-
if (state.validate(value)) state.setInputValue(value);
|
|
669
|
-
};
|
|
670
|
-
let { inputProps, ...otherProps } = $62888b2ec35be488$export$4f384c9210e583c3({
|
|
671
|
-
...props,
|
|
672
|
-
id: inputId,
|
|
673
|
-
value: inputValue,
|
|
674
|
-
defaultValue: "!",
|
|
675
|
-
validate: void 0,
|
|
676
|
-
[$fd2148440a13ec26$export$a763b9476acd3eb]: state,
|
|
677
|
-
type: "text",
|
|
678
|
-
autoComplete: "off",
|
|
679
|
-
onChange,
|
|
680
|
-
onKeyDown: void 0,
|
|
681
|
-
onKeyUp: void 0
|
|
682
|
-
}, state, ref);
|
|
683
|
-
$3274bf1495747a7b$export$5add1d006293d136(ref, state.defaultColorValue, state.setColorValue);
|
|
684
|
-
inputProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(keyboardProps, inputProps, spinButtonProps, focusWithinProps, {
|
|
685
|
-
role: "textbox",
|
|
686
|
-
"aria-valuemax": null,
|
|
687
|
-
"aria-valuemin": null,
|
|
688
|
-
"aria-valuenow": null,
|
|
689
|
-
"aria-valuetext": null,
|
|
690
|
-
autoCorrect: "off",
|
|
691
|
-
spellCheck: "false",
|
|
692
|
-
onBlur: commit
|
|
693
|
-
});
|
|
694
|
-
if (validationBehavior === "native") inputProps["aria-required"] = void 0;
|
|
695
|
-
return {
|
|
696
|
-
inputProps,
|
|
697
|
-
...otherProps
|
|
698
|
-
};
|
|
699
|
-
}
|
|
700
|
-
//#endregion
|
|
701
|
-
//#region node_modules/react-aria/dist/private/color/useColorChannelField.mjs
|
|
702
|
-
function $d362ea20c2c75815$export$e55dd820142d3131(props, state, inputRef) {
|
|
703
|
-
let { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
704
|
-
return $cd2fa56213693c5e$export$23f548e970bdf099({
|
|
705
|
-
...props,
|
|
706
|
-
value: void 0,
|
|
707
|
-
defaultValue: void 0,
|
|
708
|
-
onChange: void 0,
|
|
709
|
-
validate: void 0,
|
|
710
|
-
"aria-label": props["aria-label"] || (props.label || props["aria-labelledby"] ? void 0 : state.colorValue.getChannelName(props.channel, locale))
|
|
711
|
-
}, state, inputRef);
|
|
712
|
-
}
|
|
713
|
-
//#endregion
|
|
714
|
-
//#region node_modules/react-stately/dist/private/color/useColor.mjs
|
|
715
|
-
function $7d5d4eb4667f32af$export$5aadd9c0606af5c2(value) {
|
|
716
|
-
return useMemo(() => {
|
|
717
|
-
if (typeof value === "string") try {
|
|
718
|
-
return $890783418b00a858$export$6e865ea70d7724f(value);
|
|
719
|
-
} catch {
|
|
720
|
-
return;
|
|
721
|
-
}
|
|
722
|
-
return value;
|
|
723
|
-
}, [value]);
|
|
724
|
-
}
|
|
725
|
-
//#endregion
|
|
726
|
-
//#region node_modules/react-stately/dist/private/color/useColorFieldState.mjs
|
|
727
|
-
var $83c2160a93ad557c$var$MIN_COLOR = $890783418b00a858$export$6e865ea70d7724f("#000000");
|
|
728
|
-
var $83c2160a93ad557c$var$MAX_COLOR = $890783418b00a858$export$6e865ea70d7724f("#FFFFFF");
|
|
729
|
-
var $83c2160a93ad557c$var$MIN_COLOR_INT = $83c2160a93ad557c$var$MIN_COLOR.toHexInt();
|
|
730
|
-
var $83c2160a93ad557c$var$MAX_COLOR_INT = $83c2160a93ad557c$var$MAX_COLOR.toHexInt();
|
|
731
|
-
function $83c2160a93ad557c$export$d52a01683abdfcd6(props) {
|
|
732
|
-
let { value, defaultValue, onChange } = props;
|
|
733
|
-
let { step } = $83c2160a93ad557c$var$MIN_COLOR.getChannelRange("red");
|
|
734
|
-
let initialDefaultValue = $7d5d4eb4667f32af$export$5aadd9c0606af5c2(defaultValue);
|
|
735
|
-
let [colorValue, setColorValue] = $3e6197669829fe11$export$40bfa8c7b0832715($7d5d4eb4667f32af$export$5aadd9c0606af5c2(value), initialDefaultValue, onChange);
|
|
736
|
-
let [initialValue] = useState(colorValue);
|
|
737
|
-
let [inputValue, setInputValue] = useState(() => (value || defaultValue) && colorValue ? colorValue.toString("hex") : "");
|
|
738
|
-
let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
|
|
739
|
-
...props,
|
|
740
|
-
value: colorValue
|
|
741
|
-
});
|
|
742
|
-
let safelySetColorValue = (newColor) => {
|
|
743
|
-
if (!colorValue || !newColor) {
|
|
744
|
-
setColorValue(newColor);
|
|
745
|
-
return;
|
|
746
|
-
}
|
|
747
|
-
if (newColor.toHexInt() !== colorValue.toHexInt()) {
|
|
748
|
-
setColorValue(newColor);
|
|
749
|
-
return;
|
|
750
|
-
}
|
|
751
|
-
};
|
|
752
|
-
let [prevValue, setPrevValue] = useState(colorValue);
|
|
753
|
-
if (prevValue !== colorValue) {
|
|
754
|
-
setInputValue(colorValue ? colorValue.toString("hex") : "");
|
|
755
|
-
setPrevValue(colorValue);
|
|
756
|
-
}
|
|
757
|
-
let parsedValue = useMemo(() => {
|
|
758
|
-
let color;
|
|
759
|
-
try {
|
|
760
|
-
color = $890783418b00a858$export$6e865ea70d7724f(inputValue.startsWith("#") ? inputValue : `#${inputValue}`);
|
|
761
|
-
} catch {
|
|
762
|
-
color = null;
|
|
763
|
-
}
|
|
764
|
-
return color;
|
|
765
|
-
}, [inputValue]);
|
|
766
|
-
let commit = () => {
|
|
767
|
-
if (!inputValue.length) {
|
|
768
|
-
safelySetColorValue(null);
|
|
769
|
-
if (value === void 0 || colorValue === null) setInputValue("");
|
|
770
|
-
else setInputValue(colorValue.toString("hex"));
|
|
771
|
-
return;
|
|
772
|
-
}
|
|
773
|
-
if (parsedValue == null) {
|
|
774
|
-
setInputValue(colorValue ? colorValue.toString("hex") : "");
|
|
775
|
-
return;
|
|
776
|
-
}
|
|
777
|
-
safelySetColorValue(parsedValue);
|
|
778
|
-
let newColorValue = "";
|
|
779
|
-
if (colorValue) newColorValue = colorValue.toString("hex");
|
|
780
|
-
setInputValue(newColorValue);
|
|
781
|
-
validation.commitValidation();
|
|
782
|
-
};
|
|
783
|
-
let increment = () => {
|
|
784
|
-
let newValue = $83c2160a93ad557c$var$addColorValue(parsedValue, step);
|
|
785
|
-
if (newValue === colorValue) setInputValue(newValue.toString("hex"));
|
|
786
|
-
safelySetColorValue(newValue);
|
|
787
|
-
validation.commitValidation();
|
|
788
|
-
};
|
|
789
|
-
let decrement = () => {
|
|
790
|
-
let newValue = $83c2160a93ad557c$var$addColorValue(parsedValue, -step);
|
|
791
|
-
if (newValue === colorValue) setInputValue(newValue.toString("hex"));
|
|
792
|
-
safelySetColorValue(newValue);
|
|
793
|
-
validation.commitValidation();
|
|
794
|
-
};
|
|
795
|
-
let incrementToMax = () => safelySetColorValue($83c2160a93ad557c$var$MAX_COLOR);
|
|
796
|
-
let decrementToMin = () => safelySetColorValue($83c2160a93ad557c$var$MIN_COLOR);
|
|
797
|
-
let validate = (value) => value === "" || !!value.match(/^#?[0-9a-f]{0,6}$/i)?.[0];
|
|
798
|
-
return {
|
|
799
|
-
...validation,
|
|
800
|
-
validate,
|
|
801
|
-
colorValue,
|
|
802
|
-
defaultColorValue: initialDefaultValue ?? initialValue,
|
|
803
|
-
setColorValue,
|
|
804
|
-
inputValue,
|
|
805
|
-
setInputValue,
|
|
806
|
-
commit,
|
|
807
|
-
increment,
|
|
808
|
-
incrementToMax,
|
|
809
|
-
decrement,
|
|
810
|
-
decrementToMin
|
|
811
|
-
};
|
|
812
|
-
}
|
|
813
|
-
function $83c2160a93ad557c$var$addColorValue(color, step) {
|
|
814
|
-
let newColor = color ? color : $83c2160a93ad557c$var$MIN_COLOR;
|
|
815
|
-
let colorInt = newColor.toHexInt();
|
|
816
|
-
let clampInt = Math.min(Math.max(colorInt + step, $83c2160a93ad557c$var$MIN_COLOR_INT), $83c2160a93ad557c$var$MAX_COLOR_INT);
|
|
817
|
-
if (clampInt !== colorInt) {
|
|
818
|
-
let newColorString = `#${clampInt.toString(16).padStart(6, "0").toUpperCase()}`;
|
|
819
|
-
newColor = $890783418b00a858$export$6e865ea70d7724f(newColorString);
|
|
820
|
-
}
|
|
821
|
-
return newColor;
|
|
822
|
-
}
|
|
823
|
-
//#endregion
|
|
824
|
-
//#region node_modules/react-stately/dist/private/color/useColorChannelFieldState.mjs
|
|
825
|
-
function $378fa61546b28d38$export$b9fc0d69c9190c4a(props) {
|
|
826
|
-
let { channel, colorSpace, locale } = props;
|
|
827
|
-
let initialValue = $7d5d4eb4667f32af$export$5aadd9c0606af5c2(props.value);
|
|
828
|
-
let initialDefaultValue = $7d5d4eb4667f32af$export$5aadd9c0606af5c2(props.defaultValue);
|
|
829
|
-
let [colorValue, setColor] = $3e6197669829fe11$export$40bfa8c7b0832715(initialValue, initialDefaultValue ?? null, props.onChange);
|
|
830
|
-
let color = $378fa61546b28d38$var$useConvertColor(colorValue, colorSpace);
|
|
831
|
-
let [initialColorValue] = useState(colorValue);
|
|
832
|
-
let defaultColorValue = initialDefaultValue ?? initialColorValue;
|
|
833
|
-
let defaultColor = $378fa61546b28d38$var$useConvertColor(defaultColorValue, colorSpace);
|
|
834
|
-
let value = color.getChannelValue(channel);
|
|
835
|
-
let range = color.getChannelRange(channel);
|
|
836
|
-
let formatOptions = useMemo(() => color.getChannelFormatOptions(channel), [color, channel]);
|
|
837
|
-
let multiplier = formatOptions.style === "percent" && range.maxValue === 100 ? 100 : 1;
|
|
838
|
-
return {
|
|
839
|
-
...$3d0ee518c6f3d04f$export$7f629e9dc1ecf37c({
|
|
840
|
-
locale,
|
|
841
|
-
value: colorValue === null ? NaN : value / multiplier,
|
|
842
|
-
defaultValue: defaultColorValue === null ? NaN : defaultColor.getChannelValue(channel) / multiplier,
|
|
843
|
-
onChange: (v) => {
|
|
844
|
-
if (!Number.isNaN(v)) setColor(color.withChannelValue(channel, v * multiplier));
|
|
845
|
-
else setColor(null);
|
|
846
|
-
},
|
|
847
|
-
minValue: range.minValue / multiplier,
|
|
848
|
-
maxValue: range.maxValue / multiplier,
|
|
849
|
-
step: range.step / multiplier,
|
|
850
|
-
formatOptions
|
|
851
|
-
}),
|
|
852
|
-
colorValue: color,
|
|
853
|
-
defaultColorValue,
|
|
854
|
-
setColorValue: setColor
|
|
855
|
-
};
|
|
856
|
-
}
|
|
857
|
-
function $378fa61546b28d38$var$useConvertColor(colorValue, colorSpace) {
|
|
858
|
-
let black = $7d5d4eb4667f32af$export$5aadd9c0606af5c2("#000");
|
|
859
|
-
return useMemo(() => {
|
|
860
|
-
let nonNullColorValue = colorValue || black;
|
|
861
|
-
return colorSpace && nonNullColorValue ? nonNullColorValue.toFormat(colorSpace) : nonNullColorValue;
|
|
862
|
-
}, [
|
|
863
|
-
black,
|
|
864
|
-
colorValue,
|
|
865
|
-
colorSpace
|
|
866
|
-
]);
|
|
867
|
-
}
|
|
868
|
-
//#endregion
|
|
869
|
-
//#region node_modules/react-aria-components/dist/private/ColorField.mjs
|
|
870
|
-
var $baf01eb6a6ce4d91$export$44644b8a16031b5b = createContext(null);
|
|
871
|
-
var $baf01eb6a6ce4d91$export$96b6d32b05a1a8ed = createContext(null);
|
|
872
|
-
var $baf01eb6a6ce4d91$export$b865d4358897bb17 = forwardRef(function ColorField(props, ref) {
|
|
873
|
-
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $baf01eb6a6ce4d91$export$44644b8a16031b5b);
|
|
874
|
-
if (props.channel) return $3ARPR$react.createElement($baf01eb6a6ce4d91$var$ColorChannelField, {
|
|
875
|
-
...props,
|
|
876
|
-
channel: props.channel,
|
|
877
|
-
forwardedRef: ref
|
|
878
|
-
});
|
|
879
|
-
else return $3ARPR$react.createElement($baf01eb6a6ce4d91$var$HexColorField, {
|
|
880
|
-
...props,
|
|
881
|
-
forwardedRef: ref
|
|
882
|
-
});
|
|
883
|
-
});
|
|
884
|
-
function $baf01eb6a6ce4d91$var$ColorChannelField(props) {
|
|
885
|
-
let { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
886
|
-
let state = $378fa61546b28d38$export$b9fc0d69c9190c4a({
|
|
887
|
-
...props,
|
|
888
|
-
locale
|
|
889
|
-
});
|
|
890
|
-
let inputRef = useRef(null);
|
|
891
|
-
let [labelRef, label] = $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
892
|
-
let { labelProps, inputProps, descriptionProps, errorMessageProps, ...validation } = $d362ea20c2c75815$export$e55dd820142d3131({
|
|
893
|
-
...$7230ffa83bc0c2cf$export$ef03459518577ad4(props),
|
|
894
|
-
label,
|
|
895
|
-
validationBehavior: props.validationBehavior ?? "native"
|
|
896
|
-
}, state, inputRef);
|
|
897
|
-
return $3ARPR$react.createElement($3ARPR$react.Fragment, null, $baf01eb6a6ce4d91$var$useChildren(props, state, props.forwardedRef, inputProps, inputRef, labelProps, labelRef, descriptionProps, errorMessageProps, validation), props.name && $3ARPR$react.createElement("input", {
|
|
898
|
-
type: "hidden",
|
|
899
|
-
name: props.name,
|
|
900
|
-
form: props.form,
|
|
901
|
-
value: isNaN(state.numberValue) ? "" : state.numberValue
|
|
902
|
-
}));
|
|
903
|
-
}
|
|
904
|
-
function $baf01eb6a6ce4d91$var$HexColorField(props) {
|
|
905
|
-
let state = $83c2160a93ad557c$export$d52a01683abdfcd6({
|
|
906
|
-
...props,
|
|
907
|
-
validationBehavior: props.validationBehavior ?? "native"
|
|
908
|
-
});
|
|
909
|
-
let inputRef = useRef(null);
|
|
910
|
-
let [labelRef, label] = $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
911
|
-
let { labelProps, inputProps, descriptionProps, errorMessageProps, ...validation } = $3945427e9f7dd37b$export$77e32ca575a28fdf({
|
|
912
|
-
...$7230ffa83bc0c2cf$export$ef03459518577ad4(props),
|
|
913
|
-
label,
|
|
914
|
-
validationBehavior: props.validationBehavior ?? "native"
|
|
915
|
-
}, state, inputRef);
|
|
916
|
-
return $baf01eb6a6ce4d91$var$useChildren(props, state, props.forwardedRef, inputProps, inputRef, labelProps, labelRef, descriptionProps, errorMessageProps, validation);
|
|
917
|
-
}
|
|
918
|
-
function $baf01eb6a6ce4d91$var$useChildren(props, state, ref, inputProps, inputRef, labelProps, labelRef, descriptionProps, errorMessageProps, validation) {
|
|
919
|
-
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
920
|
-
...props,
|
|
921
|
-
values: {
|
|
922
|
-
state,
|
|
923
|
-
channel: props.channel || "hex",
|
|
924
|
-
isDisabled: props.isDisabled || false,
|
|
925
|
-
isInvalid: validation.isInvalid || false,
|
|
926
|
-
isReadOnly: props.isReadOnly || false,
|
|
927
|
-
isRequired: props.isRequired || false
|
|
928
|
-
},
|
|
929
|
-
defaultClassName: "react-aria-ColorField"
|
|
930
|
-
});
|
|
931
|
-
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
932
|
-
delete DOMProps.id;
|
|
933
|
-
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
934
|
-
[$baf01eb6a6ce4d91$export$96b6d32b05a1a8ed, state],
|
|
935
|
-
[$41fb335299a4a39e$export$37fb8590cf2c088c, {
|
|
936
|
-
...inputProps,
|
|
937
|
-
ref: inputRef
|
|
938
|
-
}],
|
|
939
|
-
[$43a3b93638fe5db9$export$75b6ee27786ba447, {
|
|
940
|
-
...labelProps,
|
|
941
|
-
ref: labelRef
|
|
942
|
-
}],
|
|
943
|
-
[$3a442827418ebe87$export$f9c6924e160136d1, {
|
|
944
|
-
role: "presentation",
|
|
945
|
-
isInvalid: validation.isInvalid,
|
|
946
|
-
isDisabled: props.isDisabled || false
|
|
947
|
-
}],
|
|
948
|
-
[$efe09c6d1c304b50$export$9afb8bc826b033ea, { slots: {
|
|
949
|
-
description: descriptionProps,
|
|
950
|
-
errorMessage: errorMessageProps
|
|
951
|
-
} }],
|
|
952
|
-
[$1f3c3b1a70cec653$export$ff05c3ac10437e03, validation]
|
|
953
|
-
] }, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
954
|
-
...DOMProps,
|
|
955
|
-
...renderProps,
|
|
956
|
-
ref,
|
|
957
|
-
slot: props.slot || void 0,
|
|
958
|
-
"data-channel": props.channel || "hex",
|
|
959
|
-
"data-disabled": props.isDisabled || void 0,
|
|
960
|
-
"data-invalid": validation.isInvalid || void 0,
|
|
961
|
-
"data-readonly": props.isReadOnly || void 0,
|
|
962
|
-
"data-required": props.isRequired || void 0
|
|
963
|
-
}));
|
|
964
|
-
}
|
|
965
|
-
//#endregion
|
|
966
|
-
//#region node_modules/react-aria/dist/private/color/useColorSlider.mjs
|
|
967
|
-
function $9903d87f588af89b$export$106b7a4e66508f66(props, state) {
|
|
968
|
-
let { trackRef, inputRef, orientation, channel, "aria-label": ariaLabel, name, form } = props;
|
|
969
|
-
let { locale, direction } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
970
|
-
if (!props.label && !ariaLabel && !props["aria-labelledby"]) ariaLabel = state.value.getChannelName(channel, locale);
|
|
971
|
-
let { groupProps, trackProps, labelProps, outputProps } = $4b964a467b2bc7ea$export$56b2c08e277f365({
|
|
972
|
-
...props,
|
|
973
|
-
"aria-label": ariaLabel
|
|
974
|
-
}, state, trackRef);
|
|
975
|
-
let { inputProps, thumbProps } = $4a5dd96ecb58ab11$export$8d15029008292ae({
|
|
976
|
-
index: 0,
|
|
977
|
-
orientation,
|
|
978
|
-
isDisabled: props.isDisabled,
|
|
979
|
-
name,
|
|
980
|
-
form,
|
|
981
|
-
trackRef,
|
|
982
|
-
inputRef
|
|
983
|
-
}, state);
|
|
984
|
-
let value = state.getDisplayColor();
|
|
985
|
-
let generateBackground = () => {
|
|
986
|
-
let to;
|
|
987
|
-
if (orientation === "vertical") to = "top";
|
|
988
|
-
else if (direction === "ltr") to = "right";
|
|
989
|
-
else to = "left";
|
|
990
|
-
switch (channel) {
|
|
991
|
-
case "hue": {
|
|
992
|
-
let stops = [
|
|
993
|
-
0,
|
|
994
|
-
60,
|
|
995
|
-
120,
|
|
996
|
-
180,
|
|
997
|
-
240,
|
|
998
|
-
300,
|
|
999
|
-
360
|
|
1000
|
-
].map((hue) => value.withChannelValue("hue", hue).toString("css")).join(", ");
|
|
1001
|
-
return `linear-gradient(to ${to}, ${stops})`;
|
|
1002
|
-
}
|
|
1003
|
-
case "lightness": {
|
|
1004
|
-
let min = state.getThumbMinValue(0);
|
|
1005
|
-
let max = state.getThumbMaxValue(0);
|
|
1006
|
-
let start = value.withChannelValue(channel, min).toString("css");
|
|
1007
|
-
let middle = value.withChannelValue(channel, (max - min) / 2).toString("css");
|
|
1008
|
-
let end = value.withChannelValue(channel, max).toString("css");
|
|
1009
|
-
return `linear-gradient(to ${to}, ${start}, ${middle}, ${end})`;
|
|
1010
|
-
}
|
|
1011
|
-
case "saturation":
|
|
1012
|
-
case "brightness":
|
|
1013
|
-
case "red":
|
|
1014
|
-
case "green":
|
|
1015
|
-
case "blue":
|
|
1016
|
-
case "alpha": {
|
|
1017
|
-
let start = value.withChannelValue(channel, state.getThumbMinValue(0)).toString("css");
|
|
1018
|
-
let end = value.withChannelValue(channel, state.getThumbMaxValue(0)).toString("css");
|
|
1019
|
-
return `linear-gradient(to ${to}, ${start}, ${end})`;
|
|
1020
|
-
}
|
|
1021
|
-
default: throw new Error("Unknown color channel: " + channel);
|
|
1022
|
-
}
|
|
1023
|
-
};
|
|
1024
|
-
let forcedColorAdjustNoneStyle = { forcedColorAdjust: "none" };
|
|
1025
|
-
if (channel === "hue") inputProps["aria-valuetext"] += `, ${value.getHueName(locale)}`;
|
|
1026
|
-
else if (channel !== "alpha") inputProps["aria-valuetext"] += `, ${value.getColorName(locale)}`;
|
|
1027
|
-
let { visuallyHiddenProps } = $ea3928288112382f$export$a966af930f325cab({ style: {
|
|
1028
|
-
opacity: "0.0001",
|
|
1029
|
-
width: "100%",
|
|
1030
|
-
height: "100%",
|
|
1031
|
-
pointerEvents: "none"
|
|
1032
|
-
} });
|
|
1033
|
-
return {
|
|
1034
|
-
trackProps: {
|
|
1035
|
-
...$bbaa08b3cd72f041$export$9d1611c77c2fe928(groupProps, trackProps),
|
|
1036
|
-
style: {
|
|
1037
|
-
...trackProps.style,
|
|
1038
|
-
...forcedColorAdjustNoneStyle,
|
|
1039
|
-
background: generateBackground()
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
inputProps: {
|
|
1043
|
-
...inputProps,
|
|
1044
|
-
style: {
|
|
1045
|
-
...inputProps.style,
|
|
1046
|
-
...visuallyHiddenProps.style
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
|
-
thumbProps: {
|
|
1050
|
-
...thumbProps,
|
|
1051
|
-
style: {
|
|
1052
|
-
...thumbProps.style,
|
|
1053
|
-
...forcedColorAdjustNoneStyle
|
|
1054
|
-
}
|
|
1055
|
-
},
|
|
1056
|
-
labelProps,
|
|
1057
|
-
outputProps
|
|
1058
|
-
};
|
|
1059
|
-
}
|
|
1060
|
-
//#endregion
|
|
1061
|
-
//#region node_modules/react-stately/dist/private/color/useColorSliderState.mjs
|
|
1062
|
-
function $e1eacc05b29dcc25$export$57bc203e1c9c6d44(props) {
|
|
1063
|
-
let { channel, colorSpace, value, defaultValue, onChange, locale, ...otherProps } = props;
|
|
1064
|
-
if (value == null && defaultValue == null) throw new Error("useColorSliderState requires a value or defaultValue");
|
|
1065
|
-
if (value) value = $890783418b00a858$export$4cde5df63f53f473(value);
|
|
1066
|
-
if (defaultValue) defaultValue = $890783418b00a858$export$4cde5df63f53f473(defaultValue);
|
|
1067
|
-
let [colorValue, setColor] = $3e6197669829fe11$export$40bfa8c7b0832715(value, defaultValue, onChange);
|
|
1068
|
-
let color = useMemo(() => colorSpace && colorValue ? colorValue.toFormat(colorSpace) : colorValue, [colorValue, colorSpace]);
|
|
1069
|
-
let [initialValue] = useState(colorValue);
|
|
1070
|
-
let defaultColorValue = defaultValue ?? initialValue;
|
|
1071
|
-
let defaultColor = useMemo(() => colorSpace && defaultColorValue ? defaultColorValue.toFormat(colorSpace) : defaultColorValue, [defaultColorValue, colorSpace]);
|
|
1072
|
-
let numberFormatter = useMemo(() => new Intl.NumberFormat(), []);
|
|
1073
|
-
let sliderState = $d806310b82f07e9d$export$e5fda3247f5d67f9({
|
|
1074
|
-
...color.getChannelRange(channel),
|
|
1075
|
-
...otherProps,
|
|
1076
|
-
numberFormatter,
|
|
1077
|
-
value: color.getChannelValue(channel),
|
|
1078
|
-
defaultValue: defaultColor.getChannelValue(channel),
|
|
1079
|
-
onChange(v) {
|
|
1080
|
-
setColor(color.withChannelValue(channel, v));
|
|
1081
|
-
},
|
|
1082
|
-
onChangeEnd(v) {
|
|
1083
|
-
if (props.onChangeEnd) props.onChangeEnd(color.withChannelValue(channel, v));
|
|
1084
|
-
}
|
|
1085
|
-
});
|
|
1086
|
-
let { step, pageSize } = color.getChannelRange(channel);
|
|
1087
|
-
return {
|
|
1088
|
-
...sliderState,
|
|
1089
|
-
value: color,
|
|
1090
|
-
setValue(value) {
|
|
1091
|
-
setColor($890783418b00a858$export$4cde5df63f53f473(value));
|
|
1092
|
-
},
|
|
1093
|
-
getDisplayColor() {
|
|
1094
|
-
switch (channel) {
|
|
1095
|
-
case "hue": return $890783418b00a858$export$6e865ea70d7724f(`hsl(${color.getChannelValue("hue")}, 100%, 50%)`);
|
|
1096
|
-
case "lightness":
|
|
1097
|
-
case "brightness":
|
|
1098
|
-
case "saturation":
|
|
1099
|
-
case "red":
|
|
1100
|
-
case "green":
|
|
1101
|
-
case "blue": return color.withChannelValue("alpha", 1);
|
|
1102
|
-
case "alpha": return color;
|
|
1103
|
-
default: throw new Error("Unknown color channel: " + channel);
|
|
1104
|
-
}
|
|
1105
|
-
},
|
|
1106
|
-
getThumbValueLabel() {
|
|
1107
|
-
return color.formatChannelValue(channel, locale);
|
|
1108
|
-
},
|
|
1109
|
-
getFormattedValue() {
|
|
1110
|
-
return color.formatChannelValue(channel, locale);
|
|
1111
|
-
},
|
|
1112
|
-
step,
|
|
1113
|
-
pageSize,
|
|
1114
|
-
isDragging: sliderState.isThumbDragging(0)
|
|
1115
|
-
};
|
|
1116
|
-
}
|
|
1117
|
-
//#endregion
|
|
1118
|
-
//#region node_modules/react-aria-components/dist/private/ColorSlider.mjs
|
|
1119
|
-
var $016f94378f03b8fe$export$717b2c0a523a0b53 = createContext(null);
|
|
1120
|
-
var $016f94378f03b8fe$export$c7fad7ea00194428 = createContext(null);
|
|
1121
|
-
var $016f94378f03b8fe$export$44fd664bcca5b6fb = forwardRef(function ColorSlider(props, ref) {
|
|
1122
|
-
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $016f94378f03b8fe$export$717b2c0a523a0b53);
|
|
1123
|
-
let { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
1124
|
-
let state = $e1eacc05b29dcc25$export$57bc203e1c9c6d44({
|
|
1125
|
-
...props,
|
|
1126
|
-
locale
|
|
1127
|
-
});
|
|
1128
|
-
let trackRef = $3ARPR$react.useRef(null);
|
|
1129
|
-
let inputRef = $3ARPR$react.useRef(null);
|
|
1130
|
-
let [labelRef, label] = $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
1131
|
-
let { trackProps, thumbProps, inputProps, labelProps, outputProps } = $9903d87f588af89b$export$106b7a4e66508f66({
|
|
1132
|
-
...props,
|
|
1133
|
-
label,
|
|
1134
|
-
trackRef,
|
|
1135
|
-
inputRef
|
|
1136
|
-
}, state);
|
|
1137
|
-
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
1138
|
-
...props,
|
|
1139
|
-
values: {
|
|
1140
|
-
orientation: state.orientation,
|
|
1141
|
-
isDisabled: state.isDisabled,
|
|
1142
|
-
state
|
|
1143
|
-
},
|
|
1144
|
-
defaultClassName: "react-aria-ColorSlider"
|
|
1145
|
-
});
|
|
1146
|
-
let DOMProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { global: true });
|
|
1147
|
-
delete DOMProps.id;
|
|
1148
|
-
return $3ARPR$react.createElement($7230ffa83bc0c2cf$export$2881499e37b75b9a, { values: [
|
|
1149
|
-
[$016f94378f03b8fe$export$c7fad7ea00194428, state],
|
|
1150
|
-
[$806e559d0c2c64a0$export$1e7083018727fa60, state],
|
|
1151
|
-
[$806e559d0c2c64a0$export$f1fce0420cc6d8ee, {
|
|
1152
|
-
...trackProps,
|
|
1153
|
-
ref: trackRef
|
|
1154
|
-
}],
|
|
1155
|
-
[$806e559d0c2c64a0$export$6189c2744041d8f8, outputProps],
|
|
1156
|
-
[$43a3b93638fe5db9$export$75b6ee27786ba447, {
|
|
1157
|
-
...labelProps,
|
|
1158
|
-
ref: labelRef,
|
|
1159
|
-
children: state.value.getChannelName(props.channel, locale)
|
|
1160
|
-
}],
|
|
1161
|
-
[$ceafedee624ffe11$export$c80c0ea2ca5cb846, {
|
|
1162
|
-
state,
|
|
1163
|
-
thumbProps,
|
|
1164
|
-
inputXRef: inputRef,
|
|
1165
|
-
xInputProps: inputProps,
|
|
1166
|
-
isDisabled: props.isDisabled
|
|
1167
|
-
}]
|
|
1168
|
-
] }, $3ARPR$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
1169
|
-
...DOMProps,
|
|
1170
|
-
...renderProps,
|
|
1171
|
-
ref,
|
|
1172
|
-
slot: props.slot || void 0,
|
|
1173
|
-
"data-orientation": state.orientation,
|
|
1174
|
-
"data-disabled": state.isDisabled || void 0
|
|
1175
|
-
}));
|
|
1176
|
-
});
|
|
1177
|
-
//#endregion
|
|
1178
|
-
//#region lib/components/color-pickers/solid-color-picker.tsx
|
|
1179
|
-
/**
|
|
1180
|
-
* A solid color picker.
|
|
1181
|
-
*
|
|
1182
|
-
* @component
|
|
1183
|
-
* @param {SolidColorPickerProps} props - Component props.
|
|
1184
|
-
*
|
|
1185
|
-
* @returns {JSX.Element} The SolidColorPicker component.
|
|
1186
|
-
*
|
|
1187
|
-
* @example
|
|
1188
|
-
* <SolidColorPicker
|
|
1189
|
-
* value={colorValue}
|
|
1190
|
-
* onChange={(color) => setColorValue(color)}
|
|
1191
|
-
* />
|
|
1192
|
-
*/
|
|
1193
|
-
var SolidColorPicker = (props) => {
|
|
1194
|
-
const { value: rawValue, onChange, disabled, onChangeEnd, allowTransparency = false, outputFormat, hidden, noAdvancedOptions } = props;
|
|
1195
|
-
const value = rawValue?.replace("transparent", "rgba(0, 0, 0, 0)");
|
|
1196
|
-
const defaultColor = $890783418b00a858$export$6e865ea70d7724f("#00000000").toFormat(allowTransparency ? "hsla" : "hsl");
|
|
1197
|
-
const modifiedValue = value && value.length > 1 ? $890783418b00a858$export$6e865ea70d7724f(value) : defaultColor;
|
|
1198
|
-
const [color, setColor] = useState(modifiedValue.toFormat(allowTransparency ? "hsla" : "hsl"));
|
|
1199
|
-
if (hidden) return null;
|
|
1200
|
-
const resolvedOutputFormat = outputFormat ?? (allowTransparency ? "hexa" : "hex");
|
|
1201
|
-
const applyColorChange = (nextColor) => {
|
|
1202
|
-
setColor(nextColor ?? defaultColor);
|
|
1203
|
-
onChange(nextColor?.toString(resolvedOutputFormat));
|
|
1204
|
-
};
|
|
1205
|
-
const applyColorChangeEnd = (nextColor) => {
|
|
1206
|
-
setColor(nextColor ?? defaultColor);
|
|
1207
|
-
onChangeEnd?.(nextColor?.toString(resolvedOutputFormat));
|
|
1208
|
-
};
|
|
1209
|
-
const valueInputClassName = clsx("es:leading-none", "es:border-none!", "es:max-w-14", "es:min-h-9", "es:px-3", "es:font-mono es:text-12", "es:rounded-lg es:focus:rounded-xl es:aria-[controls]:rounded-xl", "es:transition-plus", "es:any-focus:outline-hidden", "es:inset-ring!", "es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30", "es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500", "es:focus:placeholder:text-surface-400", "es:inset-ring-secondary-100", "es:focus:text-accent-950", "es:text-secondary-900", "es:placeholder:text-secondary-500/80", "es:bg-secondary-100 es:focus:bg-surface-50", "es:inset-ring-secondary-200/15 es:hover:inset-ring-secondary-200/65 es:focus:inset-ring-surface-200", "es:selection:bg-surface-100 es:selection:text-accent-800");
|
|
1210
|
-
return jsxs("div", {
|
|
1211
|
-
className: "es:flex es:flex-col es:items-center es:gap-2",
|
|
1212
|
-
children: [
|
|
1213
|
-
jsx($e3bcd4910eec2b11$export$b2103f68a961418e, {
|
|
1214
|
-
value: color,
|
|
1215
|
-
xChannel: "saturation",
|
|
1216
|
-
yChannel: "lightness",
|
|
1217
|
-
className: clsx("es:size-48 es:rounded-xl es:border es:border-secondary-300 es:shadow-sm es:transition", "es:[&:has(>_[data-focus-visible=\"true\"])]:ring-2 es:[&:has(>_[data-focus-visible=\"true\"])]:ring-accent-500/50", "es:disabled:bg-linear-to-r! es:disabled:from-white es:disabled:to-secondary-100"),
|
|
1218
|
-
onChange: applyColorChange,
|
|
1219
|
-
onChangeEnd: onChangeEnd ? applyColorChangeEnd : void 0,
|
|
1220
|
-
isDisabled: disabled,
|
|
1221
|
-
children: jsx($ceafedee624ffe11$export$a3cc47cee1c1ccc, { className: "es:size-5 es:rounded-full es:border es:border-white es:shadow-[0_0_0_1px_black] es:transition es:disabled:invisible es:dragging:scale-110!" })
|
|
1222
|
-
}),
|
|
1223
|
-
jsx($016f94378f03b8fe$export$44fd664bcca5b6fb, {
|
|
1224
|
-
channel: "hue",
|
|
1225
|
-
value: color,
|
|
1226
|
-
onChange: applyColorChange,
|
|
1227
|
-
isDisabled: disabled,
|
|
1228
|
-
children: jsx($806e559d0c2c64a0$export$105594979f116971, {
|
|
1229
|
-
className: clsx("es:h-7 es:w-48 es:rounded-10 es:border es:border-secondary-300 es:shadow-sm", "es:[&:has(>_[data-focus-visible=\"true\"])]:ring-2 es:[&:has(>_[data-focus-visible=\"true\"])]:ring-accent-500/50", "es:disabled:bg-linear-to-r! es:disabled:from-white es:disabled:to-secondary-100"),
|
|
1230
|
-
children: jsx($ceafedee624ffe11$export$a3cc47cee1c1ccc, { className: "es:top-3.25 es:size-5 es:rounded-full es:border es:border-white es:shadow-[0_0_0_1px_black] es:transition es:disabled:invisible es:dragging:scale-110!" })
|
|
1231
|
-
})
|
|
1232
|
-
}),
|
|
1233
|
-
allowTransparency ? jsx($016f94378f03b8fe$export$44fd664bcca5b6fb, {
|
|
1234
|
-
channel: "alpha",
|
|
1235
|
-
value: color,
|
|
1236
|
-
onChange: applyColorChange,
|
|
1237
|
-
isDisabled: disabled,
|
|
1238
|
-
children: jsx($806e559d0c2c64a0$export$105594979f116971, {
|
|
1239
|
-
className: clsx("es:h-7 es:w-48 es:rounded-10 es:border es:border-secondary-300 es:shadow-sm", "es:[&:has(>_[data-focus-visible=\"true\"])]:ring-2 es:[&:has(>_[data-focus-visible=\"true\"])]:ring-accent-500/50", "es:disabled:bg-linear-to-r! es:disabled:from-white es:disabled:to-secondary-100"),
|
|
1240
|
-
style: () => {
|
|
1241
|
-
return { background: `linear-gradient(to right, ${color.clone().withChannelValue("alpha", 0).toString("hsla")}, ${color.clone().withChannelValue("alpha", 1).toString("hsla")}), repeating-conic-gradient(rgb(204, 204, 204) 0%, rgb(204, 204, 204) 25%, white 0%, white 50%) 50% center / 14px 14px` };
|
|
1242
|
-
},
|
|
1243
|
-
children: jsx($ceafedee624ffe11$export$a3cc47cee1c1ccc, { className: "es:top-3.25 es:size-5 es:rounded-full es:border es:border-white es:shadow-[0_0_0_1px_black] es:transition es:disabled:invisible" })
|
|
1244
|
-
})
|
|
1245
|
-
}) : null,
|
|
1246
|
-
jsxs("div", {
|
|
1247
|
-
className: "es:flex es:items-center es:justify-center es:gap-0.75",
|
|
1248
|
-
children: [jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1249
|
-
value: color,
|
|
1250
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1251
|
-
"aria-label": __("Hex color value", "eightshift-ui-components"),
|
|
1252
|
-
isDisabled: disabled,
|
|
1253
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: clsx("es:leading-none", "es:w-20", "es:transition-plus", "es:any-focus:outline-hidden", "es:inset-ring", "es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30", "es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500", "es:focus:placeholder:text-surface-400", "es:h-8", "es:px-3", "es:font-mono es:text-12", "es:bg-white", "es:bg-linear-to-b es:from-secondary-100/0 es:from-25% es:to-secondary-100/50", "es:hover:from-surface-100/0 es:hover:to-surface-100/50", "es:inset-ring-secondary-400/50 es:hover:inset-ring-surface-300 es:focus:inset-ring-surface-400", "es:inset-shadow-sm es:inset-shadow-secondary-100/50", "es:hover:placeholder:text-surface-400", "es:placeholder:text-secondary-400", "es:shadow-xs es:shadow-black/5", "es:rounded-lg! es:focus:rounded-xl!", "es:border-none!") })
|
|
1254
|
-
}), jsxs(TriggeredPopover, {
|
|
1255
|
-
triggerButtonIcon: dropdownCaretAlt,
|
|
1256
|
-
className: "es:w-52 es:p-3",
|
|
1257
|
-
triggerButtonProps: {
|
|
1258
|
-
disabled,
|
|
1259
|
-
tooltip: __("Advanced color options", "eightshift-ui-components"),
|
|
1260
|
-
className: "es:w-6 es:h-8 es:icon:size-4.5!"
|
|
1261
|
-
},
|
|
1262
|
-
hidden: noAdvancedOptions,
|
|
1263
|
-
children: [
|
|
1264
|
-
jsxs(BaseControl, {
|
|
1265
|
-
label: "RGB",
|
|
1266
|
-
children: [
|
|
1267
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1268
|
-
value: color.toFormat(allowTransparency ? "rgba" : "rgb"),
|
|
1269
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1270
|
-
channel: "red",
|
|
1271
|
-
children: jsx(BaseControl, {
|
|
1272
|
-
icon: jsx(ColorSwatch, {
|
|
1273
|
-
color: "#ff0000",
|
|
1274
|
-
className: "es:size-5!",
|
|
1275
|
-
flat: true
|
|
1276
|
-
}),
|
|
1277
|
-
label: __("Red", "eightshift-ui-components"),
|
|
1278
|
-
inline: true,
|
|
1279
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1280
|
-
})
|
|
1281
|
-
}),
|
|
1282
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1283
|
-
value: color.toFormat(allowTransparency ? "rgba" : "rgb"),
|
|
1284
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1285
|
-
channel: "green",
|
|
1286
|
-
children: jsx(BaseControl, {
|
|
1287
|
-
icon: jsx(ColorSwatch, {
|
|
1288
|
-
color: "#00ff00",
|
|
1289
|
-
className: "es:size-5!",
|
|
1290
|
-
flat: true
|
|
1291
|
-
}),
|
|
1292
|
-
label: __("Green", "eightshift-ui-components"),
|
|
1293
|
-
inline: true,
|
|
1294
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1295
|
-
})
|
|
1296
|
-
}),
|
|
1297
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1298
|
-
value: color.toFormat(allowTransparency ? "rgba" : "rgb"),
|
|
1299
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1300
|
-
channel: "blue",
|
|
1301
|
-
children: jsx(BaseControl, {
|
|
1302
|
-
icon: jsx(ColorSwatch, {
|
|
1303
|
-
color: "#0000ff",
|
|
1304
|
-
className: "es:size-5!",
|
|
1305
|
-
flat: true
|
|
1306
|
-
}),
|
|
1307
|
-
label: __("Blue", "eightshift-ui-components"),
|
|
1308
|
-
inline: true,
|
|
1309
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1310
|
-
})
|
|
1311
|
-
})
|
|
1312
|
-
]
|
|
1313
|
-
}),
|
|
1314
|
-
jsxs(BaseControl, {
|
|
1315
|
-
label: "HSL",
|
|
1316
|
-
className: "es:mt-3",
|
|
1317
|
-
children: [
|
|
1318
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1319
|
-
value: color.toFormat(allowTransparency ? "hsla" : "hsl"),
|
|
1320
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1321
|
-
channel: "hue",
|
|
1322
|
-
children: jsx(BaseControl, {
|
|
1323
|
-
icon: jsx(ColorSwatch, {
|
|
1324
|
-
gradient: "linear-gradient(to right, red, yellow, lime, cyan, blue, magenta)",
|
|
1325
|
-
className: "es:size-5!",
|
|
1326
|
-
flat: true
|
|
1327
|
-
}),
|
|
1328
|
-
label: __("Hue", "eightshift-ui-components"),
|
|
1329
|
-
inline: true,
|
|
1330
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1331
|
-
})
|
|
1332
|
-
}),
|
|
1333
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1334
|
-
value: color.toFormat(allowTransparency ? "hsla" : "hsl"),
|
|
1335
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1336
|
-
channel: "saturation",
|
|
1337
|
-
children: jsx(BaseControl, {
|
|
1338
|
-
icon: jsx(ColorSwatch, {
|
|
1339
|
-
gradient: "linear-gradient(to right, var(--es-color-surface-400), var(--es-color-accent-500))",
|
|
1340
|
-
className: "es:size-5!",
|
|
1341
|
-
flat: true
|
|
1342
|
-
}),
|
|
1343
|
-
label: __("Saturation", "eightshift-ui-components"),
|
|
1344
|
-
inline: true,
|
|
1345
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1346
|
-
})
|
|
1347
|
-
}),
|
|
1348
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1349
|
-
value: color.toFormat(allowTransparency ? "hsla" : "hsl"),
|
|
1350
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1351
|
-
channel: "lightness",
|
|
1352
|
-
children: jsx(BaseControl, {
|
|
1353
|
-
icon: jsx(ColorSwatch, {
|
|
1354
|
-
gradient: "linear-gradient(to right, var(--es-color-secondary-50), var(--es-color-secondary-100), var(--es-color-secondary-200), var(--es-color-secondary-300), var(--es-color-secondary-400), var(--es-color-secondary-500), var(--es-color-secondary-600), var(--es-color-secondary-700), var(--es-color-secondary-800), var(--es-color-secondary-900))",
|
|
1355
|
-
className: "es:size-5!",
|
|
1356
|
-
flat: true
|
|
1357
|
-
}),
|
|
1358
|
-
label: __("Lightness", "eightshift-ui-components"),
|
|
1359
|
-
inline: true,
|
|
1360
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1361
|
-
})
|
|
1362
|
-
})
|
|
1363
|
-
]
|
|
1364
|
-
}),
|
|
1365
|
-
jsxs(BaseControl, {
|
|
1366
|
-
label: "HSB",
|
|
1367
|
-
className: "es:mt-3",
|
|
1368
|
-
children: [
|
|
1369
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1370
|
-
value: color.toFormat(allowTransparency ? "hsba" : "hsb"),
|
|
1371
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1372
|
-
channel: "hue",
|
|
1373
|
-
children: jsx(BaseControl, {
|
|
1374
|
-
icon: jsx(ColorSwatch, {
|
|
1375
|
-
gradient: "linear-gradient(to right, red, yellow, lime, cyan, blue, magenta)",
|
|
1376
|
-
className: "es:size-5!",
|
|
1377
|
-
flat: true
|
|
1378
|
-
}),
|
|
1379
|
-
label: __("Hue", "eightshift-ui-components"),
|
|
1380
|
-
inline: true,
|
|
1381
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1382
|
-
})
|
|
1383
|
-
}),
|
|
1384
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1385
|
-
value: color.toFormat(allowTransparency ? "hsba" : "hsb"),
|
|
1386
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1387
|
-
channel: "saturation",
|
|
1388
|
-
children: jsx(BaseControl, {
|
|
1389
|
-
icon: jsx(ColorSwatch, {
|
|
1390
|
-
gradient: "linear-gradient(to right, var(--es-color-surface-400), var(--es-color-accent-500))",
|
|
1391
|
-
className: "es:size-5!",
|
|
1392
|
-
flat: true
|
|
1393
|
-
}),
|
|
1394
|
-
label: __("Saturation", "eightshift-ui-components"),
|
|
1395
|
-
inline: true,
|
|
1396
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1397
|
-
})
|
|
1398
|
-
}),
|
|
1399
|
-
jsx($baf01eb6a6ce4d91$export$b865d4358897bb17, {
|
|
1400
|
-
value: color.toFormat(allowTransparency ? "hsba" : "hsb"),
|
|
1401
|
-
onChange: (nextColor) => applyColorChange(nextColor?.toFormat("hsl")),
|
|
1402
|
-
channel: "brightness",
|
|
1403
|
-
children: jsx(BaseControl, {
|
|
1404
|
-
icon: jsx(ColorSwatch, {
|
|
1405
|
-
gradient: "linear-gradient(to right, var(--es-color-secondary-50), var(--es-color-secondary-100), var(--es-color-secondary-200), var(--es-color-secondary-300), var(--es-color-secondary-400), var(--es-color-secondary-500), var(--es-color-secondary-600), var(--es-color-secondary-700), var(--es-color-secondary-800), var(--es-color-secondary-900))",
|
|
1406
|
-
className: "es:size-5!",
|
|
1407
|
-
flat: true
|
|
1408
|
-
}),
|
|
1409
|
-
label: __("Brightness", "eightshift-ui-components"),
|
|
1410
|
-
inline: true,
|
|
1411
|
-
children: jsx($41fb335299a4a39e$export$f5b8910cec6cf069, { className: valueInputClassName })
|
|
1412
|
-
})
|
|
1413
|
-
})
|
|
1414
|
-
]
|
|
1415
|
-
})
|
|
1416
|
-
]
|
|
1417
|
-
})]
|
|
1418
|
-
})
|
|
1419
|
-
]
|
|
1420
|
-
});
|
|
1421
|
-
};
|
|
1422
|
-
//#endregion
|
|
1423
|
-
export { SolidColorPicker as t };
|