@wordpress/components 28.13.1-next.082ed6819.0 → 29.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -2
- package/CONTRIBUTING.md +16 -16
- package/build/alignment-matrix-control/icon.js +1 -0
- package/build/alignment-matrix-control/icon.js.map +1 -1
- package/build/alignment-matrix-control/index.js +1 -0
- package/build/alignment-matrix-control/index.js.map +1 -1
- package/build/angle-picker-control/index.js +1 -1
- package/build/angle-picker-control/index.js.map +1 -1
- package/build/animation/index.js +0 -6
- package/build/animation/index.js.map +1 -1
- package/build/autocomplete/autocompleter-ui.js +1 -0
- package/build/autocomplete/autocompleter-ui.js.map +1 -1
- package/build/autocomplete/autocompleter-ui.native.js +1 -0
- package/build/autocomplete/autocompleter-ui.native.js.map +1 -1
- package/build/autocomplete/get-default-use-items.js +1 -0
- package/build/autocomplete/get-default-use-items.js.map +1 -1
- package/build/border-box-control/border-box-control-split-controls/component.js +1 -1
- package/build/border-box-control/border-box-control-split-controls/component.js.map +1 -1
- package/build/border-box-control/utils.js +1 -0
- package/build/border-box-control/utils.js.map +1 -1
- package/build/border-control/border-control/component.js +2 -0
- package/build/border-control/border-control/component.js.map +1 -1
- package/build/border-control/border-control-dropdown/component.js +1 -0
- package/build/border-control/border-control-dropdown/component.js.map +1 -1
- package/build/border-control/border-control-style-picker/component.js +1 -0
- package/build/border-control/border-control-style-picker/component.js.map +1 -1
- package/build/box-control/index.js +35 -28
- package/build/box-control/index.js.map +1 -1
- package/build/box-control/input-control.js +161 -0
- package/build/box-control/input-control.js.map +1 -0
- package/build/box-control/types.js.map +1 -1
- package/build/box-control/utils.js +51 -48
- package/build/box-control/utils.js.map +1 -1
- package/build/button/index.native.js +1 -0
- package/build/button/index.native.js.map +1 -1
- package/build/button/types.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker-actions.js +1 -0
- package/build/circular-option-picker/circular-option-picker-actions.js.map +1 -1
- package/build/circular-option-picker/circular-option-picker-option.js +1 -0
- package/build/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build/clipboard-button/index.js +5 -3
- package/build/clipboard-button/index.js.map +1 -1
- package/build/color-indicator/index.native.js +1 -0
- package/build/color-indicator/index.native.js.map +1 -1
- package/build/color-palette/index.js +1 -0
- package/build/color-palette/index.js.map +1 -1
- package/build/color-palette/utils.js +1 -0
- package/build/color-palette/utils.js.map +1 -1
- package/build/color-picker/input-with-slider.js +2 -2
- package/build/color-picker/input-with-slider.js.map +1 -1
- package/build/combobox-control/index.js +1 -0
- package/build/combobox-control/index.js.map +1 -1
- package/build/composite/item.js +0 -9
- package/build/composite/item.js.map +1 -1
- package/build/composite/legacy/index.js +1 -0
- package/build/composite/legacy/index.js.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/control-points.js +3 -0
- package/build/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/index.js +1 -0
- package/build/custom-gradient-picker/gradient-bar/index.js.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/utils.js +1 -0
- package/build/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
- package/build/custom-gradient-picker/index.js +3 -0
- package/build/custom-gradient-picker/index.js.map +1 -1
- package/build/custom-gradient-picker/serializer.js +1 -0
- package/build/custom-gradient-picker/serializer.js.map +1 -1
- package/build/custom-gradient-picker/types.js.map +1 -1
- package/build/custom-gradient-picker/utils.js +1 -0
- package/build/custom-gradient-picker/utils.js.map +1 -1
- package/build/custom-select-control/index.js +11 -2
- package/build/custom-select-control/index.js.map +1 -1
- package/build/custom-select-control/types.js.map +1 -1
- package/build/dashicon/index.js +1 -0
- package/build/dashicon/index.js.map +1 -1
- package/build/date-time/date/index.js +1 -0
- package/build/date-time/date/index.js.map +1 -1
- package/build/date-time/date/use-lilius/index.js +1 -0
- package/build/date-time/date/use-lilius/index.js.map +1 -1
- package/build/date-time/time/index.js +1 -0
- package/build/date-time/time/index.js.map +1 -1
- package/build/dimension-control/index.js +1 -0
- package/build/dimension-control/index.js.map +1 -1
- package/build/dimension-control/sizes.js +1 -0
- package/build/dimension-control/sizes.js.map +1 -1
- package/build/draggable/index.js +1 -0
- package/build/draggable/index.js.map +1 -1
- package/build/draggable/index.native.js +1 -0
- package/build/draggable/index.native.js.map +1 -1
- package/build/drop-zone/index.js +19 -13
- package/build/drop-zone/index.js.map +1 -1
- package/build/drop-zone/types.js.map +1 -1
- package/build/dropdown-menu/index.js +2 -0
- package/build/dropdown-menu/index.js.map +1 -1
- package/build/dropdown-menu/index.native.js +1 -0
- package/build/dropdown-menu/index.native.js.map +1 -1
- package/build/duotone-picker/color-list-picker/index.js +10 -14
- package/build/duotone-picker/color-list-picker/index.js.map +1 -1
- package/build/duotone-picker/duotone-picker.js +1 -0
- package/build/duotone-picker/duotone-picker.js.map +1 -1
- package/build/duotone-picker/utils.js +1 -0
- package/build/duotone-picker/utils.js.map +1 -1
- package/build/font-size-picker/font-size-picker-select.js +2 -0
- 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 -0
- package/build/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
- package/build/font-size-picker/index.js +2 -0
- package/build/font-size-picker/index.js.map +1 -1
- package/build/font-size-picker/index.native.js +1 -0
- package/build/font-size-picker/index.native.js.map +1 -1
- package/build/font-size-picker/utils.js +1 -0
- package/build/font-size-picker/utils.js.map +1 -1
- package/build/form-file-upload/index.js +11 -1
- package/build/form-file-upload/index.js.map +1 -1
- package/build/form-file-upload/types.js.map +1 -1
- package/build/form-token-field/index.js +6 -0
- package/build/form-token-field/index.js.map +1 -1
- package/build/form-token-field/suggestions-list.js +1 -0
- package/build/form-token-field/suggestions-list.js.map +1 -1
- package/build/gradient-picker/index.js +3 -0
- package/build/gradient-picker/index.js.map +1 -1
- package/build/gradient-picker/types.js.map +1 -1
- package/build/guide/index.js +1 -0
- package/build/guide/index.js.map +1 -1
- package/build/guide/page-control.js +1 -0
- package/build/guide/page-control.js.map +1 -1
- package/build/h-stack/hook.js +1 -0
- package/build/h-stack/hook.js.map +1 -1
- package/build/higher-order/navigate-regions/index.js +1 -0
- package/build/higher-order/navigate-regions/index.js.map +1 -1
- package/build/higher-order/with-fallback-styles/index.js +1 -0
- package/build/higher-order/with-fallback-styles/index.js.map +1 -1
- package/build/higher-order/with-filters/index.js +1 -0
- package/build/higher-order/with-filters/index.js.map +1 -1
- package/build/higher-order/with-notices/index.js +1 -0
- package/build/higher-order/with-notices/index.js.map +1 -1
- package/build/icon/index.js +9 -0
- package/build/icon/index.js.map +1 -1
- package/build/index.js +0 -6
- package/build/index.js.map +1 -1
- package/build/keyboard-shortcuts/index.js +1 -0
- package/build/keyboard-shortcuts/index.js.map +1 -1
- package/build/menu/checkbox-item.js +5 -9
- package/build/menu/checkbox-item.js.map +1 -1
- package/build/menu/group-label.js +4 -1
- package/build/menu/group-label.js.map +1 -1
- package/build/menu/group.js +4 -1
- package/build/menu/group.js.map +1 -1
- package/build/menu/item-help-text.js +5 -0
- package/build/menu/item-help-text.js.map +1 -1
- package/build/menu/item-label.js +5 -0
- package/build/menu/item-label.js.map +1 -1
- package/build/menu/item.js +4 -8
- package/build/menu/item.js.map +1 -1
- package/build/menu/radio-item.js +5 -9
- package/build/menu/radio-item.js.map +1 -1
- package/build/menu/separator.js +5 -2
- package/build/menu/separator.js.map +1 -1
- package/build/menu/styles.js +16 -16
- package/build/menu/styles.js.map +1 -1
- package/build/menu-items-choice/index.js +1 -0
- package/build/menu-items-choice/index.js.map +1 -1
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +1 -0
- package/build/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
- package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -0
- package/build/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
- package/build/mobile/bottom-sheet/picker-cell.native.js +1 -0
- package/build/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
- package/build/mobile/bottom-sheet-select-control/index.native.js +1 -0
- package/build/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
- package/build/mobile/color-settings/palette.screen.native.js +1 -0
- package/build/mobile/color-settings/palette.screen.native.js.map +1 -1
- package/build/mobile/gradient/index.native.js +1 -0
- package/build/mobile/gradient/index.native.js.map +1 -1
- package/build/mobile/media-edit/index.native.js +1 -0
- package/build/mobile/media-edit/index.native.js.map +1 -1
- package/build/mobile/picker/index.android.js +1 -0
- package/build/mobile/picker/index.android.js.map +1 -1
- package/build/mobile/picker/index.ios.js +1 -0
- package/build/mobile/picker/index.ios.js.map +1 -1
- package/build/mobile/segmented-control/index.native.js +1 -0
- package/build/mobile/segmented-control/index.native.js.map +1 -1
- package/build/mobile/utils/get-px-from-css-unit.native.js +1 -0
- package/build/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build/modal/aria-helper.js +0 -1
- package/build/modal/aria-helper.js.map +1 -1
- package/build/modal/index.js +0 -1
- package/build/modal/index.js.map +1 -1
- package/build/navigable-container/container.js +1 -0
- package/build/navigable-container/container.js.map +1 -1
- package/build/navigation/group/index.js +1 -0
- package/build/navigation/group/index.js.map +1 -1
- package/build/navigation/menu/menu-title-search.js +1 -0
- package/build/navigation/menu/menu-title-search.js.map +1 -1
- package/build/navigation/menu/search-no-results-found.js +1 -0
- package/build/navigation/menu/search-no-results-found.js.map +1 -1
- package/build/navigation/styles/navigation-styles.js +12 -12
- package/build/navigation/styles/navigation-styles.js.map +1 -1
- package/build/navigator/navigator/component.js +1 -0
- package/build/navigator/navigator/component.js.map +1 -1
- package/build/navigator/navigator-screen/component.js +1 -0
- package/build/navigator/navigator-screen/component.js.map +1 -1
- package/build/navigator/utils/router.js +1 -0
- package/build/navigator/utils/router.js.map +1 -1
- package/build/notice/index.js +1 -0
- package/build/notice/index.js.map +1 -1
- package/build/notice/list.js +1 -0
- package/build/notice/list.js.map +1 -1
- package/build/notice/list.native.js +1 -0
- package/build/notice/list.native.js.map +1 -1
- package/build/number-control/index.js +8 -0
- package/build/number-control/index.js.map +1 -1
- package/build/number-control/types.js.map +1 -1
- package/build/palette-edit/index.js +1 -0
- package/build/palette-edit/index.js.map +1 -1
- package/build/panel/actions.native.js +1 -0
- package/build/panel/actions.native.js.map +1 -1
- package/build/query-controls/index.js +1 -0
- package/build/query-controls/index.js.map +1 -1
- package/build/query-controls/terms.js +1 -0
- package/build/query-controls/terms.js.map +1 -1
- package/build/radio-control/index.js +1 -0
- package/build/radio-control/index.js.map +1 -1
- package/build/radio-control/index.native.js +1 -0
- package/build/radio-control/index.native.js.map +1 -1
- package/build/range-control/index.js +2 -1
- package/build/range-control/index.js.map +1 -1
- package/build/range-control/mark.js +0 -1
- package/build/range-control/mark.js.map +1 -1
- package/build/range-control/rail.js +1 -0
- package/build/range-control/rail.js.map +1 -1
- package/build/range-control/styles/range-control-styles.js +33 -45
- package/build/range-control/styles/range-control-styles.js.map +1 -1
- package/build/resizable-box/index.js +10 -1
- package/build/resizable-box/index.js.map +1 -1
- package/build/sandbox/index.js +1 -0
- package/build/sandbox/index.js.map +1 -1
- package/build/sandbox/index.native.js +1 -0
- package/build/sandbox/index.native.js.map +1 -1
- package/build/search-control/index.native.js +1 -0
- package/build/search-control/index.native.js.map +1 -1
- package/build/select-control/index.js +1 -0
- package/build/select-control/index.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/fill.js +8 -12
- package/build/slot-fill/bubbles-virtually/fill.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/slot-fill-provider.js +7 -10
- package/build/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
- package/build/slot-fill/bubbles-virtually/slot.js +4 -10
- package/build/slot-fill/bubbles-virtually/slot.js.map +1 -1
- package/build/slot-fill/provider.js +1 -0
- package/build/slot-fill/provider.js.map +1 -1
- package/build/slot-fill/slot.js +1 -0
- package/build/slot-fill/slot.js.map +1 -1
- package/build/slot-fill/types.js.map +1 -1
- package/build/snackbar/index.js +1 -0
- package/build/snackbar/index.js.map +1 -1
- package/build/snackbar/list.js +1 -0
- package/build/snackbar/list.js.map +1 -1
- package/build/style-provider/index.js +0 -1
- package/build/style-provider/index.js.map +1 -1
- package/build/tab-panel/index.js +1 -0
- package/build/tab-panel/index.js.map +1 -1
- package/build/tabs/index.js +1 -0
- package/build/tabs/index.js.map +1 -1
- package/build/tabs/tab.js +0 -17
- package/build/tabs/tab.js.map +1 -1
- package/build/text/utils.js +1 -0
- package/build/text/utils.js.map +1 -1
- package/build/theme/color-algorithms.js +1 -0
- package/build/theme/color-algorithms.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control/styles.js +7 -7
- package/build/toggle-group-control/toggle-group-control/styles.js.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-base/styles.js +8 -8
- package/build/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
- package/build/toolbar/toolbar-button/index.js +2 -0
- package/build/toolbar/toolbar-button/index.js.map +1 -1
- package/build/toolbar/toolbar-group/index.js +1 -0
- package/build/toolbar/toolbar-group/index.js.map +1 -1
- package/build/tools-panel/tools-panel/component.js +2 -0
- package/build/tools-panel/tools-panel/component.js.map +1 -1
- package/build/tools-panel/tools-panel/hook.js +1 -0
- package/build/tools-panel/tools-panel/hook.js.map +1 -1
- package/build/tools-panel/tools-panel-header/component.js +1 -0
- package/build/tools-panel/tools-panel-header/component.js.map +1 -1
- package/build/tree-grid/cell.js +4 -1
- package/build/tree-grid/cell.js.map +1 -1
- package/build/tree-grid/index.js +1 -0
- package/build/tree-grid/index.js.map +1 -1
- package/build/tree-grid/types.js.map +1 -1
- package/build/tree-select/index.js +1 -0
- package/build/tree-select/index.js.map +1 -1
- package/build/unit-control/index.js +11 -1
- package/build/unit-control/index.js.map +1 -1
- package/build/unit-control/index.native.js +1 -0
- package/build/unit-control/index.native.js.map +1 -1
- package/build/unit-control/types.js.map +1 -1
- package/build/unit-control/unit-select-control.js +1 -0
- package/build/unit-control/unit-select-control.js.map +1 -1
- package/build/unit-control/utils.js +1 -0
- package/build/unit-control/utils.js.map +1 -1
- package/build/utils/colors-values.js +3 -0
- package/build/utils/colors-values.js.map +1 -1
- package/build/utils/config-values.js +0 -1
- package/build/utils/config-values.js.map +1 -1
- package/build/utils/get-valid-children.js +1 -0
- package/build/utils/get-valid-children.js.map +1 -1
- package/build/utils/hooks/use-animated-offset-rect.js +1 -0
- package/build/utils/hooks/use-animated-offset-rect.js.map +1 -1
- package/build/utils/hooks/use-cx.js +1 -0
- package/build/utils/hooks/use-cx.js.map +1 -1
- package/build/utils/math.js +1 -0
- package/build/utils/math.js.map +1 -1
- package/build/utils/rtl.js +1 -0
- package/build/utils/rtl.js.map +1 -1
- package/build/utils/values.js +1 -0
- package/build/utils/values.js.map +1 -1
- package/build/z-stack/component.js +1 -0
- package/build/z-stack/component.js.map +1 -1
- package/build-module/alignment-matrix-control/icon.js +1 -0
- package/build-module/alignment-matrix-control/icon.js.map +1 -1
- package/build-module/alignment-matrix-control/index.js +1 -0
- package/build-module/alignment-matrix-control/index.js.map +1 -1
- package/build-module/angle-picker-control/index.js +1 -1
- package/build-module/angle-picker-control/index.js.map +1 -1
- package/build-module/animation/index.js +1 -1
- package/build-module/animation/index.js.map +1 -1
- package/build-module/autocomplete/autocompleter-ui.js +1 -0
- package/build-module/autocomplete/autocompleter-ui.js.map +1 -1
- package/build-module/autocomplete/autocompleter-ui.native.js +1 -0
- package/build-module/autocomplete/autocompleter-ui.native.js.map +1 -1
- package/build-module/autocomplete/get-default-use-items.js +1 -0
- package/build-module/autocomplete/get-default-use-items.js.map +1 -1
- package/build-module/border-box-control/border-box-control-split-controls/component.js +1 -1
- package/build-module/border-box-control/border-box-control-split-controls/component.js.map +1 -1
- package/build-module/border-box-control/utils.js +1 -0
- package/build-module/border-box-control/utils.js.map +1 -1
- package/build-module/border-control/border-control/component.js +2 -0
- package/build-module/border-control/border-control/component.js.map +1 -1
- package/build-module/border-control/border-control-dropdown/component.js +1 -0
- package/build-module/border-control/border-control-dropdown/component.js.map +1 -1
- package/build-module/border-control/border-control-style-picker/component.js +1 -0
- package/build-module/border-control/border-control-style-picker/component.js.map +1 -1
- package/build-module/box-control/index.js +37 -30
- package/build-module/box-control/index.js.map +1 -1
- package/build-module/box-control/input-control.js +153 -0
- package/build-module/box-control/input-control.js.map +1 -0
- package/build-module/box-control/types.js.map +1 -1
- package/build-module/box-control/utils.js +48 -46
- package/build-module/box-control/utils.js.map +1 -1
- package/build-module/button/index.native.js +1 -0
- package/build-module/button/index.native.js.map +1 -1
- package/build-module/button/types.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker-actions.js +1 -0
- package/build-module/circular-option-picker/circular-option-picker-actions.js.map +1 -1
- package/build-module/circular-option-picker/circular-option-picker-option.js +1 -0
- package/build-module/circular-option-picker/circular-option-picker-option.js.map +1 -1
- package/build-module/clipboard-button/index.js +5 -3
- package/build-module/clipboard-button/index.js.map +1 -1
- package/build-module/color-indicator/index.native.js +1 -0
- package/build-module/color-indicator/index.native.js.map +1 -1
- package/build-module/color-palette/index.js +1 -0
- package/build-module/color-palette/index.js.map +1 -1
- package/build-module/color-palette/utils.js +1 -0
- package/build-module/color-palette/utils.js.map +1 -1
- package/build-module/color-picker/input-with-slider.js +2 -2
- package/build-module/color-picker/input-with-slider.js.map +1 -1
- package/build-module/combobox-control/index.js +1 -0
- package/build-module/combobox-control/index.js.map +1 -1
- package/build-module/composite/item.js +0 -9
- package/build-module/composite/item.js.map +1 -1
- package/build-module/composite/legacy/index.js +1 -0
- package/build-module/composite/legacy/index.js.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/control-points.js +3 -0
- package/build-module/custom-gradient-picker/gradient-bar/control-points.js.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/index.js +1 -0
- package/build-module/custom-gradient-picker/gradient-bar/index.js.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/utils.js +1 -0
- package/build-module/custom-gradient-picker/gradient-bar/utils.js.map +1 -1
- package/build-module/custom-gradient-picker/index.js +3 -0
- package/build-module/custom-gradient-picker/index.js.map +1 -1
- package/build-module/custom-gradient-picker/serializer.js +1 -0
- package/build-module/custom-gradient-picker/serializer.js.map +1 -1
- package/build-module/custom-gradient-picker/types.js.map +1 -1
- package/build-module/custom-gradient-picker/utils.js +1 -0
- package/build-module/custom-gradient-picker/utils.js.map +1 -1
- package/build-module/custom-select-control/index.js +11 -2
- package/build-module/custom-select-control/index.js.map +1 -1
- package/build-module/custom-select-control/types.js.map +1 -1
- package/build-module/dashicon/index.js +1 -0
- package/build-module/dashicon/index.js.map +1 -1
- package/build-module/date-time/date/index.js +1 -0
- package/build-module/date-time/date/index.js.map +1 -1
- package/build-module/date-time/date/use-lilius/index.js +1 -0
- package/build-module/date-time/date/use-lilius/index.js.map +1 -1
- package/build-module/date-time/time/index.js +1 -0
- package/build-module/date-time/time/index.js.map +1 -1
- package/build-module/dimension-control/index.js +1 -0
- 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/draggable/index.js +1 -0
- package/build-module/draggable/index.js.map +1 -1
- package/build-module/draggable/index.native.js +1 -0
- package/build-module/draggable/index.native.js.map +1 -1
- package/build-module/drop-zone/index.js +19 -13
- package/build-module/drop-zone/index.js.map +1 -1
- package/build-module/drop-zone/types.js.map +1 -1
- package/build-module/dropdown-menu/index.js +2 -0
- package/build-module/dropdown-menu/index.js.map +1 -1
- package/build-module/dropdown-menu/index.native.js +1 -0
- package/build-module/dropdown-menu/index.native.js.map +1 -1
- package/build-module/duotone-picker/color-list-picker/index.js +11 -15
- package/build-module/duotone-picker/color-list-picker/index.js.map +1 -1
- package/build-module/duotone-picker/duotone-picker.js +1 -0
- package/build-module/duotone-picker/duotone-picker.js.map +1 -1
- package/build-module/duotone-picker/utils.js +1 -0
- package/build-module/duotone-picker/utils.js.map +1 -1
- package/build-module/font-size-picker/font-size-picker-select.js +2 -0
- 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 -0
- package/build-module/font-size-picker/font-size-picker-toggle-group.js.map +1 -1
- package/build-module/font-size-picker/index.js +2 -0
- package/build-module/font-size-picker/index.js.map +1 -1
- package/build-module/font-size-picker/index.native.js +1 -0
- package/build-module/font-size-picker/index.native.js.map +1 -1
- package/build-module/font-size-picker/utils.js +1 -0
- package/build-module/font-size-picker/utils.js.map +1 -1
- package/build-module/form-file-upload/index.js +13 -2
- 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-token-field/index.js +6 -0
- package/build-module/form-token-field/index.js.map +1 -1
- package/build-module/form-token-field/suggestions-list.js +1 -0
- package/build-module/form-token-field/suggestions-list.js.map +1 -1
- package/build-module/gradient-picker/index.js +3 -0
- package/build-module/gradient-picker/index.js.map +1 -1
- package/build-module/gradient-picker/types.js.map +1 -1
- package/build-module/guide/index.js +1 -0
- package/build-module/guide/index.js.map +1 -1
- package/build-module/guide/page-control.js +1 -0
- package/build-module/guide/page-control.js.map +1 -1
- package/build-module/h-stack/hook.js +1 -0
- package/build-module/h-stack/hook.js.map +1 -1
- package/build-module/higher-order/navigate-regions/index.js +1 -0
- package/build-module/higher-order/navigate-regions/index.js.map +1 -1
- package/build-module/higher-order/with-fallback-styles/index.js +1 -0
- package/build-module/higher-order/with-fallback-styles/index.js.map +1 -1
- package/build-module/higher-order/with-filters/index.js +1 -0
- package/build-module/higher-order/with-filters/index.js.map +1 -1
- package/build-module/higher-order/with-notices/index.js +1 -0
- package/build-module/higher-order/with-notices/index.js.map +1 -1
- package/build-module/icon/index.js +9 -0
- package/build-module/icon/index.js.map +1 -1
- package/build-module/index.js +1 -1
- package/build-module/index.js.map +1 -1
- package/build-module/keyboard-shortcuts/index.js +1 -0
- package/build-module/keyboard-shortcuts/index.js.map +1 -1
- package/build-module/menu/checkbox-item.js +5 -9
- package/build-module/menu/checkbox-item.js.map +1 -1
- package/build-module/menu/group-label.js +4 -1
- package/build-module/menu/group-label.js.map +1 -1
- package/build-module/menu/group.js +4 -1
- package/build-module/menu/group.js.map +1 -1
- package/build-module/menu/item-help-text.js +6 -1
- package/build-module/menu/item-help-text.js.map +1 -1
- package/build-module/menu/item-label.js +6 -1
- package/build-module/menu/item-label.js.map +1 -1
- package/build-module/menu/item.js +4 -8
- package/build-module/menu/item.js.map +1 -1
- package/build-module/menu/radio-item.js +5 -9
- package/build-module/menu/radio-item.js.map +1 -1
- package/build-module/menu/separator.js +5 -2
- package/build-module/menu/separator.js.map +1 -1
- package/build-module/menu/styles.js +16 -16
- package/build-module/menu/styles.js.map +1 -1
- package/build-module/menu-items-choice/index.js +1 -0
- package/build-module/menu-items-choice/index.js.map +1 -1
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +1 -0
- package/build-module/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js +1 -0
- package/build-module/mobile/bottom-sheet/keyboard-avoiding-view.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet/picker-cell.native.js +1 -0
- package/build-module/mobile/bottom-sheet/picker-cell.native.js.map +1 -1
- package/build-module/mobile/bottom-sheet-select-control/index.native.js +1 -0
- package/build-module/mobile/bottom-sheet-select-control/index.native.js.map +1 -1
- package/build-module/mobile/color-settings/palette.screen.native.js +1 -0
- package/build-module/mobile/color-settings/palette.screen.native.js.map +1 -1
- package/build-module/mobile/gradient/index.native.js +1 -0
- package/build-module/mobile/gradient/index.native.js.map +1 -1
- package/build-module/mobile/media-edit/index.native.js +1 -0
- package/build-module/mobile/media-edit/index.native.js.map +1 -1
- package/build-module/mobile/picker/index.android.js +1 -0
- package/build-module/mobile/picker/index.android.js.map +1 -1
- package/build-module/mobile/picker/index.ios.js +1 -0
- package/build-module/mobile/picker/index.ios.js.map +1 -1
- package/build-module/mobile/segmented-control/index.native.js +1 -0
- package/build-module/mobile/segmented-control/index.native.js.map +1 -1
- package/build-module/mobile/utils/get-px-from-css-unit.native.js +1 -0
- package/build-module/mobile/utils/get-px-from-css-unit.native.js.map +1 -1
- package/build-module/modal/aria-helper.js +0 -1
- package/build-module/modal/aria-helper.js.map +1 -1
- package/build-module/modal/index.js +0 -1
- package/build-module/modal/index.js.map +1 -1
- package/build-module/navigable-container/container.js +1 -0
- package/build-module/navigable-container/container.js.map +1 -1
- package/build-module/navigation/group/index.js +1 -0
- package/build-module/navigation/group/index.js.map +1 -1
- package/build-module/navigation/menu/menu-title-search.js +1 -0
- package/build-module/navigation/menu/menu-title-search.js.map +1 -1
- package/build-module/navigation/menu/search-no-results-found.js +1 -0
- package/build-module/navigation/menu/search-no-results-found.js.map +1 -1
- package/build-module/navigation/styles/navigation-styles.js +12 -12
- package/build-module/navigation/styles/navigation-styles.js.map +1 -1
- package/build-module/navigator/navigator/component.js +1 -0
- package/build-module/navigator/navigator/component.js.map +1 -1
- package/build-module/navigator/navigator-screen/component.js +1 -0
- package/build-module/navigator/navigator-screen/component.js.map +1 -1
- package/build-module/navigator/utils/router.js +1 -0
- package/build-module/navigator/utils/router.js.map +1 -1
- package/build-module/notice/index.js +1 -0
- package/build-module/notice/index.js.map +1 -1
- package/build-module/notice/list.js +1 -0
- package/build-module/notice/list.js.map +1 -1
- package/build-module/notice/list.native.js +1 -0
- package/build-module/notice/list.native.js.map +1 -1
- package/build-module/number-control/index.js +8 -0
- package/build-module/number-control/index.js.map +1 -1
- package/build-module/number-control/types.js.map +1 -1
- package/build-module/palette-edit/index.js +1 -0
- package/build-module/palette-edit/index.js.map +1 -1
- package/build-module/panel/actions.native.js +1 -0
- package/build-module/panel/actions.native.js.map +1 -1
- package/build-module/query-controls/index.js +1 -0
- package/build-module/query-controls/index.js.map +1 -1
- package/build-module/query-controls/terms.js +1 -0
- package/build-module/query-controls/terms.js.map +1 -1
- package/build-module/radio-control/index.js +1 -0
- package/build-module/radio-control/index.js.map +1 -1
- package/build-module/radio-control/index.native.js +1 -0
- package/build-module/radio-control/index.native.js.map +1 -1
- package/build-module/range-control/index.js +2 -1
- package/build-module/range-control/index.js.map +1 -1
- package/build-module/range-control/mark.js +0 -1
- package/build-module/range-control/mark.js.map +1 -1
- package/build-module/range-control/rail.js +1 -0
- package/build-module/range-control/rail.js.map +1 -1
- package/build-module/range-control/styles/range-control-styles.js +33 -45
- package/build-module/range-control/styles/range-control-styles.js.map +1 -1
- package/build-module/resizable-box/index.js +10 -1
- package/build-module/resizable-box/index.js.map +1 -1
- package/build-module/sandbox/index.js +1 -0
- package/build-module/sandbox/index.js.map +1 -1
- package/build-module/sandbox/index.native.js +1 -0
- package/build-module/sandbox/index.native.js.map +1 -1
- package/build-module/search-control/index.native.js +1 -0
- package/build-module/search-control/index.native.js.map +1 -1
- package/build-module/select-control/index.js +1 -0
- package/build-module/select-control/index.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/fill.js +9 -13
- package/build-module/slot-fill/bubbles-virtually/fill.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js +7 -10
- package/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js.map +1 -1
- package/build-module/slot-fill/bubbles-virtually/slot.js +4 -10
- package/build-module/slot-fill/bubbles-virtually/slot.js.map +1 -1
- package/build-module/slot-fill/provider.js +1 -0
- package/build-module/slot-fill/provider.js.map +1 -1
- package/build-module/slot-fill/slot.js +1 -0
- package/build-module/slot-fill/slot.js.map +1 -1
- package/build-module/slot-fill/types.js.map +1 -1
- package/build-module/snackbar/index.js +1 -0
- package/build-module/snackbar/index.js.map +1 -1
- package/build-module/snackbar/list.js +1 -0
- package/build-module/snackbar/list.js.map +1 -1
- package/build-module/style-provider/index.js +0 -1
- package/build-module/style-provider/index.js.map +1 -1
- package/build-module/tab-panel/index.js +1 -0
- package/build-module/tab-panel/index.js.map +1 -1
- package/build-module/tabs/index.js +1 -0
- package/build-module/tabs/index.js.map +1 -1
- package/build-module/tabs/tab.js +0 -15
- package/build-module/tabs/tab.js.map +1 -1
- package/build-module/text/utils.js +1 -0
- package/build-module/text/utils.js.map +1 -1
- package/build-module/theme/color-algorithms.js +1 -0
- package/build-module/theme/color-algorithms.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control/styles.js +7 -7
- package/build-module/toggle-group-control/toggle-group-control/styles.js.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js +8 -8
- package/build-module/toggle-group-control/toggle-group-control-option-base/styles.js.map +1 -1
- package/build-module/toolbar/toolbar-button/index.js +2 -0
- package/build-module/toolbar/toolbar-button/index.js.map +1 -1
- package/build-module/toolbar/toolbar-group/index.js +1 -0
- package/build-module/toolbar/toolbar-group/index.js.map +1 -1
- package/build-module/tools-panel/tools-panel/component.js +2 -0
- package/build-module/tools-panel/tools-panel/component.js.map +1 -1
- package/build-module/tools-panel/tools-panel/hook.js +1 -0
- package/build-module/tools-panel/tools-panel/hook.js.map +1 -1
- package/build-module/tools-panel/tools-panel-header/component.js +1 -0
- package/build-module/tools-panel/tools-panel-header/component.js.map +1 -1
- package/build-module/tree-grid/cell.js +4 -1
- package/build-module/tree-grid/cell.js.map +1 -1
- package/build-module/tree-grid/index.js +1 -0
- package/build-module/tree-grid/index.js.map +1 -1
- package/build-module/tree-grid/types.js.map +1 -1
- package/build-module/tree-select/index.js +1 -0
- package/build-module/tree-select/index.js.map +1 -1
- package/build-module/unit-control/index.js +11 -1
- package/build-module/unit-control/index.js.map +1 -1
- package/build-module/unit-control/index.native.js +1 -0
- package/build-module/unit-control/index.native.js.map +1 -1
- package/build-module/unit-control/types.js.map +1 -1
- package/build-module/unit-control/unit-select-control.js +1 -0
- package/build-module/unit-control/unit-select-control.js.map +1 -1
- package/build-module/unit-control/utils.js +1 -0
- package/build-module/unit-control/utils.js.map +1 -1
- package/build-module/utils/colors-values.js +3 -0
- package/build-module/utils/colors-values.js.map +1 -1
- package/build-module/utils/config-values.js +0 -1
- package/build-module/utils/config-values.js.map +1 -1
- package/build-module/utils/get-valid-children.js +1 -0
- package/build-module/utils/get-valid-children.js.map +1 -1
- package/build-module/utils/hooks/use-animated-offset-rect.js +1 -0
- package/build-module/utils/hooks/use-animated-offset-rect.js.map +1 -1
- package/build-module/utils/hooks/use-cx.js +1 -0
- package/build-module/utils/hooks/use-cx.js.map +1 -1
- package/build-module/utils/math.js +1 -0
- package/build-module/utils/math.js.map +1 -1
- package/build-module/utils/rtl.js +1 -0
- package/build-module/utils/rtl.js.map +1 -1
- package/build-module/utils/values.js +1 -0
- package/build-module/utils/values.js.map +1 -1
- package/build-module/z-stack/component.js +1 -0
- package/build-module/z-stack/component.js.map +1 -1
- package/build-style/style-rtl.css +15 -11
- package/build-style/style.css +15 -11
- package/build-types/alignment-matrix-control/styles.d.ts.map +1 -1
- package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts.map +1 -1
- package/build-types/animation/index.d.ts +1 -1
- package/build-types/animation/index.d.ts.map +1 -1
- package/build-types/base-control/hooks.d.ts +4 -4
- package/build-types/base-control/styles/base-control-styles.d.ts.map +1 -1
- package/build-types/border-box-control/border-box-control/hook.d.ts +83 -83
- package/build-types/border-box-control/border-box-control-linked-button/hook.d.ts +93 -93
- package/build-types/border-box-control/border-box-control-split-controls/hook.d.ts +83 -83
- package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +83 -83
- package/build-types/border-control/border-control/component.d.ts.map +1 -1
- package/build-types/border-control/border-control/hook.d.ts +83 -83
- package/build-types/border-control/border-control-dropdown/hook.d.ts +83 -83
- package/build-types/border-control/stories/index.story.d.ts.map +1 -1
- package/build-types/box-control/index.d.ts +14 -13
- package/build-types/box-control/index.d.ts.map +1 -1
- package/build-types/box-control/input-control.d.ts +3 -0
- package/build-types/box-control/input-control.d.ts.map +1 -0
- package/build-types/box-control/stories/index.story.d.ts +852 -816
- package/build-types/box-control/stories/index.story.d.ts.map +1 -1
- package/build-types/box-control/styles/box-control-icon-styles.d.ts.map +1 -1
- package/build-types/box-control/styles/box-control-styles.d.ts +3 -2
- package/build-types/box-control/styles/box-control-styles.d.ts.map +1 -1
- package/build-types/box-control/types.d.ts +25 -3
- package/build-types/box-control/types.d.ts.map +1 -1
- package/build-types/box-control/utils.d.ts +23 -15
- package/build-types/box-control/utils.d.ts.map +1 -1
- package/build-types/button/stories/index.story.d.ts +18 -0
- package/build-types/button/stories/index.story.d.ts.map +1 -1
- package/build-types/button/types.d.ts +6 -4
- package/build-types/button/types.d.ts.map +1 -1
- package/build-types/card/card/hook.d.ts +83 -83
- package/build-types/card/card-body/hook.d.ts +83 -83
- package/build-types/card/card-divider/hook.d.ts +84 -84
- package/build-types/card/card-footer/hook.d.ts +83 -83
- package/build-types/card/card-header/hook.d.ts +83 -83
- package/build-types/card/card-media/hook.d.ts +83 -83
- package/build-types/circular-option-picker/circular-option-picker-actions.d.ts.map +1 -1
- package/build-types/circular-option-picker/circular-option-picker-option.d.ts.map +1 -1
- package/build-types/clipboard-button/index.d.ts.map +1 -1
- 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.map +1 -1
- package/build-types/composite/index.d.ts.map +1 -1
- package/build-types/composite/item.d.ts.map +1 -1
- package/build-types/context/constants.d.ts.map +1 -1
- package/build-types/context/get-styled-class-name-from-key.d.ts +1 -9
- package/build-types/context/get-styled-class-name-from-key.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/index.d.ts +1 -1
- package/build-types/custom-gradient-picker/index.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/types.d.ts +6 -0
- package/build-types/custom-gradient-picker/types.d.ts.map +1 -1
- package/build-types/custom-select-control/index.d.ts.map +1 -1
- package/build-types/custom-select-control/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-select-control/types.d.ts +7 -0
- package/build-types/custom-select-control/types.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-select-control-v2/styles.d.ts.map +1 -1
- package/build-types/date-time/date/styles.d.ts.map +1 -1
- package/build-types/date-time/stories/date-time.story.d.ts.map +1 -1
- package/build-types/date-time/stories/date.story.d.ts.map +1 -1
- package/build-types/date-time/stories/time.story.d.ts.map +1 -1
- 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.map +1 -1
- package/build-types/drop-zone/index.d.ts +1 -1
- package/build-types/drop-zone/index.d.ts.map +1 -1
- package/build-types/drop-zone/types.d.ts +5 -0
- package/build-types/drop-zone/types.d.ts.map +1 -1
- package/build-types/dropdown-menu/index.d.ts.map +1 -1
- package/build-types/duotone-picker/color-list-picker/index.d.ts.map +1 -1
- package/build-types/elevation/hook.d.ts +83 -83
- package/build-types/flex/flex/hook.d.ts +83 -83
- package/build-types/flex/flex-block/hook.d.ts +83 -83
- package/build-types/flex/flex-item/hook.d.ts +83 -83
- package/build-types/focal-point-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +2 -1
- package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts.map +1 -1
- package/build-types/font-size-picker/font-size-picker-select.d.ts.map +1 -1
- package/build-types/font-size-picker/index.d.ts.map +1 -1
- package/build-types/font-size-picker/styles.d.ts.map +1 -1
- package/build-types/form-file-upload/index.d.ts +2 -1
- package/build-types/form-file-upload/index.d.ts.map +1 -1
- package/build-types/form-file-upload/stories/index.story.d.ts.map +1 -1
- package/build-types/form-file-upload/types.d.ts +10 -8
- package/build-types/form-file-upload/types.d.ts.map +1 -1
- package/build-types/form-token-field/index.d.ts.map +1 -1
- package/build-types/form-token-field/stories/index.story.d.ts.map +1 -1
- package/build-types/gradient-picker/index.d.ts +1 -1
- package/build-types/gradient-picker/index.d.ts.map +1 -1
- package/build-types/gradient-picker/types.d.ts +6 -0
- package/build-types/gradient-picker/types.d.ts.map +1 -1
- package/build-types/grid/hook.d.ts +83 -83
- package/build-types/h-stack/hook.d.ts +83 -83
- package/build-types/heading/hook.d.ts +82 -82
- package/build-types/higher-order/with-fallback-styles/index.d.ts +2 -2
- package/build-types/higher-order/with-filters/index.d.ts +4 -4
- package/build-types/icon/index.d.ts +23 -7
- package/build-types/icon/index.d.ts.map +1 -1
- package/build-types/icon/stories/index.story.d.ts +7 -1
- package/build-types/icon/stories/index.story.d.ts.map +1 -1
- package/build-types/index.d.ts +1 -1
- package/build-types/index.d.ts.map +1 -1
- package/build-types/input-control/styles/input-control-styles.d.ts.map +1 -1
- package/build-types/item-group/item/hook.d.ts +83 -83
- package/build-types/item-group/item-group/hook.d.ts +83 -83
- package/build-types/lock-unlock.d.ts +2 -2
- package/build-types/menu/checkbox-item.d.ts.map +1 -1
- package/build-types/menu/group-label.d.ts.map +1 -1
- package/build-types/menu/group.d.ts.map +1 -1
- package/build-types/menu/index.d.ts.map +1 -1
- package/build-types/menu/item-help-text.d.ts.map +1 -1
- package/build-types/menu/item-label.d.ts.map +1 -1
- package/build-types/menu/item.d.ts.map +1 -1
- package/build-types/menu/radio-item.d.ts.map +1 -1
- package/build-types/menu/separator.d.ts.map +1 -1
- package/build-types/menu/styles.d.ts.map +1 -1
- package/build-types/menu-item/stories/index.story.d.ts.map +1 -1
- package/build-types/navigation/styles/navigation-styles.d.ts.map +1 -1
- package/build-types/navigator/navigator-back-button/hook.d.ts +92 -92
- package/build-types/navigator/navigator-button/hook.d.ts +92 -92
- 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 +2 -1
- package/build-types/number-control/stories/index.story.d.ts.map +1 -1
- package/build-types/number-control/types.d.ts +7 -0
- package/build-types/number-control/types.d.ts.map +1 -1
- package/build-types/popover/stories/index.story.d.ts.map +1 -1
- package/build-types/progress-bar/styles.d.ts.map +1 -1
- package/build-types/range-control/index.d.ts +1 -1
- package/build-types/range-control/index.d.ts.map +1 -1
- package/build-types/range-control/mark.d.ts.map +1 -1
- package/build-types/range-control/styles/range-control-styles.d.ts +4 -3
- package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
- package/build-types/resizable-box/index.d.ts.map +1 -1
- package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts.map +1 -1
- package/build-types/resizable-box/stories/index.story.d.ts.map +1 -1
- package/build-types/scrollable/hook.d.ts +83 -83
- package/build-types/scrollable/stories/index.story.d.ts.map +1 -1
- package/build-types/select-control/index.d.ts.map +1 -1
- package/build-types/select-control/stories/index.story.d.ts.map +1 -1
- package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
- package/build-types/slot-fill/bubbles-virtually/fill.d.ts.map +1 -1
- package/build-types/slot-fill/bubbles-virtually/slot-fill-provider.d.ts.map +1 -1
- package/build-types/slot-fill/bubbles-virtually/slot.d.ts.map +1 -1
- package/build-types/slot-fill/bubbles-virtually/use-slot-fills.d.ts +1 -1
- package/build-types/slot-fill/types.d.ts +4 -3
- package/build-types/slot-fill/types.d.ts.map +1 -1
- package/build-types/spacer/hook.d.ts +83 -83
- package/build-types/spinner/styles.d.ts.map +1 -1
- package/build-types/surface/hook.d.ts +83 -83
- package/build-types/tabs/tab.d.ts +3 -0
- package/build-types/tabs/tab.d.ts.map +1 -1
- package/build-types/text/hook.d.ts +83 -83
- package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-button/index.d.ts.map +1 -1
- package/build-types/tools-panel/stories/index.story.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel/component.d.ts +2 -0
- package/build-types/tools-panel/tools-panel/component.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel/hook.d.ts +83 -83
- package/build-types/tools-panel/tools-panel-header/hook.d.ts +83 -83
- package/build-types/tools-panel/tools-panel-item/hook.d.ts +83 -83
- package/build-types/tree-grid/cell.d.ts.map +1 -1
- package/build-types/tree-grid/types.d.ts +1 -1
- package/build-types/tree-grid/types.d.ts.map +1 -1
- package/build-types/truncate/hook.d.ts +83 -83
- package/build-types/unit-control/index.d.ts +3 -2
- package/build-types/unit-control/index.d.ts.map +1 -1
- package/build-types/unit-control/stories/index.story.d.ts.map +1 -1
- 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/unit-control/types.d.ts +7 -0
- package/build-types/unit-control/types.d.ts.map +1 -1
- package/build-types/utils/colors-values.d.ts +3 -0
- package/build-types/utils/colors-values.d.ts.map +1 -1
- package/build-types/utils/config-values.d.ts +0 -1
- package/build-types/utils/hooks/use-controlled-state.d.ts +1 -1
- package/build-types/utils/hooks/use-controlled-state.d.ts.map +1 -1
- package/build-types/utils/rtl.d.ts +1 -1
- package/build-types/utils/rtl.d.ts.map +1 -1
- package/build-types/v-stack/hook.d.ts +83 -83
- package/build-types/z-stack/styles.d.ts.map +1 -1
- package/package.json +20 -20
- package/src/alignment-matrix-control/stories/index.story.tsx +2 -2
- package/src/angle-picker-control/index.tsx +1 -1
- package/src/angle-picker-control/stories/index.story.tsx +2 -2
- package/src/animation/index.tsx +0 -1
- package/src/base-control/stories/index.story.tsx +1 -1
- package/src/border-box-control/border-box-control-split-controls/component.tsx +1 -1
- package/src/border-box-control/stories/index.story.tsx +1 -1
- package/src/border-control/border-control/component.tsx +2 -0
- package/src/border-control/stories/index.story.tsx +1 -1
- package/src/box-control/README.md +80 -60
- package/src/box-control/docs-manifest.json +5 -0
- package/src/box-control/index.tsx +47 -29
- package/src/box-control/input-control.tsx +197 -0
- package/src/box-control/stories/index.story.tsx +2 -1
- package/src/box-control/test/index.tsx +33 -26
- package/src/box-control/types.ts +80 -55
- package/src/box-control/utils.ts +62 -60
- package/src/button/README.md +108 -219
- package/src/button/docs-manifest.json +5 -0
- package/src/button/stories/best-practices.mdx +31 -0
- package/src/button/stories/index.story.tsx +18 -0
- package/src/button/types.ts +6 -4
- package/src/button-group/stories/index.story.tsx +1 -1
- package/src/card/stories/index.story.tsx +2 -2
- package/src/checkbox-control/stories/index.story.tsx +1 -1
- package/src/circular-option-picker/circular-option-picker-actions.tsx +1 -0
- package/src/circular-option-picker/circular-option-picker-option.tsx +1 -0
- package/src/circular-option-picker/stories/index.story.tsx +2 -2
- package/src/circular-option-picker/style.scss +2 -2
- package/src/clipboard-button/index.tsx +5 -3
- package/src/color-palette/stories/index.story.tsx +3 -3
- package/src/color-picker/input-with-slider.tsx +1 -1
- package/src/color-picker/stories/index.story.tsx +2 -2
- package/src/combobox-control/stories/index.story.tsx +1 -1
- package/src/composite/item.tsx +1 -19
- package/src/composite/stories/index.story.tsx +3 -3
- package/src/confirm-dialog/stories/index.story.tsx +1 -1
- package/src/custom-gradient-picker/gradient-bar/control-points.tsx +2 -0
- package/src/custom-gradient-picker/index.tsx +2 -0
- package/src/custom-gradient-picker/style.scss +1 -1
- package/src/custom-gradient-picker/types.ts +6 -0
- package/src/custom-select-control/README.md +2 -0
- package/src/custom-select-control/index.tsx +11 -2
- package/src/custom-select-control/stories/index.story.tsx +3 -2
- package/src/custom-select-control/test/index.tsx +13 -9
- package/src/custom-select-control/types.ts +7 -0
- package/src/custom-select-control-v2/stories/index.story.tsx +2 -2
- package/src/date-time/stories/date-time.story.tsx +4 -1
- package/src/date-time/stories/date.story.tsx +4 -1
- package/src/date-time/stories/time.story.tsx +4 -1
- package/src/dimension-control/stories/index.story.tsx +1 -1
- package/src/disabled/stories/index.story.tsx +3 -3
- package/src/divider/stories/index.story.tsx +1 -1
- package/src/draggable/stories/index.story.tsx +2 -2
- package/src/drop-zone/index.tsx +21 -24
- package/src/drop-zone/types.ts +5 -0
- package/src/dropdown/stories/index.story.tsx +7 -7
- package/src/dropdown-menu/index.tsx +4 -1
- package/src/dropdown-menu/stories/index.story.tsx +3 -3
- package/src/dropdown-menu/style.scss +1 -1
- package/src/duotone-picker/color-list-picker/index.tsx +8 -8
- package/src/duotone-picker/color-list-picker/style.scss +0 -6
- package/src/duotone-picker/stories/duotone-picker.story.tsx +1 -1
- package/src/flex/stories/index.story.tsx +1 -1
- package/src/font-size-picker/font-size-picker-select.tsx +1 -0
- package/src/font-size-picker/index.tsx +1 -0
- package/src/font-size-picker/stories/index.story.tsx +1 -1
- package/src/form-file-upload/README.md +58 -48
- package/src/form-file-upload/docs-manifest.json +5 -0
- package/src/form-file-upload/index.tsx +12 -1
- package/src/form-file-upload/stories/index.story.tsx +4 -3
- package/src/form-file-upload/test/index.tsx +5 -1
- package/src/form-file-upload/types.ts +10 -8
- package/src/form-token-field/README.md +1 -0
- package/src/form-token-field/index.tsx +7 -0
- package/src/form-token-field/stories/index.story.tsx +4 -2
- package/src/form-token-field/test/index.tsx +5 -1
- package/src/gradient-picker/README.md +8 -0
- package/src/gradient-picker/index.tsx +2 -0
- package/src/gradient-picker/stories/index.story.tsx +1 -1
- package/src/gradient-picker/types.ts +6 -0
- package/src/grid/stories/index.story.tsx +1 -1
- package/src/h-stack/stories/index.story.tsx +2 -2
- package/src/icon/README.md +22 -65
- package/src/icon/docs-manifest.json +5 -0
- package/src/icon/index.tsx +28 -13
- package/src/icon/stories/index.story.tsx +50 -8
- package/src/index.ts +1 -5
- package/src/input-control/stories/index.story.tsx +4 -4
- package/src/item-group/stories/index.story.tsx +2 -2
- package/src/menu/checkbox-item.tsx +9 -7
- package/src/menu/group-label.tsx +8 -1
- package/src/menu/group.tsx +8 -1
- package/src/menu/item-help-text.tsx +10 -1
- package/src/menu/item-label.tsx +10 -1
- package/src/menu/item.tsx +8 -6
- package/src/menu/radio-item.tsx +9 -7
- package/src/menu/separator.tsx +9 -2
- package/src/menu/stories/index.story.tsx +2 -2
- package/src/menu/styles.ts +1 -1
- package/src/menu-group/stories/index.story.tsx +1 -1
- package/src/menu-item/stories/index.story.tsx +1 -1
- package/src/menu-items-choice/stories/index.story.tsx +1 -1
- package/src/menu-items-choice/style.scss +1 -0
- package/src/modal/stories/index.story.tsx +2 -2
- package/src/modal/test/index.tsx +2 -1
- package/src/navigable-container/stories/navigable-menu.story.tsx +1 -1
- package/src/navigable-container/stories/tabbable-container.story.tsx +1 -1
- package/src/navigation/stories/index.story.tsx +4 -4
- package/src/navigation/styles/navigation-styles.tsx +3 -2
- package/src/navigator/stories/index.story.tsx +3 -3
- package/src/number-control/README.md +2 -1
- package/src/number-control/index.tsx +9 -0
- package/src/number-control/stories/index.story.tsx +2 -1
- package/src/number-control/test/index.tsx +5 -1
- package/src/number-control/types.ts +7 -0
- package/src/panel/stories/index.story.tsx +1 -1
- package/src/placeholder/stories/index.story.tsx +3 -3
- package/src/popover/stories/index.story.tsx +11 -9
- package/src/query-controls/stories/index.story.tsx +6 -6
- package/src/radio-control/stories/index.story.tsx +1 -1
- package/src/radio-group/stories/index.story.tsx +3 -3
- package/src/range-control/index.tsx +1 -0
- package/src/range-control/mark.tsx +0 -1
- package/src/range-control/stories/index.story.tsx +7 -7
- package/src/range-control/styles/range-control-styles.ts +18 -19
- package/src/resizable-box/index.tsx +10 -0
- package/src/resizable-box/stories/index.story.tsx +1 -1
- package/src/resizable-box/style.scss +8 -0
- package/src/responsive-wrapper/stories/index.story.tsx +1 -1
- package/src/sandbox/stories/index.story.tsx +1 -1
- package/src/scrollable/stories/index.story.tsx +2 -1
- package/src/search-control/stories/index.story.tsx +1 -1
- package/src/select-control/stories/index.story.tsx +1 -1
- package/src/slot-fill/bubbles-virtually/fill.tsx +7 -11
- package/src/slot-fill/bubbles-virtually/slot-fill-provider.tsx +2 -13
- package/src/slot-fill/bubbles-virtually/slot.tsx +4 -7
- package/src/slot-fill/stories/index.story.tsx +2 -2
- package/src/slot-fill/types.ts +4 -3
- package/src/snackbar/stories/index.story.tsx +4 -4
- package/src/snackbar/stories/list.story.tsx +2 -2
- package/src/surface/stories/index.story.tsx +1 -1
- package/src/tabs/tab.tsx +0 -18
- package/src/tabs/test/index.tsx +1492 -947
- package/src/text-control/stories/index.story.tsx +1 -1
- package/src/textarea-control/stories/index.story.tsx +1 -1
- package/src/theme/stories/index.story.tsx +1 -1
- package/src/toggle-control/stories/index.story.tsx +1 -1
- package/src/toggle-group-control/stories/index.story.tsx +1 -1
- package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +22 -22
- package/src/toggle-group-control/toggle-group-control/styles.ts +1 -1
- package/src/toggle-group-control/toggle-group-control-option-base/styles.ts +6 -6
- package/src/toolbar/stories/index.story.tsx +1 -1
- package/src/toolbar/toolbar-button/index.tsx +2 -0
- package/src/tools-panel/stories/index.story.tsx +15 -3
- package/src/tools-panel/test/index.tsx +0 -17
- package/src/tools-panel/tools-panel/README.md +4 -0
- package/src/tools-panel/tools-panel/component.tsx +2 -0
- package/src/tooltip/stories/index.story.tsx +1 -1
- package/src/tree-grid/cell.tsx +5 -1
- package/src/tree-grid/stories/index.story.tsx +1 -1
- package/src/tree-grid/types.ts +1 -1
- package/src/tree-select/stories/index.story.tsx +1 -1
- package/src/unit-control/README.md +3 -3
- package/src/unit-control/index.tsx +11 -1
- package/src/unit-control/stories/index.story.tsx +5 -4
- package/src/unit-control/test/index.tsx +5 -1
- package/src/unit-control/types.ts +7 -0
- package/src/utils/colors-values.js +3 -0
- package/src/utils/config-values.js +0 -1
- package/src/view/stories/index.story.tsx +1 -1
- package/src/visually-hidden/stories/index.story.tsx +1 -1
- package/src/z-stack/stories/index.story.tsx +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/build/box-control/all-input-control.js +0 -90
- package/build/box-control/all-input-control.js.map +0 -1
- package/build/box-control/axial-input-controls.js +0 -124
- package/build/box-control/axial-input-controls.js.map +0 -1
- package/build/box-control/input-controls.js +0 -132
- package/build/box-control/input-controls.js.map +0 -1
- package/build/menu/use-temporary-focus-visible-fix.js +0 -27
- package/build/menu/use-temporary-focus-visible-fix.js.map +0 -1
- package/build-module/box-control/all-input-control.js +0 -83
- package/build-module/box-control/all-input-control.js.map +0 -1
- package/build-module/box-control/axial-input-controls.js +0 -115
- package/build-module/box-control/axial-input-controls.js.map +0 -1
- package/build-module/box-control/input-controls.js +0 -123
- package/build-module/box-control/input-controls.js.map +0 -1
- package/build-module/menu/use-temporary-focus-visible-fix.js +0 -20
- package/build-module/menu/use-temporary-focus-visible-fix.js.map +0 -1
- package/build-types/box-control/all-input-control.d.ts +0 -3
- package/build-types/box-control/all-input-control.d.ts.map +0 -1
- package/build-types/box-control/axial-input-controls.d.ts +0 -3
- package/build-types/box-control/axial-input-controls.d.ts.map +0 -1
- package/build-types/box-control/input-controls.d.ts +0 -3
- package/build-types/box-control/input-controls.d.ts.map +0 -1
- package/build-types/menu/use-temporary-focus-visible-fix.d.ts +0 -8
- package/build-types/menu/use-temporary-focus-visible-fix.d.ts.map +0 -1
- package/src/box-control/all-input-control.tsx +0 -109
- package/src/box-control/axial-input-controls.tsx +0 -164
- package/src/box-control/input-controls.tsx +0 -166
- package/src/menu/use-temporary-focus-visible-fix.ts +0 -22
|
@@ -21,7 +21,7 @@ const meta: Meta< typeof TextControl > = {
|
|
|
21
21
|
help: { control: { type: 'text' } },
|
|
22
22
|
label: { control: { type: 'text' } },
|
|
23
23
|
onChange: { action: 'onChange' },
|
|
24
|
-
value: { control:
|
|
24
|
+
value: { control: false },
|
|
25
25
|
},
|
|
26
26
|
parameters: {
|
|
27
27
|
controls: {
|
|
@@ -21,7 +21,7 @@ const meta: Meta< typeof TextareaControl > = {
|
|
|
21
21
|
onChange: { action: 'onChange' },
|
|
22
22
|
label: { control: { type: 'text' } },
|
|
23
23
|
help: { control: { type: 'text' } },
|
|
24
|
-
value: { control:
|
|
24
|
+
value: { control: false },
|
|
25
25
|
},
|
|
26
26
|
parameters: {
|
|
27
27
|
controls: {
|
|
@@ -37,7 +37,7 @@ export const Default = Template.bind( {} );
|
|
|
37
37
|
Default.args = {};
|
|
38
38
|
|
|
39
39
|
export const Nested: StoryFn< typeof Theme > = ( args ) => (
|
|
40
|
-
<Theme accent="
|
|
40
|
+
<Theme accent="crimson">
|
|
41
41
|
<Button variant="primary">Outer theme (hardcoded)</Button>
|
|
42
42
|
|
|
43
43
|
<Theme { ...args }>
|
|
@@ -18,7 +18,7 @@ const meta: Meta< typeof ToggleControl > = {
|
|
|
18
18
|
id: 'components-togglecontrol',
|
|
19
19
|
component: ToggleControl,
|
|
20
20
|
argTypes: {
|
|
21
|
-
checked: { control:
|
|
21
|
+
checked: { control: false },
|
|
22
22
|
help: { control: { type: 'text' } },
|
|
23
23
|
label: { control: { type: 'text' } },
|
|
24
24
|
onChange: { action: 'onChange' },
|
|
@@ -32,7 +32,7 @@ const meta: Meta< typeof ToggleGroupControl > = {
|
|
|
32
32
|
argTypes: {
|
|
33
33
|
help: { control: { type: 'text' } },
|
|
34
34
|
onChange: { action: 'onChange' },
|
|
35
|
-
value: { control:
|
|
35
|
+
value: { control: false },
|
|
36
36
|
},
|
|
37
37
|
parameters: {
|
|
38
38
|
controls: { expanded: true },
|
|
@@ -72,7 +72,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
72
72
|
content: '';
|
|
73
73
|
position: absolute;
|
|
74
74
|
pointer-events: none;
|
|
75
|
-
background: #1e1e1e;
|
|
75
|
+
background: var(--wp-components-color-foreground, #1e1e1e);
|
|
76
76
|
outline: 2px solid transparent;
|
|
77
77
|
outline-offset: -3px;
|
|
78
78
|
--antialiasing-factor: 100;
|
|
@@ -134,7 +134,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
134
134
|
background: transparent;
|
|
135
135
|
border: none;
|
|
136
136
|
border-radius: 1px;
|
|
137
|
-
color: #757575;
|
|
137
|
+
color: var(--wp-components-color-gray-700, #757575);
|
|
138
138
|
fill: currentColor;
|
|
139
139
|
cursor: pointer;
|
|
140
140
|
display: -webkit-box;
|
|
@@ -158,12 +158,12 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
158
158
|
user-select: none;
|
|
159
159
|
width: 100%;
|
|
160
160
|
z-index: 2;
|
|
161
|
-
color: #1e1e1e;
|
|
161
|
+
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
162
162
|
height: 32px;
|
|
163
163
|
aspect-ratio: 1;
|
|
164
164
|
padding-left: 0;
|
|
165
165
|
padding-right: 0;
|
|
166
|
-
color: #fff;
|
|
166
|
+
color: var(--wp-components-color-foreground-inverted, #fff);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
@media not ( prefers-reduced-motion ) {
|
|
@@ -183,7 +183,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
.emotion-12:active {
|
|
186
|
-
background: #fff;
|
|
186
|
+
background: var(--wp-components-color-background, #fff);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
.emotion-12:active {
|
|
@@ -211,7 +211,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
211
211
|
background: transparent;
|
|
212
212
|
border: none;
|
|
213
213
|
border-radius: 1px;
|
|
214
|
-
color: #757575;
|
|
214
|
+
color: var(--wp-components-color-gray-700, #757575);
|
|
215
215
|
fill: currentColor;
|
|
216
216
|
cursor: pointer;
|
|
217
217
|
display: -webkit-box;
|
|
@@ -235,7 +235,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
235
235
|
user-select: none;
|
|
236
236
|
width: 100%;
|
|
237
237
|
z-index: 2;
|
|
238
|
-
color: #1e1e1e;
|
|
238
|
+
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
239
239
|
height: 32px;
|
|
240
240
|
aspect-ratio: 1;
|
|
241
241
|
padding-left: 0;
|
|
@@ -259,7 +259,7 @@ exports[`ToggleGroupControl controlled should render correctly with icons 1`] =
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.emotion-17:active {
|
|
262
|
-
background: #fff;
|
|
262
|
+
background: var(--wp-components-color-background, #fff);
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
<div>
|
|
@@ -437,7 +437,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
437
437
|
content: '';
|
|
438
438
|
position: absolute;
|
|
439
439
|
pointer-events: none;
|
|
440
|
-
background: #1e1e1e;
|
|
440
|
+
background: var(--wp-components-color-foreground, #1e1e1e);
|
|
441
441
|
outline: 2px solid transparent;
|
|
442
442
|
outline-offset: -3px;
|
|
443
443
|
--antialiasing-factor: 100;
|
|
@@ -499,7 +499,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
499
499
|
background: transparent;
|
|
500
500
|
border: none;
|
|
501
501
|
border-radius: 1px;
|
|
502
|
-
color: #757575;
|
|
502
|
+
color: var(--wp-components-color-gray-700, #757575);
|
|
503
503
|
fill: currentColor;
|
|
504
504
|
cursor: pointer;
|
|
505
505
|
display: -webkit-box;
|
|
@@ -542,7 +542,7 @@ exports[`ToggleGroupControl controlled should render correctly with text options
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
.emotion-12:active {
|
|
545
|
-
background: #fff;
|
|
545
|
+
background: var(--wp-components-color-background, #fff);
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
.emotion-13 {
|
|
@@ -706,7 +706,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
706
706
|
content: '';
|
|
707
707
|
position: absolute;
|
|
708
708
|
pointer-events: none;
|
|
709
|
-
background: #1e1e1e;
|
|
709
|
+
background: var(--wp-components-color-foreground, #1e1e1e);
|
|
710
710
|
outline: 2px solid transparent;
|
|
711
711
|
outline-offset: -3px;
|
|
712
712
|
--antialiasing-factor: 100;
|
|
@@ -768,7 +768,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
768
768
|
background: transparent;
|
|
769
769
|
border: none;
|
|
770
770
|
border-radius: 1px;
|
|
771
|
-
color: #757575;
|
|
771
|
+
color: var(--wp-components-color-gray-700, #757575);
|
|
772
772
|
fill: currentColor;
|
|
773
773
|
cursor: pointer;
|
|
774
774
|
display: -webkit-box;
|
|
@@ -792,12 +792,12 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
792
792
|
user-select: none;
|
|
793
793
|
width: 100%;
|
|
794
794
|
z-index: 2;
|
|
795
|
-
color: #1e1e1e;
|
|
795
|
+
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
796
796
|
height: 32px;
|
|
797
797
|
aspect-ratio: 1;
|
|
798
798
|
padding-left: 0;
|
|
799
799
|
padding-right: 0;
|
|
800
|
-
color: #fff;
|
|
800
|
+
color: var(--wp-components-color-foreground-inverted, #fff);
|
|
801
801
|
}
|
|
802
802
|
|
|
803
803
|
@media not ( prefers-reduced-motion ) {
|
|
@@ -817,7 +817,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
817
817
|
}
|
|
818
818
|
|
|
819
819
|
.emotion-12:active {
|
|
820
|
-
background: #fff;
|
|
820
|
+
background: var(--wp-components-color-background, #fff);
|
|
821
821
|
}
|
|
822
822
|
|
|
823
823
|
.emotion-12:active {
|
|
@@ -845,7 +845,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
845
845
|
background: transparent;
|
|
846
846
|
border: none;
|
|
847
847
|
border-radius: 1px;
|
|
848
|
-
color: #757575;
|
|
848
|
+
color: var(--wp-components-color-gray-700, #757575);
|
|
849
849
|
fill: currentColor;
|
|
850
850
|
cursor: pointer;
|
|
851
851
|
display: -webkit-box;
|
|
@@ -869,7 +869,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
869
869
|
user-select: none;
|
|
870
870
|
width: 100%;
|
|
871
871
|
z-index: 2;
|
|
872
|
-
color: #1e1e1e;
|
|
872
|
+
color: var(--wp-components-color-foreground, #1e1e1e);
|
|
873
873
|
height: 32px;
|
|
874
874
|
aspect-ratio: 1;
|
|
875
875
|
padding-left: 0;
|
|
@@ -893,7 +893,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with icons 1`]
|
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
.emotion-17:active {
|
|
896
|
-
background: #fff;
|
|
896
|
+
background: var(--wp-components-color-background, #fff);
|
|
897
897
|
}
|
|
898
898
|
|
|
899
899
|
<div>
|
|
@@ -1065,7 +1065,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
1065
1065
|
content: '';
|
|
1066
1066
|
position: absolute;
|
|
1067
1067
|
pointer-events: none;
|
|
1068
|
-
background: #1e1e1e;
|
|
1068
|
+
background: var(--wp-components-color-foreground, #1e1e1e);
|
|
1069
1069
|
outline: 2px solid transparent;
|
|
1070
1070
|
outline-offset: -3px;
|
|
1071
1071
|
--antialiasing-factor: 100;
|
|
@@ -1127,7 +1127,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
1127
1127
|
background: transparent;
|
|
1128
1128
|
border: none;
|
|
1129
1129
|
border-radius: 1px;
|
|
1130
|
-
color: #757575;
|
|
1130
|
+
color: var(--wp-components-color-gray-700, #757575);
|
|
1131
1131
|
fill: currentColor;
|
|
1132
1132
|
cursor: pointer;
|
|
1133
1133
|
display: -webkit-box;
|
|
@@ -1170,7 +1170,7 @@ exports[`ToggleGroupControl uncontrolled should render correctly with text optio
|
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
1172
|
.emotion-12:active {
|
|
1173
|
-
background: #fff;
|
|
1173
|
+
background: var(--wp-components-color-background, #fff);
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
1176
|
.emotion-13 {
|
|
@@ -39,7 +39,7 @@ export const toggleGroupControl = ( {
|
|
|
39
39
|
content: '';
|
|
40
40
|
position: absolute;
|
|
41
41
|
pointer-events: none;
|
|
42
|
-
background: ${ COLORS.
|
|
42
|
+
background: ${ COLORS.theme.foreground };
|
|
43
43
|
|
|
44
44
|
// Windows High Contrast mode will show this outline, but not the box-shadow.
|
|
45
45
|
outline: 2px solid transparent;
|
|
@@ -38,7 +38,7 @@ export const buttonView = ( {
|
|
|
38
38
|
background: transparent;
|
|
39
39
|
border: none;
|
|
40
40
|
border-radius: ${ CONFIG.radiusXSmall };
|
|
41
|
-
color: ${ COLORS.gray[ 700 ] };
|
|
41
|
+
color: ${ COLORS.theme.gray[ 700 ] };
|
|
42
42
|
fill: currentColor;
|
|
43
43
|
cursor: pointer;
|
|
44
44
|
display: flex;
|
|
@@ -70,7 +70,7 @@ export const buttonView = ( {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&:active {
|
|
73
|
-
background: ${
|
|
73
|
+
background: ${ COLORS.ui.background };
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
${ isDeselectable && deselectable }
|
|
@@ -79,7 +79,7 @@ export const buttonView = ( {
|
|
|
79
79
|
`;
|
|
80
80
|
|
|
81
81
|
const pressed = css`
|
|
82
|
-
color: ${ COLORS.
|
|
82
|
+
color: ${ COLORS.theme.foregroundInverted };
|
|
83
83
|
|
|
84
84
|
&:active {
|
|
85
85
|
background: transparent;
|
|
@@ -87,11 +87,11 @@ const pressed = css`
|
|
|
87
87
|
`;
|
|
88
88
|
|
|
89
89
|
const deselectable = css`
|
|
90
|
-
color: ${ COLORS.
|
|
90
|
+
color: ${ COLORS.theme.foreground };
|
|
91
91
|
|
|
92
92
|
&:focus {
|
|
93
93
|
box-shadow:
|
|
94
|
-
inset 0 0 0 1px ${ COLORS.
|
|
94
|
+
inset 0 0 0 1px ${ COLORS.ui.background },
|
|
95
95
|
0 0 0 ${ CONFIG.borderWidthFocus } ${ COLORS.theme.accent };
|
|
96
96
|
outline: 2px solid transparent;
|
|
97
97
|
}
|
|
@@ -112,7 +112,7 @@ const isIconStyles = ( {
|
|
|
112
112
|
};
|
|
113
113
|
|
|
114
114
|
return css`
|
|
115
|
-
color: ${ COLORS.
|
|
115
|
+
color: ${ COLORS.theme.foreground };
|
|
116
116
|
height: ${ iconButtonSizes[ size ] };
|
|
117
117
|
aspect-ratio: 1;
|
|
118
118
|
padding-left: 0;
|
|
@@ -54,6 +54,7 @@ function UnforwardedToolbarButton(
|
|
|
54
54
|
<Button
|
|
55
55
|
ref={ ref }
|
|
56
56
|
icon={ restProps.icon }
|
|
57
|
+
size="compact"
|
|
57
58
|
label={ title }
|
|
58
59
|
shortcut={ restProps.shortcut }
|
|
59
60
|
data-subscript={ restProps.subscript }
|
|
@@ -97,6 +98,7 @@ function UnforwardedToolbarButton(
|
|
|
97
98
|
>
|
|
98
99
|
{ ( toolbarItemProps ) => (
|
|
99
100
|
<Button
|
|
101
|
+
size="compact"
|
|
100
102
|
label={ title }
|
|
101
103
|
isPressed={ isActive }
|
|
102
104
|
{ ...toolbarItemProps }
|
|
@@ -31,9 +31,9 @@ const meta: Meta< typeof ToolsPanel > = {
|
|
|
31
31
|
// @ts-expect-error - See https://github.com/storybookjs/storybook/issues/23170
|
|
32
32
|
subcomponents: { ToolsPanelItem },
|
|
33
33
|
argTypes: {
|
|
34
|
-
as: { control:
|
|
35
|
-
children: { control:
|
|
36
|
-
panelId: { control:
|
|
34
|
+
as: { control: false },
|
|
35
|
+
children: { control: false },
|
|
36
|
+
panelId: { control: false },
|
|
37
37
|
resetAll: { action: 'resetAll' },
|
|
38
38
|
},
|
|
39
39
|
parameters: {
|
|
@@ -74,6 +74,7 @@ export const Default: StoryFn< typeof ToolsPanel > = ( {
|
|
|
74
74
|
isShownByDefault
|
|
75
75
|
>
|
|
76
76
|
<UnitControl
|
|
77
|
+
__next40pxDefaultSize
|
|
77
78
|
label="Width"
|
|
78
79
|
value={ width }
|
|
79
80
|
onChange={ ( next ) => setWidth( next ) }
|
|
@@ -86,6 +87,7 @@ export const Default: StoryFn< typeof ToolsPanel > = ( {
|
|
|
86
87
|
isShownByDefault
|
|
87
88
|
>
|
|
88
89
|
<UnitControl
|
|
90
|
+
__next40pxDefaultSize
|
|
89
91
|
label="Height"
|
|
90
92
|
value={ height }
|
|
91
93
|
onChange={ ( next ) => setHeight( next ) }
|
|
@@ -98,6 +100,7 @@ export const Default: StoryFn< typeof ToolsPanel > = ( {
|
|
|
98
100
|
isShownByDefault
|
|
99
101
|
>
|
|
100
102
|
<UnitControl
|
|
103
|
+
__next40pxDefaultSize
|
|
101
104
|
label="Minimum height"
|
|
102
105
|
value={ minHeight }
|
|
103
106
|
onChange={ ( next ) => setMinHeight( next ) }
|
|
@@ -167,6 +170,7 @@ export const WithNonToolsPanelItems: StoryFn< typeof ToolsPanel > = ( {
|
|
|
167
170
|
isShownByDefault
|
|
168
171
|
>
|
|
169
172
|
<UnitControl
|
|
173
|
+
__next40pxDefaultSize
|
|
170
174
|
label="Width"
|
|
171
175
|
value={ width }
|
|
172
176
|
onChange={ ( next ) => setWidth( next ) }
|
|
@@ -179,6 +183,7 @@ export const WithNonToolsPanelItems: StoryFn< typeof ToolsPanel > = ( {
|
|
|
179
183
|
isShownByDefault
|
|
180
184
|
>
|
|
181
185
|
<UnitControl
|
|
186
|
+
__next40pxDefaultSize
|
|
182
187
|
label="Height"
|
|
183
188
|
value={ height }
|
|
184
189
|
onChange={ ( next ) => setHeight( next ) }
|
|
@@ -237,6 +242,7 @@ export const WithOptionalItemsPlusIcon: StoryFn< typeof ToolsPanel > = ( {
|
|
|
237
242
|
}
|
|
238
243
|
>
|
|
239
244
|
<UnitControl
|
|
245
|
+
__next40pxDefaultSize
|
|
240
246
|
label="Minimum width"
|
|
241
247
|
value={ minWidth }
|
|
242
248
|
onChange={ ( next ) => setMinWidth( next ) }
|
|
@@ -249,6 +255,7 @@ export const WithOptionalItemsPlusIcon: StoryFn< typeof ToolsPanel > = ( {
|
|
|
249
255
|
isShownByDefault={ false }
|
|
250
256
|
>
|
|
251
257
|
<UnitControl
|
|
258
|
+
__next40pxDefaultSize
|
|
252
259
|
label="Width"
|
|
253
260
|
value={ width }
|
|
254
261
|
onChange={ ( next ) => setWidth( next ) }
|
|
@@ -261,6 +268,7 @@ export const WithOptionalItemsPlusIcon: StoryFn< typeof ToolsPanel > = ( {
|
|
|
261
268
|
isShownByDefault={ false }
|
|
262
269
|
>
|
|
263
270
|
<UnitControl
|
|
271
|
+
__next40pxDefaultSize
|
|
264
272
|
label="Height"
|
|
265
273
|
value={ height }
|
|
266
274
|
onChange={ ( next ) => setHeight( next ) }
|
|
@@ -341,6 +349,7 @@ export const WithSlotFillItems: StoryFn< typeof ToolsPanel > = ( {
|
|
|
341
349
|
panelId={ panelId }
|
|
342
350
|
>
|
|
343
351
|
<UnitControl
|
|
352
|
+
__next40pxDefaultSize
|
|
344
353
|
label="Injected Width"
|
|
345
354
|
value={ width }
|
|
346
355
|
onChange={ ( next ) =>
|
|
@@ -356,6 +365,7 @@ export const WithSlotFillItems: StoryFn< typeof ToolsPanel > = ( {
|
|
|
356
365
|
panelId={ panelId }
|
|
357
366
|
>
|
|
358
367
|
<UnitControl
|
|
368
|
+
__next40pxDefaultSize
|
|
359
369
|
label="Injected Height"
|
|
360
370
|
value={ height }
|
|
361
371
|
onChange={ ( next ) =>
|
|
@@ -441,6 +451,7 @@ export const WithConditionalDefaultControl: StoryFn< typeof ToolsPanel > = ( {
|
|
|
441
451
|
isShownByDefault
|
|
442
452
|
>
|
|
443
453
|
<UnitControl
|
|
454
|
+
__next40pxDefaultSize
|
|
444
455
|
label="Injected Height"
|
|
445
456
|
value={ height }
|
|
446
457
|
onChange={ ( next ) =>
|
|
@@ -541,6 +552,7 @@ export const WithConditionallyRenderedControl: StoryFn<
|
|
|
541
552
|
isShownByDefault
|
|
542
553
|
>
|
|
543
554
|
<UnitControl
|
|
555
|
+
__next40pxDefaultSize
|
|
544
556
|
label="Injected Height"
|
|
545
557
|
value={ height }
|
|
546
558
|
onChange={ ( next ) =>
|
|
@@ -154,7 +154,6 @@ const renderWrappedItemInPanel = () => {
|
|
|
154
154
|
const renderPanel = () => {
|
|
155
155
|
return render(
|
|
156
156
|
<ToolsPanel { ...defaultProps }>
|
|
157
|
-
{ false && <div>Hidden</div> }
|
|
158
157
|
<ToolsPanelItem { ...controlProps }>
|
|
159
158
|
<div>Example control</div>
|
|
160
159
|
</ToolsPanelItem>
|
|
@@ -236,22 +235,6 @@ describe( 'ToolsPanel', () => {
|
|
|
236
235
|
it( 'should not render panel menu when there are no panel items', () => {
|
|
237
236
|
render(
|
|
238
237
|
<ToolsPanel { ...defaultProps }>
|
|
239
|
-
{ false && (
|
|
240
|
-
<ToolsPanelItem
|
|
241
|
-
label="Not rendered 1"
|
|
242
|
-
hasValue={ () => false }
|
|
243
|
-
>
|
|
244
|
-
Should not show
|
|
245
|
-
</ToolsPanelItem>
|
|
246
|
-
) }
|
|
247
|
-
{ false && (
|
|
248
|
-
<ToolsPanelItem
|
|
249
|
-
label="Not rendered 2"
|
|
250
|
-
hasValue={ () => false }
|
|
251
|
-
>
|
|
252
|
-
Not shown either
|
|
253
|
-
</ToolsPanelItem>
|
|
254
|
-
) }
|
|
255
238
|
<span>Visible but insignificant</span>
|
|
256
239
|
</ToolsPanel>
|
|
257
240
|
);
|
|
@@ -101,6 +101,7 @@ export function DimensionPanel() {
|
|
|
101
101
|
isShownByDefault
|
|
102
102
|
>
|
|
103
103
|
<UnitControl
|
|
104
|
+
__next40pxDefaultSize
|
|
104
105
|
label={ __( 'Height' ) }
|
|
105
106
|
onChange={ setHeight }
|
|
106
107
|
value={ height }
|
|
@@ -113,6 +114,7 @@ export function DimensionPanel() {
|
|
|
113
114
|
isShownByDefault
|
|
114
115
|
>
|
|
115
116
|
<UnitControl
|
|
117
|
+
__next40pxDefaultSize
|
|
116
118
|
label={ __( 'Width' ) }
|
|
117
119
|
onChange={ setWidth }
|
|
118
120
|
value={ width }
|
|
@@ -124,6 +126,7 @@ export function DimensionPanel() {
|
|
|
124
126
|
onDeselect={ () => setPadding( undefined ) }
|
|
125
127
|
>
|
|
126
128
|
<BoxControl
|
|
129
|
+
__next40pxDefaultSize
|
|
127
130
|
label={ __( 'Padding' ) }
|
|
128
131
|
onChange={ setPadding }
|
|
129
132
|
values={ padding }
|
|
@@ -136,6 +139,7 @@ export function DimensionPanel() {
|
|
|
136
139
|
onDeselect={ () => setMargin( undefined ) }
|
|
137
140
|
>
|
|
138
141
|
<BoxControl
|
|
142
|
+
__next40pxDefaultSize
|
|
139
143
|
label={ __( 'Margin' ) }
|
|
140
144
|
onChange={ setMargin }
|
|
141
145
|
values={ margin }
|
|
@@ -75,6 +75,7 @@ const UnconnectedToolsPanel = (
|
|
|
75
75
|
* onDeselect={ () => setHeight() }
|
|
76
76
|
* >
|
|
77
77
|
* <UnitControl
|
|
78
|
+
* __next40pxDefaultSize
|
|
78
79
|
* label={ __( 'Height' ) }
|
|
79
80
|
* onChange={ setHeight }
|
|
80
81
|
* value={ height }
|
|
@@ -86,6 +87,7 @@ const UnconnectedToolsPanel = (
|
|
|
86
87
|
* onDeselect={ () => setWidth() }
|
|
87
88
|
* >
|
|
88
89
|
* <UnitControl
|
|
90
|
+
* __next40pxDefaultSize
|
|
89
91
|
* label={ __( 'Width' ) }
|
|
90
92
|
* onChange={ setWidth }
|
|
91
93
|
* value={ width }
|
package/src/tree-grid/cell.tsx
CHANGED
|
@@ -21,7 +21,11 @@ function UnforwardedTreeGridCell(
|
|
|
21
21
|
return (
|
|
22
22
|
<td { ...props } role="gridcell">
|
|
23
23
|
{ withoutGridItem ? (
|
|
24
|
-
<>
|
|
24
|
+
<>
|
|
25
|
+
{ typeof children === 'function'
|
|
26
|
+
? children( { ...props, ref } )
|
|
27
|
+
: children }
|
|
28
|
+
</>
|
|
25
29
|
) : (
|
|
26
30
|
<TreeGridItem ref={ ref }>{ children }</TreeGridItem>
|
|
27
31
|
) }
|
|
@@ -22,7 +22,7 @@ const meta: Meta< typeof TreeGrid > = {
|
|
|
22
22
|
// @ts-expect-error - See https://github.com/storybookjs/storybook/issues/23170
|
|
23
23
|
subcomponents: { TreeGridRow, TreeGridCell },
|
|
24
24
|
argTypes: {
|
|
25
|
-
children: { control:
|
|
25
|
+
children: { control: false },
|
|
26
26
|
},
|
|
27
27
|
parameters: {
|
|
28
28
|
actions: { argTypesRegex: '^on.*' },
|
package/src/tree-grid/types.ts
CHANGED
|
@@ -22,7 +22,7 @@ const meta: Meta< typeof TreeSelect > = {
|
|
|
22
22
|
label: { control: { type: 'text' } },
|
|
23
23
|
prefix: { control: { type: 'text' } },
|
|
24
24
|
suffix: { control: { type: 'text' } },
|
|
25
|
-
selectedId: { control:
|
|
25
|
+
selectedId: { control: false },
|
|
26
26
|
},
|
|
27
27
|
parameters: {
|
|
28
28
|
controls: {
|
|
@@ -15,7 +15,7 @@ import { __experimentalUnitControl as UnitControl } from '@wordpress/components'
|
|
|
15
15
|
const Example = () => {
|
|
16
16
|
const [ value, setValue ] = useState( '10px' );
|
|
17
17
|
|
|
18
|
-
return <UnitControl onChange={ setValue } value={ value } />;
|
|
18
|
+
return <UnitControl __next40pxDefaultSize onChange={ setValue } value={ value } />;
|
|
19
19
|
};
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -128,7 +128,7 @@ const Example = () => {
|
|
|
128
128
|
];
|
|
129
129
|
|
|
130
130
|
return (
|
|
131
|
-
<UnitControl onChange={ setValue } value={ value } units={ units } />
|
|
131
|
+
<UnitControl __next40pxDefaultSize onChange={ setValue } value={ value } units={ units } />
|
|
132
132
|
);
|
|
133
133
|
};
|
|
134
134
|
```
|
|
@@ -143,7 +143,7 @@ For example, a `value` of `50%` will set the current unit to `%`.
|
|
|
143
143
|
Example:
|
|
144
144
|
|
|
145
145
|
```jsx
|
|
146
|
-
<UnitControl value="50%" />
|
|
146
|
+
<UnitControl __next40pxDefaultSize value="50%" />
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
- Required: No
|
|
@@ -27,6 +27,7 @@ import { useControlledState } from '../utils/hooks';
|
|
|
27
27
|
import { escapeRegExp } from '../utils/strings';
|
|
28
28
|
import type { UnitControlProps, UnitControlOnChangeCallback } from './types';
|
|
29
29
|
import { useDeprecated36pxDefaultSizeProp } from '../utils/use-deprecated-props';
|
|
30
|
+
import { maybeWarnDeprecated36pxSize } from '../utils/deprecated-36px-size';
|
|
30
31
|
|
|
31
32
|
function UnforwardedUnitControl(
|
|
32
33
|
unitControlProps: WordPressComponentProps<
|
|
@@ -55,9 +56,17 @@ function UnforwardedUnitControl(
|
|
|
55
56
|
units: unitsProp = CSS_UNITS,
|
|
56
57
|
value: valueProp,
|
|
57
58
|
onFocus: onFocusProp,
|
|
59
|
+
__shouldNotWarnDeprecated36pxSize,
|
|
58
60
|
...props
|
|
59
61
|
} = useDeprecated36pxDefaultSizeProp( unitControlProps );
|
|
60
62
|
|
|
63
|
+
maybeWarnDeprecated36pxSize( {
|
|
64
|
+
componentName: 'UnitControl',
|
|
65
|
+
__next40pxDefaultSize: props.__next40pxDefaultSize,
|
|
66
|
+
size,
|
|
67
|
+
__shouldNotWarnDeprecated36pxSize,
|
|
68
|
+
} );
|
|
69
|
+
|
|
61
70
|
if ( 'unit' in unitControlProps ) {
|
|
62
71
|
deprecated( 'UnitControl unit prop', {
|
|
63
72
|
since: '5.6',
|
|
@@ -215,6 +224,7 @@ function UnforwardedUnitControl(
|
|
|
215
224
|
return (
|
|
216
225
|
<ValueInput
|
|
217
226
|
{ ...props }
|
|
227
|
+
__shouldNotWarnDeprecated36pxSize
|
|
218
228
|
autoComplete={ autoComplete }
|
|
219
229
|
className={ classes }
|
|
220
230
|
disabled={ disabled }
|
|
@@ -246,7 +256,7 @@ function UnforwardedUnitControl(
|
|
|
246
256
|
* const Example = () => {
|
|
247
257
|
* const [ value, setValue ] = useState( '10px' );
|
|
248
258
|
*
|
|
249
|
-
* return <UnitControl onChange={ setValue } value={ value } />;
|
|
259
|
+
* return <UnitControl __next40pxDefaultSize onChange={ setValue } value={ value } />;
|
|
250
260
|
* };
|
|
251
261
|
* ```
|
|
252
262
|
*/
|
|
@@ -20,11 +20,11 @@ const meta: Meta< typeof UnitControl > = {
|
|
|
20
20
|
id: 'components-experimental-unitcontrol',
|
|
21
21
|
argTypes: {
|
|
22
22
|
__unstableInputWidth: { control: { type: 'text' } },
|
|
23
|
-
__unstableStateReducer: { control:
|
|
24
|
-
onChange: { control:
|
|
25
|
-
onUnitChange: { control:
|
|
23
|
+
__unstableStateReducer: { control: false },
|
|
24
|
+
onChange: { control: false },
|
|
25
|
+
onUnitChange: { control: false },
|
|
26
26
|
prefix: { control: { type: 'text' } },
|
|
27
|
-
value: { control:
|
|
27
|
+
value: { control: false },
|
|
28
28
|
},
|
|
29
29
|
parameters: {
|
|
30
30
|
actions: { argTypesRegex: '^on.*' },
|
|
@@ -59,6 +59,7 @@ export const Default: StoryFn< typeof UnitControl > = DefaultTemplate.bind(
|
|
|
59
59
|
);
|
|
60
60
|
Default.args = {
|
|
61
61
|
label: 'Label',
|
|
62
|
+
__next40pxDefaultSize: true,
|
|
62
63
|
};
|
|
63
64
|
|
|
64
65
|
/**
|
|
@@ -12,9 +12,13 @@ import { useState } from '@wordpress/element';
|
|
|
12
12
|
/**
|
|
13
13
|
* Internal dependencies
|
|
14
14
|
*/
|
|
15
|
-
import
|
|
15
|
+
import _UnitControl from '..';
|
|
16
16
|
import { CSS_UNITS, parseQuantityAndUnitFromRawValue } from '../utils';
|
|
17
17
|
|
|
18
|
+
const UnitControl = ( props: React.ComponentProps< typeof _UnitControl > ) => (
|
|
19
|
+
<_UnitControl __next40pxDefaultSize { ...props } />
|
|
20
|
+
);
|
|
21
|
+
|
|
18
22
|
const getInput = ( {
|
|
19
23
|
isInputTypeText = false,
|
|
20
24
|
}: {
|