@wordpress/block-editor 15.7.0 → 15.8.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 +2 -0
- package/build/autocompleters/block.js +5 -3
- package/build/autocompleters/block.js.map +1 -1
- package/build/autocompleters/link.js +4 -2
- package/build/autocompleters/link.js.map +1 -1
- package/build/components/alignment-control/index.js +5 -3
- package/build/components/alignment-control/index.js.map +1 -1
- package/build/components/alignment-control/ui.js +5 -3
- package/build/components/alignment-control/ui.js.map +1 -1
- package/build/components/autocomplete/index.js +4 -2
- package/build/components/autocomplete/index.js.map +1 -1
- package/build/components/background-image-control/index.js +9 -7
- package/build/components/background-image-control/index.js.map +1 -1
- package/build/components/block-actions/index.js +2 -0
- package/build/components/block-actions/index.js.map +1 -1
- package/build/components/block-alignment-control/constants.js +4 -2
- package/build/components/block-alignment-control/constants.js.map +1 -1
- package/build/components/block-alignment-control/index.js +5 -3
- package/build/components/block-alignment-control/index.js.map +1 -1
- package/build/components/block-alignment-control/ui.js +3 -1
- package/build/components/block-alignment-control/ui.js.map +1 -1
- package/build/components/block-alignment-control/use-available-alignments.js +5 -3
- package/build/components/block-alignment-control/use-available-alignments.js.map +1 -1
- package/build/components/block-alignment-matrix-control/index.js +4 -2
- package/build/components/block-alignment-matrix-control/index.js.map +1 -1
- package/build/components/block-allowed-blocks/allowed-blocks-control.js +3 -1
- package/build/components/block-allowed-blocks/allowed-blocks-control.js.map +1 -1
- package/build/components/block-allowed-blocks/index.js +2 -0
- package/build/components/block-allowed-blocks/index.js.map +1 -1
- package/build/components/block-allowed-blocks/modal.js +3 -1
- package/build/components/block-allowed-blocks/modal.js.map +1 -1
- package/build/components/block-breadcrumb/index.js +3 -1
- package/build/components/block-breadcrumb/index.js.map +1 -1
- package/build/components/block-canvas/index.js +4 -2
- package/build/components/block-canvas/index.js.map +1 -1
- package/build/components/block-card/index.js +79 -35
- package/build/components/block-card/index.js.map +2 -2
- package/build/components/block-compare/block-view.js +3 -1
- package/build/components/block-compare/block-view.js.map +1 -1
- package/build/components/block-compare/index.js +3 -1
- package/build/components/block-compare/index.js.map +1 -1
- package/build/components/block-content-overlay/index.js +2 -0
- package/build/components/block-content-overlay/index.js.map +1 -1
- package/build/components/block-context/index.js +4 -2
- package/build/components/block-context/index.js.map +1 -1
- package/build/components/block-controls/fill.js +3 -1
- package/build/components/block-controls/fill.js.map +1 -1
- package/build/components/block-controls/groups.js +8 -6
- package/build/components/block-controls/groups.js.map +1 -1
- package/build/components/block-controls/hook.js +2 -0
- package/build/components/block-controls/hook.js.map +1 -1
- package/build/components/block-controls/index.js +5 -3
- package/build/components/block-controls/index.js.map +1 -1
- package/build/components/block-controls/slot.js +4 -2
- package/build/components/block-controls/slot.js.map +1 -1
- package/build/components/block-draggable/draggable-chip.js +3 -1
- package/build/components/block-draggable/draggable-chip.js.map +1 -1
- package/build/components/block-draggable/index.js +4 -2
- package/build/components/block-draggable/index.js.map +1 -1
- package/build/components/block-draggable/use-scroll-when-dragging.js +6 -4
- package/build/components/block-draggable/use-scroll-when-dragging.js.map +1 -1
- package/build/components/block-edit/context.js +10 -8
- package/build/components/block-edit/context.js.map +1 -1
- package/build/components/block-edit/edit.js +7 -5
- package/build/components/block-edit/edit.js.map +1 -1
- package/build/components/block-edit/index.js +3 -1
- package/build/components/block-edit/index.js.map +1 -1
- package/build/components/block-edit/multiple-usage-warning.js +3 -1
- package/build/components/block-edit/multiple-usage-warning.js.map +1 -1
- package/build/components/block-edit-visually-button/index.js +3 -1
- package/build/components/block-edit-visually-button/index.js.map +1 -1
- package/build/components/block-editing-mode/index.js +2 -0
- package/build/components/block-editing-mode/index.js.map +1 -1
- package/build/components/block-full-height-alignment-control/index.js +3 -1
- package/build/components/block-full-height-alignment-control/index.js.map +1 -1
- package/build/components/block-heading-level-dropdown/heading-level-icon.js +4 -2
- package/build/components/block-heading-level-dropdown/heading-level-icon.js.map +1 -1
- package/build/components/block-heading-level-dropdown/index.js +5 -3
- package/build/components/block-heading-level-dropdown/index.js.map +1 -1
- package/build/components/block-icon/index.js +3 -1
- package/build/components/block-icon/index.js.map +1 -1
- package/build/components/block-inspector/edit-contents.js +72 -0
- package/build/components/block-inspector/edit-contents.js.map +7 -0
- package/build/components/block-inspector/index.js +38 -13
- package/build/components/block-inspector/index.js.map +3 -3
- package/build/components/block-inspector/useBlockInspectorAnimationSettings.js +2 -0
- package/build/components/block-inspector/useBlockInspectorAnimationSettings.js.map +1 -1
- package/build/components/block-list/block-crash-boundary.js +4 -2
- package/build/components/block-list/block-crash-boundary.js.map +1 -1
- package/build/components/block-list/block-crash-warning.js +4 -2
- package/build/components/block-list/block-crash-warning.js.map +1 -1
- package/build/components/block-list/block-html.js +3 -1
- package/build/components/block-list/block-html.js.map +1 -1
- package/build/components/block-list/block-invalid-warning.js +4 -2
- package/build/components/block-list/block-invalid-warning.js.map +1 -1
- package/build/components/block-list/block.js +8 -6
- package/build/components/block-list/block.js.map +2 -2
- package/build/components/block-list/index.js +40 -29
- package/build/components/block-list/index.js.map +2 -2
- package/build/components/block-list/layout.js +6 -4
- package/build/components/block-list/layout.js.map +1 -1
- package/build/components/block-list/private-block-context.js +3 -1
- package/build/components/block-list/private-block-context.js.map +1 -1
- package/build/components/block-list/subdirectory-icon.js +4 -2
- package/build/components/block-list/subdirectory-icon.js.map +1 -1
- package/build/components/block-list/use-block-props/index.js +4 -2
- package/build/components/block-list/use-block-props/index.js.map +2 -2
- package/build/components/block-list/use-block-props/use-block-refs.js +2 -0
- package/build/components/block-list/use-block-props/use-block-refs.js.map +1 -1
- package/build/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +3 -1
- package/build/components/block-list/use-block-props/use-firefox-draggable-compatibility.js.map +1 -1
- package/build/components/block-list/use-block-props/use-focus-first-element.js +2 -0
- package/build/components/block-list/use-block-props/use-focus-first-element.js.map +1 -1
- package/build/components/block-list/use-block-props/use-focus-handler.js +2 -0
- package/build/components/block-list/use-block-props/use-focus-handler.js.map +1 -1
- package/build/components/block-list/use-block-props/use-intersection-observer.js +2 -0
- package/build/components/block-list/use-block-props/use-intersection-observer.js.map +1 -1
- package/build/components/block-list/use-block-props/use-is-hovered.js +2 -0
- package/build/components/block-list/use-block-props/use-is-hovered.js.map +1 -1
- package/build/components/block-list/use-block-props/use-scroll-into-view.js +2 -0
- package/build/components/block-list/use-block-props/use-scroll-into-view.js.map +1 -1
- package/build/components/block-list/use-block-props/use-selected-block-event-handlers.js +2 -0
- package/build/components/block-list/use-block-props/use-selected-block-event-handlers.js.map +1 -1
- package/build/components/block-list/use-in-between-inserter.js +2 -0
- package/build/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build/components/block-list/zoom-out-separator.js +3 -1
- package/build/components/block-list/zoom-out-separator.js.map +1 -1
- package/build/components/block-list-appender/index.js +3 -1
- package/build/components/block-list-appender/index.js.map +1 -1
- package/build/components/block-lock/index.js +2 -0
- package/build/components/block-lock/index.js.map +1 -1
- package/build/components/block-lock/menu-item.js +3 -1
- package/build/components/block-lock/menu-item.js.map +1 -1
- package/build/components/block-lock/modal.js +4 -2
- package/build/components/block-lock/modal.js.map +1 -1
- package/build/components/block-lock/toolbar.js +3 -1
- package/build/components/block-lock/toolbar.js.map +1 -1
- package/build/components/block-lock/use-block-lock.js +2 -0
- package/build/components/block-lock/use-block-lock.js.map +1 -1
- package/build/components/block-manager/category.js +3 -1
- package/build/components/block-manager/category.js.map +1 -1
- package/build/components/block-manager/checklist.js +3 -1
- package/build/components/block-manager/checklist.js.map +1 -1
- package/build/components/block-manager/index.js +3 -1
- package/build/components/block-manager/index.js.map +1 -1
- package/build/components/block-mover/button.js +8 -6
- package/build/components/block-mover/button.js.map +1 -1
- package/build/components/block-mover/index.js +3 -1
- package/build/components/block-mover/index.js.map +1 -1
- package/build/components/block-mover/mover-description.js +3 -1
- package/build/components/block-mover/mover-description.js.map +1 -1
- package/build/components/block-navigation/dropdown.js +3 -1
- package/build/components/block-navigation/dropdown.js.map +1 -1
- package/build/components/block-parent-selector/index.js +3 -1
- package/build/components/block-parent-selector/index.js.map +1 -1
- package/build/components/block-pattern-setup/constants.js +3 -1
- package/build/components/block-pattern-setup/constants.js.map +1 -1
- package/build/components/block-pattern-setup/index.js +5 -3
- package/build/components/block-pattern-setup/index.js.map +1 -1
- package/build/components/block-pattern-setup/setup-toolbar.js +6 -4
- package/build/components/block-pattern-setup/setup-toolbar.js.map +1 -1
- package/build/components/block-pattern-setup/use-patterns-setup.js +2 -0
- package/build/components/block-pattern-setup/use-patterns-setup.js.map +1 -1
- package/build/components/block-patterns-list/index.js +4 -2
- package/build/components/block-patterns-list/index.js.map +1 -1
- package/build/components/block-patterns-paging/index.js +3 -1
- package/build/components/block-patterns-paging/index.js.map +1 -1
- package/build/components/block-popover/cover.js +3 -1
- package/build/components/block-popover/cover.js.map +1 -1
- package/build/components/block-popover/drop-zone.js +4 -2
- package/build/components/block-popover/drop-zone.js.map +1 -1
- package/build/components/block-popover/inbetween.js +4 -2
- package/build/components/block-popover/inbetween.js.map +2 -2
- package/build/components/block-popover/index.js +6 -4
- package/build/components/block-popover/index.js.map +1 -1
- package/build/components/block-popover/use-popover-scroll.js +3 -1
- package/build/components/block-popover/use-popover-scroll.js.map +1 -1
- package/build/components/block-preview/async.js +3 -1
- package/build/components/block-preview/async.js.map +1 -1
- package/build/components/block-preview/auto.js +6 -4
- package/build/components/block-preview/auto.js.map +1 -1
- package/build/components/block-preview/index.js +5 -3
- package/build/components/block-preview/index.js.map +1 -1
- package/build/components/block-quick-navigation/index.js +3 -1
- package/build/components/block-quick-navigation/index.js.map +1 -1
- package/build/components/block-removal-warning-modal/index.js +3 -1
- package/build/components/block-removal-warning-modal/index.js.map +1 -1
- package/build/components/block-rename/index.js +2 -0
- package/build/components/block-rename/index.js.map +1 -1
- package/build/components/block-rename/is-empty-string.js +2 -0
- package/build/components/block-rename/is-empty-string.js.map +1 -1
- package/build/components/block-rename/modal.js +3 -1
- package/build/components/block-rename/modal.js.map +1 -1
- package/build/components/block-rename/rename-control.js +3 -1
- package/build/components/block-rename/rename-control.js.map +1 -1
- package/build/components/block-rename/use-block-rename.js +2 -0
- package/build/components/block-rename/use-block-rename.js.map +1 -1
- package/build/components/block-selection-clearer/index.js +3 -1
- package/build/components/block-selection-clearer/index.js.map +1 -1
- package/build/components/block-settings-menu/block-html-convert-button.js +3 -1
- package/build/components/block-settings-menu/block-html-convert-button.js.map +1 -1
- package/build/components/block-settings-menu/block-mode-toggle.js +4 -2
- package/build/components/block-settings-menu/block-mode-toggle.js.map +1 -1
- package/build/components/block-settings-menu/block-parent-selector-menu-item.js +3 -1
- package/build/components/block-settings-menu/block-parent-selector-menu-item.js.map +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.js +8 -3
- package/build/components/block-settings-menu/block-settings-dropdown.js.map +2 -2
- package/build/components/block-settings-menu/block-settings-menu-first-item.js +3 -1
- package/build/components/block-settings-menu/block-settings-menu-first-item.js.map +1 -1
- package/build/components/block-settings-menu/index.js +3 -1
- package/build/components/block-settings-menu/index.js.map +1 -1
- package/build/components/block-settings-menu-controls/index.js +6 -4
- package/build/components/block-settings-menu-controls/index.js.map +2 -2
- package/build/components/block-styles/index.js +4 -2
- package/build/components/block-styles/index.js.map +1 -1
- package/build/components/block-styles/menu-items.js +4 -2
- package/build/components/block-styles/menu-items.js.map +1 -1
- package/build/components/block-styles/preview-panel.js +3 -1
- package/build/components/block-styles/preview-panel.js.map +1 -1
- package/build/components/block-styles/use-styles-for-block.js +2 -0
- package/build/components/block-styles/use-styles-for-block.js.map +1 -1
- package/build/components/block-styles/utils.js +2 -0
- package/build/components/block-styles/utils.js.map +1 -1
- package/build/components/block-switcher/block-styles-menu.js +3 -1
- package/build/components/block-switcher/block-styles-menu.js.map +1 -1
- package/build/components/block-switcher/block-transformations-menu.js +4 -2
- package/build/components/block-switcher/block-transformations-menu.js.map +1 -1
- package/build/components/block-switcher/block-variation-transformations.js +5 -3
- package/build/components/block-switcher/block-variation-transformations.js.map +1 -1
- package/build/components/block-switcher/index.js +27 -124
- package/build/components/block-switcher/index.js.map +3 -3
- package/build/components/block-switcher/pattern-transformations-menu.js +3 -1
- package/build/components/block-switcher/pattern-transformations-menu.js.map +1 -1
- package/build/components/block-switcher/preview-block-popover.js +3 -1
- package/build/components/block-switcher/preview-block-popover.js.map +1 -1
- package/build/components/block-switcher/use-transformed-patterns.js +5 -3
- package/build/components/block-switcher/use-transformed-patterns.js.map +1 -1
- package/build/components/block-switcher/utils.js +4 -2
- package/build/components/block-switcher/utils.js.map +1 -1
- package/build/components/block-title/index.js +2 -0
- package/build/components/block-title/index.js.map +1 -1
- package/build/components/block-title/use-block-display-title.js +2 -0
- package/build/components/block-title/use-block-display-title.js.map +1 -1
- package/build/components/block-toolbar/block-name-context.js +3 -1
- package/build/components/block-toolbar/block-name-context.js.map +1 -1
- package/build/components/block-toolbar/block-toolbar-icon.js +175 -0
- package/build/components/block-toolbar/block-toolbar-icon.js.map +7 -0
- package/build/components/block-toolbar/block-toolbar-last-item.js +3 -1
- package/build/components/block-toolbar/block-toolbar-last-item.js.map +1 -1
- package/build/components/block-toolbar/change-design.js +6 -4
- package/build/components/block-toolbar/change-design.js.map +1 -1
- package/build/components/block-toolbar/index.js +54 -54
- package/build/components/block-toolbar/index.js.map +3 -3
- package/build/components/block-toolbar/pattern-overrides-dropdown.js +93 -0
- package/build/components/block-toolbar/pattern-overrides-dropdown.js.map +7 -0
- package/build/components/block-toolbar/switch-section-style.js +4 -2
- package/build/components/block-toolbar/switch-section-style.js.map +1 -1
- package/build/components/block-toolbar/use-has-block-toolbar.js +2 -0
- package/build/components/block-toolbar/use-has-block-toolbar.js.map +1 -1
- package/build/components/block-toolbar/utils.js +4 -2
- package/build/components/block-toolbar/utils.js.map +1 -1
- package/build/components/block-tools/block-toolbar-popover.js +3 -1
- package/build/components/block-tools/block-toolbar-popover.js.map +1 -1
- package/build/components/block-tools/empty-block-inserter.js +3 -1
- package/build/components/block-tools/empty-block-inserter.js.map +1 -1
- package/build/components/block-tools/index.js +13 -4
- package/build/components/block-tools/index.js.map +2 -2
- package/build/components/block-tools/insertion-point.js +4 -2
- package/build/components/block-tools/insertion-point.js.map +1 -1
- package/build/components/block-tools/use-block-toolbar-popover-props.js +5 -3
- package/build/components/block-tools/use-block-toolbar-popover-props.js.map +1 -1
- package/build/components/block-tools/use-selected-block-tool-props.js +2 -0
- package/build/components/block-tools/use-selected-block-tool-props.js.map +1 -1
- package/build/components/block-tools/use-show-block-tools.js +2 -0
- package/build/components/block-tools/use-show-block-tools.js.map +1 -1
- package/build/components/block-tools/zoom-out-mode-inserter-button.js +3 -1
- package/build/components/block-tools/zoom-out-mode-inserter-button.js.map +1 -1
- package/build/components/block-tools/zoom-out-mode-inserters.js +3 -1
- package/build/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build/components/block-types-list/index.js +3 -1
- package/build/components/block-types-list/index.js.map +1 -1
- package/build/components/block-variation-picker/index.js +3 -1
- package/build/components/block-variation-picker/index.js.map +1 -1
- package/build/components/block-variation-transforms/index.js +32 -30
- package/build/components/block-variation-transforms/index.js.map +3 -3
- package/build/components/block-vertical-alignment-control/index.js +5 -3
- package/build/components/block-vertical-alignment-control/index.js.map +1 -1
- package/build/components/block-vertical-alignment-control/ui.js +6 -4
- package/build/components/block-vertical-alignment-control/ui.js.map +1 -1
- package/build/components/block-visibility/index.js +2 -0
- package/build/components/block-visibility/index.js.map +1 -1
- package/build/components/block-visibility/menu-item.js +3 -1
- package/build/components/block-visibility/menu-item.js.map +1 -1
- package/build/components/block-visibility/toolbar.js +3 -1
- package/build/components/block-visibility/toolbar.js.map +1 -1
- package/build/components/border-radius-control/constants.js +9 -7
- package/build/components/border-radius-control/constants.js.map +1 -1
- package/build/components/border-radius-control/index.js +3 -1
- package/build/components/border-radius-control/index.js.map +1 -1
- package/build/components/border-radius-control/linked-button.js +3 -1
- package/build/components/border-radius-control/linked-button.js.map +1 -1
- package/build/components/border-radius-control/single-input-control.js +3 -1
- package/build/components/border-radius-control/single-input-control.js.map +1 -1
- package/build/components/border-radius-control/utils.js +9 -3
- package/build/components/border-radius-control/utils.js.map +2 -2
- package/build/components/button-block-appender/index.js +4 -2
- package/build/components/button-block-appender/index.js.map +1 -1
- package/build/components/child-layout-control/index.js +3 -1
- package/build/components/child-layout-control/index.js.map +1 -1
- package/build/components/collab/block-comment-icon-slot.js +3 -1
- package/build/components/collab/block-comment-icon-slot.js.map +1 -1
- package/build/components/collab/block-comment-icon-toolbar-slot.js +3 -1
- package/build/components/collab/block-comment-icon-toolbar-slot.js.map +1 -1
- package/build/components/color-palette/control.js +3 -1
- package/build/components/color-palette/control.js.map +1 -1
- package/build/components/color-palette/index.js +2 -0
- package/build/components/color-palette/index.js.map +1 -1
- package/build/components/color-palette/with-color-context.js +3 -1
- package/build/components/color-palette/with-color-context.js.map +1 -1
- package/build/components/color-style-selector/index.js +7 -5
- package/build/components/color-style-selector/index.js.map +1 -1
- package/build/components/colors/index.js +2 -0
- package/build/components/colors/index.js.map +1 -1
- package/build/components/colors/utils.js +5 -3
- package/build/components/colors/utils.js.map +1 -1
- package/build/components/colors/with-colors.js +7 -5
- package/build/components/colors/with-colors.js.map +1 -1
- package/build/components/colors-gradients/control.js +6 -4
- package/build/components/colors-gradients/control.js.map +1 -1
- package/build/components/colors-gradients/dropdown.js +6 -4
- package/build/components/colors-gradients/dropdown.js.map +1 -1
- package/build/components/colors-gradients/panel-color-gradient-settings.js +7 -5
- package/build/components/colors-gradients/panel-color-gradient-settings.js.map +1 -1
- package/build/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +2 -0
- package/build/components/colors-gradients/use-multiple-origin-colors-and-gradients.js.map +1 -1
- package/build/components/content-lock/index.js +4 -2
- package/build/components/content-lock/index.js.map +2 -2
- package/build/components/content-lock/modify-content-lock-menu-item.js +14 -12
- package/build/components/content-lock/modify-content-lock-menu-item.js.map +2 -2
- package/build/components/contrast-checker/index.js +3 -1
- package/build/components/contrast-checker/index.js.map +1 -1
- package/build/components/convert-to-group-buttons/index.js +3 -1
- package/build/components/convert-to-group-buttons/index.js.map +1 -1
- package/build/components/convert-to-group-buttons/toolbar.js +4 -2
- package/build/components/convert-to-group-buttons/toolbar.js.map +1 -1
- package/build/components/convert-to-group-buttons/use-convert-to-group-button-props.js +2 -0
- package/build/components/convert-to-group-buttons/use-convert-to-group-button-props.js.map +1 -1
- package/build/components/copy-handler/index.js +4 -2
- package/build/components/copy-handler/index.js.map +1 -1
- package/build/components/date-format-picker/index.js +4 -2
- package/build/components/date-format-picker/index.js.map +1 -1
- package/build/components/default-block-appender/index.js +4 -2
- package/build/components/default-block-appender/index.js.map +1 -1
- package/build/components/dimensions-tool/aspect-ratio-tool.js +3 -1
- package/build/components/dimensions-tool/aspect-ratio-tool.js.map +1 -1
- package/build/components/dimensions-tool/index.js +3 -1
- package/build/components/dimensions-tool/index.js.map +1 -1
- package/build/components/dimensions-tool/scale-tool.js +4 -2
- package/build/components/dimensions-tool/scale-tool.js.map +1 -1
- package/build/components/dimensions-tool/width-height-tool.js +4 -2
- package/build/components/dimensions-tool/width-height-tool.js.map +1 -1
- package/build/components/duotone/utils.js +2 -0
- package/build/components/duotone/utils.js.map +1 -1
- package/build/components/duotone-control/index.js +3 -1
- package/build/components/duotone-control/index.js.map +1 -1
- package/build/components/editable-text/index.js +4 -2
- package/build/components/editable-text/index.js.map +1 -1
- package/build/components/editor-styles/index.js +3 -1
- package/build/components/editor-styles/index.js.map +1 -1
- package/build/components/floating-toolbar/nav-up-icon.js +4 -2
- package/build/components/floating-toolbar/nav-up-icon.js.map +1 -1
- package/build/components/font-appearance-control/index.js +4 -2
- package/build/components/font-appearance-control/index.js.map +1 -1
- package/build/components/font-family/index.js +3 -1
- package/build/components/font-family/index.js.map +1 -1
- package/build/components/font-sizes/fluid-utils.js +8 -6
- package/build/components/font-sizes/fluid-utils.js.map +1 -1
- package/build/components/font-sizes/font-size-picker.js +3 -1
- package/build/components/font-sizes/font-size-picker.js.map +1 -1
- package/build/components/font-sizes/index.js +2 -0
- package/build/components/font-sizes/index.js.map +1 -1
- package/build/components/font-sizes/utils.js +4 -2
- package/build/components/font-sizes/utils.js.map +1 -1
- package/build/components/font-sizes/with-font-sizes.js +5 -3
- package/build/components/font-sizes/with-font-sizes.js.map +1 -1
- package/build/components/global-styles/advanced-panel.js +3 -1
- package/build/components/global-styles/advanced-panel.js.map +1 -1
- package/build/components/global-styles/background-panel.js +4 -2
- package/build/components/global-styles/background-panel.js.map +1 -1
- package/build/components/global-styles/border-panel.js +15 -9
- package/build/components/global-styles/border-panel.js.map +2 -2
- package/build/components/global-styles/color-panel.js +42 -32
- package/build/components/global-styles/color-panel.js.map +2 -2
- package/build/components/global-styles/dimensions-panel.js +5 -3
- package/build/components/global-styles/dimensions-panel.js.map +1 -1
- package/build/components/global-styles/filters-panel.js +8 -6
- package/build/components/global-styles/filters-panel.js.map +1 -1
- package/build/components/global-styles/hooks.js +2 -0
- package/build/components/global-styles/hooks.js.map +1 -1
- package/build/components/global-styles/image-settings-panel.js +3 -1
- package/build/components/global-styles/image-settings-panel.js.map +1 -1
- package/build/components/global-styles/index.js +2 -0
- package/build/components/global-styles/index.js.map +1 -1
- package/build/components/global-styles/shadow-panel-components.js +4 -2
- package/build/components/global-styles/shadow-panel-components.js.map +1 -1
- package/build/components/global-styles/typography-panel.js +9 -6
- package/build/components/global-styles/typography-panel.js.map +2 -2
- package/build/components/global-styles/typography-utils.js +2 -0
- package/build/components/global-styles/typography-utils.js.map +1 -1
- package/build/components/global-styles/utils.js +2 -0
- package/build/components/global-styles/utils.js.map +1 -1
- package/build/components/gradients/index.js +2 -0
- package/build/components/gradients/index.js.map +1 -1
- package/build/components/gradients/use-gradient.js +2 -0
- package/build/components/gradients/use-gradient.js.map +1 -1
- package/build/components/gradients/with-gradient.js +4 -2
- package/build/components/gradients/with-gradient.js.map +1 -1
- package/build/components/grid/grid-item-movers.js +3 -1
- package/build/components/grid/grid-item-movers.js.map +1 -1
- package/build/components/grid/grid-item-resizer.js +3 -1
- package/build/components/grid/grid-item-resizer.js.map +1 -1
- package/build/components/grid/grid-visualizer.js +4 -2
- package/build/components/grid/grid-visualizer.js.map +1 -1
- package/build/components/grid/index.js +2 -0
- package/build/components/grid/index.js.map +1 -1
- package/build/components/grid/use-get-number-of-blocks-before-cell.js +2 -0
- package/build/components/grid/use-get-number-of-blocks-before-cell.js.map +1 -1
- package/build/components/grid/use-grid-layout-sync.js +2 -0
- package/build/components/grid/use-grid-layout-sync.js.map +1 -1
- package/build/components/grid/utils.js +4 -2
- package/build/components/grid/utils.js.map +1 -1
- package/build/components/height-control/index.js +4 -2
- package/build/components/height-control/index.js.map +1 -1
- package/build/components/html-element-control/index.js +3 -1
- package/build/components/html-element-control/index.js.map +1 -1
- package/build/components/html-element-control/messages.js +3 -1
- package/build/components/html-element-control/messages.js.map +1 -1
- package/build/components/iframe/get-compatibility-styles.js +3 -1
- package/build/components/iframe/get-compatibility-styles.js.map +1 -1
- package/build/components/iframe/index.js +3 -4
- package/build/components/iframe/index.js.map +2 -2
- package/build/components/iframe/use-scale-canvas.js +2 -0
- package/build/components/iframe/use-scale-canvas.js.map +1 -1
- package/build/components/image-editor/aspect-ratio-dropdown.js +3 -1
- package/build/components/image-editor/aspect-ratio-dropdown.js.map +1 -1
- package/build/components/image-editor/constants.js +5 -3
- package/build/components/image-editor/constants.js.map +1 -1
- package/build/components/image-editor/context.js +5 -3
- package/build/components/image-editor/context.js.map +1 -1
- package/build/components/image-editor/cropper.js +3 -1
- package/build/components/image-editor/cropper.js.map +1 -1
- package/build/components/image-editor/form-controls.js +3 -1
- package/build/components/image-editor/form-controls.js.map +1 -1
- package/build/components/image-editor/index.js +3 -1
- package/build/components/image-editor/index.js.map +1 -1
- package/build/components/image-editor/rotation-button.js +3 -1
- package/build/components/image-editor/rotation-button.js.map +1 -1
- package/build/components/image-editor/use-save-image.js +3 -1
- package/build/components/image-editor/use-save-image.js.map +1 -1
- package/build/components/image-editor/use-transform-image.js +2 -0
- package/build/components/image-editor/use-transform-image.js.map +1 -1
- package/build/components/image-editor/zoom-dropdown.js +3 -1
- package/build/components/image-editor/zoom-dropdown.js.map +1 -1
- package/build/components/image-size-control/index.js +5 -3
- package/build/components/image-size-control/index.js.map +1 -1
- package/build/components/image-size-control/use-dimension-handler.js +2 -0
- package/build/components/image-size-control/use-dimension-handler.js.map +1 -1
- package/build/components/index.js +2 -0
- package/build/components/index.js.map +1 -1
- package/build/components/inner-blocks/button-block-appender.js +3 -1
- package/build/components/inner-blocks/button-block-appender.js.map +1 -1
- package/build/components/inner-blocks/default-block-appender.js +3 -1
- package/build/components/inner-blocks/default-block-appender.js.map +1 -1
- package/build/components/inner-blocks/index.js +6 -4
- package/build/components/inner-blocks/index.js.map +1 -1
- package/build/components/inner-blocks/use-block-context.js +2 -0
- package/build/components/inner-blocks/use-block-context.js.map +1 -1
- package/build/components/inner-blocks/use-inner-block-template-sync.js +2 -0
- package/build/components/inner-blocks/use-inner-block-template-sync.js.map +1 -1
- package/build/components/inner-blocks/use-nested-settings-update.js +3 -1
- package/build/components/inner-blocks/use-nested-settings-update.js.map +1 -1
- package/build/components/inserter/block-patterns-explorer/index.js +3 -1
- package/build/components/inserter/block-patterns-explorer/index.js.map +1 -1
- package/build/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +3 -1
- package/build/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js.map +1 -1
- package/build/components/inserter/block-patterns-explorer/pattern-list.js +3 -1
- package/build/components/inserter/block-patterns-explorer/pattern-list.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/index.js +3 -1
- package/build/components/inserter/block-patterns-tab/index.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/pattern-category-previews.js +4 -2
- package/build/components/inserter/block-patterns-tab/pattern-category-previews.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/patterns-filter.js +6 -4
- package/build/components/inserter/block-patterns-tab/patterns-filter.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/use-pattern-categories.js +2 -0
- package/build/components/inserter/block-patterns-tab/use-pattern-categories.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/utils.js +7 -5
- package/build/components/inserter/block-patterns-tab/utils.js.map +1 -1
- package/build/components/inserter/block-types-tab.js +6 -4
- package/build/components/inserter/block-types-tab.js.map +1 -1
- package/build/components/inserter/category-tabs/index.js +4 -2
- package/build/components/inserter/category-tabs/index.js.map +1 -1
- package/build/components/inserter/hooks/use-block-types-state.js +3 -1
- package/build/components/inserter/hooks/use-block-types-state.js.map +1 -1
- package/build/components/inserter/hooks/use-insertion-point.js +2 -0
- package/build/components/inserter/hooks/use-insertion-point.js.map +1 -1
- package/build/components/inserter/hooks/use-patterns-paging.js +3 -1
- package/build/components/inserter/hooks/use-patterns-paging.js.map +1 -1
- package/build/components/inserter/hooks/use-patterns-state.js +3 -1
- package/build/components/inserter/hooks/use-patterns-state.js.map +1 -1
- package/build/components/inserter/index.js +6 -4
- package/build/components/inserter/index.js.map +1 -1
- package/build/components/inserter/library.js +5 -3
- package/build/components/inserter/library.js.map +1 -1
- package/build/components/inserter/media-tab/hooks.js +2 -0
- package/build/components/inserter/media-tab/hooks.js.map +1 -1
- package/build/components/inserter/media-tab/index.js +2 -0
- package/build/components/inserter/media-tab/index.js.map +1 -1
- package/build/components/inserter/media-tab/media-list.js +3 -1
- package/build/components/inserter/media-tab/media-list.js.map +1 -1
- package/build/components/inserter/media-tab/media-panel.js +4 -2
- package/build/components/inserter/media-tab/media-panel.js.map +1 -1
- package/build/components/inserter/media-tab/media-preview.js +5 -3
- package/build/components/inserter/media-tab/media-preview.js.map +1 -1
- package/build/components/inserter/media-tab/media-tab.js +6 -3
- package/build/components/inserter/media-tab/media-tab.js.map +2 -2
- package/build/components/inserter/media-tab/utils.js +4 -2
- package/build/components/inserter/media-tab/utils.js.map +1 -1
- package/build/components/inserter/menu.js +5 -3
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/inserter/mobile-tab-navigation.js +3 -1
- package/build/components/inserter/mobile-tab-navigation.js.map +1 -1
- package/build/components/inserter/no-results.js +3 -1
- package/build/components/inserter/no-results.js.map +1 -1
- package/build/components/inserter/panel.js +3 -1
- package/build/components/inserter/panel.js.map +1 -1
- package/build/components/inserter/preview-panel.js +3 -1
- package/build/components/inserter/preview-panel.js.map +1 -1
- package/build/components/inserter/quick-inserter.js +6 -4
- package/build/components/inserter/quick-inserter.js.map +1 -1
- package/build/components/inserter/search-items.js +16 -14
- package/build/components/inserter/search-items.js.map +1 -1
- package/build/components/inserter/search-results.js +5 -3
- package/build/components/inserter/search-results.js.map +1 -1
- package/build/components/inserter/tips.js +4 -2
- package/build/components/inserter/tips.js.map +1 -1
- package/build/components/inserter-button/sparkles.js +4 -2
- package/build/components/inserter-button/sparkles.js.map +1 -1
- package/build/components/inserter-draggable-blocks/index.js +4 -2
- package/build/components/inserter-draggable-blocks/index.js.map +1 -1
- package/build/components/inserter-list-item/index.js +3 -1
- package/build/components/inserter-list-item/index.js.map +1 -1
- package/build/components/inserter-listbox/context.js +3 -1
- package/build/components/inserter-listbox/context.js.map +1 -1
- package/build/components/inserter-listbox/group.js +3 -1
- package/build/components/inserter-listbox/group.js.map +1 -1
- package/build/components/inserter-listbox/index.js +3 -1
- package/build/components/inserter-listbox/index.js.map +1 -1
- package/build/components/inserter-listbox/item.js +3 -1
- package/build/components/inserter-listbox/item.js.map +1 -1
- package/build/components/inserter-listbox/row.js +3 -1
- package/build/components/inserter-listbox/row.js.map +1 -1
- package/build/components/inserter-menu-extension/index.js +3 -1
- package/build/components/inserter-menu-extension/index.js.map +1 -1
- package/build/components/inspector-controls/block-support-slot-container.js +3 -1
- package/build/components/inspector-controls/block-support-slot-container.js.map +1 -1
- package/build/components/inspector-controls/block-support-tools-panel.js +3 -1
- package/build/components/inspector-controls/block-support-tools-panel.js.map +1 -1
- package/build/components/inspector-controls/fill.js +3 -1
- package/build/components/inspector-controls/fill.js.map +1 -1
- package/build/components/inspector-controls/groups.js +17 -15
- package/build/components/inspector-controls/groups.js.map +1 -1
- package/build/components/inspector-controls/index.js +5 -3
- package/build/components/inspector-controls/index.js.map +1 -1
- package/build/components/inspector-controls/slot.js +3 -1
- package/build/components/inspector-controls/slot.js.map +1 -1
- package/build/components/inspector-controls-tabs/advanced-controls-panel.js +4 -2
- package/build/components/inspector-controls-tabs/advanced-controls-panel.js.map +1 -1
- package/build/components/inspector-controls-tabs/content-tab.js +4 -2
- package/build/components/inspector-controls-tabs/content-tab.js.map +1 -1
- package/build/components/inspector-controls-tabs/index.js +6 -3
- package/build/components/inspector-controls-tabs/index.js.map +2 -2
- package/build/components/inspector-controls-tabs/position-controls-panel.js +5 -3
- package/build/components/inspector-controls-tabs/position-controls-panel.js.map +1 -1
- package/build/components/inspector-controls-tabs/settings-tab.js +4 -2
- package/build/components/inspector-controls-tabs/settings-tab.js.map +1 -1
- package/build/components/inspector-controls-tabs/styles-tab.js +59 -3
- package/build/components/inspector-controls-tabs/styles-tab.js.map +3 -3
- package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.js +4 -2
- package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.js.map +2 -2
- package/build/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js +4 -2
- package/build/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js.map +1 -1
- package/build/components/inspector-controls-tabs/utils.js +6 -4
- package/build/components/inspector-controls-tabs/utils.js.map +1 -1
- package/build/components/inspector-popover-header/index.js +3 -1
- package/build/components/inspector-popover-header/index.js.map +1 -1
- package/build/components/justify-content-control/index.js +5 -3
- package/build/components/justify-content-control/index.js.map +1 -1
- package/build/components/justify-content-control/ui.js +4 -2
- package/build/components/justify-content-control/ui.js.map +1 -1
- package/build/components/keyboard-shortcuts/index.js +10 -0
- package/build/components/keyboard-shortcuts/index.js.map +2 -2
- package/build/components/letter-spacing-control/index.js +3 -1
- package/build/components/letter-spacing-control/index.js.map +1 -1
- package/build/components/line-height-control/index.js +4 -2
- package/build/components/line-height-control/index.js.map +1 -1
- package/build/components/line-height-control/utils.js +6 -4
- package/build/components/line-height-control/utils.js.map +1 -1
- package/build/components/link-control/constants.js +9 -7
- package/build/components/link-control/constants.js.map +1 -1
- package/build/components/link-control/index.js +7 -5
- package/build/components/link-control/index.js.map +2 -2
- package/build/components/link-control/is-url-like.js +2 -0
- package/build/components/link-control/is-url-like.js.map +1 -1
- package/build/components/link-control/link-preview.js +3 -1
- package/build/components/link-control/link-preview.js.map +1 -1
- package/build/components/link-control/search-create-button.js +4 -2
- package/build/components/link-control/search-create-button.js.map +1 -1
- package/build/components/link-control/search-input.js +7 -5
- package/build/components/link-control/search-input.js.map +1 -1
- package/build/components/link-control/search-item.js +8 -6
- package/build/components/link-control/search-item.js.map +1 -1
- package/build/components/link-control/search-results.js +4 -2
- package/build/components/link-control/search-results.js.map +1 -1
- package/build/components/link-control/settings-drawer.js +3 -1
- package/build/components/link-control/settings-drawer.js.map +1 -1
- package/build/components/link-control/settings.js +5 -3
- package/build/components/link-control/settings.js.map +1 -1
- package/build/components/link-control/use-create-page.js +3 -1
- package/build/components/link-control/use-create-page.js.map +1 -1
- package/build/components/link-control/use-internal-value.js +2 -0
- package/build/components/link-control/use-internal-value.js.map +1 -1
- package/build/components/link-control/use-rich-url-data.js +2 -0
- package/build/components/link-control/use-rich-url-data.js.map +1 -1
- package/build/components/link-control/use-search-handler.js +5 -3
- package/build/components/link-control/use-search-handler.js.map +1 -1
- package/build/components/link-control/viewer-slot.js +3 -1
- package/build/components/link-control/viewer-slot.js.map +1 -1
- package/build/components/list-view/appender.js +4 -2
- package/build/components/list-view/appender.js.map +1 -1
- package/build/components/list-view/aria-referenced-text.js +3 -1
- package/build/components/list-view/aria-referenced-text.js.map +1 -1
- package/build/components/list-view/block-contents.js +4 -2
- package/build/components/list-view/block-contents.js.map +1 -1
- package/build/components/list-view/block-select-button.js +4 -2
- package/build/components/list-view/block-select-button.js.map +1 -1
- package/build/components/list-view/block.js +3 -1
- package/build/components/list-view/block.js.map +1 -1
- package/build/components/list-view/branch.js +5 -3
- package/build/components/list-view/branch.js.map +1 -1
- package/build/components/list-view/context.js +4 -2
- package/build/components/list-view/context.js.map +1 -1
- package/build/components/list-view/drop-indicator.js +3 -1
- package/build/components/list-view/drop-indicator.js.map +1 -1
- package/build/components/list-view/expander.js +3 -3
- package/build/components/list-view/expander.js.map +2 -2
- package/build/components/list-view/index.js +6 -4
- package/build/components/list-view/index.js.map +1 -1
- package/build/components/list-view/leaf.js +5 -3
- package/build/components/list-view/leaf.js.map +1 -1
- package/build/components/list-view/use-block-selection.js +2 -0
- package/build/components/list-view/use-block-selection.js.map +1 -1
- package/build/components/list-view/use-clipboard-handler.js +2 -0
- package/build/components/list-view/use-clipboard-handler.js.map +1 -1
- package/build/components/list-view/use-list-view-block-indexes.js +2 -0
- package/build/components/list-view/use-list-view-block-indexes.js.map +1 -1
- package/build/components/list-view/use-list-view-client-ids.js +2 -0
- package/build/components/list-view/use-list-view-client-ids.js.map +1 -1
- package/build/components/list-view/use-list-view-collapse-items.js +2 -0
- package/build/components/list-view/use-list-view-collapse-items.js.map +1 -1
- package/build/components/list-view/use-list-view-drop-zone.js +5 -3
- package/build/components/list-view/use-list-view-drop-zone.js.map +1 -1
- package/build/components/list-view/use-list-view-expand-selected-item.js +2 -0
- package/build/components/list-view/use-list-view-expand-selected-item.js.map +1 -1
- package/build/components/list-view/use-list-view-images.js +4 -2
- package/build/components/list-view/use-list-view-images.js.map +1 -1
- package/build/components/list-view/use-list-view-scroll-into-view.js +2 -0
- package/build/components/list-view/use-list-view-scroll-into-view.js.map +1 -1
- package/build/components/list-view/utils.js +5 -3
- package/build/components/list-view/utils.js.map +1 -1
- package/build/components/media-placeholder/index.js +6 -4
- package/build/components/media-placeholder/index.js.map +1 -1
- package/build/components/media-replace-flow/index.js +7 -6
- package/build/components/media-replace-flow/index.js.map +2 -2
- package/build/components/media-upload/check.js +2 -0
- package/build/components/media-upload/check.js.map +1 -1
- package/build/components/media-upload/index.js +3 -1
- package/build/components/media-upload/index.js.map +1 -1
- package/build/components/media-upload-modal/index.js +3 -1
- package/build/components/media-upload-modal/index.js.map +1 -1
- package/build/components/media-upload-progress/constants.js +8 -6
- package/build/components/media-upload-progress/constants.js.map +1 -1
- package/build/components/multi-selection-inspector/index.js +3 -1
- package/build/components/multi-selection-inspector/index.js.map +1 -1
- package/build/components/navigable-toolbar/index.js +3 -1
- package/build/components/navigable-toolbar/index.js.map +1 -1
- package/build/components/observe-typing/index.js +4 -2
- package/build/components/observe-typing/index.js.map +1 -1
- package/build/components/panel-color-settings/index.js +4 -2
- package/build/components/panel-color-settings/index.js.map +1 -1
- package/build/components/plain-text/index.js +4 -2
- package/build/components/plain-text/index.js.map +1 -1
- package/build/components/preview-options/index.js +2 -0
- package/build/components/preview-options/index.js.map +1 -1
- package/build/components/provider/block-refs-provider.js +4 -2
- package/build/components/provider/block-refs-provider.js.map +1 -1
- package/build/components/provider/index.js +6 -4
- package/build/components/provider/index.js.map +1 -1
- package/build/components/provider/use-block-sync.js +3 -1
- package/build/components/provider/use-block-sync.js.map +1 -1
- package/build/components/provider/use-media-upload-settings.js +2 -0
- package/build/components/provider/use-media-upload-settings.js.map +1 -1
- package/build/components/provider/with-registry-provider.js +4 -2
- package/build/components/provider/with-registry-provider.js.map +1 -1
- package/build/components/publish-date-time-picker/index.js +4 -2
- package/build/components/publish-date-time-picker/index.js.map +1 -1
- package/build/components/recursion-provider/index.js +6 -4
- package/build/components/recursion-provider/index.js.map +1 -1
- package/build/components/resizable-box-popover/index.js +3 -1
- package/build/components/resizable-box-popover/index.js.map +1 -1
- package/build/components/resolution-tool/index.js +4 -2
- package/build/components/resolution-tool/index.js.map +1 -1
- package/build/components/responsive-block-control/index.js +3 -1
- package/build/components/responsive-block-control/index.js.map +1 -1
- package/build/components/responsive-block-control/label.js +3 -1
- package/build/components/responsive-block-control/label.js.map +1 -1
- package/build/components/rich-text/content.js +3 -1
- package/build/components/rich-text/content.js.map +1 -1
- package/build/components/rich-text/event-listeners/before-input-rules.js +3 -1
- package/build/components/rich-text/event-listeners/before-input-rules.js.map +1 -1
- package/build/components/rich-text/event-listeners/delete.js +2 -0
- package/build/components/rich-text/event-listeners/delete.js.map +1 -1
- package/build/components/rich-text/event-listeners/enter.js +2 -0
- package/build/components/rich-text/event-listeners/enter.js.map +1 -1
- package/build/components/rich-text/event-listeners/firefox-compat.js +2 -0
- package/build/components/rich-text/event-listeners/firefox-compat.js.map +1 -1
- package/build/components/rich-text/event-listeners/index.js +3 -1
- package/build/components/rich-text/event-listeners/index.js.map +1 -1
- package/build/components/rich-text/event-listeners/input-events.js +2 -0
- package/build/components/rich-text/event-listeners/input-events.js.map +1 -1
- package/build/components/rich-text/event-listeners/input-rules.js +2 -0
- package/build/components/rich-text/event-listeners/input-rules.js.map +1 -1
- package/build/components/rich-text/event-listeners/insert-replacement-text.js +2 -0
- package/build/components/rich-text/event-listeners/insert-replacement-text.js.map +1 -1
- package/build/components/rich-text/event-listeners/paste-handler.js +2 -0
- package/build/components/rich-text/event-listeners/paste-handler.js.map +1 -1
- package/build/components/rich-text/event-listeners/remove-browser-shortcuts.js +2 -0
- package/build/components/rich-text/event-listeners/remove-browser-shortcuts.js.map +1 -1
- package/build/components/rich-text/event-listeners/shortcuts.js +2 -0
- package/build/components/rich-text/event-listeners/shortcuts.js.map +1 -1
- package/build/components/rich-text/event-listeners/undo-automatic-change.js +2 -0
- package/build/components/rich-text/event-listeners/undo-automatic-change.js.map +1 -1
- package/build/components/rich-text/format-edit.js +6 -4
- package/build/components/rich-text/format-edit.js.map +1 -1
- package/build/components/rich-text/format-toolbar/index.js +5 -3
- package/build/components/rich-text/format-toolbar/index.js.map +1 -1
- package/build/components/rich-text/format-toolbar-container.js +4 -2
- package/build/components/rich-text/format-toolbar-container.js.map +1 -1
- package/build/components/rich-text/get-rich-text-values.js +7 -5
- package/build/components/rich-text/get-rich-text-values.js.map +1 -1
- package/build/components/rich-text/index.js +9 -6
- package/build/components/rich-text/index.js.map +2 -2
- package/build/components/rich-text/input-event.js +2 -0
- package/build/components/rich-text/input-event.js.map +1 -1
- package/build/components/rich-text/multiline.js +3 -1
- package/build/components/rich-text/multiline.js.map +1 -1
- package/build/components/rich-text/native/format-edit.js +3 -1
- package/build/components/rich-text/native/format-edit.js.map +1 -1
- package/build/components/rich-text/native/index.js +2 -0
- package/build/components/rich-text/native/index.js.map +1 -1
- package/build/components/rich-text/native/use-format-types.js +3 -1
- package/build/components/rich-text/native/use-format-types.js.map +1 -1
- package/build/components/rich-text/prevent-event-discovery.js +2 -0
- package/build/components/rich-text/prevent-event-discovery.js.map +1 -1
- package/build/components/rich-text/shortcut.js +2 -0
- package/build/components/rich-text/shortcut.js.map +1 -1
- package/build/components/rich-text/toolbar-button.js +3 -1
- package/build/components/rich-text/toolbar-button.js.map +1 -1
- package/build/components/rich-text/use-format-types.js +3 -1
- package/build/components/rich-text/use-format-types.js.map +1 -1
- package/build/components/rich-text/use-mark-persistent.js +2 -0
- package/build/components/rich-text/use-mark-persistent.js.map +1 -1
- package/build/components/rich-text/utils.js +3 -1
- package/build/components/rich-text/utils.js.map +1 -1
- package/build/components/rich-text/with-deprecations.js +3 -1
- package/build/components/rich-text/with-deprecations.js.map +1 -1
- package/build/components/selection-scroll-into-view/index.js +2 -0
- package/build/components/selection-scroll-into-view/index.js.map +1 -1
- package/build/components/skip-to-selected-block/index.js +3 -1
- package/build/components/skip-to-selected-block/index.js.map +1 -1
- package/build/components/spacing-sizes-control/hooks/use-spacing-sizes.js +4 -2
- package/build/components/spacing-sizes-control/hooks/use-spacing-sizes.js.map +1 -1
- package/build/components/spacing-sizes-control/index.js +3 -1
- package/build/components/spacing-sizes-control/index.js.map +1 -1
- package/build/components/spacing-sizes-control/input-controls/axial.js +4 -2
- package/build/components/spacing-sizes-control/input-controls/axial.js.map +1 -1
- package/build/components/spacing-sizes-control/input-controls/separated.js +3 -1
- package/build/components/spacing-sizes-control/input-controls/separated.js.map +1 -1
- package/build/components/spacing-sizes-control/input-controls/single.js +3 -1
- package/build/components/spacing-sizes-control/input-controls/single.js.map +1 -1
- package/build/components/spacing-sizes-control/input-controls/spacing-input-control.js +4 -2
- package/build/components/spacing-sizes-control/input-controls/spacing-input-control.js.map +1 -1
- package/build/components/spacing-sizes-control/linked-button.js +3 -1
- package/build/components/spacing-sizes-control/linked-button.js.map +1 -1
- package/build/components/spacing-sizes-control/utils.js +8 -6
- package/build/components/spacing-sizes-control/utils.js.map +1 -1
- package/build/components/tabbed-sidebar/index.js +4 -2
- package/build/components/tabbed-sidebar/index.js.map +1 -1
- package/build/components/text-alignment-control/index.js +5 -3
- package/build/components/text-alignment-control/index.js.map +1 -1
- package/build/components/text-decoration-control/index.js +4 -2
- package/build/components/text-decoration-control/index.js.map +1 -1
- package/build/components/text-transform-control/index.js +4 -2
- package/build/components/text-transform-control/index.js.map +1 -1
- package/build/components/typewriter/index.js +7 -5
- package/build/components/typewriter/index.js.map +1 -1
- package/build/components/unit-control/index.js +3 -1
- package/build/components/unit-control/index.js.map +1 -1
- package/build/components/url-input/button.js +3 -1
- package/build/components/url-input/button.js.map +1 -1
- package/build/components/url-input/index.js +6 -4
- package/build/components/url-input/index.js.map +1 -1
- package/build/components/url-popover/image-url-input-ui.js +9 -7
- package/build/components/url-popover/image-url-input-ui.js.map +1 -1
- package/build/components/url-popover/index.js +6 -4
- package/build/components/url-popover/index.js.map +1 -1
- package/build/components/url-popover/link-editor.js +3 -1
- package/build/components/url-popover/link-editor.js.map +1 -1
- package/build/components/url-popover/link-viewer-url.js +3 -1
- package/build/components/url-popover/link-viewer-url.js.map +1 -1
- package/build/components/url-popover/link-viewer.js +3 -1
- package/build/components/url-popover/link-viewer.js.map +1 -1
- package/build/components/use-block-commands/index.js +6 -4
- package/build/components/use-block-commands/index.js.map +1 -1
- package/build/components/use-block-display-information/index.js +2 -0
- package/build/components/use-block-display-information/index.js.map +1 -1
- package/build/components/use-block-drop-zone/index.js +5 -3
- package/build/components/use-block-drop-zone/index.js.map +1 -1
- package/build/components/use-flash-editable-blocks/index.js +2 -0
- package/build/components/use-flash-editable-blocks/index.js.map +1 -1
- package/build/components/use-moving-animation/index.js +3 -1
- package/build/components/use-moving-animation/index.js.map +1 -1
- package/build/components/use-on-block-drop/index.js +2 -0
- package/build/components/use-on-block-drop/index.js.map +1 -1
- package/build/components/use-on-block-drop/types.js +2 -0
- package/build/components/use-on-block-drop/types.js.map +1 -1
- package/build/components/use-paste-styles/index.js +3 -1
- package/build/components/use-paste-styles/index.js.map +1 -1
- package/build/components/use-resize-canvas/index.js +2 -0
- package/build/components/use-resize-canvas/index.js.map +1 -1
- package/build/components/use-settings/index.js +2 -0
- package/build/components/use-settings/index.js.map +1 -1
- package/build/components/warning/index.js +3 -1
- package/build/components/warning/index.js.map +1 -1
- package/build/components/writing-flow/index.js +3 -1
- package/build/components/writing-flow/index.js.map +1 -1
- package/build/components/writing-flow/use-arrow-nav.js +2 -0
- package/build/components/writing-flow/use-arrow-nav.js.map +1 -1
- package/build/components/writing-flow/use-click-selection.js +2 -0
- package/build/components/writing-flow/use-click-selection.js.map +1 -1
- package/build/components/writing-flow/use-clipboard-handler.js +2 -0
- package/build/components/writing-flow/use-clipboard-handler.js.map +1 -1
- package/build/components/writing-flow/use-drag-selection.js +2 -0
- package/build/components/writing-flow/use-drag-selection.js.map +1 -1
- package/build/components/writing-flow/use-input.js +2 -0
- package/build/components/writing-flow/use-input.js.map +1 -1
- package/build/components/writing-flow/use-multi-selection.js +2 -0
- package/build/components/writing-flow/use-multi-selection.js.map +1 -1
- package/build/components/writing-flow/use-select-all.js +2 -0
- package/build/components/writing-flow/use-select-all.js.map +1 -1
- package/build/components/writing-flow/use-selection-observer.js +2 -0
- package/build/components/writing-flow/use-selection-observer.js.map +1 -1
- package/build/components/writing-flow/use-tab-nav.js +3 -1
- package/build/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build/components/writing-flow/utils.js +3 -1
- package/build/components/writing-flow/utils.js.map +1 -1
- package/build/components/writing-mode-control/index.js +4 -2
- package/build/components/writing-mode-control/index.js.map +1 -1
- package/build/elements/index.js +4 -2
- package/build/elements/index.js.map +1 -1
- package/build/hooks/align.js +5 -3
- package/build/hooks/align.js.map +1 -1
- package/build/hooks/allowed-blocks.js +53 -2
- package/build/hooks/allowed-blocks.js.map +2 -2
- package/build/hooks/anchor.js +5 -3
- package/build/hooks/anchor.js.map +1 -1
- package/build/hooks/aria-label.js +2 -0
- package/build/hooks/aria-label.js.map +1 -1
- package/build/hooks/background.js +5 -3
- package/build/hooks/background.js.map +1 -1
- package/build/hooks/block-bindings.js +14 -8
- package/build/hooks/block-bindings.js.map +2 -2
- package/build/hooks/block-hooks.js +4 -2
- package/build/hooks/block-hooks.js.map +1 -1
- package/build/hooks/block-renaming.js +2 -0
- package/build/hooks/block-renaming.js.map +1 -1
- package/build/hooks/block-style-variation.js +4 -2
- package/build/hooks/block-style-variation.js.map +1 -1
- package/build/hooks/border.js +17 -10
- package/build/hooks/border.js.map +3 -3
- package/build/hooks/color.js +41 -17
- package/build/hooks/color.js.map +3 -3
- package/build/hooks/compat.js +2 -0
- package/build/hooks/compat.js.map +1 -1
- package/build/hooks/content-lock-ui.js +13 -10
- package/build/hooks/content-lock-ui.js.map +2 -2
- package/build/hooks/contrast-checker.js +3 -1
- package/build/hooks/contrast-checker.js.map +1 -1
- package/build/hooks/custom-class-name.js +3 -1
- package/build/hooks/custom-class-name.js.map +1 -1
- package/build/hooks/dimensions.js +16 -9
- package/build/hooks/dimensions.js.map +2 -2
- package/build/hooks/duotone.js +6 -4
- package/build/hooks/duotone.js.map +1 -1
- package/build/hooks/fit-text.js +52 -81
- package/build/hooks/fit-text.js.map +3 -3
- package/build/hooks/font-family.js +4 -2
- package/build/hooks/font-family.js.map +1 -1
- package/build/hooks/font-size.js +10 -5
- package/build/hooks/font-size.js.map +2 -2
- package/build/hooks/gap.js +2 -0
- package/build/hooks/gap.js.map +1 -1
- package/build/hooks/generated-class-name.js +2 -0
- package/build/hooks/generated-class-name.js.map +1 -1
- package/build/hooks/grid-visualizer.js +4 -2
- package/build/hooks/grid-visualizer.js.map +1 -1
- package/build/hooks/index.js +2 -0
- package/build/hooks/index.js.map +1 -1
- package/build/hooks/layout-child.js +4 -2
- package/build/hooks/layout-child.js.map +1 -1
- package/build/hooks/layout.js +10 -5
- package/build/hooks/layout.js.map +2 -2
- package/build/hooks/line-height.js +4 -2
- package/build/hooks/line-height.js.map +1 -1
- package/build/hooks/lock.js +2 -0
- package/build/hooks/lock.js.map +1 -1
- package/build/hooks/metadata.js +3 -1
- package/build/hooks/metadata.js.map +1 -1
- package/build/hooks/position.js +10 -8
- package/build/hooks/position.js.map +1 -1
- package/build/hooks/settings.js +3 -1
- package/build/hooks/settings.js.map +1 -1
- package/build/hooks/spacing-visualizer.js +8 -1
- package/build/hooks/spacing-visualizer.js.map +2 -2
- package/build/hooks/style.js +11 -9
- package/build/hooks/style.js.map +1 -1
- package/build/hooks/supports.js +45 -43
- package/build/hooks/supports.js.map +1 -1
- package/build/hooks/text-align.js +7 -5
- package/build/hooks/text-align.js.map +1 -1
- package/build/hooks/typography.js +36 -25
- package/build/hooks/typography.js.map +3 -3
- package/build/hooks/use-border-props.js +2 -0
- package/build/hooks/use-border-props.js.map +1 -1
- package/build/hooks/use-cached-truthy.js +2 -0
- package/build/hooks/use-cached-truthy.js.map +1 -1
- package/build/hooks/use-color-props.js +2 -0
- package/build/hooks/use-color-props.js.map +1 -1
- package/build/hooks/use-shadow-props.js +2 -0
- package/build/hooks/use-shadow-props.js.map +1 -1
- package/build/hooks/use-spacing-props.js +2 -0
- package/build/hooks/use-spacing-props.js.map +1 -1
- package/build/hooks/use-typography-props.js +3 -1
- package/build/hooks/use-typography-props.js.map +1 -1
- package/build/hooks/use-zoom-out.js +2 -0
- package/build/hooks/use-zoom-out.js.map +1 -1
- package/build/hooks/utils.js +6 -4
- package/build/hooks/utils.js.map +1 -1
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/layouts/constrained.js +4 -2
- package/build/layouts/constrained.js.map +1 -1
- package/build/layouts/definitions.js +3 -1
- package/build/layouts/definitions.js.map +1 -1
- package/build/layouts/flex.js +9 -7
- package/build/layouts/flex.js.map +1 -1
- package/build/layouts/flow.js +2 -0
- package/build/layouts/flow.js.map +1 -1
- package/build/layouts/grid.js +5 -3
- package/build/layouts/grid.js.map +2 -2
- package/build/layouts/index.js +3 -1
- package/build/layouts/index.js.map +1 -1
- package/build/layouts/utils.js +2 -0
- package/build/layouts/utils.js.map +1 -1
- package/build/lock-unlock.js +3 -1
- package/build/lock-unlock.js.map +1 -1
- package/build/private-apis.js +3 -1
- package/build/private-apis.js.map +1 -1
- package/build/store/actions.js +37 -33
- package/build/store/actions.js.map +2 -2
- package/build/store/array.js +2 -0
- package/build/store/array.js.map +1 -1
- package/build/store/constants.js +3 -1
- package/build/store/constants.js.map +1 -1
- package/build/store/defaults.js +4 -2
- package/build/store/defaults.js.map +1 -1
- package/build/store/get-block-settings.js +6 -4
- package/build/store/get-block-settings.js.map +1 -1
- package/build/store/index.js +5 -3
- package/build/store/index.js.map +1 -1
- package/build/store/private-actions.js +22 -45
- package/build/store/private-actions.js.map +3 -3
- package/build/store/private-keys.js +9 -7
- package/build/store/private-keys.js.map +1 -1
- package/build/store/private-selectors.js +42 -25
- package/build/store/private-selectors.js.map +2 -2
- package/build/store/reducer.js +39 -26
- package/build/store/reducer.js.map +2 -2
- package/build/store/selectors.js +69 -66
- package/build/store/selectors.js.map +2 -2
- package/build/store/utils.js +9 -7
- package/build/store/utils.js.map +1 -1
- package/build/utils/block-bindings.js +4 -2
- package/build/utils/block-bindings.js.map +1 -1
- package/build/utils/dom.js +6 -4
- package/build/utils/dom.js.map +1 -1
- package/build/utils/fit-text-frontend.js +30 -37
- package/build/utils/fit-text-frontend.js.map +2 -2
- package/build/utils/fit-text-utils.js +10 -15
- package/build/utils/fit-text-utils.js.map +2 -2
- package/build/utils/format-font-style.js +2 -0
- package/build/utils/format-font-style.js.map +1 -1
- package/build/utils/format-font-weight.js +2 -0
- package/build/utils/format-font-weight.js.map +1 -1
- package/build/utils/get-editor-region.js +2 -0
- package/build/utils/get-editor-region.js.map +1 -1
- package/build/utils/get-font-styles-and-weights.js +4 -2
- package/build/utils/get-font-styles-and-weights.js.map +1 -1
- package/build/utils/get-px-from-css-unit.js +2 -0
- package/build/utils/get-px-from-css-unit.js.map +1 -1
- package/build/utils/index.js +2 -0
- package/build/utils/index.js.map +1 -1
- package/build/utils/math.js +2 -0
- package/build/utils/math.js.map +1 -1
- package/build/utils/object.js +3 -1
- package/build/utils/object.js.map +1 -1
- package/build/utils/order-inserter-block-items.js +3 -1
- package/build/utils/order-inserter-block-items.js.map +1 -1
- package/build/utils/pasting.js +2 -0
- package/build/utils/pasting.js.map +1 -1
- package/build/utils/selection.js +3 -1
- package/build/utils/selection.js.map +1 -1
- package/build/utils/sorting.js +3 -1
- package/build/utils/sorting.js.map +1 -1
- package/build/utils/transform-styles/index.js +5 -3
- package/build/utils/transform-styles/index.js.map +1 -1
- package/build/utils/use-notify-copy.js +2 -0
- package/build/utils/use-notify-copy.js.map +1 -1
- package/build-module/autocompleters/block.js +4 -3
- package/build-module/autocompleters/block.js.map +1 -1
- package/build-module/autocompleters/link.js +3 -2
- package/build-module/autocompleters/link.js.map +1 -1
- package/build-module/components/alignment-control/index.js +4 -3
- package/build-module/components/alignment-control/index.js.map +1 -1
- package/build-module/components/alignment-control/ui.js +4 -3
- package/build-module/components/alignment-control/ui.js.map +1 -1
- package/build-module/components/autocomplete/index.js +3 -2
- package/build-module/components/autocomplete/index.js.map +1 -1
- package/build-module/components/background-image-control/index.js +8 -7
- package/build-module/components/background-image-control/index.js.map +1 -1
- package/build-module/components/block-actions/index.js +1 -0
- package/build-module/components/block-actions/index.js.map +1 -1
- package/build-module/components/block-alignment-control/constants.js +3 -2
- package/build-module/components/block-alignment-control/constants.js.map +1 -1
- package/build-module/components/block-alignment-control/index.js +4 -3
- package/build-module/components/block-alignment-control/index.js.map +1 -1
- package/build-module/components/block-alignment-control/ui.js +2 -1
- package/build-module/components/block-alignment-control/ui.js.map +1 -1
- package/build-module/components/block-alignment-control/use-available-alignments.js +4 -3
- package/build-module/components/block-alignment-control/use-available-alignments.js.map +1 -1
- package/build-module/components/block-alignment-matrix-control/index.js +3 -2
- package/build-module/components/block-alignment-matrix-control/index.js.map +1 -1
- package/build-module/components/block-allowed-blocks/allowed-blocks-control.js +2 -1
- package/build-module/components/block-allowed-blocks/allowed-blocks-control.js.map +1 -1
- package/build-module/components/block-allowed-blocks/index.js +1 -0
- package/build-module/components/block-allowed-blocks/index.js.map +1 -1
- package/build-module/components/block-allowed-blocks/modal.js +2 -1
- package/build-module/components/block-allowed-blocks/modal.js.map +1 -1
- package/build-module/components/block-breadcrumb/index.js +2 -1
- package/build-module/components/block-breadcrumb/index.js.map +1 -1
- package/build-module/components/block-canvas/index.js +3 -2
- package/build-module/components/block-canvas/index.js.map +1 -1
- package/build-module/components/block-card/index.js +85 -34
- package/build-module/components/block-card/index.js.map +2 -2
- package/build-module/components/block-compare/block-view.js +2 -1
- package/build-module/components/block-compare/block-view.js.map +1 -1
- package/build-module/components/block-compare/index.js +2 -1
- package/build-module/components/block-compare/index.js.map +1 -1
- package/build-module/components/block-content-overlay/index.js +1 -0
- package/build-module/components/block-content-overlay/index.js.map +1 -1
- package/build-module/components/block-context/index.js +3 -2
- package/build-module/components/block-context/index.js.map +1 -1
- package/build-module/components/block-controls/fill.js +2 -1
- package/build-module/components/block-controls/fill.js.map +1 -1
- package/build-module/components/block-controls/groups.js +7 -6
- package/build-module/components/block-controls/groups.js.map +1 -1
- package/build-module/components/block-controls/hook.js +1 -0
- package/build-module/components/block-controls/hook.js.map +1 -1
- package/build-module/components/block-controls/index.js +4 -3
- package/build-module/components/block-controls/index.js.map +1 -1
- package/build-module/components/block-controls/slot.js +3 -2
- package/build-module/components/block-controls/slot.js.map +1 -1
- package/build-module/components/block-draggable/draggable-chip.js +2 -1
- package/build-module/components/block-draggable/draggable-chip.js.map +1 -1
- package/build-module/components/block-draggable/index.js +3 -2
- package/build-module/components/block-draggable/index.js.map +1 -1
- package/build-module/components/block-draggable/use-scroll-when-dragging.js +5 -4
- package/build-module/components/block-draggable/use-scroll-when-dragging.js.map +1 -1
- package/build-module/components/block-edit/context.js +9 -8
- package/build-module/components/block-edit/context.js.map +1 -1
- package/build-module/components/block-edit/edit.js +6 -5
- package/build-module/components/block-edit/edit.js.map +1 -1
- package/build-module/components/block-edit/index.js +2 -1
- package/build-module/components/block-edit/index.js.map +1 -1
- package/build-module/components/block-edit/multiple-usage-warning.js +2 -1
- package/build-module/components/block-edit/multiple-usage-warning.js.map +1 -1
- package/build-module/components/block-edit-visually-button/index.js +2 -1
- package/build-module/components/block-edit-visually-button/index.js.map +1 -1
- package/build-module/components/block-editing-mode/index.js +1 -0
- package/build-module/components/block-editing-mode/index.js.map +1 -1
- package/build-module/components/block-full-height-alignment-control/index.js +2 -1
- package/build-module/components/block-full-height-alignment-control/index.js.map +1 -1
- package/build-module/components/block-heading-level-dropdown/heading-level-icon.js +3 -2
- package/build-module/components/block-heading-level-dropdown/heading-level-icon.js.map +1 -1
- package/build-module/components/block-heading-level-dropdown/index.js +4 -3
- package/build-module/components/block-heading-level-dropdown/index.js.map +1 -1
- package/build-module/components/block-icon/index.js +2 -1
- package/build-module/components/block-icon/index.js.map +1 -1
- package/build-module/components/block-inspector/edit-contents.js +51 -0
- package/build-module/components/block-inspector/edit-contents.js.map +7 -0
- package/build-module/components/block-inspector/index.js +37 -13
- package/build-module/components/block-inspector/index.js.map +2 -2
- package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.js +1 -0
- package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.js.map +1 -1
- package/build-module/components/block-list/block-crash-boundary.js +3 -2
- package/build-module/components/block-list/block-crash-boundary.js.map +1 -1
- package/build-module/components/block-list/block-crash-warning.js +3 -2
- package/build-module/components/block-list/block-crash-warning.js.map +1 -1
- package/build-module/components/block-list/block-html.js +2 -1
- package/build-module/components/block-list/block-html.js.map +1 -1
- package/build-module/components/block-list/block-invalid-warning.js +3 -2
- package/build-module/components/block-list/block-invalid-warning.js.map +1 -1
- package/build-module/components/block-list/block.js +7 -6
- package/build-module/components/block-list/block.js.map +2 -2
- package/build-module/components/block-list/index.js +41 -31
- package/build-module/components/block-list/index.js.map +2 -2
- package/build-module/components/block-list/layout.js +5 -4
- package/build-module/components/block-list/layout.js.map +1 -1
- package/build-module/components/block-list/private-block-context.js +2 -1
- package/build-module/components/block-list/private-block-context.js.map +1 -1
- package/build-module/components/block-list/subdirectory-icon.js +3 -2
- package/build-module/components/block-list/subdirectory-icon.js.map +1 -1
- package/build-module/components/block-list/use-block-props/index.js +3 -2
- package/build-module/components/block-list/use-block-props/index.js.map +2 -2
- package/build-module/components/block-list/use-block-props/use-block-refs.js +1 -0
- package/build-module/components/block-list/use-block-props/use-block-refs.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +2 -1
- package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-focus-first-element.js +1 -0
- package/build-module/components/block-list/use-block-props/use-focus-first-element.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-focus-handler.js +1 -0
- package/build-module/components/block-list/use-block-props/use-focus-handler.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-intersection-observer.js +1 -0
- package/build-module/components/block-list/use-block-props/use-intersection-observer.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-is-hovered.js +1 -0
- package/build-module/components/block-list/use-block-props/use-is-hovered.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-scroll-into-view.js +1 -0
- package/build-module/components/block-list/use-block-props/use-scroll-into-view.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +1 -0
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js.map +1 -1
- package/build-module/components/block-list/use-in-between-inserter.js +1 -0
- package/build-module/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build-module/components/block-list/zoom-out-separator.js +2 -1
- package/build-module/components/block-list/zoom-out-separator.js.map +1 -1
- package/build-module/components/block-list-appender/index.js +2 -1
- package/build-module/components/block-list-appender/index.js.map +1 -1
- package/build-module/components/block-lock/index.js +1 -0
- package/build-module/components/block-lock/index.js.map +1 -1
- package/build-module/components/block-lock/menu-item.js +2 -1
- package/build-module/components/block-lock/menu-item.js.map +1 -1
- package/build-module/components/block-lock/modal.js +3 -2
- package/build-module/components/block-lock/modal.js.map +1 -1
- package/build-module/components/block-lock/toolbar.js +2 -1
- package/build-module/components/block-lock/toolbar.js.map +1 -1
- package/build-module/components/block-lock/use-block-lock.js +1 -0
- package/build-module/components/block-lock/use-block-lock.js.map +1 -1
- package/build-module/components/block-manager/category.js +2 -1
- package/build-module/components/block-manager/category.js.map +1 -1
- package/build-module/components/block-manager/checklist.js +2 -1
- package/build-module/components/block-manager/checklist.js.map +1 -1
- package/build-module/components/block-manager/index.js +2 -1
- package/build-module/components/block-manager/index.js.map +1 -1
- package/build-module/components/block-mover/button.js +7 -6
- package/build-module/components/block-mover/button.js.map +1 -1
- package/build-module/components/block-mover/index.js +2 -1
- package/build-module/components/block-mover/index.js.map +1 -1
- package/build-module/components/block-mover/mover-description.js +2 -1
- package/build-module/components/block-mover/mover-description.js.map +1 -1
- package/build-module/components/block-navigation/dropdown.js +2 -1
- package/build-module/components/block-navigation/dropdown.js.map +1 -1
- package/build-module/components/block-parent-selector/index.js +2 -1
- package/build-module/components/block-parent-selector/index.js.map +1 -1
- package/build-module/components/block-pattern-setup/constants.js +2 -1
- package/build-module/components/block-pattern-setup/constants.js.map +1 -1
- package/build-module/components/block-pattern-setup/index.js +4 -3
- package/build-module/components/block-pattern-setup/index.js.map +1 -1
- package/build-module/components/block-pattern-setup/setup-toolbar.js +5 -4
- package/build-module/components/block-pattern-setup/setup-toolbar.js.map +1 -1
- package/build-module/components/block-pattern-setup/use-patterns-setup.js +1 -0
- package/build-module/components/block-pattern-setup/use-patterns-setup.js.map +1 -1
- package/build-module/components/block-patterns-list/index.js +3 -2
- package/build-module/components/block-patterns-list/index.js.map +1 -1
- package/build-module/components/block-patterns-paging/index.js +2 -1
- package/build-module/components/block-patterns-paging/index.js.map +1 -1
- package/build-module/components/block-popover/cover.js +2 -1
- package/build-module/components/block-popover/cover.js.map +1 -1
- package/build-module/components/block-popover/drop-zone.js +3 -2
- package/build-module/components/block-popover/drop-zone.js.map +1 -1
- package/build-module/components/block-popover/inbetween.js +3 -2
- package/build-module/components/block-popover/inbetween.js.map +2 -2
- package/build-module/components/block-popover/index.js +5 -4
- package/build-module/components/block-popover/index.js.map +1 -1
- package/build-module/components/block-popover/use-popover-scroll.js +2 -1
- package/build-module/components/block-popover/use-popover-scroll.js.map +1 -1
- package/build-module/components/block-preview/async.js +2 -1
- package/build-module/components/block-preview/async.js.map +1 -1
- package/build-module/components/block-preview/auto.js +5 -4
- package/build-module/components/block-preview/auto.js.map +1 -1
- package/build-module/components/block-preview/index.js +4 -3
- package/build-module/components/block-preview/index.js.map +1 -1
- package/build-module/components/block-quick-navigation/index.js +2 -1
- package/build-module/components/block-quick-navigation/index.js.map +1 -1
- package/build-module/components/block-removal-warning-modal/index.js +2 -1
- package/build-module/components/block-removal-warning-modal/index.js.map +1 -1
- package/build-module/components/block-rename/index.js +1 -0
- package/build-module/components/block-rename/index.js.map +1 -1
- package/build-module/components/block-rename/is-empty-string.js +1 -0
- package/build-module/components/block-rename/is-empty-string.js.map +1 -1
- package/build-module/components/block-rename/modal.js +2 -1
- package/build-module/components/block-rename/modal.js.map +1 -1
- package/build-module/components/block-rename/rename-control.js +2 -1
- package/build-module/components/block-rename/rename-control.js.map +1 -1
- package/build-module/components/block-rename/use-block-rename.js +1 -0
- package/build-module/components/block-rename/use-block-rename.js.map +1 -1
- package/build-module/components/block-selection-clearer/index.js +2 -1
- package/build-module/components/block-selection-clearer/index.js.map +1 -1
- package/build-module/components/block-settings-menu/block-html-convert-button.js +2 -1
- package/build-module/components/block-settings-menu/block-html-convert-button.js.map +1 -1
- package/build-module/components/block-settings-menu/block-mode-toggle.js +3 -2
- package/build-module/components/block-settings-menu/block-mode-toggle.js.map +1 -1
- package/build-module/components/block-settings-menu/block-parent-selector-menu-item.js +2 -1
- package/build-module/components/block-settings-menu/block-parent-selector-menu-item.js.map +1 -1
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +7 -3
- package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +2 -2
- package/build-module/components/block-settings-menu/block-settings-menu-first-item.js +2 -1
- package/build-module/components/block-settings-menu/block-settings-menu-first-item.js.map +1 -1
- package/build-module/components/block-settings-menu/index.js +2 -1
- package/build-module/components/block-settings-menu/index.js.map +1 -1
- package/build-module/components/block-settings-menu-controls/index.js +6 -5
- package/build-module/components/block-settings-menu-controls/index.js.map +2 -2
- package/build-module/components/block-styles/index.js +3 -2
- package/build-module/components/block-styles/index.js.map +1 -1
- package/build-module/components/block-styles/menu-items.js +3 -2
- package/build-module/components/block-styles/menu-items.js.map +1 -1
- package/build-module/components/block-styles/preview-panel.js +2 -1
- package/build-module/components/block-styles/preview-panel.js.map +1 -1
- package/build-module/components/block-styles/use-styles-for-block.js +1 -0
- package/build-module/components/block-styles/use-styles-for-block.js.map +1 -1
- package/build-module/components/block-styles/utils.js +1 -0
- package/build-module/components/block-styles/utils.js.map +1 -1
- package/build-module/components/block-switcher/block-styles-menu.js +2 -1
- package/build-module/components/block-switcher/block-styles-menu.js.map +1 -1
- package/build-module/components/block-switcher/block-transformations-menu.js +3 -2
- package/build-module/components/block-switcher/block-transformations-menu.js.map +1 -1
- package/build-module/components/block-switcher/block-variation-transformations.js +4 -3
- package/build-module/components/block-switcher/block-variation-transformations.js.map +1 -1
- package/build-module/components/block-switcher/index.js +26 -125
- package/build-module/components/block-switcher/index.js.map +2 -2
- package/build-module/components/block-switcher/pattern-transformations-menu.js +2 -1
- package/build-module/components/block-switcher/pattern-transformations-menu.js.map +1 -1
- package/build-module/components/block-switcher/preview-block-popover.js +2 -1
- package/build-module/components/block-switcher/preview-block-popover.js.map +1 -1
- package/build-module/components/block-switcher/use-transformed-patterns.js +4 -3
- package/build-module/components/block-switcher/use-transformed-patterns.js.map +1 -1
- package/build-module/components/block-switcher/utils.js +3 -2
- package/build-module/components/block-switcher/utils.js.map +1 -1
- package/build-module/components/block-title/index.js +1 -0
- package/build-module/components/block-title/index.js.map +1 -1
- package/build-module/components/block-title/use-block-display-title.js +1 -0
- package/build-module/components/block-title/use-block-display-title.js.map +1 -1
- package/build-module/components/block-toolbar/block-name-context.js +2 -1
- package/build-module/components/block-toolbar/block-name-context.js.map +1 -1
- package/build-module/components/block-toolbar/block-toolbar-icon.js +144 -0
- package/build-module/components/block-toolbar/block-toolbar-icon.js.map +7 -0
- package/build-module/components/block-toolbar/block-toolbar-last-item.js +2 -1
- package/build-module/components/block-toolbar/block-toolbar-last-item.js.map +1 -1
- package/build-module/components/block-toolbar/change-design.js +5 -4
- package/build-module/components/block-toolbar/change-design.js.map +1 -1
- package/build-module/components/block-toolbar/index.js +53 -54
- package/build-module/components/block-toolbar/index.js.map +2 -2
- package/build-module/components/block-toolbar/pattern-overrides-dropdown.js +76 -0
- package/build-module/components/block-toolbar/pattern-overrides-dropdown.js.map +7 -0
- package/build-module/components/block-toolbar/switch-section-style.js +3 -2
- package/build-module/components/block-toolbar/switch-section-style.js.map +1 -1
- package/build-module/components/block-toolbar/use-has-block-toolbar.js +1 -0
- package/build-module/components/block-toolbar/use-has-block-toolbar.js.map +1 -1
- package/build-module/components/block-toolbar/utils.js +3 -2
- package/build-module/components/block-toolbar/utils.js.map +1 -1
- package/build-module/components/block-tools/block-toolbar-popover.js +2 -1
- package/build-module/components/block-tools/block-toolbar-popover.js.map +1 -1
- package/build-module/components/block-tools/empty-block-inserter.js +2 -1
- package/build-module/components/block-tools/empty-block-inserter.js.map +1 -1
- package/build-module/components/block-tools/index.js +12 -4
- package/build-module/components/block-tools/index.js.map +2 -2
- package/build-module/components/block-tools/insertion-point.js +3 -2
- package/build-module/components/block-tools/insertion-point.js.map +1 -1
- package/build-module/components/block-tools/use-block-toolbar-popover-props.js +4 -3
- package/build-module/components/block-tools/use-block-toolbar-popover-props.js.map +1 -1
- package/build-module/components/block-tools/use-selected-block-tool-props.js +1 -0
- package/build-module/components/block-tools/use-selected-block-tool-props.js.map +1 -1
- package/build-module/components/block-tools/use-show-block-tools.js +1 -0
- package/build-module/components/block-tools/use-show-block-tools.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-mode-inserter-button.js +2 -1
- package/build-module/components/block-tools/zoom-out-mode-inserter-button.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-mode-inserters.js +2 -1
- package/build-module/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build-module/components/block-types-list/index.js +2 -1
- package/build-module/components/block-types-list/index.js.map +1 -1
- package/build-module/components/block-variation-picker/index.js +2 -1
- package/build-module/components/block-variation-picker/index.js.map +1 -1
- package/build-module/components/block-variation-transforms/index.js +33 -34
- package/build-module/components/block-variation-transforms/index.js.map +2 -2
- package/build-module/components/block-vertical-alignment-control/index.js +4 -3
- package/build-module/components/block-vertical-alignment-control/index.js.map +1 -1
- package/build-module/components/block-vertical-alignment-control/ui.js +5 -4
- package/build-module/components/block-vertical-alignment-control/ui.js.map +1 -1
- package/build-module/components/block-visibility/index.js +1 -0
- package/build-module/components/block-visibility/index.js.map +1 -1
- package/build-module/components/block-visibility/menu-item.js +2 -1
- package/build-module/components/block-visibility/menu-item.js.map +1 -1
- package/build-module/components/block-visibility/toolbar.js +2 -1
- package/build-module/components/block-visibility/toolbar.js.map +1 -1
- package/build-module/components/border-radius-control/constants.js +8 -7
- package/build-module/components/border-radius-control/constants.js.map +1 -1
- package/build-module/components/border-radius-control/index.js +2 -1
- package/build-module/components/border-radius-control/index.js.map +1 -1
- package/build-module/components/border-radius-control/linked-button.js +2 -1
- package/build-module/components/border-radius-control/linked-button.js.map +1 -1
- package/build-module/components/border-radius-control/single-input-control.js +2 -1
- package/build-module/components/border-radius-control/single-input-control.js.map +1 -1
- package/build-module/components/border-radius-control/utils.js +8 -3
- package/build-module/components/border-radius-control/utils.js.map +2 -2
- package/build-module/components/button-block-appender/index.js +3 -2
- package/build-module/components/button-block-appender/index.js.map +1 -1
- package/build-module/components/child-layout-control/index.js +2 -1
- package/build-module/components/child-layout-control/index.js.map +1 -1
- package/build-module/components/collab/block-comment-icon-slot.js +2 -1
- package/build-module/components/collab/block-comment-icon-slot.js.map +1 -1
- package/build-module/components/collab/block-comment-icon-toolbar-slot.js +2 -1
- package/build-module/components/collab/block-comment-icon-toolbar-slot.js.map +1 -1
- package/build-module/components/color-palette/control.js +2 -1
- package/build-module/components/color-palette/control.js.map +1 -1
- package/build-module/components/color-palette/index.js +1 -0
- package/build-module/components/color-palette/index.js.map +1 -1
- package/build-module/components/color-palette/with-color-context.js +2 -1
- package/build-module/components/color-palette/with-color-context.js.map +1 -1
- package/build-module/components/color-style-selector/index.js +6 -5
- package/build-module/components/color-style-selector/index.js.map +1 -1
- package/build-module/components/colors/index.js +1 -0
- package/build-module/components/colors/index.js.map +1 -1
- package/build-module/components/colors/utils.js +4 -3
- package/build-module/components/colors/utils.js.map +1 -1
- package/build-module/components/colors/with-colors.js +6 -5
- package/build-module/components/colors/with-colors.js.map +1 -1
- package/build-module/components/colors-gradients/control.js +5 -4
- package/build-module/components/colors-gradients/control.js.map +1 -1
- package/build-module/components/colors-gradients/dropdown.js +5 -4
- package/build-module/components/colors-gradients/dropdown.js.map +1 -1
- package/build-module/components/colors-gradients/panel-color-gradient-settings.js +6 -5
- package/build-module/components/colors-gradients/panel-color-gradient-settings.js.map +1 -1
- package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +1 -0
- package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js.map +1 -1
- package/build-module/components/content-lock/index.js +3 -2
- package/build-module/components/content-lock/index.js.map +2 -2
- package/build-module/components/content-lock/modify-content-lock-menu-item.js +12 -11
- package/build-module/components/content-lock/modify-content-lock-menu-item.js.map +2 -2
- package/build-module/components/contrast-checker/index.js +2 -1
- package/build-module/components/contrast-checker/index.js.map +1 -1
- package/build-module/components/convert-to-group-buttons/index.js +2 -1
- package/build-module/components/convert-to-group-buttons/index.js.map +1 -1
- package/build-module/components/convert-to-group-buttons/toolbar.js +3 -2
- package/build-module/components/convert-to-group-buttons/toolbar.js.map +1 -1
- package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js +1 -0
- package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js.map +1 -1
- package/build-module/components/copy-handler/index.js +3 -2
- package/build-module/components/copy-handler/index.js.map +1 -1
- package/build-module/components/date-format-picker/index.js +3 -2
- package/build-module/components/date-format-picker/index.js.map +1 -1
- package/build-module/components/default-block-appender/index.js +3 -2
- package/build-module/components/default-block-appender/index.js.map +1 -1
- package/build-module/components/dimensions-tool/aspect-ratio-tool.js +2 -1
- package/build-module/components/dimensions-tool/aspect-ratio-tool.js.map +1 -1
- package/build-module/components/dimensions-tool/index.js +2 -1
- package/build-module/components/dimensions-tool/index.js.map +1 -1
- package/build-module/components/dimensions-tool/scale-tool.js +3 -2
- package/build-module/components/dimensions-tool/scale-tool.js.map +1 -1
- package/build-module/components/dimensions-tool/width-height-tool.js +3 -2
- package/build-module/components/dimensions-tool/width-height-tool.js.map +1 -1
- package/build-module/components/duotone/utils.js +1 -0
- package/build-module/components/duotone/utils.js.map +1 -1
- package/build-module/components/duotone-control/index.js +2 -1
- package/build-module/components/duotone-control/index.js.map +1 -1
- package/build-module/components/editable-text/index.js +3 -2
- package/build-module/components/editable-text/index.js.map +1 -1
- package/build-module/components/editor-styles/index.js +2 -1
- package/build-module/components/editor-styles/index.js.map +1 -1
- package/build-module/components/floating-toolbar/nav-up-icon.js +3 -2
- package/build-module/components/floating-toolbar/nav-up-icon.js.map +1 -1
- package/build-module/components/font-appearance-control/index.js +3 -2
- package/build-module/components/font-appearance-control/index.js.map +1 -1
- package/build-module/components/font-family/index.js +2 -1
- package/build-module/components/font-family/index.js.map +1 -1
- package/build-module/components/font-sizes/fluid-utils.js +7 -6
- package/build-module/components/font-sizes/fluid-utils.js.map +1 -1
- package/build-module/components/font-sizes/font-size-picker.js +2 -1
- package/build-module/components/font-sizes/font-size-picker.js.map +1 -1
- package/build-module/components/font-sizes/index.js +1 -0
- package/build-module/components/font-sizes/index.js.map +1 -1
- package/build-module/components/font-sizes/utils.js +3 -2
- package/build-module/components/font-sizes/utils.js.map +1 -1
- package/build-module/components/font-sizes/with-font-sizes.js +4 -3
- package/build-module/components/font-sizes/with-font-sizes.js.map +1 -1
- package/build-module/components/global-styles/advanced-panel.js +2 -1
- package/build-module/components/global-styles/advanced-panel.js.map +1 -1
- package/build-module/components/global-styles/background-panel.js +3 -2
- package/build-module/components/global-styles/background-panel.js.map +1 -1
- package/build-module/components/global-styles/border-panel.js +14 -9
- package/build-module/components/global-styles/border-panel.js.map +2 -2
- package/build-module/components/global-styles/color-panel.js +40 -32
- package/build-module/components/global-styles/color-panel.js.map +2 -2
- package/build-module/components/global-styles/dimensions-panel.js +4 -3
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
- package/build-module/components/global-styles/filters-panel.js +7 -6
- package/build-module/components/global-styles/filters-panel.js.map +1 -1
- package/build-module/components/global-styles/hooks.js +1 -0
- package/build-module/components/global-styles/hooks.js.map +1 -1
- package/build-module/components/global-styles/image-settings-panel.js +2 -1
- package/build-module/components/global-styles/image-settings-panel.js.map +1 -1
- package/build-module/components/global-styles/index.js +1 -0
- package/build-module/components/global-styles/index.js.map +1 -1
- package/build-module/components/global-styles/shadow-panel-components.js +3 -2
- package/build-module/components/global-styles/shadow-panel-components.js.map +1 -1
- package/build-module/components/global-styles/typography-panel.js +8 -6
- package/build-module/components/global-styles/typography-panel.js.map +2 -2
- package/build-module/components/global-styles/typography-utils.js +1 -0
- package/build-module/components/global-styles/typography-utils.js.map +1 -1
- package/build-module/components/global-styles/utils.js +1 -0
- package/build-module/components/global-styles/utils.js.map +1 -1
- package/build-module/components/gradients/index.js +1 -0
- package/build-module/components/gradients/index.js.map +1 -1
- package/build-module/components/gradients/use-gradient.js +1 -0
- package/build-module/components/gradients/use-gradient.js.map +1 -1
- package/build-module/components/gradients/with-gradient.js +3 -2
- package/build-module/components/gradients/with-gradient.js.map +1 -1
- package/build-module/components/grid/grid-item-movers.js +2 -1
- package/build-module/components/grid/grid-item-movers.js.map +1 -1
- package/build-module/components/grid/grid-item-resizer.js +2 -1
- package/build-module/components/grid/grid-item-resizer.js.map +1 -1
- package/build-module/components/grid/grid-visualizer.js +3 -2
- package/build-module/components/grid/grid-visualizer.js.map +1 -1
- package/build-module/components/grid/index.js +1 -0
- package/build-module/components/grid/index.js.map +1 -1
- package/build-module/components/grid/use-get-number-of-blocks-before-cell.js +1 -0
- package/build-module/components/grid/use-get-number-of-blocks-before-cell.js.map +1 -1
- package/build-module/components/grid/use-grid-layout-sync.js +1 -0
- package/build-module/components/grid/use-grid-layout-sync.js.map +1 -1
- package/build-module/components/grid/utils.js +3 -2
- package/build-module/components/grid/utils.js.map +1 -1
- package/build-module/components/height-control/index.js +3 -2
- package/build-module/components/height-control/index.js.map +1 -1
- package/build-module/components/html-element-control/index.js +2 -1
- package/build-module/components/html-element-control/index.js.map +1 -1
- package/build-module/components/html-element-control/messages.js +2 -1
- package/build-module/components/html-element-control/messages.js.map +1 -1
- package/build-module/components/iframe/get-compatibility-styles.js +2 -1
- package/build-module/components/iframe/get-compatibility-styles.js.map +1 -1
- package/build-module/components/iframe/index.js +2 -4
- package/build-module/components/iframe/index.js.map +2 -2
- package/build-module/components/iframe/use-scale-canvas.js +1 -0
- package/build-module/components/iframe/use-scale-canvas.js.map +1 -1
- package/build-module/components/image-editor/aspect-ratio-dropdown.js +2 -1
- package/build-module/components/image-editor/aspect-ratio-dropdown.js.map +1 -1
- package/build-module/components/image-editor/constants.js +4 -3
- package/build-module/components/image-editor/constants.js.map +1 -1
- package/build-module/components/image-editor/context.js +4 -3
- package/build-module/components/image-editor/context.js.map +1 -1
- package/build-module/components/image-editor/cropper.js +2 -1
- package/build-module/components/image-editor/cropper.js.map +1 -1
- package/build-module/components/image-editor/form-controls.js +2 -1
- package/build-module/components/image-editor/form-controls.js.map +1 -1
- package/build-module/components/image-editor/index.js +2 -1
- package/build-module/components/image-editor/index.js.map +1 -1
- package/build-module/components/image-editor/rotation-button.js +2 -1
- package/build-module/components/image-editor/rotation-button.js.map +1 -1
- package/build-module/components/image-editor/use-save-image.js +2 -1
- package/build-module/components/image-editor/use-save-image.js.map +1 -1
- package/build-module/components/image-editor/use-transform-image.js +1 -0
- package/build-module/components/image-editor/use-transform-image.js.map +1 -1
- package/build-module/components/image-editor/zoom-dropdown.js +2 -1
- package/build-module/components/image-editor/zoom-dropdown.js.map +1 -1
- package/build-module/components/image-size-control/index.js +4 -3
- package/build-module/components/image-size-control/index.js.map +1 -1
- package/build-module/components/image-size-control/use-dimension-handler.js +1 -0
- package/build-module/components/image-size-control/use-dimension-handler.js.map +1 -1
- package/build-module/components/index.js +1 -0
- package/build-module/components/index.js.map +1 -1
- package/build-module/components/inner-blocks/button-block-appender.js +2 -1
- package/build-module/components/inner-blocks/button-block-appender.js.map +1 -1
- package/build-module/components/inner-blocks/default-block-appender.js +2 -1
- package/build-module/components/inner-blocks/default-block-appender.js.map +1 -1
- package/build-module/components/inner-blocks/index.js +5 -4
- package/build-module/components/inner-blocks/index.js.map +1 -1
- package/build-module/components/inner-blocks/use-block-context.js +1 -0
- package/build-module/components/inner-blocks/use-block-context.js.map +1 -1
- package/build-module/components/inner-blocks/use-inner-block-template-sync.js +1 -0
- package/build-module/components/inner-blocks/use-inner-block-template-sync.js.map +1 -1
- package/build-module/components/inner-blocks/use-nested-settings-update.js +2 -1
- package/build-module/components/inner-blocks/use-nested-settings-update.js.map +1 -1
- package/build-module/components/inserter/block-patterns-explorer/index.js +2 -1
- package/build-module/components/inserter/block-patterns-explorer/index.js.map +1 -1
- package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +2 -1
- package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js.map +1 -1
- package/build-module/components/inserter/block-patterns-explorer/pattern-list.js +2 -1
- package/build-module/components/inserter/block-patterns-explorer/pattern-list.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/index.js +2 -1
- package/build-module/components/inserter/block-patterns-tab/index.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +3 -2
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/patterns-filter.js +5 -4
- package/build-module/components/inserter/block-patterns-tab/patterns-filter.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js +1 -0
- package/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/utils.js +6 -5
- package/build-module/components/inserter/block-patterns-tab/utils.js.map +1 -1
- package/build-module/components/inserter/block-types-tab.js +5 -4
- package/build-module/components/inserter/block-types-tab.js.map +1 -1
- package/build-module/components/inserter/category-tabs/index.js +3 -2
- package/build-module/components/inserter/category-tabs/index.js.map +1 -1
- package/build-module/components/inserter/hooks/use-block-types-state.js +2 -1
- package/build-module/components/inserter/hooks/use-block-types-state.js.map +1 -1
- package/build-module/components/inserter/hooks/use-insertion-point.js +1 -0
- package/build-module/components/inserter/hooks/use-insertion-point.js.map +1 -1
- package/build-module/components/inserter/hooks/use-patterns-paging.js +2 -1
- package/build-module/components/inserter/hooks/use-patterns-paging.js.map +1 -1
- package/build-module/components/inserter/hooks/use-patterns-state.js +2 -1
- package/build-module/components/inserter/hooks/use-patterns-state.js.map +1 -1
- package/build-module/components/inserter/index.js +5 -4
- package/build-module/components/inserter/index.js.map +1 -1
- package/build-module/components/inserter/library.js +4 -3
- package/build-module/components/inserter/library.js.map +1 -1
- package/build-module/components/inserter/media-tab/hooks.js +1 -0
- package/build-module/components/inserter/media-tab/hooks.js.map +1 -1
- package/build-module/components/inserter/media-tab/index.js +1 -0
- package/build-module/components/inserter/media-tab/index.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-list.js +2 -1
- package/build-module/components/inserter/media-tab/media-list.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-panel.js +3 -2
- package/build-module/components/inserter/media-tab/media-panel.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-preview.js +4 -3
- package/build-module/components/inserter/media-tab/media-preview.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-tab.js +5 -3
- package/build-module/components/inserter/media-tab/media-tab.js.map +2 -2
- package/build-module/components/inserter/media-tab/utils.js +3 -2
- package/build-module/components/inserter/media-tab/utils.js.map +1 -1
- package/build-module/components/inserter/menu.js +4 -3
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/inserter/mobile-tab-navigation.js +2 -1
- package/build-module/components/inserter/mobile-tab-navigation.js.map +1 -1
- package/build-module/components/inserter/no-results.js +2 -1
- package/build-module/components/inserter/no-results.js.map +1 -1
- package/build-module/components/inserter/panel.js +2 -1
- package/build-module/components/inserter/panel.js.map +1 -1
- package/build-module/components/inserter/preview-panel.js +2 -1
- package/build-module/components/inserter/preview-panel.js.map +1 -1
- package/build-module/components/inserter/quick-inserter.js +5 -4
- package/build-module/components/inserter/quick-inserter.js.map +1 -1
- package/build-module/components/inserter/search-items.js +15 -14
- package/build-module/components/inserter/search-items.js.map +1 -1
- package/build-module/components/inserter/search-results.js +4 -3
- package/build-module/components/inserter/search-results.js.map +1 -1
- package/build-module/components/inserter/tips.js +3 -2
- package/build-module/components/inserter/tips.js.map +1 -1
- package/build-module/components/inserter-button/sparkles.js +3 -2
- package/build-module/components/inserter-button/sparkles.js.map +1 -1
- package/build-module/components/inserter-draggable-blocks/index.js +3 -2
- package/build-module/components/inserter-draggable-blocks/index.js.map +1 -1
- package/build-module/components/inserter-list-item/index.js +2 -1
- package/build-module/components/inserter-list-item/index.js.map +1 -1
- package/build-module/components/inserter-listbox/context.js +2 -1
- package/build-module/components/inserter-listbox/context.js.map +1 -1
- package/build-module/components/inserter-listbox/group.js +2 -1
- package/build-module/components/inserter-listbox/group.js.map +1 -1
- package/build-module/components/inserter-listbox/index.js +2 -1
- package/build-module/components/inserter-listbox/index.js.map +1 -1
- package/build-module/components/inserter-listbox/item.js +2 -1
- package/build-module/components/inserter-listbox/item.js.map +1 -1
- package/build-module/components/inserter-listbox/row.js +2 -1
- package/build-module/components/inserter-listbox/row.js.map +1 -1
- package/build-module/components/inserter-menu-extension/index.js +2 -1
- package/build-module/components/inserter-menu-extension/index.js.map +1 -1
- package/build-module/components/inspector-controls/block-support-slot-container.js +2 -1
- package/build-module/components/inspector-controls/block-support-slot-container.js.map +1 -1
- package/build-module/components/inspector-controls/block-support-tools-panel.js +2 -1
- package/build-module/components/inspector-controls/block-support-tools-panel.js.map +1 -1
- package/build-module/components/inspector-controls/fill.js +2 -1
- package/build-module/components/inspector-controls/fill.js.map +1 -1
- package/build-module/components/inspector-controls/groups.js +16 -15
- package/build-module/components/inspector-controls/groups.js.map +1 -1
- package/build-module/components/inspector-controls/index.js +4 -3
- package/build-module/components/inspector-controls/index.js.map +1 -1
- package/build-module/components/inspector-controls/slot.js +2 -1
- package/build-module/components/inspector-controls/slot.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/advanced-controls-panel.js +3 -2
- package/build-module/components/inspector-controls-tabs/advanced-controls-panel.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/content-tab.js +3 -2
- package/build-module/components/inspector-controls-tabs/content-tab.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/index.js +5 -3
- package/build-module/components/inspector-controls-tabs/index.js.map +2 -2
- package/build-module/components/inspector-controls-tabs/position-controls-panel.js +4 -3
- package/build-module/components/inspector-controls-tabs/position-controls-panel.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/settings-tab.js +3 -2
- package/build-module/components/inspector-controls-tabs/settings-tab.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/styles-tab.js +58 -3
- package/build-module/components/inspector-controls-tabs/styles-tab.js.map +2 -2
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js +3 -2
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js.map +2 -2
- package/build-module/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js +3 -2
- package/build-module/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/utils.js +5 -4
- package/build-module/components/inspector-controls-tabs/utils.js.map +1 -1
- package/build-module/components/inspector-popover-header/index.js +2 -1
- package/build-module/components/inspector-popover-header/index.js.map +1 -1
- package/build-module/components/justify-content-control/index.js +4 -3
- package/build-module/components/justify-content-control/index.js.map +1 -1
- package/build-module/components/justify-content-control/ui.js +3 -2
- package/build-module/components/justify-content-control/ui.js.map +1 -1
- package/build-module/components/keyboard-shortcuts/index.js +9 -0
- package/build-module/components/keyboard-shortcuts/index.js.map +2 -2
- package/build-module/components/letter-spacing-control/index.js +2 -1
- package/build-module/components/letter-spacing-control/index.js.map +1 -1
- package/build-module/components/line-height-control/index.js +3 -2
- package/build-module/components/line-height-control/index.js.map +1 -1
- package/build-module/components/line-height-control/utils.js +5 -4
- package/build-module/components/line-height-control/utils.js.map +1 -1
- package/build-module/components/link-control/constants.js +8 -7
- package/build-module/components/link-control/constants.js.map +1 -1
- package/build-module/components/link-control/index.js +6 -5
- package/build-module/components/link-control/index.js.map +2 -2
- package/build-module/components/link-control/is-url-like.js +1 -0
- package/build-module/components/link-control/is-url-like.js.map +1 -1
- package/build-module/components/link-control/link-preview.js +2 -1
- package/build-module/components/link-control/link-preview.js.map +1 -1
- package/build-module/components/link-control/search-create-button.js +3 -2
- package/build-module/components/link-control/search-create-button.js.map +1 -1
- package/build-module/components/link-control/search-input.js +6 -5
- package/build-module/components/link-control/search-input.js.map +1 -1
- package/build-module/components/link-control/search-item.js +7 -6
- package/build-module/components/link-control/search-item.js.map +1 -1
- package/build-module/components/link-control/search-results.js +3 -2
- package/build-module/components/link-control/search-results.js.map +1 -1
- package/build-module/components/link-control/settings-drawer.js +5 -4
- package/build-module/components/link-control/settings-drawer.js.map +1 -1
- package/build-module/components/link-control/settings.js +4 -3
- package/build-module/components/link-control/settings.js.map +1 -1
- package/build-module/components/link-control/use-create-page.js +2 -1
- package/build-module/components/link-control/use-create-page.js.map +1 -1
- package/build-module/components/link-control/use-internal-value.js +1 -0
- package/build-module/components/link-control/use-internal-value.js.map +1 -1
- package/build-module/components/link-control/use-rich-url-data.js +1 -0
- package/build-module/components/link-control/use-rich-url-data.js.map +1 -1
- package/build-module/components/link-control/use-search-handler.js +4 -3
- package/build-module/components/link-control/use-search-handler.js.map +1 -1
- package/build-module/components/link-control/viewer-slot.js +2 -1
- package/build-module/components/link-control/viewer-slot.js.map +1 -1
- package/build-module/components/list-view/appender.js +3 -2
- package/build-module/components/list-view/appender.js.map +1 -1
- package/build-module/components/list-view/aria-referenced-text.js +2 -1
- package/build-module/components/list-view/aria-referenced-text.js.map +1 -1
- package/build-module/components/list-view/block-contents.js +3 -2
- package/build-module/components/list-view/block-contents.js.map +1 -1
- package/build-module/components/list-view/block-select-button.js +3 -2
- package/build-module/components/list-view/block-select-button.js.map +1 -1
- package/build-module/components/list-view/block.js +2 -1
- package/build-module/components/list-view/block.js.map +1 -1
- package/build-module/components/list-view/branch.js +4 -3
- package/build-module/components/list-view/branch.js.map +1 -1
- package/build-module/components/list-view/context.js +3 -2
- package/build-module/components/list-view/context.js.map +1 -1
- package/build-module/components/list-view/drop-indicator.js +2 -1
- package/build-module/components/list-view/drop-indicator.js.map +1 -1
- package/build-module/components/list-view/expander.js +2 -3
- package/build-module/components/list-view/expander.js.map +2 -2
- package/build-module/components/list-view/index.js +5 -4
- package/build-module/components/list-view/index.js.map +1 -1
- package/build-module/components/list-view/leaf.js +4 -3
- package/build-module/components/list-view/leaf.js.map +1 -1
- package/build-module/components/list-view/use-block-selection.js +1 -0
- package/build-module/components/list-view/use-block-selection.js.map +1 -1
- package/build-module/components/list-view/use-clipboard-handler.js +1 -0
- package/build-module/components/list-view/use-clipboard-handler.js.map +1 -1
- package/build-module/components/list-view/use-list-view-block-indexes.js +1 -0
- package/build-module/components/list-view/use-list-view-block-indexes.js.map +1 -1
- package/build-module/components/list-view/use-list-view-client-ids.js +1 -0
- package/build-module/components/list-view/use-list-view-client-ids.js.map +1 -1
- package/build-module/components/list-view/use-list-view-collapse-items.js +1 -0
- package/build-module/components/list-view/use-list-view-collapse-items.js.map +1 -1
- package/build-module/components/list-view/use-list-view-drop-zone.js +4 -3
- package/build-module/components/list-view/use-list-view-drop-zone.js.map +1 -1
- package/build-module/components/list-view/use-list-view-expand-selected-item.js +1 -0
- package/build-module/components/list-view/use-list-view-expand-selected-item.js.map +1 -1
- package/build-module/components/list-view/use-list-view-images.js +3 -2
- package/build-module/components/list-view/use-list-view-images.js.map +1 -1
- package/build-module/components/list-view/use-list-view-scroll-into-view.js +1 -0
- package/build-module/components/list-view/use-list-view-scroll-into-view.js.map +1 -1
- package/build-module/components/list-view/utils.js +4 -3
- package/build-module/components/list-view/utils.js.map +1 -1
- package/build-module/components/media-placeholder/index.js +5 -4
- package/build-module/components/media-placeholder/index.js.map +1 -1
- package/build-module/components/media-replace-flow/index.js +6 -6
- package/build-module/components/media-replace-flow/index.js.map +2 -2
- package/build-module/components/media-upload/check.js +1 -0
- package/build-module/components/media-upload/check.js.map +1 -1
- package/build-module/components/media-upload/index.js +2 -1
- package/build-module/components/media-upload/index.js.map +1 -1
- package/build-module/components/media-upload-modal/index.js +2 -1
- package/build-module/components/media-upload-modal/index.js.map +1 -1
- package/build-module/components/media-upload-progress/constants.js +7 -6
- package/build-module/components/media-upload-progress/constants.js.map +1 -1
- package/build-module/components/multi-selection-inspector/index.js +2 -1
- package/build-module/components/multi-selection-inspector/index.js.map +1 -1
- package/build-module/components/navigable-toolbar/index.js +2 -1
- package/build-module/components/navigable-toolbar/index.js.map +1 -1
- package/build-module/components/observe-typing/index.js +3 -2
- package/build-module/components/observe-typing/index.js.map +1 -1
- package/build-module/components/panel-color-settings/index.js +3 -2
- package/build-module/components/panel-color-settings/index.js.map +1 -1
- package/build-module/components/plain-text/index.js +3 -2
- package/build-module/components/plain-text/index.js.map +1 -1
- package/build-module/components/preview-options/index.js +1 -0
- package/build-module/components/preview-options/index.js.map +1 -1
- package/build-module/components/provider/block-refs-provider.js +3 -2
- package/build-module/components/provider/block-refs-provider.js.map +1 -1
- package/build-module/components/provider/index.js +5 -4
- package/build-module/components/provider/index.js.map +1 -1
- package/build-module/components/provider/use-block-sync.js +2 -1
- package/build-module/components/provider/use-block-sync.js.map +1 -1
- package/build-module/components/provider/use-media-upload-settings.js +1 -0
- package/build-module/components/provider/use-media-upload-settings.js.map +1 -1
- package/build-module/components/provider/with-registry-provider.js +3 -2
- package/build-module/components/provider/with-registry-provider.js.map +1 -1
- package/build-module/components/publish-date-time-picker/index.js +3 -2
- package/build-module/components/publish-date-time-picker/index.js.map +1 -1
- package/build-module/components/recursion-provider/index.js +5 -4
- package/build-module/components/recursion-provider/index.js.map +1 -1
- package/build-module/components/resizable-box-popover/index.js +2 -1
- package/build-module/components/resizable-box-popover/index.js.map +1 -1
- package/build-module/components/resolution-tool/index.js +3 -2
- package/build-module/components/resolution-tool/index.js.map +1 -1
- package/build-module/components/responsive-block-control/index.js +2 -1
- package/build-module/components/responsive-block-control/index.js.map +1 -1
- package/build-module/components/responsive-block-control/label.js +2 -1
- package/build-module/components/responsive-block-control/label.js.map +1 -1
- package/build-module/components/rich-text/content.js +2 -1
- package/build-module/components/rich-text/content.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/before-input-rules.js +2 -1
- package/build-module/components/rich-text/event-listeners/before-input-rules.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/delete.js +1 -0
- package/build-module/components/rich-text/event-listeners/delete.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/enter.js +1 -0
- package/build-module/components/rich-text/event-listeners/enter.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/firefox-compat.js +1 -0
- package/build-module/components/rich-text/event-listeners/firefox-compat.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/index.js +2 -1
- package/build-module/components/rich-text/event-listeners/index.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/input-events.js +1 -0
- package/build-module/components/rich-text/event-listeners/input-events.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/input-rules.js +1 -0
- package/build-module/components/rich-text/event-listeners/input-rules.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/insert-replacement-text.js +1 -0
- package/build-module/components/rich-text/event-listeners/insert-replacement-text.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/paste-handler.js +1 -0
- package/build-module/components/rich-text/event-listeners/paste-handler.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.js +1 -0
- package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/shortcuts.js +1 -0
- package/build-module/components/rich-text/event-listeners/shortcuts.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/undo-automatic-change.js +1 -0
- package/build-module/components/rich-text/event-listeners/undo-automatic-change.js.map +1 -1
- package/build-module/components/rich-text/format-edit.js +5 -4
- package/build-module/components/rich-text/format-edit.js.map +1 -1
- package/build-module/components/rich-text/format-toolbar/index.js +4 -3
- package/build-module/components/rich-text/format-toolbar/index.js.map +1 -1
- package/build-module/components/rich-text/format-toolbar-container.js +3 -2
- package/build-module/components/rich-text/format-toolbar-container.js.map +1 -1
- package/build-module/components/rich-text/get-rich-text-values.js +2 -1
- package/build-module/components/rich-text/get-rich-text-values.js.map +1 -1
- package/build-module/components/rich-text/index.js +11 -9
- package/build-module/components/rich-text/index.js.map +2 -2
- package/build-module/components/rich-text/input-event.js +1 -0
- package/build-module/components/rich-text/input-event.js.map +1 -1
- package/build-module/components/rich-text/multiline.js +2 -1
- package/build-module/components/rich-text/multiline.js.map +1 -1
- package/build-module/components/rich-text/native/format-edit.js +2 -1
- package/build-module/components/rich-text/native/format-edit.js.map +1 -1
- package/build-module/components/rich-text/native/index.js +1 -0
- package/build-module/components/rich-text/native/index.js.map +1 -1
- package/build-module/components/rich-text/native/use-format-types.js +2 -1
- package/build-module/components/rich-text/native/use-format-types.js.map +1 -1
- package/build-module/components/rich-text/prevent-event-discovery.js +1 -0
- package/build-module/components/rich-text/prevent-event-discovery.js.map +1 -1
- package/build-module/components/rich-text/shortcut.js +1 -0
- package/build-module/components/rich-text/shortcut.js.map +1 -1
- package/build-module/components/rich-text/toolbar-button.js +2 -1
- package/build-module/components/rich-text/toolbar-button.js.map +1 -1
- package/build-module/components/rich-text/use-format-types.js +2 -1
- package/build-module/components/rich-text/use-format-types.js.map +1 -1
- package/build-module/components/rich-text/use-mark-persistent.js +1 -0
- package/build-module/components/rich-text/use-mark-persistent.js.map +1 -1
- package/build-module/components/rich-text/utils.js +2 -1
- package/build-module/components/rich-text/utils.js.map +1 -1
- package/build-module/components/rich-text/with-deprecations.js +2 -1
- package/build-module/components/rich-text/with-deprecations.js.map +1 -1
- package/build-module/components/selection-scroll-into-view/index.js +1 -0
- package/build-module/components/selection-scroll-into-view/index.js.map +1 -1
- package/build-module/components/skip-to-selected-block/index.js +2 -1
- package/build-module/components/skip-to-selected-block/index.js.map +1 -1
- package/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js +3 -2
- package/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js.map +1 -1
- package/build-module/components/spacing-sizes-control/index.js +2 -1
- package/build-module/components/spacing-sizes-control/index.js.map +1 -1
- package/build-module/components/spacing-sizes-control/input-controls/axial.js +3 -2
- package/build-module/components/spacing-sizes-control/input-controls/axial.js.map +1 -1
- package/build-module/components/spacing-sizes-control/input-controls/separated.js +2 -1
- package/build-module/components/spacing-sizes-control/input-controls/separated.js.map +1 -1
- package/build-module/components/spacing-sizes-control/input-controls/single.js +2 -1
- package/build-module/components/spacing-sizes-control/input-controls/single.js.map +1 -1
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +3 -2
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js.map +1 -1
- package/build-module/components/spacing-sizes-control/linked-button.js +2 -1
- package/build-module/components/spacing-sizes-control/linked-button.js.map +1 -1
- package/build-module/components/spacing-sizes-control/utils.js +7 -6
- package/build-module/components/spacing-sizes-control/utils.js.map +1 -1
- package/build-module/components/tabbed-sidebar/index.js +3 -2
- package/build-module/components/tabbed-sidebar/index.js.map +1 -1
- package/build-module/components/text-alignment-control/index.js +4 -3
- package/build-module/components/text-alignment-control/index.js.map +1 -1
- package/build-module/components/text-decoration-control/index.js +3 -2
- package/build-module/components/text-decoration-control/index.js.map +1 -1
- package/build-module/components/text-transform-control/index.js +3 -2
- package/build-module/components/text-transform-control/index.js.map +1 -1
- package/build-module/components/typewriter/index.js +6 -5
- package/build-module/components/typewriter/index.js.map +1 -1
- package/build-module/components/unit-control/index.js +2 -1
- package/build-module/components/unit-control/index.js.map +1 -1
- package/build-module/components/url-input/button.js +2 -1
- package/build-module/components/url-input/button.js.map +1 -1
- package/build-module/components/url-input/index.js +5 -4
- package/build-module/components/url-input/index.js.map +1 -1
- package/build-module/components/url-popover/image-url-input-ui.js +8 -7
- package/build-module/components/url-popover/image-url-input-ui.js.map +1 -1
- package/build-module/components/url-popover/index.js +5 -4
- package/build-module/components/url-popover/index.js.map +1 -1
- package/build-module/components/url-popover/link-editor.js +2 -1
- package/build-module/components/url-popover/link-editor.js.map +1 -1
- package/build-module/components/url-popover/link-viewer-url.js +2 -1
- package/build-module/components/url-popover/link-viewer-url.js.map +1 -1
- package/build-module/components/url-popover/link-viewer.js +2 -1
- package/build-module/components/url-popover/link-viewer.js.map +1 -1
- package/build-module/components/use-block-commands/index.js +5 -4
- package/build-module/components/use-block-commands/index.js.map +1 -1
- package/build-module/components/use-block-display-information/index.js +1 -0
- package/build-module/components/use-block-display-information/index.js.map +1 -1
- package/build-module/components/use-block-drop-zone/index.js +4 -3
- package/build-module/components/use-block-drop-zone/index.js.map +1 -1
- package/build-module/components/use-flash-editable-blocks/index.js +1 -0
- package/build-module/components/use-flash-editable-blocks/index.js.map +1 -1
- package/build-module/components/use-moving-animation/index.js +2 -1
- package/build-module/components/use-moving-animation/index.js.map +1 -1
- package/build-module/components/use-on-block-drop/index.js +1 -0
- package/build-module/components/use-on-block-drop/index.js.map +1 -1
- package/build-module/components/use-paste-styles/index.js +2 -1
- package/build-module/components/use-paste-styles/index.js.map +1 -1
- package/build-module/components/use-resize-canvas/index.js +1 -0
- package/build-module/components/use-resize-canvas/index.js.map +1 -1
- package/build-module/components/use-settings/index.js +1 -0
- package/build-module/components/use-settings/index.js.map +1 -1
- package/build-module/components/warning/index.js +2 -1
- package/build-module/components/warning/index.js.map +1 -1
- package/build-module/components/writing-flow/index.js +2 -1
- package/build-module/components/writing-flow/index.js.map +1 -1
- package/build-module/components/writing-flow/use-arrow-nav.js +1 -0
- package/build-module/components/writing-flow/use-arrow-nav.js.map +1 -1
- package/build-module/components/writing-flow/use-click-selection.js +1 -0
- package/build-module/components/writing-flow/use-click-selection.js.map +1 -1
- package/build-module/components/writing-flow/use-clipboard-handler.js +1 -0
- package/build-module/components/writing-flow/use-clipboard-handler.js.map +1 -1
- package/build-module/components/writing-flow/use-drag-selection.js +1 -0
- package/build-module/components/writing-flow/use-drag-selection.js.map +1 -1
- package/build-module/components/writing-flow/use-input.js +1 -0
- package/build-module/components/writing-flow/use-input.js.map +1 -1
- package/build-module/components/writing-flow/use-multi-selection.js +1 -0
- package/build-module/components/writing-flow/use-multi-selection.js.map +1 -1
- package/build-module/components/writing-flow/use-select-all.js +1 -0
- package/build-module/components/writing-flow/use-select-all.js.map +1 -1
- package/build-module/components/writing-flow/use-selection-observer.js +1 -0
- package/build-module/components/writing-flow/use-selection-observer.js.map +1 -1
- package/build-module/components/writing-flow/use-tab-nav.js +2 -1
- package/build-module/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build-module/components/writing-flow/utils.js +2 -1
- package/build-module/components/writing-flow/utils.js.map +1 -1
- package/build-module/components/writing-mode-control/index.js +3 -2
- package/build-module/components/writing-mode-control/index.js.map +1 -1
- package/build-module/elements/index.js +3 -2
- package/build-module/elements/index.js.map +1 -1
- package/build-module/hooks/align.js +4 -3
- package/build-module/hooks/align.js.map +1 -1
- package/build-module/hooks/allowed-blocks.js +51 -2
- package/build-module/hooks/allowed-blocks.js.map +2 -2
- package/build-module/hooks/anchor.js +4 -3
- package/build-module/hooks/anchor.js.map +1 -1
- package/build-module/hooks/aria-label.js +1 -0
- package/build-module/hooks/aria-label.js.map +1 -1
- package/build-module/hooks/background.js +4 -3
- package/build-module/hooks/background.js.map +1 -1
- package/build-module/hooks/block-bindings.js +13 -8
- package/build-module/hooks/block-bindings.js.map +2 -2
- package/build-module/hooks/block-hooks.js +3 -2
- package/build-module/hooks/block-hooks.js.map +1 -1
- package/build-module/hooks/block-renaming.js +1 -0
- package/build-module/hooks/block-renaming.js.map +1 -1
- package/build-module/hooks/block-style-variation.js +3 -2
- package/build-module/hooks/block-style-variation.js.map +1 -1
- package/build-module/hooks/border.js +16 -10
- package/build-module/hooks/border.js.map +3 -3
- package/build-module/hooks/color.js +40 -17
- package/build-module/hooks/color.js.map +3 -3
- package/build-module/hooks/compat.js +1 -0
- package/build-module/hooks/compat.js.map +1 -1
- package/build-module/hooks/content-lock-ui.js +12 -10
- package/build-module/hooks/content-lock-ui.js.map +2 -2
- package/build-module/hooks/contrast-checker.js +2 -1
- package/build-module/hooks/contrast-checker.js.map +1 -1
- package/build-module/hooks/custom-class-name.js +2 -1
- package/build-module/hooks/custom-class-name.js.map +1 -1
- package/build-module/hooks/dimensions.js +15 -9
- package/build-module/hooks/dimensions.js.map +2 -2
- package/build-module/hooks/duotone.js +5 -4
- package/build-module/hooks/duotone.js.map +1 -1
- package/build-module/hooks/fit-text.js +50 -72
- package/build-module/hooks/fit-text.js.map +2 -2
- package/build-module/hooks/font-family.js +3 -2
- package/build-module/hooks/font-family.js.map +1 -1
- package/build-module/hooks/font-size.js +9 -5
- package/build-module/hooks/font-size.js.map +2 -2
- package/build-module/hooks/gap.js +1 -0
- package/build-module/hooks/gap.js.map +1 -1
- package/build-module/hooks/generated-class-name.js +1 -0
- package/build-module/hooks/generated-class-name.js.map +1 -1
- package/build-module/hooks/grid-visualizer.js +3 -2
- package/build-module/hooks/grid-visualizer.js.map +1 -1
- package/build-module/hooks/index.js +14 -13
- package/build-module/hooks/index.js.map +1 -1
- package/build-module/hooks/layout-child.js +3 -2
- package/build-module/hooks/layout-child.js.map +1 -1
- package/build-module/hooks/layout.js +9 -5
- package/build-module/hooks/layout.js.map +2 -2
- package/build-module/hooks/line-height.js +3 -2
- package/build-module/hooks/line-height.js.map +1 -1
- package/build-module/hooks/lock.js +1 -0
- package/build-module/hooks/lock.js.map +1 -1
- package/build-module/hooks/metadata.js +2 -1
- package/build-module/hooks/metadata.js.map +1 -1
- package/build-module/hooks/position.js +9 -8
- package/build-module/hooks/position.js.map +1 -1
- package/build-module/hooks/settings.js +2 -1
- package/build-module/hooks/settings.js.map +1 -1
- package/build-module/hooks/spacing-visualizer.js +7 -1
- package/build-module/hooks/spacing-visualizer.js.map +2 -2
- package/build-module/hooks/style.js +10 -9
- package/build-module/hooks/style.js.map +1 -1
- package/build-module/hooks/supports.js +44 -43
- package/build-module/hooks/supports.js.map +1 -1
- package/build-module/hooks/text-align.js +6 -5
- package/build-module/hooks/text-align.js.map +1 -1
- package/build-module/hooks/typography.js +35 -25
- package/build-module/hooks/typography.js.map +3 -3
- package/build-module/hooks/use-border-props.js +1 -0
- package/build-module/hooks/use-border-props.js.map +1 -1
- package/build-module/hooks/use-cached-truthy.js +1 -0
- package/build-module/hooks/use-cached-truthy.js.map +1 -1
- package/build-module/hooks/use-color-props.js +1 -0
- package/build-module/hooks/use-color-props.js.map +1 -1
- package/build-module/hooks/use-shadow-props.js +1 -0
- package/build-module/hooks/use-shadow-props.js.map +1 -1
- package/build-module/hooks/use-spacing-props.js +1 -0
- package/build-module/hooks/use-spacing-props.js.map +1 -1
- package/build-module/hooks/use-typography-props.js +2 -1
- package/build-module/hooks/use-typography-props.js.map +1 -1
- package/build-module/hooks/use-zoom-out.js +1 -0
- package/build-module/hooks/use-zoom-out.js.map +1 -1
- package/build-module/hooks/utils.js +5 -4
- package/build-module/hooks/utils.js.map +1 -1
- package/build-module/index.js +1 -0
- package/build-module/index.js.map +1 -1
- package/build-module/layouts/constrained.js +3 -2
- package/build-module/layouts/constrained.js.map +1 -1
- package/build-module/layouts/definitions.js +2 -1
- package/build-module/layouts/definitions.js.map +1 -1
- package/build-module/layouts/flex.js +8 -7
- package/build-module/layouts/flex.js.map +1 -1
- package/build-module/layouts/flow.js +1 -0
- package/build-module/layouts/flow.js.map +1 -1
- package/build-module/layouts/grid.js +4 -3
- package/build-module/layouts/grid.js.map +2 -2
- package/build-module/layouts/index.js +2 -1
- package/build-module/layouts/index.js.map +1 -1
- package/build-module/layouts/utils.js +1 -0
- package/build-module/layouts/utils.js.map +1 -1
- package/build-module/lock-unlock.js +2 -1
- package/build-module/lock-unlock.js.map +1 -1
- package/build-module/private-apis.js +2 -1
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/actions.js +38 -34
- package/build-module/store/actions.js.map +2 -2
- package/build-module/store/array.js +1 -0
- package/build-module/store/array.js.map +1 -1
- package/build-module/store/constants.js +2 -1
- package/build-module/store/constants.js.map +1 -1
- package/build-module/store/defaults.js +3 -2
- package/build-module/store/defaults.js.map +1 -1
- package/build-module/store/get-block-settings.js +5 -4
- package/build-module/store/get-block-settings.js.map +1 -1
- package/build-module/store/index.js +4 -3
- package/build-module/store/index.js.map +1 -1
- package/build-module/store/private-actions.js +19 -43
- package/build-module/store/private-actions.js.map +2 -2
- package/build-module/store/private-keys.js +8 -7
- package/build-module/store/private-keys.js.map +1 -1
- package/build-module/store/private-selectors.js +39 -23
- package/build-module/store/private-selectors.js.map +2 -2
- package/build-module/store/reducer.js +37 -24
- package/build-module/store/reducer.js.map +2 -2
- package/build-module/store/selectors.js +69 -67
- package/build-module/store/selectors.js.map +2 -2
- package/build-module/store/utils.js +8 -7
- package/build-module/store/utils.js.map +1 -1
- package/build-module/utils/block-bindings.js +3 -2
- package/build-module/utils/block-bindings.js.map +1 -1
- package/build-module/utils/dom.js +5 -4
- package/build-module/utils/dom.js.map +1 -1
- package/build-module/utils/fit-text-frontend.js +29 -37
- package/build-module/utils/fit-text-frontend.js.map +2 -2
- package/build-module/utils/fit-text-utils.js +9 -15
- package/build-module/utils/fit-text-utils.js.map +2 -2
- package/build-module/utils/format-font-style.js +1 -0
- package/build-module/utils/format-font-style.js.map +1 -1
- package/build-module/utils/format-font-weight.js +1 -0
- package/build-module/utils/format-font-weight.js.map +1 -1
- package/build-module/utils/get-editor-region.js +1 -0
- package/build-module/utils/get-editor-region.js.map +1 -1
- package/build-module/utils/get-font-styles-and-weights.js +3 -2
- package/build-module/utils/get-font-styles-and-weights.js.map +1 -1
- package/build-module/utils/get-px-from-css-unit.js +1 -0
- package/build-module/utils/get-px-from-css-unit.js.map +1 -1
- package/build-module/utils/index.js +1 -0
- package/build-module/utils/index.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/object.js +2 -1
- package/build-module/utils/object.js.map +1 -1
- package/build-module/utils/order-inserter-block-items.js +2 -1
- package/build-module/utils/order-inserter-block-items.js.map +1 -1
- package/build-module/utils/pasting.js +1 -0
- package/build-module/utils/pasting.js.map +1 -1
- package/build-module/utils/selection.js +2 -1
- package/build-module/utils/selection.js.map +1 -1
- package/build-module/utils/sorting.js +2 -1
- package/build-module/utils/sorting.js.map +1 -1
- package/build-module/utils/transform-styles/index.js +4 -3
- package/build-module/utils/transform-styles/index.js.map +1 -1
- package/build-module/utils/use-notify-copy.js +1 -0
- package/build-module/utils/use-notify-copy.js.map +1 -1
- package/build-style/content-rtl.css +1 -3
- package/build-style/content.css +1 -3
- package/build-style/style-rtl.css +37 -102
- package/build-style/style.css +37 -102
- package/package.json +37 -37
- package/src/components/block-card/index.js +95 -38
- package/src/components/block-card/style.scss +17 -1
- package/src/components/block-inspector/edit-contents.js +64 -0
- package/src/components/block-inspector/index.js +35 -13
- package/src/components/block-inspector/style.scss +6 -3
- package/src/components/block-list/block.js +5 -5
- package/src/components/block-list/content.scss +3 -2
- package/src/components/block-list/index.js +25 -15
- package/src/components/block-list/use-block-props/index.js +2 -3
- package/src/components/block-popover/inbetween.js +0 -2
- package/src/components/block-settings-menu/block-settings-dropdown.js +4 -1
- package/src/components/block-settings-menu-controls/index.js +2 -2
- package/src/components/block-switcher/index.js +51 -180
- package/src/components/block-switcher/style.scss +0 -70
- package/src/components/block-switcher/test/index.js +17 -18
- package/src/components/block-toolbar/block-toolbar-icon.js +173 -0
- package/src/components/block-toolbar/index.js +50 -52
- package/src/components/block-toolbar/pattern-overrides-dropdown.js +99 -0
- package/src/components/block-toolbar/style.scss +21 -21
- package/src/components/block-toolbar/test/block-toolbar-icon.js +182 -0
- package/src/components/block-tools/index.js +11 -1
- package/src/components/block-variation-transforms/index.js +41 -33
- package/src/components/block-variation-transforms/style.scss +8 -38
- package/src/components/border-radius-control/test/utils.js +90 -0
- package/src/components/border-radius-control/utils.js +7 -3
- package/src/components/content-lock/index.js +1 -1
- package/src/components/content-lock/modify-content-lock-menu-item.js +32 -23
- package/src/components/global-styles/border-panel.js +11 -7
- package/src/components/global-styles/color-panel.js +32 -26
- package/src/components/global-styles/typography-panel.js +2 -1
- package/src/components/iframe/index.js +0 -3
- package/src/components/inserter/media-tab/media-tab.js +7 -1
- package/src/components/inspector-controls-tabs/index.js +1 -0
- package/src/components/inspector-controls-tabs/styles-tab.js +58 -0
- package/src/components/inspector-controls-tabs/use-inspector-controls-tabs.js +5 -1
- package/src/components/keyboard-shortcuts/index.js +9 -0
- package/src/components/link-control/index.js +0 -2
- package/src/components/list-view/expander.js +0 -2
- package/src/components/media-replace-flow/index.js +0 -1
- package/src/components/rich-text/index.js +1 -0
- package/src/components/rich-text/index.native.js +0 -2
- package/src/hooks/allowed-blocks.js +89 -1
- package/src/hooks/block-bindings.js +6 -2
- package/src/hooks/border.js +12 -6
- package/src/hooks/color.js +40 -13
- package/src/hooks/content-lock-ui.js +31 -24
- package/src/hooks/dimensions.js +25 -17
- package/src/hooks/fit-text.js +65 -90
- package/src/hooks/font-size.js +7 -2
- package/src/hooks/layout.js +11 -7
- package/src/hooks/spacing-visualizer.js +9 -1
- package/src/hooks/test/allowed-blocks.js +278 -0
- package/src/hooks/typography.js +24 -18
- package/src/layouts/grid.js +0 -2
- package/src/store/actions.js +10 -21
- package/src/store/private-actions.js +15 -48
- package/src/store/private-selectors.js +37 -21
- package/src/store/reducer.js +35 -24
- package/src/store/selectors.js +34 -29
- package/src/store/test/reducer.js +146 -0
- package/src/store/test/selectors.js +13 -0
- package/src/utils/fit-text-frontend.js +41 -73
- package/src/utils/fit-text-utils.js +13 -30
- package/tsconfig.json +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/build/components/block-inspector/edit-contents-button.js +0 -59
- package/build/components/block-inspector/edit-contents-button.js.map +0 -7
- package/build-module/components/block-inspector/edit-contents-button.js +0 -39
- package/build-module/components/block-inspector/edit-contents-button.js.map +0 -7
- package/src/components/block-inspector/edit-contents-button.js +0 -46
|
@@ -1,49 +1,19 @@
|
|
|
1
1
|
@use "@wordpress/base-styles/variables" as *;
|
|
2
2
|
@use "@wordpress/base-styles/colors" as *;
|
|
3
3
|
|
|
4
|
-
.block-editor-block-variation-transforms:where(fieldset) {
|
|
5
|
-
// Reset `fieldset` browser defaults.
|
|
6
|
-
border: 0;
|
|
7
|
-
padding: 0;
|
|
8
|
-
margin: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
4
|
.block-editor-block-variation-transforms {
|
|
12
5
|
box-sizing: border-box;
|
|
13
6
|
padding: 0 $grid-unit-20 $grid-unit-20 52px;
|
|
14
|
-
width: 100%;
|
|
15
|
-
|
|
16
|
-
.components-dropdown-menu__toggle {
|
|
17
|
-
border: $border-width solid $gray-700;
|
|
18
|
-
border-radius: $radius-small;
|
|
19
|
-
min-height: 30px;
|
|
20
|
-
width: 100%;
|
|
21
|
-
position: relative;
|
|
22
|
-
text-align: left;
|
|
23
|
-
justify-content: left;
|
|
24
|
-
padding: 6px 12px;
|
|
25
7
|
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
&:focus:not(:disabled) {
|
|
33
|
-
border-color: var(--wp-admin-theme-color);
|
|
34
|
-
box-shadow: 0 0 0 calc(var(--wp-admin-border-width-focus) - #{ $border-width }) var(--wp-admin-theme-color);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
svg {
|
|
38
|
-
height: 100%;
|
|
39
|
-
padding: 0;
|
|
40
|
-
position: absolute;
|
|
41
|
-
right: 0;
|
|
42
|
-
top: 0;
|
|
43
|
-
}
|
|
8
|
+
&:where(fieldset) {
|
|
9
|
+
// Reset `fieldset` browser defaults.
|
|
10
|
+
border: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: 0;
|
|
44
13
|
}
|
|
45
14
|
}
|
|
46
15
|
|
|
47
|
-
.block-editor-block-variation-
|
|
48
|
-
|
|
16
|
+
.block-editor-block-variation-transforms__button {
|
|
17
|
+
width: 100%;
|
|
18
|
+
justify-content: center;
|
|
49
19
|
}
|
|
@@ -107,6 +107,96 @@ describe( 'getAllValue', () => {
|
|
|
107
107
|
expect( getAllValue( undefined ) ).toBe( undefined );
|
|
108
108
|
} );
|
|
109
109
|
} );
|
|
110
|
+
|
|
111
|
+
describe( 'when provided complex CSS values (clamp, min, max, calc)', () => {
|
|
112
|
+
it( 'should preserve clamp values when all corners have the same clamp value', () => {
|
|
113
|
+
const clampValue = 'clamp(1rem, 2vw, 3rem)';
|
|
114
|
+
const values = {
|
|
115
|
+
bottomLeft: clampValue,
|
|
116
|
+
bottomRight: clampValue,
|
|
117
|
+
topLeft: clampValue,
|
|
118
|
+
topRight: clampValue,
|
|
119
|
+
};
|
|
120
|
+
expect( getAllValue( values ) ).toBe( clampValue );
|
|
121
|
+
} );
|
|
122
|
+
|
|
123
|
+
it( 'should preserve min() values when all corners have the same min value', () => {
|
|
124
|
+
const minValue = 'min(10px, 5vw)';
|
|
125
|
+
const values = {
|
|
126
|
+
bottomLeft: minValue,
|
|
127
|
+
bottomRight: minValue,
|
|
128
|
+
topLeft: minValue,
|
|
129
|
+
topRight: minValue,
|
|
130
|
+
};
|
|
131
|
+
expect( getAllValue( values ) ).toBe( minValue );
|
|
132
|
+
} );
|
|
133
|
+
|
|
134
|
+
it( 'should preserve max() values when all corners have the same max value', () => {
|
|
135
|
+
const maxValue = 'max(20px, 10vw)';
|
|
136
|
+
const values = {
|
|
137
|
+
bottomLeft: maxValue,
|
|
138
|
+
bottomRight: maxValue,
|
|
139
|
+
topLeft: maxValue,
|
|
140
|
+
topRight: maxValue,
|
|
141
|
+
};
|
|
142
|
+
expect( getAllValue( values ) ).toBe( maxValue );
|
|
143
|
+
} );
|
|
144
|
+
|
|
145
|
+
it( 'should preserve calc() values when all corners have the same calc value', () => {
|
|
146
|
+
const calcValue = 'calc(100% - 20px)';
|
|
147
|
+
const values = {
|
|
148
|
+
bottomLeft: calcValue,
|
|
149
|
+
bottomRight: calcValue,
|
|
150
|
+
topLeft: calcValue,
|
|
151
|
+
topRight: calcValue,
|
|
152
|
+
};
|
|
153
|
+
expect( getAllValue( values ) ).toBe( calcValue );
|
|
154
|
+
} );
|
|
155
|
+
|
|
156
|
+
it( 'should return undefined when complex CSS values are mixed', () => {
|
|
157
|
+
const values = {
|
|
158
|
+
bottomLeft: 'clamp(1rem, 2vw, 3rem)',
|
|
159
|
+
bottomRight: 'clamp(1rem, 2vw, 3rem)',
|
|
160
|
+
topLeft: 'min(10px, 5vw)',
|
|
161
|
+
topRight: 'clamp(1rem, 2vw, 3rem)',
|
|
162
|
+
};
|
|
163
|
+
expect( getAllValue( values ) ).toBe( undefined );
|
|
164
|
+
} );
|
|
165
|
+
|
|
166
|
+
it( 'should return undefined when complex CSS values are mixed with simple values', () => {
|
|
167
|
+
const values = {
|
|
168
|
+
bottomLeft: 'clamp(1rem, 2vw, 3rem)',
|
|
169
|
+
bottomRight: 'clamp(1rem, 2vw, 3rem)',
|
|
170
|
+
topLeft: '2px',
|
|
171
|
+
topRight: 'clamp(1rem, 2vw, 3rem)',
|
|
172
|
+
};
|
|
173
|
+
expect( getAllValue( values ) ).toBe( undefined );
|
|
174
|
+
} );
|
|
175
|
+
|
|
176
|
+
it( 'should preserve string values that cannot be parsed at all (no numeric prefix)', () => {
|
|
177
|
+
// Values with no numeric prefix cannot be parsed, so they should be preserved
|
|
178
|
+
const unparseableValue = 'apples';
|
|
179
|
+
const values = {
|
|
180
|
+
bottomLeft: unparseableValue,
|
|
181
|
+
bottomRight: unparseableValue,
|
|
182
|
+
topLeft: unparseableValue,
|
|
183
|
+
topRight: unparseableValue,
|
|
184
|
+
};
|
|
185
|
+
expect( getAllValue( values ) ).toBe( unparseableValue );
|
|
186
|
+
} );
|
|
187
|
+
|
|
188
|
+
it( 'should parse numeric prefix from partially parseable values', () => {
|
|
189
|
+
// Values with numeric prefix get parsed, so "32apples" becomes "32"
|
|
190
|
+
const partiallyParseableValue = '32apples';
|
|
191
|
+
const values = {
|
|
192
|
+
bottomLeft: partiallyParseableValue,
|
|
193
|
+
bottomRight: partiallyParseableValue,
|
|
194
|
+
topLeft: partiallyParseableValue,
|
|
195
|
+
topRight: partiallyParseableValue,
|
|
196
|
+
};
|
|
197
|
+
expect( getAllValue( values ) ).toBe( '32' );
|
|
198
|
+
} );
|
|
199
|
+
} );
|
|
110
200
|
} );
|
|
111
201
|
|
|
112
202
|
describe( 'hasMixedValues', () => {
|
|
@@ -60,9 +60,13 @@ export function getAllValue( values = {} ) {
|
|
|
60
60
|
return values;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
const parsedQuantitiesAndUnits = Object.values( values ).map( ( value ) =>
|
|
64
|
-
parseQuantityAndUnitFromRawValue( value )
|
|
65
|
-
|
|
63
|
+
const parsedQuantitiesAndUnits = Object.values( values ).map( ( value ) => {
|
|
64
|
+
const newValue = parseQuantityAndUnitFromRawValue( value );
|
|
65
|
+
if ( typeof value === 'string' && newValue[ 0 ] === undefined ) {
|
|
66
|
+
return [ value, '' ];
|
|
67
|
+
}
|
|
68
|
+
return newValue;
|
|
69
|
+
} );
|
|
66
70
|
|
|
67
71
|
const allValues = parsedQuantitiesAndUnits.map(
|
|
68
72
|
( value ) => value[ 0 ] ?? ''
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ModifyContentOnlySectionMenuItem } from './modify-content-lock-menu-item';
|
|
@@ -12,42 +12,51 @@ import { store as blockEditorStore } from '../../store';
|
|
|
12
12
|
import { unlock } from '../../lock-unlock';
|
|
13
13
|
|
|
14
14
|
// The implementation of content locking is mainly in this file, although the mechanism
|
|
15
|
-
// to stop
|
|
16
|
-
// at block-editor/src/components/block-list/index.js.
|
|
15
|
+
// to stop editing a content only section when an outside block is selected is in the component
|
|
16
|
+
// `StopEditingContentOnlySectionOnOutsideSelect` at block-editor/src/components/block-list/index.js.
|
|
17
17
|
// Besides the components on this file and the file referenced above the implementation
|
|
18
18
|
// also includes artifacts on the store (actions, reducers, and selector).
|
|
19
19
|
|
|
20
|
-
export function
|
|
21
|
-
const { templateLock, isLockedByParent,
|
|
22
|
-
(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
20
|
+
export function ModifyContentOnlySectionMenuItem( { clientId, onClose } ) {
|
|
21
|
+
const { templateLock, isLockedByParent, isEditingContentOnlySection } =
|
|
22
|
+
useSelect(
|
|
23
|
+
( select ) => {
|
|
24
|
+
const {
|
|
25
|
+
getContentLockingParent,
|
|
26
|
+
getTemplateLock,
|
|
27
|
+
getEditedContentOnlySection,
|
|
28
|
+
} = unlock( select( blockEditorStore ) );
|
|
29
|
+
return {
|
|
30
|
+
templateLock: getTemplateLock( clientId ),
|
|
31
|
+
isLockedByParent: !! getContentLockingParent( clientId ),
|
|
32
|
+
isEditingContentOnlySection:
|
|
33
|
+
getEditedContentOnlySection() === clientId,
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
[ clientId ]
|
|
37
|
+
);
|
|
36
38
|
const blockEditorActions = useDispatch( blockEditorStore );
|
|
37
39
|
const isContentLocked =
|
|
38
40
|
! isLockedByParent && templateLock === 'contentOnly';
|
|
39
|
-
|
|
41
|
+
|
|
42
|
+
// Hide the Modify button when the content only pattern insertion experiment is active.
|
|
43
|
+
// This is replaced by an alternative UI in the experiment.
|
|
44
|
+
if (
|
|
45
|
+
window?.__experimentalContentOnlyPatternInsertion ||
|
|
46
|
+
( ! isContentLocked && ! isEditingContentOnlySection )
|
|
47
|
+
) {
|
|
40
48
|
return null;
|
|
41
49
|
}
|
|
42
50
|
|
|
43
|
-
const {
|
|
44
|
-
const
|
|
51
|
+
const { editContentOnlySection } = unlock( blockEditorActions );
|
|
52
|
+
const showContentOnlyModifyButton =
|
|
53
|
+
! isEditingContentOnlySection && isContentLocked;
|
|
45
54
|
|
|
46
55
|
return (
|
|
47
|
-
|
|
56
|
+
showContentOnlyModifyButton && (
|
|
48
57
|
<MenuItem
|
|
49
58
|
onClick={ () => {
|
|
50
|
-
|
|
59
|
+
editContentOnlySection( clientId );
|
|
51
60
|
onClose();
|
|
52
61
|
} }
|
|
53
62
|
>
|
|
@@ -147,17 +147,21 @@ export default function BorderPanel( {
|
|
|
147
147
|
// Border radius.
|
|
148
148
|
const showBorderRadius = useHasBorderRadiusControl( settings );
|
|
149
149
|
const borderRadiusValues = useMemo( () => {
|
|
150
|
-
if ( typeof border?.radius !== 'object' ) {
|
|
151
|
-
return border?.radius;
|
|
150
|
+
if ( typeof inheritedValue?.border?.radius !== 'object' ) {
|
|
151
|
+
return decodeValue( inheritedValue?.border?.radius );
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
return {
|
|
155
|
-
topLeft: border?.radius?.topLeft,
|
|
156
|
-
topRight: border?.radius?.topRight,
|
|
157
|
-
bottomLeft:
|
|
158
|
-
|
|
155
|
+
topLeft: decodeValue( inheritedValue?.border?.radius?.topLeft ),
|
|
156
|
+
topRight: decodeValue( inheritedValue?.border?.radius?.topRight ),
|
|
157
|
+
bottomLeft: decodeValue(
|
|
158
|
+
inheritedValue?.border?.radius?.bottomLeft
|
|
159
|
+
),
|
|
160
|
+
bottomRight: decodeValue(
|
|
161
|
+
inheritedValue?.border?.radius?.bottomRight
|
|
162
|
+
),
|
|
159
163
|
};
|
|
160
|
-
}, [ border?.radius ] );
|
|
164
|
+
}, [ inheritedValue?.border?.radius, decodeValue ] );
|
|
161
165
|
const setBorderRadius = ( newBorderRadius ) =>
|
|
162
166
|
setBorder( { ...border, radius: newBorderRadius } );
|
|
163
167
|
const hasBorderRadius = () => {
|
|
@@ -111,12 +111,13 @@ export function useHasBackgroundColorPanel( settings ) {
|
|
|
111
111
|
);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
function ColorToolsPanel( {
|
|
114
|
+
export function ColorToolsPanel( {
|
|
115
115
|
resetAllFilter,
|
|
116
116
|
onChange,
|
|
117
117
|
value,
|
|
118
118
|
panelId,
|
|
119
119
|
children,
|
|
120
|
+
label,
|
|
120
121
|
} ) {
|
|
121
122
|
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
|
122
123
|
const resetAll = () => {
|
|
@@ -126,7 +127,7 @@ function ColorToolsPanel( {
|
|
|
126
127
|
|
|
127
128
|
return (
|
|
128
129
|
<ToolsPanel
|
|
129
|
-
label={ __( 'Elements' ) }
|
|
130
|
+
label={ label || __( 'Elements' ) }
|
|
130
131
|
resetAll={ resetAll }
|
|
131
132
|
panelId={ panelId }
|
|
132
133
|
hasInnerWrapper
|
|
@@ -326,6 +327,7 @@ export default function ColorPanel( {
|
|
|
326
327
|
settings,
|
|
327
328
|
panelId,
|
|
328
329
|
defaultControls = DEFAULT_CONTROLS,
|
|
330
|
+
label,
|
|
329
331
|
children,
|
|
330
332
|
} ) {
|
|
331
333
|
const colors = useColorsPerOrigin( settings );
|
|
@@ -511,31 +513,34 @@ export default function ColorPanel( {
|
|
|
511
513
|
},
|
|
512
514
|
];
|
|
513
515
|
|
|
514
|
-
const resetAllFilter = useCallback(
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
':hover': {
|
|
516
|
+
const resetAllFilter = useCallback(
|
|
517
|
+
( previousValue ) => {
|
|
518
|
+
return {
|
|
519
|
+
...previousValue,
|
|
520
|
+
color: undefined,
|
|
521
|
+
elements: {
|
|
522
|
+
...previousValue?.elements,
|
|
523
|
+
link: {
|
|
524
|
+
...previousValue?.elements?.link,
|
|
524
525
|
color: undefined,
|
|
525
|
-
|
|
526
|
-
},
|
|
527
|
-
...elements.reduce( ( acc, element ) => {
|
|
528
|
-
return {
|
|
529
|
-
...acc,
|
|
530
|
-
[ element.name ]: {
|
|
531
|
-
...previousValue?.elements?.[ element.name ],
|
|
526
|
+
':hover': {
|
|
532
527
|
color: undefined,
|
|
533
528
|
},
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
529
|
+
},
|
|
530
|
+
...elements.reduce( ( acc, element ) => {
|
|
531
|
+
return {
|
|
532
|
+
...acc,
|
|
533
|
+
[ element.name ]: {
|
|
534
|
+
...previousValue?.elements?.[ element.name ],
|
|
535
|
+
color: undefined,
|
|
536
|
+
},
|
|
537
|
+
};
|
|
538
|
+
}, {} ),
|
|
539
|
+
},
|
|
540
|
+
};
|
|
541
|
+
},
|
|
542
|
+
[ elements ]
|
|
543
|
+
);
|
|
539
544
|
|
|
540
545
|
const items = [
|
|
541
546
|
showTextPanel && {
|
|
@@ -606,7 +611,7 @@ export default function ColorPanel( {
|
|
|
606
611
|
},
|
|
607
612
|
].filter( Boolean );
|
|
608
613
|
|
|
609
|
-
elements.forEach( ( { name, label, showPanel } ) => {
|
|
614
|
+
elements.forEach( ( { name, label: elementLabel, showPanel } ) => {
|
|
610
615
|
if ( ! showPanel ) {
|
|
611
616
|
return;
|
|
612
617
|
}
|
|
@@ -680,7 +685,7 @@ export default function ColorPanel( {
|
|
|
680
685
|
|
|
681
686
|
items.push( {
|
|
682
687
|
key: name,
|
|
683
|
-
label,
|
|
688
|
+
label: elementLabel,
|
|
684
689
|
hasValue: hasElement,
|
|
685
690
|
resetValue: resetElement,
|
|
686
691
|
isShownByDefault: defaultControls[ name ],
|
|
@@ -731,6 +736,7 @@ export default function ColorPanel( {
|
|
|
731
736
|
value={ value }
|
|
732
737
|
onChange={ onChange }
|
|
733
738
|
panelId={ panelId }
|
|
739
|
+
label={ label }
|
|
734
740
|
>
|
|
735
741
|
{ items.map( ( item ) => {
|
|
736
742
|
const { key, ...restItem } = item;
|
|
@@ -179,6 +179,7 @@ export default function TypographyPanel( {
|
|
|
179
179
|
settings,
|
|
180
180
|
panelId,
|
|
181
181
|
defaultControls = DEFAULT_CONTROLS,
|
|
182
|
+
fitText = false,
|
|
182
183
|
} ) {
|
|
183
184
|
const decodeValue = ( rawValue ) =>
|
|
184
185
|
getValueFromVariable( { settings }, '', rawValue );
|
|
@@ -448,7 +449,7 @@ export default function TypographyPanel( {
|
|
|
448
449
|
/>
|
|
449
450
|
</ToolsPanelItem>
|
|
450
451
|
) }
|
|
451
|
-
{ hasFontSizeEnabled && (
|
|
452
|
+
{ hasFontSizeEnabled && ! fitText && (
|
|
452
453
|
<ToolsPanelItem
|
|
453
454
|
label={ __( 'Size' ) }
|
|
454
455
|
hasValue={ hasFontSize }
|
|
@@ -342,9 +342,6 @@ function Iframe( {
|
|
|
342
342
|
>
|
|
343
343
|
{ iframeDocument &&
|
|
344
344
|
createPortal(
|
|
345
|
-
// We want to prevent React events from bubbling through the iframe
|
|
346
|
-
// we bubble these manually.
|
|
347
|
-
/* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */
|
|
348
345
|
<body
|
|
349
346
|
ref={ bodyRef }
|
|
350
347
|
className={ clsx(
|
|
@@ -77,7 +77,13 @@ function MediaTab( {
|
|
|
77
77
|
if ( ! media?.url ) {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
// When the experimental DataViews media modal is enabled,
|
|
81
|
+
// we need to extract the media type from mime_type (e.g., 'image/jpeg' -> 'image')
|
|
82
|
+
const mediaType =
|
|
83
|
+
window.__experimentalDataViewsMediaModal && media.mime_type
|
|
84
|
+
? media.mime_type.split( '/' )[ 0 ]
|
|
85
|
+
: media.type;
|
|
86
|
+
const [ block ] = getBlockAndPreviewFromMedia( media, mediaType );
|
|
81
87
|
onInsert( block );
|
|
82
88
|
},
|
|
83
89
|
[ onInsert ]
|
|
@@ -105,6 +105,7 @@ export default function InspectorControlsTabs( {
|
|
|
105
105
|
clientId={ clientId }
|
|
106
106
|
hasBlockStyles={ hasBlockStyles }
|
|
107
107
|
isSectionBlock={ isSectionBlock }
|
|
108
|
+
contentClientIds={ contentClientIds }
|
|
108
109
|
/>
|
|
109
110
|
</Tabs.TabPanel>
|
|
110
111
|
<Tabs.TabPanel tabId={ TAB_CONTENT.name } focusable={ false }>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { PanelBody } from '@wordpress/components';
|
|
5
5
|
import { __ } from '@wordpress/i18n';
|
|
6
|
+
import { useDispatch, useSelect } from '@wordpress/data';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Internal dependencies
|
|
@@ -10,12 +11,61 @@ import { __ } from '@wordpress/i18n';
|
|
|
10
11
|
import BlockStyles from '../block-styles';
|
|
11
12
|
import InspectorControls from '../inspector-controls';
|
|
12
13
|
import { useBorderPanelLabel } from '../../hooks/border';
|
|
14
|
+
import { useBlockSettings } from '../../hooks/utils';
|
|
15
|
+
import { store as blockEditorStore } from '../../store';
|
|
16
|
+
import { ColorEdit } from '../../hooks/color';
|
|
17
|
+
import { ColorToolsPanel } from '../global-styles/color-panel';
|
|
18
|
+
|
|
19
|
+
function SectionBlockColorControls( {
|
|
20
|
+
blockName,
|
|
21
|
+
clientId,
|
|
22
|
+
contentClientIds,
|
|
23
|
+
} ) {
|
|
24
|
+
const settings = useBlockSettings( blockName );
|
|
25
|
+
const { updateBlockAttributes } = useDispatch( blockEditorStore );
|
|
26
|
+
|
|
27
|
+
const { hasButton, hasHeading } = useSelect(
|
|
28
|
+
( select ) => {
|
|
29
|
+
const blockNames =
|
|
30
|
+
select( blockEditorStore ).getBlockNamesByClientId(
|
|
31
|
+
contentClientIds
|
|
32
|
+
);
|
|
33
|
+
return {
|
|
34
|
+
hasButton: blockNames.includes( 'core/button' ),
|
|
35
|
+
hasHeading: blockNames.includes( 'core/heading' ),
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
[ contentClientIds ]
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
const setAttributes = ( newAttributes ) => {
|
|
42
|
+
updateBlockAttributes( clientId, newAttributes );
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
return (
|
|
46
|
+
<ColorEdit
|
|
47
|
+
clientId={ clientId }
|
|
48
|
+
name={ blockName }
|
|
49
|
+
settings={ settings }
|
|
50
|
+
setAttributes={ setAttributes }
|
|
51
|
+
asWrapper={ ColorToolsPanel }
|
|
52
|
+
label={ __( 'Color' ) }
|
|
53
|
+
defaultControls={ {
|
|
54
|
+
text: true,
|
|
55
|
+
background: true,
|
|
56
|
+
button: hasButton,
|
|
57
|
+
heading: hasHeading,
|
|
58
|
+
} }
|
|
59
|
+
/>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
13
62
|
|
|
14
63
|
const StylesTab = ( {
|
|
15
64
|
blockName,
|
|
16
65
|
clientId,
|
|
17
66
|
hasBlockStyles,
|
|
18
67
|
isSectionBlock,
|
|
68
|
+
contentClientIds,
|
|
19
69
|
} ) => {
|
|
20
70
|
const borderPanelLabel = useBorderPanelLabel( { blockName } );
|
|
21
71
|
|
|
@@ -28,6 +78,14 @@ const StylesTab = ( {
|
|
|
28
78
|
</PanelBody>
|
|
29
79
|
</div>
|
|
30
80
|
) }
|
|
81
|
+
{ isSectionBlock &&
|
|
82
|
+
window?.__experimentalContentOnlyPatternInsertion && (
|
|
83
|
+
<SectionBlockColorControls
|
|
84
|
+
blockName={ blockName }
|
|
85
|
+
clientId={ clientId }
|
|
86
|
+
contentClientIds={ contentClientIds }
|
|
87
|
+
/>
|
|
88
|
+
) }
|
|
31
89
|
{ ! isSectionBlock && (
|
|
32
90
|
<>
|
|
33
91
|
<InspectorControls.Slot
|
|
@@ -99,7 +99,11 @@ export default function useInspectorControlsTabs(
|
|
|
99
99
|
tabs.push( TAB_SETTINGS );
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if (
|
|
102
|
+
if (
|
|
103
|
+
hasBlockStyles ||
|
|
104
|
+
hasStyleFills ||
|
|
105
|
+
window?.__experimentalContentOnlyPatternInsertion
|
|
106
|
+
) {
|
|
103
107
|
tabs.push( TAB_STYLES );
|
|
104
108
|
}
|
|
105
109
|
|
|
@@ -114,6 +114,15 @@ function KeyboardShortcutsRegister() {
|
|
|
114
114
|
],
|
|
115
115
|
} );
|
|
116
116
|
|
|
117
|
+
registerShortcut( {
|
|
118
|
+
name: 'core/block-editor/stop-editing-as-blocks',
|
|
119
|
+
category: 'block',
|
|
120
|
+
description: __( 'Finish editing a design.' ),
|
|
121
|
+
keyCombination: {
|
|
122
|
+
character: 'escape',
|
|
123
|
+
},
|
|
124
|
+
} );
|
|
125
|
+
|
|
117
126
|
registerShortcut( {
|
|
118
127
|
name: 'core/block-editor/select-all',
|
|
119
128
|
category: 'selection',
|
|
@@ -49,13 +49,11 @@ import deprecated from '@wordpress/deprecated';
|
|
|
49
49
|
* providing a custom `settings` prop.
|
|
50
50
|
*/
|
|
51
51
|
|
|
52
|
-
/* eslint-disable jsdoc/valid-types */
|
|
53
52
|
/**
|
|
54
53
|
* Custom settings values associated with a link.
|
|
55
54
|
*
|
|
56
55
|
* @typedef {{[setting:string]:any}} WPLinkControlSettingsValue
|
|
57
56
|
*/
|
|
58
|
-
/* eslint-enable */
|
|
59
57
|
|
|
60
58
|
/**
|
|
61
59
|
* Custom settings values associated with a link.
|
|
@@ -13,8 +13,6 @@ export default function ListViewExpander( { onClick } ) {
|
|
|
13
13
|
//
|
|
14
14
|
// We've mimicked this by adding an icon with aria-hidden set to true to hide this from the accessibility tree.
|
|
15
15
|
// For the current tree grid implementation, please do not try to make this a button.
|
|
16
|
-
//
|
|
17
|
-
// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
|
|
18
16
|
<span
|
|
19
17
|
className="block-editor-list-view__expander"
|
|
20
18
|
onClick={ ( event ) => onClick( event, { forceToggle: true } ) }
|
|
@@ -257,7 +257,6 @@ const MediaReplaceFlow = ( {
|
|
|
257
257
|
: children }
|
|
258
258
|
</NavigableMenu>
|
|
259
259
|
{ onSelectURL && (
|
|
260
|
-
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
261
260
|
<form className="block-editor-media-flow__url-input">
|
|
262
261
|
<span className="block-editor-media-replace-flow__image-url-label">
|
|
263
262
|
{ __( 'Current media URL:' ) }
|
|
@@ -414,8 +414,6 @@ export function RichTextWrapper(
|
|
|
414
414
|
preserveWhiteSpace,
|
|
415
415
|
} );
|
|
416
416
|
|
|
417
|
-
// Allows us to ask for this information when we get a report.
|
|
418
|
-
// eslint-disable-next-line no-console
|
|
419
417
|
window.console.log( 'Received items:\n\n', files );
|
|
420
418
|
|
|
421
419
|
if ( onReplace && isEmpty( value ) ) {
|