@wordpress/components 32.2.1-next.v.202602111440.0 → 32.2.1
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 +46 -1
- package/CLAUDE.md +1 -0
- package/build/alignment-matrix-control/cell.cjs +2 -2
- package/build/alignment-matrix-control/cell.cjs.map +1 -1
- package/build/alignment-matrix-control/index.cjs +2 -2
- package/build/alignment-matrix-control/index.cjs.map +1 -1
- package/build/angle-picker-control/angle-circle.cjs +4 -4
- package/build/angle-picker-control/angle-circle.cjs.map +2 -2
- package/build/autocomplete/index.cjs +16 -8
- package/build/autocomplete/index.cjs.map +2 -2
- package/build/clipboard-button/index.cjs +1 -1
- package/build/clipboard-button/index.cjs.map +2 -2
- package/build/color-picker/color-copy-button.cjs +1 -1
- package/build/color-picker/color-copy-button.cjs.map +2 -2
- package/build/confirm-dialog/component.cjs +2 -2
- package/build/confirm-dialog/component.cjs.map +2 -2
- package/build/context/context-system-provider.cjs.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/control-points.cjs +2 -2
- package/build/custom-gradient-picker/gradient-bar/control-points.cjs.map +2 -2
- package/build/date-time/date/index.cjs +1 -1
- package/build/date-time/date/index.cjs.map +2 -2
- package/build/date-time/time/index.cjs +1 -1
- package/build/date-time/time/index.cjs.map +2 -2
- package/build/date-time/utils.cjs +9 -0
- package/build/date-time/utils.cjs.map +2 -2
- package/build/dropdown/index.cjs +1 -1
- package/build/dropdown/index.cjs.map +2 -2
- package/build/external-link/index.cjs +5 -1
- package/build/external-link/index.cjs.map +2 -2
- package/build/higher-order/with-spoken-messages/index.cjs.map +2 -2
- package/build/modal/index.cjs +2 -2
- package/build/modal/index.cjs.map +2 -2
- package/build/modal/use-modal-exit-animation.cjs +2 -2
- package/build/modal/use-modal-exit-animation.cjs.map +2 -2
- package/build/number-control/index.cjs +1 -1
- package/build/number-control/index.cjs.map +2 -2
- package/build/palette-edit/index.cjs +1 -1
- package/build/palette-edit/index.cjs.map +2 -2
- package/build/panel/body.cjs +1 -1
- package/build/panel/body.cjs.map +2 -2
- package/build/private-apis.cjs +0 -2
- package/build/private-apis.cjs.map +2 -2
- package/build/range-control/index.cjs +1 -1
- package/build/range-control/index.cjs.map +2 -2
- package/build/resizable-box/resize-tooltip/utils.cjs +1 -1
- package/build/resizable-box/resize-tooltip/utils.cjs.map +2 -2
- package/build/sandbox/index.cjs +126 -2
- package/build/sandbox/index.cjs.map +2 -2
- package/build/select-control/styles/select-control-styles.cjs +8 -8
- package/build/select-control/styles/select-control-styles.cjs.map +2 -2
- package/build/snackbar/list.cjs +4 -1
- package/build/snackbar/list.cjs.map +2 -2
- package/build/tabs/styles.cjs +5 -5
- package/build/tabs/styles.cjs.map +2 -2
- package/build/text/utils.cjs.map +1 -1
- package/build/toggle-group-control/toggle-group-control-option-base/styles.cjs +8 -8
- package/build/toggle-group-control/toggle-group-control-option-base/styles.cjs.map +2 -2
- package/build/tree-grid/roving-tab-index-item.cjs +1 -1
- package/build/tree-grid/roving-tab-index-item.cjs.map +2 -2
- package/build/utils/element-rect.cjs +1 -1
- package/build/utils/element-rect.cjs.map +2 -2
- package/build/utils/hooks/use-update-effect.cjs.map +1 -1
- package/build/utils/rtl.cjs +2 -2
- package/build/utils/rtl.cjs.map +2 -2
- package/build/utils/use-responsive-value.cjs +1 -7
- package/build/utils/use-responsive-value.cjs.map +2 -2
- package/build/validated-form-controls/control-with-error.cjs +26 -3
- package/build/validated-form-controls/control-with-error.cjs.map +2 -2
- package/build/validated-form-controls/validity-indicator.cjs +2 -0
- package/build/validated-form-controls/validity-indicator.cjs.map +2 -2
- package/build-module/alignment-matrix-control/cell.mjs +2 -2
- package/build-module/alignment-matrix-control/cell.mjs.map +1 -1
- package/build-module/alignment-matrix-control/index.mjs +2 -2
- package/build-module/alignment-matrix-control/index.mjs.map +1 -1
- package/build-module/angle-picker-control/angle-circle.mjs +4 -4
- package/build-module/angle-picker-control/angle-circle.mjs.map +2 -2
- package/build-module/autocomplete/index.mjs +14 -7
- package/build-module/autocomplete/index.mjs.map +2 -2
- package/build-module/clipboard-button/index.mjs +1 -1
- package/build-module/clipboard-button/index.mjs.map +2 -2
- package/build-module/color-picker/color-copy-button.mjs +1 -1
- package/build-module/color-picker/color-copy-button.mjs.map +2 -2
- package/build-module/confirm-dialog/component.mjs +2 -2
- package/build-module/confirm-dialog/component.mjs.map +2 -2
- package/build-module/context/context-system-provider.mjs.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/control-points.mjs +2 -2
- package/build-module/custom-gradient-picker/gradient-bar/control-points.mjs.map +2 -2
- package/build-module/date-time/date/index.mjs +1 -1
- package/build-module/date-time/date/index.mjs.map +2 -2
- package/build-module/date-time/time/index.mjs +2 -2
- package/build-module/date-time/time/index.mjs.map +2 -2
- package/build-module/date-time/utils.mjs +8 -0
- package/build-module/date-time/utils.mjs.map +2 -2
- package/build-module/dropdown/index.mjs +1 -1
- package/build-module/dropdown/index.mjs.map +2 -2
- package/build-module/external-link/index.mjs +5 -1
- package/build-module/external-link/index.mjs.map +2 -2
- package/build-module/higher-order/with-spoken-messages/index.mjs.map +2 -2
- package/build-module/modal/index.mjs +2 -2
- package/build-module/modal/index.mjs.map +2 -2
- package/build-module/modal/use-modal-exit-animation.mjs +2 -2
- package/build-module/modal/use-modal-exit-animation.mjs.map +2 -2
- package/build-module/number-control/index.mjs +1 -1
- package/build-module/number-control/index.mjs.map +2 -2
- package/build-module/palette-edit/index.mjs +1 -1
- package/build-module/palette-edit/index.mjs.map +2 -2
- package/build-module/panel/body.mjs +1 -1
- package/build-module/panel/body.mjs.map +2 -2
- package/build-module/private-apis.mjs +0 -2
- package/build-module/private-apis.mjs.map +2 -2
- package/build-module/range-control/index.mjs +1 -1
- package/build-module/range-control/index.mjs.map +2 -2
- package/build-module/resizable-box/resize-tooltip/utils.mjs +1 -1
- package/build-module/resizable-box/resize-tooltip/utils.mjs.map +2 -2
- package/build-module/sandbox/index.mjs +127 -3
- package/build-module/sandbox/index.mjs.map +2 -2
- package/build-module/select-control/styles/select-control-styles.mjs +8 -8
- package/build-module/select-control/styles/select-control-styles.mjs.map +2 -2
- package/build-module/snackbar/list.mjs +4 -1
- package/build-module/snackbar/list.mjs.map +2 -2
- package/build-module/tabs/styles.mjs +5 -5
- package/build-module/tabs/styles.mjs.map +2 -2
- package/build-module/text/utils.mjs.map +1 -1
- package/build-module/toggle-group-control/toggle-group-control-option-base/styles.mjs +8 -8
- package/build-module/toggle-group-control/toggle-group-control-option-base/styles.mjs.map +2 -2
- package/build-module/tree-grid/roving-tab-index-item.mjs +1 -1
- package/build-module/tree-grid/roving-tab-index-item.mjs.map +2 -2
- package/build-module/utils/element-rect.mjs +1 -1
- package/build-module/utils/element-rect.mjs.map +2 -2
- package/build-module/utils/hooks/use-update-effect.mjs.map +1 -1
- package/build-module/utils/rtl.mjs +2 -2
- package/build-module/utils/rtl.mjs.map +2 -2
- package/build-module/utils/use-responsive-value.mjs +1 -7
- package/build-module/utils/use-responsive-value.mjs.map +2 -2
- package/build-module/validated-form-controls/control-with-error.mjs +27 -4
- package/build-module/validated-form-controls/control-with-error.mjs.map +2 -2
- package/build-module/validated-form-controls/validity-indicator.mjs +2 -0
- package/build-module/validated-form-controls/validity-indicator.mjs.map +2 -2
- package/build-style/style-rtl.css +8 -4
- package/build-style/style.css +8 -4
- package/build-types/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.d.ts +19 -0
- package/build-types/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.d.ts.map +1 -0
- package/build-types/alignment-matrix-control/styles/alignment-matrix-control-styles.d.ts +23 -0
- package/build-types/alignment-matrix-control/styles/alignment-matrix-control-styles.d.ts.map +1 -0
- package/build-types/angle-picker-control/angle-circle.d.ts.map +1 -1
- package/build-types/angle-picker-control/index.d.ts +1 -1
- package/build-types/angle-picker-control/stories/index.story.d.ts +1 -1
- package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts +25 -0
- package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts.map +1 -0
- package/build-types/animate/index.d.ts +1 -1
- package/build-types/animate/index.d.ts.map +1 -1
- package/build-types/animate/types.d.ts +1 -1
- package/build-types/animate/types.d.ts.map +1 -1
- package/build-types/autocomplete/get-autocomplete-match.d.ts +20 -0
- package/build-types/autocomplete/get-autocomplete-match.d.ts.map +1 -0
- package/build-types/autocomplete/index.d.ts +10 -2
- package/build-types/autocomplete/index.d.ts.map +1 -1
- package/build-types/autocomplete/test/get-autocomplete-match.d.ts +2 -0
- package/build-types/autocomplete/test/get-autocomplete-match.d.ts.map +1 -0
- package/build-types/autocomplete/types.d.ts +1 -1
- package/build-types/autocomplete/types.d.ts.map +1 -1
- package/build-types/badge/stories/e2e/index.story.d.ts +7 -0
- package/build-types/badge/stories/e2e/index.story.d.ts.map +1 -0
- package/build-types/base-control/index.d.ts +2 -2
- package/build-types/base-control/stories/index.story.d.ts +1 -1
- package/build-types/border-box-control/border-box-control/hook.d.ts +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-split-controls/hook.d.ts +1 -1
- package/build-types/border-box-control/border-box-control-visualizer/hook.d.ts +1 -1
- package/build-types/border-control/border-control/hook.d.ts +1 -1
- package/build-types/border-control/border-control-dropdown/hook.d.ts +1 -1
- package/build-types/border-control/border-control-style-picker/hook.d.ts +267 -0
- package/build-types/border-control/border-control-style-picker/hook.d.ts.map +1 -0
- package/build-types/box-control/all-input-control.d.ts +4 -0
- package/build-types/box-control/all-input-control.d.ts.map +1 -0
- package/build-types/box-control/axial-input-controls.d.ts +4 -0
- package/build-types/box-control/axial-input-controls.d.ts.map +1 -0
- package/build-types/box-control/input-controls.d.ts +4 -0
- package/build-types/box-control/input-controls.d.ts.map +1 -0
- package/build-types/box-control/styles/box-control-styles.d.ts +2 -2
- package/build-types/box-control/styles/box-control-styles.d.ts.map +1 -1
- package/build-types/box-control/styles/box-control-visualizer-styles.d.ts +46 -0
- package/build-types/box-control/styles/box-control-visualizer-styles.d.ts.map +1 -0
- package/build-types/box-control/unit-control.d.ts +4 -0
- package/build-types/box-control/unit-control.d.ts.map +1 -0
- package/build-types/card/card/hook.d.ts +1 -1
- package/build-types/card/card-body/hook.d.ts +1 -1
- package/build-types/card/card-footer/hook.d.ts +1 -1
- package/build-types/card/card-header/hook.d.ts +1 -1
- package/build-types/card/card-media/hook.d.ts +1 -1
- package/build-types/color-palette/stories/index.story.d.ts +6 -5
- package/build-types/color-palette/stories/index.story.d.ts.map +1 -1
- package/build-types/color-palette/styles.d.ts +1 -1
- package/build-types/color-picker/color-copy-button.d.ts.map +1 -1
- package/build-types/color-picker/styles.d.ts +2 -2
- package/build-types/color-picker/styles.d.ts.map +1 -1
- package/build-types/combobox-control/styles.d.ts +1 -1
- package/build-types/context/context-connect.d.ts +2 -2
- package/build-types/context/context-connect.d.ts.map +1 -1
- package/build-types/context/context-system-provider.d.ts +2 -2
- package/build-types/context/context-system-provider.d.ts.map +1 -1
- package/build-types/context/wordpress-component.d.ts +3 -3
- package/build-types/context/wordpress-component.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/styles/custom-gradient-picker-styles.d.ts +2 -2
- package/build-types/custom-gradient-picker/test/index.d.ts +2 -0
- package/build-types/custom-gradient-picker/test/index.d.ts.map +1 -0
- package/build-types/custom-gradient-picker/types.d.ts +1 -1
- package/build-types/custom-gradient-picker/types.d.ts.map +1 -1
- package/build-types/custom-select-control/styles.d.ts +11 -0
- package/build-types/custom-select-control/styles.d.ts.map +1 -0
- package/build-types/custom-select-control-v2/types.d.ts +4 -4
- package/build-types/custom-select-control-v2/types.d.ts.map +1 -1
- package/build-types/date-time/date/styles.d.ts +2 -2
- package/build-types/date-time/date-picker/index.d.ts +23 -0
- package/build-types/date-time/date-picker/index.d.ts.map +1 -0
- package/build-types/date-time/date-picker/styles.d.ts +45 -0
- package/build-types/date-time/date-picker/styles.d.ts.map +1 -0
- package/build-types/date-time/date-picker/test/index.d.ts +2 -0
- package/build-types/date-time/date-picker/test/index.d.ts.map +1 -0
- package/build-types/date-time/date-picker/test/use-lilius.d.ts +2 -0
- package/build-types/date-time/date-picker/test/use-lilius.d.ts.map +1 -0
- package/build-types/date-time/date-picker/use-lilius/index.d.ts +169 -0
- package/build-types/date-time/date-picker/use-lilius/index.d.ts.map +1 -0
- package/build-types/date-time/date-time/styles.d.ts +1 -1
- package/build-types/date-time/time/index.d.ts.map +1 -1
- package/build-types/date-time/time-picker/index.d.ts +27 -0
- package/build-types/date-time/time-picker/index.d.ts.map +1 -0
- package/build-types/date-time/time-picker/styles.d.ts +93 -0
- package/build-types/date-time/time-picker/styles.d.ts.map +1 -0
- package/build-types/date-time/time-picker/test/index.d.ts +2 -0
- package/build-types/date-time/time-picker/test/index.d.ts.map +1 -0
- package/build-types/date-time/time-picker/time-input/index.d.ts +4 -0
- package/build-types/date-time/time-picker/time-input/index.d.ts.map +1 -0
- package/build-types/date-time/time-picker/time-input/test/index.d.ts +2 -0
- package/build-types/date-time/time-picker/time-input/test/index.d.ts.map +1 -0
- package/build-types/date-time/time-picker/timezone.d.ts +7 -0
- package/build-types/date-time/time-picker/timezone.d.ts.map +1 -0
- package/build-types/date-time/utils.d.ts +9 -0
- package/build-types/date-time/utils.d.ts.map +1 -1
- package/build-types/dimension-control/index.d.ts +28 -0
- package/build-types/dimension-control/index.d.ts.map +1 -0
- package/build-types/dimension-control/sizes.d.ts +26 -0
- package/build-types/dimension-control/sizes.d.ts.map +1 -0
- 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/dimension-control/types.d.ts +47 -0
- package/build-types/dimension-control/types.d.ts.map +1 -0
- package/build-types/draggable/types.d.ts +1 -1
- package/build-types/draggable/types.d.ts.map +1 -1
- package/build-types/drop-zone/types.d.ts +1 -1
- package/build-types/drop-zone/types.d.ts.map +1 -1
- package/build-types/dropdown-menu/types.d.ts +1 -1
- package/build-types/dropdown-menu/types.d.ts.map +1 -1
- package/build-types/dropdown-menu-v2/index.d.ts +17 -0
- package/build-types/dropdown-menu-v2/index.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/dropdown-menu-v2/styles.d.ts +42 -0
- package/build-types/dropdown-menu-v2/styles.d.ts.map +1 -0
- package/build-types/dropdown-menu-v2/test/index.d.ts +2 -0
- package/build-types/dropdown-menu-v2/test/index.d.ts.map +1 -0
- package/build-types/dropdown-menu-v2/types.d.ts +252 -0
- package/build-types/dropdown-menu-v2/types.d.ts.map +1 -0
- package/build-types/elevation/hook.d.ts +1 -1
- package/build-types/external-link/index.d.ts.map +1 -1
- package/build-types/external-link/styles/external-link-styles.d.ts +10 -0
- package/build-types/external-link/styles/external-link-styles.d.ts.map +1 -0
- package/build-types/flex/flex/hook.d.ts +1 -1
- package/build-types/flex/flex-block/hook.d.ts +1 -1
- package/build-types/flex/flex-item/hook.d.ts +1 -1
- package/build-types/focal-point-picker/styles/focal-point-picker-style.d.ts +1 -1
- package/build-types/font-size-picker/stories/index.story.d.ts +8 -7
- package/build-types/font-size-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/font-size-picker/styles.d.ts +2 -2
- package/build-types/form-token-field/styles.d.ts +1 -1
- package/build-types/gradient-picker/stories/index.story.d.ts +6 -5
- package/build-types/gradient-picker/stories/index.story.d.ts.map +1 -1
- package/build-types/grid/hook.d.ts +1 -1
- package/build-types/h-stack/hook.d.ts +1 -1
- package/build-types/heading/hook.d.ts +1 -1
- package/build-types/higher-order/navigate-regions/index.d.ts +1 -1
- package/build-types/higher-order/with-notices/types.d.ts +1 -1
- package/build-types/higher-order/with-notices/types.d.ts.map +1 -1
- package/build-types/higher-order/with-spoken-messages/index.d.ts +2 -3
- package/build-types/higher-order/with-spoken-messages/index.d.ts.map +1 -1
- package/build-types/icon/index.d.ts +2 -2
- package/build-types/icon/index.d.ts.map +1 -1
- package/build-types/input-control/styles/input-control-styles.d.ts +2 -2
- package/build-types/item-group/item/hook.d.ts +1 -1
- package/build-types/item-group/item-group/hook.d.ts +1 -1
- package/build-types/menu/index.d.ts +2 -2
- package/build-types/menu/item-help-text.d.ts +1 -1
- package/build-types/menu/item-label.d.ts +1 -1
- package/build-types/menu/styles.d.ts +2 -2
- package/build-types/menu-item/index.d.ts +1 -1
- package/build-types/menu-item/stories/index.story.d.ts +4 -4
- package/build-types/menu-item/types.d.ts +1 -1
- package/build-types/menu-item/types.d.ts.map +1 -1
- package/build-types/mobile/inserter-button/sparkles.d.ts +3 -0
- package/build-types/mobile/inserter-button/sparkles.d.ts.map +1 -0
- package/build-types/modal/index.d.ts.map +1 -1
- package/build-types/modal/types.d.ts +1 -1
- package/build-types/modal/types.d.ts.map +1 -1
- package/build-types/modal/use-modal-exit-animation.d.ts +1 -1
- package/build-types/navigation/styles/navigation-styles.d.ts +2 -2
- package/build-types/navigation/types.d.ts +1 -1
- package/build-types/navigation/types.d.ts.map +1 -1
- package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-back-button/index.d.ts +2 -0
- package/build-types/navigator/navigator-back-button/index.d.ts.map +1 -0
- package/build-types/navigator/navigator-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-button/index.d.ts +2 -0
- package/build-types/navigator/navigator-button/index.d.ts.map +1 -0
- package/build-types/navigator/navigator-provider/component.d.ts +38 -0
- package/build-types/navigator/navigator-provider/component.d.ts.map +1 -0
- package/build-types/navigator/navigator-provider/index.d.ts +2 -0
- package/build-types/navigator/navigator-provider/index.d.ts.map +1 -0
- package/build-types/navigator/navigator-screen/index.d.ts +2 -0
- package/build-types/navigator/navigator-screen/index.d.ts.map +1 -0
- package/build-types/navigator/navigator-to-parent-button/index.d.ts +2 -0
- package/build-types/navigator/navigator-to-parent-button/index.d.ts.map +1 -0
- package/build-types/palette-edit/styles.d.ts +1 -1
- package/build-types/palette-edit/types.d.ts +1 -1
- package/build-types/palette-edit/types.d.ts.map +1 -1
- package/build-types/panel/types.d.ts +2 -2
- package/build-types/panel/types.d.ts.map +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/radio-group/radio/index.d.ts +7 -0
- package/build-types/radio-group/radio/index.d.ts.map +1 -0
- package/build-types/radio-group/radio-context/index.d.ts +6 -0
- package/build-types/radio-group/radio-context/index.d.ts.map +1 -0
- package/build-types/range-control/index.d.ts.map +1 -1
- package/build-types/range-control/input-range.d.ts +1 -1
- package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
- package/build-types/range-control/types.d.ts +2 -2
- package/build-types/range-control/types.d.ts.map +1 -1
- package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts +1 -1
- package/build-types/resizable-box/resize-tooltip/utils.d.ts +1 -1
- package/build-types/resizable-box/resize-tooltip/utils.d.ts.map +1 -1
- package/build-types/sandbox/index.d.ts +1 -1
- package/build-types/sandbox/index.d.ts.map +1 -1
- package/build-types/sandbox/types.d.ts +11 -0
- package/build-types/sandbox/types.d.ts.map +1 -1
- package/build-types/scrollable/hook.d.ts +1 -1
- package/build-types/search-control/types.d.ts +1 -1
- package/build-types/search-control/types.d.ts.map +1 -1
- package/build-types/select-control/styles/select-control-styles.d.ts +2 -2
- package/build-types/select-control/styles/select-control-styles.d.ts.map +1 -1
- package/build-types/slot-fill/bubbles-virtually/fill.d.ts +5 -0
- package/build-types/slot-fill/bubbles-virtually/fill.d.ts.map +1 -0
- package/build-types/slot-fill/bubbles-virtually/slot-fill-context.d.ts +12 -0
- package/build-types/slot-fill/bubbles-virtually/slot-fill-context.d.ts.map +1 -0
- package/build-types/slot-fill/bubbles-virtually/slot-fill-provider.d.ts +4 -0
- package/build-types/slot-fill/bubbles-virtually/slot-fill-provider.d.ts.map +1 -0
- package/build-types/slot-fill/bubbles-virtually/slot.d.ts +1 -1
- package/build-types/slot-fill/types.d.ts +1 -1
- package/build-types/slot-fill/types.d.ts.map +1 -1
- package/build-types/slot-fill/use-slot.d.ts +9 -0
- package/build-types/slot-fill/use-slot.d.ts.map +1 -0
- package/build-types/snackbar/index.d.ts +1 -1
- package/build-types/snackbar/list.d.ts.map +1 -1
- package/build-types/spacer/hook.d.ts +1 -1
- package/build-types/style-provider/test/index.d.ts +2 -0
- package/build-types/style-provider/test/index.d.ts.map +1 -0
- package/build-types/surface/hook.d.ts +1 -1
- package/build-types/tabs/styles.d.ts.map +1 -1
- package/build-types/text/hook.d.ts +1 -1
- package/build-types/text/stories/index.story.d.ts +3 -3
- package/build-types/text/utils.d.ts +18 -18
- package/build-types/text/utils.d.ts.map +1 -1
- package/build-types/theme/stories/index.story.d.ts +1 -1
- package/build-types/toggle-group-control/toggle-group-control-option-base/styles.d.ts.map +1 -1
- package/build-types/toggle-group-control/toggle-group-control-option-icon/component.d.ts +1 -1
- package/build-types/toggle-group-control/types.d.ts +1 -1
- package/build-types/toggle-group-control/types.d.ts.map +1 -1
- package/build-types/tools-panel/tools-panel/hook.d.ts +1 -1
- package/build-types/tools-panel/tools-panel-header/hook.d.ts +1 -1
- package/build-types/tools-panel/tools-panel-item/hook.d.ts +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 +1 -1
- package/build-types/ui/context/constants.d.ts +8 -0
- package/build-types/ui/context/constants.d.ts.map +1 -0
- package/build-types/ui/context/context-connect.d.ts +40 -0
- package/build-types/ui/context/context-connect.d.ts.map +1 -0
- package/build-types/ui/context/context-system-provider.d.ts +7 -0
- package/build-types/ui/context/context-system-provider.d.ts.map +1 -0
- package/build-types/ui/context/get-styled-class-name-from-key.d.ts +2 -0
- package/build-types/ui/context/get-styled-class-name-from-key.d.ts.map +1 -0
- package/build-types/ui/context/index.d.ts +5 -0
- package/build-types/ui/context/index.d.ts.map +1 -0
- package/build-types/ui/context/test/context-connect.d.ts +2 -0
- package/build-types/ui/context/test/context-connect.d.ts.map +1 -0
- package/build-types/ui/context/test/wordpress-component.d.ts +2 -0
- package/build-types/ui/context/test/wordpress-component.d.ts.map +1 -0
- package/build-types/ui/context/use-context-system.d.ts +20 -0
- package/build-types/ui/context/use-context-system.d.ts.map +1 -0
- package/build-types/ui/context/utils.d.ts +26 -0
- package/build-types/ui/context/utils.d.ts.map +1 -0
- package/build-types/ui/context/wordpress-component.d.ts +32 -0
- package/build-types/ui/context/wordpress-component.d.ts.map +1 -0
- package/build-types/ui/shortcut/component.d.ts +12 -0
- package/build-types/ui/shortcut/component.d.ts.map +1 -0
- package/build-types/ui/shortcut/index.d.ts +3 -0
- package/build-types/ui/shortcut/index.d.ts.map +1 -0
- package/build-types/ui/tooltip/component.d.ts +29 -0
- package/build-types/ui/tooltip/component.d.ts.map +1 -0
- package/build-types/ui/tooltip/content.d.ts +9 -0
- package/build-types/ui/tooltip/content.d.ts.map +1 -0
- package/build-types/ui/tooltip/context.d.ts +10 -0
- package/build-types/ui/tooltip/context.d.ts.map +1 -0
- package/build-types/ui/tooltip/index.d.ts +3 -0
- package/build-types/ui/tooltip/index.d.ts.map +1 -0
- package/build-types/ui/tooltip/styles.d.ts +12 -0
- package/build-types/ui/tooltip/styles.d.ts.map +1 -0
- package/build-types/ui/tooltip/types.d.ts +62 -0
- package/build-types/ui/tooltip/types.d.ts.map +1 -0
- package/build-types/ui/utils/colors.d.ts +17 -0
- package/build-types/ui/utils/colors.d.ts.map +1 -0
- package/build-types/ui/utils/font-size.d.ts +18 -0
- package/build-types/ui/utils/font-size.d.ts.map +1 -0
- package/build-types/ui/utils/get-valid-children.d.ts +13 -0
- package/build-types/ui/utils/get-valid-children.d.ts.map +1 -0
- package/build-types/ui/utils/index.d.ts +2 -0
- package/build-types/ui/utils/index.d.ts.map +1 -0
- package/build-types/ui/utils/space.d.ts +23 -0
- package/build-types/ui/utils/space.d.ts.map +1 -0
- package/build-types/ui/utils/types.d.ts +14 -0
- package/build-types/ui/utils/types.d.ts.map +1 -0
- package/build-types/ui/utils/use-responsive-value.d.ts +5 -0
- package/build-types/ui/utils/use-responsive-value.d.ts.map +1 -0
- package/build-types/utils/hooks/use-latest-ref.d.ts +15 -0
- package/build-types/utils/hooks/use-latest-ref.d.ts.map +1 -0
- package/build-types/utils/hooks/use-update-effect.d.ts +3 -3
- package/build-types/utils/hooks/use-update-effect.d.ts.map +1 -1
- package/build-types/utils/input/base.d.ts +3 -0
- package/build-types/utils/input/base.d.ts.map +1 -0
- package/build-types/utils/input/index.d.ts +2 -0
- package/build-types/utils/input/index.d.ts.map +1 -0
- package/build-types/utils/input/input-control.d.ts +2 -0
- package/build-types/utils/input/input-control.d.ts.map +1 -0
- package/build-types/utils/reduce-motion.d.ts +8 -0
- package/build-types/utils/reduce-motion.d.ts.map +1 -0
- package/build-types/utils/rtl.d.ts +4 -4
- package/build-types/utils/rtl.d.ts.map +1 -1
- package/build-types/utils/use-responsive-value.d.ts.map +1 -1
- package/build-types/utils/z-index.d.ts +3 -0
- package/build-types/utils/z-index.d.ts.map +1 -0
- package/build-types/v-stack/hook.d.ts +1 -1
- package/build-types/v-stack/stories/index.story.d.ts +1 -1
- package/build-types/validated-form-controls/components/range-control.d.ts.map +1 -1
- package/build-types/validated-form-controls/components/stories/overview.story.d.ts.map +1 -1
- package/build-types/validated-form-controls/control-with-error.d.ts.map +1 -1
- package/build-types/validated-form-controls/test/checkbox-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/checkbox-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/combobox-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/combobox-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/custom-select-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/custom-select-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/form-token-field.d.ts +2 -0
- package/build-types/validated-form-controls/test/form-token-field.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/input-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/input-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/number-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/number-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/radio-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/radio-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/range-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/range-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/select-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/select-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/text-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/text-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/textarea-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/textarea-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/toggle-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/toggle-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/test/toggle-group-control.d.ts +2 -0
- package/build-types/validated-form-controls/test/toggle-group-control.d.ts.map +1 -0
- package/build-types/validated-form-controls/validity-indicator.d.ts +2 -1
- package/build-types/validated-form-controls/validity-indicator.d.ts.map +1 -1
- package/build-types/view/types.d.ts +8 -0
- package/build-types/view/types.d.ts.map +1 -0
- package/package.json +24 -24
- package/src/alignment-matrix-control/test/index.tsx +1 -1
- package/src/angle-picker-control/angle-circle.tsx +6 -5
- package/src/animate/types.ts +1 -1
- package/src/autocomplete/autocompleter-ui.tsx +1 -1
- package/src/autocomplete/index.tsx +33 -8
- package/src/autocomplete/test/index.tsx +110 -1
- package/src/autocomplete/types.ts +1 -1
- package/src/button/style.scss +8 -5
- package/src/calendar/style.scss +4 -2
- package/src/clipboard-button/index.tsx +1 -1
- package/src/color-palette/stories/index.story.tsx +56 -48
- package/src/color-picker/color-copy-button.tsx +1 -3
- package/src/composite/stories/index.story.tsx +1 -1
- package/src/confirm-dialog/component.tsx +2 -2
- package/src/context/context-connect.ts +3 -3
- package/src/context/context-system-provider.js +4 -4
- package/src/context/wordpress-component.ts +3 -5
- package/src/custom-gradient-picker/gradient-bar/control-points.tsx +3 -2
- package/src/custom-gradient-picker/types.ts +1 -1
- package/src/custom-select-control-v2/custom-select.tsx +1 -1
- package/src/custom-select-control-v2/stories/index.story.tsx +3 -3
- package/src/custom-select-control-v2/test/index.tsx +3 -3
- package/src/custom-select-control-v2/types.ts +4 -4
- package/src/date-time/date/index.tsx +1 -1
- package/src/date-time/test/utils.test.ts +8 -11
- package/src/date-time/time/index.tsx +2 -12
- package/src/date-time/time/test/index.tsx +69 -0
- package/src/date-time/utils.ts +18 -0
- package/src/draggable/index.native.js +17 -17
- package/src/draggable/types.ts +1 -1
- package/src/drop-zone/types.ts +1 -1
- package/src/dropdown/index.tsx +1 -1
- package/src/dropdown-menu/types.ts +1 -1
- package/src/external-link/index.tsx +5 -1
- package/src/font-size-picker/stories/index.story.tsx +133 -125
- package/src/form-token-field/style.scss +1 -0
- package/src/gradient-picker/stories/index.story.tsx +48 -42
- package/src/h-stack/test/index.tsx +1 -1
- package/src/heading/hook.ts +2 -2
- package/src/higher-order/with-notices/test/index.tsx +2 -2
- package/src/higher-order/with-notices/types.ts +1 -1
- package/src/higher-order/with-spoken-messages/index.tsx +2 -4
- package/src/icon/index.tsx +2 -2
- package/src/keyboard-shortcuts/index.tsx +1 -1
- package/src/menu/stories/index.story.tsx +1 -1
- package/src/menu-item/types.ts +1 -1
- package/src/modal/index.tsx +4 -3
- package/src/modal/types.ts +1 -1
- package/src/modal/use-modal-exit-animation.ts +2 -2
- package/src/navigation/README.md +1 -1
- package/src/navigation/types.ts +1 -1
- package/src/number-control/index.tsx +1 -1
- package/src/palette-edit/index.tsx +2 -2
- package/src/palette-edit/types.ts +1 -1
- package/src/panel/README.md +1 -1
- package/src/panel/body.tsx +1 -1
- package/src/panel/types.ts +2 -2
- package/src/popover/stories/index.story.tsx +1 -1
- package/src/private-apis.ts +0 -2
- package/src/radio-control/test/index.tsx +5 -4
- package/src/range-control/index.tsx +1 -1
- package/src/range-control/types.ts +2 -2
- package/src/resizable-box/index.tsx +1 -1
- package/src/resizable-box/resize-tooltip/index.tsx +1 -1
- package/src/resizable-box/resize-tooltip/label.tsx +1 -1
- package/src/resizable-box/resize-tooltip/utils.ts +2 -2
- package/src/sandbox/index.tsx +190 -10
- package/src/sandbox/test/index.tsx +65 -24
- package/src/sandbox/types.ts +11 -0
- package/src/search-control/types.ts +1 -1
- package/src/select-control/styles/select-control-styles.ts +1 -0
- package/src/slot-fill/types.ts +1 -1
- package/src/snackbar/list.tsx +7 -2
- package/src/tabs/styles.ts +1 -0
- package/src/text/utils.ts +18 -18
- package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +18 -16
- package/src/toggle-group-control/toggle-group-control-option-base/component.tsx +1 -1
- package/src/toggle-group-control/toggle-group-control-option-base/styles.ts +4 -6
- package/src/toggle-group-control/types.ts +1 -1
- package/src/tree-grid/roving-tab-index-item.tsx +1 -1
- package/src/tree-grid/types.ts +1 -1
- package/src/utils/element-rect.ts +1 -1
- package/src/utils/hooks/use-update-effect.js +2 -2
- package/src/utils/rtl.js +4 -4
- package/src/utils/use-responsive-value.ts +1 -5
- package/src/v-stack/test/index.tsx +1 -1
- package/src/validated-form-controls/components/stories/overview.story.tsx +2 -1
- package/src/validated-form-controls/control-with-error.tsx +44 -4
- package/src/validated-form-controls/test/checkbox-control.tsx +49 -0
- package/src/validated-form-controls/test/combobox-control.tsx +61 -0
- package/src/validated-form-controls/test/control-with-error.tsx +182 -1
- package/src/validated-form-controls/test/custom-select-control.tsx +60 -0
- package/src/validated-form-controls/test/form-token-field.tsx +52 -0
- package/src/validated-form-controls/test/input-control.tsx +42 -0
- package/src/validated-form-controls/test/number-control.tsx +44 -0
- package/src/validated-form-controls/test/radio-control.tsx +61 -0
- package/src/validated-form-controls/test/range-control.tsx +73 -0
- package/src/validated-form-controls/test/select-control.tsx +57 -0
- package/src/validated-form-controls/test/text-control.tsx +49 -0
- package/src/validated-form-controls/test/textarea-control.tsx +51 -0
- package/src/validated-form-controls/test/toggle-control.tsx +49 -0
- package/src/validated-form-controls/test/toggle-group-control.tsx +28 -0
- package/src/validated-form-controls/validity-indicator.tsx +3 -0
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* External dependencies
|
|
4
|
+
*/
|
|
5
|
+
import type * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
6
|
+
export type DropdownMenuProps = {
|
|
7
|
+
/**
|
|
8
|
+
* The open state of the dropdown menu when it is initially rendered. Use when
|
|
9
|
+
* you do not need to control its open state.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
defaultOpen?: DropdownMenuPrimitive.DropdownMenuProps['defaultOpen'];
|
|
13
|
+
/**
|
|
14
|
+
* The controlled open state of the dropdown menu. Must be used in conjunction
|
|
15
|
+
* with `onOpenChange`.
|
|
16
|
+
*/
|
|
17
|
+
open?: DropdownMenuPrimitive.DropdownMenuProps['open'];
|
|
18
|
+
/**
|
|
19
|
+
* Event handler called when the open state of the dropdown menu changes.
|
|
20
|
+
*/
|
|
21
|
+
onOpenChange?: DropdownMenuPrimitive.DropdownMenuProps['onOpenChange'];
|
|
22
|
+
/**
|
|
23
|
+
* The modality of the dropdown menu. When set to true, interaction with
|
|
24
|
+
* outside elements will be disabled and only menu content will be visible to
|
|
25
|
+
* screen readers.
|
|
26
|
+
*
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
modal?: DropdownMenuPrimitive.DropdownMenuProps['modal'];
|
|
30
|
+
/**
|
|
31
|
+
* The preferred side of the trigger to render against when open.
|
|
32
|
+
* Will be reversed when collisions occur and avoidCollisions is enabled.
|
|
33
|
+
*
|
|
34
|
+
* @default 'bottom'
|
|
35
|
+
*/
|
|
36
|
+
side?: DropdownMenuPrimitive.DropdownMenuContentProps['side'];
|
|
37
|
+
/**
|
|
38
|
+
* The distance in pixels from the trigger.
|
|
39
|
+
*
|
|
40
|
+
* @default 0
|
|
41
|
+
*/
|
|
42
|
+
sideOffset?: DropdownMenuPrimitive.DropdownMenuContentProps['sideOffset'];
|
|
43
|
+
/**
|
|
44
|
+
* The preferred alignment against the trigger.
|
|
45
|
+
* May change when collisions occur.
|
|
46
|
+
*
|
|
47
|
+
* @default 'start'
|
|
48
|
+
*/
|
|
49
|
+
align?: DropdownMenuPrimitive.DropdownMenuContentProps['align'];
|
|
50
|
+
/**
|
|
51
|
+
* An offset in pixels from the "start" or "end" alignment options.
|
|
52
|
+
*
|
|
53
|
+
* @default 0
|
|
54
|
+
*/
|
|
55
|
+
alignOffset?: DropdownMenuPrimitive.DropdownMenuContentProps['alignOffset'];
|
|
56
|
+
/**
|
|
57
|
+
* The trigger button.
|
|
58
|
+
*/
|
|
59
|
+
trigger: React.ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* The contents of the dropdown
|
|
62
|
+
*/
|
|
63
|
+
children: React.ReactNode;
|
|
64
|
+
};
|
|
65
|
+
export type DropdownSubMenuTriggerProps = {
|
|
66
|
+
/**
|
|
67
|
+
* The contents of the item.
|
|
68
|
+
*/
|
|
69
|
+
children: React.ReactNode;
|
|
70
|
+
/**
|
|
71
|
+
* The contents of the item's prefix.
|
|
72
|
+
*/
|
|
73
|
+
prefix?: React.ReactNode;
|
|
74
|
+
/**
|
|
75
|
+
* The contents of the item's suffix.
|
|
76
|
+
*
|
|
77
|
+
* @default The standard chevron icon for a submenu trigger.
|
|
78
|
+
*/
|
|
79
|
+
suffix?: React.ReactNode;
|
|
80
|
+
};
|
|
81
|
+
export type DropdownSubMenuProps = {
|
|
82
|
+
/**
|
|
83
|
+
* The open state of the submenu when it is initially rendered. Use when you
|
|
84
|
+
* do not need to control its open state.
|
|
85
|
+
*/
|
|
86
|
+
defaultOpen?: DropdownMenuPrimitive.DropdownMenuSubProps['defaultOpen'];
|
|
87
|
+
/**
|
|
88
|
+
* The controlled open state of the submenu. Must be used in conjunction with
|
|
89
|
+
* `onOpenChange`.
|
|
90
|
+
*/
|
|
91
|
+
open?: DropdownMenuPrimitive.DropdownMenuSubProps['open'];
|
|
92
|
+
/**
|
|
93
|
+
* Event handler called when the open state of the submenu changes.
|
|
94
|
+
*/
|
|
95
|
+
onOpenChange?: DropdownMenuPrimitive.DropdownMenuSubProps['onOpenChange'];
|
|
96
|
+
/**
|
|
97
|
+
* When `true`, prevents the user from interacting with the item.
|
|
98
|
+
*/
|
|
99
|
+
disabled?: DropdownMenuPrimitive.DropdownMenuSubTriggerProps['disabled'];
|
|
100
|
+
/**
|
|
101
|
+
* Optional text used for typeahead purposes for the trigger. By default the typeahead
|
|
102
|
+
* behavior will use the `.textContent` of the trigger. Use this when the content
|
|
103
|
+
* is complex, or you have non-textual content inside.
|
|
104
|
+
*/
|
|
105
|
+
textValue?: DropdownMenuPrimitive.DropdownMenuSubTriggerProps['textValue'];
|
|
106
|
+
/**
|
|
107
|
+
* The contents rendered inside the trigger. The trigger should be
|
|
108
|
+
* an instance of the `DropdownSubMenuTriggerProps` component.
|
|
109
|
+
*/
|
|
110
|
+
trigger: React.ReactNode;
|
|
111
|
+
/**
|
|
112
|
+
* The contents of the dropdown sub menu
|
|
113
|
+
*/
|
|
114
|
+
children: React.ReactNode;
|
|
115
|
+
};
|
|
116
|
+
export type DropdownMenuItemProps = {
|
|
117
|
+
/**
|
|
118
|
+
* When true, prevents the user from interacting with the item.
|
|
119
|
+
*
|
|
120
|
+
* @default false
|
|
121
|
+
*/
|
|
122
|
+
disabled?: DropdownMenuPrimitive.DropdownMenuItemProps['disabled'];
|
|
123
|
+
/**
|
|
124
|
+
* Event handler called when the user selects an item (via mouse or keyboard).
|
|
125
|
+
* Calling `event.preventDefault` in this handler will prevent the dropdown
|
|
126
|
+
* menu from closing when selecting that item.
|
|
127
|
+
*/
|
|
128
|
+
onSelect?: DropdownMenuPrimitive.DropdownMenuItemProps['onSelect'];
|
|
129
|
+
/**
|
|
130
|
+
* Optional text used for typeahead purposes. By default the typeahead
|
|
131
|
+
* behavior will use the `.textContent` of the item. Use this when the content
|
|
132
|
+
* is complex, or you have non-textual content inside.
|
|
133
|
+
*/
|
|
134
|
+
textValue?: DropdownMenuPrimitive.DropdownMenuItemProps['textValue'];
|
|
135
|
+
/**
|
|
136
|
+
* The contents of the item
|
|
137
|
+
*/
|
|
138
|
+
children: React.ReactNode;
|
|
139
|
+
/**
|
|
140
|
+
* The contents of the item's prefix
|
|
141
|
+
*/
|
|
142
|
+
prefix?: React.ReactNode;
|
|
143
|
+
/**
|
|
144
|
+
* The contents of the item's suffix
|
|
145
|
+
*/
|
|
146
|
+
suffix?: React.ReactNode;
|
|
147
|
+
};
|
|
148
|
+
export type DropdownMenuCheckboxItemProps = {
|
|
149
|
+
/**
|
|
150
|
+
* The controlled checked state of the item.
|
|
151
|
+
* Must be used in conjunction with `onCheckedChange`.
|
|
152
|
+
*
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
checked?: DropdownMenuPrimitive.DropdownMenuCheckboxItemProps['checked'];
|
|
156
|
+
/**
|
|
157
|
+
* Event handler called when the checked state changes.
|
|
158
|
+
*/
|
|
159
|
+
onCheckedChange?: DropdownMenuPrimitive.DropdownMenuCheckboxItemProps['onCheckedChange'];
|
|
160
|
+
/**
|
|
161
|
+
* When `true`, prevents the user from interacting with the item.
|
|
162
|
+
*/
|
|
163
|
+
disabled?: DropdownMenuPrimitive.DropdownMenuCheckboxItemProps['disabled'];
|
|
164
|
+
/**
|
|
165
|
+
* Event handler called when the user selects an item (via mouse or keyboard).
|
|
166
|
+
* Calling `event.preventDefault` in this handler will prevent the dropdown
|
|
167
|
+
* menu from closing when selecting that item.
|
|
168
|
+
*/
|
|
169
|
+
onSelect?: DropdownMenuPrimitive.DropdownMenuCheckboxItemProps['onSelect'];
|
|
170
|
+
/**
|
|
171
|
+
* Optional text used for typeahead purposes. By default the typeahead
|
|
172
|
+
* behavior will use the `.textContent` of the item. Use this when the content
|
|
173
|
+
* is complex, or you have non-textual content inside.
|
|
174
|
+
*/
|
|
175
|
+
textValue?: DropdownMenuPrimitive.DropdownMenuCheckboxItemProps['textValue'];
|
|
176
|
+
/**
|
|
177
|
+
* The contents of the checkbox item
|
|
178
|
+
*/
|
|
179
|
+
children: React.ReactNode;
|
|
180
|
+
/**
|
|
181
|
+
* The contents of the checkbox item's suffix
|
|
182
|
+
*/
|
|
183
|
+
suffix?: React.ReactNode;
|
|
184
|
+
};
|
|
185
|
+
export type DropdownMenuRadioGroupProps = {
|
|
186
|
+
/**
|
|
187
|
+
* The value of the selected item in the group.
|
|
188
|
+
*/
|
|
189
|
+
value?: DropdownMenuPrimitive.DropdownMenuRadioGroupProps['value'];
|
|
190
|
+
/**
|
|
191
|
+
* Event handler called when the value changes.
|
|
192
|
+
*/
|
|
193
|
+
onValueChange?: DropdownMenuPrimitive.DropdownMenuRadioGroupProps['onValueChange'];
|
|
194
|
+
/**
|
|
195
|
+
* The contents of the radio group
|
|
196
|
+
*/
|
|
197
|
+
children: React.ReactNode;
|
|
198
|
+
};
|
|
199
|
+
export type DropdownMenuRadioItemProps = {
|
|
200
|
+
/**
|
|
201
|
+
* The unique value of the item.
|
|
202
|
+
*/
|
|
203
|
+
value: DropdownMenuPrimitive.DropdownMenuRadioItemProps['value'];
|
|
204
|
+
/**
|
|
205
|
+
* When `true`, prevents the user from interacting with the item.
|
|
206
|
+
*/
|
|
207
|
+
disabled?: DropdownMenuPrimitive.DropdownMenuRadioItemProps['disabled'];
|
|
208
|
+
/**
|
|
209
|
+
* Event handler called when the user selects an item (via mouse or keyboard).
|
|
210
|
+
* Calling `event.preventDefault` in this handler will prevent the dropdown
|
|
211
|
+
* menu from closing when selecting that item.
|
|
212
|
+
*/
|
|
213
|
+
onSelect?: DropdownMenuPrimitive.DropdownMenuRadioItemProps['onSelect'];
|
|
214
|
+
/**
|
|
215
|
+
* Optional text used for typeahead purposes. By default the typeahead
|
|
216
|
+
* behavior will use the `.textContent` of the item. Use this when the content
|
|
217
|
+
* is complex, or you have non-textual content inside.
|
|
218
|
+
*/
|
|
219
|
+
textValue?: DropdownMenuPrimitive.DropdownMenuRadioItemProps['textValue'];
|
|
220
|
+
/**
|
|
221
|
+
* The contents of the radio item
|
|
222
|
+
*/
|
|
223
|
+
children: React.ReactNode;
|
|
224
|
+
/**
|
|
225
|
+
* The contents of the radio item's suffix
|
|
226
|
+
*/
|
|
227
|
+
suffix?: React.ReactNode;
|
|
228
|
+
};
|
|
229
|
+
export type DropdownMenuLabelProps = {
|
|
230
|
+
/**
|
|
231
|
+
* The contents of the label
|
|
232
|
+
*/
|
|
233
|
+
children: React.ReactNode;
|
|
234
|
+
};
|
|
235
|
+
export type DropdownMenuGroupProps = {
|
|
236
|
+
/**
|
|
237
|
+
* The contents of the group
|
|
238
|
+
*/
|
|
239
|
+
children: React.ReactNode;
|
|
240
|
+
};
|
|
241
|
+
export type DropdownMenuSeparatorProps = {};
|
|
242
|
+
export type DropdownMenuInternalContext = {
|
|
243
|
+
/**
|
|
244
|
+
* This variant can be used to change the appearance of the component in
|
|
245
|
+
* specific contexts, ie. when rendered inside the `Toolbar` component.
|
|
246
|
+
*/
|
|
247
|
+
variant?: 'toolbar';
|
|
248
|
+
};
|
|
249
|
+
export type DropdownMenuPrivateContext = Pick<DropdownMenuInternalContext, 'variant'> & {
|
|
250
|
+
portalContainer: HTMLElement | null;
|
|
251
|
+
};
|
|
252
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu-v2/types.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAE5E,MAAM,MAAM,iBAAiB,GAAG;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAE,aAAa,CAAE,CAAC;IACvE;;;OAGG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAE,MAAM,CAAE,CAAC;IACzD;;OAEG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAE,cAAc,CAAE,CAAC;IACzE;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAE,OAAO,CAAE,CAAC;IAC3D;;;;;OAKG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,wBAAwB,CAAE,MAAM,CAAE,CAAC;IAChE;;;;OAIG;IACH,UAAU,CAAC,EAAE,qBAAqB,CAAC,wBAAwB,CAAE,YAAY,CAAE,CAAC;IAC5E;;;;;OAKG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC,wBAAwB,CAAE,OAAO,CAAE,CAAC;IAClE;;;;OAIG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC,wBAAwB,CAAE,aAAa,CAAE,CAAC;IAC9E;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACzC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAClC;;;OAGG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC,oBAAoB,CAAE,aAAa,CAAE,CAAC;IAC1E;;;OAGG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,oBAAoB,CAAE,MAAM,CAAE,CAAC;IAC5D;;OAEG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,oBAAoB,CAAE,cAAc,CAAE,CAAC;IAC5E;;OAEG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAC,2BAA2B,CAAE,UAAU,CAAE,CAAC;IAC3E;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC,2BAA2B,CAAE,WAAW,CAAE,CAAC;IAC7E;;;OAGG;IACH,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAC,qBAAqB,CAAE,UAAU,CAAE,CAAC;IACrE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAC,qBAAqB,CAAE,UAAU,CAAE,CAAC;IACrE;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC,qBAAqB,CAAE,WAAW,CAAE,CAAC;IACvE;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC3C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAC,6BAA6B,CAAE,SAAS,CAAE,CAAC;IAC3E;;OAEG;IACH,eAAe,CAAC,EAAE,qBAAqB,CAAC,6BAA6B,CAAE,iBAAiB,CAAE,CAAC;IAC3F;;OAEG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAC,6BAA6B,CAAE,UAAU,CAAE,CAAC;IAC7E;;;;OAIG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAC,6BAA6B,CAAE,UAAU,CAAE,CAAC;IAC7E;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC,6BAA6B,CAAE,WAAW,CAAE,CAAC;IAC/E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACzC;;OAEG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC,2BAA2B,CAAE,OAAO,CAAE,CAAC;IACrE;;OAEG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC,2BAA2B,CAAE,eAAe,CAAE,CAAC;IACrF;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACxC;;OAEG;IACH,KAAK,EAAE,qBAAqB,CAAC,0BAA0B,CAAE,OAAO,CAAE,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAC,0BAA0B,CAAE,UAAU,CAAE,CAAC;IAC1E;;;;OAIG;IACH,QAAQ,CAAC,EAAE,qBAAqB,CAAC,0BAA0B,CAAE,UAAU,CAAE,CAAC;IAC1E;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC,0BAA0B,CAAE,WAAW,CAAE,CAAC;IAC5E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE5C,MAAM,MAAM,2BAA2B,GAAG;IACzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC5C,2BAA2B,EAC3B,SAAS,CACT,GAAG;IACH,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;CACpC,CAAC"}
|
|
@@ -271,6 +271,6 @@ export declare function useElevation(props: WordPressComponentProps<ElevationPro
|
|
|
271
271
|
is?: string | undefined | undefined;
|
|
272
272
|
exportparts?: string | undefined | undefined;
|
|
273
273
|
part?: string | undefined | undefined;
|
|
274
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
274
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
275
275
|
};
|
|
276
276
|
//# sourceMappingURL=hook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/external-link/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/external-link/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAuEjD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,oRAAwC,CAAC;AAGlE,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledIcon: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
icon: JSX.Element;
|
|
4
|
+
size?: number | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
isPressed?: boolean | undefined;
|
|
7
|
+
} & Pick<import("react").SVGProps<SVGSVGElement>, "string" | "end" | "className" | "id" | "role" | "children" | "style" | "clipPath" | "filter" | "mask" | "path" | "offset" | "rotate" | "scale" | "color" | "cursor" | "direction" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLElement> & {
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
}, {}, {}>;
|
|
10
|
+
//# sourceMappingURL=external-link-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-link-styles.d.ts","sourceRoot":"","sources":["../../../src/external-link/styles/external-link-styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,UAAU;;;;;;;UAMtB,CAAC"}
|
|
@@ -17,7 +17,7 @@ export declare function useFlex(props: WordPressComponentProps<FlexProps, 'div'>
|
|
|
17
17
|
hidden?: boolean | undefined | undefined;
|
|
18
18
|
key?: import("react").Key | null | undefined;
|
|
19
19
|
children: import("react").ReactNode;
|
|
20
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
20
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
21
21
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
22
22
|
id?: string | undefined | undefined;
|
|
23
23
|
lang?: string | undefined | undefined;
|
|
@@ -271,6 +271,6 @@ export declare function useFlexBlock(props: WordPressComponentProps<FlexBlockPro
|
|
|
271
271
|
is?: string | undefined | undefined;
|
|
272
272
|
exportparts?: string | undefined | undefined;
|
|
273
273
|
part?: string | undefined | undefined;
|
|
274
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
274
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
275
275
|
};
|
|
276
276
|
//# sourceMappingURL=hook.d.ts.map
|
|
@@ -271,6 +271,6 @@ export declare function useFlexItem(props: WordPressComponentProps<FlexItemProps
|
|
|
271
271
|
is?: string | undefined | undefined;
|
|
272
272
|
exportparts?: string | undefined | undefined;
|
|
273
273
|
part?: string | undefined | undefined;
|
|
274
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
274
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
275
275
|
};
|
|
276
276
|
//# sourceMappingURL=hook.d.ts.map
|
|
@@ -277,7 +277,7 @@ export declare const StyledUnitControl: import("@emotion/styled").StyledComponen
|
|
|
277
277
|
theme?: import("@emotion/react").Theme;
|
|
278
278
|
}, {}, {}>;
|
|
279
279
|
export declare const ControlWrapper: import("@emotion/styled").StyledComponent<import("../../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../../flex/types").FlexProps> & {
|
|
280
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
280
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
281
281
|
} & {
|
|
282
282
|
theme?: import("@emotion/react").Theme;
|
|
283
283
|
} & FocalPointPickerControlsProps, {}, {}>;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* External dependencies
|
|
3
3
|
*/
|
|
4
|
-
import type { Meta,
|
|
4
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
5
5
|
/**
|
|
6
6
|
* Internal dependencies
|
|
7
7
|
*/
|
|
8
8
|
import FontSizePicker from '../';
|
|
9
9
|
declare const meta: Meta<typeof FontSizePicker>;
|
|
10
10
|
export default meta;
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
11
|
+
type FontSizePickerStory = StoryObj<typeof FontSizePicker>;
|
|
12
|
+
export declare const Default: FontSizePickerStory;
|
|
13
|
+
export declare const WithSlider: FontSizePickerStory;
|
|
13
14
|
/**
|
|
14
15
|
* With custom font sizes disabled via the `disableCustomFontSizes` prop, the user will
|
|
15
16
|
* only be able to pick one of the predefined sizes passed in `fontSizes`.
|
|
16
17
|
*/
|
|
17
|
-
export declare const WithCustomSizesDisabled:
|
|
18
|
+
export declare const WithCustomSizesDisabled: FontSizePickerStory;
|
|
18
19
|
/**
|
|
19
20
|
* When there are more than 5 font size options, the UI is no longer a toggle group.
|
|
20
21
|
*/
|
|
21
|
-
export declare const WithMoreFontSizes:
|
|
22
|
+
export declare const WithMoreFontSizes: FontSizePickerStory;
|
|
22
23
|
/**
|
|
23
24
|
* When units like `px` are specified explicitly, it will be shown as a label hint.
|
|
24
25
|
*/
|
|
25
|
-
export declare const WithUnits:
|
|
26
|
+
export declare const WithUnits: FontSizePickerStory;
|
|
26
27
|
/**
|
|
27
28
|
* The label hint will not be shown if it is a complex CSS value. Some examples of complex CSS values
|
|
28
29
|
* in this context are CSS functions like `calc()`, `clamp()`, and `var()`.
|
|
29
30
|
*/
|
|
30
|
-
export declare const WithComplexCSSValues:
|
|
31
|
+
export declare const WithComplexCSSValues: FontSizePickerStory;
|
|
31
32
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/font-size-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/font-size-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQ5D;;GAEG;AACH,OAAO,cAAc,MAAM,KAAK,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAqBtC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,mBAAmB,GAAG,QAAQ,CAAE,OAAO,cAAc,CAAE,CAAC;AAuC7D,eAAO,MAAM,OAAO,EAAE,mBAyBrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,mBAQxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,mBAMrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,mBAsC/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,mBAUvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,mBAuClC,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare const Header: import("@emotion/styled").StyledComponent<Omit<impo
|
|
|
6
6
|
alignment?: import("../h-stack/types").HStackAlignment | import("react").CSSProperties["alignItems"];
|
|
7
7
|
spacing?: import("react").CSSProperties["width"];
|
|
8
8
|
} & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "direction" | "wrap" | "expanded" | "justify" | "children" | "as" | "spacing" | keyof import("react").RefAttributes<any> | "isReversed" | "alignment"> & {
|
|
9
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
9
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
10
10
|
} & {
|
|
11
11
|
theme?: import("@emotion/react").Theme;
|
|
12
12
|
}, {}, {}>;
|
|
@@ -14,7 +14,7 @@ export declare const HeaderToggle: import("@emotion/styled").StyledComponent<((i
|
|
|
14
14
|
theme?: import("@emotion/react").Theme;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export declare const HeaderLabel: import("@emotion/styled").StyledComponent<import("../base-control/types").BaseControlVisualLabelProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children" | "as"> & {
|
|
17
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
17
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
18
18
|
} & import("react").RefAttributes<any> & {
|
|
19
19
|
theme?: import("@emotion/react").Theme;
|
|
20
20
|
}, {}, {}>;
|
|
@@ -3,7 +3,7 @@ type TokensAndInputWrapperProps = {
|
|
|
3
3
|
hasTokens: boolean;
|
|
4
4
|
};
|
|
5
5
|
export declare const TokensAndInputWrapperFlex: import("@emotion/styled").StyledComponent<import("../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../flex/types").FlexProps> & {
|
|
6
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
6
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
7
7
|
} & {
|
|
8
8
|
theme?: import("@emotion/react").Theme;
|
|
9
9
|
} & TokensAndInputWrapperProps, {}, {}>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* External dependencies
|
|
3
3
|
*/
|
|
4
|
-
import type { Meta,
|
|
4
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
5
5
|
/**
|
|
6
6
|
* Internal dependencies
|
|
7
7
|
*/
|
|
8
8
|
import GradientPicker from '..';
|
|
9
9
|
declare const meta: Meta<typeof GradientPicker>;
|
|
10
10
|
export default meta;
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
11
|
+
type GradientPickerStory = StoryObj<typeof GradientPicker>;
|
|
12
|
+
export declare const Default: GradientPickerStory;
|
|
13
|
+
export declare const WithNoExistingGradients: GradientPickerStory;
|
|
14
|
+
export declare const MultipleOrigins: GradientPickerStory;
|
|
15
|
+
export declare const CSSVariables: GradientPickerStory;
|
|
15
16
|
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/gradient-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/gradient-picker/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQ5D;;GAEG;AACH,OAAO,cAAc,MAAM,IAAI,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,cAAc,CAkBtC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,mBAAmB,GAAG,QAAQ,CAAE,OAAO,cAAc,CAAE,CAAC;AAuE7D,eAAO,MAAM,OAAO,EAAE,mBAKrB,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,mBAKrC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,mBAQ7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,mBAkC1B,CAAC"}
|
|
@@ -271,6 +271,6 @@ export default function useGrid(props: WordPressComponentProps<GridProps, 'div'>
|
|
|
271
271
|
is?: string | undefined | undefined;
|
|
272
272
|
exportparts?: string | undefined | undefined;
|
|
273
273
|
part?: string | undefined | undefined;
|
|
274
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
274
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
275
275
|
};
|
|
276
276
|
//# sourceMappingURL=hook.d.ts.map
|
|
@@ -16,7 +16,7 @@ export declare function useHStack(props: WordPressComponentProps<Props, 'div'>):
|
|
|
16
16
|
hidden?: boolean | undefined | undefined;
|
|
17
17
|
key?: import("react").Key | null | undefined;
|
|
18
18
|
children: import("react").ReactNode;
|
|
19
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
19
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
20
20
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
21
21
|
id?: string | undefined | undefined;
|
|
22
22
|
lang?: string | undefined | undefined;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type { WordPressComponentProps } from '../context';
|
|
5
5
|
import type { HeadingProps } from './types';
|
|
6
6
|
export declare function useHeading(props: WordPressComponentProps<HeadingProps, 'h1'>): {
|
|
7
|
-
as: keyof JSX.IntrinsicElements;
|
|
7
|
+
as: keyof import("react").JSX.IntrinsicElements;
|
|
8
8
|
role?: string | undefined;
|
|
9
9
|
"aria-level"?: number | undefined;
|
|
10
10
|
children: import("react").ReactNode;
|
|
@@ -10,7 +10,7 @@ type Shortcuts = {
|
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
12
12
|
export declare function useNavigateRegions(shortcuts?: Shortcuts): {
|
|
13
|
-
ref:
|
|
13
|
+
ref: import("react").RefCallback<Node>;
|
|
14
14
|
className: string;
|
|
15
15
|
onKeyDown(event: React.KeyboardEvent<HTMLDivElement>): void;
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-notices/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG;IAC7B,UAAU,EAAE,eAAe,CAAE,SAAS,CAAE,CAAC;IACzC,gBAAgB,EAAE;QACjB;;;;WAIG;QACH,YAAY,EAAE,CACb,MAAM,EAAE,eAAe,CAAE,SAAS,CAAE,CAAE,MAAM,CAAE,KAC1C,IAAI,CAAC;QACV;;;;WAIG;QACH,iBAAiB,EAAE,CAAE,GAAG,EAAE,MAAM,KAAM,IAAI,CAAC;QAC3C;;;;WAIG;QACH,YAAY,EAAE,CAAE,EAAE,EAAE,MAAM,KAAM,IAAI,CAAC;QACrC;;WAEG;QACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;KAC7B,CAAC;IACF,QAAQ,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-notices/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG;IAC7B,UAAU,EAAE,eAAe,CAAE,SAAS,CAAE,CAAC;IACzC,gBAAgB,EAAE;QACjB;;;;WAIG;QACH,YAAY,EAAE,CACb,MAAM,EAAE,eAAe,CAAE,SAAS,CAAE,CAAE,MAAM,CAAE,KAC1C,IAAI,CAAC;QACV;;;;WAIG;QACH,iBAAiB,EAAE,CAAE,GAAG,EAAE,MAAM,KAAM,IAAI,CAAC;QAC3C;;;;WAIG;QACH,YAAY,EAAE,CAAE,EAAE,EAAE,MAAM,KAAM,IAAI,CAAC;QACrC;;WAEG;QACH,gBAAgB,EAAE,MAAM,IAAI,CAAC;KAC7B,CAAC;IACF,QAAQ,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;CACpC,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/** @typedef {import('react').ComponentType} ComponentType */
|
|
2
1
|
/**
|
|
3
2
|
* A Higher Order Component used to provide speak and debounced speak functions.
|
|
4
3
|
*
|
|
5
4
|
* @see https://developer.wordpress.org/block-editor/packages/packages-a11y/#speak
|
|
6
5
|
*
|
|
7
|
-
* @param {ComponentType} Component The component to be wrapped.
|
|
6
|
+
* @param {React.ComponentType} Component The component to be wrapped.
|
|
8
7
|
*
|
|
9
|
-
* @return {ComponentType} The wrapped component.
|
|
8
|
+
* @return {React.ComponentType} The wrapped component.
|
|
10
9
|
*/
|
|
11
10
|
declare const _default: (Inner: import("react").ComponentType<any>) => (props: any) => import("react").JSX.Element;
|
|
12
11
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-spoken-messages/index.tsx"],"names":[],"mappings":"AAMA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/higher-order/with-spoken-messages/index.tsx"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;;AACH,wBAYE"}
|
|
@@ -7,7 +7,7 @@ export type IconType = DashiconIconKey | ComponentType<{
|
|
|
7
7
|
size?: number;
|
|
8
8
|
}> | ((props: {
|
|
9
9
|
size?: number;
|
|
10
|
-
}) => JSX.Element) | JSX.Element;
|
|
10
|
+
}) => React.JSX.Element) | React.JSX.Element;
|
|
11
11
|
type AdditionalProps<T> = T extends ComponentType<infer U> ? U : T extends DashiconIconKey ? SVGProps<SVGSVGElement> : {};
|
|
12
12
|
export type Props = {
|
|
13
13
|
/**
|
|
@@ -41,6 +41,6 @@ export type Props = {
|
|
|
41
41
|
* <Icon icon={ wordpress } />
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
declare function Icon({ icon, size, ...additionalProps }: Props): JSX.Element | null;
|
|
44
|
+
declare function Icon({ icon, size, ...additionalProps }: Props): import("react").JSX.Element | null;
|
|
45
45
|
export default Icon;
|
|
46
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icon/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgBhE,OAAO,KAAK,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpE,MAAM,MAAM,QAAQ,GACjB,eAAe,GACf,aAAa,CAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAE,GAClC,CAAE,CAAE,KAAK,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAAM,GAAG,CAAC,OAAO,CAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icon/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgBhE,OAAO,KAAK,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpE,MAAM,MAAM,QAAQ,GACjB,eAAe,GACf,aAAa,CAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAE,GAClC,CAAE,CAAE,KAAK,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAAM,KAAK,CAAC,GAAG,CAAC,OAAO,CAAE,GACrD,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AAErB,KAAK,eAAe,CAAE,CAAC,IAAK,CAAC,SAAS,aAAa,CAAE,MAAM,CAAC,CAAE,GAC3D,CAAC,GACD,CAAC,SAAS,eAAe,GACzB,QAAQ,CAAE,aAAa,CAAE,GACzB,EAAE,CAAC;AAEN,MAAM,MAAM,KAAK,GAAG;IACnB;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IACvB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,GAAG,eAAe,CAAE,QAAQ,CAAE,CAAC;AAEhC;;;;;;;;GAQG;AACH,iBAAS,IAAI,CAAE,EACd,IAAW,EACX,IAAyC,EACzC,GAAG,eAAe,EAClB,EAAE,KAAK,sCA8CP;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -31,7 +31,7 @@ export declare const BackdropUI: import("@emotion/styled").StyledComponent<{
|
|
|
31
31
|
as?: React.ElementType;
|
|
32
32
|
} & BackdropProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
33
33
|
export declare const Root: import("@emotion/styled").StyledComponent<import("../../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../../flex/types").FlexProps> & {
|
|
34
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
34
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
35
35
|
} & {
|
|
36
36
|
theme?: import("@emotion/react").Theme;
|
|
37
37
|
}, {}, {}>;
|
|
@@ -83,7 +83,7 @@ export declare const Label: (props: WordPressComponentProps<{
|
|
|
83
83
|
children: ReactNode;
|
|
84
84
|
}, "label", false>) => import("react").JSX.Element;
|
|
85
85
|
export declare const LabelWrapper: import("@emotion/styled").StyledComponent<import("../../flex/types").FlexItemProps & import("react").RefAttributes<any> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "as" | keyof import("react").RefAttributes<any> | keyof import("../../flex/types").FlexItemProps> & {
|
|
86
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
86
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
87
87
|
} & {
|
|
88
88
|
theme?: import("@emotion/react").Theme;
|
|
89
89
|
}, {}, {}>;
|
|
@@ -268,7 +268,7 @@ export declare function useItem(props: WordPressComponentProps<ItemProps, 'div'>
|
|
|
268
268
|
is?: string | undefined | undefined;
|
|
269
269
|
exportparts?: string | undefined | undefined;
|
|
270
270
|
part?: string | undefined | undefined;
|
|
271
|
-
as: keyof JSX.IntrinsicElements;
|
|
271
|
+
as: keyof import("react").JSX.IntrinsicElements;
|
|
272
272
|
className: string;
|
|
273
273
|
onClick: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
274
274
|
wrapperClassName: string;
|
|
@@ -270,7 +270,7 @@ export declare function useItemGroup(props: WordPressComponentProps<ItemGroupPro
|
|
|
270
270
|
is?: string | undefined | undefined;
|
|
271
271
|
exportparts?: string | undefined | undefined;
|
|
272
272
|
part?: string | undefined | undefined;
|
|
273
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
273
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
274
274
|
isBordered: boolean;
|
|
275
275
|
className: string;
|
|
276
276
|
role: import("react").AriaRole;
|
|
@@ -73,7 +73,7 @@ export declare const Menu: import("../context").WordPressComponent<import("react
|
|
|
73
73
|
ItemLabel: import("react").ForwardRefExoticComponent<{
|
|
74
74
|
children: React.ReactNode;
|
|
75
75
|
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children" | "as"> & {
|
|
76
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
76
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
77
77
|
} & import("react").RefAttributes<HTMLSpanElement>> & {
|
|
78
78
|
displayName: string;
|
|
79
79
|
};
|
|
@@ -84,7 +84,7 @@ export declare const Menu: import("../context").WordPressComponent<import("react
|
|
|
84
84
|
ItemHelpText: import("react").ForwardRefExoticComponent<{
|
|
85
85
|
children: React.ReactNode;
|
|
86
86
|
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children" | "as"> & {
|
|
87
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
87
|
+
as?: keyof import("react").JSX.IntrinsicElements | undefined;
|
|
88
88
|
} & import("react").RefAttributes<HTMLSpanElement>> & {
|
|
89
89
|
displayName: string;
|
|
90
90
|
};
|