@wordpress/components 25.5.0 → 25.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/build/alignment-matrix-control/cell.js +1 -8
- package/build/alignment-matrix-control/cell.js.map +1 -1
- package/build/alignment-matrix-control/icon.js +5 -10
- package/build/alignment-matrix-control/icon.js.map +1 -1
- package/build/alignment-matrix-control/index.js +8 -20
- package/build/alignment-matrix-control/index.js.map +1 -1
- package/build/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js +0 -10
- package/build/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js.map +1 -1
- package/build/alignment-matrix-control/styles/alignment-matrix-control-styles.js +9 -22
- package/build/alignment-matrix-control/styles/alignment-matrix-control-styles.js.map +1 -1
- package/build/alignment-matrix-control/types.js.map +1 -1
- package/build/alignment-matrix-control/utils.js +8 -10
- package/build/alignment-matrix-control/utils.js.map +1 -1
- package/build/angle-picker-control/angle-circle.js +6 -19
- package/build/angle-picker-control/angle-circle.js.map +1 -1
- package/build/angle-picker-control/index.js +4 -18
- package/build/angle-picker-control/index.js.map +1 -1
- package/build/angle-picker-control/styles/angle-picker-control-styles.js +6 -18
- package/build/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
- package/build/angle-picker-control/types.js.map +1 -1
- package/build/animate/index.js +2 -12
- package/build/animate/index.js.map +1 -1
- package/build/animate/types.js.map +1 -1
- package/build/animation/index.js +0 -1
- package/build/animation/index.js.map +1 -1
- package/build/autocomplete/autocompleter-ui.js +10 -32
- package/build/autocomplete/autocompleter-ui.js.map +1 -1
- package/build/autocomplete/autocompleter-ui.native.js +9 -22
- package/build/autocomplete/autocompleter-ui.native.js.map +1 -1
- package/build/autocomplete/background-view.android.js +1 -7
- package/build/autocomplete/background-view.android.js.map +1 -1
- package/build/autocomplete/background-view.ios.js +1 -6
- package/build/autocomplete/background-view.ios.js.map +1 -1
- package/build/autocomplete/get-default-use-items.js +7 -19
- package/build/autocomplete/get-default-use-items.js.map +1 -1
- package/build/autocomplete/index.js +29 -70
- package/build/autocomplete/index.js.map +1 -1
- package/build/autocomplete/types.js.map +1 -1
- package/build/base-control/hooks.js +2 -5
- package/build/base-control/hooks.js.map +1 -1
- package/build/base-control/index.js +5 -13
- package/build/base-control/index.js.map +1 -1
- package/build/base-control/index.native.js +1 -3
- package/build/base-control/index.native.js.map +1 -1
- package/build/base-control/styles/base-control-styles.js +0 -12
- package/build/base-control/styles/base-control-styles.js.map +1 -1
- package/build/base-control/types.js.map +1 -1
- package/build/border-box-control/border-box-control/component.js +7 -21
- package/build/border-box-control/border-box-control/component.js.map +1 -1
- package/build/border-box-control/border-box-control/hook.js +20 -27
- package/build/border-box-control/border-box-control/hook.js.map +1 -1
- package/build/border-box-control/border-box-control/index.js +0 -3
- package/build/border-box-control/border-box-control/index.js.map +1 -1
- package/build/border-box-control/border-box-control-linked-button/component.js +3 -12
- package/build/border-box-control/border-box-control-linked-button/component.js.map +1 -1
- package/build/border-box-control/border-box-control-linked-button/hook.js +5 -9
- package/build/border-box-control/border-box-control-linked-button/hook.js.map +1 -1
- package/build/border-box-control/border-box-control-linked-button/index.js +0 -2
- package/build/border-box-control/border-box-control-linked-button/index.js.map +1 -1
- package/build/border-box-control/border-box-control-split-controls/component.js +8 -15
- package/build/border-box-control/border-box-control-split-controls/component.js.map +1 -1
- package/build/border-box-control/border-box-control-split-controls/hook.js +5 -9
- package/build/border-box-control/border-box-control-split-controls/hook.js.map +1 -1
- package/build/border-box-control/border-box-control-split-controls/index.js +0 -2
- package/build/border-box-control/border-box-control-split-controls/index.js.map +1 -1
- package/build/border-box-control/border-box-control-visualizer/component.js +3 -7
- package/build/border-box-control/border-box-control-visualizer/component.js.map +1 -1
- package/build/border-box-control/border-box-control-visualizer/hook.js +5 -9
- package/build/border-box-control/border-box-control-visualizer/hook.js.map +1 -1
- package/build/border-box-control/border-box-control-visualizer/index.js +0 -2
- package/build/border-box-control/border-box-control-visualizer/index.js.map +1 -1
- package/build/border-box-control/index.js +0 -4
- package/build/border-box-control/index.js.map +1 -1
- package/build/border-box-control/styles.js +0 -15
- package/build/border-box-control/styles.js.map +1 -1
- package/build/border-box-control/types.js.map +1 -1
- package/build/border-box-control/utils.js +10 -43
- package/build/border-box-control/utils.js.map +1 -1
- package/build/border-control/border-control/component.js +2 -18
- package/build/border-control/border-control/component.js.map +1 -1
- package/build/border-control/border-control/hook.js +16 -24
- package/build/border-control/border-control/hook.js.map +1 -1
- package/build/border-control/border-control/index.js +0 -3
- package/build/border-control/border-control/index.js.map +1 -1
- package/build/border-control/border-control-dropdown/component.js +17 -40
- package/build/border-control/border-control-dropdown/component.js.map +1 -1
- package/build/border-control/border-control-dropdown/hook.js +9 -16
- package/build/border-control/border-control-dropdown/hook.js.map +1 -1
- package/build/border-control/border-control-dropdown/index.js +0 -2
- package/build/border-control/border-control-dropdown/index.js.map +1 -1
- package/build/border-control/border-control-style-picker/component.js +3 -18
- package/build/border-control/border-control-style-picker/component.js.map +1 -1
- package/build/border-control/border-control-style-picker/hook.js +5 -9
- package/build/border-control/border-control-style-picker/hook.js.map +1 -1
- package/build/border-control/border-control-style-picker/index.js +0 -2
- package/build/border-control/border-control-style-picker/index.js.map +1 -1
- package/build/border-control/index.js +0 -3
- package/build/border-control/index.js.map +1 -1
- package/build/border-control/styles.js +4 -22
- package/build/border-control/styles.js.map +1 -1
- package/build/border-control/types.js.map +1 -1
- package/build/box-control/all-input-control.js +6 -15
- package/build/box-control/all-input-control.js.map +1 -1
- package/build/box-control/axial-input-controls.js +9 -29
- package/build/box-control/axial-input-controls.js.map +1 -1
- package/build/box-control/icon.js +3 -8
- package/build/box-control/icon.js.map +1 -1
- package/build/box-control/index.js +11 -32
- package/build/box-control/index.js.map +1 -1
- package/build/box-control/input-controls.js +10 -23
- package/build/box-control/input-controls.js.map +1 -1
- package/build/box-control/linked-button.js +3 -8
- package/build/box-control/linked-button.js.map +1 -1
- package/build/box-control/styles/box-control-icon-styles.js +0 -7
- package/build/box-control/styles/box-control-icon-styles.js.map +1 -1
- package/build/box-control/styles/box-control-styles.js +0 -16
- package/build/box-control/styles/box-control-styles.js.map +1 -1
- package/build/box-control/styles/box-control-visualizer-styles.js +8 -16
- package/build/box-control/styles/box-control-visualizer-styles.js.map +1 -1
- package/build/box-control/types.js.map +1 -1
- package/build/box-control/unit-control.js +4 -10
- package/build/box-control/unit-control.js.map +1 -1
- package/build/box-control/utils.js +14 -34
- package/build/box-control/utils.js.map +1 -1
- package/build/button/deprecated.js +3 -8
- package/build/button/deprecated.js.map +1 -1
- package/build/button/index.js +22 -41
- package/build/button/index.js.map +1 -1
- package/build/button/index.native.js +17 -28
- package/build/button/index.native.js.map +1 -1
- package/build/button/types.js.map +1 -1
- package/build/button-group/index.js +2 -6
- package/build/button-group/index.js.map +1 -1
- package/build/button-group/types.js.map +1 -1
- package/build/card/card/component.js +7 -23
- package/build/card/card/component.js.map +1 -1
- package/build/card/card/hook.js +9 -23
- package/build/card/card/hook.js.map +1 -1
- package/build/card/card/index.js +0 -3
- package/build/card/card/index.js.map +1 -1
- package/build/card/card-body/component.js +6 -12
- package/build/card/card-body/component.js.map +1 -1
- package/build/card/card-body/hook.js +4 -12
- package/build/card/card-body/hook.js.map +1 -1
- package/build/card/card-body/index.js +0 -3
- package/build/card/card-body/index.js.map +1 -1
- package/build/card/card-divider/component.js +4 -8
- package/build/card/card-divider/component.js.map +1 -1
- package/build/card/card-divider/hook.js +4 -12
- package/build/card/card-divider/hook.js.map +1 -1
- package/build/card/card-divider/index.js +0 -3
- package/build/card/card-divider/index.js.map +1 -1
- package/build/card/card-footer/component.js +4 -8
- package/build/card/card-footer/component.js.map +1 -1
- package/build/card/card-footer/hook.js +4 -12
- package/build/card/card-footer/hook.js.map +1 -1
- package/build/card/card-footer/index.js +0 -3
- package/build/card/card-footer/index.js.map +1 -1
- package/build/card/card-header/component.js +4 -8
- package/build/card/card-header/component.js.map +1 -1
- package/build/card/card-header/hook.js +4 -12
- package/build/card/card-header/hook.js.map +1 -1
- package/build/card/card-header/index.js +0 -3
- package/build/card/card-header/index.js.map +1 -1
- package/build/card/card-media/component.js +4 -8
- package/build/card/card-media/component.js.map +1 -1
- package/build/card/card-media/hook.js +4 -12
- package/build/card/card-media/hook.js.map +1 -1
- package/build/card/card-media/index.js +0 -3
- package/build/card/card-media/index.js.map +1 -1
- package/build/card/context.js +1 -4
- package/build/card/context.js.map +1 -1
- package/build/card/index.js +0 -8
- package/build/card/index.js.map +1 -1
- package/build/card/styles.js +0 -4
- package/build/card/styles.js.map +1 -1
- package/build/card/types.js.map +1 -1
- package/build/checkbox-control/index.js +5 -17
- package/build/checkbox-control/index.js.map +1 -1
- package/build/checkbox-control/types.js.map +1 -1
- package/build/circular-option-picker/index.js +2 -12
- package/build/circular-option-picker/index.js.map +1 -1
- package/build/circular-option-picker/types.js.map +1 -1
- package/build/clipboard-button/index.js +6 -14
- package/build/clipboard-button/index.js.map +1 -1
- package/build/clipboard-button/types.js.map +1 -1
- package/build/color-control/index.native.js +1 -5
- package/build/color-control/index.native.js.map +1 -1
- package/build/color-indicator/index.js +2 -6
- package/build/color-indicator/index.js.map +1 -1
- package/build/color-indicator/index.native.js +1 -13
- package/build/color-indicator/index.native.js.map +1 -1
- package/build/color-indicator/types.js.map +1 -1
- package/build/color-palette/index.js +16 -32
- package/build/color-palette/index.js.map +1 -1
- package/build/color-palette/index.native.js +4 -37
- package/build/color-palette/index.native.js.map +1 -1
- package/build/color-palette/styles.js +0 -5
- package/build/color-palette/styles.js.map +1 -1
- package/build/color-palette/types.js.map +1 -1
- package/build/color-palette/utils.js +10 -28
- package/build/color-palette/utils.js.map +1 -1
- package/build/color-picker/color-copy-button.js +1 -12
- package/build/color-picker/color-copy-button.js.map +1 -1
- package/build/color-picker/color-input.js +7 -12
- package/build/color-picker/color-input.js.map +1 -1
- package/build/color-picker/component.js +3 -16
- package/build/color-picker/component.js.map +1 -1
- package/build/color-picker/hex-input.js +6 -17
- package/build/color-picker/hex-input.js.map +1 -1
- package/build/color-picker/hsl-input.js +1 -5
- package/build/color-picker/hsl-input.js.map +1 -1
- package/build/color-picker/index.js +0 -1
- package/build/color-picker/index.js.map +1 -1
- package/build/color-picker/index.native.js +3 -24
- package/build/color-picker/index.native.js.map +1 -1
- package/build/color-picker/input-with-slider.js +4 -14
- package/build/color-picker/input-with-slider.js.map +1 -1
- package/build/color-picker/legacy-adapter.js +3 -7
- package/build/color-picker/legacy-adapter.js.map +1 -1
- package/build/color-picker/picker.js +1 -5
- package/build/color-picker/picker.js.map +1 -1
- package/build/color-picker/rgb-input.js +1 -5
- package/build/color-picker/rgb-input.js.map +1 -1
- package/build/color-picker/styles.js +3 -14
- package/build/color-picker/styles.js.map +1 -1
- package/build/color-picker/types.js.map +1 -1
- package/build/color-picker/use-deprecated-props.js +3 -11
- package/build/color-picker/use-deprecated-props.js.map +1 -1
- package/build/combobox-control/index.js +18 -61
- package/build/combobox-control/index.js.map +1 -1
- package/build/combobox-control/styles.js +1 -7
- package/build/combobox-control/styles.js.map +1 -1
- package/build/combobox-control/types.js.map +1 -1
- package/build/composite/index.js +0 -1
- package/build/composite/index.js.map +1 -1
- package/build/confirm-dialog/component.js +1 -18
- package/build/confirm-dialog/component.js.map +1 -1
- package/build/confirm-dialog/index.js +0 -2
- package/build/confirm-dialog/index.js.map +1 -1
- package/build/confirm-dialog/styles.js +0 -3
- package/build/confirm-dialog/styles.js.map +1 -1
- package/build/confirm-dialog/types.js.map +1 -1
- package/build/custom-gradient-picker/constants.js +1 -2
- package/build/custom-gradient-picker/constants.js.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/constants.js.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/control-points.js +6 -31
- package/build/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/index.js +3 -28
- package/build/custom-gradient-picker/gradient-bar/index.js.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/utils.js +11 -21
- package/build/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
- package/build/custom-gradient-picker/index.js +13 -35
- package/build/custom-gradient-picker/index.js.map +1 -1
- package/build/custom-gradient-picker/index.native.js +7 -24
- package/build/custom-gradient-picker/index.native.js.map +1 -1
- package/build/custom-gradient-picker/serializer.js +1 -10
- package/build/custom-gradient-picker/serializer.js.map +1 -1
- package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.js +0 -5
- package/build/custom-gradient-picker/styles/custom-gradient-picker-styles.js.map +1 -1
- package/build/custom-gradient-picker/types.js.map +1 -1
- package/build/custom-gradient-picker/utils.js +3 -20
- package/build/custom-gradient-picker/utils.js.map +1 -1
- package/build/custom-select-control/index.js +18 -40
- package/build/custom-select-control/index.js.map +1 -1
- package/build/custom-select-control/styles.js +1 -7
- package/build/custom-select-control/styles.js.map +1 -1
- package/build/dashicon/index.js +7 -6
- package/build/dashicon/index.js.map +1 -1
- package/build/dashicon/index.native.js +1 -7
- package/build/dashicon/index.native.js.map +1 -1
- package/build/dashicon/types.js.map +1 -1
- package/build/date-time/constants.js.map +1 -1
- package/build/date-time/date/index.js +20 -42
- package/build/date-time/date/index.js.map +1 -1
- package/build/date-time/date/styles.js +8 -17
- package/build/date-time/date/styles.js.map +1 -1
- package/build/date-time/date-time/index.js +2 -9
- package/build/date-time/date-time/index.js.map +1 -1
- package/build/date-time/date-time/styles.js +0 -5
- package/build/date-time/date-time/styles.js.map +1 -1
- package/build/date-time/index.js +0 -5
- package/build/date-time/index.js.map +1 -1
- package/build/date-time/time/index.js +14 -43
- package/build/date-time/time/index.js.map +1 -1
- package/build/date-time/time/styles.js +3 -13
- package/build/date-time/time/styles.js.map +1 -1
- package/build/date-time/time/timezone.js +5 -12
- package/build/date-time/time/timezone.js.map +1 -1
- package/build/date-time/types.js.map +1 -1
- package/build/date-time/utils.js +0 -3
- package/build/date-time/utils.js.map +1 -1
- package/build/dimension-control/index.js +0 -15
- package/build/dimension-control/index.js.map +1 -1
- package/build/dimension-control/sizes.js +0 -3
- package/build/dimension-control/sizes.js.map +1 -1
- package/build/dimension-control/types.js.map +1 -1
- package/build/disabled/index.js +2 -6
- package/build/disabled/index.js.map +1 -1
- package/build/disabled/index.native.js +1 -4
- package/build/disabled/index.native.js.map +1 -1
- package/build/disabled/styles/disabled-styles.js +0 -3
- package/build/disabled/styles/disabled-styles.js.map +1 -1
- package/build/disabled/types.js.map +1 -1
- package/build/disclosure/index.js +0 -1
- package/build/disclosure/index.js.map +1 -1
- package/build/divider/component.js +1 -10
- package/build/divider/component.js.map +1 -1
- package/build/divider/index.js +0 -2
- package/build/divider/index.js.map +1 -1
- package/build/divider/styles.js +3 -14
- package/build/divider/styles.js.map +1 -1
- package/build/divider/types.js.map +1 -1
- package/build/draggable/index.js +30 -38
- package/build/draggable/index.js.map +1 -1
- package/build/draggable/index.native.js +5 -24
- package/build/draggable/index.native.js.map +1 -1
- package/build/draggable/types.js.map +1 -1
- package/build/drop-zone/index.js +8 -23
- package/build/drop-zone/index.js.map +1 -1
- package/build/drop-zone/provider.js +1 -3
- package/build/drop-zone/provider.js.map +1 -1
- package/build/drop-zone/types.js.map +1 -1
- package/build/dropdown/dropdown-content-wrapper.js +4 -7
- package/build/dropdown/dropdown-content-wrapper.js.map +1 -1
- package/build/dropdown/index.js +12 -27
- package/build/dropdown/index.js.map +1 -1
- package/build/dropdown/index.native.js +1 -11
- package/build/dropdown/index.native.js.map +1 -1
- package/build/dropdown/styles.js +1 -6
- package/build/dropdown/styles.js.map +1 -1
- package/build/dropdown/types.js.map +1 -1
- package/build/dropdown-menu/index.js +10 -30
- package/build/dropdown-menu/index.js.map +1 -1
- package/build/dropdown-menu/index.native.js +8 -26
- package/build/dropdown-menu/index.native.js.map +1 -1
- package/build/dropdown-menu/types.js.map +1 -1
- package/build/dropdown-menu-v2/index.js +20 -43
- package/build/dropdown-menu-v2/index.js.map +1 -1
- package/build/dropdown-menu-v2/styles.js +2 -14
- package/build/dropdown-menu-v2/styles.js.map +1 -1
- package/build/dropdown-menu-v2/types.js.map +1 -1
- package/build/duotone-picker/color-list-picker/index.js +1 -11
- package/build/duotone-picker/color-list-picker/index.js.map +1 -1
- package/build/duotone-picker/color-list-picker/types.js.map +1 -1
- package/build/duotone-picker/custom-duotone-bar.js +1 -6
- package/build/duotone-picker/custom-duotone-bar.js.map +1 -1
- package/build/duotone-picker/duotone-picker.js +6 -18
- package/build/duotone-picker/duotone-picker.js.map +1 -1
- package/build/duotone-picker/duotone-swatch.js +1 -8
- package/build/duotone-picker/duotone-swatch.js.map +1 -1
- package/build/duotone-picker/index.js +0 -3
- package/build/duotone-picker/index.js.map +1 -1
- package/build/duotone-picker/types.js.map +1 -1
- package/build/duotone-picker/utils.js +5 -11
- package/build/duotone-picker/utils.js.map +1 -1
- package/build/elevation/component.js +4 -8
- package/build/elevation/component.js.map +1 -1
- package/build/elevation/hook.js +6 -25
- package/build/elevation/hook.js.map +1 -1
- package/build/elevation/index.js +0 -4
- package/build/elevation/index.js.map +1 -1
- package/build/elevation/styles.js +0 -3
- package/build/elevation/styles.js.map +1 -1
- package/build/elevation/types.js.map +1 -1
- package/build/external-link/index.js +6 -20
- package/build/external-link/index.js.map +1 -1
- package/build/external-link/index.native.js +1 -6
- package/build/external-link/index.native.js.map +1 -1
- package/build/external-link/styles/external-link-styles.js +0 -5
- package/build/external-link/styles/external-link-styles.js.map +1 -1
- package/build/external-link/types.js.map +1 -1
- package/build/flex/context.js +1 -4
- package/build/flex/context.js.map +1 -1
- package/build/flex/flex/component.js +4 -9
- package/build/flex/flex/component.js.map +1 -1
- package/build/flex/flex/hook.js +5 -21
- package/build/flex/flex/hook.js.map +1 -1
- package/build/flex/flex/index.js +0 -3
- package/build/flex/flex/index.js.map +1 -1
- package/build/flex/flex-block/component.js +4 -8
- package/build/flex/flex-block/component.js.map +1 -1
- package/build/flex/flex-block/hook.js +1 -3
- package/build/flex/flex-block/hook.js.map +1 -1
- package/build/flex/flex-block/index.js +0 -3
- package/build/flex/flex-block/index.js.map +1 -1
- package/build/flex/flex-item/component.js +4 -8
- package/build/flex/flex-item/component.js.map +1 -1
- package/build/flex/flex-item/hook.js +3 -13
- package/build/flex/flex-item/hook.js.map +1 -1
- package/build/flex/flex-item/index.js +0 -3
- package/build/flex/flex-item/index.js.map +1 -1
- package/build/flex/index.js +0 -5
- package/build/flex/index.js.map +1 -1
- package/build/flex/styles.js +1 -4
- package/build/flex/styles.js.map +1 -1
- package/build/flex/types.js.map +1 -1
- package/build/focal-point-picker/controls.js +3 -12
- package/build/focal-point-picker/controls.js.map +1 -1
- package/build/focal-point-picker/focal-point.js +3 -6
- package/build/focal-point-picker/focal-point.js.map +1 -1
- package/build/focal-point-picker/focal-point.native.js +1 -5
- package/build/focal-point-picker/focal-point.native.js.map +1 -1
- package/build/focal-point-picker/grid.js +3 -4
- package/build/focal-point-picker/grid.js.map +1 -1
- package/build/focal-point-picker/index.js +22 -36
- package/build/focal-point-picker/index.js.map +1 -1
- package/build/focal-point-picker/index.native.js +15 -37
- package/build/focal-point-picker/index.native.js.map +1 -1
- package/build/focal-point-picker/media.js +5 -7
- package/build/focal-point-picker/media.js.map +1 -1
- package/build/focal-point-picker/styles/focal-point-picker-style.js +0 -14
- package/build/focal-point-picker/styles/focal-point-picker-style.js.map +1 -1
- package/build/focal-point-picker/styles/focal-point-style.js +1 -3
- package/build/focal-point-picker/styles/focal-point-style.js.map +1 -1
- package/build/focal-point-picker/tooltip/index.native.js +5 -16
- package/build/focal-point-picker/tooltip/index.native.js.map +1 -1
- package/build/focal-point-picker/types.js.map +1 -1
- package/build/focal-point-picker/utils.js +3 -5
- package/build/focal-point-picker/utils.js.map +1 -1
- package/build/focusable-iframe/index.js +2 -7
- package/build/focusable-iframe/index.js.map +1 -1
- package/build/font-size-picker/constants.js +6 -13
- package/build/font-size-picker/constants.js.map +1 -1
- package/build/font-size-picker/font-size-picker-select.js +3 -14
- package/build/font-size-picker/font-size-picker-select.js.map +1 -1
- package/build/font-size-picker/font-size-picker-toggle-group.js +1 -6
- package/build/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
- package/build/font-size-picker/index.js +4 -31
- package/build/font-size-picker/index.js.map +1 -1
- package/build/font-size-picker/index.native.js +9 -27
- package/build/font-size-picker/index.native.js.map +1 -1
- package/build/font-size-picker/styles.js +0 -9
- package/build/font-size-picker/styles.js.map +1 -1
- package/build/font-size-picker/types.js.map +1 -1
- package/build/font-size-picker/utils.js +1 -6
- package/build/font-size-picker/utils.js.map +1 -1
- package/build/footer-message-control/index.native.js +5 -8
- package/build/footer-message-control/index.native.js.map +1 -1
- package/build/form-file-upload/index.js +0 -7
- package/build/form-file-upload/index.js.map +1 -1
- package/build/form-file-upload/types.js.map +1 -1
- package/build/form-toggle/index.js +2 -8
- package/build/form-toggle/index.js.map +1 -1
- package/build/form-toggle/types.js.map +1 -1
- package/build/form-token-field/index.js +25 -125
- package/build/form-token-field/index.js.map +1 -1
- package/build/form-token-field/styles.js +1 -8
- package/build/form-token-field/styles.js.map +1 -1
- package/build/form-token-field/suggestions-list.js +2 -19
- package/build/form-token-field/suggestions-list.js.map +1 -1
- package/build/form-token-field/token-input.js +3 -10
- package/build/form-token-field/token-input.js.map +1 -1
- package/build/form-token-field/token.js +2 -14
- package/build/form-token-field/token.js.map +1 -1
- package/build/form-token-field/types.js.map +1 -1
- package/build/gradient-picker/index.js +14 -26
- package/build/gradient-picker/index.js.map +1 -1
- package/build/gradient-picker/types.js.map +1 -1
- package/build/grid/component.js +4 -9
- package/build/grid/component.js.map +1 -1
- package/build/grid/hook.js +3 -14
- package/build/grid/hook.js.map +1 -1
- package/build/grid/index.js +0 -3
- package/build/grid/index.js.map +1 -1
- package/build/grid/types.js.map +1 -1
- package/build/grid/utils.js +1 -2
- package/build/grid/utils.js.map +1 -1
- package/build/guide/icons.js +1 -4
- package/build/guide/icons.js.map +1 -1
- package/build/guide/index.js +4 -22
- package/build/guide/index.js.map +1 -1
- package/build/guide/page-control.js +4 -9
- package/build/guide/page-control.js.map +1 -1
- package/build/guide/page.js +3 -5
- package/build/guide/page.js.map +1 -1
- package/build/guide/types.js.map +1 -1
- package/build/h-stack/component.js +4 -8
- package/build/h-stack/component.js.map +1 -1
- package/build/h-stack/hook.js +1 -10
- package/build/h-stack/hook.js.map +1 -1
- package/build/h-stack/index.js +0 -3
- package/build/h-stack/index.js.map +1 -1
- package/build/h-stack/types.js.map +1 -1
- package/build/h-stack/utils.js +1 -4
- package/build/h-stack/utils.js.map +1 -1
- package/build/heading/component.js +4 -8
- package/build/heading/component.js.map +1 -1
- package/build/heading/hook.js +3 -8
- package/build/heading/hook.js.map +1 -1
- package/build/heading/index.js +0 -3
- package/build/heading/index.js.map +1 -1
- package/build/heading/types.js.map +1 -1
- package/build/higher-order/navigate-regions/index.js +8 -22
- package/build/higher-order/navigate-regions/index.js.map +1 -1
- package/build/higher-order/with-constrained-tabbing/index.js +2 -4
- package/build/higher-order/with-constrained-tabbing/index.js.map +1 -1
- package/build/higher-order/with-fallback-styles/index.js +2 -17
- package/build/higher-order/with-fallback-styles/index.js.map +1 -1
- package/build/higher-order/with-filters/index.js +16 -22
- package/build/higher-order/with-filters/index.js.map +1 -1
- package/build/higher-order/with-focus-outside/index.js +2 -6
- package/build/higher-order/with-focus-outside/index.js.map +1 -1
- package/build/higher-order/with-focus-outside/index.native.js +2 -7
- package/build/higher-order/with-focus-outside/index.native.js.map +1 -1
- package/build/higher-order/with-focus-return/index.js +4 -14
- package/build/higher-order/with-focus-return/index.js.map +1 -1
- package/build/higher-order/with-notices/index.js +12 -21
- package/build/higher-order/with-notices/index.js.map +1 -1
- package/build/higher-order/with-notices/types.js.map +1 -1
- package/build/higher-order/with-spoken-messages/index.js +2 -8
- package/build/higher-order/with-spoken-messages/index.js.map +1 -1
- package/build/icon/index.js +7 -14
- package/build/icon/index.js.map +1 -1
- package/build/index.js +0 -130
- package/build/index.js.map +1 -1
- package/build/index.native.js +0 -85
- package/build/index.native.js.map +1 -1
- package/build/input-control/backdrop.js +1 -4
- package/build/input-control/backdrop.js.map +1 -1
- package/build/input-control/index.js +6 -16
- package/build/input-control/index.js.map +1 -1
- package/build/input-control/input-base.js +7 -19
- package/build/input-control/input-base.js.map +1 -1
- package/build/input-control/input-field.js +12 -35
- package/build/input-control/input-field.js.map +1 -1
- package/build/input-control/input-prefix-wrapper.js +2 -6
- package/build/input-control/input-prefix-wrapper.js.map +1 -1
- package/build/input-control/input-suffix-wrapper.js +2 -6
- package/build/input-control/input-suffix-wrapper.js.map +1 -1
- package/build/input-control/label.js +1 -6
- package/build/input-control/label.js.map +1 -1
- package/build/input-control/reducer/actions.js +1 -1
- package/build/input-control/reducer/actions.js.map +1 -1
- package/build/input-control/reducer/reducer.js +17 -44
- package/build/input-control/reducer/reducer.js.map +1 -1
- package/build/input-control/reducer/state.js +1 -2
- package/build/input-control/reducer/state.js.map +1 -1
- package/build/input-control/styles/input-control-styles.js +27 -62
- package/build/input-control/styles/input-control-styles.js.map +1 -1
- package/build/input-control/types.js.map +1 -1
- package/build/input-control/utils.js +6 -14
- package/build/input-control/utils.js.map +1 -1
- package/build/isolated-event-container/index.js +6 -9
- package/build/isolated-event-container/index.js.map +1 -1
- package/build/item-group/context.js +1 -4
- package/build/item-group/context.js.map +1 -1
- package/build/item-group/index.js +0 -3
- package/build/item-group/index.js.map +1 -1
- package/build/item-group/item/component.js +4 -8
- package/build/item-group/item/component.js.map +1 -1
- package/build/item-group/item/hook.js +0 -11
- package/build/item-group/item/hook.js.map +1 -1
- package/build/item-group/item/index.js +0 -3
- package/build/item-group/item/index.js.map +1 -1
- package/build/item-group/item-group/component.js +4 -9
- package/build/item-group/item-group/component.js.map +1 -1
- package/build/item-group/item-group/hook.js +1 -6
- package/build/item-group/item-group/hook.js.map +1 -1
- package/build/item-group/item-group/index.js +0 -3
- package/build/item-group/item-group/index.js.map +1 -1
- package/build/item-group/styles.js +11 -16
- package/build/item-group/styles.js.map +1 -1
- package/build/item-group/types.js.map +1 -1
- package/build/keyboard-shortcuts/index.js +5 -9
- package/build/keyboard-shortcuts/index.js.map +1 -1
- package/build/keyboard-shortcuts/index.native.js +0 -2
- package/build/keyboard-shortcuts/index.native.js.map +1 -1
- package/build/keyboard-shortcuts/types.js.map +1 -1
- package/build/menu-group/index.js +0 -8
- package/build/menu-group/index.js.map +1 -1
- package/build/menu-group/types.js.map +1 -1
- package/build/menu-item/index.js +25 -14
- package/build/menu-item/index.js.map +1 -1
- package/build/menu-item/types.js.map +1 -0
- package/build/menu-items-choice/index.js +3 -9
- package/build/menu-items-choice/index.js.map +1 -1
- package/build/menu-items-choice/types.js.map +1 -1
- package/build/mobile/audio-player/audio-url-parser.native.js +1 -3
- package/build/mobile/audio-player/audio-url-parser.native.js.map +1 -1
- package/build/mobile/audio-player/index.native.js +11 -31
- package/build/mobile/audio-player/index.native.js.map +1 -1
- package/build/mobile/autocompletion-items.native.js +1 -2
- package/build/mobile/autocompletion-items.native.js.map +1 -1
- package/build/mobile/badge/index.native.js +1 -8
- package/build/mobile/badge/index.native.js.map +1 -1
- package/build/mobile/bottom-sheet/bottom-sheet-context.native.js +4 -6
- package/build/mobile/bottom-sheet/bottom-sheet-context.native.js.map +1 -1
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js +1 -2
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js.map +1 -1
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +9 -25
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +5 -17
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
- package/build/mobile/bottom-sheet/button.native.js +3 -7
- package/build/mobile/bottom-sheet/button.native.js.map +1 -1
- package/build/mobile/bottom-sheet/cell.native.js +17 -56
- package/build/mobile/bottom-sheet/cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/chevron-back.native.js +1 -3
- package/build/mobile/bottom-sheet/chevron-back.native.js.map +1 -1
- package/build/mobile/bottom-sheet/color-cell.native.js +4 -11
- package/build/mobile/bottom-sheet/color-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/cycle-picker-cell.native.js +1 -6
- package/build/mobile/bottom-sheet/cycle-picker-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/footer-message-cell.native.js +3 -9
- package/build/mobile/bottom-sheet/footer-message-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +1 -7
- package/build/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js.map +1 -1
- package/build/mobile/bottom-sheet/index.native.js +26 -101
- package/build/mobile/bottom-sheet/index.native.js.map +1 -1
- package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -23
- package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
- package/build/mobile/bottom-sheet/link-cell.native.js +3 -9
- package/build/mobile/bottom-sheet/link-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js +5 -21
- package/build/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/lock-icon/index.native.js +1 -6
- package/build/mobile/bottom-sheet/lock-icon/index.native.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js +1 -6
- package/build/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js +1 -10
- package/build/mobile/bottom-sheet/nav-bar/apply-button.native.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/back-button.native.js +1 -18
- package/build/mobile/bottom-sheet/nav-bar/back-button.native.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/heading.native.js +1 -7
- package/build/mobile/bottom-sheet/nav-bar/heading.native.js.map +1 -1
- package/build/mobile/bottom-sheet/nav-bar/index.native.js +1 -9
- package/build/mobile/bottom-sheet/nav-bar/index.native.js.map +1 -1
- package/build/mobile/bottom-sheet/picker-cell.native.js +1 -8
- package/build/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/radio-cell.native.js +4 -11
- package/build/mobile/bottom-sheet/radio-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/range-cell.native.js +7 -44
- package/build/mobile/bottom-sheet/range-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet/range-text-input.native.js +1 -35
- package/build/mobile/bottom-sheet/range-text-input.native.js.map +1 -1
- package/build/mobile/bottom-sheet/ripple.native.js +5 -13
- package/build/mobile/bottom-sheet/ripple.native.js.map +1 -1
- package/build/mobile/bottom-sheet/stepper-cell/index.native.js +2 -36
- package/build/mobile/bottom-sheet/stepper-cell/index.native.js.map +1 -1
- package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js +1 -9
- package/build/mobile/bottom-sheet/stepper-cell/stepper.android.js.map +1 -1
- package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js +1 -9
- package/build/mobile/bottom-sheet/stepper-cell/stepper.ios.js.map +1 -1
- package/build/mobile/bottom-sheet/sub-sheet/index.native.js +3 -8
- package/build/mobile/bottom-sheet/sub-sheet/index.native.js.map +1 -1
- package/build/mobile/bottom-sheet/switch-cell.native.js +8 -22
- package/build/mobile/bottom-sheet/switch-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet-select-control/index.native.js +7 -18
- package/build/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
- package/build/mobile/bottom-sheet-text-control/index.native.js +1 -13
- package/build/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
- package/build/mobile/clipboard/index.native.js +0 -5
- package/build/mobile/clipboard/index.native.js.map +1 -1
- package/build/mobile/color-settings/gradient-picker-screen.native.js +1 -9
- package/build/mobile/color-settings/gradient-picker-screen.native.js.map +1 -1
- package/build/mobile/color-settings/index.native.js +3 -12
- package/build/mobile/color-settings/index.native.js.map +1 -1
- package/build/mobile/color-settings/palette.screen.native.js +1 -25
- package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
- package/build/mobile/color-settings/picker-screen.native.js +3 -7
- package/build/mobile/color-settings/picker-screen.native.js.map +1 -1
- package/build/mobile/color-settings/utils.native.js +1 -5
- package/build/mobile/color-settings/utils.native.js.map +1 -1
- package/build/mobile/cycle-select-control/index.native.js +1 -6
- package/build/mobile/cycle-select-control/index.native.js.map +1 -1
- package/build/mobile/dashicons/index.native.js +1 -4
- package/build/mobile/dashicons/index.native.js.map +1 -1
- package/build/mobile/focal-point-settings-panel/index.native.js +3 -17
- package/build/mobile/focal-point-settings-panel/index.native.js.map +1 -1
- package/build/mobile/global-styles-context/index.native.js +10 -14
- package/build/mobile/global-styles-context/index.native.js.map +1 -1
- package/build/mobile/global-styles-context/utils.native.js +27 -67
- package/build/mobile/global-styles-context/utils.native.js.map +1 -1
- package/build/mobile/gradient/index.native.js +6 -32
- package/build/mobile/gradient/index.native.js.map +1 -1
- package/build/mobile/gridicons/index.native.js +1 -4
- package/build/mobile/gridicons/index.native.js.map +1 -1
- package/build/mobile/html-text-input/index.native.js +7 -29
- package/build/mobile/html-text-input/index.native.js.map +1 -1
- package/build/mobile/image/icon-customize.native.js +0 -4
- package/build/mobile/image/icon-customize.native.js.map +1 -1
- package/build/mobile/image/icon-retry.native.js +0 -4
- package/build/mobile/image/icon-retry.native.js.map +1 -1
- package/build/mobile/image/image-editing-button.native.js +1 -11
- package/build/mobile/image/image-editing-button.native.js.map +1 -1
- package/build/mobile/image/index.native.js +7 -30
- package/build/mobile/image/index.native.js.map +1 -1
- package/build/mobile/image/utils/index.native.js +0 -9
- package/build/mobile/image/utils/index.native.js.map +1 -1
- package/build/mobile/inserter-button/index.native.js +5 -16
- package/build/mobile/inserter-button/index.native.js.map +1 -1
- package/build/mobile/inserter-button/sparkles.js +1 -3
- package/build/mobile/inserter-button/sparkles.js.map +1 -1
- package/build/mobile/keyboard-avoiding-view/index.android.js +1 -2
- package/build/mobile/keyboard-avoiding-view/index.android.js.map +1 -1
- package/build/mobile/keyboard-avoiding-view/index.ios.js +5 -24
- package/build/mobile/keyboard-avoiding-view/index.ios.js.map +1 -1
- package/build/mobile/keyboard-aware-flat-list/index.android.js +1 -10
- package/build/mobile/keyboard-aware-flat-list/index.android.js.map +1 -1
- package/build/mobile/keyboard-aware-flat-list/index.ios.js +13 -22
- package/build/mobile/keyboard-aware-flat-list/index.ios.js.map +1 -1
- package/build/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js +3 -8
- package/build/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js.map +1 -1
- package/build/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js +7 -12
- package/build/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js.map +1 -1
- package/build/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js +0 -5
- package/build/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js.map +1 -1
- package/build/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js +2 -8
- package/build/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js.map +1 -1
- package/build/mobile/layout-animation/index.native.js +1 -3
- package/build/mobile/layout-animation/index.native.js.map +1 -1
- package/build/mobile/link-picker/index.native.js +15 -58
- package/build/mobile/link-picker/index.native.js.map +1 -1
- package/build/mobile/link-picker/link-picker-results.native.js +13 -26
- package/build/mobile/link-picker/link-picker-results.native.js.map +1 -1
- package/build/mobile/link-picker/link-picker-screen.native.js +3 -12
- package/build/mobile/link-picker/link-picker-screen.native.js.map +1 -1
- package/build/mobile/link-settings/image-link-destinations-screen.native.js +1 -22
- package/build/mobile/link-settings/image-link-destinations-screen.native.js.map +1 -1
- package/build/mobile/link-settings/index.native.js +17 -52
- package/build/mobile/link-settings/index.native.js.map +1 -1
- package/build/mobile/link-settings/link-rel.native.js +0 -4
- package/build/mobile/link-settings/link-rel.native.js.map +1 -1
- package/build/mobile/link-settings/link-settings-navigation.native.js +5 -12
- package/build/mobile/link-settings/link-settings-navigation.native.js.map +1 -1
- package/build/mobile/link-settings/link-settings-screen.native.js +5 -10
- package/build/mobile/link-settings/link-settings-screen.native.js.map +1 -1
- package/build/mobile/media-edit/index.native.js +3 -20
- package/build/mobile/media-edit/index.native.js.map +1 -1
- package/build/mobile/picker/index.android.js +1 -17
- package/build/mobile/picker/index.android.js.map +1 -1
- package/build/mobile/picker/index.ios.js +1 -15
- package/build/mobile/picker/index.ios.js.map +1 -1
- package/build/mobile/segmented-control/index.native.js +7 -18
- package/build/mobile/segmented-control/index.native.js.map +1 -1
- package/build/mobile/utils/alignments.native.js +2 -13
- package/build/mobile/utils/alignments.native.js.map +1 -1
- package/build/mobile/utils/index.native.js +0 -2
- package/build/mobile/utils/index.native.js.map +1 -1
- package/build/mobile/utils/use-is-floating-keyboard.native.js +1 -6
- package/build/mobile/utils/use-is-floating-keyboard.native.js.map +1 -1
- package/build/mobile/utils/use-unit-converter-to-mobile.native.js +5 -22
- package/build/mobile/utils/use-unit-converter-to-mobile.native.js.map +1 -1
- package/build/modal/aria-helper.js +4 -9
- package/build/modal/aria-helper.js.map +1 -1
- package/build/modal/index.js +41 -47
- package/build/modal/index.js.map +1 -1
- package/build/modal/types.js.map +1 -1
- package/build/navigable-container/container.js +14 -43
- package/build/navigable-container/container.js.map +1 -1
- package/build/navigable-container/index.js +0 -3
- package/build/navigable-container/index.js.map +1 -1
- package/build/navigable-container/menu.js +2 -11
- package/build/navigable-container/menu.js.map +1 -1
- package/build/navigable-container/tabbable.js +5 -12
- package/build/navigable-container/tabbable.js.map +1 -1
- package/build/navigable-container/types.js.map +1 -1
- package/build/navigation/back-button/index.js +1 -13
- package/build/navigation/back-button/index.js.map +1 -1
- package/build/navigation/constants.js.map +1 -1
- package/build/navigation/context.js +1 -8
- package/build/navigation/context.js.map +1 -1
- package/build/navigation/group/context.js +1 -4
- package/build/navigation/group/context.js.map +1 -1
- package/build/navigation/group/index.js +3 -11
- package/build/navigation/group/index.js.map +1 -1
- package/build/navigation/index.js +6 -19
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/item/base-content.js +1 -3
- package/build/navigation/item/base-content.js.map +1 -1
- package/build/navigation/item/base.js +1 -10
- package/build/navigation/item/base.js.map +1 -1
- package/build/navigation/item/index.js +10 -22
- package/build/navigation/item/index.js.map +1 -1
- package/build/navigation/item/use-navigation-tree-item.js +5 -9
- package/build/navigation/item/use-navigation-tree-item.js.map +1 -1
- package/build/navigation/menu/context.js +1 -4
- package/build/navigation/menu/context.js.map +1 -1
- package/build/navigation/menu/index.js +3 -16
- package/build/navigation/menu/index.js.map +1 -1
- package/build/navigation/menu/menu-title-search.js +8 -22
- package/build/navigation/menu/menu-title-search.js.map +1 -1
- package/build/navigation/menu/menu-title.js +4 -17
- package/build/navigation/menu/menu-title.js.map +1 -1
- package/build/navigation/menu/search-no-results-found.js +1 -7
- package/build/navigation/menu/search-no-results-found.js.map +1 -1
- package/build/navigation/menu/use-navigation-tree-menu.js +5 -7
- package/build/navigation/menu/use-navigation-tree-menu.js.map +1 -1
- package/build/navigation/styles/navigation-styles.js +12 -24
- package/build/navigation/styles/navigation-styles.js.map +1 -1
- package/build/navigation/types.js.map +1 -1
- package/build/navigation/use-create-navigation-tree.js +4 -18
- package/build/navigation/use-create-navigation-tree.js.map +1 -1
- package/build/navigation/use-navigation-tree-nodes.js +3 -7
- package/build/navigation/use-navigation-tree-nodes.js.map +1 -1
- package/build/navigation/utils.js +1 -6
- package/build/navigation/utils.js.map +1 -1
- package/build/navigator/context.js +1 -2
- package/build/navigator/context.js.map +1 -1
- package/build/navigator/index.js +0 -7
- package/build/navigator/index.js.map +1 -1
- package/build/navigator/navigator-back-button/component.js +2 -7
- package/build/navigator/navigator-back-button/component.js.map +1 -1
- package/build/navigator/navigator-back-button/hook.js +0 -11
- package/build/navigator/navigator-back-button/hook.js.map +1 -1
- package/build/navigator/navigator-back-button/index.js +0 -2
- package/build/navigator/navigator-back-button/index.js.map +1 -1
- package/build/navigator/navigator-button/component.js +2 -7
- package/build/navigator/navigator-button/component.js.map +1 -1
- package/build/navigator/navigator-button/hook.js +0 -11
- package/build/navigator/navigator-button/hook.js.map +1 -1
- package/build/navigator/navigator-button/index.js +0 -2
- package/build/navigator/navigator-button/index.js.map +1 -1
- package/build/navigator/navigator-provider/component.js +19 -43
- package/build/navigator/navigator-provider/component.js.map +1 -1
- package/build/navigator/navigator-provider/index.js +0 -2
- package/build/navigator/navigator-provider/index.js.map +1 -1
- package/build/navigator/navigator-screen/component.js +16 -34
- package/build/navigator/navigator-screen/component.js.map +1 -1
- package/build/navigator/navigator-screen/index.js +0 -2
- package/build/navigator/navigator-screen/index.js.map +1 -1
- package/build/navigator/navigator-to-parent-button/component.js +4 -8
- package/build/navigator/navigator-to-parent-button/component.js.map +1 -1
- package/build/navigator/navigator-to-parent-button/index.js +0 -2
- package/build/navigator/navigator-to-parent-button/index.js.map +1 -1
- package/build/navigator/types.js.map +1 -1
- package/build/navigator/use-navigator.js +0 -4
- package/build/navigator/use-navigator.js.map +1 -1
- package/build/navigator/utils/router.js +1 -10
- package/build/navigator/utils/router.js.map +1 -1
- package/build/notice/index.js +3 -21
- package/build/notice/index.js.map +1 -1
- package/build/notice/index.native.js +1 -10
- package/build/notice/index.native.js.map +1 -1
- package/build/notice/list.js +4 -10
- package/build/notice/list.js.map +1 -1
- package/build/notice/list.native.js +3 -12
- package/build/notice/list.native.js.map +1 -1
- package/build/notice/types.js.map +1 -1
- package/build/number-control/index.js +23 -54
- package/build/number-control/index.js.map +1 -1
- package/build/number-control/styles/number-control-styles.js +4 -16
- package/build/number-control/styles/number-control-styles.js.map +1 -1
- package/build/number-control/types.js.map +1 -1
- package/build/palette-edit/index.js +27 -55
- package/build/palette-edit/index.js.map +1 -1
- package/build/palette-edit/styles.js +10 -23
- package/build/palette-edit/styles.js.map +1 -1
- package/build/palette-edit/types.js.map +1 -1
- package/build/panel/actions.native.js +1 -10
- package/build/panel/actions.native.js.map +1 -1
- package/build/panel/body.js +8 -18
- package/build/panel/body.js.map +1 -1
- package/build/panel/body.native.js +1 -7
- package/build/panel/body.native.js.map +1 -1
- package/build/panel/bottom-separator-cover.native.js +1 -8
- package/build/panel/bottom-separator-cover.native.js.map +1 -1
- package/build/panel/header.js +0 -3
- package/build/panel/header.js.map +1 -1
- package/build/panel/index.js +2 -7
- package/build/panel/index.js.map +1 -1
- package/build/panel/row.js +2 -6
- package/build/panel/row.js.map +1 -1
- package/build/panel/types.js.map +1 -1
- package/build/placeholder/index.js +7 -14
- package/build/placeholder/index.js.map +1 -1
- package/build/placeholder/types.js.map +1 -1
- package/build/popover/index.js +42 -70
- package/build/popover/index.js.map +1 -1
- package/build/popover/limit-shift.js +4 -15
- package/build/popover/limit-shift.js.map +1 -1
- package/build/popover/overlay-middlewares.js +5 -8
- package/build/popover/overlay-middlewares.js.map +1 -1
- package/build/popover/types.js.map +1 -1
- package/build/popover/utils.js +8 -37
- package/build/popover/utils.js.map +1 -1
- package/build/private-apis.js +4 -10
- package/build/private-apis.js.map +1 -1
- package/build/progress-bar/index.js +1 -7
- package/build/progress-bar/index.js.map +1 -1
- package/build/progress-bar/styles.js +7 -12
- package/build/progress-bar/styles.js.map +1 -1
- package/build/progress-bar/types.js.map +1 -1
- package/build/query-controls/author-select.js +1 -5
- package/build/query-controls/author-select.js.map +1 -1
- package/build/query-controls/category-select.js +1 -5
- package/build/query-controls/category-select.js.map +1 -1
- package/build/query-controls/index.js +2 -18
- package/build/query-controls/index.js.map +1 -1
- package/build/query-controls/index.native.js +1 -8
- package/build/query-controls/index.native.js.map +1 -1
- package/build/query-controls/terms.js +6 -11
- package/build/query-controls/terms.js.map +1 -1
- package/build/query-controls/types.js.map +1 -1
- package/build/radio-control/index.js +0 -11
- package/build/radio-control/index.js.map +1 -1
- package/build/radio-control/index.native.js +1 -5
- package/build/radio-control/index.native.js.map +1 -1
- package/build/radio-control/types.js.map +1 -1
- package/build/radio-group/index.js +4 -10
- package/build/radio-group/index.js.map +1 -1
- package/build/radio-group/radio/index.js +2 -9
- package/build/radio-group/radio/index.js.map +1 -1
- package/build/radio-group/radio-context/index.js +1 -2
- package/build/radio-group/radio-context/index.js.map +1 -1
- package/build/range-control/index.js +9 -39
- package/build/range-control/index.js.map +1 -1
- package/build/range-control/index.native.js +1 -6
- package/build/range-control/index.native.js.map +1 -1
- package/build/range-control/input-range.js +3 -5
- package/build/range-control/input-range.js.map +1 -1
- package/build/range-control/mark.js +3 -6
- package/build/range-control/mark.js.map +1 -1
- package/build/range-control/rail.js +5 -15
- package/build/range-control/rail.js.map +1 -1
- package/build/range-control/styles/range-control-styles.js +30 -70
- package/build/range-control/styles/range-control-styles.js.map +1 -1
- package/build/range-control/tooltip.js +5 -8
- package/build/range-control/tooltip.js.map +1 -1
- package/build/range-control/types.js.map +1 -1
- package/build/range-control/utils.js +4 -9
- package/build/range-control/utils.js.map +1 -1
- package/build/resizable-box/index.js +5 -10
- package/build/resizable-box/index.js.map +1 -1
- package/build/resizable-box/index.native.js +1 -8
- package/build/resizable-box/index.native.js.map +1 -1
- package/build/resizable-box/resize-tooltip/index.js +1 -9
- package/build/resizable-box/resize-tooltip/index.js.map +1 -1
- package/build/resizable-box/resize-tooltip/label.js +4 -15
- package/build/resizable-box/resize-tooltip/label.js.map +1 -1
- package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +3 -8
- package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
- package/build/resizable-box/resize-tooltip/utils.js +9 -26
- package/build/resizable-box/resize-tooltip/utils.js.map +1 -1
- package/build/responsive-wrapper/index.js +2 -9
- package/build/responsive-wrapper/index.js.map +1 -1
- package/build/responsive-wrapper/types.js.map +1 -1
- package/build/sandbox/index.js +32 -41
- package/build/sandbox/index.js.map +1 -1
- package/build/sandbox/index.native.js +14 -31
- package/build/sandbox/index.native.js.map +1 -1
- package/build/sandbox/types.js.map +1 -1
- package/build/scroll-lock/index.js +3 -12
- package/build/scroll-lock/index.js.map +1 -1
- package/build/scrollable/component.js +4 -8
- package/build/scrollable/component.js.map +1 -1
- package/build/scrollable/hook.js +2 -11
- package/build/scrollable/hook.js.map +1 -1
- package/build/scrollable/index.js +0 -4
- package/build/scrollable/index.js.map +1 -1
- package/build/scrollable/styles.js +0 -4
- package/build/scrollable/styles.js.map +1 -1
- package/build/scrollable/types.js.map +1 -1
- package/build/search-control/index.js +4 -16
- package/build/search-control/index.js.map +1 -1
- package/build/search-control/index.native.js +15 -33
- package/build/search-control/index.native.js.map +1 -1
- package/build/search-control/types.js.map +1 -1
- package/build/select-control/chevron-down.js +1 -5
- package/build/select-control/chevron-down.js.map +1 -1
- package/build/select-control/index.js +8 -21
- package/build/select-control/index.js.map +1 -1
- package/build/select-control/index.native.js +1 -4
- package/build/select-control/index.native.js.map +1 -1
- package/build/select-control/styles/select-control-styles.js +4 -19
- package/build/select-control/styles/select-control-styles.js.map +1 -1
- package/build/select-control/types.js.map +1 -1
- package/build/shortcut/index.js +1 -8
- package/build/shortcut/index.js.map +1 -1
- package/build/shortcut/types.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/fill.js +4 -12
- package/build/slot-fill/bubbles-virtually/fill.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/slot-fill-context.js +1 -6
- package/build/slot-fill/bubbles-virtually/slot-fill-context.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/slot-fill-provider.js +3 -22
- package/build/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/slot.js +5 -11
- package/build/slot-fill/bubbles-virtually/slot.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/use-slot-fills.js +3 -8
- package/build/slot-fill/bubbles-virtually/use-slot-fills.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/use-slot.js +5 -9
- package/build/slot-fill/bubbles-virtually/use-slot.js.map +1 -1
- package/build/slot-fill/context.js +1 -3
- package/build/slot-fill/context.js.map +1 -1
- package/build/slot-fill/fill.js +7 -11
- package/build/slot-fill/fill.js.map +1 -1
- package/build/slot-fill/index.js +11 -27
- package/build/slot-fill/index.js.map +1 -1
- package/build/slot-fill/index.native.js +3 -11
- package/build/slot-fill/index.native.js.map +1 -1
- package/build/slot-fill/provider.js +6 -24
- package/build/slot-fill/provider.js.map +1 -1
- package/build/slot-fill/slot.js +4 -20
- package/build/slot-fill/slot.js.map +1 -1
- package/build/slot-fill/use-slot.js +0 -6
- package/build/slot-fill/use-slot.js.map +1 -1
- package/build/snackbar/index.js +9 -22
- package/build/snackbar/index.js.map +1 -1
- package/build/snackbar/list.js +16 -15
- package/build/snackbar/list.js.map +1 -1
- package/build/snackbar/types.js.map +1 -1
- package/build/spacer/component.js +4 -8
- package/build/spacer/component.js.map +1 -1
- package/build/spacer/hook.js +4 -12
- package/build/spacer/hook.js.map +1 -1
- package/build/spacer/index.js +0 -3
- package/build/spacer/index.js.map +1 -1
- package/build/spacer/types.js.map +1 -1
- package/build/spinner/index.js +1 -7
- package/build/spinner/index.js.map +1 -1
- package/build/spinner/index.native.js +1 -5
- package/build/spinner/index.native.js.map +1 -1
- package/build/spinner/styles.js +4 -10
- package/build/spinner/styles.js.map +1 -1
- package/build/style-provider/index.js +13 -19
- package/build/style-provider/index.js.map +1 -1
- package/build/style-provider/index.native.js +0 -1
- package/build/style-provider/index.native.js.map +1 -1
- package/build/style-provider/types.js.map +1 -1
- package/build/surface/component.js +4 -8
- package/build/surface/component.js.map +1 -1
- package/build/surface/hook.js +3 -8
- package/build/surface/hook.js.map +1 -1
- package/build/surface/index.js +0 -4
- package/build/surface/index.js.map +1 -1
- package/build/surface/styles.js +1 -19
- package/build/surface/styles.js.map +1 -1
- package/build/surface/types.js.map +1 -1
- package/build/tab-panel/index.js +12 -30
- package/build/tab-panel/index.js.map +1 -1
- package/build/tab-panel/types.js.map +1 -1
- package/build/text/component.js +1 -8
- package/build/text/component.js.map +1 -1
- package/build/text/get-line-height.js +1 -8
- package/build/text/get-line-height.js.map +1 -1
- package/build/text/hook.js +9 -40
- package/build/text/hook.js.map +1 -1
- package/build/text/index.js +0 -3
- package/build/text/index.js.map +1 -1
- package/build/text/index.native.js +1 -5
- package/build/text/index.native.js.map +1 -1
- package/build/text/styles/emotion-css.native.js +0 -2
- package/build/text/styles/emotion-css.native.js.map +1 -1
- package/build/text/styles/font-family.native.js.map +1 -1
- package/build/text/styles/text-mixins.native.js +3 -20
- package/build/text/styles/text-mixins.native.js.map +1 -1
- package/build/text/styles.js +0 -4
- package/build/text/styles.js.map +1 -1
- package/build/text/types.js.map +1 -1
- package/build/text/utils.js +5 -19
- package/build/text/utils.js.map +1 -1
- package/build/text-control/index.js +2 -9
- package/build/text-control/index.js.map +1 -1
- package/build/text-control/index.native.js +1 -6
- package/build/text-control/index.native.js.map +1 -1
- package/build/text-control/types.js.map +1 -1
- package/build/text-highlight/index.js +0 -6
- package/build/text-highlight/index.js.map +1 -1
- package/build/text-highlight/types.js.map +1 -1
- package/build/textarea-control/index.js +0 -9
- package/build/textarea-control/index.js.map +1 -1
- package/build/textarea-control/index.native.js +1 -6
- package/build/textarea-control/index.native.js.map +1 -1
- package/build/textarea-control/styles/textarea-control-styles.js +1 -4
- package/build/textarea-control/styles/textarea-control-styles.js.map +1 -1
- package/build/textarea-control/types.js.map +1 -1
- package/build/theme/color-algorithms.js +7 -18
- package/build/theme/color-algorithms.js.map +1 -1
- package/build/theme/index.js +0 -8
- package/build/theme/index.js.map +1 -1
- package/build/theme/styles.js +1 -5
- package/build/theme/styles.js.map +1 -1
- package/build/theme/types.js.map +1 -1
- package/build/tip/index.js +1 -4
- package/build/tip/index.js.map +1 -1
- package/build/tip/types.js.map +1 -1
- package/build/toggle-control/index.js +0 -16
- package/build/toggle-control/index.js.map +1 -1
- package/build/toggle-control/index.native.js +1 -4
- package/build/toggle-control/index.native.js.map +1 -1
- package/build/toggle-control/types.js.map +1 -1
- package/build/toggle-group-control/context.js +1 -4
- package/build/toggle-group-control/context.js.map +1 -1
- package/build/toggle-group-control/index.js +0 -3
- package/build/toggle-group-control/index.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/as-button-group.js +7 -12
- package/build/toggle-group-control/toggle-group-control/as-button-group.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/as-radio-group.js +10 -14
- package/build/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/component.js +3 -18
- package/build/toggle-group-control/toggle-group-control/component.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/index.js +0 -2
- package/build/toggle-group-control/toggle-group-control/index.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/styles.js +0 -10
- package/build/toggle-group-control/toggle-group-control/styles.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +4 -15
- package/build/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option/component.js +4 -6
- package/build/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option/index.js +0 -2
- package/build/toggle-group-control/toggle-group-control-option/index.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-base/component.js +13 -32
- package/build/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-base/index.js +0 -2
- package/build/toggle-group-control/toggle-group-control-option-base/index.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-base/styles.js +7 -16
- package/build/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-icon/component.js +4 -8
- package/build/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-icon/index.js +0 -2
- package/build/toggle-group-control/toggle-group-control-option-icon/index.js.map +1 -1
- package/build/toggle-group-control/types.js.map +1 -1
- package/build/toolbar/index.js +0 -7
- package/build/toolbar/index.js.map +1 -1
- package/build/toolbar/toolbar/index.js +6 -15
- package/build/toolbar/toolbar/index.js.map +1 -1
- package/build/toolbar/toolbar/toolbar-container.js +3 -8
- package/build/toolbar/toolbar/toolbar-container.js.map +1 -1
- package/build/toolbar/toolbar/toolbar-container.native.js +1 -4
- package/build/toolbar/toolbar/toolbar-container.native.js.map +1 -1
- package/build/toolbar/toolbar/types.js.map +1 -1
- package/build/toolbar/toolbar-button/index.js +7 -16
- package/build/toolbar/toolbar-button/index.js.map +1 -1
- package/build/toolbar/toolbar-button/toolbar-button-container.js +1 -3
- package/build/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
- package/build/toolbar/toolbar-button/toolbar-button-container.native.js +0 -4
- package/build/toolbar/toolbar-button/toolbar-button-container.native.js.map +1 -1
- package/build/toolbar/toolbar-button/types.js.map +1 -1
- package/build/toolbar/toolbar-context/index.js +1 -2
- package/build/toolbar/toolbar-context/index.js.map +1 -1
- package/build/toolbar/toolbar-dropdown-menu/index.js +10 -15
- package/build/toolbar/toolbar-dropdown-menu/index.js.map +1 -1
- package/build/toolbar/toolbar-group/index.js +4 -16
- package/build/toolbar/toolbar-group/index.js.map +1 -1
- package/build/toolbar/toolbar-group/toolbar-group-collapsed.js +5 -12
- package/build/toolbar/toolbar-group/toolbar-group-collapsed.js.map +1 -1
- package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js +1 -9
- package/build/toolbar/toolbar-group/toolbar-group-collapsed.native.js.map +1 -1
- package/build/toolbar/toolbar-group/toolbar-group-container.js +1 -3
- package/build/toolbar/toolbar-group/toolbar-group-container.js.map +1 -1
- package/build/toolbar/toolbar-group/toolbar-group-container.native.js +1 -7
- package/build/toolbar/toolbar-group/toolbar-group-container.native.js.map +1 -1
- package/build/toolbar/toolbar-item/index.js +7 -17
- package/build/toolbar/toolbar-item/index.js.map +1 -1
- package/build/toolbar/toolbar-item/index.native.js +3 -8
- package/build/toolbar/toolbar-item/index.native.js.map +1 -1
- package/build/toolbar/toolbar-item/types.js.map +1 -1
- package/build/tools-panel/context.js +1 -5
- package/build/tools-panel/context.js.map +1 -1
- package/build/tools-panel/index.js +0 -4
- package/build/tools-panel/index.js.map +1 -1
- package/build/tools-panel/styles.js +14 -27
- package/build/tools-panel/styles.js.map +1 -1
- package/build/tools-panel/tools-panel/component.js +4 -11
- package/build/tools-panel/tools-panel/component.js.map +1 -1
- package/build/tools-panel/tools-panel/hook.js +51 -50
- package/build/tools-panel/tools-panel/hook.js.map +1 -1
- package/build/tools-panel/tools-panel/index.js +0 -3
- package/build/tools-panel/tools-panel/index.js.map +1 -1
- package/build/tools-panel/tools-panel-header/component.js +18 -32
- package/build/tools-panel/tools-panel-header/component.js.map +1 -1
- package/build/tools-panel/tools-panel-header/hook.js +3 -9
- package/build/tools-panel/tools-panel-header/hook.js.map +1 -1
- package/build/tools-panel/tools-panel-header/index.js +0 -2
- package/build/tools-panel/tools-panel-header/index.js.map +1 -1
- package/build/tools-panel/tools-panel-item/component.js +5 -10
- package/build/tools-panel/tools-panel-item/component.js.map +1 -1
- package/build/tools-panel/tools-panel-item/hook.js +18 -26
- package/build/tools-panel/tools-panel-item/hook.js.map +1 -1
- package/build/tools-panel/tools-panel-item/index.js +0 -3
- package/build/tools-panel/tools-panel-item/index.js.map +1 -1
- package/build/tools-panel/types.js.map +1 -1
- package/build/tooltip/index.js +27 -53
- package/build/tooltip/index.js.map +1 -1
- package/build/tooltip/index.native.js +29 -45
- package/build/tooltip/index.native.js.map +1 -1
- package/build/tree-grid/cell.js +4 -7
- package/build/tree-grid/cell.js.map +1 -1
- package/build/tree-grid/index.js +51 -75
- package/build/tree-grid/index.js.map +1 -1
- package/build/tree-grid/item.js +2 -6
- package/build/tree-grid/item.js.map +1 -1
- package/build/tree-grid/roving-tab-index-context.js +1 -4
- package/build/tree-grid/roving-tab-index-context.js.map +1 -1
- package/build/tree-grid/roving-tab-index-item.js +7 -12
- package/build/tree-grid/roving-tab-index-item.js.map +1 -1
- package/build/tree-grid/roving-tab-index.js +3 -5
- package/build/tree-grid/roving-tab-index.js.map +1 -1
- package/build/tree-grid/row.js +4 -5
- package/build/tree-grid/row.js.map +1 -1
- package/build/tree-grid/types.js.map +1 -1
- package/build/tree-select/index.js +2 -6
- package/build/tree-select/index.js.map +1 -1
- package/build/tree-select/types.js.map +1 -1
- package/build/truncate/component.js +2 -8
- package/build/truncate/component.js.map +1 -1
- package/build/truncate/hook.js +3 -14
- package/build/truncate/hook.js.map +1 -1
- package/build/truncate/index.js +0 -3
- package/build/truncate/index.js.map +1 -1
- package/build/truncate/styles.js +0 -3
- package/build/truncate/styles.js.map +1 -1
- package/build/truncate/types.js.map +1 -1
- package/build/truncate/utils.js +8 -20
- package/build/truncate/utils.js.map +1 -1
- package/build/ui/context/constants.js +1 -1
- package/build/ui/context/constants.js.map +1 -1
- package/build/ui/context/context-connect.js +16 -30
- package/build/ui/context/context-connect.js.map +1 -1
- package/build/ui/context/context-system-provider.js +11 -22
- package/build/ui/context/context-system-provider.js.map +1 -1
- package/build/ui/context/get-styled-class-name-from-key.js +0 -5
- package/build/ui/context/get-styled-class-name-from-key.js.map +1 -1
- package/build/ui/context/index.js +0 -5
- package/build/ui/context/index.js.map +1 -1
- package/build/ui/context/use-context-system.js +8 -19
- package/build/ui/context/use-context-system.js.map +1 -1
- package/build/ui/context/utils.js +1 -4
- package/build/ui/context/utils.js.map +1 -1
- package/build/ui/context/wordpress-component.js.map +1 -1
- package/build/ui/shortcut/component.js +1 -9
- package/build/ui/shortcut/component.js.map +1 -1
- package/build/ui/shortcut/index.js +0 -2
- package/build/ui/shortcut/index.js.map +1 -1
- package/build/ui/tooltip/component.js +3 -12
- package/build/ui/tooltip/component.js.map +1 -1
- package/build/ui/tooltip/content.js +2 -13
- package/build/ui/tooltip/content.js.map +1 -1
- package/build/ui/tooltip/context.js +0 -4
- package/build/ui/tooltip/context.js.map +1 -1
- package/build/ui/tooltip/index.js +0 -4
- package/build/ui/tooltip/index.js.map +1 -1
- package/build/ui/tooltip/styles.js +0 -12
- package/build/ui/tooltip/styles.js.map +1 -1
- package/build/ui/tooltip/types.js.map +1 -1
- package/build/ui/utils/colors.js +13 -23
- package/build/ui/utils/colors.js.map +1 -1
- package/build/ui/utils/font-size.js +1 -8
- package/build/ui/utils/font-size.js.map +1 -1
- package/build/ui/utils/get-high-dpi.js +1 -2
- package/build/ui/utils/get-high-dpi.js.map +1 -1
- package/build/ui/utils/get-valid-children.js +0 -2
- package/build/ui/utils/get-valid-children.js.map +1 -1
- package/build/ui/utils/index.js +0 -1
- package/build/ui/utils/index.js.map +1 -1
- package/build/ui/utils/space.js +6 -7
- package/build/ui/utils/space.js.map +1 -1
- package/build/ui/utils/types.js.map +1 -1
- package/build/ui/utils/use-responsive-value.js +5 -18
- package/build/ui/utils/use-responsive-value.js.map +1 -1
- package/build/unit-control/index.js +13 -33
- package/build/unit-control/index.js.map +1 -1
- package/build/unit-control/index.native.js +7 -25
- package/build/unit-control/index.native.js.map +1 -1
- package/build/unit-control/styles/unit-control-styles.js +9 -19
- package/build/unit-control/styles/unit-control-styles.js.map +1 -1
- package/build/unit-control/types.js.map +1 -1
- package/build/unit-control/unit-select-control.js +1 -10
- package/build/unit-control/unit-select-control.js.map +1 -1
- package/build/unit-control/utils.js +16 -35
- package/build/unit-control/utils.js.map +1 -1
- package/build/utils/base-label.js +0 -3
- package/build/utils/base-label.js.map +1 -1
- package/build/utils/box-sizing.js +0 -3
- package/build/utils/box-sizing.js.map +1 -1
- package/build/utils/breakpoint-values.js.map +1 -1
- package/build/utils/breakpoint.js +0 -4
- package/build/utils/breakpoint.js.map +1 -1
- package/build/utils/browsers.js +1 -5
- package/build/utils/browsers.js.map +1 -1
- package/build/utils/colors-values.js +12 -12
- package/build/utils/colors-values.js.map +1 -1
- package/build/utils/colors.js +2 -5
- package/build/utils/colors.js.map +1 -1
- package/build/utils/config-values.js +6 -8
- package/build/utils/config-values.js.map +1 -1
- package/build/utils/events.js +3 -7
- package/build/utils/events.js.map +1 -1
- package/build/utils/font-values.js.map +1 -1
- package/build/utils/font.js +0 -4
- package/build/utils/font.js.map +1 -1
- package/build/utils/hooks/emotion.d.js.map +1 -1
- package/build/utils/hooks/index.js +0 -6
- package/build/utils/hooks/index.js.map +1 -1
- package/build/utils/hooks/use-controlled-state.js +5 -10
- package/build/utils/hooks/use-controlled-state.js.map +1 -1
- package/build/utils/hooks/use-controlled-value.js +0 -4
- package/build/utils/hooks/use-controlled-value.js.map +1 -1
- package/build/utils/hooks/use-cx.js +3 -10
- package/build/utils/hooks/use-cx.js.map +1 -1
- package/build/utils/hooks/use-latest-ref.js +0 -3
- package/build/utils/hooks/use-latest-ref.js.map +1 -1
- package/build/utils/hooks/use-update-effect.js +2 -5
- package/build/utils/hooks/use-update-effect.js.map +1 -1
- package/build/utils/index.js +0 -4
- package/build/utils/index.js.map +1 -1
- package/build/utils/input/base.js +3 -7
- package/build/utils/input/base.js.map +1 -1
- package/build/utils/input/index.js +0 -2
- package/build/utils/input/index.js.map +1 -1
- package/build/utils/input/input-control.js +1 -6
- package/build/utils/input/input-control.js.map +1 -1
- package/build/utils/math.js +8 -17
- package/build/utils/math.js.map +1 -1
- package/build/utils/reduce-motion.js +0 -5
- package/build/utils/reduce-motion.js.map +1 -1
- package/build/utils/rtl.js +7 -19
- package/build/utils/rtl.js.map +1 -1
- package/build/utils/strings.js +58 -35
- package/build/utils/strings.js.map +1 -1
- package/build/utils/style-mixins.js +0 -10
- package/build/utils/style-mixins.js.map +1 -1
- package/build/utils/types.js.map +1 -1
- package/build/utils/unit-values.js +2 -5
- package/build/utils/unit-values.js.map +1 -1
- package/build/utils/use-deprecated-props.js +4 -8
- package/build/utils/use-deprecated-props.js.map +1 -1
- package/build/utils/values.js +9 -32
- package/build/utils/values.js.map +1 -1
- package/build/utils/z-index.js.map +1 -1
- package/build/v-stack/component.js +4 -8
- package/build/v-stack/component.js.map +1 -1
- package/build/v-stack/hook.js +1 -3
- package/build/v-stack/hook.js.map +1 -1
- package/build/v-stack/index.js +0 -3
- package/build/v-stack/index.js.map +1 -1
- package/build/v-stack/types.js.map +1 -1
- package/build/view/component.js +0 -3
- package/build/view/component.js.map +1 -1
- package/build/view/index.js +0 -2
- package/build/view/index.js.map +1 -1
- package/build/view/types.js.map +1 -1
- package/build/visually-hidden/component.js +4 -8
- package/build/visually-hidden/component.js.map +1 -1
- package/build/visually-hidden/index.js +0 -2
- package/build/visually-hidden/index.js.map +1 -1
- package/build/visually-hidden/styles.js +1 -1
- package/build/visually-hidden/styles.js.map +1 -1
- package/build/visually-hidden/types.js.map +1 -1
- package/build/z-stack/component.js +6 -10
- package/build/z-stack/component.js.map +1 -1
- package/build/z-stack/index.js +0 -2
- package/build/z-stack/index.js.map +1 -1
- package/build/z-stack/styles.js +0 -7
- package/build/z-stack/styles.js.map +1 -1
- package/build/z-stack/types.js.map +1 -1
- package/build-module/alignment-matrix-control/cell.js +1 -2
- package/build-module/alignment-matrix-control/cell.js.map +1 -1
- package/build-module/alignment-matrix-control/icon.js +5 -6
- package/build-module/alignment-matrix-control/icon.js.map +1 -1
- package/build-module/alignment-matrix-control/index.js +9 -12
- package/build-module/alignment-matrix-control/index.js.map +1 -1
- package/build-module/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js +2 -8
- package/build-module/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js.map +1 -1
- package/build-module/alignment-matrix-control/styles/alignment-matrix-control-styles.js +11 -18
- package/build-module/alignment-matrix-control/styles/alignment-matrix-control-styles.js.map +1 -1
- package/build-module/alignment-matrix-control/types.js.map +1 -1
- package/build-module/alignment-matrix-control/utils.js +7 -5
- package/build-module/alignment-matrix-control/utils.js.map +1 -1
- package/build-module/angle-picker-control/angle-circle.js +6 -18
- package/build-module/angle-picker-control/angle-circle.js.map +1 -1
- package/build-module/angle-picker-control/index.js +6 -11
- package/build-module/angle-picker-control/index.js.map +1 -1
- package/build-module/angle-picker-control/styles/angle-picker-control-styles.js +6 -11
- package/build-module/angle-picker-control/styles/angle-picker-control-styles.js.map +1 -1
- package/build-module/angle-picker-control/types.js.map +1 -1
- package/build-module/animate/index.js +3 -7
- package/build-module/animate/index.js.map +1 -1
- package/build-module/animate/types.js.map +1 -1
- package/build-module/animation/index.js +1 -0
- package/build-module/animation/index.js.map +1 -1
- package/build-module/autocomplete/autocompleter-ui.js +11 -22
- package/build-module/autocomplete/autocompleter-ui.js.map +1 -1
- package/build-module/autocomplete/autocompleter-ui.native.js +10 -13
- package/build-module/autocomplete/autocompleter-ui.native.js.map +1 -1
- package/build-module/autocomplete/background-view.android.js +2 -5
- package/build-module/autocomplete/background-view.android.js.map +1 -1
- package/build-module/autocomplete/background-view.ios.js +1 -4
- package/build-module/autocomplete/background-view.ios.js.map +1 -1
- package/build-module/autocomplete/get-default-use-items.js +8 -16
- package/build-module/autocomplete/get-default-use-items.js.map +1 -1
- package/build-module/autocomplete/index.js +30 -63
- package/build-module/autocomplete/index.js.map +1 -1
- package/build-module/autocomplete/types.js.map +1 -1
- package/build-module/base-control/hooks.js +3 -3
- package/build-module/base-control/hooks.js.map +1 -1
- package/build-module/base-control/index.js +7 -6
- package/build-module/base-control/index.js.map +1 -1
- package/build-module/base-control/index.native.js +0 -1
- package/build-module/base-control/index.native.js.map +1 -1
- package/build-module/base-control/styles/base-control-styles.js +2 -8
- package/build-module/base-control/styles/base-control-styles.js.map +1 -1
- package/build-module/base-control/types.js.map +1 -1
- package/build-module/border-box-control/border-box-control/component.js +7 -11
- package/build-module/border-box-control/border-box-control/component.js.map +1 -1
- package/build-module/border-box-control/border-box-control/hook.js +20 -20
- package/build-module/border-box-control/border-box-control/hook.js.map +1 -1
- package/build-module/border-box-control/border-box-control/index.js.map +1 -1
- package/build-module/border-box-control/border-box-control-linked-button/component.js +3 -5
- package/build-module/border-box-control/border-box-control-linked-button/component.js.map +1 -1
- package/build-module/border-box-control/border-box-control-linked-button/hook.js +5 -3
- package/build-module/border-box-control/border-box-control-linked-button/hook.js.map +1 -1
- package/build-module/border-box-control/border-box-control-linked-button/index.js.map +1 -1
- package/build-module/border-box-control/border-box-control-split-controls/component.js +8 -8
- package/build-module/border-box-control/border-box-control-split-controls/component.js.map +1 -1
- package/build-module/border-box-control/border-box-control-split-controls/hook.js +5 -3
- package/build-module/border-box-control/border-box-control-split-controls/hook.js.map +1 -1
- package/build-module/border-box-control/border-box-control-split-controls/index.js.map +1 -1
- package/build-module/border-box-control/border-box-control-visualizer/component.js +2 -4
- package/build-module/border-box-control/border-box-control-visualizer/component.js.map +1 -1
- package/build-module/border-box-control/border-box-control-visualizer/hook.js +5 -3
- package/build-module/border-box-control/border-box-control-visualizer/hook.js.map +1 -1
- package/build-module/border-box-control/border-box-control-visualizer/index.js.map +1 -1
- package/build-module/border-box-control/index.js.map +1 -1
- package/build-module/border-box-control/styles.js +1 -4
- package/build-module/border-box-control/styles.js.map +1 -1
- package/build-module/border-box-control/types.js.map +1 -1
- package/build-module/border-box-control/utils.js +9 -20
- package/build-module/border-box-control/utils.js.map +1 -1
- package/build-module/border-control/border-control/component.js +2 -8
- package/build-module/border-control/border-control/component.js.map +1 -1
- package/build-module/border-control/border-control/hook.js +16 -18
- package/build-module/border-control/border-control/hook.js.map +1 -1
- package/build-module/border-control/border-control/index.js.map +1 -1
- package/build-module/border-control/border-control-dropdown/component.js +17 -26
- package/build-module/border-control/border-control-dropdown/component.js.map +1 -1
- package/build-module/border-control/border-control-dropdown/hook.js +9 -9
- package/build-module/border-control/border-control-dropdown/hook.js.map +1 -1
- package/build-module/border-control/border-control-dropdown/index.js.map +1 -1
- package/build-module/border-control/border-control-style-picker/component.js +3 -8
- package/build-module/border-control/border-control-style-picker/component.js.map +1 -1
- package/build-module/border-control/border-control-style-picker/hook.js +5 -3
- package/build-module/border-control/border-control-style-picker/hook.js.map +1 -1
- package/build-module/border-control/border-control-style-picker/index.js.map +1 -1
- package/build-module/border-control/index.js.map +1 -1
- package/build-module/border-control/styles.js +5 -5
- package/build-module/border-control/styles.js.map +1 -1
- package/build-module/border-control/types.js.map +1 -1
- package/build-module/box-control/all-input-control.js +6 -12
- package/build-module/box-control/all-input-control.js.map +1 -1
- package/build-module/box-control/axial-input-controls.js +8 -22
- package/build-module/box-control/axial-input-controls.js.map +1 -1
- package/build-module/box-control/icon.js +3 -5
- package/build-module/box-control/icon.js.map +1 -1
- package/build-module/box-control/index.js +11 -17
- package/build-module/box-control/index.js.map +1 -1
- package/build-module/box-control/input-controls.js +9 -18
- package/build-module/box-control/input-controls.js.map +1 -1
- package/build-module/box-control/linked-button.js +3 -3
- package/build-module/box-control/linked-button.js.map +1 -1
- package/build-module/box-control/styles/box-control-icon-styles.js +0 -7
- package/build-module/box-control/styles/box-control-icon-styles.js.map +1 -1
- package/build-module/box-control/styles/box-control-styles.js +0 -11
- package/build-module/box-control/styles/box-control-styles.js.map +1 -1
- package/build-module/box-control/styles/box-control-visualizer-styles.js +8 -14
- package/build-module/box-control/styles/box-control-visualizer-styles.js.map +1 -1
- package/build-module/box-control/types.js.map +1 -1
- package/build-module/box-control/unit-control.js +4 -7
- package/build-module/box-control/unit-control.js.map +1 -1
- package/build-module/box-control/utils.js +14 -25
- package/build-module/box-control/utils.js.map +1 -1
- package/build-module/button/deprecated.js +3 -5
- package/build-module/button/deprecated.js.map +1 -1
- package/build-module/button/index.js +22 -34
- package/build-module/button/index.js.map +1 -1
- package/build-module/button/index.native.js +17 -16
- package/build-module/button/index.native.js.map +1 -1
- package/build-module/button/types.js.map +1 -1
- package/build-module/button-group/index.js +2 -4
- package/build-module/button-group/index.js.map +1 -1
- package/build-module/button-group/types.js.map +1 -1
- package/build-module/card/card/component.js +8 -10
- package/build-module/card/card/component.js.map +1 -1
- package/build-module/card/card/hook.js +10 -11
- package/build-module/card/card/hook.js.map +1 -1
- package/build-module/card/card/index.js.map +1 -1
- package/build-module/card/card-body/component.js +6 -8
- package/build-module/card/card-body/component.js.map +1 -1
- package/build-module/card/card-body/hook.js +5 -2
- package/build-module/card/card-body/hook.js.map +1 -1
- package/build-module/card/card-body/index.js.map +1 -1
- package/build-module/card/card-divider/component.js +4 -5
- package/build-module/card/card-divider/component.js.map +1 -1
- package/build-module/card/card-divider/hook.js +5 -2
- package/build-module/card/card-divider/hook.js.map +1 -1
- package/build-module/card/card-divider/index.js.map +1 -1
- package/build-module/card/card-footer/component.js +4 -5
- package/build-module/card/card-footer/component.js.map +1 -1
- package/build-module/card/card-footer/hook.js +5 -2
- package/build-module/card/card-footer/hook.js.map +1 -1
- package/build-module/card/card-footer/index.js.map +1 -1
- package/build-module/card/card-header/component.js +4 -5
- package/build-module/card/card-header/component.js.map +1 -1
- package/build-module/card/card-header/hook.js +5 -2
- package/build-module/card/card-header/hook.js.map +1 -1
- package/build-module/card/card-header/index.js.map +1 -1
- package/build-module/card/card-media/component.js +4 -5
- package/build-module/card/card-media/component.js.map +1 -1
- package/build-module/card/card-media/hook.js +5 -2
- package/build-module/card/card-media/hook.js.map +1 -1
- package/build-module/card/card-media/index.js.map +1 -1
- package/build-module/card/context.js.map +1 -1
- package/build-module/card/index.js.map +1 -1
- package/build-module/card/styles.js +3 -3
- package/build-module/card/styles.js.map +1 -1
- package/build-module/card/types.js.map +1 -1
- package/build-module/checkbox-control/index.js +6 -12
- package/build-module/checkbox-control/index.js.map +1 -1
- package/build-module/checkbox-control/types.js.map +1 -1
- package/build-module/circular-option-picker/index.js +3 -4
- package/build-module/circular-option-picker/index.js.map +1 -1
- package/build-module/circular-option-picker/types.js.map +1 -1
- package/build-module/clipboard-button/index.js +7 -9
- package/build-module/clipboard-button/index.js.map +1 -1
- package/build-module/clipboard-button/types.js.map +1 -1
- package/build-module/color-control/index.native.js +0 -3
- package/build-module/color-control/index.native.js.map +1 -1
- package/build-module/color-indicator/index.js +2 -4
- package/build-module/color-indicator/index.js.map +1 -1
- package/build-module/color-indicator/index.native.js +0 -8
- package/build-module/color-indicator/index.native.js.map +1 -1
- package/build-module/color-indicator/types.js.map +1 -1
- package/build-module/color-palette/index.js +18 -19
- package/build-module/color-palette/index.js.map +1 -1
- package/build-module/color-palette/index.native.js +5 -32
- package/build-module/color-palette/index.native.js.map +1 -1
- package/build-module/color-palette/styles.js +0 -2
- package/build-module/color-palette/styles.js.map +1 -1
- package/build-module/color-palette/types.js.map +1 -1
- package/build-module/color-palette/utils.js +11 -13
- package/build-module/color-palette/utils.js.map +1 -1
- package/build-module/color-picker/color-copy-button.js +1 -5
- package/build-module/color-picker/color-copy-button.js.map +1 -1
- package/build-module/color-picker/color-input.js +6 -7
- package/build-module/color-picker/color-input.js.map +1 -1
- package/build-module/color-picker/component.js +5 -6
- package/build-module/color-picker/component.js.map +1 -1
- package/build-module/color-picker/hex-input.js +7 -10
- package/build-module/color-picker/hex-input.js.map +1 -1
- package/build-module/color-picker/hsl-input.js +1 -2
- package/build-module/color-picker/hsl-input.js.map +1 -1
- package/build-module/color-picker/index.js.map +1 -1
- package/build-module/color-picker/index.native.js +2 -16
- package/build-module/color-picker/index.native.js.map +1 -1
- package/build-module/color-picker/input-with-slider.js +3 -6
- package/build-module/color-picker/input-with-slider.js.map +1 -1
- package/build-module/color-picker/legacy-adapter.js +2 -2
- package/build-module/color-picker/legacy-adapter.js.map +1 -1
- package/build-module/color-picker/picker.js +1 -2
- package/build-module/color-picker/picker.js.map +1 -1
- package/build-module/color-picker/rgb-input.js +1 -2
- package/build-module/color-picker/rgb-input.js.map +1 -1
- package/build-module/color-picker/styles.js +2 -2
- package/build-module/color-picker/styles.js.map +1 -1
- package/build-module/color-picker/types.js.map +1 -1
- package/build-module/color-picker/use-deprecated-props.js +4 -6
- package/build-module/color-picker/use-deprecated-props.js.map +1 -1
- package/build-module/combobox-control/index.js +19 -46
- package/build-module/combobox-control/index.js.map +1 -1
- package/build-module/combobox-control/styles.js +2 -4
- package/build-module/combobox-control/styles.js.map +1 -1
- package/build-module/combobox-control/types.js.map +1 -1
- package/build-module/composite/index.js +0 -1
- package/build-module/composite/index.js.map +1 -1
- package/build-module/confirm-dialog/component.js +1 -6
- package/build-module/confirm-dialog/component.js.map +1 -1
- package/build-module/confirm-dialog/index.js.map +1 -1
- package/build-module/confirm-dialog/styles.js +1 -2
- package/build-module/confirm-dialog/styles.js.map +1 -1
- package/build-module/confirm-dialog/types.js.map +1 -1
- package/build-module/custom-gradient-picker/constants.js.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/constants.js.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/control-points.js +7 -20
- package/build-module/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/index.js +4 -24
- package/build-module/custom-gradient-picker/gradient-bar/index.js.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/utils.js +11 -12
- package/build-module/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
- package/build-module/custom-gradient-picker/index.js +13 -23
- package/build-module/custom-gradient-picker/index.js.map +1 -1
- package/build-module/custom-gradient-picker/index.native.js +7 -17
- package/build-module/custom-gradient-picker/index.native.js.map +1 -1
- package/build-module/custom-gradient-picker/serializer.js +1 -5
- package/build-module/custom-gradient-picker/serializer.js.map +1 -1
- package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.js +0 -2
- package/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.js.map +1 -1
- package/build-module/custom-gradient-picker/types.js.map +1 -1
- package/build-module/custom-gradient-picker/utils.js +3 -11
- package/build-module/custom-gradient-picker/utils.js.map +1 -1
- package/build-module/custom-select-control/index.js +19 -29
- package/build-module/custom-select-control/index.js.map +1 -1
- package/build-module/custom-select-control/styles.js +0 -4
- package/build-module/custom-select-control/styles.js.map +1 -1
- package/build-module/dashicon/index.js +7 -5
- package/build-module/dashicon/index.js.map +1 -1
- package/build-module/dashicon/index.native.js +3 -4
- package/build-module/dashicon/index.native.js.map +1 -1
- package/build-module/dashicon/types.js.map +1 -1
- package/build-module/date-time/constants.js.map +1 -1
- package/build-module/date-time/date/index.js +22 -33
- package/build-module/date-time/date/index.js.map +1 -1
- package/build-module/date-time/date/styles.js +8 -10
- package/build-module/date-time/date/styles.js.map +1 -1
- package/build-module/date-time/date-time/index.js +1 -6
- package/build-module/date-time/date-time/index.js.map +1 -1
- package/build-module/date-time/date-time/styles.js +0 -2
- package/build-module/date-time/date-time/styles.js.map +1 -1
- package/build-module/date-time/index.js.map +1 -1
- package/build-module/date-time/time/index.js +15 -31
- package/build-module/date-time/time/index.js.map +1 -1
- package/build-module/date-time/time/styles.js +5 -5
- package/build-module/date-time/time/styles.js.map +1 -1
- package/build-module/date-time/time/timezone.js +7 -8
- package/build-module/date-time/time/timezone.js.map +1 -1
- package/build-module/date-time/types.js.map +1 -1
- package/build-module/date-time/utils.js +1 -2
- package/build-module/date-time/utils.js.map +1 -1
- package/build-module/dimension-control/index.js +2 -8
- package/build-module/dimension-control/index.js.map +1 -1
- package/build-module/dimension-control/sizes.js +1 -0
- package/build-module/dimension-control/sizes.js.map +1 -1
- package/build-module/dimension-control/types.js.map +1 -1
- package/build-module/disabled/index.js +2 -4
- package/build-module/disabled/index.js.map +1 -1
- package/build-module/disabled/index.native.js +0 -3
- package/build-module/disabled/index.native.js.map +1 -1
- package/build-module/disabled/styles/disabled-styles.js +0 -1
- package/build-module/disabled/styles/disabled-styles.js.map +1 -1
- package/build-module/disabled/types.js.map +1 -1
- package/build-module/disclosure/index.js +0 -1
- package/build-module/disclosure/index.js.map +1 -1
- package/build-module/divider/component.js +1 -8
- package/build-module/divider/component.js.map +1 -1
- package/build-module/divider/index.js.map +1 -1
- package/build-module/divider/styles.js +5 -10
- package/build-module/divider/styles.js.map +1 -1
- package/build-module/divider/types.js.map +1 -1
- package/build-module/draggable/index.js +30 -35
- package/build-module/draggable/index.js.map +1 -1
- package/build-module/draggable/index.native.js +6 -18
- package/build-module/draggable/index.native.js.map +1 -1
- package/build-module/draggable/types.js.map +1 -1
- package/build-module/drop-zone/index.js +10 -17
- package/build-module/drop-zone/index.js.map +1 -1
- package/build-module/drop-zone/provider.js.map +1 -1
- package/build-module/drop-zone/types.js.map +1 -1
- package/build-module/dropdown/dropdown-content-wrapper.js +4 -5
- package/build-module/dropdown/dropdown-content-wrapper.js.map +1 -1
- package/build-module/dropdown/index.js +12 -23
- package/build-module/dropdown/index.js.map +1 -1
- package/build-module/dropdown/index.native.js +0 -11
- package/build-module/dropdown/index.native.js.map +1 -1
- package/build-module/dropdown/styles.js +0 -4
- package/build-module/dropdown/styles.js.map +1 -1
- package/build-module/dropdown/types.js.map +1 -1
- package/build-module/dropdown-menu/index.js +11 -25
- package/build-module/dropdown-menu/index.js.map +1 -1
- package/build-module/dropdown-menu/index.native.js +8 -19
- package/build-module/dropdown-menu/index.native.js.map +1 -1
- package/build-module/dropdown-menu/types.js.map +1 -1
- package/build-module/dropdown-menu-v2/index.js +21 -16
- package/build-module/dropdown-menu-v2/index.js.map +1 -1
- package/build-module/dropdown-menu-v2/styles.js +4 -6
- package/build-module/dropdown-menu-v2/styles.js.map +1 -1
- package/build-module/dropdown-menu-v2/types.js.map +1 -1
- package/build-module/duotone-picker/color-list-picker/index.js +1 -5
- package/build-module/duotone-picker/color-list-picker/index.js.map +1 -1
- package/build-module/duotone-picker/color-list-picker/types.js.map +1 -1
- package/build-module/duotone-picker/custom-duotone-bar.js +0 -1
- package/build-module/duotone-picker/custom-duotone-bar.js.map +1 -1
- package/build-module/duotone-picker/duotone-picker.js +8 -11
- package/build-module/duotone-picker/duotone-picker.js.map +1 -1
- package/build-module/duotone-picker/duotone-swatch.js +1 -4
- package/build-module/duotone-picker/duotone-swatch.js.map +1 -1
- package/build-module/duotone-picker/index.js.map +1 -1
- package/build-module/duotone-picker/types.js.map +1 -1
- package/build-module/duotone-picker/utils.js +5 -4
- package/build-module/duotone-picker/utils.js.map +1 -1
- package/build-module/elevation/component.js +4 -5
- package/build-module/elevation/component.js.map +1 -1
- package/build-module/elevation/hook.js +9 -12
- package/build-module/elevation/hook.js.map +1 -1
- package/build-module/elevation/index.js.map +1 -1
- package/build-module/elevation/styles.js +0 -1
- package/build-module/elevation/styles.js.map +1 -1
- package/build-module/elevation/types.js.map +1 -1
- package/build-module/external-link/index.js +6 -16
- package/build-module/external-link/index.js.map +1 -1
- package/build-module/external-link/index.native.js +2 -2
- package/build-module/external-link/index.native.js.map +1 -1
- package/build-module/external-link/styles/external-link-styles.js +0 -2
- package/build-module/external-link/styles/external-link-styles.js.map +1 -1
- package/build-module/external-link/types.js.map +1 -1
- package/build-module/flex/context.js.map +1 -1
- package/build-module/flex/flex/component.js +4 -5
- package/build-module/flex/flex/component.js.map +1 -1
- package/build-module/flex/flex/hook.js +7 -8
- package/build-module/flex/flex/hook.js.map +1 -1
- package/build-module/flex/flex/index.js.map +1 -1
- package/build-module/flex/flex-block/component.js +4 -5
- package/build-module/flex/flex-block/component.js.map +1 -1
- package/build-module/flex/flex-block/hook.js +1 -0
- package/build-module/flex/flex-block/hook.js.map +1 -1
- package/build-module/flex/flex-block/index.js.map +1 -1
- package/build-module/flex/flex-item/component.js +4 -5
- package/build-module/flex/flex-item/component.js.map +1 -1
- package/build-module/flex/flex-item/hook.js +5 -2
- package/build-module/flex/flex-item/hook.js.map +1 -1
- package/build-module/flex/flex-item/index.js.map +1 -1
- package/build-module/flex/index.js.map +1 -1
- package/build-module/flex/styles.js +1 -2
- package/build-module/flex/styles.js.map +1 -1
- package/build-module/flex/types.js.map +1 -1
- package/build-module/focal-point-picker/controls.js +3 -9
- package/build-module/focal-point-picker/controls.js.map +1 -1
- package/build-module/focal-point-picker/focal-point.js +3 -3
- package/build-module/focal-point-picker/focal-point.js.map +1 -1
- package/build-module/focal-point-picker/focal-point.native.js +1 -2
- package/build-module/focal-point-picker/focal-point.native.js.map +1 -1
- package/build-module/focal-point-picker/grid.js +2 -2
- package/build-module/focal-point-picker/grid.js.map +1 -1
- package/build-module/focal-point-picker/index.js +23 -24
- package/build-module/focal-point-picker/index.js.map +1 -1
- package/build-module/focal-point-picker/index.native.js +16 -25
- package/build-module/focal-point-picker/index.native.js.map +1 -1
- package/build-module/focal-point-picker/media.js +4 -4
- package/build-module/focal-point-picker/media.js.map +1 -1
- package/build-module/focal-point-picker/styles/focal-point-picker-style.js +0 -8
- package/build-module/focal-point-picker/styles/focal-point-picker-style.js.map +1 -1
- package/build-module/focal-point-picker/styles/focal-point-style.js +1 -1
- package/build-module/focal-point-picker/styles/focal-point-style.js.map +1 -1
- package/build-module/focal-point-picker/tooltip/index.native.js +6 -14
- package/build-module/focal-point-picker/tooltip/index.native.js.map +1 -1
- package/build-module/focal-point-picker/types.js.map +1 -1
- package/build-module/focal-point-picker/utils.js +3 -3
- package/build-module/focal-point-picker/utils.js.map +1 -1
- package/build-module/focusable-iframe/index.js +3 -4
- package/build-module/focusable-iframe/index.js.map +1 -1
- package/build-module/font-size-picker/constants.js +7 -12
- package/build-module/font-size-picker/constants.js.map +1 -1
- package/build-module/font-size-picker/font-size-picker-select.js +3 -9
- package/build-module/font-size-picker/font-size-picker-select.js.map +1 -1
- package/build-module/font-size-picker/font-size-picker-toggle-group.js +1 -4
- package/build-module/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
- package/build-module/font-size-picker/index.js +4 -15
- package/build-module/font-size-picker/index.js.map +1 -1
- package/build-module/font-size-picker/index.native.js +10 -18
- package/build-module/font-size-picker/index.native.js.map +1 -1
- package/build-module/font-size-picker/styles.js +0 -2
- package/build-module/font-size-picker/styles.js.map +1 -1
- package/build-module/font-size-picker/types.js.map +1 -1
- package/build-module/font-size-picker/utils.js +3 -4
- package/build-module/font-size-picker/utils.js.map +1 -1
- package/build-module/footer-message-control/index.native.js +4 -6
- package/build-module/footer-message-control/index.native.js.map +1 -1
- package/build-module/form-file-upload/index.js +1 -5
- package/build-module/form-file-upload/index.js.map +1 -1
- package/build-module/form-file-upload/types.js.map +1 -1
- package/build-module/form-toggle/index.js +2 -2
- package/build-module/form-toggle/index.js.map +1 -1
- package/build-module/form-toggle/types.js.map +1 -1
- package/build-module/form-token-field/index.js +26 -112
- package/build-module/form-token-field/index.js.map +1 -1
- package/build-module/form-token-field/styles.js +2 -4
- package/build-module/form-token-field/styles.js.map +1 -1
- package/build-module/form-token-field/suggestions-list.js +3 -14
- package/build-module/form-token-field/suggestions-list.js.map +1 -1
- package/build-module/form-token-field/token-input.js +3 -7
- package/build-module/form-token-field/token-input.js.map +1 -1
- package/build-module/form-token-field/token.js +3 -9
- package/build-module/form-token-field/token.js.map +1 -1
- package/build-module/form-token-field/types.js.map +1 -1
- package/build-module/gradient-picker/index.js +14 -18
- package/build-module/gradient-picker/index.js.map +1 -1
- package/build-module/gradient-picker/types.js.map +1 -1
- package/build-module/grid/component.js +4 -5
- package/build-module/grid/component.js.map +1 -1
- package/build-module/grid/hook.js +5 -3
- package/build-module/grid/hook.js.map +1 -1
- package/build-module/grid/index.js.map +1 -1
- package/build-module/grid/types.js.map +1 -1
- package/build-module/grid/utils.js +1 -0
- package/build-module/grid/utils.js.map +1 -1
- package/build-module/guide/icons.js +0 -1
- package/build-module/guide/icons.js.map +1 -1
- package/build-module/guide/index.js +6 -17
- package/build-module/guide/index.js.map +1 -1
- package/build-module/guide/page-control.js +4 -5
- package/build-module/guide/page-control.js.map +1 -1
- package/build-module/guide/page.js +3 -2
- package/build-module/guide/page.js.map +1 -1
- package/build-module/guide/types.js.map +1 -1
- package/build-module/h-stack/component.js +4 -5
- package/build-module/h-stack/component.js.map +1 -1
- package/build-module/h-stack/hook.js +1 -5
- package/build-module/h-stack/hook.js.map +1 -1
- package/build-module/h-stack/index.js.map +1 -1
- package/build-module/h-stack/types.js.map +1 -1
- package/build-module/h-stack/utils.js +1 -1
- package/build-module/h-stack/utils.js.map +1 -1
- package/build-module/heading/component.js +4 -5
- package/build-module/heading/component.js.map +1 -1
- package/build-module/heading/hook.js +3 -3
- package/build-module/heading/hook.js.map +1 -1
- package/build-module/heading/index.js.map +1 -1
- package/build-module/heading/types.js.map +1 -1
- package/build-module/higher-order/navigate-regions/index.js +7 -16
- package/build-module/higher-order/navigate-regions/index.js.map +1 -1
- package/build-module/higher-order/with-constrained-tabbing/index.js +3 -3
- package/build-module/higher-order/with-constrained-tabbing/index.js.map +1 -1
- package/build-module/higher-order/with-fallback-styles/index.js +3 -12
- package/build-module/higher-order/with-fallback-styles/index.js.map +1 -1
- package/build-module/higher-order/with-filters/index.js +15 -19
- package/build-module/higher-order/with-filters/index.js.map +1 -1
- package/build-module/higher-order/with-focus-outside/index.js +2 -1
- package/build-module/higher-order/with-focus-outside/index.js.map +1 -1
- package/build-module/higher-order/with-focus-outside/index.native.js +2 -3
- package/build-module/higher-order/with-focus-outside/index.native.js.map +1 -1
- package/build-module/higher-order/with-focus-return/index.js +5 -8
- package/build-module/higher-order/with-focus-return/index.js.map +1 -1
- package/build-module/higher-order/with-notices/index.js +14 -15
- package/build-module/higher-order/with-notices/index.js.map +1 -1
- package/build-module/higher-order/with-notices/types.js.map +1 -1
- package/build-module/higher-order/with-spoken-messages/index.js +3 -3
- package/build-module/higher-order/with-spoken-messages/index.js.map +1 -1
- package/build-module/icon/index.js +7 -11
- package/build-module/icon/index.js.map +1 -1
- package/build-module/index.js +6 -3
- package/build-module/index.js.map +1 -1
- package/build-module/index.native.js +8 -5
- package/build-module/index.native.js.map +1 -1
- package/build-module/input-control/backdrop.js +0 -4
- package/build-module/input-control/backdrop.js.map +1 -1
- package/build-module/input-control/index.js +6 -9
- package/build-module/input-control/index.js.map +1 -1
- package/build-module/input-control/input-base.js +7 -12
- package/build-module/input-control/input-base.js.map +1 -1
- package/build-module/input-control/input-field.js +11 -32
- package/build-module/input-control/input-field.js.map +1 -1
- package/build-module/input-control/input-prefix-wrapper.js +1 -4
- package/build-module/input-control/input-prefix-wrapper.js.map +1 -1
- package/build-module/input-control/input-suffix-wrapper.js +1 -4
- package/build-module/input-control/input-suffix-wrapper.js.map +1 -1
- package/build-module/input-control/label.js +0 -3
- package/build-module/input-control/label.js.map +1 -1
- package/build-module/input-control/reducer/actions.js +1 -0
- package/build-module/input-control/reducer/actions.js.map +1 -1
- package/build-module/input-control/reducer/reducer.js +18 -35
- package/build-module/input-control/reducer/reducer.js.map +1 -1
- package/build-module/input-control/reducer/state.js +1 -0
- package/build-module/input-control/reducer/state.js.map +1 -1
- package/build-module/input-control/styles/input-control-styles.js +28 -54
- package/build-module/input-control/styles/input-control-styles.js.map +1 -1
- package/build-module/input-control/types.js.map +1 -1
- package/build-module/input-control/utils.js +7 -10
- package/build-module/input-control/utils.js.map +1 -1
- package/build-module/isolated-event-container/index.js +6 -7
- package/build-module/isolated-event-container/index.js.map +1 -1
- package/build-module/item-group/context.js +1 -0
- package/build-module/item-group/context.js.map +1 -1
- package/build-module/item-group/index.js.map +1 -1
- package/build-module/item-group/item/component.js +4 -5
- package/build-module/item-group/item/component.js.map +1 -1
- package/build-module/item-group/item/hook.js +1 -0
- package/build-module/item-group/item/hook.js.map +1 -1
- package/build-module/item-group/item/index.js.map +1 -1
- package/build-module/item-group/item-group/component.js +4 -5
- package/build-module/item-group/item-group/component.js.map +1 -1
- package/build-module/item-group/item-group/hook.js +2 -1
- package/build-module/item-group/item-group/hook.js.map +1 -1
- package/build-module/item-group/item-group/index.js.map +1 -1
- package/build-module/item-group/styles.js +12 -13
- package/build-module/item-group/styles.js.map +1 -1
- package/build-module/item-group/types.js.map +1 -1
- package/build-module/keyboard-shortcuts/index.js +5 -7
- package/build-module/keyboard-shortcuts/index.js.map +1 -1
- package/build-module/keyboard-shortcuts/index.native.js +0 -1
- package/build-module/keyboard-shortcuts/index.native.js.map +1 -1
- package/build-module/keyboard-shortcuts/types.js.map +1 -1
- package/build-module/menu-group/index.js +2 -4
- package/build-module/menu-group/index.js.map +1 -1
- package/build-module/menu-group/types.js.map +1 -1
- package/build-module/menu-item/index.js +28 -8
- package/build-module/menu-item/index.js.map +1 -1
- package/build-module/menu-item/types.js.map +1 -0
- package/build-module/menu-items-choice/index.js +3 -7
- package/build-module/menu-items-choice/index.js.map +1 -1
- package/build-module/menu-items-choice/types.js.map +1 -1
- package/build-module/mobile/audio-player/audio-url-parser.native.js.map +1 -1
- package/build-module/mobile/audio-player/index.native.js +12 -19
- package/build-module/mobile/audio-player/index.native.js.map +1 -1
- package/build-module/mobile/autocompletion-items.native.js.map +1 -1
- package/build-module/mobile/badge/index.native.js +2 -5
- package/build-module/mobile/badge/index.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/bottom-sheet-context.native.js +5 -5
- package/build-module/mobile/bottom-sheet/bottom-sheet-context.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js +3 -2
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +10 -16
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +6 -13
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/button.native.js +3 -5
- package/build-module/mobile/bottom-sheet/button.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/cell.native.js +18 -45
- package/build-module/mobile/bottom-sheet/cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/chevron-back.native.js +2 -2
- package/build-module/mobile/bottom-sheet/chevron-back.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/color-cell.native.js +3 -5
- package/build-module/mobile/bottom-sheet/color-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/cycle-picker-cell.native.js +0 -3
- package/build-module/mobile/bottom-sheet/cycle-picker-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/footer-message-cell.native.js +2 -5
- package/build-module/mobile/bottom-sheet/footer-message-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +0 -5
- package/build-module/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/index.native.js +27 -72
- package/build-module/mobile/bottom-sheet/index.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js +3 -21
- package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/link-cell.native.js +3 -3
- package/build-module/mobile/bottom-sheet/link-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js +6 -13
- package/build-module/mobile/bottom-sheet/link-suggestion-item-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/lock-icon/index.native.js +1 -2
- package/build-module/mobile/bottom-sheet/lock-icon/index.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js +3 -4
- package/build-module/mobile/bottom-sheet/nav-bar/action-button.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/apply-button.native.js +2 -5
- package/build-module/mobile/bottom-sheet/nav-bar/apply-button.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/back-button.native.js +2 -11
- package/build-module/mobile/bottom-sheet/nav-bar/back-button.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/heading.native.js +2 -5
- package/build-module/mobile/bottom-sheet/nav-bar/heading.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/nav-bar/index.native.js +1 -4
- package/build-module/mobile/bottom-sheet/nav-bar/index.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/picker-cell.native.js +0 -4
- package/build-module/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/radio-cell.native.js +3 -5
- package/build-module/mobile/bottom-sheet/radio-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/range-cell.native.js +8 -34
- package/build-module/mobile/bottom-sheet/range-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/range-text-input.native.js +2 -27
- package/build-module/mobile/bottom-sheet/range-text-input.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/ripple.native.js +6 -9
- package/build-module/mobile/bottom-sheet/ripple.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/stepper-cell/index.native.js +3 -26
- package/build-module/mobile/bottom-sheet/stepper-cell/index.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/stepper-cell/stepper.android.js +2 -5
- package/build-module/mobile/bottom-sheet/stepper-cell/stepper.android.js.map +1 -1
- package/build-module/mobile/bottom-sheet/stepper-cell/stepper.ios.js +2 -5
- package/build-module/mobile/bottom-sheet/stepper-cell/stepper.ios.js.map +1 -1
- package/build-module/mobile/bottom-sheet/sub-sheet/index.native.js +3 -6
- package/build-module/mobile/bottom-sheet/sub-sheet/index.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/switch-cell.native.js +8 -18
- package/build-module/mobile/bottom-sheet/switch-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet-select-control/index.native.js +7 -13
- package/build-module/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet-text-control/index.native.js +2 -8
- package/build-module/mobile/bottom-sheet-text-control/index.native.js.map +1 -1
- package/build-module/mobile/clipboard/index.native.js +0 -4
- package/build-module/mobile/clipboard/index.native.js.map +1 -1
- package/build-module/mobile/color-settings/gradient-picker-screen.native.js +2 -5
- package/build-module/mobile/color-settings/gradient-picker-screen.native.js.map +1 -1
- package/build-module/mobile/color-settings/index.native.js +4 -6
- package/build-module/mobile/color-settings/index.native.js.map +1 -1
- package/build-module/mobile/color-settings/palette.screen.native.js +2 -14
- package/build-module/mobile/color-settings/palette.screen.native.js.map +1 -1
- package/build-module/mobile/color-settings/picker-screen.native.js +4 -6
- package/build-module/mobile/color-settings/picker-screen.native.js.map +1 -1
- package/build-module/mobile/color-settings/utils.native.js +0 -3
- package/build-module/mobile/color-settings/utils.native.js.map +1 -1
- package/build-module/mobile/cycle-select-control/index.native.js +0 -4
- package/build-module/mobile/cycle-select-control/index.native.js.map +1 -1
- package/build-module/mobile/dashicons/index.native.js +0 -3
- package/build-module/mobile/dashicons/index.native.js.map +1 -1
- package/build-module/mobile/focal-point-settings-panel/index.native.js +4 -11
- package/build-module/mobile/focal-point-settings-panel/index.native.js.map +1 -1
- package/build-module/mobile/global-styles-context/index.native.js +10 -7
- package/build-module/mobile/global-styles-context/index.native.js.map +1 -1
- package/build-module/mobile/global-styles-context/utils.native.js +27 -53
- package/build-module/mobile/global-styles-context/utils.native.js.map +1 -1
- package/build-module/mobile/gradient/index.native.js +6 -22
- package/build-module/mobile/gradient/index.native.js.map +1 -1
- package/build-module/mobile/gridicons/index.native.js +0 -3
- package/build-module/mobile/gridicons/index.native.js.map +1 -1
- package/build-module/mobile/html-text-input/index.native.js +8 -18
- package/build-module/mobile/html-text-input/index.native.js.map +1 -1
- package/build-module/mobile/image/icon-customize.native.js +0 -1
- package/build-module/mobile/image/icon-customize.native.js.map +1 -1
- package/build-module/mobile/image/icon-retry.native.js +0 -1
- package/build-module/mobile/image/icon-retry.native.js.map +1 -1
- package/build-module/mobile/image/image-editing-button.native.js +2 -5
- package/build-module/mobile/image/image-editing-button.native.js.map +1 -1
- package/build-module/mobile/image/index.native.js +8 -20
- package/build-module/mobile/image/index.native.js.map +1 -1
- package/build-module/mobile/image/utils/index.native.js +0 -8
- package/build-module/mobile/image/utils/index.native.js.map +1 -1
- package/build-module/mobile/inserter-button/index.native.js +6 -10
- package/build-module/mobile/inserter-button/index.native.js.map +1 -1
- package/build-module/mobile/inserter-button/sparkles.js +0 -1
- package/build-module/mobile/inserter-button/sparkles.js.map +1 -1
- package/build-module/mobile/keyboard-avoiding-view/index.android.js.map +1 -1
- package/build-module/mobile/keyboard-avoiding-view/index.ios.js +6 -9
- package/build-module/mobile/keyboard-avoiding-view/index.ios.js.map +1 -1
- package/build-module/mobile/keyboard-aware-flat-list/index.android.js +1 -2
- package/build-module/mobile/keyboard-aware-flat-list/index.android.js.map +1 -1
- package/build-module/mobile/keyboard-aware-flat-list/index.ios.js +15 -11
- package/build-module/mobile/keyboard-aware-flat-list/index.ios.js.map +1 -1
- package/build-module/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js +6 -7
- package/build-module/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js.map +1 -1
- package/build-module/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js +7 -10
- package/build-module/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js.map +1 -1
- package/build-module/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js +1 -2
- package/build-module/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js.map +1 -1
- package/build-module/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js +3 -3
- package/build-module/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js.map +1 -1
- package/build-module/mobile/layout-animation/index.native.js.map +1 -1
- package/build-module/mobile/link-picker/index.native.js +18 -47
- package/build-module/mobile/link-picker/index.native.js.map +1 -1
- package/build-module/mobile/link-picker/link-picker-results.native.js +14 -21
- package/build-module/mobile/link-picker/link-picker-results.native.js.map +1 -1
- package/build-module/mobile/link-picker/link-picker-screen.native.js +4 -9
- package/build-module/mobile/link-picker/link-picker-screen.native.js.map +1 -1
- package/build-module/mobile/link-settings/image-link-destinations-screen.native.js +2 -13
- package/build-module/mobile/link-settings/image-link-destinations-screen.native.js.map +1 -1
- package/build-module/mobile/link-settings/index.native.js +17 -36
- package/build-module/mobile/link-settings/index.native.js.map +1 -1
- package/build-module/mobile/link-settings/link-rel.native.js +0 -1
- package/build-module/mobile/link-settings/link-rel.native.js.map +1 -1
- package/build-module/mobile/link-settings/link-settings-navigation.native.js +4 -7
- package/build-module/mobile/link-settings/link-settings-navigation.native.js.map +1 -1
- package/build-module/mobile/link-settings/link-settings-screen.native.js +6 -9
- package/build-module/mobile/link-settings/link-settings-screen.native.js.map +1 -1
- package/build-module/mobile/media-edit/index.native.js +2 -14
- package/build-module/mobile/media-edit/index.native.js.map +1 -1
- package/build-module/mobile/picker/index.android.js +2 -11
- package/build-module/mobile/picker/index.android.js.map +1 -1
- package/build-module/mobile/picker/index.ios.js +2 -9
- package/build-module/mobile/picker/index.ios.js.map +1 -1
- package/build-module/mobile/segmented-control/index.native.js +7 -14
- package/build-module/mobile/segmented-control/index.native.js.map +1 -1
- package/build-module/mobile/utils/alignments.native.js +1 -11
- package/build-module/mobile/utils/alignments.native.js.map +1 -1
- package/build-module/mobile/utils/index.native.js.map +1 -1
- package/build-module/mobile/utils/use-is-floating-keyboard.native.js +1 -2
- package/build-module/mobile/utils/use-is-floating-keyboard.native.js.map +1 -1
- package/build-module/mobile/utils/use-unit-converter-to-mobile.native.js +6 -17
- package/build-module/mobile/utils/use-unit-converter-to-mobile.native.js.map +1 -1
- package/build-module/modal/aria-helper.js +4 -7
- package/build-module/modal/aria-helper.js.map +1 -1
- package/build-module/modal/index.js +41 -37
- package/build-module/modal/index.js.map +1 -1
- package/build-module/modal/types.js.map +1 -1
- package/build-module/navigable-container/container.js +14 -39
- package/build-module/navigable-container/container.js.map +1 -1
- package/build-module/navigable-container/index.js.map +1 -1
- package/build-module/navigable-container/menu.js +2 -8
- package/build-module/navigable-container/menu.js.map +1 -1
- package/build-module/navigable-container/tabbable.js +5 -9
- package/build-module/navigable-container/tabbable.js.map +1 -1
- package/build-module/navigable-container/types.js.map +1 -1
- package/build-module/navigation/back-button/index.js +1 -9
- package/build-module/navigation/back-button/index.js.map +1 -1
- package/build-module/navigation/constants.js.map +1 -1
- package/build-module/navigation/context.js +1 -5
- package/build-module/navigation/context.js.map +1 -1
- package/build-module/navigation/group/context.js +1 -0
- package/build-module/navigation/group/context.js.map +1 -1
- package/build-module/navigation/group/index.js +4 -5
- package/build-module/navigation/group/index.js.map +1 -1
- package/build-module/navigation/index.js +7 -12
- package/build-module/navigation/index.js.map +1 -1
- package/build-module/navigation/item/base-content.js +0 -1
- package/build-module/navigation/item/base-content.js.map +1 -1
- package/build-module/navigation/item/base.js +2 -5
- package/build-module/navigation/item/base.js.map +1 -1
- package/build-module/navigation/item/index.js +11 -14
- package/build-module/navigation/item/index.js.map +1 -1
- package/build-module/navigation/item/use-navigation-tree-item.js +5 -3
- package/build-module/navigation/item/use-navigation-tree-item.js.map +1 -1
- package/build-module/navigation/menu/context.js +1 -0
- package/build-module/navigation/menu/context.js.map +1 -1
- package/build-module/navigation/menu/index.js +4 -5
- package/build-module/navigation/menu/index.js.map +1 -1
- package/build-module/navigation/menu/menu-title-search.js +8 -15
- package/build-module/navigation/menu/menu-title-search.js.map +1 -1
- package/build-module/navigation/menu/menu-title.js +4 -8
- package/build-module/navigation/menu/menu-title.js.map +1 -1
- package/build-module/navigation/menu/search-no-results-found.js +1 -4
- package/build-module/navigation/menu/search-no-results-found.js.map +1 -1
- package/build-module/navigation/menu/use-navigation-tree-menu.js +5 -3
- package/build-module/navigation/menu/use-navigation-tree-menu.js.map +1 -1
- package/build-module/navigation/styles/navigation-styles.js +13 -15
- package/build-module/navigation/styles/navigation-styles.js.map +1 -1
- package/build-module/navigation/types.js.map +1 -1
- package/build-module/navigation/use-create-navigation-tree.js +4 -15
- package/build-module/navigation/use-create-navigation-tree.js.map +1 -1
- package/build-module/navigation/use-navigation-tree-nodes.js +2 -5
- package/build-module/navigation/use-navigation-tree-nodes.js.map +1 -1
- package/build-module/navigation/utils.js +2 -1
- package/build-module/navigation/utils.js.map +1 -1
- package/build-module/navigator/context.js +1 -0
- package/build-module/navigator/context.js.map +1 -1
- package/build-module/navigator/index.js.map +1 -1
- package/build-module/navigator/navigator-back-button/component.js +2 -4
- package/build-module/navigator/navigator-back-button/component.js.map +1 -1
- package/build-module/navigator/navigator-back-button/hook.js +1 -2
- package/build-module/navigator/navigator-back-button/hook.js.map +1 -1
- package/build-module/navigator/navigator-back-button/index.js.map +1 -1
- package/build-module/navigator/navigator-button/component.js +2 -4
- package/build-module/navigator/navigator-button/component.js.map +1 -1
- package/build-module/navigator/navigator-button/hook.js +1 -2
- package/build-module/navigator/navigator-button/hook.js.map +1 -1
- package/build-module/navigator/navigator-button/index.js.map +1 -1
- package/build-module/navigator/navigator-provider/component.js +22 -35
- package/build-module/navigator/navigator-provider/component.js.map +1 -1
- package/build-module/navigator/navigator-provider/index.js.map +1 -1
- package/build-module/navigator/navigator-screen/component.js +21 -23
- package/build-module/navigator/navigator-screen/component.js.map +1 -1
- package/build-module/navigator/navigator-screen/index.js.map +1 -1
- package/build-module/navigator/navigator-to-parent-button/component.js +4 -5
- package/build-module/navigator/navigator-to-parent-button/component.js.map +1 -1
- package/build-module/navigator/navigator-to-parent-button/index.js.map +1 -1
- package/build-module/navigator/types.js.map +1 -1
- package/build-module/navigator/use-navigator.js +1 -3
- package/build-module/navigator/use-navigator.js.map +1 -1
- package/build-module/navigator/utils/router.js +1 -7
- package/build-module/navigator/utils/router.js.map +1 -1
- package/build-module/notice/index.js +4 -17
- package/build-module/notice/index.js.map +1 -1
- package/build-module/notice/index.native.js +2 -5
- package/build-module/notice/index.native.js.map +1 -1
- package/build-module/notice/list.js +4 -8
- package/build-module/notice/list.js.map +1 -1
- package/build-module/notice/list.native.js +4 -8
- package/build-module/notice/list.native.js.map +1 -1
- package/build-module/notice/types.js.map +1 -1
- package/build-module/number-control/index.js +23 -41
- package/build-module/number-control/index.js.map +1 -1
- package/build-module/number-control/styles/number-control-styles.js +4 -11
- package/build-module/number-control/styles/number-control-styles.js.map +1 -1
- package/build-module/number-control/types.js.map +1 -1
- package/build-module/palette-edit/index.js +28 -35
- package/build-module/palette-edit/index.js.map +1 -1
- package/build-module/palette-edit/styles.js +10 -12
- package/build-module/palette-edit/styles.js.map +1 -1
- package/build-module/palette-edit/types.js.map +1 -1
- package/build-module/panel/actions.native.js +2 -5
- package/build-module/panel/actions.native.js.map +1 -1
- package/build-module/panel/body.js +9 -11
- package/build-module/panel/body.js.map +1 -1
- package/build-module/panel/body.native.js +1 -2
- package/build-module/panel/body.native.js.map +1 -1
- package/build-module/panel/bottom-separator-cover.native.js +2 -5
- package/build-module/panel/bottom-separator-cover.native.js.map +1 -1
- package/build-module/panel/header.js +0 -2
- package/build-module/panel/header.js.map +1 -1
- package/build-module/panel/index.js +3 -6
- package/build-module/panel/index.js.map +1 -1
- package/build-module/panel/row.js +2 -5
- package/build-module/panel/row.js.map +1 -1
- package/build-module/panel/types.js.map +1 -1
- package/build-module/placeholder/index.js +8 -9
- package/build-module/placeholder/index.js.map +1 -1
- package/build-module/placeholder/types.js.map +1 -1
- package/build-module/popover/index.js +47 -56
- package/build-module/popover/index.js.map +1 -1
- package/build-module/popover/limit-shift.js +4 -13
- package/build-module/popover/limit-shift.js.map +1 -1
- package/build-module/popover/overlay-middlewares.js +5 -6
- package/build-module/popover/overlay-middlewares.js.map +1 -1
- package/build-module/popover/types.js.map +1 -1
- package/build-module/popover/utils.js +8 -23
- package/build-module/popover/utils.js.map +1 -1
- package/build-module/private-apis.js +4 -2
- package/build-module/private-apis.js.map +1 -1
- package/build-module/progress-bar/index.js +1 -4
- package/build-module/progress-bar/index.js.map +1 -1
- package/build-module/progress-bar/styles.js +9 -9
- package/build-module/progress-bar/styles.js.map +1 -1
- package/build-module/progress-bar/types.js.map +1 -1
- package/build-module/query-controls/author-select.js +0 -1
- package/build-module/query-controls/author-select.js.map +1 -1
- package/build-module/query-controls/category-select.js +1 -2
- package/build-module/query-controls/category-select.js.map +1 -1
- package/build-module/query-controls/index.js +2 -9
- package/build-module/query-controls/index.js.map +1 -1
- package/build-module/query-controls/index.native.js +1 -4
- package/build-module/query-controls/index.native.js.map +1 -1
- package/build-module/query-controls/terms.js +6 -10
- package/build-module/query-controls/terms.js.map +1 -1
- package/build-module/query-controls/types.js.map +1 -1
- package/build-module/radio-control/index.js +2 -7
- package/build-module/radio-control/index.js.map +1 -1
- package/build-module/radio-control/index.native.js +0 -3
- package/build-module/radio-control/index.native.js.map +1 -1
- package/build-module/radio-control/types.js.map +1 -1
- package/build-module/radio-group/index.js +5 -6
- package/build-module/radio-group/index.js.map +1 -1
- package/build-module/radio-group/radio/index.js +3 -5
- package/build-module/radio-group/radio/index.js.map +1 -1
- package/build-module/radio-group/radio-context/index.js.map +1 -1
- package/build-module/range-control/index.js +9 -26
- package/build-module/range-control/index.js.map +1 -1
- package/build-module/range-control/index.native.js +0 -3
- package/build-module/range-control/index.native.js.map +1 -1
- package/build-module/range-control/input-range.js +3 -5
- package/build-module/range-control/input-range.js.map +1 -1
- package/build-module/range-control/mark.js +3 -3
- package/build-module/range-control/mark.js.map +1 -1
- package/build-module/range-control/rail.js +5 -11
- package/build-module/range-control/rail.js.map +1 -1
- package/build-module/range-control/styles/range-control-styles.js +30 -65
- package/build-module/range-control/styles/range-control-styles.js.map +1 -1
- package/build-module/range-control/tooltip.js +6 -6
- package/build-module/range-control/tooltip.js.map +1 -1
- package/build-module/range-control/types.js.map +1 -1
- package/build-module/range-control/utils.js +5 -6
- package/build-module/range-control/utils.js.map +1 -1
- package/build-module/resizable-box/index.js +5 -7
- package/build-module/resizable-box/index.js.map +1 -1
- package/build-module/resizable-box/index.native.js +0 -5
- package/build-module/resizable-box/index.native.js.map +1 -1
- package/build-module/resizable-box/resize-tooltip/index.js +1 -6
- package/build-module/resizable-box/resize-tooltip/index.js.map +1 -1
- package/build-module/resizable-box/resize-tooltip/label.js +5 -8
- package/build-module/resizable-box/resize-tooltip/label.js.map +1 -1
- package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +3 -3
- package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
- package/build-module/resizable-box/resize-tooltip/utils.js +8 -24
- package/build-module/resizable-box/resize-tooltip/utils.js.map +1 -1
- package/build-module/responsive-wrapper/index.js +4 -7
- package/build-module/responsive-wrapper/index.js.map +1 -1
- package/build-module/responsive-wrapper/types.js.map +1 -1
- package/build-module/sandbox/index.js +32 -39
- package/build-module/sandbox/index.js.map +1 -1
- package/build-module/sandbox/index.native.js +15 -21
- package/build-module/sandbox/index.native.js.map +1 -1
- package/build-module/sandbox/types.js.map +1 -1
- package/build-module/scroll-lock/index.js +4 -10
- package/build-module/scroll-lock/index.js.map +1 -1
- package/build-module/scrollable/component.js +4 -5
- package/build-module/scrollable/component.js.map +1 -1
- package/build-module/scrollable/hook.js +3 -1
- package/build-module/scrollable/hook.js.map +1 -1
- package/build-module/scrollable/index.js.map +1 -1
- package/build-module/scrollable/styles.js +1 -2
- package/build-module/scrollable/styles.js.map +1 -1
- package/build-module/scrollable/types.js.map +1 -1
- package/build-module/search-control/index.js +5 -11
- package/build-module/search-control/index.js.map +1 -1
- package/build-module/search-control/index.native.js +18 -27
- package/build-module/search-control/index.native.js.map +1 -1
- package/build-module/search-control/types.js.map +1 -1
- package/build-module/select-control/chevron-down.js +1 -4
- package/build-module/select-control/chevron-down.js.map +1 -1
- package/build-module/select-control/index.js +9 -16
- package/build-module/select-control/index.js.map +1 -1
- package/build-module/select-control/index.native.js +0 -2
- package/build-module/select-control/index.native.js.map +1 -1
- package/build-module/select-control/styles/select-control-styles.js +3 -15
- package/build-module/select-control/styles/select-control-styles.js.map +1 -1
- package/build-module/select-control/types.js.map +1 -1
- package/build-module/shortcut/index.js +1 -7
- package/build-module/shortcut/index.js.map +1 -1
- package/build-module/shortcut/types.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/fill.js +4 -9
- package/build-module/slot-fill/bubbles-virtually/fill.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/slot-fill-context.js +0 -2
- package/build-module/slot-fill/bubbles-virtually/slot-fill-context.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js +4 -18
- package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/slot.js +5 -7
- package/build-module/slot-fill/bubbles-virtually/slot.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/use-slot-fills.js +4 -5
- package/build-module/slot-fill/bubbles-virtually/use-slot-fills.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/use-slot.js +6 -6
- package/build-module/slot-fill/bubbles-virtually/use-slot.js.map +1 -1
- package/build-module/slot-fill/context.js +0 -1
- package/build-module/slot-fill/context.js.map +1 -1
- package/build-module/slot-fill/fill.js +7 -7
- package/build-module/slot-fill/fill.js.map +1 -1
- package/build-module/slot-fill/index.js +11 -12
- package/build-module/slot-fill/index.js.map +1 -1
- package/build-module/slot-fill/index.native.js +2 -5
- package/build-module/slot-fill/index.native.js.map +1 -1
- package/build-module/slot-fill/provider.js +6 -20
- package/build-module/slot-fill/provider.js.map +1 -1
- package/build-module/slot-fill/slot.js +6 -18
- package/build-module/slot-fill/slot.js.map +1 -1
- package/build-module/slot-fill/use-slot.js +2 -4
- package/build-module/slot-fill/use-slot.js.map +1 -1
- package/build-module/snackbar/index.js +11 -17
- package/build-module/snackbar/index.js.map +1 -1
- package/build-module/snackbar/list.js +17 -10
- package/build-module/snackbar/list.js.map +1 -1
- package/build-module/snackbar/types.js.map +1 -1
- package/build-module/spacer/component.js +4 -5
- package/build-module/spacer/component.js.map +1 -1
- package/build-module/spacer/hook.js +5 -5
- package/build-module/spacer/hook.js.map +1 -1
- package/build-module/spacer/index.js.map +1 -1
- package/build-module/spacer/types.js.map +1 -1
- package/build-module/spinner/index.js +0 -4
- package/build-module/spinner/index.js.map +1 -1
- package/build-module/spinner/index.native.js +1 -2
- package/build-module/spinner/index.native.js.map +1 -1
- package/build-module/spinner/styles.js +6 -7
- package/build-module/spinner/styles.js.map +1 -1
- package/build-module/style-provider/index.js +13 -9
- package/build-module/style-provider/index.js.map +1 -1
- package/build-module/style-provider/index.native.js.map +1 -1
- package/build-module/style-provider/types.js.map +1 -1
- package/build-module/surface/component.js +3 -5
- package/build-module/surface/component.js.map +1 -1
- package/build-module/surface/hook.js +3 -2
- package/build-module/surface/hook.js.map +1 -1
- package/build-module/surface/index.js.map +1 -1
- package/build-module/surface/styles.js +1 -10
- package/build-module/surface/styles.js.map +1 -1
- package/build-module/surface/types.js.map +1 -1
- package/build-module/tab-panel/index.js +12 -24
- package/build-module/tab-panel/index.js.map +1 -1
- package/build-module/tab-panel/types.js.map +1 -1
- package/build-module/text/component.js +2 -4
- package/build-module/text/component.js.map +1 -1
- package/build-module/text/get-line-height.js +1 -5
- package/build-module/text/get-line-height.js.map +1 -1
- package/build-module/text/hook.js +12 -29
- package/build-module/text/hook.js.map +1 -1
- package/build-module/text/index.js.map +1 -1
- package/build-module/text/index.native.js +1 -1
- package/build-module/text/index.native.js.map +1 -1
- package/build-module/text/styles/emotion-css.native.js.map +1 -1
- package/build-module/text/styles/font-family.native.js.map +1 -1
- package/build-module/text/styles/text-mixins.native.js +2 -14
- package/build-module/text/styles/text-mixins.native.js.map +1 -1
- package/build-module/text/styles.js +1 -2
- package/build-module/text/styles.js.map +1 -1
- package/build-module/text/types.js.map +1 -1
- package/build-module/text/utils.js +7 -16
- package/build-module/text/utils.js.map +1 -1
- package/build-module/text-control/index.js +2 -7
- package/build-module/text-control/index.js.map +1 -1
- package/build-module/text-control/index.native.js +0 -4
- package/build-module/text-control/index.native.js.map +1 -1
- package/build-module/text-control/types.js.map +1 -1
- package/build-module/text-highlight/index.js +1 -5
- package/build-module/text-highlight/index.js.map +1 -1
- package/build-module/text-highlight/types.js.map +1 -1
- package/build-module/textarea-control/index.js +1 -5
- package/build-module/textarea-control/index.js.map +1 -1
- package/build-module/textarea-control/index.native.js +1 -4
- package/build-module/textarea-control/index.native.js.map +1 -1
- package/build-module/textarea-control/styles/textarea-control-styles.js +0 -1
- package/build-module/textarea-control/styles/textarea-control-styles.js.map +1 -1
- package/build-module/textarea-control/types.js.map +1 -1
- package/build-module/theme/color-algorithms.js +8 -11
- package/build-module/theme/color-algorithms.js.map +1 -1
- package/build-module/theme/index.js +2 -5
- package/build-module/theme/index.js.map +1 -1
- package/build-module/theme/styles.js +2 -1
- package/build-module/theme/styles.js.map +1 -1
- package/build-module/theme/types.js.map +1 -1
- package/build-module/tip/index.js +1 -1
- package/build-module/tip/index.js.map +1 -1
- package/build-module/tip/types.js.map +1 -1
- package/build-module/toggle-control/index.js +4 -8
- package/build-module/toggle-control/index.js.map +1 -1
- package/build-module/toggle-control/index.native.js +0 -2
- package/build-module/toggle-control/index.native.js.map +1 -1
- package/build-module/toggle-control/types.js.map +1 -1
- package/build-module/toggle-group-control/context.js +1 -0
- package/build-module/toggle-group-control/context.js.map +1 -1
- package/build-module/toggle-group-control/index.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/as-button-group.js +7 -7
- package/build-module/toggle-group-control/toggle-group-control/as-button-group.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js +11 -9
- package/build-module/toggle-group-control/toggle-group-control/as-radio-group.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/component.js +5 -6
- package/build-module/toggle-group-control/toggle-group-control/component.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/index.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/styles.js +0 -5
- package/build-module/toggle-group-control/toggle-group-control/styles.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js +4 -13
- package/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option/component.js +4 -5
- package/build-module/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option/index.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-base/component.js +15 -19
- package/build-module/toggle-group-control/toggle-group-control-option-base/component.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-base/index.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js +7 -11
- package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js +4 -5
- package/build-module/toggle-group-control/toggle-group-control-option-icon/component.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-icon/index.js.map +1 -1
- package/build-module/toggle-group-control/types.js.map +1 -1
- package/build-module/toolbar/index.js.map +1 -1
- package/build-module/toolbar/toolbar/index.js +6 -10
- package/build-module/toolbar/toolbar/index.js.map +1 -1
- package/build-module/toolbar/toolbar/toolbar-container.js +3 -6
- package/build-module/toolbar/toolbar/toolbar-container.js.map +1 -1
- package/build-module/toolbar/toolbar/toolbar-container.native.js +0 -3
- package/build-module/toolbar/toolbar/toolbar-container.native.js.map +1 -1
- package/build-module/toolbar/toolbar/types.js.map +1 -1
- package/build-module/toolbar/toolbar-button/index.js +7 -12
- package/build-module/toolbar/toolbar-button/index.js.map +1 -1
- package/build-module/toolbar/toolbar-button/toolbar-button-container.js +1 -2
- package/build-module/toolbar/toolbar-button/toolbar-button-container.js.map +1 -1
- package/build-module/toolbar/toolbar-button/toolbar-button-container.native.js +0 -1
- package/build-module/toolbar/toolbar-button/toolbar-button-container.native.js.map +1 -1
- package/build-module/toolbar/toolbar-button/types.js.map +1 -1
- package/build-module/toolbar/toolbar-context/index.js.map +1 -1
- package/build-module/toolbar/toolbar-dropdown-menu/index.js +10 -10
- package/build-module/toolbar/toolbar-dropdown-menu/index.js.map +1 -1
- package/build-module/toolbar/toolbar-group/index.js +7 -11
- package/build-module/toolbar/toolbar-group/index.js.map +1 -1
- package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.js +5 -8
- package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.js.map +1 -1
- package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.native.js +0 -5
- package/build-module/toolbar/toolbar-group/toolbar-group-collapsed.native.js.map +1 -1
- package/build-module/toolbar/toolbar-group/toolbar-group-container.js +1 -2
- package/build-module/toolbar/toolbar-group/toolbar-group-container.js.map +1 -1
- package/build-module/toolbar/toolbar-group/toolbar-group-container.native.js +2 -5
- package/build-module/toolbar/toolbar-group/toolbar-group-container.native.js.map +1 -1
- package/build-module/toolbar/toolbar-item/index.js +7 -14
- package/build-module/toolbar/toolbar-item/index.js.map +1 -1
- package/build-module/toolbar/toolbar-item/index.native.js +2 -4
- package/build-module/toolbar/toolbar-item/index.native.js.map +1 -1
- package/build-module/toolbar/toolbar-item/types.js.map +1 -1
- package/build-module/tools-panel/context.js +1 -1
- package/build-module/tools-panel/context.js.map +1 -1
- package/build-module/tools-panel/index.js.map +1 -1
- package/build-module/tools-panel/styles.js +17 -17
- package/build-module/tools-panel/styles.js.map +1 -1
- package/build-module/tools-panel/tools-panel/component.js +3 -5
- package/build-module/tools-panel/tools-panel/component.js.map +1 -1
- package/build-module/tools-panel/tools-panel/hook.js +51 -44
- package/build-module/tools-panel/tools-panel/hook.js.map +1 -1
- package/build-module/tools-panel/tools-panel/index.js.map +1 -1
- package/build-module/tools-panel/tools-panel-header/component.js +18 -21
- package/build-module/tools-panel/tools-panel-header/component.js.map +1 -1
- package/build-module/tools-panel/tools-panel-header/hook.js +3 -2
- package/build-module/tools-panel/tools-panel-header/hook.js.map +1 -1
- package/build-module/tools-panel/tools-panel-header/index.js.map +1 -1
- package/build-module/tools-panel/tools-panel-item/component.js +4 -7
- package/build-module/tools-panel/tools-panel-item/component.js.map +1 -1
- package/build-module/tools-panel/tools-panel-item/hook.js +18 -19
- package/build-module/tools-panel/tools-panel-item/hook.js.map +1 -1
- package/build-module/tools-panel/tools-panel-item/index.js.map +1 -1
- package/build-module/tools-panel/types.js.map +1 -1
- package/build-module/tooltip/index.js +30 -46
- package/build-module/tooltip/index.js.map +1 -1
- package/build-module/tooltip/index.native.js +30 -37
- package/build-module/tooltip/index.native.js.map +1 -1
- package/build-module/tree-grid/cell.js +4 -6
- package/build-module/tree-grid/cell.js.map +1 -1
- package/build-module/tree-grid/index.js +52 -67
- package/build-module/tree-grid/index.js.map +1 -1
- package/build-module/tree-grid/item.js +2 -5
- package/build-module/tree-grid/item.js.map +1 -1
- package/build-module/tree-grid/roving-tab-index-context.js.map +1 -1
- package/build-module/tree-grid/roving-tab-index-item.js +7 -11
- package/build-module/tree-grid/roving-tab-index-item.js.map +1 -1
- package/build-module/tree-grid/roving-tab-index.js +5 -5
- package/build-module/tree-grid/roving-tab-index.js.map +1 -1
- package/build-module/tree-grid/row.js +4 -4
- package/build-module/tree-grid/row.js.map +1 -1
- package/build-module/tree-grid/types.js.map +1 -1
- package/build-module/tree-select/index.js +2 -4
- package/build-module/tree-select/index.js.map +1 -1
- package/build-module/tree-select/types.js.map +1 -1
- package/build-module/truncate/component.js +2 -4
- package/build-module/truncate/component.js.map +1 -1
- package/build-module/truncate/hook.js +5 -3
- package/build-module/truncate/hook.js.map +1 -1
- package/build-module/truncate/index.js.map +1 -1
- package/build-module/truncate/styles.js +0 -1
- package/build-module/truncate/styles.js.map +1 -1
- package/build-module/truncate/types.js.map +1 -1
- package/build-module/truncate/utils.js +7 -16
- package/build-module/truncate/utils.js.map +1 -1
- package/build-module/ui/context/constants.js +1 -1
- package/build-module/ui/context/constants.js.map +1 -1
- package/build-module/ui/context/context-connect.js +17 -23
- package/build-module/ui/context/context-connect.js.map +1 -1
- package/build-module/ui/context/context-system-provider.js +12 -14
- package/build-module/ui/context/context-system-provider.js.map +1 -1
- package/build-module/ui/context/get-styled-class-name-from-key.js +1 -2
- package/build-module/ui/context/get-styled-class-name-from-key.js.map +1 -1
- package/build-module/ui/context/index.js.map +1 -1
- package/build-module/ui/context/use-context-system.js +10 -14
- package/build-module/ui/context/use-context-system.js.map +1 -1
- package/build-module/ui/context/utils.js +2 -2
- package/build-module/ui/context/utils.js.map +1 -1
- package/build-module/ui/context/wordpress-component.js.map +1 -1
- package/build-module/ui/shortcut/component.js +1 -7
- package/build-module/ui/shortcut/component.js.map +1 -1
- package/build-module/ui/shortcut/index.js.map +1 -1
- package/build-module/ui/tooltip/component.js +6 -8
- package/build-module/ui/tooltip/component.js.map +1 -1
- package/build-module/ui/tooltip/content.js +2 -4
- package/build-module/ui/tooltip/content.js.map +1 -1
- package/build-module/ui/tooltip/context.js +1 -1
- package/build-module/ui/tooltip/context.js.map +1 -1
- package/build-module/ui/tooltip/index.js.map +1 -1
- package/build-module/ui/tooltip/styles.js +0 -3
- package/build-module/ui/tooltip/styles.js.map +1 -1
- package/build-module/ui/tooltip/types.js.map +1 -1
- package/build-module/ui/utils/colors.js +14 -18
- package/build-module/ui/utils/colors.js.map +1 -1
- package/build-module/ui/utils/font-size.js +0 -3
- package/build-module/ui/utils/font-size.js.map +1 -1
- package/build-module/ui/utils/get-high-dpi.js +2 -1
- package/build-module/ui/utils/get-high-dpi.js.map +1 -1
- package/build-module/ui/utils/get-valid-children.js +1 -1
- package/build-module/ui/utils/get-valid-children.js.map +1 -1
- package/build-module/ui/utils/index.js.map +1 -1
- package/build-module/ui/utils/space.js +6 -6
- package/build-module/ui/utils/space.js.map +1 -1
- package/build-module/ui/utils/types.js.map +1 -1
- package/build-module/ui/utils/use-responsive-value.js +4 -13
- package/build-module/ui/utils/use-responsive-value.js.map +1 -1
- package/build-module/unit-control/index.js +15 -25
- package/build-module/unit-control/index.js.map +1 -1
- package/build-module/unit-control/index.native.js +8 -17
- package/build-module/unit-control/index.native.js.map +1 -1
- package/build-module/unit-control/styles/unit-control-styles.js +11 -14
- package/build-module/unit-control/styles/unit-control-styles.js.map +1 -1
- package/build-module/unit-control/types.js.map +1 -1
- package/build-module/unit-control/unit-select-control.js +1 -6
- package/build-module/unit-control/unit-select-control.js.map +1 -1
- package/build-module/unit-control/utils.js +16 -23
- package/build-module/unit-control/utils.js.map +1 -1
- package/build-module/utils/base-label.js +3 -3
- package/build-module/utils/base-label.js.map +1 -1
- package/build-module/utils/box-sizing.js +0 -1
- package/build-module/utils/box-sizing.js.map +1 -1
- package/build-module/utils/breakpoint-values.js.map +1 -1
- package/build-module/utils/breakpoint.js +1 -1
- package/build-module/utils/breakpoint.js.map +1 -1
- package/build-module/utils/browsers.js +2 -3
- package/build-module/utils/browsers.js.map +1 -1
- package/build-module/utils/colors-values.js +11 -10
- package/build-module/utils/colors-values.js.map +1 -1
- package/build-module/utils/colors.js +1 -1
- package/build-module/utils/colors.js.map +1 -1
- package/build-module/utils/config-values.js +5 -4
- package/build-module/utils/config-values.js.map +1 -1
- package/build-module/utils/events.js +3 -6
- package/build-module/utils/events.js.map +1 -1
- package/build-module/utils/font-values.js.map +1 -1
- package/build-module/utils/font.js +1 -2
- package/build-module/utils/font.js.map +1 -1
- package/build-module/utils/hooks/emotion.d.js.map +1 -1
- package/build-module/utils/hooks/index.js.map +1 -1
- package/build-module/utils/hooks/use-controlled-state.js +7 -9
- package/build-module/utils/hooks/use-controlled-state.js.map +1 -1
- package/build-module/utils/hooks/use-controlled-value.js +0 -3
- package/build-module/utils/hooks/use-controlled-value.js.map +1 -1
- package/build-module/utils/hooks/use-cx.js +5 -7
- package/build-module/utils/hooks/use-cx.js.map +1 -1
- package/build-module/utils/hooks/use-latest-ref.js +1 -1
- package/build-module/utils/hooks/use-latest-ref.js.map +1 -1
- package/build-module/utils/hooks/use-update-effect.js +3 -4
- package/build-module/utils/hooks/use-update-effect.js.map +1 -1
- package/build-module/utils/index.js.map +1 -1
- package/build-module/utils/input/base.js +3 -3
- package/build-module/utils/input/base.js.map +1 -1
- package/build-module/utils/input/index.js.map +1 -1
- package/build-module/utils/input/input-control.js +1 -1
- package/build-module/utils/input/input-control.js.map +1 -1
- package/build-module/utils/math.js +8 -11
- package/build-module/utils/math.js.map +1 -1
- package/build-module/utils/reduce-motion.js +0 -4
- package/build-module/utils/reduce-motion.js.map +1 -1
- package/build-module/utils/rtl.js +7 -14
- package/build-module/utils/rtl.js.map +1 -1
- package/build-module/utils/strings.js +57 -29
- package/build-module/utils/strings.js.map +1 -1
- package/build-module/utils/style-mixins.js.map +1 -1
- package/build-module/utils/types.js.map +1 -1
- package/build-module/utils/unit-values.js +2 -4
- package/build-module/utils/unit-values.js.map +1 -1
- package/build-module/utils/use-deprecated-props.js +3 -5
- package/build-module/utils/use-deprecated-props.js.map +1 -1
- package/build-module/utils/values.js +9 -20
- package/build-module/utils/values.js.map +1 -1
- package/build-module/utils/z-index.js.map +1 -1
- package/build-module/v-stack/component.js +4 -5
- package/build-module/v-stack/component.js.map +1 -1
- package/build-module/v-stack/hook.js +1 -0
- package/build-module/v-stack/hook.js.map +1 -1
- package/build-module/v-stack/index.js.map +1 -1
- package/build-module/v-stack/types.js.map +1 -1
- package/build-module/view/component.js +0 -1
- package/build-module/view/component.js.map +1 -1
- package/build-module/view/index.js.map +1 -1
- package/build-module/view/types.js.map +1 -1
- package/build-module/visually-hidden/component.js +4 -5
- package/build-module/visually-hidden/component.js.map +1 -1
- package/build-module/visually-hidden/index.js.map +1 -1
- package/build-module/visually-hidden/styles.js +1 -0
- package/build-module/visually-hidden/styles.js.map +1 -1
- package/build-module/visually-hidden/types.js.map +1 -1
- package/build-module/z-stack/component.js +6 -8
- package/build-module/z-stack/component.js.map +1 -1
- package/build-module/z-stack/index.js.map +1 -1
- package/build-module/z-stack/styles.js +0 -4
- package/build-module/z-stack/styles.js.map +1 -1
- package/build-module/z-stack/types.js.map +1 -1
- package/build-style/style-rtl.css +8 -7
- package/build-style/style.css +8 -7
- package/build-types/alignment-matrix-control/stories/index.story.d.ts +15 -0
- package/build-types/alignment-matrix-control/stories/index.story.d.ts.map +1 -0
- package/build-types/angle-picker-control/stories/index.story.d.ts +15 -0
- package/build-types/angle-picker-control/stories/index.story.d.ts.map +1 -0
- package/build-types/animate/stories/index.story.d.ts +18 -0
- package/build-types/animate/stories/index.story.d.ts.map +1 -0
- package/build-types/base-control/stories/index.d.ts +1 -1
- package/build-types/base-control/stories/index.story.d.ts +21 -0
- package/build-types/base-control/stories/index.story.d.ts.map +1 -0
- package/build-types/border-box-control/border-box-control/component.d.ts +1 -1
- package/build-types/border-box-control/border-box-control/component.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control/hook.d.ts +2 -2
- package/build-types/border-box-control/border-box-control/hook.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control-linked-button/component.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +1 -1
- package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control-split-controls/component.d.ts +1 -1
- package/build-types/border-box-control/border-box-control-split-controls/component.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +2 -2
- package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control-visualizer/component.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +1 -1
- package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts.map +1 -1
- package/build-types/border-box-control/stories/index.d.ts +1 -1
- package/build-types/border-box-control/stories/index.story.d.ts +17 -0
- package/build-types/border-box-control/stories/index.story.d.ts.map +1 -0
- package/build-types/border-control/border-control/component.d.ts.map +1 -1
- package/build-types/border-control/border-control/hook.d.ts +1 -1
- package/build-types/border-control/border-control/hook.d.ts.map +1 -1
- package/build-types/border-control/border-control-dropdown/component.d.ts.map +1 -1
- package/build-types/border-control/border-control-dropdown/hook.d.ts +1 -1
- package/build-types/border-control/border-control-dropdown/hook.d.ts.map +1 -1
- package/build-types/border-control/border-control-style-picker/component.d.ts.map +1 -1
- package/build-types/border-control/border-control-style-picker/hook.d.ts +1 -1
- package/build-types/border-control/border-control-style-picker/hook.d.ts.map +1 -1
- package/build-types/border-control/stories/index.story.d.ts +119 -0
- package/build-types/border-control/stories/index.story.d.ts.map +1 -0
- package/build-types/box-control/styles/box-control-styles.d.ts +1 -1
- package/build-types/button/stories/e2e/index.story.d.ts +15 -0
- package/build-types/button/stories/e2e/index.story.d.ts.map +1 -0
- package/build-types/button/stories/index.story.d.ts +20 -0
- package/build-types/button/stories/index.story.d.ts.map +1 -0
- package/build-types/button-group/stories/index.story.d.ts +12 -0
- package/build-types/button-group/stories/index.story.d.ts.map +1 -0
- package/build-types/card/card/component.d.ts +3 -3
- package/build-types/card/card/component.d.ts.map +1 -1
- package/build-types/card/card/hook.d.ts +1 -1
- package/build-types/card/card/hook.d.ts.map +1 -1
- package/build-types/card/card-body/component.d.ts.map +1 -1
- package/build-types/card/card-body/hook.d.ts +1 -1
- package/build-types/card/card-body/hook.d.ts.map +1 -1
- package/build-types/card/card-divider/component.d.ts +1 -1
- package/build-types/card/card-divider/component.d.ts.map +1 -1
- package/build-types/card/card-divider/hook.d.ts +1 -1
- package/build-types/card/card-divider/hook.d.ts.map +1 -1
- package/build-types/card/card-footer/component.d.ts.map +1 -1
- package/build-types/card/card-footer/hook.d.ts +1 -1
- package/build-types/card/card-footer/hook.d.ts.map +1 -1
- package/build-types/card/card-header/component.d.ts.map +1 -1
- package/build-types/card/card-header/hook.d.ts +1 -1
- package/build-types/card/card-header/hook.d.ts.map +1 -1
- package/build-types/card/card-media/component.d.ts.map +1 -1
- package/build-types/card/card-media/hook.d.ts +1 -1
- package/build-types/card/card-media/hook.d.ts.map +1 -1
- package/build-types/card/stories/index.story.d.ts +36 -0
- package/build-types/card/stories/index.story.d.ts.map +1 -0
- package/build-types/checkbox-control/stories/index.story.d.ts +13 -0
- package/build-types/checkbox-control/stories/index.story.d.ts.map +1 -0
- package/build-types/circular-option-picker/stories/index.story.d.ts +14 -0
- package/build-types/circular-option-picker/stories/index.story.d.ts.map +1 -0
- package/build-types/color-indicator/stories/index.story.d.ts +12 -0
- package/build-types/color-indicator/stories/index.story.d.ts.map +1 -0
- package/build-types/color-palette/stories/index.story.d.ts +46 -0
- package/build-types/color-palette/stories/index.story.d.ts.map +1 -0
- package/build-types/color-picker/component.d.ts.map +1 -1
- package/build-types/color-picker/stories/index.story.d.ts +19 -0
- package/build-types/color-picker/stories/index.story.d.ts.map +1 -0
- package/build-types/color-picker/styles.d.ts +3 -2
- package/build-types/color-picker/styles.d.ts.map +1 -1
- package/build-types/combobox-control/stories/index.story.d.ts +47 -0
- package/build-types/combobox-control/stories/index.story.d.ts.map +1 -0
- package/build-types/confirm-dialog/component.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/stories/index.story.d.ts +12 -0
- package/build-types/custom-gradient-picker/stories/index.story.d.ts.map +1 -0
- package/build-types/date-time/date/styles.d.ts +1 -1
- package/build-types/date-time/date-time/styles.d.ts +1 -1
- package/build-types/date-time/stories/date-time.story.d.ts +14 -0
- package/build-types/date-time/stories/date-time.story.d.ts.map +1 -0
- package/build-types/date-time/stories/date.story.d.ts +14 -0
- package/build-types/date-time/stories/date.story.d.ts.map +1 -0
- package/build-types/date-time/stories/time.story.d.ts +12 -0
- package/build-types/date-time/stories/time.story.d.ts.map +1 -0
- package/build-types/date-time/time/styles.d.ts +8 -4
- package/build-types/date-time/time/styles.d.ts.map +1 -1
- package/build-types/dimension-control/stories/index.story.d.ts +4 -0
- package/build-types/dimension-control/stories/index.story.d.ts.map +1 -0
- package/build-types/disabled/stories/index.story.d.ts +13 -0
- package/build-types/disabled/stories/index.story.d.ts.map +1 -0
- package/build-types/divider/component.d.ts.map +1 -1
- package/build-types/divider/stories/index.story.d.ts +11 -0
- package/build-types/divider/stories/index.story.d.ts.map +1 -0
- package/build-types/divider/styles.d.ts +1 -1
- package/build-types/draggable/stories/index.story.d.ts +20 -0
- package/build-types/draggable/stories/index.story.d.ts.map +1 -0
- package/build-types/drop-zone/stories/index.story.d.ts +13 -0
- package/build-types/drop-zone/stories/index.story.d.ts.map +1 -0
- package/build-types/dropdown/dropdown-content-wrapper.d.ts.map +1 -1
- package/build-types/dropdown/stories/index.story.d.ts +23 -0
- package/build-types/dropdown/stories/index.story.d.ts.map +1 -0
- package/build-types/dropdown-menu/stories/index.story.d.ts +14 -0
- package/build-types/dropdown-menu/stories/index.story.d.ts.map +1 -0
- package/build-types/dropdown-menu-v2/stories/index.story.d.ts +11 -0
- package/build-types/dropdown-menu-v2/stories/index.story.d.ts.map +1 -0
- package/build-types/duotone-picker/stories/duotone-picker.story.d.ts +13 -0
- package/build-types/duotone-picker/stories/duotone-picker.story.d.ts.map +1 -0
- package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts +14 -0
- package/build-types/duotone-picker/stories/duotone-swatch.story.d.ts.map +1 -0
- package/build-types/elevation/component.d.ts.map +1 -1
- package/build-types/elevation/hook.d.ts +1 -1
- package/build-types/elevation/hook.d.ts.map +1 -1
- package/build-types/elevation/stories/index.story.d.ts +22 -0
- package/build-types/elevation/stories/index.story.d.ts.map +1 -0
- package/build-types/external-link/stories/index.story.d.ts +12 -0
- package/build-types/external-link/stories/index.story.d.ts.map +1 -0
- package/build-types/external-link/styles/external-link-styles.d.ts +1 -1
- package/build-types/flex/flex/component.d.ts.map +1 -1
- package/build-types/flex/flex/hook.d.ts +1 -1
- package/build-types/flex/flex/hook.d.ts.map +1 -1
- package/build-types/flex/flex-block/component.d.ts.map +1 -1
- package/build-types/flex/flex-block/hook.d.ts +1 -1
- package/build-types/flex/flex-block/hook.d.ts.map +1 -1
- package/build-types/flex/flex-item/component.d.ts.map +1 -1
- package/build-types/flex/flex-item/hook.d.ts +1 -1
- package/build-types/flex/flex-item/hook.d.ts.map +1 -1
- package/build-types/flex/stories/index.story.d.ts +13 -0
- package/build-types/flex/stories/index.story.d.ts.map +1 -0
- package/build-types/focal-point-picker/stories/index.story.d.ts +56 -0
- package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -0
- package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +1 -1
- package/build-types/font-size-picker/stories/e2e/index.story.d.ts +16 -0
- package/build-types/font-size-picker/stories/e2e/index.story.d.ts.map +1 -0
- package/build-types/font-size-picker/stories/index.story.d.ts +31 -0
- package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -0
- package/build-types/font-size-picker/styles.d.ts +1 -1
- package/build-types/form-file-upload/stories/index.story.d.ts +24 -0
- package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -0
- package/build-types/form-toggle/stories/index.story.d.ts +12 -0
- package/build-types/form-toggle/stories/index.story.d.ts.map +1 -0
- package/build-types/form-token-field/stories/index.story.d.ts +26 -0
- package/build-types/form-token-field/stories/index.story.d.ts.map +1 -0
- package/build-types/gradient-picker/stories/index.story.d.ts +47 -0
- package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -0
- package/build-types/grid/component.d.ts.map +1 -1
- package/build-types/grid/hook.d.ts +1 -1
- package/build-types/grid/hook.d.ts.map +1 -1
- package/build-types/grid/stories/index.story.d.ts +9 -0
- package/build-types/grid/stories/index.story.d.ts.map +1 -0
- package/build-types/guide/stories/index.story.d.ts +9 -0
- package/build-types/guide/stories/index.story.d.ts.map +1 -0
- package/build-types/h-stack/component.d.ts +1 -1
- package/build-types/h-stack/component.d.ts.map +1 -1
- package/build-types/h-stack/hook.d.ts +1 -1
- package/build-types/h-stack/hook.d.ts.map +1 -1
- package/build-types/h-stack/stories/e2e/index.story.d.ts +9 -0
- package/build-types/h-stack/stories/e2e/index.story.d.ts.map +1 -0
- package/build-types/h-stack/stories/index.story.d.ts +9 -0
- package/build-types/h-stack/stories/index.story.d.ts.map +1 -0
- package/build-types/heading/component.d.ts.map +1 -1
- package/build-types/heading/hook.d.ts +1 -1
- package/build-types/heading/hook.d.ts.map +1 -1
- package/build-types/heading/stories/index.story.d.ts +12 -0
- package/build-types/heading/stories/index.story.d.ts.map +1 -0
- package/build-types/icon/stories/index.story.d.ts +22 -0
- package/build-types/icon/stories/index.story.d.ts.map +1 -0
- package/build-types/input-control/input-base.d.ts +1 -1
- package/build-types/input-control/input-base.d.ts.map +1 -1
- package/build-types/input-control/input-prefix-wrapper.d.ts.map +1 -1
- package/build-types/input-control/input-suffix-wrapper.d.ts.map +1 -1
- package/build-types/input-control/reducer/reducer.d.ts +2 -2
- package/build-types/input-control/reducer/reducer.d.ts.map +1 -1
- package/build-types/input-control/stories/index.story.d.ts +28 -0
- package/build-types/input-control/stories/index.story.d.ts.map +1 -0
- package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
- package/build-types/input-control/utils.d.ts +2 -2
- package/build-types/item-group/item/component.d.ts.map +1 -1
- package/build-types/item-group/item/hook.d.ts +2 -2
- package/build-types/item-group/item/hook.d.ts.map +1 -1
- package/build-types/item-group/item-group/component.d.ts.map +1 -1
- package/build-types/item-group/item-group/hook.d.ts +1 -1
- package/build-types/item-group/item-group/hook.d.ts.map +1 -1
- package/build-types/item-group/stories/index.story.d.ts +15 -0
- package/build-types/item-group/stories/index.story.d.ts.map +1 -0
- package/build-types/keyboard-shortcuts/stories/index.story.d.ts +12 -0
- package/build-types/keyboard-shortcuts/stories/index.story.d.ts.map +1 -0
- package/build-types/menu-group/stories/index.d.ts +17 -0
- package/build-types/menu-group/stories/index.d.ts.map +1 -0
- package/build-types/menu-group/stories/index.story.d.ts +17 -0
- package/build-types/menu-group/stories/index.story.d.ts.map +1 -0
- package/build-types/menu-item/index.d.ts +92 -2
- package/build-types/menu-item/index.d.ts.map +1 -1
- package/build-types/menu-item/types.d.ts +62 -0
- package/build-types/menu-item/types.d.ts.map +1 -0
- package/build-types/menu-items-choice/stories/index.story.d.ts +12 -0
- package/build-types/menu-items-choice/stories/index.story.d.ts.map +1 -0
- package/build-types/modal/index.d.ts.map +1 -1
- package/build-types/modal/stories/index.d.ts +1 -0
- package/build-types/modal/stories/index.d.ts.map +1 -1
- package/build-types/modal/stories/index.story.d.ts +10 -0
- package/build-types/modal/stories/index.story.d.ts.map +1 -0
- package/build-types/modal/types.d.ts +7 -0
- package/build-types/modal/types.d.ts.map +1 -1
- package/build-types/navigable-container/stories/navigable-menu.story.d.ts +12 -0
- package/build-types/navigable-container/stories/navigable-menu.story.d.ts.map +1 -0
- package/build-types/navigable-container/stories/tabbable-container.story.d.ts +12 -0
- package/build-types/navigable-container/stories/tabbable-container.story.d.ts.map +1 -0
- package/build-types/navigation/stories/index.story.d.ts +18 -0
- package/build-types/navigation/stories/index.story.d.ts.map +1 -0
- package/build-types/navigator/navigator-back-button/component.d.ts.map +1 -1
- package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-back-button/hook.d.ts.map +1 -1
- package/build-types/navigator/navigator-button/component.d.ts.map +1 -1
- package/build-types/navigator/navigator-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-button/hook.d.ts.map +1 -1
- package/build-types/navigator/navigator-provider/component.d.ts.map +1 -1
- package/build-types/navigator/navigator-screen/component.d.ts +2 -2
- package/build-types/navigator/navigator-screen/component.d.ts.map +1 -1
- package/build-types/navigator/navigator-to-parent-button/component.d.ts.map +1 -1
- package/build-types/navigator/stories/index.story.d.ts +11 -0
- package/build-types/navigator/stories/index.story.d.ts.map +1 -0
- package/build-types/notice/stories/index.story.d.ts +17 -0
- package/build-types/notice/stories/index.story.d.ts.map +1 -0
- package/build-types/number-control/index.d.ts +2 -1
- package/build-types/number-control/index.d.ts.map +1 -1
- package/build-types/number-control/stories/index.story.d.ts +26 -0
- package/build-types/number-control/stories/index.story.d.ts.map +1 -0
- package/build-types/number-control/types.d.ts +7 -0
- package/build-types/number-control/types.d.ts.map +1 -1
- package/build-types/palette-edit/stories/index.story.d.ts +13 -0
- package/build-types/palette-edit/stories/index.story.d.ts.map +1 -0
- package/build-types/palette-edit/styles.d.ts +2 -2
- package/build-types/panel/stories/index.story.d.ts +19 -0
- package/build-types/panel/stories/index.story.d.ts.map +1 -0
- package/build-types/placeholder/stories/index.story.d.ts +12 -0
- package/build-types/placeholder/stories/index.story.d.ts.map +1 -0
- package/build-types/popover/index.d.ts +1 -1
- package/build-types/popover/index.d.ts.map +1 -1
- package/build-types/popover/overlay-middlewares.d.ts +17 -3
- package/build-types/popover/overlay-middlewares.d.ts.map +1 -1
- package/build-types/popover/stories/e2e/index.d.ts +1 -1
- package/build-types/popover/stories/e2e/index.story.d.ts +8 -0
- package/build-types/popover/stories/e2e/index.story.d.ts.map +1 -0
- package/build-types/popover/stories/index.d.ts.map +1 -1
- package/build-types/popover/stories/index.story.d.ts +13 -0
- package/build-types/popover/stories/index.story.d.ts.map +1 -0
- package/build-types/popover/test/utils/index.d.ts +7 -0
- package/build-types/popover/test/utils/index.d.ts.map +1 -0
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/progress-bar/stories/index.story.d.ts +12 -0
- package/build-types/progress-bar/stories/index.story.d.ts.map +1 -0
- package/build-types/query-controls/stories/index.story.d.ts +13 -0
- package/build-types/query-controls/stories/index.story.d.ts.map +1 -0
- package/build-types/radio-control/stories/index.story.d.ts +12 -0
- package/build-types/radio-control/stories/index.story.d.ts.map +1 -0
- package/build-types/range-control/stories/index.story.d.ts +48 -0
- package/build-types/range-control/stories/index.story.d.ts.map +1 -0
- package/build-types/range-control/styles/range-control-styles.d.ts +2 -1
- package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
- package/build-types/range-control/types.d.ts +1 -1
- package/build-types/resizable-box/index.d.ts +1 -1
- package/build-types/resizable-box/resize-tooltip/index.d.ts +3 -2
- package/build-types/resizable-box/resize-tooltip/index.d.ts.map +1 -1
- package/build-types/resizable-box/resize-tooltip/label.d.ts +1 -1
- package/build-types/resizable-box/resize-tooltip/label.d.ts.map +1 -1
- package/build-types/resizable-box/stories/index.story.d.ts +61 -0
- package/build-types/resizable-box/stories/index.story.d.ts.map +1 -0
- package/build-types/responsive-wrapper/stories/index.story.d.ts +22 -0
- package/build-types/responsive-wrapper/stories/index.story.d.ts.map +1 -0
- package/build-types/sandbox/stories/index.story.d.ts +12 -0
- package/build-types/sandbox/stories/index.story.d.ts.map +1 -0
- package/build-types/scroll-lock/stories/index.story.d.ts +9 -0
- package/build-types/scroll-lock/stories/index.story.d.ts.map +1 -0
- package/build-types/scrollable/component.d.ts.map +1 -1
- package/build-types/scrollable/hook.d.ts +1 -1
- package/build-types/scrollable/hook.d.ts.map +1 -1
- package/build-types/scrollable/stories/index.story.d.ts +9 -0
- package/build-types/scrollable/stories/index.story.d.ts.map +1 -0
- package/build-types/search-control/stories/index.story.d.ts +47 -0
- package/build-types/search-control/stories/index.story.d.ts.map +1 -0
- package/build-types/select-control/index.d.ts +2 -1
- package/build-types/select-control/index.d.ts.map +1 -1
- package/build-types/select-control/stories/index.story.d.ts +19 -0
- package/build-types/select-control/stories/index.story.d.ts.map +1 -0
- package/build-types/slot-fill/provider.d.ts +1 -1
- package/build-types/slot-fill/provider.d.ts.map +1 -1
- package/build-types/snackbar/list.d.ts.map +1 -1
- package/build-types/snackbar/stories/index.story.d.ts +16 -0
- package/build-types/snackbar/stories/index.story.d.ts.map +1 -0
- package/build-types/snackbar/stories/list.story.d.ts +12 -0
- package/build-types/snackbar/stories/list.story.d.ts.map +1 -0
- package/build-types/spacer/component.d.ts.map +1 -1
- package/build-types/spacer/hook.d.ts +1 -1
- package/build-types/spacer/hook.d.ts.map +1 -1
- package/build-types/spacer/stories/index.story.d.ts +12 -0
- package/build-types/spacer/stories/index.story.d.ts.map +1 -0
- package/build-types/spinner/index.d.ts +1 -1
- package/build-types/spinner/stories/index.story.d.ts +13 -0
- package/build-types/spinner/stories/index.story.d.ts.map +1 -0
- package/build-types/style-provider/index.d.ts.map +1 -1
- package/build-types/surface/stories/index.story.d.ts +12 -0
- package/build-types/surface/stories/index.story.d.ts.map +1 -0
- package/build-types/tab-panel/stories/index.story.d.ts +16 -0
- package/build-types/tab-panel/stories/index.story.d.ts.map +1 -0
- package/build-types/text/utils.d.ts +6 -1
- package/build-types/text/utils.d.ts.map +1 -1
- package/build-types/text-control/stories/index.story.d.ts +13 -0
- package/build-types/text-control/stories/index.story.d.ts.map +1 -0
- package/build-types/text-highlight/stories/index.story.d.ts +12 -0
- package/build-types/text-highlight/stories/index.story.d.ts.map +1 -0
- package/build-types/textarea-control/stories/index.story.d.ts +12 -0
- package/build-types/textarea-control/stories/index.story.d.ts.map +1 -0
- package/build-types/theme/index.d.ts +0 -2
- package/build-types/theme/index.d.ts.map +1 -1
- package/build-types/theme/stories/index.story.d.ts +22 -0
- package/build-types/theme/stories/index.story.d.ts.map +1 -0
- package/build-types/tip/stories/index.story.d.ts +12 -0
- package/build-types/tip/stories/index.story.d.ts.map +1 -0
- package/build-types/toggle-control/stories/index.story.d.ts +22 -0
- package/build-types/toggle-control/stories/index.story.d.ts.map +1 -0
- package/build-types/toggle-group-control/stories/index.story.d.ts +27 -0
- package/build-types/toggle-group-control/stories/index.story.d.ts.map +1 -0
- package/build-types/toggle-group-control/toggle-group-control/component.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control-option-base/component.d.ts.map +1 -1
- package/build-types/toolbar/stories/index.story.d.ts +14 -0
- package/build-types/toolbar/stories/index.story.d.ts.map +1 -0
- package/build-types/toolbar/toolbar/index.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-button/index.d.ts +13 -13
- package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-item/index.d.ts +1 -1
- package/build-types/tools-panel/stories/index.story.d.ts +17 -0
- package/build-types/tools-panel/stories/index.story.d.ts.map +1 -0
- package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel/hook.d.ts +1 -1
- package/build-types/tools-panel/tools-panel/hook.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel-header/component.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel-header/hook.d.ts +1 -1
- package/build-types/tools-panel/tools-panel-header/hook.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel-item/component.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel-item/hook.d.ts +1 -1
- package/build-types/tools-panel/tools-panel-item/hook.d.ts.map +1 -1
- package/build-types/tree-grid/stories/index.story.d.ts +13 -0
- package/build-types/tree-grid/stories/index.story.d.ts.map +1 -0
- package/build-types/tree-select/stories/index.story.d.ts +12 -0
- package/build-types/tree-select/stories/index.story.d.ts.map +1 -0
- package/build-types/truncate/component.d.ts.map +1 -1
- package/build-types/truncate/hook.d.ts +1 -1
- package/build-types/truncate/hook.d.ts.map +1 -1
- package/build-types/truncate/stories/index.story.d.ts +13 -0
- package/build-types/truncate/stories/index.story.d.ts.map +1 -0
- package/build-types/ui/shortcut/component.d.ts.map +1 -1
- package/build-types/ui/tooltip/component.d.ts +1 -1
- package/build-types/unit-control/index.d.ts +1 -1
- package/build-types/unit-control/index.d.ts.map +1 -1
- package/build-types/unit-control/stories/index.story.d.ts +33 -0
- package/build-types/unit-control/stories/index.story.d.ts.map +1 -0
- package/build-types/unit-control/styles/unit-control-styles.d.ts +2 -1
- package/build-types/unit-control/styles/unit-control-styles.d.ts.map +1 -1
- package/build-types/utils/colors-values.d.ts +4 -2
- package/build-types/utils/colors-values.d.ts.map +1 -1
- package/build-types/utils/hooks/use-cx.d.ts +1 -1
- package/build-types/utils/hooks/use-cx.d.ts.map +1 -1
- package/build-types/v-stack/component.d.ts +1 -1
- package/build-types/v-stack/component.d.ts.map +1 -1
- package/build-types/v-stack/hook.d.ts +1 -1
- package/build-types/v-stack/hook.d.ts.map +1 -1
- package/build-types/v-stack/stories/e2e/index.story.d.ts +9 -0
- package/build-types/v-stack/stories/e2e/index.story.d.ts.map +1 -0
- package/build-types/v-stack/stories/index.d.ts +1 -1
- package/build-types/v-stack/stories/index.story.d.ts +15 -0
- package/build-types/v-stack/stories/index.story.d.ts.map +1 -0
- package/build-types/view/stories/index.story.d.ts +12 -0
- package/build-types/view/stories/index.story.d.ts.map +1 -0
- package/build-types/visually-hidden/component.d.ts.map +1 -1
- package/build-types/visually-hidden/stories/index.story.d.ts +14 -0
- package/build-types/visually-hidden/stories/index.story.d.ts.map +1 -0
- package/build-types/z-stack/stories/index.story.d.ts +6 -0
- package/build-types/z-stack/stories/index.story.d.ts.map +1 -0
- package/package.json +20 -20
- package/src/alignment-matrix-control/stories/{index.tsx → index.story.tsx} +0 -3
- package/src/alignment-matrix-control/styles/alignment-matrix-control-styles.ts +1 -1
- package/src/angle-picker-control/styles/angle-picker-control-styles.tsx +2 -2
- package/src/animate/stories/{index.tsx → index.story.tsx} +9 -18
- package/src/border-box-control/border-box-control/component.tsx +2 -1
- package/src/border-box-control/border-box-control/hook.ts +2 -1
- package/src/border-box-control/border-box-control-linked-button/component.tsx +2 -1
- package/src/border-box-control/border-box-control-linked-button/hook.ts +2 -1
- package/src/border-box-control/border-box-control-split-controls/component.tsx +2 -1
- package/src/border-box-control/border-box-control-split-controls/hook.ts +2 -1
- package/src/border-box-control/border-box-control-visualizer/component.tsx +2 -1
- package/src/border-box-control/border-box-control-visualizer/hook.ts +2 -1
- package/src/border-control/border-control/component.tsx +2 -1
- package/src/border-control/border-control/hook.ts +2 -1
- package/src/border-control/border-control-dropdown/component.tsx +2 -1
- package/src/border-control/border-control-dropdown/hook.ts +2 -1
- package/src/border-control/border-control-style-picker/component.tsx +2 -1
- package/src/border-control/border-control-style-picker/hook.ts +2 -1
- package/src/box-control/stories/{index.js → index.story.js} +4 -4
- package/src/box-control/styles/box-control-visualizer-styles.ts +1 -1
- package/src/button/stories/e2e/{index.tsx → index.story.tsx} +4 -4
- package/src/button/stories/{index.tsx → index.story.tsx} +11 -13
- package/src/button/style.scss +1 -1
- package/src/card/card/README.md +1 -1
- package/src/card/card/component.tsx +5 -8
- package/src/card/card/hook.ts +2 -1
- package/src/card/card-body/component.tsx +2 -1
- package/src/card/card-body/hook.ts +2 -1
- package/src/card/card-divider/component.tsx +4 -2
- package/src/card/card-divider/hook.ts +2 -1
- package/src/card/card-footer/component.tsx +2 -1
- package/src/card/card-footer/hook.ts +2 -1
- package/src/card/card-header/component.tsx +2 -1
- package/src/card/card-header/hook.ts +2 -1
- package/src/card/card-media/component.tsx +2 -1
- package/src/card/card-media/hook.ts +2 -1
- package/src/card/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/circular-option-picker/stories/{index.tsx → index.story.tsx} +1 -11
- package/src/color-picker/component.tsx +2 -1
- package/src/color-picker/hex-input.tsx +1 -1
- package/src/color-picker/input-with-slider.tsx +1 -1
- package/src/color-picker/stories/{index.tsx → index.story.tsx} +2 -5
- package/src/confirm-dialog/component.tsx +2 -5
- package/src/confirm-dialog/stories/{index.js → index.story.js} +2 -2
- package/src/date-time/date/styles.ts +2 -2
- package/src/date-time/date/test/index.tsx +1 -1
- package/src/date-time/time/index.tsx +1 -1
- package/src/divider/component.tsx +2 -5
- package/src/dropdown/dropdown-content-wrapper.tsx +2 -5
- package/src/dropdown/stories/{index.tsx → index.story.tsx} +5 -10
- package/src/dropdown-menu/stories/{index.tsx → index.story.tsx} +2 -2
- package/src/dropdown-menu-v2/stories/{index.tsx → index.story.tsx} +4 -17
- package/src/elevation/component.tsx +2 -1
- package/src/elevation/hook.ts +4 -2
- package/src/flex/flex/component.tsx +2 -1
- package/src/flex/flex/hook.ts +2 -1
- package/src/flex/flex-block/component.tsx +2 -1
- package/src/flex/flex-block/hook.ts +2 -1
- package/src/flex/flex-item/component.tsx +2 -1
- package/src/flex/flex-item/hook.ts +4 -2
- package/src/flex/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/grid/component.tsx +2 -1
- package/src/grid/hook.ts +2 -1
- package/src/h-stack/component.tsx +2 -1
- package/src/h-stack/hook.tsx +2 -5
- package/src/heading/component.tsx +2 -1
- package/src/heading/hook.ts +2 -1
- package/src/icon/stories/{index.tsx → index.story.tsx} +4 -6
- package/src/input-control/input-base.tsx +2 -1
- package/src/input-control/input-prefix-wrapper.tsx +2 -5
- package/src/input-control/input-suffix-wrapper.tsx +2 -5
- package/src/input-control/reducer/reducer.ts +2 -6
- package/src/input-control/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/input-control/styles/input-control-styles.tsx +2 -1
- package/src/item-group/item/component.tsx +2 -1
- package/src/item-group/item/hook.ts +2 -1
- package/src/item-group/item-group/component.tsx +2 -1
- package/src/item-group/item-group/hook.ts +2 -1
- package/src/item-group/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/item-group/styles.ts +2 -2
- package/src/menu-group/stories/index.story.tsx +83 -0
- package/src/menu-item/{index.js → index.tsx} +29 -2
- package/src/menu-item/types.ts +60 -0
- package/src/menu-items-choice/index.tsx +1 -1
- package/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +1 -0
- package/src/mobile/keyboard-aware-flat-list/index.ios.js +1 -1
- package/src/mobile/link-picker/index.native.js +7 -13
- package/src/mobile/link-picker/test/performance/index.native.js +35 -0
- package/src/mobile/link-settings/test/edit.native.js +0 -1
- package/src/modal/README.md +7 -0
- package/src/modal/index.tsx +29 -14
- package/src/modal/stories/{index.tsx → index.story.tsx} +27 -0
- package/src/modal/test/index.tsx +14 -0
- package/src/modal/types.ts +8 -0
- package/src/navigation/stories/{index.tsx → index.story.tsx} +5 -15
- package/src/navigation/styles/navigation-styles.tsx +1 -1
- package/src/navigator/navigator-back-button/component.tsx +2 -1
- package/src/navigator/navigator-back-button/hook.ts +2 -1
- package/src/navigator/navigator-button/component.tsx +2 -1
- package/src/navigator/navigator-button/hook.ts +2 -1
- package/src/navigator/navigator-provider/component.tsx +2 -5
- package/src/navigator/navigator-screen/component.tsx +5 -6
- package/src/navigator/navigator-to-parent-button/component.tsx +2 -1
- package/src/navigator/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/notice/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/number-control/index.tsx +8 -8
- package/src/number-control/styles/number-control-styles.ts +1 -1
- package/src/number-control/test/index.tsx +64 -2
- package/src/number-control/types.ts +7 -0
- package/src/palette-edit/stories/{index.tsx → index.story.tsx} +2 -2
- package/src/palette-edit/styles.js +3 -3
- package/src/panel/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/popover/index.tsx +4 -8
- package/src/popover/overlay-middlewares.tsx +2 -1
- package/src/popover/stories/{index.tsx → index.story.tsx} +2 -46
- package/src/popover/test/index.tsx +14 -0
- package/src/popover/test/utils/index.tsx +87 -0
- package/src/private-apis.ts +2 -0
- package/src/progress-bar/styles.ts +3 -3
- package/src/query-controls/stories/{index.tsx → index.story.tsx} +4 -6
- package/src/radio-group/stories/{index.js → index.story.js} +2 -3
- package/src/range-control/index.tsx +1 -1
- package/src/range-control/styles/range-control-styles.ts +2 -2
- package/src/range-control/types.ts +1 -1
- package/src/resizable-box/resize-tooltip/index.tsx +2 -1
- package/src/resizable-box/resize-tooltip/label.tsx +2 -1
- package/src/scrollable/component.tsx +2 -1
- package/src/scrollable/hook.ts +2 -1
- package/src/select-control/index.tsx +2 -1
- package/src/select-control/stories/{index.tsx → index.story.tsx} +4 -8
- package/src/slot-fill/stories/{index.js → index.story.js} +2 -3
- package/src/snackbar/list.tsx +10 -2
- package/src/snackbar/style.scss +8 -9
- package/src/spacer/component.tsx +2 -1
- package/src/spacer/hook.ts +2 -1
- package/src/spinner/styles.ts +1 -1
- package/src/style-provider/index.tsx +19 -12
- package/src/text/stories/{index.js → index.story.js} +2 -2
- package/src/theme/README.md +0 -17
- package/src/theme/index.tsx +0 -2
- package/src/toggle-group-control/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/toggle-group-control/toggle-group-control/component.tsx +2 -5
- package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +2 -5
- package/src/toggle-group-control/toggle-group-control-option-base/styles.ts +1 -1
- package/src/toolbar/stories/{index.tsx → index.story.tsx} +0 -6
- package/src/toolbar/toolbar/index.tsx +2 -4
- package/src/toolbar/toolbar-button/index.tsx +2 -3
- package/src/tools-panel/stories/{index.tsx → index.story.tsx} +0 -3
- package/src/tools-panel/styles.ts +1 -1
- package/src/tools-panel/test/index.tsx +2 -2
- package/src/tools-panel/tools-panel/component.tsx +2 -1
- package/src/tools-panel/tools-panel/hook.ts +2 -1
- package/src/tools-panel/tools-panel-header/component.tsx +3 -2
- package/src/tools-panel/tools-panel-header/hook.ts +2 -1
- package/src/tools-panel/tools-panel-item/component.tsx +2 -1
- package/src/tools-panel/tools-panel-item/hook.ts +2 -1
- package/src/tree-grid/stories/{index.tsx → index.story.tsx} +0 -1
- package/src/truncate/component.tsx +2 -1
- package/src/truncate/hook.ts +2 -1
- package/src/ui/README.md +3 -20
- package/src/ui/shortcut/component.tsx +2 -5
- package/src/ui/tooltip/test/index.js +4 -4
- package/src/unit-control/styles/unit-control-styles.ts +1 -1
- package/src/utils/colors-values.js +6 -2
- package/src/utils/config-values.js +2 -2
- package/src/utils/hooks/use-cx.ts +3 -1
- package/src/utils/input/base.js +2 -2
- package/src/v-stack/component.tsx +2 -1
- package/src/v-stack/hook.ts +2 -1
- package/src/visually-hidden/component.tsx +2 -5
- package/tsconfig.json +1 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/build/ui/control-group/component.js +0 -81
- package/build/ui/control-group/component.js.map +0 -1
- package/build/ui/control-group/context.js +0 -21
- package/build/ui/control-group/context.js.map +0 -1
- package/build/ui/control-group/hook.js +0 -97
- package/build/ui/control-group/hook.js.map +0 -1
- package/build/ui/control-group/index.js +0 -47
- package/build/ui/control-group/index.js.map +0 -1
- package/build/ui/control-group/styles.js +0 -82
- package/build/ui/control-group/styles.js.map +0 -1
- package/build/ui/control-group/types.js.map +0 -1
- package/build/ui/control-label/component.js +0 -54
- package/build/ui/control-label/component.js.map +0 -1
- package/build/ui/control-label/hook.js +0 -54
- package/build/ui/control-label/hook.js.map +0 -1
- package/build/ui/control-label/index.js +0 -33
- package/build/ui/control-label/index.js.map +0 -1
- package/build/ui/control-label/styles.js +0 -61
- package/build/ui/control-label/styles.js.map +0 -1
- package/build/ui/control-label/types.js +0 -6
- package/build/ui/control-label/types.js.map +0 -1
- package/build/ui/form-group/form-group-content.js +0 -65
- package/build/ui/form-group/form-group-content.js.map +0 -1
- package/build/ui/form-group/form-group-context.js +0 -47
- package/build/ui/form-group/form-group-context.js.map +0 -1
- package/build/ui/form-group/form-group-help.js +0 -46
- package/build/ui/form-group/form-group-help.js.map +0 -1
- package/build/ui/form-group/form-group-label.js +0 -48
- package/build/ui/form-group/form-group-label.js.map +0 -1
- package/build/ui/form-group/form-group-styles.js +0 -22
- package/build/ui/form-group/form-group-styles.js.map +0 -1
- package/build/ui/form-group/form-group.js +0 -72
- package/build/ui/form-group/form-group.js.map +0 -1
- package/build/ui/form-group/index.js +0 -47
- package/build/ui/form-group/index.js.map +0 -1
- package/build/ui/form-group/types.js +0 -6
- package/build/ui/form-group/types.js.map +0 -1
- package/build/ui/form-group/use-form-group.js +0 -63
- package/build/ui/form-group/use-form-group.js.map +0 -1
- package/build/ui/index.js +0 -71
- package/build/ui/index.js.map +0 -1
- package/build/ui/spinner/component.js +0 -108
- package/build/ui/spinner/component.js.map +0 -1
- package/build/ui/spinner/index.js +0 -16
- package/build/ui/spinner/index.js.map +0 -1
- package/build/ui/spinner/styles.js +0 -53
- package/build/ui/spinner/styles.js.map +0 -1
- package/build/ui/spinner/utils.js +0 -11
- package/build/ui/spinner/utils.js.map +0 -1
- package/build-module/ui/control-group/component.js +0 -69
- package/build-module/ui/control-group/component.js.map +0 -1
- package/build-module/ui/control-group/context.js +0 -9
- package/build-module/ui/control-group/context.js.map +0 -1
- package/build-module/ui/control-group/hook.js +0 -81
- package/build-module/ui/control-group/hook.js.map +0 -1
- package/build-module/ui/control-group/index.js +0 -4
- package/build-module/ui/control-group/index.js.map +0 -1
- package/build-module/ui/control-group/styles.js +0 -70
- package/build-module/ui/control-group/styles.js.map +0 -1
- package/build-module/ui/control-group/types.js.map +0 -1
- package/build-module/ui/control-label/component.js +0 -43
- package/build-module/ui/control-label/component.js.map +0 -1
- package/build-module/ui/control-label/hook.js +0 -38
- package/build-module/ui/control-label/hook.js.map +0 -1
- package/build-module/ui/control-label/index.js +0 -3
- package/build-module/ui/control-label/index.js.map +0 -1
- package/build-module/ui/control-label/styles.js +0 -50
- package/build-module/ui/control-label/styles.js.map +0 -1
- package/build-module/ui/control-label/types.js +0 -2
- package/build-module/ui/control-label/types.js.map +0 -1
- package/build-module/ui/form-group/form-group-content.js +0 -51
- package/build-module/ui/form-group/form-group-content.js.map +0 -1
- package/build-module/ui/form-group/form-group-context.js +0 -32
- package/build-module/ui/form-group/form-group-context.js.map +0 -1
- package/build-module/ui/form-group/form-group-help.js +0 -37
- package/build-module/ui/form-group/form-group-help.js.map +0 -1
- package/build-module/ui/form-group/form-group-label.js +0 -38
- package/build-module/ui/form-group/form-group-label.js.map +0 -1
- package/build-module/ui/form-group/form-group-styles.js +0 -16
- package/build-module/ui/form-group/form-group-styles.js.map +0 -1
- package/build-module/ui/form-group/form-group.js +0 -57
- package/build-module/ui/form-group/form-group.js.map +0 -1
- package/build-module/ui/form-group/index.js +0 -4
- package/build-module/ui/form-group/index.js.map +0 -1
- package/build-module/ui/form-group/types.js +0 -2
- package/build-module/ui/form-group/types.js.map +0 -1
- package/build-module/ui/form-group/use-form-group.js +0 -48
- package/build-module/ui/form-group/use-form-group.js.map +0 -1
- package/build-module/ui/index.js +0 -6
- package/build-module/ui/index.js.map +0 -1
- package/build-module/ui/spinner/component.js +0 -95
- package/build-module/ui/spinner/component.js.map +0 -1
- package/build-module/ui/spinner/index.js +0 -2
- package/build-module/ui/spinner/index.js.map +0 -1
- package/build-module/ui/spinner/styles.js +0 -47
- package/build-module/ui/spinner/styles.js.map +0 -1
- package/build-module/ui/spinner/utils.js +0 -3
- package/build-module/ui/spinner/utils.js.map +0 -1
- package/src/ui/control-group/README.md +0 -23
- package/src/ui/control-group/component.js +0 -75
- package/src/ui/control-group/context.js +0 -8
- package/src/ui/control-group/hook.js +0 -93
- package/src/ui/control-group/index.js +0 -3
- package/src/ui/control-group/styles.js +0 -43
- package/src/ui/control-group/test/__snapshots__/index.js.snap +0 -51
- package/src/ui/control-group/test/index.js +0 -22
- package/src/ui/control-group/types.ts +0 -29
- package/src/ui/control-label/README.md +0 -22
- package/src/ui/control-label/component.js +0 -37
- package/src/ui/control-label/hook.js +0 -43
- package/src/ui/control-label/index.js +0 -2
- package/src/ui/control-label/stories/index.js +0 -13
- package/src/ui/control-label/styles.js +0 -65
- package/src/ui/control-label/test/__snapshots__/index.js.snap +0 -141
- package/src/ui/control-label/test/index.js +0 -39
- package/src/ui/control-label/types.ts +0 -9
- package/src/ui/form-group/README.md +0 -113
- package/src/ui/form-group/form-group-content.js +0 -59
- package/src/ui/form-group/form-group-context.js +0 -31
- package/src/ui/form-group/form-group-help.js +0 -32
- package/src/ui/form-group/form-group-label.js +0 -30
- package/src/ui/form-group/form-group-styles.js +0 -8
- package/src/ui/form-group/form-group.js +0 -54
- package/src/ui/form-group/index.js +0 -4
- package/src/ui/form-group/stories/index.js +0 -44
- package/src/ui/form-group/test/__snapshots__/index.js.snap +0 -121
- package/src/ui/form-group/test/index.js +0 -82
- package/src/ui/form-group/types.ts +0 -32
- package/src/ui/form-group/use-form-group.js +0 -53
- package/src/ui/index.js +0 -5
- package/src/ui/spinner/README.md +0 -31
- package/src/ui/spinner/component.js +0 -75
- package/src/ui/spinner/index.js +0 -1
- package/src/ui/spinner/stories/index.js +0 -19
- package/src/ui/spinner/styles.js +0 -109
- package/src/ui/spinner/test/__snapshots__/index.js.snap +0 -265
- package/src/ui/spinner/test/index.js +0 -32
- package/src/ui/spinner/utils.js +0 -2
- /package/build/{ui/control-group → menu-item}/types.js +0 -0
- /package/build-module/{ui/control-group → menu-item}/types.js +0 -0
- /package/src/angle-picker-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/base-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/border-box-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/border-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/button-group/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/checkbox-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/color-indicator/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/color-palette/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/combobox-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/custom-gradient-picker/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/custom-select-control/stories/{index.js → index.story.js} +0 -0
- /package/src/date-time/stories/{date-time.tsx → date-time.story.tsx} +0 -0
- /package/src/date-time/stories/{date.tsx → date.story.tsx} +0 -0
- /package/src/date-time/stories/{time.tsx → time.story.tsx} +0 -0
- /package/src/dimension-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/disabled/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/divider/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/draggable/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/drop-zone/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/duotone-picker/stories/{duotone-picker.tsx → duotone-picker.story.tsx} +0 -0
- /package/src/duotone-picker/stories/{duotone-swatch.tsx → duotone-swatch.story.tsx} +0 -0
- /package/src/elevation/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/external-link/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/focal-point-picker/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/font-size-picker/stories/e2e/{index.tsx → index.story.tsx} +0 -0
- /package/src/font-size-picker/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/form-file-upload/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/form-toggle/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/form-token-field/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/gradient-picker/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/grid/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/guide/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/h-stack/stories/e2e/{index.tsx → index.story.tsx} +0 -0
- /package/src/h-stack/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/heading/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/keyboard-shortcuts/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/menu-items-choice/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/navigable-container/stories/{navigable-menu.tsx → navigable-menu.story.tsx} +0 -0
- /package/src/navigable-container/stories/{tabbable-container.tsx → tabbable-container.story.tsx} +0 -0
- /package/src/number-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/placeholder/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/popover/stories/e2e/{index.tsx → index.story.tsx} +0 -0
- /package/src/progress-bar/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/radio-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/range-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/resizable-box/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/responsive-wrapper/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/sandbox/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/scroll-lock/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/scrollable/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/search-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/snackbar/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/snackbar/stories/{list.tsx → list.story.tsx} +0 -0
- /package/src/spacer/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/spinner/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/surface/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/tab-panel/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/text-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/text-highlight/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/textarea-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/theme/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/tip/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/toggle-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/tooltip/stories/{index.js → index.story.js} +0 -0
- /package/src/tree-select/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/truncate/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/ui/tooltip/stories/{index.js → index.story.js} +0 -0
- /package/src/unit-control/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/v-stack/stories/e2e/{index.tsx → index.story.tsx} +0 -0
- /package/src/v-stack/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/view/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/visually-hidden/stories/{index.tsx → index.story.tsx} +0 -0
- /package/src/z-stack/stories/{index.tsx → index.story.tsx} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["@wordpress/components/src/box-control/types.ts"],"sourcesContent":["/**\n * External dependencies\n */\nimport type { useHover } from '@use-gesture/react';\n\n/**\n * Internal dependencies\n */\nimport type { UnitControlProps } from '../unit-control/types';\nimport type { LABELS } from './utils';\n\nexport type BoxControlValue = {\n\ttop?: string;\n\tright?: string;\n\tbottom?: string;\n\tleft?: string;\n};\n\ntype UnitControlPassthroughProps = Omit<\n\tUnitControlProps,\n\t'label' | 'onChange' | 'onFocus' | 'onMouseOver' | 'onMouseOut' | 'units'\n>;\n\nexport type BoxControlProps = Pick<\n\tUnitControlProps,\n\t'onMouseOver' | 'onMouseOut' | 'units'\n> & {\n\t/**\n\t * If this property is true, a button to reset the box control is rendered.\n\t *\n\t * @default true\n\t */\n\tallowReset?: boolean;\n\t/**\n\t * The id to use as a base for the unique HTML id attribute of the control.\n\t */\n\tid?: string;\n\t/**\n\t * Props for the internal `UnitControl` components.\n\t *\n\t * @default `{ min: 0 }`\n\t */\n\tinputProps?: UnitControlPassthroughProps;\n\t/**\n\t * Heading label for the control.\n\t *\n\t * @default `__( 'Box Control' )`\n\t */\n\tlabel?: string;\n\t/**\n\t * A callback function when an input value changes.\n\t */\n\tonChange: ( next: BoxControlValue ) => void;\n\t/**\n\t * The `top`, `right`, `bottom`, and `left` box dimension values to use when the control is reset.\n\t *\n\t * @default `{ top: undefined, right: undefined, bottom: undefined, left: undefined }`\n\t */\n\tresetValues?: BoxControlValue;\n\t/**\n\t * Collection of sides to allow control of. If omitted or empty, all sides will be available.\n\t */\n\tsides?: readonly ( keyof BoxControlValue | 'horizontal' | 'vertical' )[];\n\t/**\n\t * If this property is true, when the box control is unlinked, vertical and horizontal controls\n\t * can be used instead of updating individual sides.\n\t *\n\t * @default false\n\t */\n\tsplitOnAxis?: boolean;\n\t/**\n\t * The current values of the control, expressed as an object of `top`, `right`, `bottom`, and `left` values.\n\t */\n\tvalues?: BoxControlValue;\n};\n\nexport type BoxControlInputControlProps = UnitControlPassthroughProps & {\n\tonChange?: ( nextValues: BoxControlValue ) => void;\n\tonFocus?: (\n\t\t_event: React.FocusEvent< HTMLInputElement >,\n\t\t{ side }: { side: keyof typeof LABELS }\n\t) => void;\n\tonHoverOff?: (\n\t\tsides: Partial< Record< keyof BoxControlValue, boolean > >\n\t) => void;\n\tonHoverOn?: (\n\t\tsides: Partial< Record< keyof BoxControlValue, boolean > >\n\t) => void;\n\tselectedUnits: BoxControlValue;\n\tsetSelectedUnits: React.Dispatch< React.SetStateAction< BoxControlValue > >;\n\tsides: BoxControlProps[ 'sides' ];\n\tvalues: BoxControlValue;\n};\n\nexport type BoxUnitControlProps = UnitControlPassthroughProps &\n\tPick< UnitControlProps, 'onChange' | 'onFocus' > & {\n\t\tisFirst?: boolean;\n\t\tisLast?: boolean;\n\t\tisOnly?: boolean;\n\t\tlabel?: string;\n\t\tonHoverOff?: (\n\t\t\tevent: ReturnType< typeof useHover >[ 'event' ],\n\t\t\tstate: Omit< ReturnType< typeof useHover >, 'event' >\n\t\t) => void;\n\t\tonHoverOn?: (\n\t\t\tevent: ReturnType< typeof useHover >[ 'event' ],\n\t\t\tstate: Omit< ReturnType< typeof useHover >, 'event' >\n\t\t) => void;\n\t};\n\nexport type BoxControlIconProps = {\n\t/**\n\t * @default 24\n\t */\n\tsize?: number;\n\t/**\n\t * @default 'all'\n\t */\n\tside?: keyof typeof LABELS;\n\tsides?: BoxControlProps[ 'sides' ];\n};\n"],"mappings":""}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { createElement } from "@wordpress/element";
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* External dependencies
|
|
5
4
|
*/
|
|
6
5
|
import { useHover } from '@use-gesture/react';
|
|
6
|
+
|
|
7
7
|
/**
|
|
8
8
|
* Internal dependencies
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
10
|
import BaseTooltip from '../tooltip';
|
|
12
11
|
import { UnitControlWrapper, UnitControl } from './styles/box-control-styles';
|
|
13
|
-
|
|
14
12
|
const noop = () => {};
|
|
15
|
-
|
|
16
13
|
export default function BoxUnitControl({
|
|
17
14
|
isFirst,
|
|
18
15
|
isLast,
|
|
@@ -33,7 +30,8 @@ export default function BoxUnitControl({
|
|
|
33
30
|
onHoverOff(event, state);
|
|
34
31
|
}
|
|
35
32
|
});
|
|
36
|
-
return createElement(UnitControlWrapper, {
|
|
33
|
+
return createElement(UnitControlWrapper, {
|
|
34
|
+
...bindHoverGesture()
|
|
37
35
|
}, createElement(Tooltip, {
|
|
38
36
|
text: label
|
|
39
37
|
}, createElement(UnitControl, {
|
|
@@ -48,12 +46,12 @@ export default function BoxUnitControl({
|
|
|
48
46
|
...props
|
|
49
47
|
})));
|
|
50
48
|
}
|
|
51
|
-
|
|
52
49
|
function Tooltip({
|
|
53
50
|
children,
|
|
54
51
|
text
|
|
55
52
|
}) {
|
|
56
53
|
if (!text) return children;
|
|
54
|
+
|
|
57
55
|
/**
|
|
58
56
|
* Wrapping the children in a `<div />` as Tooltip as it attempts
|
|
59
57
|
* to render the <UnitControl />. Using a plain `<div />` appears to
|
|
@@ -62,7 +60,6 @@ function Tooltip({
|
|
|
62
60
|
* Originally discovered and referenced here:
|
|
63
61
|
* https://github.com/WordPress/gutenberg/pull/24966#issuecomment-685875026
|
|
64
62
|
*/
|
|
65
|
-
|
|
66
63
|
return createElement(BaseTooltip, {
|
|
67
64
|
text: text,
|
|
68
65
|
position: "top"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["useHover","BaseTooltip","UnitControlWrapper","UnitControl","noop","BoxUnitControl","isFirst","isLast","isOnly","onHoverOn","onHoverOff","label","value","props","bindHoverGesture","event","state","hovering","createElement","Tooltip","text","className","isPressEnterToChange","isResetValueOnUnitChange","children","position"],"sources":["@wordpress/components/src/box-control/unit-control.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport { useHover } from '@use-gesture/react';\n\n/**\n * Internal dependencies\n */\nimport BaseTooltip from '../tooltip';\nimport { UnitControlWrapper, UnitControl } from './styles/box-control-styles';\nimport type { BoxUnitControlProps } from './types';\n\nconst noop = () => {};\n\nexport default function BoxUnitControl( {\n\tisFirst,\n\tisLast,\n\tisOnly,\n\tonHoverOn = noop,\n\tonHoverOff = noop,\n\tlabel,\n\tvalue,\n\t...props\n}: BoxUnitControlProps ) {\n\tconst bindHoverGesture = useHover( ( { event, ...state } ) => {\n\t\tif ( state.hovering ) {\n\t\t\tonHoverOn( event, state );\n\t\t} else {\n\t\t\tonHoverOff( event, state );\n\t\t}\n\t} );\n\n\treturn (\n\t\t<UnitControlWrapper { ...bindHoverGesture() }>\n\t\t\t<Tooltip text={ label }>\n\t\t\t\t<UnitControl\n\t\t\t\t\taria-label={ label }\n\t\t\t\t\tclassName=\"component-box-control__unit-control\"\n\t\t\t\t\tisFirst={ isFirst }\n\t\t\t\t\tisLast={ isLast }\n\t\t\t\t\tisOnly={ isOnly }\n\t\t\t\t\tisPressEnterToChange\n\t\t\t\t\tisResetValueOnUnitChange={ false }\n\t\t\t\t\tvalue={ value }\n\t\t\t\t\t{ ...props }\n\t\t\t\t/>\n\t\t\t</Tooltip>\n\t\t</UnitControlWrapper>\n\t);\n}\n\nfunction Tooltip( {\n\tchildren,\n\ttext,\n}: {\n\tchildren: JSX.Element;\n\ttext?: string;\n} ) {\n\tif ( ! text ) return children;\n\n\t/**\n\t * Wrapping the children in a `<div />` as Tooltip as it attempts\n\t * to render the <UnitControl />. Using a plain `<div />` appears to\n\t * resolve this issue.\n\t *\n\t * Originally discovered and referenced here:\n\t * https://github.com/WordPress/gutenberg/pull/24966#issuecomment-685875026\n\t */\n\treturn (\n\t\t<BaseTooltip text={ text } position=\"top\">\n\t\t\t<div>{ children }</div>\n\t\t</BaseTooltip>\n\t);\n}\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,QAAQ,QAAQ,oBAAoB;;AAE7C;AACA;AACA;AACA,OAAOC,WAAW,MAAM,YAAY;AACpC,SAASC,kBAAkB,EAAEC,WAAW,QAAQ,6BAA6B;AAG7E,MAAMC,IAAI,GAAGA,CAAA,KAAM,CAAC,CAAC;AAErB,eAAe,SAASC,cAAcA,CAAE;EACvCC,OAAO;EACPC,MAAM;EACNC,MAAM;EACNC,SAAS,GAAGL,IAAI;EAChBM,UAAU,GAAGN,IAAI;EACjBO,KAAK;EACLC,KAAK;EACL,GAAGC;AACiB,CAAC,EAAG;EACxB,MAAMC,gBAAgB,GAAGd,QAAQ,CAAE,CAAE;IAAEe,KAAK;IAAE,GAAGC;EAAM,CAAC,KAAM;IAC7D,IAAKA,KAAK,CAACC,QAAQ,EAAG;MACrBR,SAAS,CAAEM,KAAK,EAAEC,KAAM,CAAC;IAC1B,CAAC,MAAM;MACNN,UAAU,CAAEK,KAAK,EAAEC,KAAM,CAAC;IAC3B;EACD,CAAE,CAAC;EAEH,OACCE,aAAA,CAAChB,kBAAkB;IAAA,GAAMY,gBAAgB,CAAC;EAAC,GAC1CI,aAAA,CAACC,OAAO;IAACC,IAAI,EAAGT;EAAO,GACtBO,aAAA,CAACf,WAAW;IACX,cAAaQ,KAAO;IACpBU,SAAS,EAAC,qCAAqC;IAC/Cf,OAAO,EAAGA,OAAS;IACnBC,MAAM,EAAGA,MAAQ;IACjBC,MAAM,EAAGA,MAAQ;IACjBc,oBAAoB;IACpBC,wBAAwB,EAAG,KAAO;IAClCX,KAAK,EAAGA,KAAO;IAAA,GACVC;EAAK,CACV,CACO,CACU,CAAC;AAEvB;AAEA,SAASM,OAAOA,CAAE;EACjBK,QAAQ;EACRJ;AAID,CAAC,EAAG;EACH,IAAK,CAAEA,IAAI,EAAG,OAAOI,QAAQ;;EAE7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;EACC,OACCN,aAAA,CAACjB,WAAW;IAACmB,IAAI,EAAGA,IAAM;IAACK,QAAQ,EAAC;EAAK,GACxCP,aAAA,cAAOM,QAAe,CACV,CAAC;AAEhB"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* WordPress dependencies
|
|
3
3
|
*/
|
|
4
4
|
import { __ } from '@wordpress/i18n';
|
|
5
|
+
|
|
5
6
|
/**
|
|
6
7
|
* Internal dependencies
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
9
|
import { parseQuantityAndUnitFromRawValue } from '../unit-control/utils';
|
|
10
10
|
export const LABELS = {
|
|
11
11
|
all: __('All'),
|
|
@@ -24,6 +24,7 @@ export const DEFAULT_VALUES = {
|
|
|
24
24
|
left: undefined
|
|
25
25
|
};
|
|
26
26
|
export const ALL_SIDES = ['top', 'right', 'bottom', 'left'];
|
|
27
|
+
|
|
27
28
|
/**
|
|
28
29
|
* Gets an items with the most occurrence within an array
|
|
29
30
|
* https://stackoverflow.com/a/20762713
|
|
@@ -31,10 +32,10 @@ export const ALL_SIDES = ['top', 'right', 'bottom', 'left'];
|
|
|
31
32
|
* @param arr Array of items to check.
|
|
32
33
|
* @return The item with the most occurrences.
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
35
|
function mode(arr) {
|
|
36
36
|
return arr.sort((a, b) => arr.filter(v => v === a).length - arr.filter(v => v === b).length).pop();
|
|
37
37
|
}
|
|
38
|
+
|
|
38
39
|
/**
|
|
39
40
|
* Gets the 'all' input value and unit from values data.
|
|
40
41
|
*
|
|
@@ -44,18 +45,16 @@ function mode(arr) {
|
|
|
44
45
|
*
|
|
45
46
|
* @return A value + unit for the 'all' input.
|
|
46
47
|
*/
|
|
47
|
-
|
|
48
|
-
|
|
49
48
|
export function getAllValue(values = {}, selectedUnits, availableSides = ALL_SIDES) {
|
|
50
49
|
const sides = normalizeSides(availableSides);
|
|
51
50
|
const parsedQuantitiesAndUnits = sides.map(side => parseQuantityAndUnitFromRawValue(values[side]));
|
|
52
51
|
const allParsedQuantities = parsedQuantitiesAndUnits.map(value => {
|
|
53
52
|
var _value$;
|
|
54
|
-
|
|
55
53
|
return (_value$ = value[0]) !== null && _value$ !== void 0 ? _value$ : '';
|
|
56
54
|
});
|
|
57
55
|
const allParsedUnits = parsedQuantitiesAndUnits.map(value => value[1]);
|
|
58
56
|
const commonQuantity = allParsedQuantities.every(v => v === allParsedQuantities[0]) ? allParsedQuantities[0] : '';
|
|
57
|
+
|
|
59
58
|
/**
|
|
60
59
|
* The typeof === 'number' check is important. On reset actions, the incoming value
|
|
61
60
|
* may be null or an empty string.
|
|
@@ -65,36 +64,32 @@ export function getAllValue(values = {}, selectedUnits, availableSides = ALL_SID
|
|
|
65
64
|
* typeof === 'number' is more specific for these cases, rather than relying on a
|
|
66
65
|
* simple truthy check.
|
|
67
66
|
*/
|
|
68
|
-
|
|
69
67
|
let commonUnit;
|
|
70
|
-
|
|
71
68
|
if (typeof commonQuantity === 'number') {
|
|
72
69
|
commonUnit = mode(allParsedUnits);
|
|
73
70
|
} else {
|
|
74
71
|
var _getAllUnitFallback;
|
|
75
|
-
|
|
76
72
|
// Set meaningful unit selection if no commonQuantity and user has previously
|
|
77
73
|
// selected units without assigning values while controls were unlinked.
|
|
78
74
|
commonUnit = (_getAllUnitFallback = getAllUnitFallback(selectedUnits)) !== null && _getAllUnitFallback !== void 0 ? _getAllUnitFallback : mode(allParsedUnits);
|
|
79
75
|
}
|
|
80
|
-
|
|
81
76
|
return [commonQuantity, commonUnit].join('');
|
|
82
77
|
}
|
|
78
|
+
|
|
83
79
|
/**
|
|
84
80
|
* Determine the most common unit selection to use as a fallback option.
|
|
85
81
|
*
|
|
86
82
|
* @param selectedUnits Current unit selections for individual sides.
|
|
87
83
|
* @return Most common unit selection.
|
|
88
84
|
*/
|
|
89
|
-
|
|
90
85
|
export function getAllUnitFallback(selectedUnits) {
|
|
91
86
|
if (!selectedUnits || typeof selectedUnits !== 'object') {
|
|
92
87
|
return undefined;
|
|
93
88
|
}
|
|
94
|
-
|
|
95
89
|
const filteredUnits = Object.values(selectedUnits).filter(Boolean);
|
|
96
90
|
return mode(filteredUnits);
|
|
97
91
|
}
|
|
92
|
+
|
|
98
93
|
/**
|
|
99
94
|
* Checks to determine if values are mixed.
|
|
100
95
|
*
|
|
@@ -104,12 +99,12 @@ export function getAllUnitFallback(selectedUnits) {
|
|
|
104
99
|
*
|
|
105
100
|
* @return Whether values are mixed.
|
|
106
101
|
*/
|
|
107
|
-
|
|
108
102
|
export function isValuesMixed(values = {}, selectedUnits, sides = ALL_SIDES) {
|
|
109
103
|
const allValue = getAllValue(values, selectedUnits, sides);
|
|
110
104
|
const isMixed = isNaN(parseFloat(allValue));
|
|
111
105
|
return isMixed;
|
|
112
106
|
}
|
|
107
|
+
|
|
113
108
|
/**
|
|
114
109
|
* Checks to determine if values are defined.
|
|
115
110
|
*
|
|
@@ -117,13 +112,14 @@ export function isValuesMixed(values = {}, selectedUnits, sides = ALL_SIDES) {
|
|
|
117
112
|
*
|
|
118
113
|
* @return Whether values are mixed.
|
|
119
114
|
*/
|
|
120
|
-
|
|
121
115
|
export function isValuesDefined(values) {
|
|
122
|
-
return values !== undefined && Object.values(values).filter(
|
|
116
|
+
return values !== undefined && Object.values(values).filter(
|
|
117
|
+
// Switching units when input is empty causes values only
|
|
123
118
|
// containing units. This gives false positive on mixed values
|
|
124
119
|
// unless filtered.
|
|
125
120
|
value => !!value && /\d/.test(value)).length > 0;
|
|
126
121
|
}
|
|
122
|
+
|
|
127
123
|
/**
|
|
128
124
|
* Get initial selected side, factoring in whether the sides are linked,
|
|
129
125
|
* and whether the vertical / horizontal directions are grouped via splitOnAxis.
|
|
@@ -132,16 +128,14 @@ export function isValuesDefined(values) {
|
|
|
132
128
|
* @param splitOnAxis Whether splitting by horizontal or vertical axis.
|
|
133
129
|
* @return The initial side.
|
|
134
130
|
*/
|
|
135
|
-
|
|
136
131
|
export function getInitialSide(isLinked, splitOnAxis) {
|
|
137
132
|
let initialSide = 'all';
|
|
138
|
-
|
|
139
133
|
if (!isLinked) {
|
|
140
134
|
initialSide = splitOnAxis ? 'vertical' : 'top';
|
|
141
135
|
}
|
|
142
|
-
|
|
143
136
|
return initialSide;
|
|
144
137
|
}
|
|
138
|
+
|
|
145
139
|
/**
|
|
146
140
|
* Normalizes provided sides configuration to an array containing only top,
|
|
147
141
|
* right, bottom and left. This essentially just maps `horizontal` or `vertical`
|
|
@@ -151,14 +145,11 @@ export function getInitialSide(isLinked, splitOnAxis) {
|
|
|
151
145
|
* @param sides Available sides for box control.
|
|
152
146
|
* @return Normalized sides configuration.
|
|
153
147
|
*/
|
|
154
|
-
|
|
155
148
|
export function normalizeSides(sides) {
|
|
156
149
|
const filteredSides = [];
|
|
157
|
-
|
|
158
150
|
if (!sides?.length) {
|
|
159
151
|
return ALL_SIDES;
|
|
160
152
|
}
|
|
161
|
-
|
|
162
153
|
if (sides.includes('vertical')) {
|
|
163
154
|
filteredSides.push(...['top', 'bottom']);
|
|
164
155
|
} else if (sides.includes('horizontal')) {
|
|
@@ -167,9 +158,9 @@ export function normalizeSides(sides) {
|
|
|
167
158
|
const newSides = ALL_SIDES.filter(side => sides.includes(side));
|
|
168
159
|
filteredSides.push(...newSides);
|
|
169
160
|
}
|
|
170
|
-
|
|
171
161
|
return filteredSides;
|
|
172
162
|
}
|
|
163
|
+
|
|
173
164
|
/**
|
|
174
165
|
* Applies a value to an object representing top, right, bottom and left sides
|
|
175
166
|
* while taking into account any custom side configuration.
|
|
@@ -180,11 +171,10 @@ export function normalizeSides(sides) {
|
|
|
180
171
|
*
|
|
181
172
|
* @return Object containing the updated values for each side.
|
|
182
173
|
*/
|
|
183
|
-
|
|
184
174
|
export function applyValueToSides(currentValues, newValue, sides) {
|
|
185
|
-
const newValues = {
|
|
175
|
+
const newValues = {
|
|
176
|
+
...currentValues
|
|
186
177
|
};
|
|
187
|
-
|
|
188
178
|
if (sides?.length) {
|
|
189
179
|
sides.forEach(side => {
|
|
190
180
|
if (side === 'vertical') {
|
|
@@ -200,7 +190,6 @@ export function applyValueToSides(currentValues, newValue, sides) {
|
|
|
200
190
|
} else {
|
|
201
191
|
ALL_SIDES.forEach(side => newValues[side] = newValue);
|
|
202
192
|
}
|
|
203
|
-
|
|
204
193
|
return newValues;
|
|
205
194
|
}
|
|
206
195
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/components/src/box-control/utils.ts"],"names":["__","parseQuantityAndUnitFromRawValue","LABELS","all","top","bottom","left","right","mixed","vertical","horizontal","DEFAULT_VALUES","undefined","ALL_SIDES","mode","arr","sort","a","b","filter","v","length","pop","getAllValue","values","selectedUnits","availableSides","sides","normalizeSides","parsedQuantitiesAndUnits","map","side","allParsedQuantities","value","allParsedUnits","commonQuantity","every","commonUnit","getAllUnitFallback","join","filteredUnits","Object","Boolean","isValuesMixed","allValue","isMixed","isNaN","parseFloat","isValuesDefined","test","getInitialSide","isLinked","splitOnAxis","initialSide","filteredSides","includes","push","newSides","applyValueToSides","currentValues","newValue","newValues","forEach"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AAEA;AACA;AACA;;AACA,SAASC,gCAAT,QAAiD,uBAAjD;AAGA,OAAO,MAAMC,MAAM,GAAG;AACrBC,EAAAA,GAAG,EAAEH,EAAE,CAAE,KAAF,CADc;AAErBI,EAAAA,GAAG,EAAEJ,EAAE,CAAE,KAAF,CAFc;AAGrBK,EAAAA,MAAM,EAAEL,EAAE,CAAE,QAAF,CAHW;AAIrBM,EAAAA,IAAI,EAAEN,EAAE,CAAE,MAAF,CAJa;AAKrBO,EAAAA,KAAK,EAAEP,EAAE,CAAE,OAAF,CALY;AAMrBQ,EAAAA,KAAK,EAAER,EAAE,CAAE,OAAF,CANY;AAOrBS,EAAAA,QAAQ,EAAET,EAAE,CAAE,UAAF,CAPS;AAQrBU,EAAAA,UAAU,EAAEV,EAAE,CAAE,YAAF;AARO,CAAf;AAWP,OAAO,MAAMW,cAAc,GAAG;AAC7BP,EAAAA,GAAG,EAAEQ,SADwB;AAE7BL,EAAAA,KAAK,EAAEK,SAFsB;AAG7BP,EAAAA,MAAM,EAAEO,SAHqB;AAI7BN,EAAAA,IAAI,EAAEM;AAJuB,CAAvB;AAOP,OAAO,MAAMC,SAAS,GAAG,CAAE,KAAF,EAAS,OAAT,EAAkB,QAAlB,EAA4B,MAA5B,CAAlB;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,IAAT,CAAoBC,GAApB,E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IAAI,KAAK,YAAd,EAA6B;AACnC8B,QAAAA,SAAS,CAACvD,IAAV,GAAiBsD,QAAjB;AACAC,QAAAA,SAAS,CAACtD,KAAV,GAAkBqD,QAAlB;AACA,OAHM,MAGA;AACNC,QAAAA,SAAS,CAAE9B,IAAF,CAAT,GAAoB6B,QAApB;AACA;AACD,KAVD;AAWA,GAZD,MAYO;AACN/C,IAAAA,SAAS,CAACiD,OAAV,CAAqB/B,IAAF,IAAc8B,SAAS,CAAE9B,IAAF,CAAT,GAAoB6B,QAArD;AACA;;AAED,SAAOC,SAAP;AACA","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport { parseQuantityAndUnitFromRawValue } from '../unit-control/utils';\nimport type { BoxControlProps, BoxControlValue } from './types';\n\nexport const LABELS = {\n\tall: __( 'All' ),\n\ttop: __( 'Top' ),\n\tbottom: __( 'Bottom' ),\n\tleft: __( 'Left' ),\n\tright: __( 'Right' ),\n\tmixed: __( 'Mixed' ),\n\tvertical: __( 'Vertical' ),\n\thorizontal: __( 'Horizontal' ),\n};\n\nexport const DEFAULT_VALUES = {\n\ttop: undefined,\n\tright: undefined,\n\tbottom: undefined,\n\tleft: undefined,\n};\n\nexport const ALL_SIDES = [ 'top', 'right', 'bottom', 'left' ] as const;\n\n/**\n * Gets an items with the most occurrence within an array\n * https://stackoverflow.com/a/20762713\n *\n * @param arr Array of items to check.\n * @return The item with the most occurrences.\n */\nfunction mode< T >( arr: T[] ) {\n\treturn arr\n\t\t.sort(\n\t\t\t( a, b ) =>\n\t\t\t\tarr.filter( ( v ) => v === a ).length -\n\t\t\t\tarr.filter( ( v ) => v === b ).length\n\t\t)\n\t\t.pop();\n}\n\n/**\n * Gets the 'all' input value and unit from values data.\n *\n * @param values Box values.\n * @param selectedUnits Box units.\n * @param availableSides Available box sides to evaluate.\n *\n * @return A value + unit for the 'all' input.\n */\nexport function getAllValue(\n\tvalues: BoxControlValue = {},\n\tselectedUnits?: BoxControlValue,\n\tavailableSides: BoxControlProps[ 'sides' ] = ALL_SIDES\n) {\n\tconst sides = normalizeSides( availableSides );\n\tconst parsedQuantitiesAndUnits = sides.map( ( side ) =>\n\t\tparseQuantityAndUnitFromRawValue( values[ side ] )\n\t);\n\tconst allParsedQuantities = parsedQuantitiesAndUnits.map(\n\t\t( value ) => value[ 0 ] ?? ''\n\t);\n\tconst allParsedUnits = parsedQuantitiesAndUnits.map(\n\t\t( value ) => value[ 1 ]\n\t);\n\n\tconst commonQuantity = allParsedQuantities.every(\n\t\t( v ) => v === allParsedQuantities[ 0 ]\n\t)\n\t\t? allParsedQuantities[ 0 ]\n\t\t: '';\n\n\t/**\n\t * The typeof === 'number' check is important. On reset actions, the incoming value\n\t * may be null or an empty string.\n\t *\n\t * Also, the value may also be zero (0), which is considered a valid unit value.\n\t *\n\t * typeof === 'number' is more specific for these cases, rather than relying on a\n\t * simple truthy check.\n\t */\n\tlet commonUnit;\n\tif ( typeof commonQuantity === 'number' ) {\n\t\tcommonUnit = mode( allParsedUnits );\n\t} else {\n\t\t// Set meaningful unit selection if no commonQuantity and user has previously\n\t\t// selected units without assigning values while controls were unlinked.\n\t\tcommonUnit =\n\t\t\tgetAllUnitFallback( selectedUnits ) ?? mode( allParsedUnits );\n\t}\n\n\treturn [ commonQuantity, commonUnit ].join( '' );\n}\n\n/**\n * Determine the most common unit selection to use as a fallback option.\n *\n * @param selectedUnits Current unit selections for individual sides.\n * @return Most common unit selection.\n */\nexport function getAllUnitFallback( selectedUnits?: BoxControlValue ) {\n\tif ( ! selectedUnits || typeof selectedUnits !== 'object' ) {\n\t\treturn undefined;\n\t}\n\n\tconst filteredUnits = Object.values( selectedUnits ).filter( Boolean );\n\n\treturn mode( filteredUnits );\n}\n\n/**\n * Checks to determine if values are mixed.\n *\n * @param values Box values.\n * @param selectedUnits Box units.\n * @param sides Available box sides to evaluate.\n *\n * @return Whether values are mixed.\n */\nexport function isValuesMixed(\n\tvalues: BoxControlValue = {},\n\tselectedUnits?: BoxControlValue,\n\tsides: BoxControlProps[ 'sides' ] = ALL_SIDES\n) {\n\tconst allValue = getAllValue( values, selectedUnits, sides );\n\tconst isMixed = isNaN( parseFloat( allValue ) );\n\n\treturn isMixed;\n}\n\n/**\n * Checks to determine if values are defined.\n *\n * @param values Box values.\n *\n * @return Whether values are mixed.\n */\nexport function isValuesDefined( values?: BoxControlValue ) {\n\treturn (\n\t\tvalues !== undefined &&\n\t\tObject.values( values ).filter(\n\t\t\t// Switching units when input is empty causes values only\n\t\t\t// containing units. This gives false positive on mixed values\n\t\t\t// unless filtered.\n\t\t\t( value ) => !! value && /\\d/.test( value )\n\t\t).length > 0\n\t);\n}\n\n/**\n * Get initial selected side, factoring in whether the sides are linked,\n * and whether the vertical / horizontal directions are grouped via splitOnAxis.\n *\n * @param isLinked Whether the box control's fields are linked.\n * @param splitOnAxis Whether splitting by horizontal or vertical axis.\n * @return The initial side.\n */\nexport function getInitialSide( isLinked: boolean, splitOnAxis: boolean ) {\n\tlet initialSide: keyof typeof LABELS = 'all';\n\n\tif ( ! isLinked ) {\n\t\tinitialSide = splitOnAxis ? 'vertical' : 'top';\n\t}\n\n\treturn initialSide;\n}\n\n/**\n * Normalizes provided sides configuration to an array containing only top,\n * right, bottom and left. This essentially just maps `horizontal` or `vertical`\n * to their appropriate sides to facilitate correctly determining value for\n * all input control.\n *\n * @param sides Available sides for box control.\n * @return Normalized sides configuration.\n */\nexport function normalizeSides( sides: BoxControlProps[ 'sides' ] ) {\n\tconst filteredSides: ( keyof BoxControlValue )[] = [];\n\n\tif ( ! sides?.length ) {\n\t\treturn ALL_SIDES;\n\t}\n\n\tif ( sides.includes( 'vertical' ) ) {\n\t\tfilteredSides.push( ...( [ 'top', 'bottom' ] as const ) );\n\t} else if ( sides.includes( 'horizontal' ) ) {\n\t\tfilteredSides.push( ...( [ 'left', 'right' ] as const ) );\n\t} else {\n\t\tconst newSides = ALL_SIDES.filter( ( side ) => sides.includes( side ) );\n\t\tfilteredSides.push( ...newSides );\n\t}\n\n\treturn filteredSides;\n}\n\n/**\n * Applies a value to an object representing top, right, bottom and left sides\n * while taking into account any custom side configuration.\n *\n * @param currentValues The current values for each side.\n * @param newValue The value to apply to the sides object.\n * @param sides Array defining valid sides.\n *\n * @return Object containing the updated values for each side.\n */\nexport function applyValueToSides(\n\tcurrentValues: BoxControlValue,\n\tnewValue?: string,\n\tsides?: BoxControlProps[ 'sides' ]\n): BoxControlValue {\n\tconst newValues = { ...currentValues };\n\n\tif ( sides?.length ) {\n\t\tsides.forEach( ( side ) => {\n\t\t\tif ( side === 'vertical' ) {\n\t\t\t\tnewValues.top = newValue;\n\t\t\t\tnewValues.bottom = newValue;\n\t\t\t} else if ( side === 'horizontal' ) {\n\t\t\t\tnewValues.left = newValue;\n\t\t\t\tnewValues.right = newValue;\n\t\t\t} else {\n\t\t\t\tnewValues[ side ] = newValue;\n\t\t\t}\n\t\t} );\n\t} else {\n\t\tALL_SIDES.forEach( ( side ) => ( newValues[ side ] = newValue ) );\n\t}\n\n\treturn newValues;\n}\n"]}
|
|
1
|
+
{"version":3,"names":["__","parseQuantityAndUnitFromRawValue","LABELS","all","top","bottom","left","right","mixed","vertical","horizontal","DEFAULT_VALUES","undefined","ALL_SIDES","mode","arr","sort","a","b","filter","v","length","pop","getAllValue","values","selectedUnits","availableSides","sides","normalizeSides","parsedQuantitiesAndUnits","map","side","allParsedQuantities","value","_value$","allParsedUnits","commonQuantity","every","commonUnit","_getAllUnitFallback","getAllUnitFallback","join","filteredUnits","Object","Boolean","isValuesMixed","allValue","isMixed","isNaN","parseFloat","isValuesDefined","test","getInitialSide","isLinked","splitOnAxis","initialSide","filteredSides","includes","push","newSides","applyValueToSides","currentValues","newValue","newValues","forEach"],"sources":["@wordpress/components/src/box-control/utils.ts"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport { parseQuantityAndUnitFromRawValue } from '../unit-control/utils';\nimport type { BoxControlProps, BoxControlValue } from './types';\n\nexport const LABELS = {\n\tall: __( 'All' ),\n\ttop: __( 'Top' ),\n\tbottom: __( 'Bottom' ),\n\tleft: __( 'Left' ),\n\tright: __( 'Right' ),\n\tmixed: __( 'Mixed' ),\n\tvertical: __( 'Vertical' ),\n\thorizontal: __( 'Horizontal' ),\n};\n\nexport const DEFAULT_VALUES = {\n\ttop: undefined,\n\tright: undefined,\n\tbottom: undefined,\n\tleft: undefined,\n};\n\nexport const ALL_SIDES = [ 'top', 'right', 'bottom', 'left' ] as const;\n\n/**\n * Gets an items with the most occurrence within an array\n * https://stackoverflow.com/a/20762713\n *\n * @param arr Array of items to check.\n * @return The item with the most occurrences.\n */\nfunction mode< T >( arr: T[] ) {\n\treturn arr\n\t\t.sort(\n\t\t\t( a, b ) =>\n\t\t\t\tarr.filter( ( v ) => v === a ).length -\n\t\t\t\tarr.filter( ( v ) => v === b ).length\n\t\t)\n\t\t.pop();\n}\n\n/**\n * Gets the 'all' input value and unit from values data.\n *\n * @param values Box values.\n * @param selectedUnits Box units.\n * @param availableSides Available box sides to evaluate.\n *\n * @return A value + unit for the 'all' input.\n */\nexport function getAllValue(\n\tvalues: BoxControlValue = {},\n\tselectedUnits?: BoxControlValue,\n\tavailableSides: BoxControlProps[ 'sides' ] = ALL_SIDES\n) {\n\tconst sides = normalizeSides( availableSides );\n\tconst parsedQuantitiesAndUnits = sides.map( ( side ) =>\n\t\tparseQuantityAndUnitFromRawValue( values[ side ] )\n\t);\n\tconst allParsedQuantities = parsedQuantitiesAndUnits.map(\n\t\t( value ) => value[ 0 ] ?? ''\n\t);\n\tconst allParsedUnits = parsedQuantitiesAndUnits.map(\n\t\t( value ) => value[ 1 ]\n\t);\n\n\tconst commonQuantity = allParsedQuantities.every(\n\t\t( v ) => v === allParsedQuantities[ 0 ]\n\t)\n\t\t? allParsedQuantities[ 0 ]\n\t\t: '';\n\n\t/**\n\t * The typeof === 'number' check is important. On reset actions, the incoming value\n\t * may be null or an empty string.\n\t *\n\t * Also, the value may also be zero (0), which is considered a valid unit value.\n\t *\n\t * typeof === 'number' is more specific for these cases, rather than relying on a\n\t * simple truthy check.\n\t */\n\tlet commonUnit;\n\tif ( typeof commonQuantity === 'number' ) {\n\t\tcommonUnit = mode( allParsedUnits );\n\t} else {\n\t\t// Set meaningful unit selection if no commonQuantity and user has previously\n\t\t// selected units without assigning values while controls were unlinked.\n\t\tcommonUnit =\n\t\t\tgetAllUnitFallback( selectedUnits ) ?? mode( allParsedUnits );\n\t}\n\n\treturn [ commonQuantity, commonUnit ].join( '' );\n}\n\n/**\n * Determine the most common unit selection to use as a fallback option.\n *\n * @param selectedUnits Current unit selections for individual sides.\n * @return Most common unit selection.\n */\nexport function getAllUnitFallback( selectedUnits?: BoxControlValue ) {\n\tif ( ! selectedUnits || typeof selectedUnits !== 'object' ) {\n\t\treturn undefined;\n\t}\n\n\tconst filteredUnits = Object.values( selectedUnits ).filter( Boolean );\n\n\treturn mode( filteredUnits );\n}\n\n/**\n * Checks to determine if values are mixed.\n *\n * @param values Box values.\n * @param selectedUnits Box units.\n * @param sides Available box sides to evaluate.\n *\n * @return Whether values are mixed.\n */\nexport function isValuesMixed(\n\tvalues: BoxControlValue = {},\n\tselectedUnits?: BoxControlValue,\n\tsides: BoxControlProps[ 'sides' ] = ALL_SIDES\n) {\n\tconst allValue = getAllValue( values, selectedUnits, sides );\n\tconst isMixed = isNaN( parseFloat( allValue ) );\n\n\treturn isMixed;\n}\n\n/**\n * Checks to determine if values are defined.\n *\n * @param values Box values.\n *\n * @return Whether values are mixed.\n */\nexport function isValuesDefined( values?: BoxControlValue ) {\n\treturn (\n\t\tvalues !== undefined &&\n\t\tObject.values( values ).filter(\n\t\t\t// Switching units when input is empty causes values only\n\t\t\t// containing units. This gives false positive on mixed values\n\t\t\t// unless filtered.\n\t\t\t( value ) => !! value && /\\d/.test( value )\n\t\t).length > 0\n\t);\n}\n\n/**\n * Get initial selected side, factoring in whether the sides are linked,\n * and whether the vertical / horizontal directions are grouped via splitOnAxis.\n *\n * @param isLinked Whether the box control's fields are linked.\n * @param splitOnAxis Whether splitting by horizontal or vertical axis.\n * @return The initial side.\n */\nexport function getInitialSide( isLinked: boolean, splitOnAxis: boolean ) {\n\tlet initialSide: keyof typeof LABELS = 'all';\n\n\tif ( ! isLinked ) {\n\t\tinitialSide = splitOnAxis ? 'vertical' : 'top';\n\t}\n\n\treturn initialSide;\n}\n\n/**\n * Normalizes provided sides configuration to an array containing only top,\n * right, bottom and left. This essentially just maps `horizontal` or `vertical`\n * to their appropriate sides to facilitate correctly determining value for\n * all input control.\n *\n * @param sides Available sides for box control.\n * @return Normalized sides configuration.\n */\nexport function normalizeSides( sides: BoxControlProps[ 'sides' ] ) {\n\tconst filteredSides: ( keyof BoxControlValue )[] = [];\n\n\tif ( ! sides?.length ) {\n\t\treturn ALL_SIDES;\n\t}\n\n\tif ( sides.includes( 'vertical' ) ) {\n\t\tfilteredSides.push( ...( [ 'top', 'bottom' ] as const ) );\n\t} else if ( sides.includes( 'horizontal' ) ) {\n\t\tfilteredSides.push( ...( [ 'left', 'right' ] as const ) );\n\t} else {\n\t\tconst newSides = ALL_SIDES.filter( ( side ) => sides.includes( side ) );\n\t\tfilteredSides.push( ...newSides );\n\t}\n\n\treturn filteredSides;\n}\n\n/**\n * Applies a value to an object representing top, right, bottom and left sides\n * while taking into account any custom side configuration.\n *\n * @param currentValues The current values for each side.\n * @param newValue The value to apply to the sides object.\n * @param sides Array defining valid sides.\n *\n * @return Object containing the updated values for each side.\n */\nexport function applyValueToSides(\n\tcurrentValues: BoxControlValue,\n\tnewValue?: string,\n\tsides?: BoxControlProps[ 'sides' ]\n): BoxControlValue {\n\tconst newValues = { ...currentValues };\n\n\tif ( sides?.length ) {\n\t\tsides.forEach( ( side ) => {\n\t\t\tif ( side === 'vertical' ) {\n\t\t\t\tnewValues.top = newValue;\n\t\t\t\tnewValues.bottom = newValue;\n\t\t\t} else if ( side === 'horizontal' ) {\n\t\t\t\tnewValues.left = newValue;\n\t\t\t\tnewValues.right = newValue;\n\t\t\t} else {\n\t\t\t\tnewValues[ side ] = newValue;\n\t\t\t}\n\t\t} );\n\t} else {\n\t\tALL_SIDES.forEach( ( side ) => ( newValues[ side ] = newValue ) );\n\t}\n\n\treturn newValues;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;;AAEpC;AACA;AACA;AACA,SAASC,gCAAgC,QAAQ,uBAAuB;AAGxE,OAAO,MAAMC,MAAM,GAAG;EACrBC,GAAG,EAAEH,EAAE,CAAE,KAAM,CAAC;EAChBI,GAAG,EAAEJ,EAAE,CAAE,KAAM,CAAC;EAChBK,MAAM,EAAEL,EAAE,CAAE,QAAS,CAAC;EACtBM,IAAI,EAAEN,EAAE,CAAE,MAAO,CAAC;EAClBO,KAAK,EAAEP,EAAE,CAAE,OAAQ,CAAC;EACpBQ,KAAK,EAAER,EAAE,CAAE,OAAQ,CAAC;EACpBS,QAAQ,EAAET,EAAE,CAAE,UAAW,CAAC;EAC1BU,UAAU,EAAEV,EAAE,CAAE,YAAa;AAC9B,CAAC;AAED,OAAO,MAAMW,cAAc,GAAG;EAC7BP,GAAG,EAAEQ,SAAS;EACdL,KAAK,EAAEK,SAAS;EAChBP,MAAM,EAAEO,SAAS;EACjBN,IAAI,EAAEM;AACP,CAAC;AAED,OAAO,MAAMC,SAAS,GAAG,CAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAW;;AAEtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,IAAIA,CAAOC,GAAQ,EAAG;EAC9B,OAAOA,GAAG,CACRC,IAAI,CACJ,CAAEC,CAAC,EAAEC,CAAC,KACLH,GAAG,CAACI,MAAM,CAAIC,CAAC,IAAMA,CAAC,KAAKH,CAAE,CAAC,CAACI,MAAM,GACrCN,GAAG,CAACI,MAAM,CAAIC,CAAC,IAAMA,CAAC,KAAKF,CAAE,CAAC,CA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;QACNC,SAAS,CAAEhC,IAAI,CAAE,GAAG+B,QAAQ;MAC7B;IACD,CAAE,CAAC;EACJ,CAAC,MAAM;IACNjD,SAAS,CAACmD,OAAO,CAAIjC,IAAI,IAAQgC,SAAS,CAAEhC,IAAI,CAAE,GAAG+B,QAAW,CAAC;EAClE;EAEA,OAAOC,SAAS;AACjB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createElement } from "@wordpress/element";
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* External dependencies
|
|
5
4
|
*/
|
|
@@ -9,12 +8,11 @@ import { createElement } from "@wordpress/element";
|
|
|
9
8
|
*/
|
|
10
9
|
import deprecated from '@wordpress/deprecated';
|
|
11
10
|
import { forwardRef } from '@wordpress/element';
|
|
11
|
+
|
|
12
12
|
/**
|
|
13
13
|
* Internal dependencies
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
15
|
import Button from '.';
|
|
17
|
-
|
|
18
16
|
function UnforwardedIconButton({
|
|
19
17
|
label,
|
|
20
18
|
labelPosition,
|
|
@@ -27,7 +25,8 @@ function UnforwardedIconButton({
|
|
|
27
25
|
alternative: 'wp.components.Button',
|
|
28
26
|
version: '6.2'
|
|
29
27
|
});
|
|
30
|
-
return createElement(Button, {
|
|
28
|
+
return createElement(Button, {
|
|
29
|
+
...props,
|
|
31
30
|
ref: ref,
|
|
32
31
|
tooltipPosition: labelPosition,
|
|
33
32
|
iconSize: size,
|
|
@@ -35,6 +34,5 @@ function UnforwardedIconButton({
|
|
|
35
34
|
label: tooltip || label
|
|
36
35
|
});
|
|
37
36
|
}
|
|
38
|
-
|
|
39
37
|
export default forwardRef(UnforwardedIconButton);
|
|
40
38
|
//# sourceMappingURL=deprecated.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["deprecated","forwardRef","Button","UnforwardedIconButton","label","labelPosition","size","tooltip","props","ref","since","alternative","version","createElement","tooltipPosition","iconSize","showTooltip","undefined"],"sources":["@wordpress/components/src/button/deprecated.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport type { ForwardedRef } from 'react';\n\n/**\n * WordPress dependencies\n */\nimport deprecated from '@wordpress/deprecated';\nimport { forwardRef } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport Button from '.';\nimport type { DeprecatedIconButtonProps } from './types';\n\nfunction UnforwardedIconButton(\n\t{\n\t\tlabel,\n\t\tlabelPosition,\n\t\tsize,\n\t\ttooltip,\n\t\t...props\n\t}: React.ComponentPropsWithoutRef< typeof Button > &\n\t\tDeprecatedIconButtonProps,\n\tref: ForwardedRef< any >\n) {\n\tdeprecated( 'wp.components.IconButton', {\n\t\tsince: '5.4',\n\t\talternative: 'wp.components.Button',\n\t\tversion: '6.2',\n\t} );\n\n\treturn (\n\t\t<Button\n\t\t\t{ ...props }\n\t\t\tref={ ref }\n\t\t\ttooltipPosition={ labelPosition }\n\t\t\ticonSize={ size }\n\t\t\tshowTooltip={ tooltip !== undefined ? !! tooltip : undefined }\n\t\t\tlabel={ tooltip || label }\n\t\t/>\n\t);\n}\n\nexport default forwardRef( UnforwardedIconButton );\n"],"mappings":";AAAA;AACA;AACA;;AAGA;AACA;AACA;AACA,OAAOA,UAAU,MAAM,uBAAuB;AAC9C,SAASC,UAAU,QAAQ,oBAAoB;;AAE/C;AACA;AACA;AACA,OAAOC,MAAM,MAAM,GAAG;AAGtB,SAASC,qBAAqBA,CAC7B;EACCC,KAAK;EACLC,aAAa;EACbC,IAAI;EACJC,OAAO;EACP,GAAGC;AAEqB,CAAC,EAC1BC,GAAwB,EACvB;EACDT,UAAU,CAAE,0BAA0B,EAAE;IACvCU,KAAK,EAAE,KAAK;IACZC,WAAW,EAAE,sBAAsB;IACnCC,OAAO,EAAE;EACV,CAAE,CAAC;EAEH,OACCC,aAAA,CAACX,MAAM;IAAA,GACDM,KAAK;IACVC,GAAG,EAAGA,GAAK;IACXK,eAAe,EAAGT,aAAe;IACjCU,QAAQ,EAAGT,IAAM;IACjBU,WAAW,EAAGT,OAAO,KAAKU,SAAS,GAAG,CAAC,CAAEV,OAAO,GAAGU,SAAW;IAC9Db,KAAK,EAAGG,OAAO,IAAIH;EAAO,CAC1B,CAAC;AAEJ;AAEA,eAAeH,UAAU,CAAEE,qBAAsB,CAAC"}
|
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
import { createElement, Fragment } from "@wordpress/element";
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* External dependencies
|
|
5
4
|
*/
|
|
6
5
|
import classnames from 'classnames';
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
7
|
* WordPress dependencies
|
|
10
8
|
*/
|
|
11
9
|
import deprecated from '@wordpress/deprecated';
|
|
12
10
|
import { forwardRef } from '@wordpress/element';
|
|
13
11
|
import { useInstanceId } from '@wordpress/compose';
|
|
12
|
+
|
|
14
13
|
/**
|
|
15
14
|
* Internal dependencies
|
|
16
15
|
*/
|
|
17
|
-
|
|
18
16
|
import Tooltip from '../tooltip';
|
|
19
17
|
import Icon from '../icon';
|
|
20
18
|
import { VisuallyHidden } from '../visually-hidden';
|
|
21
19
|
const disabledEventsOnDisabledButton = ['onMouseDown', 'onClick'];
|
|
22
|
-
|
|
23
20
|
function useDeprecatedProps({
|
|
24
21
|
isDefault,
|
|
25
22
|
isPrimary,
|
|
@@ -33,34 +30,24 @@ function useDeprecatedProps({
|
|
|
33
30
|
}) {
|
|
34
31
|
let computedSize = size;
|
|
35
32
|
let computedVariant = variant;
|
|
36
|
-
|
|
37
33
|
if (isSmall) {
|
|
38
34
|
var _computedSize;
|
|
39
|
-
|
|
40
35
|
(_computedSize = computedSize) !== null && _computedSize !== void 0 ? _computedSize : computedSize = 'small';
|
|
41
36
|
}
|
|
42
|
-
|
|
43
37
|
if (isPrimary) {
|
|
44
38
|
var _computedVariant;
|
|
45
|
-
|
|
46
39
|
(_computedVariant = computedVariant) !== null && _computedVariant !== void 0 ? _computedVariant : computedVariant = 'primary';
|
|
47
40
|
}
|
|
48
|
-
|
|
49
41
|
if (isTertiary) {
|
|
50
42
|
var _computedVariant2;
|
|
51
|
-
|
|
52
43
|
(_computedVariant2 = computedVariant) !== null && _computedVariant2 !== void 0 ? _computedVariant2 : computedVariant = 'tertiary';
|
|
53
44
|
}
|
|
54
|
-
|
|
55
45
|
if (isSecondary) {
|
|
56
46
|
var _computedVariant3;
|
|
57
|
-
|
|
58
47
|
(_computedVariant3 = computedVariant) !== null && _computedVariant3 !== void 0 ? _computedVariant3 : computedVariant = 'secondary';
|
|
59
48
|
}
|
|
60
|
-
|
|
61
49
|
if (isDefault) {
|
|
62
50
|
var _computedVariant4;
|
|
63
|
-
|
|
64
51
|
deprecated('Button isDefault prop', {
|
|
65
52
|
since: '5.4',
|
|
66
53
|
alternative: 'variant="secondary"',
|
|
@@ -68,19 +55,16 @@ function useDeprecatedProps({
|
|
|
68
55
|
});
|
|
69
56
|
(_computedVariant4 = computedVariant) !== null && _computedVariant4 !== void 0 ? _computedVariant4 : computedVariant = 'secondary';
|
|
70
57
|
}
|
|
71
|
-
|
|
72
58
|
if (isLink) {
|
|
73
59
|
var _computedVariant5;
|
|
74
|
-
|
|
75
60
|
(_computedVariant5 = computedVariant) !== null && _computedVariant5 !== void 0 ? _computedVariant5 : computedVariant = 'link';
|
|
76
61
|
}
|
|
77
|
-
|
|
78
|
-
|
|
62
|
+
return {
|
|
63
|
+
...otherProps,
|
|
79
64
|
size: computedSize,
|
|
80
65
|
variant: computedVariant
|
|
81
66
|
};
|
|
82
67
|
}
|
|
83
|
-
|
|
84
68
|
export function UnforwardedButton(props, ref) {
|
|
85
69
|
const {
|
|
86
70
|
__next40pxDefaultSize,
|
|
@@ -114,7 +98,8 @@ export function UnforwardedButton(props, ref) {
|
|
|
114
98
|
...buttonOrAnchorProps
|
|
115
99
|
};
|
|
116
100
|
const instanceId = useInstanceId(Button, 'components-button__description');
|
|
117
|
-
const hasChildren = 'string' === typeof children && !!children || Array.isArray(children) && children?.[0] && children[0] !== null &&
|
|
101
|
+
const hasChildren = 'string' === typeof children && !!children || Array.isArray(children) && children?.[0] && children[0] !== null &&
|
|
102
|
+
// Tooltip should not considered as a child
|
|
118
103
|
children?.[0]?.props?.className !== 'components-tooltip';
|
|
119
104
|
const classes = classnames('components-button', className, {
|
|
120
105
|
'is-next-40px-default-size': __next40pxDefaultSize,
|
|
@@ -141,13 +126,11 @@ export function UnforwardedButton(props, ref) {
|
|
|
141
126
|
href,
|
|
142
127
|
target
|
|
143
128
|
} : {};
|
|
144
|
-
|
|
145
129
|
if (disabled && isFocusable) {
|
|
146
130
|
// In this case, the button will be disabled, but still focusable and
|
|
147
131
|
// perceivable by screen reader users.
|
|
148
132
|
buttonProps['aria-disabled'] = true;
|
|
149
133
|
anchorProps['aria-disabled'] = true;
|
|
150
|
-
|
|
151
134
|
for (const disabledEvent of disabledEventsOnDisabledButton) {
|
|
152
135
|
additionalProps[disabledEvent] = event => {
|
|
153
136
|
if (event) {
|
|
@@ -156,14 +139,19 @@ export function UnforwardedButton(props, ref) {
|
|
|
156
139
|
}
|
|
157
140
|
};
|
|
158
141
|
}
|
|
159
|
-
}
|
|
160
|
-
|
|
142
|
+
}
|
|
161
143
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
144
|
+
// Should show the tooltip if...
|
|
145
|
+
const shouldShowTooltip = !trulyDisabled && (
|
|
146
|
+
// An explicit tooltip is passed or...
|
|
147
|
+
showTooltip && label ||
|
|
148
|
+
// There's a shortcut or...
|
|
149
|
+
shortcut ||
|
|
150
|
+
// There's a label and...
|
|
151
|
+
!!label &&
|
|
152
|
+
// The children are empty and...
|
|
153
|
+
!children?.length &&
|
|
154
|
+
// The tooltip is not explicitly disabled.
|
|
167
155
|
false !== showTooltip);
|
|
168
156
|
const descriptionId = describedBy ? instanceId : undefined;
|
|
169
157
|
const describedById = additionalProps['aria-describedby'] || descriptionId;
|
|
@@ -180,20 +168,20 @@ export function UnforwardedButton(props, ref) {
|
|
|
180
168
|
icon: icon,
|
|
181
169
|
size: iconSize
|
|
182
170
|
}), children);
|
|
183
|
-
const element = Tag === 'a' ? createElement("a", {
|
|
171
|
+
const element = Tag === 'a' ? createElement("a", {
|
|
172
|
+
...anchorProps,
|
|
184
173
|
...additionalProps,
|
|
185
174
|
...commonProps
|
|
186
|
-
}, elementChildren) : createElement("button", {
|
|
175
|
+
}, elementChildren) : createElement("button", {
|
|
176
|
+
...buttonProps,
|
|
187
177
|
...additionalProps,
|
|
188
178
|
...commonProps
|
|
189
179
|
}, elementChildren);
|
|
190
|
-
|
|
191
180
|
if (!shouldShowTooltip) {
|
|
192
181
|
return createElement(Fragment, null, element, describedBy && createElement(VisuallyHidden, null, createElement("span", {
|
|
193
182
|
id: descriptionId
|
|
194
183
|
}, describedBy)));
|
|
195
184
|
}
|
|
196
|
-
|
|
197
185
|
return createElement(Fragment, null, createElement(Tooltip, {
|
|
198
186
|
text: children?.length && describedBy ? describedBy : label,
|
|
199
187
|
shortcut: shortcut,
|
|
@@ -202,6 +190,7 @@ export function UnforwardedButton(props, ref) {
|
|
|
202
190
|
id: descriptionId
|
|
203
191
|
}, describedBy)));
|
|
204
192
|
}
|
|
193
|
+
|
|
205
194
|
/**
|
|
206
195
|
* Lets users take actions and make choices with a single click or tap.
|
|
207
196
|
*
|
|
@@ -217,7 +206,6 @@ export function UnforwardedButton(props, ref) {
|
|
|
217
206
|
* );
|
|
218
207
|
* ```
|
|
219
208
|
*/
|
|
220
|
-
|
|
221
209
|
export const Button = forwardRef(UnforwardedButton);
|
|
222
210
|
export default Button;
|
|
223
211
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/components/src/button/index.tsx"],"names":["classnames","deprecated","forwardRef","useInstanceId","Tooltip","Icon","VisuallyHidden","disabledEventsOnDisabledButton","useDeprecatedProps","isDefault","isPrimary","isSecondary","isTertiary","isLink","isSmall","size","variant","otherProps","computedSize","computedVariant","since","alternative","version","UnforwardedButton","props","ref","__next40pxDefaultSize","isPressed","isBusy","isDestructive","className","disabled","icon","iconPosition","iconSize","showTooltip","tooltipPosition","shortcut","label","children","text","__experimentalIsFocusable","isFocusable","describedBy","buttonOrAnchorProps","href","target","additionalProps","undefined","instanceId","Button","hasChildren","Array","isArray","classes","trulyDisabled","Tag","buttonProps","type","anchorProps","disabledEvent","event","stopPropagation","preventDefault","shouldShowTooltip","length","descriptionId","describedById","commonProps","elementChildren","element"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,UAAP,MAAuB,YAAvB;;AASA;AACA;AACA;AACA,OAAOC,UAAP,MAAuB,uBAAvB;AACA,SAASC,UAAT,QAA2B,oBAA3B;AACA,SAASC,aAAT,QAA8B,oBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,OAAP,MAAoB,YAApB;AACA,OAAOC,IAAP,MAAiB,SAAjB;AACA,SAASC,cAAT,QAA+B,oBAA/B;AAGA,MAAMC,8BAA8B,GAAG,CAAE,aAAF,EAAiB,SAAjB,CAAvC;;AAEA,SAASC,kBAAT,CAA6B;AAC5BC,EAAAA,SAD4B;AAE5BC,EAAAA,SAF4B;AAG5BC,EAAAA,WAH4B;AAI5BC,EAAAA,UAJ4B;AAK5BC,EAAAA,MAL4B;AAM5BC,EAAAA,OAN4B;AAO5BC,EAAAA,IAP4B;AAQ5BC,EAAAA,OAR4B;AAS5B,KAAGC;AATyB,CAA7B,EAUsD;AACrD,MAAIC,YAAY,GAAGH,IAAnB;AACA,MAAII,eAAe,GAAGH,OAAtB;;AAEA,MAAKF,OAAL,EAAe;AAAA;;AACd,qBAAAI,YAAY,UAAZ,+CAAAA,YAAY,GAAK,OAAjB;AACA;;AAED,MAAKR,SAAL,EAAiB;AAAA;;AAChB,wBAAAS,eAAe,UAAf,qDAAAA,eAAe,GAAK,SAApB;AACA;;AAED,MAAKP,UAAL,EAAkB;AAAA;;AACjB,yBAAAO,eAAe,UAAf,uDAAAA,eAAe,GAAK,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C,YAAY,KAAK,OAAzB,IACD,cAAC,IAAD;AAAM,IAAA,IAAI,EAAGD,IAAb;AAAoB,IAAA,IAAI,EAAGE;AAA3B,IANF,EAQGK,QARH,CADD;AAaA,QAAM+B,OAAO,GACZd,GAAG,KAAK,GAAR,GACC,wBACMG,WADN;AAAA,OAEQZ,eAFR;AAAA,OAGMqB;AAHN,KAKGC,eALH,CADD,GASC,6BACMZ,WADN;AAAA,OAEQV,eAFR;AAAA,OAGMqB;AAHN,KAKGC,eALH,CAVF;;AAmBA,MAAK,CAAEL,iBAAP,EAA2B;AAC1B,WACC,8BACGM,OADH,EAEG3B,WAAW,IACZ,cAAC,cAAD,QACC;AAAM,MAAA,EAAE,EAAGuB;AAAX,OAA6BvB,WAA7B,CADD,CAHF,CADD;AAUA;;AAED,SACC,8BACC,cAAC,OAAD;AACC,IAAA,IAAI,EACDJ,QAAF,EAAyC0B,MAAzC,IACAtB,WADA,GAEGA,WAFH,GAGGL,KALL;AAOC,IAAA,QAAQ,EAAGD,QAPZ;AAQC,IAAA,QAAQ,EAAGD;AARZ,KAUGkC,OAVH,CADD,EAaG3B,WAAW,IACZ,cAAC,cAAD,QACC;AAAM,IAAA,EAAE,EAAGuB;AAAX,KAA6BvB,WAA7B,CADD,CAdF,CADD;AAqBA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,MAAMO,MAAM,GAAGhD,UAAU,CAAEqB,iBAAF,CAAzB;AACP,eAAe2B,MAAf","sourcesContent":["/**\n * External dependencies\n */\nimport classnames from 'classnames';\nimport type {\n\tComponentPropsWithoutRef,\n\tForwardedRef,\n\tHTMLAttributes,\n\tMouseEvent,\n\tReactElement,\n} from 'react';\n\n/**\n * WordPress dependencies\n */\nimport deprecated from '@wordpress/deprecated';\nimport { forwardRef } from '@wordpress/element';\nimport { useInstanceId } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport Tooltip from '../tooltip';\nimport Icon from '../icon';\nimport { VisuallyHidden } from '../visually-hidden';\nimport type { ButtonProps, DeprecatedButtonProps } from './types';\n\nconst disabledEventsOnDisabledButton = [ 'onMouseDown', 'onClick' ] as const;\n\nfunction useDeprecatedProps( {\n\tisDefault,\n\tisPrimary,\n\tisSecondary,\n\tisTertiary,\n\tisLink,\n\tisSmall,\n\tsize,\n\tvariant,\n\t...otherProps\n}: ButtonProps & DeprecatedButtonProps ): ButtonProps {\n\tlet computedSize = size;\n\tlet computedVariant = variant;\n\n\tif ( isSmall ) {\n\t\tcomputedSize ??= 'small';\n\t}\n\n\tif ( isPrimary ) {\n\t\tcomputedVariant ??= 'primary';\n\t}\n\n\tif ( isTertiary ) {\n\t\tcomputedVariant ??= 'tertiary';\n\t}\n\n\tif ( isSecondary ) {\n\t\tcomputedVariant ??= 'secondary';\n\t}\n\n\tif ( isDefault ) {\n\t\tdeprecated( 'Button isDefault prop', {\n\t\t\tsince: '5.4',\n\t\t\talternative: 'variant=\"secondary\"',\n\t\t\tversion: '6.2',\n\t\t} );\n\n\t\tcomputedVariant ??= 'secondary';\n\t}\n\n\tif ( isLink ) {\n\t\tcomputedVariant ??= 'link';\n\t}\n\n\treturn {\n\t\t...otherProps,\n\t\tsize: computedSize,\n\t\tvariant: computedVariant,\n\t};\n}\n\nexport function UnforwardedButton(\n\tprops: ButtonProps,\n\tref: ForwardedRef< any >\n) {\n\tconst {\n\t\t__next40pxDefaultSize,\n\t\tisPressed,\n\t\tisBusy,\n\t\tisDestructive,\n\t\tclassName,\n\t\tdisabled,\n\t\ticon,\n\t\ticonPosition = 'left',\n\t\ticonSize,\n\t\tshowTooltip,\n\t\ttooltipPosition,\n\t\tshortcut,\n\t\tlabel,\n\t\tchildren,\n\t\tsize = 'default',\n\t\ttext,\n\t\tvariant,\n\t\t__experimentalIsFocusable: isFocusable,\n\t\tdescribedBy,\n\t\t...buttonOrAnchorProps\n\t} = useDeprecatedProps( props );\n\n\tconst { href, target, ...additionalProps } =\n\t\t'href' in buttonOrAnchorProps\n\t\t\t? buttonOrAnchorProps\n\t\t\t: { href: undefined, target: undefined, ...buttonOrAnchorProps };\n\n\tconst instanceId = useInstanceId(\n\t\tButton,\n\t\t'components-button__description'\n\t);\n\n\tconst hasChildren =\n\t\t( 'string' === typeof children && !! children ) ||\n\t\t( Array.isArray( children ) &&\n\t\t\tchildren?.[ 0 ] &&\n\t\t\tchildren[ 0 ] !== null &&\n\t\t\t// Tooltip should not considered as a child\n\t\t\tchildren?.[ 0 ]?.props?.className !== 'components-tooltip' );\n\n\tconst classes = classnames( 'components-button', className, {\n\t\t'is-next-40px-default-size': __next40pxDefaultSize,\n\t\t'is-secondary': variant === 'secondary',\n\t\t'is-primary': variant === 'primary',\n\t\t'is-small': size === 'small',\n\t\t'is-compact': size === 'compact',\n\t\t'is-tertiary': variant === 'tertiary',\n\t\t'is-pressed': isPressed,\n\t\t'is-busy': isBusy,\n\t\t'is-link': variant === 'link',\n\t\t'is-destructive': isDestructive,\n\t\t'has-text': !! icon && hasChildren,\n\t\t'has-icon': !! icon,\n\t} );\n\n\tconst trulyDisabled = disabled && ! isFocusable;\n\tconst Tag = href !== undefined && ! trulyDisabled ? 'a' : 'button';\n\tconst buttonProps: ComponentPropsWithoutRef< 'button' > =\n\t\tTag === 'button'\n\t\t\t? {\n\t\t\t\t\ttype: 'button',\n\t\t\t\t\tdisabled: trulyDisabled,\n\t\t\t\t\t'aria-pressed': isPressed,\n\t\t\t }\n\t\t\t: {};\n\tconst anchorProps: ComponentPropsWithoutRef< 'a' > =\n\t\tTag === 'a' ? { href, target } : {};\n\n\tif ( disabled && isFocusable ) {\n\t\t// In this case, the button will be disabled, but still focusable and\n\t\t// perceivable by screen reader users.\n\t\tbuttonProps[ 'aria-disabled' ] = true;\n\t\tanchorProps[ 'aria-disabled' ] = true;\n\n\t\tfor ( const disabledEvent of disabledEventsOnDisabledButton ) {\n\t\t\tadditionalProps[ disabledEvent ] = ( event: MouseEvent ) => {\n\t\t\t\tif ( event ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n\n\t// Should show the tooltip if...\n\tconst shouldShowTooltip =\n\t\t! trulyDisabled &&\n\t\t// An explicit tooltip is passed or...\n\t\t( ( showTooltip && label ) ||\n\t\t\t// There's a shortcut or...\n\t\t\tshortcut ||\n\t\t\t// There's a label and...\n\t\t\t( !! label &&\n\t\t\t\t// The children are empty and...\n\t\t\t\t! ( children as string | ReactElement[] )?.length &&\n\t\t\t\t// The tooltip is not explicitly disabled.\n\t\t\t\tfalse !== showTooltip ) );\n\n\tconst descriptionId = describedBy ? instanceId : undefined;\n\n\tconst describedById =\n\t\tadditionalProps[ 'aria-describedby' ] || descriptionId;\n\n\tconst commonProps = {\n\t\tclassName: classes,\n\t\t'aria-label': additionalProps[ 'aria-label' ] || label,\n\t\t'aria-describedby': describedById,\n\t\tref,\n\t};\n\n\tconst elementChildren = (\n\t\t<>\n\t\t\t{ icon && iconPosition === 'left' && (\n\t\t\t\t<Icon icon={ icon } size={ iconSize } />\n\t\t\t) }\n\t\t\t{ text && <>{ text }</> }\n\t\t\t{ icon && iconPosition === 'right' && (\n\t\t\t\t<Icon icon={ icon } size={ iconSize } />\n\t\t\t) }\n\t\t\t{ children }\n\t\t</>\n\t);\n\n\tconst element =\n\t\tTag === 'a' ? (\n\t\t\t<a\n\t\t\t\t{ ...anchorProps }\n\t\t\t\t{ ...( additionalProps as HTMLAttributes< HTMLAnchorElement > ) }\n\t\t\t\t{ ...commonProps }\n\t\t\t>\n\t\t\t\t{ elementChildren }\n\t\t\t</a>\n\t\t) : (\n\t\t\t<button\n\t\t\t\t{ ...buttonProps }\n\t\t\t\t{ ...( additionalProps as HTMLAttributes< HTMLButtonElement > ) }\n\t\t\t\t{ ...commonProps }\n\t\t\t>\n\t\t\t\t{ elementChildren }\n\t\t\t</button>\n\t\t);\n\n\tif ( ! shouldShowTooltip ) {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t{ element }\n\t\t\t\t{ describedBy && (\n\t\t\t\t\t<VisuallyHidden>\n\t\t\t\t\t\t<span id={ descriptionId }>{ describedBy }</span>\n\t\t\t\t\t</VisuallyHidden>\n\t\t\t\t) }\n\t\t\t</>\n\t\t);\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t<Tooltip\n\t\t\t\ttext={\n\t\t\t\t\t( children as string | ReactElement[] )?.length &&\n\t\t\t\t\tdescribedBy\n\t\t\t\t\t\t? describedBy\n\t\t\t\t\t\t: label\n\t\t\t\t}\n\t\t\t\tshortcut={ shortcut }\n\t\t\t\tposition={ tooltipPosition }\n\t\t\t>\n\t\t\t\t{ element }\n\t\t\t</Tooltip>\n\t\t\t{ describedBy && (\n\t\t\t\t<VisuallyHidden>\n\t\t\t\t\t<span id={ descriptionId }>{ describedBy }</span>\n\t\t\t\t</VisuallyHidden>\n\t\t\t) }\n\t\t</>\n\t);\n}\n\n/**\n * Lets users take actions and make choices with a single click or tap.\n *\n * ```jsx\n * import { Button } from '@wordpress/components';\n * const Mybutton = () => (\n * <Button\n * variant=\"primary\"\n * onClick={ handleClick }\n * >\n * Click here\n * </Button>\n * );\n * ```\n */\nexport const Button = forwardRef( UnforwardedButton );\nexport default Button;\n"]}
|
|
1
|
+
{"version":3,"names":["classnames","deprecated","forwardRef","useInstanceId","Tooltip","Icon","VisuallyHidden","disabledEventsOnDisabledButton","useDeprecatedProps","isDefault","isPrimary","isSecondary","isTertiary","isLink","isSmall","size","variant","otherProps","computedSize","computedVariant","_computedSize","_computedVariant","_computedVariant2","_computedVariant3","_computedVariant4","since","alternative","version","_computedVariant5","UnforwardedButton","props","ref","__next40pxDefaultSize","isPressed","isBusy","isDestructive","className","disabled","icon","iconPosition","iconSize","showTooltip","tooltipPosition","shortcut","label","children","text","__experimentalIsFocusable","isFocusable","describedBy","buttonOrAnchorProps","href","target","additionalProps","undefined","instanceId","Button","hasChildren","Array","isArray","classes","trulyDisabled","Tag","buttonProps","type","anchorProps","disabledEvent","event","stopPropagation","preventDefault","shouldShowTooltip","length","descriptionId","describedById","commonProps","elementChildren","createElement","Fragment","element","id","position"],"sources":["@wordpress/components/src/button/index.tsx"],"sourcesContent":["/**\n * External dependencies\n */\nimport classnames from 'classnames';\nimport type {\n\tComponentPropsWithoutRef,\n\tForwardedRef,\n\tHTMLAttributes,\n\tMouseEvent,\n\tReactElement,\n} from 'react';\n\n/**\n * WordPress dependencies\n */\nimport deprecated from '@wordpress/deprecated';\nimport { forwardRef } from '@wordpress/element';\nimport { useInstanceId } from '@wordpress/compose';\n\n/**\n * Internal dependencies\n */\nimport Tooltip from '../tooltip';\nimport Icon from '../icon';\nimport { VisuallyHidden } from '../visually-hidden';\nimport type { ButtonProps, DeprecatedButtonProps } from './types';\n\nconst disabledEventsOnDisabledButton = [ 'onMouseDown', 'onClick' ] as const;\n\nfunction useDeprecatedProps( {\n\tisDefault,\n\tisPrimary,\n\tisSecondary,\n\tisTertiary,\n\tisLink,\n\tisSmall,\n\tsize,\n\tvariant,\n\t...otherProps\n}: ButtonProps & DeprecatedButtonProps ): ButtonProps {\n\tlet computedSize = size;\n\tlet computedVariant = variant;\n\n\tif ( isSmall ) {\n\t\tcomputedSize ??= 'small';\n\t}\n\n\tif ( isPrimary ) {\n\t\tcomputedVariant ??= 'primary';\n\t}\n\n\tif ( isTertiary ) {\n\t\tcomputedVariant ??= 'tertiary';\n\t}\n\n\tif ( isSecondary ) {\n\t\tcomputedVariant ??= 'secondary';\n\t}\n\n\tif ( isDefault ) {\n\t\tdeprecated( 'Button isDefault prop', {\n\t\t\tsince: '5.4',\n\t\t\talternative: 'variant=\"secondary\"',\n\t\t\tversion: '6.2',\n\t\t} );\n\n\t\tcomputedVariant ??= 'secondary';\n\t}\n\n\tif ( isLink ) {\n\t\tcomputedVariant ??= 'link';\n\t}\n\n\treturn {\n\t\t...otherProps,\n\t\tsize: computedSize,\n\t\tvariant: computedVariant,\n\t};\n}\n\nexport function UnforwardedButton(\n\tprops: ButtonProps,\n\tref: ForwardedRef< any >\n) {\n\tconst {\n\t\t__next40pxDefaultSize,\n\t\tisPressed,\n\t\tisBusy,\n\t\tisDestructive,\n\t\tclassName,\n\t\tdisabled,\n\t\ticon,\n\t\ticonPosition = 'left',\n\t\ticonSize,\n\t\tshowTooltip,\n\t\ttooltipPosition,\n\t\tshortcut,\n\t\tlabel,\n\t\tchildren,\n\t\tsize = 'default',\n\t\ttext,\n\t\tvariant,\n\t\t__experimentalIsFocusable: isFocusable,\n\t\tdescribedBy,\n\t\t...buttonOrAnchorProps\n\t} = useDeprecatedProps( props );\n\n\tconst { href, target, ...additionalProps } =\n\t\t'href' in buttonOrAnchorProps\n\t\t\t? buttonOrAnchorProps\n\t\t\t: { href: undefined, target: undefined, ...buttonOrAnchorProps };\n\n\tconst instanceId = useInstanceId(\n\t\tButton,\n\t\t'components-button__description'\n\t);\n\n\tconst hasChildren =\n\t\t( 'string' === typeof children && !! children ) ||\n\t\t( Array.isArray( children ) &&\n\t\t\tchildren?.[ 0 ] &&\n\t\t\tchildren[ 0 ] !== null &&\n\t\t\t// Tooltip should not considered as a child\n\t\t\tchildren?.[ 0 ]?.props?.className !== 'components-tooltip' );\n\n\tconst classes = classnames( 'components-button', className, {\n\t\t'is-next-40px-default-size': __next40pxDefaultSize,\n\t\t'is-secondary': variant === 'secondary',\n\t\t'is-primary': variant === 'primary',\n\t\t'is-small': size === 'small',\n\t\t'is-compact': size === 'compact',\n\t\t'is-tertiary': variant === 'tertiary',\n\t\t'is-pressed': isPressed,\n\t\t'is-busy': isBusy,\n\t\t'is-link': variant === 'link',\n\t\t'is-destructive': isDestructive,\n\t\t'has-text': !! icon && hasChildren,\n\t\t'has-icon': !! icon,\n\t} );\n\n\tconst trulyDisabled = disabled && ! isFocusable;\n\tconst Tag = href !== undefined && ! trulyDisabled ? 'a' : 'button';\n\tconst buttonProps: ComponentPropsWithoutRef< 'button' > =\n\t\tTag === 'button'\n\t\t\t? {\n\t\t\t\t\ttype: 'button',\n\t\t\t\t\tdisabled: trulyDisabled,\n\t\t\t\t\t'aria-pressed': isPressed,\n\t\t\t }\n\t\t\t: {};\n\tconst anchorProps: ComponentPropsWithoutRef< 'a' > =\n\t\tTag === 'a' ? { href, target } : {};\n\n\tif ( disabled && isFocusable ) {\n\t\t// In this case, the button will be disabled, but still focusable and\n\t\t// perceivable by screen reader users.\n\t\tbuttonProps[ 'aria-disabled' ] = true;\n\t\tanchorProps[ 'aria-disabled' ] = true;\n\n\t\tfor ( const disabledEvent of disabledEventsOnDisabledButton ) {\n\t\t\tadditionalProps[ disabledEvent ] = ( event: MouseEvent ) => {\n\t\t\t\tif ( event ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}\n\n\t// Should show the tooltip if...\n\tconst shouldShowTooltip =\n\t\t! trulyDisabled &&\n\t\t// An explicit tooltip is passed or...\n\t\t( ( showTooltip && label ) ||\n\t\t\t// There's a shortcut or...\n\t\t\tshortcut ||\n\t\t\t// There's a label and...\n\t\t\t( !! label &&\n\t\t\t\t// The children are empty and...\n\t\t\t\t! ( children as string | ReactElement[] )?.length &&\n\t\t\t\t// The tooltip is not explicitly disabled.\n\t\t\t\tfalse !== showTooltip ) );\n\n\tconst descriptionId = describedBy ? instanceId : undefined;\n\n\tconst describedById =\n\t\tadditionalProps[ 'aria-describedby' ] || descriptionId;\n\n\tconst commonProps = {\n\t\tclassName: classes,\n\t\t'aria-label': additionalProps[ 'aria-label' ] || label,\n\t\t'aria-describedby': describedById,\n\t\tref,\n\t};\n\n\tconst elementChildren = (\n\t\t<>\n\t\t\t{ icon && iconPosition === 'left' && (\n\t\t\t\t<Icon icon={ icon } size={ iconSize } />\n\t\t\t) }\n\t\t\t{ text && <>{ text }</> }\n\t\t\t{ icon && iconPosition === 'right' && (\n\t\t\t\t<Icon icon={ icon } size={ iconSize } />\n\t\t\t) }\n\t\t\t{ children }\n\t\t</>\n\t);\n\n\tconst element =\n\t\tTag === 'a' ? (\n\t\t\t<a\n\t\t\t\t{ ...anchorProps }\n\t\t\t\t{ ...( additionalProps as HTMLAttributes< HTMLAnchorElement > ) }\n\t\t\t\t{ ...commonProps }\n\t\t\t>\n\t\t\t\t{ elementChildren }\n\t\t\t</a>\n\t\t) : (\n\t\t\t<button\n\t\t\t\t{ ...buttonProps }\n\t\t\t\t{ ...( additionalProps as HTMLAttributes< HTMLButtonElement > ) }\n\t\t\t\t{ ...commonProps }\n\t\t\t>\n\t\t\t\t{ elementChildren }\n\t\t\t</button>\n\t\t);\n\n\tif ( ! shouldShowTooltip ) {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t{ element }\n\t\t\t\t{ describedBy && (\n\t\t\t\t\t<VisuallyHidden>\n\t\t\t\t\t\t<span id={ descriptionId }>{ describedBy }</span>\n\t\t\t\t\t</VisuallyHidden>\n\t\t\t\t) }\n\t\t\t</>\n\t\t);\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t<Tooltip\n\t\t\t\ttext={\n\t\t\t\t\t( children as string | ReactElement[] )?.length &&\n\t\t\t\t\tdescribedBy\n\t\t\t\t\t\t? describedBy\n\t\t\t\t\t\t: label\n\t\t\t\t}\n\t\t\t\tshortcut={ shortcut }\n\t\t\t\tposition={ tooltipPosition }\n\t\t\t>\n\t\t\t\t{ element }\n\t\t\t</Tooltip>\n\t\t\t{ describedBy && (\n\t\t\t\t<VisuallyHidden>\n\t\t\t\t\t<span id={ descriptionId }>{ describedBy }</span>\n\t\t\t\t</VisuallyHidden>\n\t\t\t) }\n\t\t</>\n\t);\n}\n\n/**\n * Lets users take actions and make choices with a single click or tap.\n *\n * ```jsx\n * import { Button } from '@wordpress/components';\n * const Mybutton = () => (\n * <Button\n * variant=\"primary\"\n * onClick={ handleClick }\n * >\n * Click here\n * </Button>\n * );\n * ```\n */\nexport const Button = forwardRef( UnforwardedButton );\nexport default Button;\n"],"mappings":";AAAA;AACA;AACA;AACA,OAAOA,U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