@wordpress/block-editor 15.9.1-next.8fd3f8831.0 → 15.10.1-next.79a2f3cdd.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/LICENSE.md +1 -1
- package/build/autocompleters/block.cjs +2 -2
- package/build/autocompleters/link.cjs +1 -1
- package/build/components/alignment-control/index.cjs +1 -1
- package/build/components/autocomplete/index.cjs +2 -2
- package/build/components/background-image-control/index.cjs +2 -2
- package/build/components/block-actions/index.cjs +1 -1
- package/build/components/block-alignment-control/index.cjs +1 -1
- package/build/components/block-alignment-control/ui.cjs +2 -2
- package/build/components/block-allowed-blocks/allowed-blocks-control.cjs +1 -1
- package/build/components/block-allowed-blocks/index.cjs +2 -2
- package/build/components/block-allowed-blocks/modal.cjs +1 -1
- package/build/components/block-bindings/attribute-control.cjs +4 -4
- package/build/components/block-bindings/index.cjs +3 -3
- package/build/components/block-bindings/source-fields-list.cjs +3 -3
- package/build/components/block-breadcrumb/index.cjs +2 -2
- package/build/components/block-canvas/index.cjs +5 -5
- package/build/components/block-card/index.cjs +3 -3
- package/build/components/block-compare/index.cjs +2 -2
- package/build/components/block-controls/fill.cjs +1 -1
- package/build/components/block-controls/hook.cjs +1 -1
- package/build/components/block-controls/index.cjs +2 -2
- package/build/components/block-controls/slot.cjs +2 -2
- package/build/components/block-draggable/draggable-chip.cjs +1 -1
- package/build/components/block-draggable/index.cjs +2 -2
- package/build/components/block-edit/edit.cjs +3 -3
- package/build/components/block-edit/index.cjs +1 -1
- package/build/components/block-edit/multiple-usage-warning.cjs +1 -1
- package/build/components/block-heading-level-dropdown/index.cjs +1 -1
- package/build/components/block-icon/index.cjs +1 -1
- package/build/components/block-inspector/edit-contents.cjs +1 -1
- package/build/components/block-inspector/index.cjs +19 -25
- package/build/components/block-inspector/index.cjs.map +3 -3
- package/build/components/block-list/block-crash-warning.cjs +1 -1
- package/build/components/block-list/block-html.cjs +1 -1
- package/build/components/block-list/block-invalid-warning.cjs +2 -2
- package/build/components/block-list/block.cjs +25 -19
- package/build/components/block-list/block.cjs.map +3 -3
- package/build/components/block-list/index.cjs +3 -3
- package/build/components/block-list/use-block-props/index.cjs +3 -3
- package/build/components/block-list/zoom-out-separator.cjs +1 -1
- package/build/components/block-list-appender/index.cjs +3 -3
- package/build/components/block-lock/index.cjs +4 -4
- package/build/components/block-lock/menu-item.cjs +2 -2
- package/build/components/block-lock/modal.cjs +2 -2
- package/build/components/block-lock/toolbar.cjs +2 -2
- package/build/components/block-manager/category.cjs +1 -1
- package/build/components/block-manager/checklist.cjs +1 -1
- package/build/components/block-manager/index.cjs +1 -1
- package/build/components/block-mover/button.cjs +1 -1
- package/build/components/block-mover/index.cjs +2 -2
- package/build/components/block-navigation/dropdown.cjs +2 -2
- package/build/components/block-parent-selector/index.cjs +2 -2
- package/build/components/block-pattern-setup/index.cjs +3 -3
- package/build/components/block-patterns-list/index.cjs +4 -4
- package/build/components/block-popover/drop-zone.cjs +1 -1
- package/build/components/block-popover/inbetween.cjs +2 -2
- package/build/components/block-popover/index.cjs +2 -2
- package/build/components/block-preview/auto.cjs +3 -3
- package/build/components/block-preview/index.cjs +4 -4
- package/build/components/block-quick-navigation/index.cjs +3 -3
- package/build/components/block-rename/index.cjs +3 -3
- package/build/components/block-rename/modal.cjs +1 -1
- package/build/components/block-rename/rename-control.cjs +1 -1
- package/build/components/block-settings-menu/block-parent-selector-menu-item.cjs +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.cjs +6 -6
- package/build/components/block-settings-menu/index.cjs +2 -2
- package/build/components/block-settings-menu-controls/edit-section-menu-item.cjs +1 -1
- package/build/components/block-settings-menu-controls/index.cjs +1 -1
- package/build/components/block-styles/index.cjs +88 -57
- package/build/components/block-styles/index.cjs.map +3 -3
- package/build/components/block-styles/menu-items.cjs +1 -1
- package/build/components/block-styles/preview-panel.cjs +1 -1
- package/build/components/block-styles/utils.cjs +1 -1
- package/build/components/block-switcher/block-styles-menu.cjs +1 -1
- package/build/components/block-switcher/block-transformations-menu.cjs +3 -3
- package/build/components/block-switcher/block-variation-transformations.cjs +2 -2
- package/build/components/block-switcher/index.cjs +3 -3
- package/build/components/block-switcher/pattern-transformations-menu.cjs +2 -2
- package/build/components/block-switcher/preview-block-popover.cjs +1 -1
- package/build/components/block-title/index.cjs +1 -1
- package/build/components/block-toolbar/block-toolbar-icon.cjs +4 -4
- package/build/components/block-toolbar/change-design.cjs +1 -1
- package/build/components/block-toolbar/index.cjs +11 -11
- package/build/components/block-toolbar/switch-section-style.cjs +1 -1
- package/build/components/block-tools/block-toolbar-popover.cjs +3 -3
- package/build/components/block-tools/empty-block-inserter.cjs +5 -5
- package/build/components/block-tools/index.cjs +7 -7
- package/build/components/block-tools/insertion-point.cjs +4 -4
- package/build/components/block-tools/zoom-out-mode-inserter-button.cjs +1 -1
- package/build/components/block-tools/zoom-out-mode-inserters.cjs +2 -2
- package/build/components/block-types-list/index.cjs +1 -1
- package/build/components/block-variation-picker/index.cjs +1 -1
- package/build/components/block-variation-transforms/index.cjs +2 -2
- package/build/components/block-variation-transforms/index.cjs.map +1 -1
- package/build/components/block-vertical-alignment-control/index.cjs +1 -1
- package/build/components/block-visibility/block-visibility-info.cjs +122 -0
- package/build/components/block-visibility/block-visibility-info.cjs.map +7 -0
- package/build/components/block-visibility/index.cjs +2 -2
- package/build/components/border-radius-control/index.cjs +2 -2
- package/build/components/button-block-appender/index.cjs +3 -3
- package/build/components/color-palette/control.cjs +1 -1
- package/build/components/color-palette/index.cjs +1 -1
- package/build/components/color-style-selector/index.cjs +1 -1
- package/build/components/colors/index.cjs +1 -1
- package/build/components/colors/utils.cjs +2 -2
- package/build/components/colors-gradients/control.cjs +1 -1
- package/build/components/colors-gradients/dropdown.cjs +2 -2
- package/build/components/colors-gradients/panel-color-gradient-settings.cjs +3 -3
- package/build/components/contrast-checker/index.cjs +2 -2
- package/build/components/convert-to-group-buttons/index.cjs +2 -2
- package/build/components/copy-handler/index.cjs +2 -2
- package/build/components/default-block-appender/index.cjs +2 -2
- package/build/components/dimension-control/index.cjs +1 -1
- package/build/components/dimensions-tool/index.cjs +3 -3
- package/build/components/editable-text/index.cjs +1 -1
- package/build/components/editor-styles/index.cjs +3 -3
- package/build/components/font-appearance-control/index.cjs +1 -1
- package/build/components/font-family/index.cjs +2 -2
- package/build/components/font-sizes/index.cjs +2 -2
- package/build/components/global-styles/advanced-panel.cjs +1 -1
- package/build/components/global-styles/background-panel.cjs +1 -1
- package/build/components/global-styles/border-panel.cjs +1 -1
- package/build/components/global-styles/color-panel.cjs +2 -2
- package/build/components/global-styles/dimensions-panel.cjs +5 -5
- package/build/components/global-styles/filters-panel.cjs +1 -1
- package/build/components/global-styles/hooks.cjs +0 -7
- package/build/components/global-styles/hooks.cjs.map +2 -2
- package/build/components/global-styles/index.cjs +8 -8
- package/build/components/global-styles/shadow-panel-components.cjs +1 -1
- package/build/components/global-styles/typography-panel.cjs +11 -53
- package/build/components/global-styles/typography-panel.cjs.map +3 -3
- package/build/components/grid/grid-item-movers.cjs +2 -2
- package/build/components/grid/grid-item-resizer.cjs +1 -1
- package/build/components/grid/grid-visualizer.cjs +3 -3
- package/build/components/height-control/index.cjs +1 -1
- package/build/components/iframe/index.cjs +1 -1
- package/build/components/image-editor/context.cjs +2 -2
- package/build/components/image-editor/cropper.cjs +1 -1
- package/build/components/image-editor/index.cjs +7 -7
- package/build/components/image-size-control/index.cjs +1 -1
- package/build/components/index.cjs +91 -94
- package/build/components/index.cjs.map +2 -2
- package/build/components/inner-blocks/button-block-appender.cjs +2 -2
- package/build/components/inner-blocks/default-block-appender.cjs +1 -1
- package/build/components/inner-blocks/index.cjs +8 -8
- package/build/components/inner-blocks/use-inner-block-template-sync.cjs +1 -1
- package/build/components/inner-blocks/use-nested-settings-update.cjs +1 -1
- package/build/components/inserter/block-patterns-explorer/index.cjs +2 -2
- package/build/components/inserter/block-patterns-explorer/pattern-list.cjs +6 -6
- package/build/components/inserter/block-patterns-tab/index.cjs +4 -4
- package/build/components/inserter/block-patterns-tab/pattern-category-previews.cjs +3 -3
- package/build/components/inserter/block-patterns-tab/use-pattern-categories.cjs +1 -1
- package/build/components/inserter/block-types-tab.cjs +5 -5
- package/build/components/inserter/index.cjs +3 -3
- package/build/components/inserter/media-tab/index.cjs +1 -1
- package/build/components/inserter/media-tab/media-panel.cjs +2 -2
- package/build/components/inserter/media-tab/media-preview.cjs +2 -2
- package/build/components/inserter/media-tab/media-tab.cjs +5 -5
- package/build/components/inserter/menu.cjs +8 -8
- package/build/components/inserter/preview-panel.cjs +2 -2
- package/build/components/inserter/quick-inserter.cjs +4 -4
- package/build/components/inserter/search-items.cjs +1 -1
- package/build/components/inserter/search-results.cjs +9 -9
- package/build/components/inserter-draggable-blocks/index.cjs +1 -1
- package/build/components/inserter-list-item/index.cjs +3 -3
- package/build/components/inserter-listbox/index.cjs +3 -3
- package/build/components/inspector-controls/fill.cjs +28 -6
- package/build/components/inspector-controls/fill.cjs.map +2 -2
- package/build/components/inspector-controls/groups.cjs +2 -0
- package/build/components/inspector-controls/groups.cjs.map +2 -2
- package/build/components/inspector-controls/index.cjs +2 -2
- package/build/components/inspector-controls/slot.cjs +5 -5
- package/build/components/inspector-controls-tabs/advanced-controls-panel.cjs +1 -1
- package/build/components/inspector-controls-tabs/content-tab.cjs +4 -8
- package/build/components/inspector-controls-tabs/content-tab.cjs.map +3 -3
- package/build/components/inspector-controls-tabs/index.cjs +8 -11
- package/build/components/inspector-controls-tabs/index.cjs.map +3 -3
- package/build/components/inspector-controls-tabs/position-controls-panel.cjs +2 -2
- package/build/components/inspector-controls-tabs/settings-tab.cjs +3 -3
- package/build/components/inspector-controls-tabs/styles-tab.cjs +3 -4
- package/build/components/inspector-controls-tabs/styles-tab.cjs.map +2 -2
- package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.cjs +9 -4
- package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.cjs.map +2 -2
- package/build/components/justify-content-control/index.cjs +1 -1
- package/build/components/keyboard-shortcuts/index.cjs +1 -0
- package/build/components/keyboard-shortcuts/index.cjs.map +2 -2
- package/build/components/letter-spacing-control/index.cjs +1 -1
- package/build/components/line-height-control/index.cjs +1 -1
- package/build/components/link-control/index.cjs +8 -8
- package/build/components/link-control/link-preview.cjs +2 -2
- package/build/components/link-control/search-input.cjs +3 -3
- package/build/components/link-control/search-item.cjs +1 -1
- package/build/components/link-control/search-results.cjs +4 -4
- package/build/components/link-control/use-internal-value.cjs +1 -1
- package/build/components/link-control/use-search-handler.cjs +1 -1
- package/build/components/link-picker/link-picker.cjs +1 -1
- package/build/components/list-view/appender.cjs +3 -3
- package/build/components/list-view/block-contents.cjs +2 -2
- package/build/components/list-view/block-select-button.cjs +6 -6
- package/build/components/list-view/block.cjs +7 -7
- package/build/components/list-view/branch.cjs +2 -2
- package/build/components/list-view/drop-indicator.cjs +5 -5
- package/build/components/list-view/index.cjs +11 -11
- package/build/components/list-view/leaf.cjs +2 -2
- package/build/components/list-view/use-list-view-drop-zone.cjs +1 -1
- package/build/components/media-placeholder/index.cjs +5 -5
- package/build/components/media-replace-flow/index.cjs +14 -5
- package/build/components/media-replace-flow/index.cjs.map +3 -3
- package/build/components/multi-selection-inspector/index.cjs +1 -1
- package/build/components/navigable-toolbar/index.cjs +1 -1
- package/build/components/panel-color-settings/index.cjs +1 -1
- package/build/components/plain-text/index.cjs +3 -3
- package/build/components/preset-input-control/index.cjs +1 -1
- package/build/components/preview-options/index.cjs +1 -1
- package/build/components/provider/index.cjs +4 -4
- package/build/components/publish-date-time-picker/index.cjs +1 -1
- package/build/components/recursion-provider/index.cjs +1 -1
- package/build/components/resizable-box-popover/index.cjs +1 -1
- package/build/components/responsive-block-control/index.cjs +2 -2
- package/build/components/rich-text/content.cjs +2 -2
- package/build/components/rich-text/event-listeners/index.cjs +11 -11
- package/build/components/rich-text/format-edit.cjs +1 -1
- package/build/components/rich-text/format-toolbar/index.cjs +1 -1
- package/build/components/rich-text/format-toolbar-container.cjs +3 -3
- package/build/components/rich-text/get-rich-text-values.cjs +1 -1
- package/build/components/rich-text/index.cjs +6 -6
- package/build/components/rich-text/multiline.cjs +1 -1
- package/build/components/rich-text/with-deprecations.cjs +2 -2
- package/build/components/selection-scroll-into-view/index.cjs +1 -1
- package/build/components/spacing-sizes-control/index.cjs +5 -5
- package/build/components/spacing-sizes-control/input-controls/axial.cjs +1 -1
- package/build/components/spacing-sizes-control/input-controls/separated.cjs +1 -1
- package/build/components/spacing-sizes-control/input-controls/single.cjs +1 -1
- package/build/components/spacing-sizes-control/input-controls/spacing-input-control.cjs +1 -1
- package/build/components/text-alignment-control/index.cjs +1 -1
- package/build/components/text-decoration-control/index.cjs +1 -1
- package/build/components/text-transform-control/index.cjs +1 -1
- package/build/components/tool-selector/index.cjs +1 -1
- package/build/components/url-input/button.cjs +1 -1
- package/build/components/url-input/index.cjs +1 -1
- package/build/components/url-popover/image-url-input-ui.cjs +1 -1
- package/build/components/url-popover/index.cjs +3 -3
- package/build/components/url-popover/link-editor.cjs +2 -2
- package/build/components/url-popover/link-viewer-url.cjs +1 -1
- package/build/components/url-popover/link-viewer.cjs +2 -2
- package/build/components/use-block-commands/index.cjs +1 -1
- package/build/components/use-block-drop-zone/index.cjs +1 -1
- package/build/components/use-resize-canvas/index.cjs +2 -2
- package/build/components/use-resize-canvas/index.cjs.map +2 -2
- package/build/components/use-settings/index.cjs +1 -1
- package/build/components/warning/index.cjs +1 -1
- package/build/components/writing-flow/index.cjs +10 -10
- package/build/components/writing-mode-control/index.cjs +1 -1
- package/build/hooks/align.cjs +2 -2
- package/build/hooks/allowed-blocks.cjs +1 -1
- package/build/hooks/auto-inspector-controls.cjs +92 -0
- package/build/hooks/auto-inspector-controls.cjs.map +7 -0
- package/build/hooks/background.cjs +2 -2
- package/build/hooks/block-bindings.cjs +2 -2
- package/build/hooks/block-fields/fields-dropdown-menu.cjs +67 -0
- package/build/hooks/block-fields/fields-dropdown-menu.cjs.map +7 -0
- package/build/hooks/block-fields/index.cjs +308 -0
- package/build/hooks/block-fields/index.cjs.map +7 -0
- package/build/hooks/block-fields/link/index.cjs +193 -0
- package/build/hooks/block-fields/link/index.cjs.map +7 -0
- package/build/hooks/block-fields/media/index.cjs +254 -0
- package/build/hooks/block-fields/media/index.cjs.map +7 -0
- package/build/hooks/block-fields/rich-text/index.cjs +189 -0
- package/build/hooks/block-fields/rich-text/index.cjs.map +7 -0
- package/build/hooks/block-fields/use-inspector-popover-placement.cjs +41 -0
- package/build/hooks/block-fields/use-inspector-popover-placement.cjs.map +7 -0
- package/build/hooks/border.cjs +3 -3
- package/build/hooks/color.cjs +4 -4
- package/build/hooks/contrast-checker.cjs +1 -1
- package/build/hooks/custom-class-name.cjs +1 -1
- package/build/hooks/dimensions.cjs +3 -3
- package/build/hooks/duotone.cjs +2 -2
- package/build/hooks/fit-text.cjs +22 -26
- package/build/hooks/fit-text.cjs.map +2 -2
- package/build/hooks/font-family.cjs +1 -1
- package/build/hooks/font-size.cjs +1 -1
- package/build/hooks/generate-fields-from-attributes.cjs +68 -0
- package/build/hooks/generate-fields-from-attributes.cjs.map +7 -0
- package/build/hooks/index.cjs +27 -24
- package/build/hooks/index.cjs.map +3 -3
- package/build/hooks/layout.cjs +1 -1
- package/build/hooks/line-height.cjs +1 -1
- package/build/hooks/list-view.cjs +3 -5
- package/build/hooks/list-view.cjs.map +2 -2
- package/build/hooks/position.cjs +3 -3
- package/build/hooks/spacing-visualizer.cjs +1 -1
- package/build/hooks/text-align.cjs +1 -1
- package/build/hooks/typography.cjs +2 -4
- package/build/hooks/typography.cjs.map +2 -2
- package/build/hooks/use-border-props.cjs +1 -1
- package/build/hooks/use-color-props.cjs +1 -1
- package/build/hooks/use-typography-props.cjs +1 -1
- package/build/hooks/utils.cjs +1 -5
- package/build/hooks/utils.cjs.map +2 -2
- package/build/layouts/index.cjs +4 -4
- package/build/private-apis.cjs +16 -15
- package/build/private-apis.cjs.map +2 -2
- package/build/store/actions.cjs +1 -1
- package/build/store/index.cjs +5 -5
- package/build/store/private-actions.cjs +1 -1
- package/build/store/private-keys.cjs +3 -0
- package/build/store/private-keys.cjs.map +2 -2
- package/build/store/private-selectors.cjs +14 -1
- package/build/store/private-selectors.cjs.map +2 -2
- package/build/store/reducer.cjs +2 -2
- package/build/store/selectors.cjs +1 -1
- package/build/utils/index.cjs +2 -2
- package/build/utils/transform-styles/index.cjs +5 -5
- package/build-module/autocompleters/block.mjs +123 -0
- package/build-module/autocompleters/link.mjs +50 -0
- package/build-module/components/alignment-control/index.mjs +14 -0
- package/build-module/components/alignment-control/ui.mjs +77 -0
- package/build-module/components/autocomplete/index.mjs +50 -0
- package/build-module/components/background-image-control/index.mjs +632 -0
- package/build-module/components/block-actions/index.mjs +112 -0
- package/build-module/components/block-alignment-control/constants.mjs +42 -0
- package/build-module/components/block-alignment-control/index.mjs +14 -0
- package/build-module/components/block-alignment-control/ui.mjs +86 -0
- package/build-module/components/block-alignment-control/use-available-alignments.mjs +66 -0
- package/build-module/components/block-alignment-matrix-control/index.mjs +53 -0
- package/build-module/components/block-allowed-blocks/allowed-blocks-control.mjs +69 -0
- package/build-module/components/block-allowed-blocks/index.mjs +8 -0
- package/build-module/components/block-allowed-blocks/modal.mjs +102 -0
- package/build-module/components/block-bindings/attribute-control.mjs +150 -0
- package/build-module/components/block-bindings/index.mjs +10 -0
- package/build-module/components/block-bindings/source-fields-list.mjs +104 -0
- package/build-module/components/block-bindings/use-block-bindings-utils.mjs +45 -0
- package/build-module/components/block-breadcrumb/index.mjs +110 -0
- package/build-module/components/block-canvas/index.mjs +107 -0
- package/build-module/components/block-card/index.mjs +140 -0
- package/build-module/components/block-compare/block-view.mjs +35 -0
- package/build-module/components/block-compare/index.mjs +63 -0
- package/build-module/components/block-content-overlay/index.mjs +16 -0
- package/build-module/components/block-context/index.mjs +19 -0
- package/build-module/components/block-controls/fill.mjs +36 -0
- package/build-module/components/block-controls/groups.mjs +19 -0
- package/build-module/components/block-controls/hook.mjs +21 -0
- package/build-module/components/block-controls/index.mjs +18 -0
- package/build-module/components/block-controls/slot.mjs +45 -0
- package/build-module/components/block-draggable/draggable-chip.mjs +41 -0
- package/build-module/components/block-draggable/index.mjs +190 -0
- package/build-module/components/block-draggable/use-scroll-when-dragging.mjs +80 -0
- package/build-module/components/block-edit/context.mjs +28 -0
- package/build-module/components/block-edit/edit.mjs +240 -0
- package/build-module/components/block-edit/index.mjs +87 -0
- package/build-module/components/block-edit/multiple-usage-warning.mjs +54 -0
- package/build-module/components/block-edit-visually-button/index.mjs +30 -0
- package/build-module/components/block-editing-mode/index.mjs +35 -0
- package/build-module/components/block-full-height-alignment-control/index.mjs +27 -0
- package/build-module/components/block-heading-level-dropdown/heading-level-icon.mjs +31 -0
- package/build-module/components/block-heading-level-dropdown/index.mjs +46 -0
- package/build-module/components/block-icon/index.mjs +33 -0
- package/build-module/components/block-inspector/edit-contents.mjs +116 -0
- package/build-module/components/block-inspector/index.mjs +325 -0
- package/build-module/components/block-inspector/index.mjs.map +7 -0
- package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.mjs +30 -0
- package/build-module/components/block-list/block-crash-boundary.mjs +26 -0
- package/build-module/components/block-list/block-crash-warning.mjs +10 -0
- package/build-module/components/block-list/block-html.mjs +63 -0
- package/build-module/components/block-list/block-invalid-warning.mjs +129 -0
- package/build-module/components/block-list/block.mjs +619 -0
- package/build-module/components/block-list/block.mjs.map +7 -0
- package/build-module/components/block-list/index.mjs +251 -0
- package/build-module/components/block-list/layout.mjs +38 -0
- package/build-module/components/block-list/private-block-context.mjs +8 -0
- package/build-module/components/block-list/subdirectory-icon.mjs +26 -0
- package/build-module/components/block-list/use-block-props/index.mjs +134 -0
- package/build-module/components/block-list/use-block-props/use-block-refs.mjs +46 -0
- package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.mjs +62 -0
- package/build-module/components/block-list/use-block-props/use-focus-first-element.mjs +53 -0
- package/build-module/components/block-list/use-block-props/use-focus-handler.mjs +37 -0
- package/build-module/components/block-list/use-block-props/use-intersection-observer.mjs +22 -0
- package/build-module/components/block-list/use-block-props/use-is-hovered.mjs +33 -0
- package/build-module/components/block-list/use-block-props/use-scroll-into-view.mjs +35 -0
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.mjs +219 -0
- package/build-module/components/block-list/use-in-between-inserter.mjs +122 -0
- package/build-module/components/block-list/zoom-out-separator.mjs +117 -0
- package/build-module/components/block-list-appender/index.mjs +61 -0
- package/build-module/components/block-lock/index.mjs +12 -0
- package/build-module/components/block-lock/menu-item.mjs +36 -0
- package/build-module/components/block-lock/modal.mjs +225 -0
- package/build-module/components/block-lock/toolbar.mjs +46 -0
- package/build-module/components/block-lock/use-block-lock.mjs +30 -0
- package/build-module/components/block-manager/category.mjs +95 -0
- package/build-module/components/block-manager/checklist.mjs +29 -0
- package/build-module/components/block-manager/index.mjs +113 -0
- package/build-module/components/block-mover/button.mjs +145 -0
- package/build-module/components/block-mover/index.mjs +101 -0
- package/build-module/components/block-mover/mover-description.mjs +267 -0
- package/build-module/components/block-navigation/dropdown.mjs +70 -0
- package/build-module/components/block-parent-selector/index.mjs +61 -0
- package/build-module/components/block-pattern-setup/constants.mjs +9 -0
- package/build-module/components/block-pattern-setup/index.mjs +179 -0
- package/build-module/components/block-pattern-setup/setup-toolbar.mjs +100 -0
- package/build-module/components/block-pattern-setup/use-patterns-setup.mjs +27 -0
- package/build-module/components/block-patterns-list/index.mjs +213 -0
- package/build-module/components/block-patterns-paging/index.mjs +116 -0
- package/build-module/components/block-popover/cover.mjs +64 -0
- package/build-module/components/block-popover/drop-zone.mjs +53 -0
- package/build-module/components/block-popover/inbetween.mjs +169 -0
- package/build-module/components/block-popover/index.mjs +116 -0
- package/build-module/components/block-popover/use-popover-scroll.mjs +35 -0
- package/build-module/components/block-preview/async.mjs +26 -0
- package/build-module/components/block-preview/auto.mjs +113 -0
- package/build-module/components/block-preview/index.mjs +131 -0
- package/build-module/components/block-quick-navigation/index.mjs +71 -0
- package/build-module/components/block-removal-warning-modal/index.mjs +75 -0
- package/build-module/components/block-rename/index.mjs +10 -0
- package/build-module/components/block-rename/is-empty-string.mjs +8 -0
- package/build-module/components/block-rename/modal.mjs +125 -0
- package/build-module/components/block-rename/rename-control.mjs +33 -0
- package/build-module/components/block-rename/use-block-rename.mjs +11 -0
- package/build-module/components/block-selection-clearer/index.mjs +39 -0
- package/build-module/components/block-settings-menu/block-html-convert-button.mjs +32 -0
- package/build-module/components/block-settings-menu/block-mode-toggle.mjs +42 -0
- package/build-module/components/block-settings-menu/block-parent-selector-menu-item.mjs +43 -0
- package/build-module/components/block-settings-menu/block-settings-dropdown.mjs +310 -0
- package/build-module/components/block-settings-menu/block-settings-menu-first-item.mjs +11 -0
- package/build-module/components/block-settings-menu/index.mjs +24 -0
- package/build-module/components/block-settings-menu-controls/edit-section-menu-item.mjs +59 -0
- package/build-module/components/block-settings-menu-controls/index.mjs +131 -0
- package/build-module/components/block-styles/index.mjs +142 -0
- package/build-module/components/block-styles/index.mjs.map +7 -0
- package/build-module/components/block-styles/menu-items.mjs +41 -0
- package/build-module/components/block-styles/preview-panel.mjs +30 -0
- package/build-module/components/block-styles/use-styles-for-block.mjs +72 -0
- package/build-module/components/block-styles/utils.mjs +49 -0
- package/build-module/components/block-switcher/block-styles-menu.mjs +20 -0
- package/build-module/components/block-switcher/block-transformations-menu.mjs +144 -0
- package/build-module/components/block-switcher/block-variation-transformations.mjs +102 -0
- package/build-module/components/block-switcher/index.mjs +194 -0
- package/build-module/components/block-switcher/pattern-transformations-menu.mjs +122 -0
- package/build-module/components/block-switcher/preview-block-popover.mjs +29 -0
- package/build-module/components/block-switcher/use-transformed-patterns.mjs +66 -0
- package/build-module/components/block-switcher/utils.mjs +38 -0
- package/build-module/components/block-title/index.mjs +9 -0
- package/build-module/components/block-title/use-block-display-title.mjs +47 -0
- package/build-module/components/block-toolbar/block-toolbar-icon.mjs +144 -0
- package/build-module/components/block-toolbar/block-toolbar-last-item.mjs +11 -0
- package/build-module/components/block-toolbar/change-design.mjs +107 -0
- package/build-module/components/block-toolbar/index.mjs +237 -0
- package/build-module/components/block-toolbar/pattern-overrides-dropdown.mjs +76 -0
- package/build-module/components/block-toolbar/switch-section-style.mjs +102 -0
- package/build-module/components/block-toolbar/use-has-block-toolbar.mjs +17 -0
- package/build-module/components/block-toolbar/utils.mjs +127 -0
- package/build-module/components/block-tools/block-toolbar-popover.mjs +64 -0
- package/build-module/components/block-tools/empty-block-inserter.mjs +50 -0
- package/build-module/components/block-tools/index.mjs +269 -0
- package/build-module/components/block-tools/insertion-point.mjs +243 -0
- package/build-module/components/block-tools/use-block-toolbar-popover-props.mjs +121 -0
- package/build-module/components/block-tools/use-selected-block-tool-props.mjs +44 -0
- package/build-module/components/block-tools/use-show-block-tools.mjs +32 -0
- package/build-module/components/block-tools/zoom-out-mode-inserter-button.mjs +30 -0
- package/build-module/components/block-tools/zoom-out-mode-inserters.mjs +89 -0
- package/build-module/components/block-types-list/index.mjs +48 -0
- package/build-module/components/block-variation-picker/index.mjs +66 -0
- package/build-module/components/block-variation-transforms/index.mjs +181 -0
- package/build-module/components/block-variation-transforms/index.mjs.map +7 -0
- package/build-module/components/block-vertical-alignment-control/index.mjs +14 -0
- package/build-module/components/block-vertical-alignment-control/ui.mjs +74 -0
- package/build-module/components/block-visibility/block-visibility-info.mjs +106 -0
- package/build-module/components/block-visibility/block-visibility-info.mjs.map +7 -0
- package/build-module/components/block-visibility/index.mjs +8 -0
- package/build-module/components/block-visibility/menu-item.mjs +88 -0
- package/build-module/components/block-visibility/toolbar.mjs +71 -0
- package/build-module/components/border-radius-control/constants.mjs +47 -0
- package/build-module/components/border-radius-control/index.mjs +184 -0
- package/build-module/components/border-radius-control/linked-button.mjs +23 -0
- package/build-module/components/border-radius-control/utils.mjs +147 -0
- package/build-module/components/button-block-appender/index.mjs +78 -0
- package/build-module/components/child-layout-control/index.mjs +364 -0
- package/build-module/components/collab/block-comment-icon-slot.mjs +8 -0
- package/build-module/components/collab/block-comment-icon-toolbar-slot.mjs +10 -0
- package/build-module/components/color-palette/control.mjs +23 -0
- package/build-module/components/color-palette/index.mjs +8 -0
- package/build-module/components/color-palette/with-color-context.mjs +43 -0
- package/build-module/components/color-style-selector/index.mjs +63 -0
- package/build-module/components/colors/index.mjs +15 -0
- package/build-module/components/colors/utils.mjs +43 -0
- package/build-module/components/colors/with-colors.mjs +154 -0
- package/build-module/components/colors-gradients/control.mjs +149 -0
- package/build-module/components/colors-gradients/dropdown.mjs +185 -0
- package/build-module/components/colors-gradients/panel-color-gradient-settings.mjs +112 -0
- package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.mjs +117 -0
- package/build-module/components/content-lock/index.mjs +6 -0
- package/build-module/components/content-lock/modify-content-lock-menu-item.mjs +45 -0
- package/build-module/components/contrast-checker/index.mjs +107 -0
- package/build-module/components/convert-to-group-buttons/index.mjs +81 -0
- package/build-module/components/convert-to-group-buttons/toolbar.mjs +100 -0
- package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.mjs +34 -0
- package/build-module/components/copy-handler/index.mjs +25 -0
- package/build-module/components/date-format-picker/index.mjs +140 -0
- package/build-module/components/default-block-appender/index.mjs +86 -0
- package/build-module/components/dimension-control/index.mjs +119 -0
- package/build-module/components/dimensions-tool/aspect-ratio-tool.mjs +74 -0
- package/build-module/components/dimensions-tool/index.mjs +128 -0
- package/build-module/components/dimensions-tool/scale-tool.mjs +88 -0
- package/build-module/components/dimensions-tool/width-height-tool.mjs +81 -0
- package/build-module/components/duotone/utils.mjs +59 -0
- package/build-module/components/duotone-control/index.mjs +87 -0
- package/build-module/components/editable-text/index.mjs +15 -0
- package/build-module/components/editor-styles/index.mjs +98 -0
- package/build-module/components/fit-text-size-warning/index.mjs +27 -0
- package/build-module/components/floating-toolbar/nav-up-icon.mjs +31 -0
- package/build-module/components/font-appearance-control/index.mjs +131 -0
- package/build-module/components/font-family/index.mjs +63 -0
- package/build-module/components/font-sizes/fluid-utils.mjs +145 -0
- package/build-module/components/font-sizes/font-size-picker.mjs +23 -0
- package/build-module/components/font-sizes/index.mjs +18 -0
- package/build-module/components/font-sizes/utils.mjs +38 -0
- package/build-module/components/font-sizes/with-font-sizes.mjs +133 -0
- package/build-module/components/global-styles/advanced-panel.mjs +64 -0
- package/build-module/components/global-styles/background-panel.mjs +106 -0
- package/build-module/components/global-styles/border-panel.mjs +287 -0
- package/build-module/components/global-styles/color-panel.mjs +657 -0
- package/build-module/components/global-styles/dimensions-panel.mjs +669 -0
- package/build-module/components/global-styles/filters-panel.mjs +211 -0
- package/build-module/components/global-styles/hooks.mjs +220 -0
- package/build-module/components/global-styles/hooks.mjs.map +7 -0
- package/build-module/components/global-styles/image-settings-panel.mjs +64 -0
- package/build-module/components/global-styles/index.mjs +46 -0
- package/build-module/components/global-styles/shadow-panel-components.mjs +200 -0
- package/build-module/components/global-styles/typography-panel.mjs +580 -0
- package/build-module/components/global-styles/typography-panel.mjs.map +7 -0
- package/build-module/components/global-styles/typography-utils.mjs +81 -0
- package/build-module/components/global-styles/utils.mjs +31 -0
- package/build-module/components/gradients/index.mjs +3 -0
- package/build-module/components/gradients/use-gradient.mjs +98 -0
- package/build-module/components/gradients/with-gradient.mjs +11 -0
- package/build-module/components/grid/grid-item-movers.mjs +176 -0
- package/build-module/components/grid/grid-item-resizer.mjs +163 -0
- package/build-module/components/grid/grid-visualizer.mjs +362 -0
- package/build-module/components/grid/index.mjs +12 -0
- package/build-module/components/grid/use-get-number-of-blocks-before-cell.mjs +23 -0
- package/build-module/components/grid/use-grid-layout-sync.mjs +200 -0
- package/build-module/components/grid/utils.mjs +149 -0
- package/build-module/components/height-control/index.mjs +148 -0
- package/build-module/components/html-element-control/index.mjs +76 -0
- package/build-module/components/html-element-control/messages.mjs +38 -0
- package/build-module/components/iframe/get-compatibility-styles.mjs +78 -0
- package/build-module/components/iframe/index.mjs +290 -0
- package/build-module/components/iframe/use-scale-canvas.mjs +267 -0
- package/build-module/components/image-editor/aspect-ratio-dropdown.mjs +126 -0
- package/build-module/components/image-editor/constants.mjs +12 -0
- package/build-module/components/image-editor/context.mjs +43 -0
- package/build-module/components/image-editor/cropper.mjs +51 -0
- package/build-module/components/image-editor/form-controls.mjs +16 -0
- package/build-module/components/image-editor/index.mjs +64 -0
- package/build-module/components/image-editor/rotation-button.mjs +22 -0
- package/build-module/components/image-editor/use-save-image.mjs +141 -0
- package/build-module/components/image-editor/use-transform-image.mjs +137 -0
- package/build-module/components/image-editor/zoom-dropdown.mjs +47 -0
- package/build-module/components/image-size-control/index.mjs +123 -0
- package/build-module/components/image-size-control/use-dimension-handler.mjs +52 -0
- package/build-module/components/index.mjs +305 -0
- package/build-module/components/index.mjs.map +7 -0
- package/build-module/components/inner-blocks/button-block-appender.mjs +29 -0
- package/build-module/components/inner-blocks/default-block-appender.mjs +12 -0
- package/build-module/components/inner-blocks/index.mjs +214 -0
- package/build-module/components/inner-blocks/use-block-context.mjs +34 -0
- package/build-module/components/inner-blocks/use-inner-block-template-sync.mjs +64 -0
- package/build-module/components/inner-blocks/use-nested-settings-update.mjs +102 -0
- package/build-module/components/inserter/block-patterns-explorer/index.mjs +53 -0
- package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.mjs +70 -0
- package/build-module/components/inserter/block-patterns-explorer/pattern-list.mjs +154 -0
- package/build-module/components/inserter/block-patterns-tab/index.mjs +72 -0
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.mjs +181 -0
- package/build-module/components/inserter/block-patterns-tab/patterns-filter.mjs +160 -0
- package/build-module/components/inserter/block-patterns-tab/use-pattern-categories.mjs +82 -0
- package/build-module/components/inserter/block-patterns-tab/utils.mjs +52 -0
- package/build-module/components/inserter/block-types-tab.mjs +190 -0
- package/build-module/components/inserter/category-tabs/index.mjs +94 -0
- package/build-module/components/inserter/hooks/use-block-types-state.mjs +86 -0
- package/build-module/components/inserter/hooks/use-insertion-point.mjs +180 -0
- package/build-module/components/inserter/hooks/use-patterns-paging.mjs +49 -0
- package/build-module/components/inserter/hooks/use-patterns-state.mjs +104 -0
- package/build-module/components/inserter/index.mjs +319 -0
- package/build-module/components/inserter/library.mjs +70 -0
- package/build-module/components/inserter/media-tab/hooks.mjs +103 -0
- package/build-module/components/inserter/media-tab/index.mjs +10 -0
- package/build-module/components/inserter/media-tab/media-list.mjs +34 -0
- package/build-module/components/inserter/media-tab/media-panel.mjs +45 -0
- package/build-module/components/inserter/media-tab/media-preview.mjs +265 -0
- package/build-module/components/inserter/media-tab/media-tab.mjs +95 -0
- package/build-module/components/inserter/media-tab/utils.mjs +38 -0
- package/build-module/components/inserter/menu.mjs +344 -0
- package/build-module/components/inserter/mobile-tab-navigation.mjs +77 -0
- package/build-module/components/inserter/no-results.mjs +11 -0
- package/build-module/components/inserter/panel.mjs +17 -0
- package/build-module/components/inserter/preview-panel.mjs +71 -0
- package/build-module/components/inserter/quick-inserter.mjs +117 -0
- package/build-module/components/inserter/search-items.mjs +126 -0
- package/build-module/components/inserter/search-results.mjs +197 -0
- package/build-module/components/inserter/tips.mjs +38 -0
- package/build-module/components/inserter-button/sparkles.mjs +15 -0
- package/build-module/components/inserter-draggable-blocks/index.mjs +80 -0
- package/build-module/components/inserter-list-item/index.mjs +128 -0
- package/build-module/components/inserter-listbox/context.mjs +9 -0
- package/build-module/components/inserter-listbox/group.mjs +40 -0
- package/build-module/components/inserter-listbox/index.mjs +29 -0
- package/build-module/components/inserter-listbox/item.mjs +33 -0
- package/build-module/components/inserter-listbox/row.mjs +12 -0
- package/build-module/components/inserter-menu-extension/index.mjs +11 -0
- package/build-module/components/inspector-controls/block-support-slot-container.mjs +26 -0
- package/build-module/components/inspector-controls/block-support-tools-panel.mjs +68 -0
- package/build-module/components/inspector-controls/fill.mjs +93 -0
- package/build-module/components/inspector-controls/fill.mjs.map +7 -0
- package/build-module/components/inspector-controls/groups.mjs +49 -0
- package/build-module/components/inspector-controls/groups.mjs.map +7 -0
- package/build-module/components/inspector-controls/index.mjs +19 -0
- package/build-module/components/inspector-controls/slot.mjs +52 -0
- package/build-module/components/inspector-controls-tabs/advanced-controls-panel.mjs +40 -0
- package/build-module/components/inspector-controls-tabs/content-tab.mjs +17 -0
- package/build-module/components/inspector-controls-tabs/content-tab.mjs.map +7 -0
- package/build-module/components/inspector-controls-tabs/index.mjs +87 -0
- package/build-module/components/inspector-controls-tabs/index.mjs.map +7 -0
- package/build-module/components/inspector-controls-tabs/position-controls-panel.mjs +88 -0
- package/build-module/components/inspector-controls-tabs/settings-tab.mjs +16 -0
- package/build-module/components/inspector-controls-tabs/styles-tab.mjs +116 -0
- package/build-module/components/inspector-controls-tabs/styles-tab.mjs.map +7 -0
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.mjs +79 -0
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.mjs.map +7 -0
- package/build-module/components/inspector-controls-tabs/utils.mjs +34 -0
- package/build-module/components/inspector-popover-header/index.mjs +61 -0
- package/build-module/components/justify-content-control/index.mjs +14 -0
- package/build-module/components/justify-content-control/ui.mjs +91 -0
- package/build-module/components/keyboard-shortcuts/index.mjs +204 -0
- package/build-module/components/keyboard-shortcuts/index.mjs.map +7 -0
- package/build-module/components/letter-spacing-control/index.mjs +49 -0
- package/build-module/components/line-height-control/index.mjs +91 -0
- package/build-module/components/line-height-control/utils.mjs +16 -0
- package/build-module/components/link-control/constants.mjs +29 -0
- package/build-module/components/link-control/index.mjs +417 -0
- package/build-module/components/link-control/is-url-like.mjs +25 -0
- package/build-module/components/link-control/link-preview.mjs +163 -0
- package/build-module/components/link-control/search-create-button.mjs +46 -0
- package/build-module/components/link-control/search-input.mjs +130 -0
- package/build-module/components/link-control/search-item.mjs +152 -0
- package/build-module/components/link-control/search-results.mjs +101 -0
- package/build-module/components/link-control/settings-drawer.mjs +56 -0
- package/build-module/components/link-control/settings.mjs +57 -0
- package/build-module/components/link-control/use-create-page.mjs +63 -0
- package/build-module/components/link-control/use-internal-value.mjs +49 -0
- package/build-module/components/link-control/use-rich-url-data.mjs +71 -0
- package/build-module/components/link-control/use-search-handler.mjs +102 -0
- package/build-module/components/link-control/viewer-slot.mjs +12 -0
- package/build-module/components/link-picker/index.mjs +6 -0
- package/build-module/components/link-picker/link-picker.mjs +114 -0
- package/build-module/components/link-picker/link-preview.mjs +71 -0
- package/build-module/components/list-view/appender.mjs +90 -0
- package/build-module/components/list-view/aria-referenced-text.mjs +16 -0
- package/build-module/components/list-view/block-contents.mjs +66 -0
- package/build-module/components/list-view/block-select-button.mjs +155 -0
- package/build-module/components/list-view/block.mjs +546 -0
- package/build-module/components/list-view/branch.mjs +196 -0
- package/build-module/components/list-view/context.mjs +10 -0
- package/build-module/components/list-view/drop-indicator.mjs +230 -0
- package/build-module/components/list-view/expander.mjs +29 -0
- package/build-module/components/list-view/index.mjs +324 -0
- package/build-module/components/list-view/leaf.mjs +47 -0
- package/build-module/components/list-view/use-block-selection.mjs +115 -0
- package/build-module/components/list-view/use-clipboard-handler.mjs +134 -0
- package/build-module/components/list-view/use-list-view-block-indexes.mjs +24 -0
- package/build-module/components/list-view/use-list-view-client-ids.mjs +25 -0
- package/build-module/components/list-view/use-list-view-collapse-items.mjs +27 -0
- package/build-module/components/list-view/use-list-view-drop-zone.mjs +306 -0
- package/build-module/components/list-view/use-list-view-expand-selected-item.mjs +45 -0
- package/build-module/components/list-view/use-list-view-images.mjs +78 -0
- package/build-module/components/list-view/use-list-view-scroll-into-view.mjs +30 -0
- package/build-module/components/list-view/utils.mjs +111 -0
- package/build-module/components/media-placeholder/index.mjs +489 -0
- package/build-module/components/media-placeholder/utils.mjs +35 -0
- package/build-module/components/media-replace-flow/index.mjs +263 -0
- package/build-module/components/media-replace-flow/index.mjs.map +7 -0
- package/build-module/components/media-upload/check.mjs +16 -0
- package/build-module/components/media-upload/index.mjs +8 -0
- package/build-module/components/media-upload-progress/constants.mjs +16 -0
- package/build-module/components/multi-selection-inspector/index.mjs +34 -0
- package/build-module/components/navigable-toolbar/index.mjs +190 -0
- package/build-module/components/observe-typing/index.mjs +151 -0
- package/build-module/components/panel-color-settings/index.mjs +30 -0
- package/build-module/components/plain-text/index.mjs +26 -0
- package/build-module/components/preset-input-control/constants.mjs +39 -0
- package/build-module/components/preset-input-control/custom-value-controls.mjs +92 -0
- package/build-module/components/preset-input-control/index.mjs +244 -0
- package/build-module/components/preset-input-control/utils.mjs +57 -0
- package/build-module/components/preview-options/index.mjs +12 -0
- package/build-module/components/provider/block-refs-provider.mjs +15 -0
- package/build-module/components/provider/index.mjs +102 -0
- package/build-module/components/provider/use-block-sync.mjs +157 -0
- package/build-module/components/provider/use-media-upload-settings.mjs +18 -0
- package/build-module/components/provider/with-registry-provider.mjs +40 -0
- package/build-module/components/publish-date-time-picker/index.mjs +60 -0
- package/build-module/components/recursion-provider/index.mjs +52 -0
- package/build-module/components/resizable-box-popover/index.mjs +23 -0
- package/build-module/components/resolution-tool/index.mjs +62 -0
- package/build-module/components/responsive-block-control/index.mjs +104 -0
- package/build-module/components/responsive-block-control/label.mjs +29 -0
- package/build-module/components/rich-text/content.mjs +41 -0
- package/build-module/components/rich-text/event-listeners/before-input-rules.mjs +58 -0
- package/build-module/components/rich-text/event-listeners/delete.mjs +34 -0
- package/build-module/components/rich-text/event-listeners/enter.mjs +67 -0
- package/build-module/components/rich-text/event-listeners/firefox-compat.mjs +24 -0
- package/build-module/components/rich-text/event-listeners/index.mjs +53 -0
- package/build-module/components/rich-text/event-listeners/input-events.mjs +17 -0
- package/build-module/components/rich-text/event-listeners/input-rules.mjs +110 -0
- package/build-module/components/rich-text/event-listeners/insert-replacement-text.mjs +19 -0
- package/build-module/components/rich-text/event-listeners/paste-handler.mjs +94 -0
- package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.mjs +17 -0
- package/build-module/components/rich-text/event-listeners/shortcuts.mjs +17 -0
- package/build-module/components/rich-text/event-listeners/undo-automatic-change.mjs +33 -0
- package/build-module/components/rich-text/format-edit.mjs +61 -0
- package/build-module/components/rich-text/format-toolbar/index.mjs +57 -0
- package/build-module/components/rich-text/format-toolbar-container.mjs +38 -0
- package/build-module/components/rich-text/get-rich-text-values.mjs +83 -0
- package/build-module/components/rich-text/index.mjs +479 -0
- package/build-module/components/rich-text/input-event.mjs +25 -0
- package/build-module/components/rich-text/multiline.mjs +126 -0
- package/build-module/components/rich-text/native/format-edit.mjs +39 -0
- package/build-module/components/rich-text/native/index.mjs +7 -0
- package/build-module/components/rich-text/native/use-format-types.mjs +114 -0
- package/build-module/components/rich-text/prevent-event-discovery.mjs +19 -0
- package/build-module/components/rich-text/shortcut.mjs +26 -0
- package/build-module/components/rich-text/toolbar-button.mjs +24 -0
- package/build-module/components/rich-text/use-format-types.mjs +157 -0
- package/build-module/components/rich-text/use-mark-persistent.mjs +29 -0
- package/build-module/components/rich-text/utils.mjs +41 -0
- package/build-module/components/rich-text/with-deprecations.mjs +41 -0
- package/build-module/components/selection-scroll-into-view/index.mjs +13 -0
- package/build-module/components/skip-to-selected-block/index.mjs +33 -0
- package/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.mjs +46 -0
- package/build-module/components/spacing-sizes-control/index.mjs +106 -0
- package/build-module/components/spacing-sizes-control/input-controls/axial.mjs +69 -0
- package/build-module/components/spacing-sizes-control/input-controls/separated.mjs +57 -0
- package/build-module/components/spacing-sizes-control/input-controls/single.mjs +49 -0
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.mjs +105 -0
- package/build-module/components/spacing-sizes-control/linked-button.mjs +22 -0
- package/build-module/components/spacing-sizes-control/utils.mjs +166 -0
- package/build-module/components/tabbed-sidebar/index.mjs +67 -0
- package/build-module/components/text-alignment-control/index.mjs +85 -0
- package/build-module/components/text-decoration-control/index.mjs +63 -0
- package/build-module/components/text-transform-control/index.mjs +69 -0
- package/build-module/components/tool-selector/index.mjs +15 -0
- package/build-module/components/typewriter/index.mjs +166 -0
- package/build-module/components/unit-control/index.mjs +19 -0
- package/build-module/components/url-input/button.mjs +73 -0
- package/build-module/components/url-input/index.mjs +437 -0
- package/build-module/components/url-popover/image-url-input-ui.mjs +348 -0
- package/build-module/components/url-popover/index.mjs +91 -0
- package/build-module/components/url-popover/link-editor.mjs +48 -0
- package/build-module/components/url-popover/link-viewer-url.mjs +19 -0
- package/build-module/components/url-popover/link-viewer.mjs +49 -0
- package/build-module/components/use-block-commands/index.mjs +281 -0
- package/build-module/components/use-block-display-information/index.mjs +90 -0
- package/build-module/components/use-block-drop-zone/index.mjs +369 -0
- package/build-module/components/use-flash-editable-blocks/index.mjs +51 -0
- package/build-module/components/use-moving-animation/index.mjs +107 -0
- package/build-module/components/use-on-block-drop/index.mjs +269 -0
- package/build-module/components/use-on-block-drop/types.mjs +1 -0
- package/build-module/components/use-paste-styles/index.mjs +163 -0
- package/build-module/components/use-resize-canvas/index.mjs +59 -0
- package/build-module/components/use-resize-canvas/index.mjs.map +7 -0
- package/build-module/components/use-settings/index.mjs +30 -0
- package/build-module/components/warning/index.mjs +49 -0
- package/build-module/components/writing-flow/index.mjs +84 -0
- package/build-module/components/writing-flow/use-arrow-nav.mjs +200 -0
- package/build-module/components/writing-flow/use-click-selection.mjs +42 -0
- package/build-module/components/writing-flow/use-clipboard-handler.mjs +195 -0
- package/build-module/components/writing-flow/use-drag-selection.mjs +99 -0
- package/build-module/components/writing-flow/use-input.mjs +151 -0
- package/build-module/components/writing-flow/use-multi-selection.mjs +66 -0
- package/build-module/components/writing-flow/use-select-all.mjs +45 -0
- package/build-module/components/writing-flow/use-selection-observer.mjs +167 -0
- package/build-module/components/writing-flow/use-tab-nav.mjs +151 -0
- package/build-module/components/writing-flow/utils.mjs +73 -0
- package/build-module/components/writing-mode-control/index.mjs +51 -0
- package/build-module/elements/index.mjs +12 -0
- package/build-module/hooks/align.mjs +130 -0
- package/build-module/hooks/allowed-blocks.mjs +94 -0
- package/build-module/hooks/anchor.mjs +87 -0
- package/build-module/hooks/aria-label.mjs +41 -0
- package/build-module/hooks/auto-inspector-controls.mjs +61 -0
- package/build-module/hooks/auto-inspector-controls.mjs.map +7 -0
- package/build-module/hooks/background.mjs +148 -0
- package/build-module/hooks/block-bindings.mjs +101 -0
- package/build-module/hooks/block-fields/fields-dropdown-menu.mjs +46 -0
- package/build-module/hooks/block-fields/fields-dropdown-menu.mjs.map +7 -0
- package/build-module/hooks/block-fields/index.mjs +287 -0
- package/build-module/hooks/block-fields/index.mjs.map +7 -0
- package/build-module/hooks/block-fields/link/index.mjs +160 -0
- package/build-module/hooks/block-fields/link/index.mjs.map +7 -0
- package/build-module/hooks/block-fields/media/index.mjs +232 -0
- package/build-module/hooks/block-fields/media/index.mjs.map +7 -0
- package/build-module/hooks/block-fields/rich-text/index.mjs +164 -0
- package/build-module/hooks/block-fields/rich-text/index.mjs.map +7 -0
- package/build-module/hooks/block-fields/use-inspector-popover-placement.mjs +16 -0
- package/build-module/hooks/block-fields/use-inspector-popover-placement.mjs.map +7 -0
- package/build-module/hooks/block-hooks.mjs +180 -0
- package/build-module/hooks/block-renaming.mjs +32 -0
- package/build-module/hooks/block-style-variation.mjs +261 -0
- package/build-module/hooks/border.mjs +295 -0
- package/build-module/hooks/color.mjs +334 -0
- package/build-module/hooks/compat.mjs +16 -0
- package/build-module/hooks/content-lock-ui.mjs +47 -0
- package/build-module/hooks/contrast-checker.mjs +67 -0
- package/build-module/hooks/custom-class-name.mjs +99 -0
- package/build-module/hooks/dimensions.mjs +171 -0
- package/build-module/hooks/duotone.mjs +273 -0
- package/build-module/hooks/fit-text.mjs +295 -0
- package/build-module/hooks/fit-text.mjs.map +7 -0
- package/build-module/hooks/font-family.mjs +68 -0
- package/build-module/hooks/font-size.mjs +178 -0
- package/build-module/hooks/gap.mjs +26 -0
- package/build-module/hooks/generate-fields-from-attributes.mjs +43 -0
- package/build-module/hooks/generate-fields-from-attributes.mjs.map +7 -0
- package/build-module/hooks/generated-class-name.mjs +27 -0
- package/build-module/hooks/grid-visualizer.mjs +55 -0
- package/build-module/hooks/index.mjs +119 -0
- package/build-module/hooks/index.mjs.map +7 -0
- package/build-module/hooks/layout-child.mjs +231 -0
- package/build-module/hooks/layout.mjs +342 -0
- package/build-module/hooks/line-height.mjs +42 -0
- package/build-module/hooks/list-view.mjs +50 -0
- package/build-module/hooks/list-view.mjs.map +7 -0
- package/build-module/hooks/lock.mjs +19 -0
- package/build-module/hooks/metadata.mjs +69 -0
- package/build-module/hooks/position.mjs +223 -0
- package/build-module/hooks/settings.mjs +24 -0
- package/build-module/hooks/spacing-visualizer.mjs +113 -0
- package/build-module/hooks/style.mjs +271 -0
- package/build-module/hooks/supports.mjs +121 -0
- package/build-module/hooks/text-align.mjs +135 -0
- package/build-module/hooks/typography.mjs +158 -0
- package/build-module/hooks/typography.mjs.map +7 -0
- package/build-module/hooks/use-border-props.mjs +30 -0
- package/build-module/hooks/use-cached-truthy.mjs +15 -0
- package/build-module/hooks/use-color-props.mjs +97 -0
- package/build-module/hooks/use-content-only-section-edit.mjs +46 -0
- package/build-module/hooks/use-shadow-props.mjs +12 -0
- package/build-module/hooks/use-spacing-props.mjs +14 -0
- package/build-module/hooks/use-typography-props.mjs +34 -0
- package/build-module/hooks/use-zoom-out.mjs +44 -0
- package/build-module/hooks/utils.mjs +604 -0
- package/build-module/hooks/utils.mjs.map +7 -0
- package/build-module/index.mjs +39 -0
- package/build-module/layouts/constrained.mjs +291 -0
- package/build-module/layouts/definitions.mjs +176 -0
- package/build-module/layouts/flex.mjs +346 -0
- package/build-module/layouts/flow.mjs +81 -0
- package/build-module/layouts/grid.mjs +364 -0
- package/build-module/layouts/index.mjs +17 -0
- package/build-module/layouts/utils.mjs +42 -0
- package/build-module/lock-unlock.mjs +11 -0
- package/build-module/private-apis.mjs +121 -0
- package/build-module/private-apis.mjs.map +7 -0
- package/build-module/store/actions.mjs +1188 -0
- package/build-module/store/array.mjs +22 -0
- package/build-module/store/constants.mjs +6 -0
- package/build-module/store/defaults.mjs +218 -0
- package/build-module/store/get-block-settings.mjs +135 -0
- package/build-module/store/index.mjs +31 -0
- package/build-module/store/private-actions.mjs +246 -0
- package/build-module/store/private-keys.mjs +24 -0
- package/build-module/store/private-keys.mjs.map +7 -0
- package/build-module/store/private-selectors.mjs +453 -0
- package/build-module/store/private-selectors.mjs.map +7 -0
- package/build-module/store/reducer.mjs +1900 -0
- package/build-module/store/selectors.mjs +1694 -0
- package/build-module/store/utils.mjs +130 -0
- package/build-module/utils/block-bindings.mjs +22 -0
- package/build-module/utils/dom.mjs +108 -0
- package/build-module/utils/fit-text-frontend.mjs +32 -0
- package/build-module/utils/fit-text-utils.mjs +41 -0
- package/build-module/utils/format-font-style.mjs +30 -0
- package/build-module/utils/format-font-weight.mjs +53 -0
- package/build-module/utils/get-editor-region.mjs +17 -0
- package/build-module/utils/get-font-styles-and-weights.mjs +150 -0
- package/build-module/utils/get-px-from-css-unit.mjs +6 -0
- package/build-module/utils/index.mjs +8 -0
- package/build-module/utils/math.mjs +46 -0
- package/build-module/utils/object.mjs +34 -0
- package/build-module/utils/order-inserter-block-items.mjs +22 -0
- package/build-module/utils/pasting.mjs +59 -0
- package/build-module/utils/selection.mjs +27 -0
- package/build-module/utils/sorting.mjs +33 -0
- package/build-module/utils/transform-styles/index.mjs +109 -0
- package/build-module/utils/use-notify-copy.mjs +64 -0
- package/build-style/content-rtl.css +2 -0
- package/build-style/content.css +2 -0
- package/build-style/style-rtl.css +148 -146
- package/build-style/style.css +148 -146
- package/package.json +48 -45
- package/src/components/block-allowed-blocks/style.scss +3 -3
- package/src/components/block-inspector/index.js +6 -14
- package/src/components/block-list/block.js +16 -10
- package/src/components/block-list/content.scss +2 -0
- package/src/components/block-patterns-list/stories/index.story.jsx +2 -2
- package/src/components/block-styles/index.js +92 -52
- package/src/components/block-styles/style.scss +4 -0
- package/src/components/block-variation-transforms/index.js +2 -2
- package/src/components/block-variation-transforms/style.scss +1 -1
- package/src/components/block-visibility/block-visibility-info.js +63 -0
- package/src/components/block-visibility/styles.scss +10 -0
- package/src/components/global-styles/hooks.js +0 -9
- package/src/components/global-styles/typography-panel.js +1 -48
- package/src/components/index.js +0 -1
- package/src/components/inspector-controls/fill.js +20 -2
- package/src/components/inspector-controls/groups.js +2 -0
- package/src/components/inspector-controls-tabs/content-tab.js +3 -7
- package/src/components/inspector-controls-tabs/index.js +2 -4
- package/src/components/inspector-controls-tabs/styles-tab.js +1 -8
- package/src/components/inspector-controls-tabs/use-inspector-controls-tabs.js +17 -5
- package/src/components/keyboard-shortcuts/index.js +1 -0
- package/src/components/link-control/test/is-url-like.js +4 -4
- package/src/components/media-replace-flow/index.js +16 -2
- package/src/components/media-replace-flow/style.scss +8 -1
- package/src/components/use-resize-canvas/index.js +7 -2
- package/src/hooks/auto-inspector-controls.js +95 -0
- package/src/hooks/block-fields/fields-dropdown-menu.js +54 -0
- package/src/hooks/block-fields/index.js +392 -0
- package/src/hooks/block-fields/link/index.js +200 -0
- package/src/hooks/block-fields/media/index.js +303 -0
- package/src/hooks/block-fields/media/styles.scss +54 -0
- package/src/hooks/block-fields/rich-text/index.js +183 -0
- package/src/hooks/block-fields/styles.scss +33 -0
- package/src/hooks/fit-text.js +38 -37
- package/src/hooks/generate-fields-from-attributes.js +65 -0
- package/src/hooks/index.js +3 -0
- package/src/hooks/list-view.js +1 -4
- package/src/hooks/test/auto-inspector-controls.js +115 -0
- package/src/hooks/test/generate-fields-from-attributes.js +216 -0
- package/src/hooks/typography.js +0 -2
- package/src/hooks/utils.js +5 -8
- package/src/private-apis.js +2 -0
- package/src/store/private-keys.js +1 -0
- package/src/store/private-selectors.js +25 -1
- package/src/store/test/private-selectors.js +95 -0
- package/src/style.scss +1 -1
- package/build/components/content-only-controls/fields-dropdown-menu.cjs +0 -66
- package/build/components/content-only-controls/fields-dropdown-menu.cjs.map +0 -7
- package/build/components/content-only-controls/index.cjs +0 -421
- package/build/components/content-only-controls/index.cjs.map +0 -7
- package/build/components/content-only-controls/link/index.cjs +0 -193
- package/build/components/content-only-controls/link/index.cjs.map +0 -7
- package/build/components/content-only-controls/media/index.cjs +0 -264
- package/build/components/content-only-controls/media/index.cjs.map +0 -7
- package/build/components/content-only-controls/rich-text/index.cjs +0 -189
- package/build/components/content-only-controls/rich-text/index.cjs.map +0 -7
- package/build/components/content-only-controls/use-inspector-popover-placement.cjs +0 -41
- package/build/components/content-only-controls/use-inspector-popover-placement.cjs.map +0 -7
- package/build/components/text-indent-control/index.cjs +0 -121
- package/build/components/text-indent-control/index.cjs.map +0 -7
- package/build-module/autocompleters/block.js +0 -123
- package/build-module/autocompleters/link.js +0 -50
- package/build-module/components/alignment-control/index.js +0 -14
- package/build-module/components/alignment-control/ui.js +0 -77
- package/build-module/components/autocomplete/index.js +0 -50
- package/build-module/components/background-image-control/index.js +0 -632
- package/build-module/components/block-actions/index.js +0 -112
- package/build-module/components/block-alignment-control/constants.js +0 -42
- package/build-module/components/block-alignment-control/index.js +0 -14
- package/build-module/components/block-alignment-control/ui.js +0 -86
- package/build-module/components/block-alignment-control/use-available-alignments.js +0 -66
- package/build-module/components/block-alignment-matrix-control/index.js +0 -53
- package/build-module/components/block-allowed-blocks/allowed-blocks-control.js +0 -69
- package/build-module/components/block-allowed-blocks/index.js +0 -8
- package/build-module/components/block-allowed-blocks/modal.js +0 -102
- package/build-module/components/block-bindings/attribute-control.js +0 -150
- package/build-module/components/block-bindings/index.js +0 -10
- package/build-module/components/block-bindings/source-fields-list.js +0 -104
- package/build-module/components/block-bindings/use-block-bindings-utils.js +0 -45
- package/build-module/components/block-breadcrumb/index.js +0 -110
- package/build-module/components/block-canvas/index.js +0 -107
- package/build-module/components/block-card/index.js +0 -140
- package/build-module/components/block-compare/block-view.js +0 -35
- package/build-module/components/block-compare/index.js +0 -63
- package/build-module/components/block-content-overlay/index.js +0 -16
- package/build-module/components/block-context/index.js +0 -19
- package/build-module/components/block-controls/fill.js +0 -36
- package/build-module/components/block-controls/groups.js +0 -19
- package/build-module/components/block-controls/hook.js +0 -21
- package/build-module/components/block-controls/index.js +0 -18
- package/build-module/components/block-controls/slot.js +0 -45
- package/build-module/components/block-draggable/draggable-chip.js +0 -41
- package/build-module/components/block-draggable/index.js +0 -190
- package/build-module/components/block-draggable/use-scroll-when-dragging.js +0 -80
- package/build-module/components/block-edit/context.js +0 -28
- package/build-module/components/block-edit/edit.js +0 -240
- package/build-module/components/block-edit/index.js +0 -87
- package/build-module/components/block-edit/multiple-usage-warning.js +0 -54
- package/build-module/components/block-edit-visually-button/index.js +0 -30
- package/build-module/components/block-editing-mode/index.js +0 -35
- package/build-module/components/block-full-height-alignment-control/index.js +0 -27
- package/build-module/components/block-heading-level-dropdown/heading-level-icon.js +0 -31
- package/build-module/components/block-heading-level-dropdown/index.js +0 -46
- package/build-module/components/block-icon/index.js +0 -33
- package/build-module/components/block-inspector/edit-contents.js +0 -116
- package/build-module/components/block-inspector/index.js +0 -331
- package/build-module/components/block-inspector/index.js.map +0 -7
- package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.js +0 -30
- package/build-module/components/block-list/block-crash-boundary.js +0 -26
- package/build-module/components/block-list/block-crash-warning.js +0 -10
- package/build-module/components/block-list/block-html.js +0 -63
- package/build-module/components/block-list/block-invalid-warning.js +0 -129
- package/build-module/components/block-list/block.js +0 -613
- package/build-module/components/block-list/block.js.map +0 -7
- package/build-module/components/block-list/index.js +0 -251
- package/build-module/components/block-list/layout.js +0 -38
- package/build-module/components/block-list/private-block-context.js +0 -8
- package/build-module/components/block-list/subdirectory-icon.js +0 -26
- package/build-module/components/block-list/use-block-props/index.js +0 -134
- package/build-module/components/block-list/use-block-props/use-block-refs.js +0 -46
- package/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +0 -62
- package/build-module/components/block-list/use-block-props/use-focus-first-element.js +0 -53
- package/build-module/components/block-list/use-block-props/use-focus-handler.js +0 -37
- package/build-module/components/block-list/use-block-props/use-intersection-observer.js +0 -22
- package/build-module/components/block-list/use-block-props/use-is-hovered.js +0 -33
- package/build-module/components/block-list/use-block-props/use-scroll-into-view.js +0 -35
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +0 -219
- package/build-module/components/block-list/use-in-between-inserter.js +0 -122
- package/build-module/components/block-list/zoom-out-separator.js +0 -117
- package/build-module/components/block-list-appender/index.js +0 -61
- package/build-module/components/block-lock/index.js +0 -12
- package/build-module/components/block-lock/menu-item.js +0 -36
- package/build-module/components/block-lock/modal.js +0 -225
- package/build-module/components/block-lock/toolbar.js +0 -46
- package/build-module/components/block-lock/use-block-lock.js +0 -30
- package/build-module/components/block-manager/category.js +0 -95
- package/build-module/components/block-manager/checklist.js +0 -29
- package/build-module/components/block-manager/index.js +0 -113
- package/build-module/components/block-mover/button.js +0 -145
- package/build-module/components/block-mover/index.js +0 -101
- package/build-module/components/block-mover/mover-description.js +0 -267
- package/build-module/components/block-navigation/dropdown.js +0 -70
- package/build-module/components/block-parent-selector/index.js +0 -61
- package/build-module/components/block-pattern-setup/constants.js +0 -9
- package/build-module/components/block-pattern-setup/index.js +0 -179
- package/build-module/components/block-pattern-setup/setup-toolbar.js +0 -100
- package/build-module/components/block-pattern-setup/use-patterns-setup.js +0 -27
- package/build-module/components/block-patterns-list/index.js +0 -213
- package/build-module/components/block-patterns-paging/index.js +0 -116
- package/build-module/components/block-popover/cover.js +0 -64
- package/build-module/components/block-popover/drop-zone.js +0 -53
- package/build-module/components/block-popover/inbetween.js +0 -169
- package/build-module/components/block-popover/index.js +0 -116
- package/build-module/components/block-popover/use-popover-scroll.js +0 -35
- package/build-module/components/block-preview/async.js +0 -26
- package/build-module/components/block-preview/auto.js +0 -113
- package/build-module/components/block-preview/index.js +0 -131
- package/build-module/components/block-quick-navigation/index.js +0 -71
- package/build-module/components/block-removal-warning-modal/index.js +0 -75
- package/build-module/components/block-rename/index.js +0 -10
- package/build-module/components/block-rename/is-empty-string.js +0 -8
- package/build-module/components/block-rename/modal.js +0 -125
- package/build-module/components/block-rename/rename-control.js +0 -33
- package/build-module/components/block-rename/use-block-rename.js +0 -11
- package/build-module/components/block-selection-clearer/index.js +0 -39
- package/build-module/components/block-settings-menu/block-html-convert-button.js +0 -32
- package/build-module/components/block-settings-menu/block-mode-toggle.js +0 -42
- package/build-module/components/block-settings-menu/block-parent-selector-menu-item.js +0 -43
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +0 -310
- package/build-module/components/block-settings-menu/block-settings-menu-first-item.js +0 -11
- package/build-module/components/block-settings-menu/index.js +0 -24
- package/build-module/components/block-settings-menu-controls/edit-section-menu-item.js +0 -59
- package/build-module/components/block-settings-menu-controls/index.js +0 -131
- package/build-module/components/block-styles/index.js +0 -109
- package/build-module/components/block-styles/index.js.map +0 -7
- package/build-module/components/block-styles/menu-items.js +0 -41
- package/build-module/components/block-styles/preview-panel.js +0 -30
- package/build-module/components/block-styles/use-styles-for-block.js +0 -72
- package/build-module/components/block-styles/utils.js +0 -49
- package/build-module/components/block-switcher/block-styles-menu.js +0 -20
- package/build-module/components/block-switcher/block-transformations-menu.js +0 -144
- package/build-module/components/block-switcher/block-variation-transformations.js +0 -102
- package/build-module/components/block-switcher/index.js +0 -194
- package/build-module/components/block-switcher/pattern-transformations-menu.js +0 -122
- package/build-module/components/block-switcher/preview-block-popover.js +0 -29
- package/build-module/components/block-switcher/use-transformed-patterns.js +0 -66
- package/build-module/components/block-switcher/utils.js +0 -38
- package/build-module/components/block-title/index.js +0 -9
- package/build-module/components/block-title/use-block-display-title.js +0 -47
- package/build-module/components/block-toolbar/block-toolbar-icon.js +0 -144
- package/build-module/components/block-toolbar/block-toolbar-last-item.js +0 -11
- package/build-module/components/block-toolbar/change-design.js +0 -107
- package/build-module/components/block-toolbar/index.js +0 -237
- package/build-module/components/block-toolbar/pattern-overrides-dropdown.js +0 -76
- package/build-module/components/block-toolbar/switch-section-style.js +0 -102
- package/build-module/components/block-toolbar/use-has-block-toolbar.js +0 -17
- package/build-module/components/block-toolbar/utils.js +0 -127
- package/build-module/components/block-tools/block-toolbar-popover.js +0 -64
- package/build-module/components/block-tools/empty-block-inserter.js +0 -50
- package/build-module/components/block-tools/index.js +0 -269
- package/build-module/components/block-tools/insertion-point.js +0 -243
- package/build-module/components/block-tools/use-block-toolbar-popover-props.js +0 -121
- package/build-module/components/block-tools/use-selected-block-tool-props.js +0 -44
- package/build-module/components/block-tools/use-show-block-tools.js +0 -32
- package/build-module/components/block-tools/zoom-out-mode-inserter-button.js +0 -30
- package/build-module/components/block-tools/zoom-out-mode-inserters.js +0 -89
- package/build-module/components/block-types-list/index.js +0 -48
- package/build-module/components/block-variation-picker/index.js +0 -66
- package/build-module/components/block-variation-transforms/index.js +0 -181
- package/build-module/components/block-variation-transforms/index.js.map +0 -7
- package/build-module/components/block-vertical-alignment-control/index.js +0 -14
- package/build-module/components/block-vertical-alignment-control/ui.js +0 -74
- package/build-module/components/block-visibility/index.js +0 -8
- package/build-module/components/block-visibility/menu-item.js +0 -88
- package/build-module/components/block-visibility/toolbar.js +0 -71
- package/build-module/components/border-radius-control/constants.js +0 -47
- package/build-module/components/border-radius-control/index.js +0 -184
- package/build-module/components/border-radius-control/linked-button.js +0 -23
- package/build-module/components/border-radius-control/utils.js +0 -147
- package/build-module/components/button-block-appender/index.js +0 -78
- package/build-module/components/child-layout-control/index.js +0 -364
- package/build-module/components/collab/block-comment-icon-slot.js +0 -8
- package/build-module/components/collab/block-comment-icon-toolbar-slot.js +0 -10
- package/build-module/components/color-palette/control.js +0 -23
- package/build-module/components/color-palette/index.js +0 -8
- package/build-module/components/color-palette/with-color-context.js +0 -43
- package/build-module/components/color-style-selector/index.js +0 -63
- package/build-module/components/colors/index.js +0 -15
- package/build-module/components/colors/utils.js +0 -43
- package/build-module/components/colors/with-colors.js +0 -154
- package/build-module/components/colors-gradients/control.js +0 -149
- package/build-module/components/colors-gradients/dropdown.js +0 -185
- package/build-module/components/colors-gradients/panel-color-gradient-settings.js +0 -112
- package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +0 -117
- package/build-module/components/content-lock/index.js +0 -6
- package/build-module/components/content-lock/modify-content-lock-menu-item.js +0 -45
- package/build-module/components/content-only-controls/fields-dropdown-menu.js +0 -45
- package/build-module/components/content-only-controls/fields-dropdown-menu.js.map +0 -7
- package/build-module/components/content-only-controls/index.js +0 -397
- package/build-module/components/content-only-controls/index.js.map +0 -7
- package/build-module/components/content-only-controls/link/index.js +0 -160
- package/build-module/components/content-only-controls/link/index.js.map +0 -7
- package/build-module/components/content-only-controls/media/index.js +0 -242
- package/build-module/components/content-only-controls/media/index.js.map +0 -7
- package/build-module/components/content-only-controls/rich-text/index.js +0 -161
- package/build-module/components/content-only-controls/rich-text/index.js.map +0 -7
- package/build-module/components/content-only-controls/use-inspector-popover-placement.js +0 -16
- package/build-module/components/content-only-controls/use-inspector-popover-placement.js.map +0 -7
- package/build-module/components/contrast-checker/index.js +0 -107
- package/build-module/components/convert-to-group-buttons/index.js +0 -81
- package/build-module/components/convert-to-group-buttons/toolbar.js +0 -100
- package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js +0 -34
- package/build-module/components/copy-handler/index.js +0 -25
- package/build-module/components/date-format-picker/index.js +0 -140
- package/build-module/components/default-block-appender/index.js +0 -86
- package/build-module/components/dimension-control/index.js +0 -119
- package/build-module/components/dimensions-tool/aspect-ratio-tool.js +0 -74
- package/build-module/components/dimensions-tool/index.js +0 -128
- package/build-module/components/dimensions-tool/scale-tool.js +0 -88
- package/build-module/components/dimensions-tool/width-height-tool.js +0 -81
- package/build-module/components/duotone/utils.js +0 -59
- package/build-module/components/duotone-control/index.js +0 -87
- package/build-module/components/editable-text/index.js +0 -15
- package/build-module/components/editor-styles/index.js +0 -98
- package/build-module/components/fit-text-size-warning/index.js +0 -27
- package/build-module/components/floating-toolbar/nav-up-icon.js +0 -31
- package/build-module/components/font-appearance-control/index.js +0 -131
- package/build-module/components/font-family/index.js +0 -63
- package/build-module/components/font-sizes/fluid-utils.js +0 -145
- package/build-module/components/font-sizes/font-size-picker.js +0 -23
- package/build-module/components/font-sizes/index.js +0 -18
- package/build-module/components/font-sizes/utils.js +0 -38
- package/build-module/components/font-sizes/with-font-sizes.js +0 -133
- package/build-module/components/global-styles/advanced-panel.js +0 -64
- package/build-module/components/global-styles/background-panel.js +0 -106
- package/build-module/components/global-styles/border-panel.js +0 -287
- package/build-module/components/global-styles/color-panel.js +0 -657
- package/build-module/components/global-styles/dimensions-panel.js +0 -669
- package/build-module/components/global-styles/filters-panel.js +0 -211
- package/build-module/components/global-styles/hooks.js +0 -227
- package/build-module/components/global-styles/hooks.js.map +0 -7
- package/build-module/components/global-styles/image-settings-panel.js +0 -64
- package/build-module/components/global-styles/index.js +0 -46
- package/build-module/components/global-styles/shadow-panel-components.js +0 -200
- package/build-module/components/global-styles/typography-panel.js +0 -622
- package/build-module/components/global-styles/typography-panel.js.map +0 -7
- package/build-module/components/global-styles/typography-utils.js +0 -81
- package/build-module/components/global-styles/utils.js +0 -31
- package/build-module/components/gradients/index.js +0 -3
- package/build-module/components/gradients/use-gradient.js +0 -98
- package/build-module/components/gradients/with-gradient.js +0 -11
- package/build-module/components/grid/grid-item-movers.js +0 -176
- package/build-module/components/grid/grid-item-resizer.js +0 -163
- package/build-module/components/grid/grid-visualizer.js +0 -362
- package/build-module/components/grid/index.js +0 -12
- package/build-module/components/grid/use-get-number-of-blocks-before-cell.js +0 -23
- package/build-module/components/grid/use-grid-layout-sync.js +0 -200
- package/build-module/components/grid/utils.js +0 -149
- package/build-module/components/height-control/index.js +0 -148
- package/build-module/components/html-element-control/index.js +0 -76
- package/build-module/components/html-element-control/messages.js +0 -38
- package/build-module/components/iframe/get-compatibility-styles.js +0 -78
- package/build-module/components/iframe/index.js +0 -290
- package/build-module/components/iframe/use-scale-canvas.js +0 -267
- package/build-module/components/image-editor/aspect-ratio-dropdown.js +0 -126
- package/build-module/components/image-editor/constants.js +0 -12
- package/build-module/components/image-editor/context.js +0 -43
- package/build-module/components/image-editor/cropper.js +0 -51
- package/build-module/components/image-editor/form-controls.js +0 -16
- package/build-module/components/image-editor/index.js +0 -64
- package/build-module/components/image-editor/rotation-button.js +0 -22
- package/build-module/components/image-editor/use-save-image.js +0 -141
- package/build-module/components/image-editor/use-transform-image.js +0 -137
- package/build-module/components/image-editor/zoom-dropdown.js +0 -47
- package/build-module/components/image-size-control/index.js +0 -123
- package/build-module/components/image-size-control/use-dimension-handler.js +0 -52
- package/build-module/components/index.js +0 -307
- package/build-module/components/index.js.map +0 -7
- package/build-module/components/inner-blocks/button-block-appender.js +0 -29
- package/build-module/components/inner-blocks/default-block-appender.js +0 -12
- package/build-module/components/inner-blocks/index.js +0 -214
- package/build-module/components/inner-blocks/use-block-context.js +0 -34
- package/build-module/components/inner-blocks/use-inner-block-template-sync.js +0 -64
- package/build-module/components/inner-blocks/use-nested-settings-update.js +0 -102
- package/build-module/components/inserter/block-patterns-explorer/index.js +0 -53
- package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +0 -70
- package/build-module/components/inserter/block-patterns-explorer/pattern-list.js +0 -154
- package/build-module/components/inserter/block-patterns-tab/index.js +0 -72
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +0 -181
- package/build-module/components/inserter/block-patterns-tab/patterns-filter.js +0 -160
- package/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js +0 -82
- package/build-module/components/inserter/block-patterns-tab/utils.js +0 -52
- package/build-module/components/inserter/block-types-tab.js +0 -190
- package/build-module/components/inserter/category-tabs/index.js +0 -94
- package/build-module/components/inserter/hooks/use-block-types-state.js +0 -86
- package/build-module/components/inserter/hooks/use-insertion-point.js +0 -180
- package/build-module/components/inserter/hooks/use-patterns-paging.js +0 -49
- package/build-module/components/inserter/hooks/use-patterns-state.js +0 -104
- package/build-module/components/inserter/index.js +0 -319
- package/build-module/components/inserter/library.js +0 -70
- package/build-module/components/inserter/media-tab/hooks.js +0 -103
- package/build-module/components/inserter/media-tab/index.js +0 -10
- package/build-module/components/inserter/media-tab/media-list.js +0 -34
- package/build-module/components/inserter/media-tab/media-panel.js +0 -45
- package/build-module/components/inserter/media-tab/media-preview.js +0 -265
- package/build-module/components/inserter/media-tab/media-tab.js +0 -95
- package/build-module/components/inserter/media-tab/utils.js +0 -38
- package/build-module/components/inserter/menu.js +0 -344
- package/build-module/components/inserter/mobile-tab-navigation.js +0 -77
- package/build-module/components/inserter/no-results.js +0 -11
- package/build-module/components/inserter/panel.js +0 -17
- package/build-module/components/inserter/preview-panel.js +0 -71
- package/build-module/components/inserter/quick-inserter.js +0 -117
- package/build-module/components/inserter/search-items.js +0 -126
- package/build-module/components/inserter/search-results.js +0 -197
- package/build-module/components/inserter/tips.js +0 -38
- package/build-module/components/inserter-button/sparkles.js +0 -15
- package/build-module/components/inserter-draggable-blocks/index.js +0 -80
- package/build-module/components/inserter-list-item/index.js +0 -128
- package/build-module/components/inserter-listbox/context.js +0 -9
- package/build-module/components/inserter-listbox/group.js +0 -40
- package/build-module/components/inserter-listbox/index.js +0 -29
- package/build-module/components/inserter-listbox/item.js +0 -33
- package/build-module/components/inserter-listbox/row.js +0 -12
- package/build-module/components/inserter-menu-extension/index.js +0 -11
- package/build-module/components/inspector-controls/block-support-slot-container.js +0 -26
- package/build-module/components/inspector-controls/block-support-tools-panel.js +0 -68
- package/build-module/components/inspector-controls/fill.js +0 -75
- package/build-module/components/inspector-controls/fill.js.map +0 -7
- package/build-module/components/inspector-controls/groups.js +0 -47
- package/build-module/components/inspector-controls/groups.js.map +0 -7
- package/build-module/components/inspector-controls/index.js +0 -19
- package/build-module/components/inspector-controls/slot.js +0 -52
- package/build-module/components/inspector-controls-tabs/advanced-controls-panel.js +0 -40
- package/build-module/components/inspector-controls-tabs/content-tab.js +0 -21
- package/build-module/components/inspector-controls-tabs/content-tab.js.map +0 -7
- package/build-module/components/inspector-controls-tabs/index.js +0 -90
- package/build-module/components/inspector-controls-tabs/index.js.map +0 -7
- package/build-module/components/inspector-controls-tabs/position-controls-panel.js +0 -88
- package/build-module/components/inspector-controls-tabs/settings-tab.js +0 -16
- package/build-module/components/inspector-controls-tabs/styles-tab.js +0 -117
- package/build-module/components/inspector-controls-tabs/styles-tab.js.map +0 -7
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js +0 -74
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js.map +0 -7
- package/build-module/components/inspector-controls-tabs/utils.js +0 -34
- package/build-module/components/inspector-popover-header/index.js +0 -61
- package/build-module/components/justify-content-control/index.js +0 -14
- package/build-module/components/justify-content-control/ui.js +0 -91
- package/build-module/components/keyboard-shortcuts/index.js +0 -203
- package/build-module/components/keyboard-shortcuts/index.js.map +0 -7
- package/build-module/components/letter-spacing-control/index.js +0 -49
- package/build-module/components/line-height-control/index.js +0 -91
- package/build-module/components/line-height-control/utils.js +0 -16
- package/build-module/components/link-control/constants.js +0 -29
- package/build-module/components/link-control/index.js +0 -417
- package/build-module/components/link-control/is-url-like.js +0 -25
- package/build-module/components/link-control/link-preview.js +0 -163
- package/build-module/components/link-control/search-create-button.js +0 -46
- package/build-module/components/link-control/search-input.js +0 -130
- package/build-module/components/link-control/search-item.js +0 -152
- package/build-module/components/link-control/search-results.js +0 -101
- package/build-module/components/link-control/settings-drawer.js +0 -56
- package/build-module/components/link-control/settings.js +0 -57
- package/build-module/components/link-control/use-create-page.js +0 -63
- package/build-module/components/link-control/use-internal-value.js +0 -49
- package/build-module/components/link-control/use-rich-url-data.js +0 -71
- package/build-module/components/link-control/use-search-handler.js +0 -102
- package/build-module/components/link-control/viewer-slot.js +0 -12
- package/build-module/components/link-picker/index.js +0 -6
- package/build-module/components/link-picker/link-picker.js +0 -114
- package/build-module/components/link-picker/link-preview.js +0 -71
- package/build-module/components/list-view/appender.js +0 -90
- package/build-module/components/list-view/aria-referenced-text.js +0 -16
- package/build-module/components/list-view/block-contents.js +0 -66
- package/build-module/components/list-view/block-select-button.js +0 -155
- package/build-module/components/list-view/block.js +0 -546
- package/build-module/components/list-view/branch.js +0 -196
- package/build-module/components/list-view/context.js +0 -10
- package/build-module/components/list-view/drop-indicator.js +0 -230
- package/build-module/components/list-view/expander.js +0 -29
- package/build-module/components/list-view/index.js +0 -324
- package/build-module/components/list-view/leaf.js +0 -47
- package/build-module/components/list-view/use-block-selection.js +0 -115
- package/build-module/components/list-view/use-clipboard-handler.js +0 -134
- package/build-module/components/list-view/use-list-view-block-indexes.js +0 -24
- package/build-module/components/list-view/use-list-view-client-ids.js +0 -25
- package/build-module/components/list-view/use-list-view-collapse-items.js +0 -27
- package/build-module/components/list-view/use-list-view-drop-zone.js +0 -306
- package/build-module/components/list-view/use-list-view-expand-selected-item.js +0 -45
- package/build-module/components/list-view/use-list-view-images.js +0 -78
- package/build-module/components/list-view/use-list-view-scroll-into-view.js +0 -30
- package/build-module/components/list-view/utils.js +0 -111
- package/build-module/components/media-placeholder/index.js +0 -489
- package/build-module/components/media-placeholder/utils.js +0 -35
- package/build-module/components/media-replace-flow/index.js +0 -254
- package/build-module/components/media-replace-flow/index.js.map +0 -7
- package/build-module/components/media-upload/check.js +0 -16
- package/build-module/components/media-upload/index.js +0 -8
- package/build-module/components/media-upload-progress/constants.js +0 -16
- package/build-module/components/multi-selection-inspector/index.js +0 -34
- package/build-module/components/navigable-toolbar/index.js +0 -190
- package/build-module/components/observe-typing/index.js +0 -151
- package/build-module/components/panel-color-settings/index.js +0 -30
- package/build-module/components/plain-text/index.js +0 -26
- package/build-module/components/preset-input-control/constants.js +0 -39
- package/build-module/components/preset-input-control/custom-value-controls.js +0 -92
- package/build-module/components/preset-input-control/index.js +0 -244
- package/build-module/components/preset-input-control/utils.js +0 -57
- package/build-module/components/preview-options/index.js +0 -12
- package/build-module/components/provider/block-refs-provider.js +0 -15
- package/build-module/components/provider/index.js +0 -102
- package/build-module/components/provider/use-block-sync.js +0 -157
- package/build-module/components/provider/use-media-upload-settings.js +0 -18
- package/build-module/components/provider/with-registry-provider.js +0 -40
- package/build-module/components/publish-date-time-picker/index.js +0 -60
- package/build-module/components/recursion-provider/index.js +0 -52
- package/build-module/components/resizable-box-popover/index.js +0 -23
- package/build-module/components/resolution-tool/index.js +0 -62
- package/build-module/components/responsive-block-control/index.js +0 -104
- package/build-module/components/responsive-block-control/label.js +0 -29
- package/build-module/components/rich-text/content.js +0 -41
- package/build-module/components/rich-text/event-listeners/before-input-rules.js +0 -58
- package/build-module/components/rich-text/event-listeners/delete.js +0 -34
- package/build-module/components/rich-text/event-listeners/enter.js +0 -67
- package/build-module/components/rich-text/event-listeners/firefox-compat.js +0 -24
- package/build-module/components/rich-text/event-listeners/index.js +0 -53
- package/build-module/components/rich-text/event-listeners/input-events.js +0 -17
- package/build-module/components/rich-text/event-listeners/input-rules.js +0 -110
- package/build-module/components/rich-text/event-listeners/insert-replacement-text.js +0 -19
- package/build-module/components/rich-text/event-listeners/paste-handler.js +0 -94
- package/build-module/components/rich-text/event-listeners/remove-browser-shortcuts.js +0 -17
- package/build-module/components/rich-text/event-listeners/shortcuts.js +0 -17
- package/build-module/components/rich-text/event-listeners/undo-automatic-change.js +0 -33
- package/build-module/components/rich-text/format-edit.js +0 -61
- package/build-module/components/rich-text/format-toolbar/index.js +0 -57
- package/build-module/components/rich-text/format-toolbar-container.js +0 -38
- package/build-module/components/rich-text/get-rich-text-values.js +0 -83
- package/build-module/components/rich-text/index.js +0 -479
- package/build-module/components/rich-text/input-event.js +0 -25
- package/build-module/components/rich-text/multiline.js +0 -126
- package/build-module/components/rich-text/native/format-edit.js +0 -39
- package/build-module/components/rich-text/native/index.js +0 -7
- package/build-module/components/rich-text/native/use-format-types.js +0 -114
- package/build-module/components/rich-text/prevent-event-discovery.js +0 -19
- package/build-module/components/rich-text/shortcut.js +0 -26
- package/build-module/components/rich-text/toolbar-button.js +0 -24
- package/build-module/components/rich-text/use-format-types.js +0 -157
- package/build-module/components/rich-text/use-mark-persistent.js +0 -29
- package/build-module/components/rich-text/utils.js +0 -41
- package/build-module/components/rich-text/with-deprecations.js +0 -41
- package/build-module/components/selection-scroll-into-view/index.js +0 -13
- package/build-module/components/skip-to-selected-block/index.js +0 -33
- package/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js +0 -46
- package/build-module/components/spacing-sizes-control/index.js +0 -106
- package/build-module/components/spacing-sizes-control/input-controls/axial.js +0 -69
- package/build-module/components/spacing-sizes-control/input-controls/separated.js +0 -57
- package/build-module/components/spacing-sizes-control/input-controls/single.js +0 -49
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +0 -105
- package/build-module/components/spacing-sizes-control/linked-button.js +0 -22
- package/build-module/components/spacing-sizes-control/utils.js +0 -166
- package/build-module/components/tabbed-sidebar/index.js +0 -67
- package/build-module/components/text-alignment-control/index.js +0 -85
- package/build-module/components/text-decoration-control/index.js +0 -63
- package/build-module/components/text-indent-control/index.js +0 -109
- package/build-module/components/text-indent-control/index.js.map +0 -7
- package/build-module/components/text-transform-control/index.js +0 -69
- package/build-module/components/tool-selector/index.js +0 -15
- package/build-module/components/typewriter/index.js +0 -166
- package/build-module/components/unit-control/index.js +0 -19
- package/build-module/components/url-input/button.js +0 -73
- package/build-module/components/url-input/index.js +0 -437
- package/build-module/components/url-popover/image-url-input-ui.js +0 -348
- package/build-module/components/url-popover/index.js +0 -91
- package/build-module/components/url-popover/link-editor.js +0 -48
- package/build-module/components/url-popover/link-viewer-url.js +0 -19
- package/build-module/components/url-popover/link-viewer.js +0 -49
- package/build-module/components/use-block-commands/index.js +0 -281
- package/build-module/components/use-block-display-information/index.js +0 -90
- package/build-module/components/use-block-drop-zone/index.js +0 -369
- package/build-module/components/use-flash-editable-blocks/index.js +0 -51
- package/build-module/components/use-moving-animation/index.js +0 -107
- package/build-module/components/use-on-block-drop/index.js +0 -269
- package/build-module/components/use-on-block-drop/types.js +0 -1
- package/build-module/components/use-paste-styles/index.js +0 -163
- package/build-module/components/use-resize-canvas/index.js +0 -59
- package/build-module/components/use-resize-canvas/index.js.map +0 -7
- package/build-module/components/use-settings/index.js +0 -30
- package/build-module/components/warning/index.js +0 -49
- package/build-module/components/writing-flow/index.js +0 -84
- package/build-module/components/writing-flow/use-arrow-nav.js +0 -200
- package/build-module/components/writing-flow/use-click-selection.js +0 -42
- package/build-module/components/writing-flow/use-clipboard-handler.js +0 -195
- package/build-module/components/writing-flow/use-drag-selection.js +0 -99
- package/build-module/components/writing-flow/use-input.js +0 -151
- package/build-module/components/writing-flow/use-multi-selection.js +0 -66
- package/build-module/components/writing-flow/use-select-all.js +0 -45
- package/build-module/components/writing-flow/use-selection-observer.js +0 -167
- package/build-module/components/writing-flow/use-tab-nav.js +0 -151
- package/build-module/components/writing-flow/utils.js +0 -73
- package/build-module/components/writing-mode-control/index.js +0 -51
- package/build-module/elements/index.js +0 -12
- package/build-module/hooks/align.js +0 -130
- package/build-module/hooks/allowed-blocks.js +0 -94
- package/build-module/hooks/anchor.js +0 -87
- package/build-module/hooks/aria-label.js +0 -41
- package/build-module/hooks/background.js +0 -148
- package/build-module/hooks/block-bindings.js +0 -101
- package/build-module/hooks/block-hooks.js +0 -180
- package/build-module/hooks/block-renaming.js +0 -32
- package/build-module/hooks/block-style-variation.js +0 -261
- package/build-module/hooks/border.js +0 -295
- package/build-module/hooks/color.js +0 -334
- package/build-module/hooks/compat.js +0 -16
- package/build-module/hooks/content-lock-ui.js +0 -47
- package/build-module/hooks/contrast-checker.js +0 -67
- package/build-module/hooks/custom-class-name.js +0 -99
- package/build-module/hooks/dimensions.js +0 -171
- package/build-module/hooks/duotone.js +0 -273
- package/build-module/hooks/fit-text.js +0 -299
- package/build-module/hooks/fit-text.js.map +0 -7
- package/build-module/hooks/font-family.js +0 -68
- package/build-module/hooks/font-size.js +0 -178
- package/build-module/hooks/gap.js +0 -26
- package/build-module/hooks/generated-class-name.js +0 -27
- package/build-module/hooks/grid-visualizer.js +0 -55
- package/build-module/hooks/index.js +0 -116
- package/build-module/hooks/index.js.map +0 -7
- package/build-module/hooks/layout-child.js +0 -231
- package/build-module/hooks/layout.js +0 -342
- package/build-module/hooks/line-height.js +0 -42
- package/build-module/hooks/list-view.js +0 -52
- package/build-module/hooks/list-view.js.map +0 -7
- package/build-module/hooks/lock.js +0 -19
- package/build-module/hooks/metadata.js +0 -69
- package/build-module/hooks/position.js +0 -223
- package/build-module/hooks/settings.js +0 -24
- package/build-module/hooks/spacing-visualizer.js +0 -113
- package/build-module/hooks/style.js +0 -271
- package/build-module/hooks/supports.js +0 -121
- package/build-module/hooks/text-align.js +0 -135
- package/build-module/hooks/typography.js +0 -160
- package/build-module/hooks/typography.js.map +0 -7
- package/build-module/hooks/use-border-props.js +0 -30
- package/build-module/hooks/use-cached-truthy.js +0 -15
- package/build-module/hooks/use-color-props.js +0 -97
- package/build-module/hooks/use-content-only-section-edit.js +0 -46
- package/build-module/hooks/use-shadow-props.js +0 -12
- package/build-module/hooks/use-spacing-props.js +0 -14
- package/build-module/hooks/use-typography-props.js +0 -34
- package/build-module/hooks/use-zoom-out.js +0 -44
- package/build-module/hooks/utils.js +0 -608
- package/build-module/hooks/utils.js.map +0 -7
- package/build-module/index.js +0 -39
- package/build-module/layouts/constrained.js +0 -291
- package/build-module/layouts/definitions.js +0 -176
- package/build-module/layouts/flex.js +0 -346
- package/build-module/layouts/flow.js +0 -81
- package/build-module/layouts/grid.js +0 -364
- package/build-module/layouts/index.js +0 -17
- package/build-module/layouts/utils.js +0 -42
- package/build-module/lock-unlock.js +0 -11
- package/build-module/private-apis.js +0 -119
- package/build-module/private-apis.js.map +0 -7
- package/build-module/store/actions.js +0 -1188
- package/build-module/store/array.js +0 -22
- package/build-module/store/constants.js +0 -6
- package/build-module/store/defaults.js +0 -218
- package/build-module/store/get-block-settings.js +0 -135
- package/build-module/store/index.js +0 -31
- package/build-module/store/private-actions.js +0 -246
- package/build-module/store/private-keys.js +0 -22
- package/build-module/store/private-keys.js.map +0 -7
- package/build-module/store/private-selectors.js +0 -439
- package/build-module/store/private-selectors.js.map +0 -7
- package/build-module/store/reducer.js +0 -1900
- package/build-module/store/selectors.js +0 -1694
- package/build-module/store/utils.js +0 -130
- package/build-module/utils/block-bindings.js +0 -22
- package/build-module/utils/dom.js +0 -108
- package/build-module/utils/fit-text-frontend.js +0 -32
- package/build-module/utils/fit-text-utils.js +0 -41
- package/build-module/utils/format-font-style.js +0 -30
- package/build-module/utils/format-font-weight.js +0 -53
- package/build-module/utils/get-editor-region.js +0 -17
- package/build-module/utils/get-font-styles-and-weights.js +0 -150
- package/build-module/utils/get-px-from-css-unit.js +0 -6
- package/build-module/utils/index.js +0 -8
- package/build-module/utils/math.js +0 -46
- package/build-module/utils/object.js +0 -34
- package/build-module/utils/order-inserter-block-items.js +0 -22
- package/build-module/utils/pasting.js +0 -59
- package/build-module/utils/selection.js +0 -27
- package/build-module/utils/sorting.js +0 -33
- package/build-module/utils/transform-styles/index.js +0 -109
- package/build-module/utils/use-notify-copy.js +0 -64
- package/src/components/content-only-controls/fields-dropdown-menu.js +0 -53
- package/src/components/content-only-controls/index.js +0 -535
- package/src/components/content-only-controls/link/index.js +0 -200
- package/src/components/content-only-controls/media/index.js +0 -306
- package/src/components/content-only-controls/media/styles.scss +0 -47
- package/src/components/content-only-controls/rich-text/index.js +0 -180
- package/src/components/content-only-controls/styles.scss +0 -44
- package/src/components/text-indent-control/index.js +0 -135
- /package/build-module/autocompleters/{block.js.map → block.mjs.map} +0 -0
- /package/build-module/autocompleters/{link.js.map → link.mjs.map} +0 -0
- /package/build-module/components/alignment-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/alignment-control/{ui.js.map → ui.mjs.map} +0 -0
- /package/build-module/components/autocomplete/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/background-image-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-actions/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-alignment-control/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/block-alignment-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-alignment-control/{ui.js.map → ui.mjs.map} +0 -0
- /package/build-module/components/block-alignment-control/{use-available-alignments.js.map → use-available-alignments.mjs.map} +0 -0
- /package/build-module/components/block-alignment-matrix-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-allowed-blocks/{allowed-blocks-control.js.map → allowed-blocks-control.mjs.map} +0 -0
- /package/build-module/components/block-allowed-blocks/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-allowed-blocks/{modal.js.map → modal.mjs.map} +0 -0
- /package/build-module/components/block-bindings/{attribute-control.js.map → attribute-control.mjs.map} +0 -0
- /package/build-module/components/block-bindings/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-bindings/{source-fields-list.js.map → source-fields-list.mjs.map} +0 -0
- /package/build-module/components/block-bindings/{use-block-bindings-utils.js.map → use-block-bindings-utils.mjs.map} +0 -0
- /package/build-module/components/block-breadcrumb/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-canvas/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-card/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-compare/{block-view.js.map → block-view.mjs.map} +0 -0
- /package/build-module/components/block-compare/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-content-overlay/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-context/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-controls/{fill.js.map → fill.mjs.map} +0 -0
- /package/build-module/components/block-controls/{groups.js.map → groups.mjs.map} +0 -0
- /package/build-module/components/block-controls/{hook.js.map → hook.mjs.map} +0 -0
- /package/build-module/components/block-controls/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-controls/{slot.js.map → slot.mjs.map} +0 -0
- /package/build-module/components/block-draggable/{draggable-chip.js.map → draggable-chip.mjs.map} +0 -0
- /package/build-module/components/block-draggable/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-draggable/{use-scroll-when-dragging.js.map → use-scroll-when-dragging.mjs.map} +0 -0
- /package/build-module/components/block-edit/{context.js.map → context.mjs.map} +0 -0
- /package/build-module/components/block-edit/{edit.js.map → edit.mjs.map} +0 -0
- /package/build-module/components/block-edit/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-edit/{multiple-usage-warning.js.map → multiple-usage-warning.mjs.map} +0 -0
- /package/build-module/components/block-edit-visually-button/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-editing-mode/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-full-height-alignment-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-heading-level-dropdown/{heading-level-icon.js.map → heading-level-icon.mjs.map} +0 -0
- /package/build-module/components/block-heading-level-dropdown/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-icon/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-inspector/{edit-contents.js.map → edit-contents.mjs.map} +0 -0
- /package/build-module/components/block-inspector/{useBlockInspectorAnimationSettings.js.map → useBlockInspectorAnimationSettings.mjs.map} +0 -0
- /package/build-module/components/block-list/{block-crash-boundary.js.map → block-crash-boundary.mjs.map} +0 -0
- /package/build-module/components/block-list/{block-crash-warning.js.map → block-crash-warning.mjs.map} +0 -0
- /package/build-module/components/block-list/{block-html.js.map → block-html.mjs.map} +0 -0
- /package/build-module/components/block-list/{block-invalid-warning.js.map → block-invalid-warning.mjs.map} +0 -0
- /package/build-module/components/block-list/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-list/{layout.js.map → layout.mjs.map} +0 -0
- /package/build-module/components/block-list/{private-block-context.js.map → private-block-context.mjs.map} +0 -0
- /package/build-module/components/block-list/{subdirectory-icon.js.map → subdirectory-icon.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-block-refs.js.map → use-block-refs.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-firefox-draggable-compatibility.js.map → use-firefox-draggable-compatibility.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-focus-first-element.js.map → use-focus-first-element.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-focus-handler.js.map → use-focus-handler.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-intersection-observer.js.map → use-intersection-observer.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-is-hovered.js.map → use-is-hovered.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-scroll-into-view.js.map → use-scroll-into-view.mjs.map} +0 -0
- /package/build-module/components/block-list/use-block-props/{use-selected-block-event-handlers.js.map → use-selected-block-event-handlers.mjs.map} +0 -0
- /package/build-module/components/block-list/{use-in-between-inserter.js.map → use-in-between-inserter.mjs.map} +0 -0
- /package/build-module/components/block-list/{zoom-out-separator.js.map → zoom-out-separator.mjs.map} +0 -0
- /package/build-module/components/block-list-appender/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-lock/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-lock/{menu-item.js.map → menu-item.mjs.map} +0 -0
- /package/build-module/components/block-lock/{modal.js.map → modal.mjs.map} +0 -0
- /package/build-module/components/block-lock/{toolbar.js.map → toolbar.mjs.map} +0 -0
- /package/build-module/components/block-lock/{use-block-lock.js.map → use-block-lock.mjs.map} +0 -0
- /package/build-module/components/block-manager/{category.js.map → category.mjs.map} +0 -0
- /package/build-module/components/block-manager/{checklist.js.map → checklist.mjs.map} +0 -0
- /package/build-module/components/block-manager/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-mover/{button.js.map → button.mjs.map} +0 -0
- /package/build-module/components/block-mover/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-mover/{mover-description.js.map → mover-description.mjs.map} +0 -0
- /package/build-module/components/block-navigation/{dropdown.js.map → dropdown.mjs.map} +0 -0
- /package/build-module/components/block-parent-selector/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-pattern-setup/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/block-pattern-setup/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-pattern-setup/{setup-toolbar.js.map → setup-toolbar.mjs.map} +0 -0
- /package/build-module/components/block-pattern-setup/{use-patterns-setup.js.map → use-patterns-setup.mjs.map} +0 -0
- /package/build-module/components/block-patterns-list/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-patterns-paging/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-popover/{cover.js.map → cover.mjs.map} +0 -0
- /package/build-module/components/block-popover/{drop-zone.js.map → drop-zone.mjs.map} +0 -0
- /package/build-module/components/block-popover/{inbetween.js.map → inbetween.mjs.map} +0 -0
- /package/build-module/components/block-popover/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-popover/{use-popover-scroll.js.map → use-popover-scroll.mjs.map} +0 -0
- /package/build-module/components/block-preview/{async.js.map → async.mjs.map} +0 -0
- /package/build-module/components/block-preview/{auto.js.map → auto.mjs.map} +0 -0
- /package/build-module/components/block-preview/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-quick-navigation/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-removal-warning-modal/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-rename/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-rename/{is-empty-string.js.map → is-empty-string.mjs.map} +0 -0
- /package/build-module/components/block-rename/{modal.js.map → modal.mjs.map} +0 -0
- /package/build-module/components/block-rename/{rename-control.js.map → rename-control.mjs.map} +0 -0
- /package/build-module/components/block-rename/{use-block-rename.js.map → use-block-rename.mjs.map} +0 -0
- /package/build-module/components/block-selection-clearer/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu/{block-html-convert-button.js.map → block-html-convert-button.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu/{block-mode-toggle.js.map → block-mode-toggle.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu/{block-parent-selector-menu-item.js.map → block-parent-selector-menu-item.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu/{block-settings-dropdown.js.map → block-settings-dropdown.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu/{block-settings-menu-first-item.js.map → block-settings-menu-first-item.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu-controls/{edit-section-menu-item.js.map → edit-section-menu-item.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu-controls/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-styles/{menu-items.js.map → menu-items.mjs.map} +0 -0
- /package/build-module/components/block-styles/{preview-panel.js.map → preview-panel.mjs.map} +0 -0
- /package/build-module/components/block-styles/{use-styles-for-block.js.map → use-styles-for-block.mjs.map} +0 -0
- /package/build-module/components/block-styles/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{block-styles-menu.js.map → block-styles-menu.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{block-transformations-menu.js.map → block-transformations-menu.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{block-variation-transformations.js.map → block-variation-transformations.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{pattern-transformations-menu.js.map → pattern-transformations-menu.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{preview-block-popover.js.map → preview-block-popover.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{use-transformed-patterns.js.map → use-transformed-patterns.mjs.map} +0 -0
- /package/build-module/components/block-switcher/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/block-title/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-title/{use-block-display-title.js.map → use-block-display-title.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{block-toolbar-icon.js.map → block-toolbar-icon.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{block-toolbar-last-item.js.map → block-toolbar-last-item.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{change-design.js.map → change-design.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{pattern-overrides-dropdown.js.map → pattern-overrides-dropdown.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{switch-section-style.js.map → switch-section-style.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{use-has-block-toolbar.js.map → use-has-block-toolbar.mjs.map} +0 -0
- /package/build-module/components/block-toolbar/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/block-tools/{block-toolbar-popover.js.map → block-toolbar-popover.mjs.map} +0 -0
- /package/build-module/components/block-tools/{empty-block-inserter.js.map → empty-block-inserter.mjs.map} +0 -0
- /package/build-module/components/block-tools/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-tools/{insertion-point.js.map → insertion-point.mjs.map} +0 -0
- /package/build-module/components/block-tools/{use-block-toolbar-popover-props.js.map → use-block-toolbar-popover-props.mjs.map} +0 -0
- /package/build-module/components/block-tools/{use-selected-block-tool-props.js.map → use-selected-block-tool-props.mjs.map} +0 -0
- /package/build-module/components/block-tools/{use-show-block-tools.js.map → use-show-block-tools.mjs.map} +0 -0
- /package/build-module/components/block-tools/{zoom-out-mode-inserter-button.js.map → zoom-out-mode-inserter-button.mjs.map} +0 -0
- /package/build-module/components/block-tools/{zoom-out-mode-inserters.js.map → zoom-out-mode-inserters.mjs.map} +0 -0
- /package/build-module/components/block-types-list/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-variation-picker/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-vertical-alignment-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-vertical-alignment-control/{ui.js.map → ui.mjs.map} +0 -0
- /package/build-module/components/block-visibility/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-visibility/{menu-item.js.map → menu-item.mjs.map} +0 -0
- /package/build-module/components/block-visibility/{toolbar.js.map → toolbar.mjs.map} +0 -0
- /package/build-module/components/border-radius-control/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/border-radius-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/border-radius-control/{linked-button.js.map → linked-button.mjs.map} +0 -0
- /package/build-module/components/border-radius-control/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/button-block-appender/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/child-layout-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/collab/{block-comment-icon-slot.js.map → block-comment-icon-slot.mjs.map} +0 -0
- /package/build-module/components/collab/{block-comment-icon-toolbar-slot.js.map → block-comment-icon-toolbar-slot.mjs.map} +0 -0
- /package/build-module/components/color-palette/{control.js.map → control.mjs.map} +0 -0
- /package/build-module/components/color-palette/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/color-palette/{with-color-context.js.map → with-color-context.mjs.map} +0 -0
- /package/build-module/components/color-style-selector/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/colors/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/colors/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/colors/{with-colors.js.map → with-colors.mjs.map} +0 -0
- /package/build-module/components/colors-gradients/{control.js.map → control.mjs.map} +0 -0
- /package/build-module/components/colors-gradients/{dropdown.js.map → dropdown.mjs.map} +0 -0
- /package/build-module/components/colors-gradients/{panel-color-gradient-settings.js.map → panel-color-gradient-settings.mjs.map} +0 -0
- /package/build-module/components/colors-gradients/{use-multiple-origin-colors-and-gradients.js.map → use-multiple-origin-colors-and-gradients.mjs.map} +0 -0
- /package/build-module/components/content-lock/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/content-lock/{modify-content-lock-menu-item.js.map → modify-content-lock-menu-item.mjs.map} +0 -0
- /package/build-module/components/contrast-checker/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/convert-to-group-buttons/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/convert-to-group-buttons/{toolbar.js.map → toolbar.mjs.map} +0 -0
- /package/build-module/components/convert-to-group-buttons/{use-convert-to-group-button-props.js.map → use-convert-to-group-button-props.mjs.map} +0 -0
- /package/build-module/components/copy-handler/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/date-format-picker/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/default-block-appender/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/dimension-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/dimensions-tool/{aspect-ratio-tool.js.map → aspect-ratio-tool.mjs.map} +0 -0
- /package/build-module/components/dimensions-tool/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/dimensions-tool/{scale-tool.js.map → scale-tool.mjs.map} +0 -0
- /package/build-module/components/dimensions-tool/{width-height-tool.js.map → width-height-tool.mjs.map} +0 -0
- /package/build-module/components/duotone/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/duotone-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/editable-text/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/editor-styles/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/fit-text-size-warning/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/floating-toolbar/{nav-up-icon.js.map → nav-up-icon.mjs.map} +0 -0
- /package/build-module/components/font-appearance-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/font-family/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/font-sizes/{fluid-utils.js.map → fluid-utils.mjs.map} +0 -0
- /package/build-module/components/font-sizes/{font-size-picker.js.map → font-size-picker.mjs.map} +0 -0
- /package/build-module/components/font-sizes/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/font-sizes/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/font-sizes/{with-font-sizes.js.map → with-font-sizes.mjs.map} +0 -0
- /package/build-module/components/global-styles/{advanced-panel.js.map → advanced-panel.mjs.map} +0 -0
- /package/build-module/components/global-styles/{background-panel.js.map → background-panel.mjs.map} +0 -0
- /package/build-module/components/global-styles/{border-panel.js.map → border-panel.mjs.map} +0 -0
- /package/build-module/components/global-styles/{color-panel.js.map → color-panel.mjs.map} +0 -0
- /package/build-module/components/global-styles/{dimensions-panel.js.map → dimensions-panel.mjs.map} +0 -0
- /package/build-module/components/global-styles/{filters-panel.js.map → filters-panel.mjs.map} +0 -0
- /package/build-module/components/global-styles/{image-settings-panel.js.map → image-settings-panel.mjs.map} +0 -0
- /package/build-module/components/global-styles/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/global-styles/{shadow-panel-components.js.map → shadow-panel-components.mjs.map} +0 -0
- /package/build-module/components/global-styles/{typography-utils.js.map → typography-utils.mjs.map} +0 -0
- /package/build-module/components/global-styles/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/gradients/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/gradients/{use-gradient.js.map → use-gradient.mjs.map} +0 -0
- /package/build-module/components/gradients/{with-gradient.js.map → with-gradient.mjs.map} +0 -0
- /package/build-module/components/grid/{grid-item-movers.js.map → grid-item-movers.mjs.map} +0 -0
- /package/build-module/components/grid/{grid-item-resizer.js.map → grid-item-resizer.mjs.map} +0 -0
- /package/build-module/components/grid/{grid-visualizer.js.map → grid-visualizer.mjs.map} +0 -0
- /package/build-module/components/grid/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/grid/{use-get-number-of-blocks-before-cell.js.map → use-get-number-of-blocks-before-cell.mjs.map} +0 -0
- /package/build-module/components/grid/{use-grid-layout-sync.js.map → use-grid-layout-sync.mjs.map} +0 -0
- /package/build-module/components/grid/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/height-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/html-element-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/html-element-control/{messages.js.map → messages.mjs.map} +0 -0
- /package/build-module/components/iframe/{get-compatibility-styles.js.map → get-compatibility-styles.mjs.map} +0 -0
- /package/build-module/components/iframe/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/iframe/{use-scale-canvas.js.map → use-scale-canvas.mjs.map} +0 -0
- /package/build-module/components/image-editor/{aspect-ratio-dropdown.js.map → aspect-ratio-dropdown.mjs.map} +0 -0
- /package/build-module/components/image-editor/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/image-editor/{context.js.map → context.mjs.map} +0 -0
- /package/build-module/components/image-editor/{cropper.js.map → cropper.mjs.map} +0 -0
- /package/build-module/components/image-editor/{form-controls.js.map → form-controls.mjs.map} +0 -0
- /package/build-module/components/image-editor/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/image-editor/{rotation-button.js.map → rotation-button.mjs.map} +0 -0
- /package/build-module/components/image-editor/{use-save-image.js.map → use-save-image.mjs.map} +0 -0
- /package/build-module/components/image-editor/{use-transform-image.js.map → use-transform-image.mjs.map} +0 -0
- /package/build-module/components/image-editor/{zoom-dropdown.js.map → zoom-dropdown.mjs.map} +0 -0
- /package/build-module/components/image-size-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/image-size-control/{use-dimension-handler.js.map → use-dimension-handler.mjs.map} +0 -0
- /package/build-module/components/inner-blocks/{button-block-appender.js.map → button-block-appender.mjs.map} +0 -0
- /package/build-module/components/inner-blocks/{default-block-appender.js.map → default-block-appender.mjs.map} +0 -0
- /package/build-module/components/inner-blocks/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inner-blocks/{use-block-context.js.map → use-block-context.mjs.map} +0 -0
- /package/build-module/components/inner-blocks/{use-inner-block-template-sync.js.map → use-inner-block-template-sync.mjs.map} +0 -0
- /package/build-module/components/inner-blocks/{use-nested-settings-update.js.map → use-nested-settings-update.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-explorer/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-explorer/{pattern-explorer-sidebar.js.map → pattern-explorer-sidebar.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-explorer/{pattern-list.js.map → pattern-list.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-tab/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-tab/{pattern-category-previews.js.map → pattern-category-previews.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-tab/{patterns-filter.js.map → patterns-filter.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-tab/{use-pattern-categories.js.map → use-pattern-categories.mjs.map} +0 -0
- /package/build-module/components/inserter/block-patterns-tab/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/inserter/{block-types-tab.js.map → block-types-tab.mjs.map} +0 -0
- /package/build-module/components/inserter/category-tabs/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter/hooks/{use-block-types-state.js.map → use-block-types-state.mjs.map} +0 -0
- /package/build-module/components/inserter/hooks/{use-insertion-point.js.map → use-insertion-point.mjs.map} +0 -0
- /package/build-module/components/inserter/hooks/{use-patterns-paging.js.map → use-patterns-paging.mjs.map} +0 -0
- /package/build-module/components/inserter/hooks/{use-patterns-state.js.map → use-patterns-state.mjs.map} +0 -0
- /package/build-module/components/inserter/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter/{library.js.map → library.mjs.map} +0 -0
- /package/build-module/components/inserter/media-tab/{hooks.js.map → hooks.mjs.map} +0 -0
- /package/build-module/components/inserter/media-tab/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter/media-tab/{media-list.js.map → media-list.mjs.map} +0 -0
- /package/build-module/components/inserter/media-tab/{media-panel.js.map → media-panel.mjs.map} +0 -0
- /package/build-module/components/inserter/media-tab/{media-preview.js.map → media-preview.mjs.map} +0 -0
- /package/build-module/components/inserter/media-tab/{media-tab.js.map → media-tab.mjs.map} +0 -0
- /package/build-module/components/inserter/media-tab/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/inserter/{menu.js.map → menu.mjs.map} +0 -0
- /package/build-module/components/inserter/{mobile-tab-navigation.js.map → mobile-tab-navigation.mjs.map} +0 -0
- /package/build-module/components/inserter/{no-results.js.map → no-results.mjs.map} +0 -0
- /package/build-module/components/inserter/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/inserter/{preview-panel.js.map → preview-panel.mjs.map} +0 -0
- /package/build-module/components/inserter/{quick-inserter.js.map → quick-inserter.mjs.map} +0 -0
- /package/build-module/components/inserter/{search-items.js.map → search-items.mjs.map} +0 -0
- /package/build-module/components/inserter/{search-results.js.map → search-results.mjs.map} +0 -0
- /package/build-module/components/inserter/{tips.js.map → tips.mjs.map} +0 -0
- /package/build-module/components/inserter-button/{sparkles.js.map → sparkles.mjs.map} +0 -0
- /package/build-module/components/inserter-draggable-blocks/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter-list-item/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter-listbox/{context.js.map → context.mjs.map} +0 -0
- /package/build-module/components/inserter-listbox/{group.js.map → group.mjs.map} +0 -0
- /package/build-module/components/inserter-listbox/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter-listbox/{item.js.map → item.mjs.map} +0 -0
- /package/build-module/components/inserter-listbox/{row.js.map → row.mjs.map} +0 -0
- /package/build-module/components/inserter-menu-extension/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inspector-controls/{block-support-slot-container.js.map → block-support-slot-container.mjs.map} +0 -0
- /package/build-module/components/inspector-controls/{block-support-tools-panel.js.map → block-support-tools-panel.mjs.map} +0 -0
- /package/build-module/components/inspector-controls/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inspector-controls/{slot.js.map → slot.mjs.map} +0 -0
- /package/build-module/components/inspector-controls-tabs/{advanced-controls-panel.js.map → advanced-controls-panel.mjs.map} +0 -0
- /package/build-module/components/inspector-controls-tabs/{position-controls-panel.js.map → position-controls-panel.mjs.map} +0 -0
- /package/build-module/components/inspector-controls-tabs/{settings-tab.js.map → settings-tab.mjs.map} +0 -0
- /package/build-module/components/inspector-controls-tabs/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/inspector-popover-header/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/justify-content-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/justify-content-control/{ui.js.map → ui.mjs.map} +0 -0
- /package/build-module/components/letter-spacing-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/line-height-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/line-height-control/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/link-control/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/link-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/link-control/{is-url-like.js.map → is-url-like.mjs.map} +0 -0
- /package/build-module/components/link-control/{link-preview.js.map → link-preview.mjs.map} +0 -0
- /package/build-module/components/link-control/{search-create-button.js.map → search-create-button.mjs.map} +0 -0
- /package/build-module/components/link-control/{search-input.js.map → search-input.mjs.map} +0 -0
- /package/build-module/components/link-control/{search-item.js.map → search-item.mjs.map} +0 -0
- /package/build-module/components/link-control/{search-results.js.map → search-results.mjs.map} +0 -0
- /package/build-module/components/link-control/{settings-drawer.js.map → settings-drawer.mjs.map} +0 -0
- /package/build-module/components/link-control/{settings.js.map → settings.mjs.map} +0 -0
- /package/build-module/components/link-control/{use-create-page.js.map → use-create-page.mjs.map} +0 -0
- /package/build-module/components/link-control/{use-internal-value.js.map → use-internal-value.mjs.map} +0 -0
- /package/build-module/components/link-control/{use-rich-url-data.js.map → use-rich-url-data.mjs.map} +0 -0
- /package/build-module/components/link-control/{use-search-handler.js.map → use-search-handler.mjs.map} +0 -0
- /package/build-module/components/link-control/{viewer-slot.js.map → viewer-slot.mjs.map} +0 -0
- /package/build-module/components/link-picker/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/link-picker/{link-picker.js.map → link-picker.mjs.map} +0 -0
- /package/build-module/components/link-picker/{link-preview.js.map → link-preview.mjs.map} +0 -0
- /package/build-module/components/list-view/{appender.js.map → appender.mjs.map} +0 -0
- /package/build-module/components/list-view/{aria-referenced-text.js.map → aria-referenced-text.mjs.map} +0 -0
- /package/build-module/components/list-view/{block-contents.js.map → block-contents.mjs.map} +0 -0
- /package/build-module/components/list-view/{block-select-button.js.map → block-select-button.mjs.map} +0 -0
- /package/build-module/components/list-view/{block.js.map → block.mjs.map} +0 -0
- /package/build-module/components/list-view/{branch.js.map → branch.mjs.map} +0 -0
- /package/build-module/components/list-view/{context.js.map → context.mjs.map} +0 -0
- /package/build-module/components/list-view/{drop-indicator.js.map → drop-indicator.mjs.map} +0 -0
- /package/build-module/components/list-view/{expander.js.map → expander.mjs.map} +0 -0
- /package/build-module/components/list-view/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/list-view/{leaf.js.map → leaf.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-block-selection.js.map → use-block-selection.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-clipboard-handler.js.map → use-clipboard-handler.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-list-view-block-indexes.js.map → use-list-view-block-indexes.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-list-view-client-ids.js.map → use-list-view-client-ids.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-list-view-collapse-items.js.map → use-list-view-collapse-items.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-list-view-drop-zone.js.map → use-list-view-drop-zone.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-list-view-expand-selected-item.js.map → use-list-view-expand-selected-item.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-list-view-images.js.map → use-list-view-images.mjs.map} +0 -0
- /package/build-module/components/list-view/{use-list-view-scroll-into-view.js.map → use-list-view-scroll-into-view.mjs.map} +0 -0
- /package/build-module/components/list-view/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/media-placeholder/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/media-placeholder/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/media-upload/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/media-upload/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/media-upload-progress/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/multi-selection-inspector/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/navigable-toolbar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/observe-typing/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/panel-color-settings/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plain-text/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/preset-input-control/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/preset-input-control/{custom-value-controls.js.map → custom-value-controls.mjs.map} +0 -0
- /package/build-module/components/preset-input-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/preset-input-control/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/preview-options/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/provider/{block-refs-provider.js.map → block-refs-provider.mjs.map} +0 -0
- /package/build-module/components/provider/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/provider/{use-block-sync.js.map → use-block-sync.mjs.map} +0 -0
- /package/build-module/components/provider/{use-media-upload-settings.js.map → use-media-upload-settings.mjs.map} +0 -0
- /package/build-module/components/provider/{with-registry-provider.js.map → with-registry-provider.mjs.map} +0 -0
- /package/build-module/components/publish-date-time-picker/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/recursion-provider/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/resizable-box-popover/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/resolution-tool/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/responsive-block-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/responsive-block-control/{label.js.map → label.mjs.map} +0 -0
- /package/build-module/components/rich-text/{content.js.map → content.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{before-input-rules.js.map → before-input-rules.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{delete.js.map → delete.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{enter.js.map → enter.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{firefox-compat.js.map → firefox-compat.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{input-events.js.map → input-events.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{input-rules.js.map → input-rules.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{insert-replacement-text.js.map → insert-replacement-text.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{paste-handler.js.map → paste-handler.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{remove-browser-shortcuts.js.map → remove-browser-shortcuts.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{shortcuts.js.map → shortcuts.mjs.map} +0 -0
- /package/build-module/components/rich-text/event-listeners/{undo-automatic-change.js.map → undo-automatic-change.mjs.map} +0 -0
- /package/build-module/components/rich-text/{format-edit.js.map → format-edit.mjs.map} +0 -0
- /package/build-module/components/rich-text/format-toolbar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/rich-text/{format-toolbar-container.js.map → format-toolbar-container.mjs.map} +0 -0
- /package/build-module/components/rich-text/{get-rich-text-values.js.map → get-rich-text-values.mjs.map} +0 -0
- /package/build-module/components/rich-text/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/rich-text/{input-event.js.map → input-event.mjs.map} +0 -0
- /package/build-module/components/rich-text/{multiline.js.map → multiline.mjs.map} +0 -0
- /package/build-module/components/rich-text/native/{format-edit.js.map → format-edit.mjs.map} +0 -0
- /package/build-module/components/rich-text/native/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/rich-text/native/{use-format-types.js.map → use-format-types.mjs.map} +0 -0
- /package/build-module/components/rich-text/{prevent-event-discovery.js.map → prevent-event-discovery.mjs.map} +0 -0
- /package/build-module/components/rich-text/{shortcut.js.map → shortcut.mjs.map} +0 -0
- /package/build-module/components/rich-text/{toolbar-button.js.map → toolbar-button.mjs.map} +0 -0
- /package/build-module/components/rich-text/{use-format-types.js.map → use-format-types.mjs.map} +0 -0
- /package/build-module/components/rich-text/{use-mark-persistent.js.map → use-mark-persistent.mjs.map} +0 -0
- /package/build-module/components/rich-text/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/rich-text/{with-deprecations.js.map → with-deprecations.mjs.map} +0 -0
- /package/build-module/components/selection-scroll-into-view/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/skip-to-selected-block/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/hooks/{use-spacing-sizes.js.map → use-spacing-sizes.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/input-controls/{axial.js.map → axial.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/input-controls/{separated.js.map → separated.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/input-controls/{single.js.map → single.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/input-controls/{spacing-input-control.js.map → spacing-input-control.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/{linked-button.js.map → linked-button.mjs.map} +0 -0
- /package/build-module/components/spacing-sizes-control/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/tabbed-sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/text-alignment-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/text-decoration-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/text-transform-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/tool-selector/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/typewriter/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/unit-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/url-input/{button.js.map → button.mjs.map} +0 -0
- /package/build-module/components/url-input/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/url-popover/{image-url-input-ui.js.map → image-url-input-ui.mjs.map} +0 -0
- /package/build-module/components/url-popover/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/url-popover/{link-editor.js.map → link-editor.mjs.map} +0 -0
- /package/build-module/components/url-popover/{link-viewer-url.js.map → link-viewer-url.mjs.map} +0 -0
- /package/build-module/components/url-popover/{link-viewer.js.map → link-viewer.mjs.map} +0 -0
- /package/build-module/components/use-block-commands/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/use-block-display-information/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/use-block-drop-zone/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/use-flash-editable-blocks/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/use-moving-animation/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/use-on-block-drop/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/use-on-block-drop/{types.js.map → types.mjs.map} +0 -0
- /package/build-module/components/use-paste-styles/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/use-settings/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/warning/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-arrow-nav.js.map → use-arrow-nav.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-click-selection.js.map → use-click-selection.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-clipboard-handler.js.map → use-clipboard-handler.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-drag-selection.js.map → use-drag-selection.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-input.js.map → use-input.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-multi-selection.js.map → use-multi-selection.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-select-all.js.map → use-select-all.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-selection-observer.js.map → use-selection-observer.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{use-tab-nav.js.map → use-tab-nav.mjs.map} +0 -0
- /package/build-module/components/writing-flow/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/writing-mode-control/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/elements/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/hooks/{align.js.map → align.mjs.map} +0 -0
- /package/build-module/hooks/{allowed-blocks.js.map → allowed-blocks.mjs.map} +0 -0
- /package/build-module/hooks/{anchor.js.map → anchor.mjs.map} +0 -0
- /package/build-module/hooks/{aria-label.js.map → aria-label.mjs.map} +0 -0
- /package/build-module/hooks/{background.js.map → background.mjs.map} +0 -0
- /package/build-module/hooks/{block-bindings.js.map → block-bindings.mjs.map} +0 -0
- /package/build-module/hooks/{block-hooks.js.map → block-hooks.mjs.map} +0 -0
- /package/build-module/hooks/{block-renaming.js.map → block-renaming.mjs.map} +0 -0
- /package/build-module/hooks/{block-style-variation.js.map → block-style-variation.mjs.map} +0 -0
- /package/build-module/hooks/{border.js.map → border.mjs.map} +0 -0
- /package/build-module/hooks/{color.js.map → color.mjs.map} +0 -0
- /package/build-module/hooks/{compat.js.map → compat.mjs.map} +0 -0
- /package/build-module/hooks/{content-lock-ui.js.map → content-lock-ui.mjs.map} +0 -0
- /package/build-module/hooks/{contrast-checker.js.map → contrast-checker.mjs.map} +0 -0
- /package/build-module/hooks/{custom-class-name.js.map → custom-class-name.mjs.map} +0 -0
- /package/build-module/hooks/{dimensions.js.map → dimensions.mjs.map} +0 -0
- /package/build-module/hooks/{duotone.js.map → duotone.mjs.map} +0 -0
- /package/build-module/hooks/{font-family.js.map → font-family.mjs.map} +0 -0
- /package/build-module/hooks/{font-size.js.map → font-size.mjs.map} +0 -0
- /package/build-module/hooks/{gap.js.map → gap.mjs.map} +0 -0
- /package/build-module/hooks/{generated-class-name.js.map → generated-class-name.mjs.map} +0 -0
- /package/build-module/hooks/{grid-visualizer.js.map → grid-visualizer.mjs.map} +0 -0
- /package/build-module/hooks/{layout-child.js.map → layout-child.mjs.map} +0 -0
- /package/build-module/hooks/{layout.js.map → layout.mjs.map} +0 -0
- /package/build-module/hooks/{line-height.js.map → line-height.mjs.map} +0 -0
- /package/build-module/hooks/{lock.js.map → lock.mjs.map} +0 -0
- /package/build-module/hooks/{metadata.js.map → metadata.mjs.map} +0 -0
- /package/build-module/hooks/{position.js.map → position.mjs.map} +0 -0
- /package/build-module/hooks/{settings.js.map → settings.mjs.map} +0 -0
- /package/build-module/hooks/{spacing-visualizer.js.map → spacing-visualizer.mjs.map} +0 -0
- /package/build-module/hooks/{style.js.map → style.mjs.map} +0 -0
- /package/build-module/hooks/{supports.js.map → supports.mjs.map} +0 -0
- /package/build-module/hooks/{text-align.js.map → text-align.mjs.map} +0 -0
- /package/build-module/hooks/{use-border-props.js.map → use-border-props.mjs.map} +0 -0
- /package/build-module/hooks/{use-cached-truthy.js.map → use-cached-truthy.mjs.map} +0 -0
- /package/build-module/hooks/{use-color-props.js.map → use-color-props.mjs.map} +0 -0
- /package/build-module/hooks/{use-content-only-section-edit.js.map → use-content-only-section-edit.mjs.map} +0 -0
- /package/build-module/hooks/{use-shadow-props.js.map → use-shadow-props.mjs.map} +0 -0
- /package/build-module/hooks/{use-spacing-props.js.map → use-spacing-props.mjs.map} +0 -0
- /package/build-module/hooks/{use-typography-props.js.map → use-typography-props.mjs.map} +0 -0
- /package/build-module/hooks/{use-zoom-out.js.map → use-zoom-out.mjs.map} +0 -0
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/layouts/{constrained.js.map → constrained.mjs.map} +0 -0
- /package/build-module/layouts/{definitions.js.map → definitions.mjs.map} +0 -0
- /package/build-module/layouts/{flex.js.map → flex.mjs.map} +0 -0
- /package/build-module/layouts/{flow.js.map → flow.mjs.map} +0 -0
- /package/build-module/layouts/{grid.js.map → grid.mjs.map} +0 -0
- /package/build-module/layouts/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/layouts/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
- /package/build-module/store/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/store/{array.js.map → array.mjs.map} +0 -0
- /package/build-module/store/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/store/{defaults.js.map → defaults.mjs.map} +0 -0
- /package/build-module/store/{get-block-settings.js.map → get-block-settings.mjs.map} +0 -0
- /package/build-module/store/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/store/{private-actions.js.map → private-actions.mjs.map} +0 -0
- /package/build-module/store/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/store/{selectors.js.map → selectors.mjs.map} +0 -0
- /package/build-module/store/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/utils/{block-bindings.js.map → block-bindings.mjs.map} +0 -0
- /package/build-module/utils/{dom.js.map → dom.mjs.map} +0 -0
- /package/build-module/utils/{fit-text-frontend.js.map → fit-text-frontend.mjs.map} +0 -0
- /package/build-module/utils/{fit-text-utils.js.map → fit-text-utils.mjs.map} +0 -0
- /package/build-module/utils/{format-font-style.js.map → format-font-style.mjs.map} +0 -0
- /package/build-module/utils/{format-font-weight.js.map → format-font-weight.mjs.map} +0 -0
- /package/build-module/utils/{get-editor-region.js.map → get-editor-region.mjs.map} +0 -0
- /package/build-module/utils/{get-font-styles-and-weights.js.map → get-font-styles-and-weights.mjs.map} +0 -0
- /package/build-module/utils/{get-px-from-css-unit.js.map → get-px-from-css-unit.mjs.map} +0 -0
- /package/build-module/utils/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/utils/{math.js.map → math.mjs.map} +0 -0
- /package/build-module/utils/{object.js.map → object.mjs.map} +0 -0
- /package/build-module/utils/{order-inserter-block-items.js.map → order-inserter-block-items.mjs.map} +0 -0
- /package/build-module/utils/{pasting.js.map → pasting.mjs.map} +0 -0
- /package/build-module/utils/{selection.js.map → selection.mjs.map} +0 -0
- /package/build-module/utils/{sorting.js.map → sorting.mjs.map} +0 -0
- /package/build-module/utils/transform-styles/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/utils/{use-notify-copy.js.map → use-notify-copy.mjs.map} +0 -0
- /package/src/{components/content-only-controls → hooks/block-fields}/link/styles.scss +0 -0
- /package/src/{components/content-only-controls → hooks/block-fields}/rich-text/styles.scss +0 -0
- /package/src/{components/content-only-controls → hooks/block-fields}/use-inspector-popover-placement.js +0 -0
|
@@ -33,13 +33,13 @@ __export(block_toolbar_popover_exports, {
|
|
|
33
33
|
default: () => BlockToolbarPopover
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(block_toolbar_popover_exports);
|
|
36
|
-
var import_clsx = __toESM(require("clsx")
|
|
36
|
+
var import_clsx = __toESM(require("clsx"));
|
|
37
37
|
var import_data = require("@wordpress/data");
|
|
38
38
|
var import_element = require("@wordpress/element");
|
|
39
39
|
var import_keyboard_shortcuts = require("@wordpress/keyboard-shortcuts");
|
|
40
40
|
var import_block_popover = require("../block-popover/index.cjs");
|
|
41
|
-
var import_use_block_toolbar_popover_props = __toESM(require("./use-block-toolbar-popover-props.cjs")
|
|
42
|
-
var import_use_selected_block_tool_props = __toESM(require("./use-selected-block-tool-props.cjs")
|
|
41
|
+
var import_use_block_toolbar_popover_props = __toESM(require("./use-block-toolbar-popover-props.cjs"));
|
|
42
|
+
var import_use_selected_block_tool_props = __toESM(require("./use-selected-block-tool-props.cjs"));
|
|
43
43
|
var import_store = require("../../store/index.cjs");
|
|
44
44
|
var import_block_toolbar = require("../block-toolbar/index.cjs");
|
|
45
45
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -33,11 +33,11 @@ __export(empty_block_inserter_exports, {
|
|
|
33
33
|
default: () => EmptyBlockInserter
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(empty_block_inserter_exports);
|
|
36
|
-
var import_clsx = __toESM(require("clsx")
|
|
37
|
-
var import_cover = __toESM(require("../block-popover/cover.cjs")
|
|
38
|
-
var import_use_block_toolbar_popover_props = __toESM(require("./use-block-toolbar-popover-props.cjs")
|
|
39
|
-
var import_inserter = __toESM(require("../inserter/index.cjs")
|
|
40
|
-
var import_use_selected_block_tool_props = __toESM(require("./use-selected-block-tool-props.cjs")
|
|
36
|
+
var import_clsx = __toESM(require("clsx"));
|
|
37
|
+
var import_cover = __toESM(require("../block-popover/cover.cjs"));
|
|
38
|
+
var import_use_block_toolbar_popover_props = __toESM(require("./use-block-toolbar-popover-props.cjs"));
|
|
39
|
+
var import_inserter = __toESM(require("../inserter/index.cjs"));
|
|
40
|
+
var import_use_selected_block_tool_props = __toESM(require("./use-selected-block-tool-props.cjs"));
|
|
41
41
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
42
|
function EmptyBlockInserter({
|
|
43
43
|
clientId,
|
|
@@ -33,7 +33,7 @@ __export(block_tools_exports, {
|
|
|
33
33
|
default: () => BlockTools
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(block_tools_exports);
|
|
36
|
-
var import_clsx = __toESM(require("clsx")
|
|
36
|
+
var import_clsx = __toESM(require("clsx"));
|
|
37
37
|
var import_data = require("@wordpress/data");
|
|
38
38
|
var import_dom = require("@wordpress/dom");
|
|
39
39
|
var import_components = require("@wordpress/components");
|
|
@@ -42,16 +42,16 @@ var import_element = require("@wordpress/element");
|
|
|
42
42
|
var import_blocks = require("@wordpress/blocks");
|
|
43
43
|
var import_a11y = require("@wordpress/a11y");
|
|
44
44
|
var import_i18n = require("@wordpress/i18n");
|
|
45
|
-
var import_empty_block_inserter = __toESM(require("./empty-block-inserter.cjs")
|
|
46
|
-
var import_insertion_point = __toESM(require("./insertion-point.cjs")
|
|
47
|
-
var import_block_toolbar_popover = __toESM(require("./block-toolbar-popover.cjs")
|
|
45
|
+
var import_empty_block_inserter = __toESM(require("./empty-block-inserter.cjs"));
|
|
46
|
+
var import_insertion_point = __toESM(require("./insertion-point.cjs"));
|
|
47
|
+
var import_block_toolbar_popover = __toESM(require("./block-toolbar-popover.cjs"));
|
|
48
48
|
var import_store = require("../../store/index.cjs");
|
|
49
|
-
var import_use_popover_scroll = __toESM(require("../block-popover/use-popover-scroll.cjs")
|
|
50
|
-
var import_zoom_out_mode_inserters = __toESM(require("./zoom-out-mode-inserters.cjs")
|
|
49
|
+
var import_use_popover_scroll = __toESM(require("../block-popover/use-popover-scroll.cjs"));
|
|
50
|
+
var import_zoom_out_mode_inserters = __toESM(require("./zoom-out-mode-inserters.cjs"));
|
|
51
51
|
var import_use_show_block_tools = require("./use-show-block-tools.cjs");
|
|
52
52
|
var import_lock_unlock = require("../../lock-unlock.cjs");
|
|
53
53
|
var import_utils = require("../../hooks/utils.cjs");
|
|
54
|
-
var import_use_paste_styles = __toESM(require("../use-paste-styles/index.cjs")
|
|
54
|
+
var import_use_paste_styles = __toESM(require("../use-paste-styles/index.cjs"));
|
|
55
55
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
56
56
|
function selector(select) {
|
|
57
57
|
const {
|
|
@@ -34,15 +34,15 @@ __export(insertion_point_exports, {
|
|
|
34
34
|
default: () => InsertionPoint
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(insertion_point_exports);
|
|
37
|
-
var import_clsx = __toESM(require("clsx")
|
|
37
|
+
var import_clsx = __toESM(require("clsx"));
|
|
38
38
|
var import_data = require("@wordpress/data");
|
|
39
39
|
var import_element = require("@wordpress/element");
|
|
40
40
|
var import_components = require("@wordpress/components");
|
|
41
41
|
var import_compose = require("@wordpress/compose");
|
|
42
|
-
var import_inserter = __toESM(require("../inserter/index.cjs")
|
|
42
|
+
var import_inserter = __toESM(require("../inserter/index.cjs"));
|
|
43
43
|
var import_store = require("../../store/index.cjs");
|
|
44
|
-
var import_inbetween = __toESM(require("../block-popover/inbetween.cjs")
|
|
45
|
-
var import_drop_zone = __toESM(require("../block-popover/drop-zone.cjs")
|
|
44
|
+
var import_inbetween = __toESM(require("../block-popover/inbetween.cjs"));
|
|
45
|
+
var import_drop_zone = __toESM(require("../block-popover/drop-zone.cjs"));
|
|
46
46
|
var import_lock_unlock = require("../../lock-unlock.cjs");
|
|
47
47
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
48
48
|
var InsertionPointOpenRef = (0, import_element.createContext)();
|
|
@@ -33,7 +33,7 @@ __export(zoom_out_mode_inserter_button_exports, {
|
|
|
33
33
|
default: () => zoom_out_mode_inserter_button_default
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(zoom_out_mode_inserter_button_exports);
|
|
36
|
-
var import_clsx = __toESM(require("clsx")
|
|
36
|
+
var import_clsx = __toESM(require("clsx"));
|
|
37
37
|
var import_components = require("@wordpress/components");
|
|
38
38
|
var import_icons = require("@wordpress/icons");
|
|
39
39
|
var import_i18n = require("@wordpress/i18n");
|
|
@@ -35,8 +35,8 @@ __export(zoom_out_mode_inserters_exports, {
|
|
|
35
35
|
module.exports = __toCommonJS(zoom_out_mode_inserters_exports);
|
|
36
36
|
var import_data = require("@wordpress/data");
|
|
37
37
|
var import_element = require("@wordpress/element");
|
|
38
|
-
var import_inbetween = __toESM(require("../block-popover/inbetween.cjs")
|
|
39
|
-
var import_zoom_out_mode_inserter_button = __toESM(require("./zoom-out-mode-inserter-button.cjs")
|
|
38
|
+
var import_inbetween = __toESM(require("../block-popover/inbetween.cjs"));
|
|
39
|
+
var import_zoom_out_mode_inserter_button = __toESM(require("./zoom-out-mode-inserter-button.cjs"));
|
|
40
40
|
var import_store = require("../../store/index.cjs");
|
|
41
41
|
var import_lock_unlock = require("../../lock-unlock.cjs");
|
|
42
42
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -35,7 +35,7 @@ __export(block_types_list_exports, {
|
|
|
35
35
|
module.exports = __toCommonJS(block_types_list_exports);
|
|
36
36
|
var import_blocks = require("@wordpress/blocks");
|
|
37
37
|
var import_compose = require("@wordpress/compose");
|
|
38
|
-
var import_inserter_list_item = __toESM(require("../inserter-list-item/index.cjs")
|
|
38
|
+
var import_inserter_list_item = __toESM(require("../inserter-list-item/index.cjs"));
|
|
39
39
|
var import_inserter_listbox = require("../inserter-listbox/index.cjs");
|
|
40
40
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
41
41
|
function chunk(array, size) {
|
|
@@ -33,7 +33,7 @@ __export(block_variation_picker_exports, {
|
|
|
33
33
|
default: () => block_variation_picker_default
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(block_variation_picker_exports);
|
|
36
|
-
var import_clsx = __toESM(require("clsx")
|
|
36
|
+
var import_clsx = __toESM(require("clsx"));
|
|
37
37
|
var import_i18n = require("@wordpress/i18n");
|
|
38
38
|
var import_components = require("@wordpress/components");
|
|
39
39
|
var import_icons = require("@wordpress/icons");
|
|
@@ -38,7 +38,7 @@ var import_i18n = require("@wordpress/i18n");
|
|
|
38
38
|
var import_components = require("@wordpress/components");
|
|
39
39
|
var import_data = require("@wordpress/data");
|
|
40
40
|
var import_element = require("@wordpress/element");
|
|
41
|
-
var import_block_icon = __toESM(require("../block-icon/index.cjs")
|
|
41
|
+
var import_block_icon = __toESM(require("../block-icon/index.cjs"));
|
|
42
42
|
var import_store = require("../../store/index.cjs");
|
|
43
43
|
var import_lock_unlock = require("../../lock-unlock.cjs");
|
|
44
44
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -189,7 +189,7 @@ function __experimentalBlockVariationTransforms({ blockClientId }) {
|
|
|
189
189
|
return null;
|
|
190
190
|
}
|
|
191
191
|
const baseClass = "block-editor-block-variation-transforms";
|
|
192
|
-
const showButtons = variations.length >
|
|
192
|
+
const showButtons = variations.length > 6;
|
|
193
193
|
const ButtonComponent = showButtons ? VariationsButtons : VariationsToggleGroupControl;
|
|
194
194
|
const Component = hasUniqueIcons ? ButtonComponent : VariationsDropdown;
|
|
195
195
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/block-variation-transforms/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { store as blocksStore } from '@wordpress/blocks';\nimport { __, sprintf } from '@wordpress/i18n';\nimport {\n\tButton,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOptionIcon as ToggleGroupControlOptionIcon,\n\tVisuallyHidden,\n\tprivateApis as componentsPrivateApis,\n} from '@wordpress/components';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { useMemo } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport BlockIcon from '../block-icon';\nimport { store as blockEditorStore } from '../../store';\nimport { unlock } from '../../lock-unlock';\n\nconst { Menu } = unlock( componentsPrivateApis );\n\nfunction VariationsButtons( {\n\tclassName,\n\tonSelectVariation,\n\tselectedValue,\n\tvariations,\n} ) {\n\treturn (\n\t\t<fieldset className={ className }>\n\t\t\t<VisuallyHidden as=\"legend\">\n\t\t\t\t{ __( 'Transform to variation' ) }\n\t\t\t</VisuallyHidden>\n\t\t\t{ variations.map( ( variation ) => (\n\t\t\t\t<Button\n\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\tsize=\"compact\"\n\t\t\t\t\tkey={ variation.name }\n\t\t\t\t\ticon={ <BlockIcon icon={ variation.icon } showColors /> }\n\t\t\t\t\tisPressed={ selectedValue === variation.name }\n\t\t\t\t\tlabel={\n\t\t\t\t\t\tselectedValue === variation.name\n\t\t\t\t\t\t\t? variation.title\n\t\t\t\t\t\t\t: sprintf(\n\t\t\t\t\t\t\t\t\t/* translators: %s: Block or block variation name. */\n\t\t\t\t\t\t\t\t\t__( 'Transform to %s' ),\n\t\t\t\t\t\t\t\t\tvariation.title\n\t\t\t\t\t\t\t )\n\t\t\t\t\t}\n\t\t\t\t\tonClick={ () => onSelectVariation( variation.name ) }\n\t\t\t\t\taria-label={ variation.title }\n\t\t\t\t\tshowTooltip\n\t\t\t\t/>\n\t\t\t) ) }\n\t\t</fieldset>\n\t);\n}\n\nfunction VariationsDropdown( {\n\tclassName,\n\tonSelectVariation,\n\tselectedValue,\n\tvariations,\n} ) {\n\treturn (\n\t\t<div className={ className }>\n\t\t\t<Menu>\n\t\t\t\t<Menu.TriggerButton\n\t\t\t\t\trender={\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tclassName=\"block-editor-block-variation-transforms__button\"\n\t\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ __( 'Transform to variation' ) }\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t\t<Menu.Popover position=\"bottom\">\n\t\t\t\t\t<Menu.Group>\n\t\t\t\t\t\t{ variations.map( ( variation ) => (\n\t\t\t\t\t\t\t<Menu.RadioItem\n\t\t\t\t\t\t\t\tkey={ variation.name }\n\t\t\t\t\t\t\t\tvalue={ variation.name }\n\t\t\t\t\t\t\t\tchecked={ selectedValue === variation.name }\n\t\t\t\t\t\t\t\tonChange={ () =>\n\t\t\t\t\t\t\t\t\tonSelectVariation( variation.name )\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Menu.ItemLabel>\n\t\t\t\t\t\t\t\t\t{ variation.title }\n\t\t\t\t\t\t\t\t</Menu.ItemLabel>\n\t\t\t\t\t\t\t\t{ variation.description && (\n\t\t\t\t\t\t\t\t\t<Menu.ItemHelpText>\n\t\t\t\t\t\t\t\t\t\t{ variation.description }\n\t\t\t\t\t\t\t\t\t</Menu.ItemHelpText>\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t</Menu.RadioItem>\n\t\t\t\t\t\t) ) }\n\t\t\t\t\t</Menu.Group>\n\t\t\t\t</Menu.Popover>\n\t\t\t</Menu>\n\t\t</div>\n\t);\n}\n\nfunction VariationsToggleGroupControl( {\n\tclassName,\n\tonSelectVariation,\n\tselectedValue,\n\tvariations,\n} ) {\n\treturn (\n\t\t<div className={ className }>\n\t\t\t<ToggleGroupControl\n\t\t\t\tlabel={ __( 'Transform to variation' ) }\n\t\t\t\tvalue={ selectedValue }\n\t\t\t\thideLabelFromVision\n\t\t\t\tonChange={ onSelectVariation }\n\t\t\t\t__next40pxDefaultSize\n\t\t\t>\n\t\t\t\t{ variations.map( ( variation ) => (\n\t\t\t\t\t<ToggleGroupControlOptionIcon\n\t\t\t\t\t\tkey={ variation.name }\n\t\t\t\t\t\ticon={\n\t\t\t\t\t\t\t<BlockIcon icon={ variation.icon } showColors />\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvalue={ variation.name }\n\t\t\t\t\t\tlabel={\n\t\t\t\t\t\t\tselectedValue === variation.name\n\t\t\t\t\t\t\t\t? variation.title\n\t\t\t\t\t\t\t\t: sprintf(\n\t\t\t\t\t\t\t\t\t\t/* translators: %s: Block or block variation name. */\n\t\t\t\t\t\t\t\t\t\t__( 'Transform to %s' ),\n\t\t\t\t\t\t\t\t\t\tvariation.title\n\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t) ) }\n\t\t\t</ToggleGroupControl>\n\t\t</div>\n\t);\n}\n\nfunction __experimentalBlockVariationTransforms( { blockClientId } ) {\n\tconst { updateBlockAttributes } = useDispatch( blockEditorStore );\n\tconst { activeBlockVariation, variations, isContentOnly, isSection } =\n\t\tuseSelect(\n\t\t\t( select ) => {\n\t\t\t\tconst { getActiveBlockVariation, getBlockVariations } =\n\t\t\t\t\tselect( blocksStore );\n\n\t\t\t\tconst {\n\t\t\t\t\tgetBlockName,\n\t\t\t\t\tgetBlockAttributes,\n\t\t\t\t\tgetBlockEditingMode,\n\t\t\t\t\tisSectionBlock,\n\t\t\t\t} = unlock( select( blockEditorStore ) );\n\n\t\t\t\tconst name = blockClientId && getBlockName( blockClientId );\n\n\t\t\t\tconst { hasContentRoleAttribute } = unlock(\n\t\t\t\t\tselect( blocksStore )\n\t\t\t\t);\n\t\t\t\tconst isContentBlock = hasContentRoleAttribute( name );\n\n\t\t\t\treturn {\n\t\t\t\t\tactiveBlockVariation: getActiveBlockVariation(\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tgetBlockAttributes( blockClientId ),\n\t\t\t\t\t\t'transform'\n\t\t\t\t\t),\n\t\t\t\t\tvariations: name && getBlockVariations( name, 'transform' ),\n\t\t\t\t\tisContentOnly:\n\t\t\t\t\t\tgetBlockEditingMode( blockClientId ) ===\n\t\t\t\t\t\t\t'contentOnly' && ! isContentBlock,\n\t\t\t\t\tisSection: isSectionBlock( blockClientId ),\n\t\t\t\t};\n\t\t\t},\n\t\t\t[ blockClientId ]\n\t\t);\n\n\tconst selectedValue = activeBlockVariation?.name;\n\n\t// Check if each variation has a unique icon.\n\tconst hasUniqueIcons = useMemo( () => {\n\t\tconst variationIcons = new Set();\n\t\tif ( ! variations ) {\n\t\t\treturn false;\n\t\t}\n\t\tvariations.forEach( ( variation ) => {\n\t\t\tif ( variation.icon ) {\n\t\t\t\tvariationIcons.add( variation.icon?.src || variation.icon );\n\t\t\t}\n\t\t} );\n\t\treturn variationIcons.size === variations.length;\n\t}, [ variations ] );\n\n\tconst onSelectVariation = ( variationName ) => {\n\t\tupdateBlockAttributes( blockClientId, {\n\t\t\t...variations.find( ( { name } ) => name === variationName )\n\t\t\t\t.attributes,\n\t\t} );\n\t};\n\n\tconst hideVariationsForSections =\n\t\twindow?.__experimentalContentOnlyPatternInsertion && isSection;\n\n\tif ( ! variations?.length || isContentOnly || hideVariationsForSections ) {\n\t\treturn null;\n\t}\n\n\tconst baseClass = 'block-editor-block-variation-transforms';\n\n\t// Show buttons if there are more than
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { store as blocksStore } from '@wordpress/blocks';\nimport { __, sprintf } from '@wordpress/i18n';\nimport {\n\tButton,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOptionIcon as ToggleGroupControlOptionIcon,\n\tVisuallyHidden,\n\tprivateApis as componentsPrivateApis,\n} from '@wordpress/components';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { useMemo } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport BlockIcon from '../block-icon';\nimport { store as blockEditorStore } from '../../store';\nimport { unlock } from '../../lock-unlock';\n\nconst { Menu } = unlock( componentsPrivateApis );\n\nfunction VariationsButtons( {\n\tclassName,\n\tonSelectVariation,\n\tselectedValue,\n\tvariations,\n} ) {\n\treturn (\n\t\t<fieldset className={ className }>\n\t\t\t<VisuallyHidden as=\"legend\">\n\t\t\t\t{ __( 'Transform to variation' ) }\n\t\t\t</VisuallyHidden>\n\t\t\t{ variations.map( ( variation ) => (\n\t\t\t\t<Button\n\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\tsize=\"compact\"\n\t\t\t\t\tkey={ variation.name }\n\t\t\t\t\ticon={ <BlockIcon icon={ variation.icon } showColors /> }\n\t\t\t\t\tisPressed={ selectedValue === variation.name }\n\t\t\t\t\tlabel={\n\t\t\t\t\t\tselectedValue === variation.name\n\t\t\t\t\t\t\t? variation.title\n\t\t\t\t\t\t\t: sprintf(\n\t\t\t\t\t\t\t\t\t/* translators: %s: Block or block variation name. */\n\t\t\t\t\t\t\t\t\t__( 'Transform to %s' ),\n\t\t\t\t\t\t\t\t\tvariation.title\n\t\t\t\t\t\t\t )\n\t\t\t\t\t}\n\t\t\t\t\tonClick={ () => onSelectVariation( variation.name ) }\n\t\t\t\t\taria-label={ variation.title }\n\t\t\t\t\tshowTooltip\n\t\t\t\t/>\n\t\t\t) ) }\n\t\t</fieldset>\n\t);\n}\n\nfunction VariationsDropdown( {\n\tclassName,\n\tonSelectVariation,\n\tselectedValue,\n\tvariations,\n} ) {\n\treturn (\n\t\t<div className={ className }>\n\t\t\t<Menu>\n\t\t\t\t<Menu.TriggerButton\n\t\t\t\t\trender={\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tclassName=\"block-editor-block-variation-transforms__button\"\n\t\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ __( 'Transform to variation' ) }\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t\t<Menu.Popover position=\"bottom\">\n\t\t\t\t\t<Menu.Group>\n\t\t\t\t\t\t{ variations.map( ( variation ) => (\n\t\t\t\t\t\t\t<Menu.RadioItem\n\t\t\t\t\t\t\t\tkey={ variation.name }\n\t\t\t\t\t\t\t\tvalue={ variation.name }\n\t\t\t\t\t\t\t\tchecked={ selectedValue === variation.name }\n\t\t\t\t\t\t\t\tonChange={ () =>\n\t\t\t\t\t\t\t\t\tonSelectVariation( variation.name )\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<Menu.ItemLabel>\n\t\t\t\t\t\t\t\t\t{ variation.title }\n\t\t\t\t\t\t\t\t</Menu.ItemLabel>\n\t\t\t\t\t\t\t\t{ variation.description && (\n\t\t\t\t\t\t\t\t\t<Menu.ItemHelpText>\n\t\t\t\t\t\t\t\t\t\t{ variation.description }\n\t\t\t\t\t\t\t\t\t</Menu.ItemHelpText>\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t</Menu.RadioItem>\n\t\t\t\t\t\t) ) }\n\t\t\t\t\t</Menu.Group>\n\t\t\t\t</Menu.Popover>\n\t\t\t</Menu>\n\t\t</div>\n\t);\n}\n\nfunction VariationsToggleGroupControl( {\n\tclassName,\n\tonSelectVariation,\n\tselectedValue,\n\tvariations,\n} ) {\n\treturn (\n\t\t<div className={ className }>\n\t\t\t<ToggleGroupControl\n\t\t\t\tlabel={ __( 'Transform to variation' ) }\n\t\t\t\tvalue={ selectedValue }\n\t\t\t\thideLabelFromVision\n\t\t\t\tonChange={ onSelectVariation }\n\t\t\t\t__next40pxDefaultSize\n\t\t\t>\n\t\t\t\t{ variations.map( ( variation ) => (\n\t\t\t\t\t<ToggleGroupControlOptionIcon\n\t\t\t\t\t\tkey={ variation.name }\n\t\t\t\t\t\ticon={\n\t\t\t\t\t\t\t<BlockIcon icon={ variation.icon } showColors />\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvalue={ variation.name }\n\t\t\t\t\t\tlabel={\n\t\t\t\t\t\t\tselectedValue === variation.name\n\t\t\t\t\t\t\t\t? variation.title\n\t\t\t\t\t\t\t\t: sprintf(\n\t\t\t\t\t\t\t\t\t\t/* translators: %s: Block or block variation name. */\n\t\t\t\t\t\t\t\t\t\t__( 'Transform to %s' ),\n\t\t\t\t\t\t\t\t\t\tvariation.title\n\t\t\t\t\t\t\t\t )\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t) ) }\n\t\t\t</ToggleGroupControl>\n\t\t</div>\n\t);\n}\n\nfunction __experimentalBlockVariationTransforms( { blockClientId } ) {\n\tconst { updateBlockAttributes } = useDispatch( blockEditorStore );\n\tconst { activeBlockVariation, variations, isContentOnly, isSection } =\n\t\tuseSelect(\n\t\t\t( select ) => {\n\t\t\t\tconst { getActiveBlockVariation, getBlockVariations } =\n\t\t\t\t\tselect( blocksStore );\n\n\t\t\t\tconst {\n\t\t\t\t\tgetBlockName,\n\t\t\t\t\tgetBlockAttributes,\n\t\t\t\t\tgetBlockEditingMode,\n\t\t\t\t\tisSectionBlock,\n\t\t\t\t} = unlock( select( blockEditorStore ) );\n\n\t\t\t\tconst name = blockClientId && getBlockName( blockClientId );\n\n\t\t\t\tconst { hasContentRoleAttribute } = unlock(\n\t\t\t\t\tselect( blocksStore )\n\t\t\t\t);\n\t\t\t\tconst isContentBlock = hasContentRoleAttribute( name );\n\n\t\t\t\treturn {\n\t\t\t\t\tactiveBlockVariation: getActiveBlockVariation(\n\t\t\t\t\t\tname,\n\t\t\t\t\t\tgetBlockAttributes( blockClientId ),\n\t\t\t\t\t\t'transform'\n\t\t\t\t\t),\n\t\t\t\t\tvariations: name && getBlockVariations( name, 'transform' ),\n\t\t\t\t\tisContentOnly:\n\t\t\t\t\t\tgetBlockEditingMode( blockClientId ) ===\n\t\t\t\t\t\t\t'contentOnly' && ! isContentBlock,\n\t\t\t\t\tisSection: isSectionBlock( blockClientId ),\n\t\t\t\t};\n\t\t\t},\n\t\t\t[ blockClientId ]\n\t\t);\n\n\tconst selectedValue = activeBlockVariation?.name;\n\n\t// Check if each variation has a unique icon.\n\tconst hasUniqueIcons = useMemo( () => {\n\t\tconst variationIcons = new Set();\n\t\tif ( ! variations ) {\n\t\t\treturn false;\n\t\t}\n\t\tvariations.forEach( ( variation ) => {\n\t\t\tif ( variation.icon ) {\n\t\t\t\tvariationIcons.add( variation.icon?.src || variation.icon );\n\t\t\t}\n\t\t} );\n\t\treturn variationIcons.size === variations.length;\n\t}, [ variations ] );\n\n\tconst onSelectVariation = ( variationName ) => {\n\t\tupdateBlockAttributes( blockClientId, {\n\t\t\t...variations.find( ( { name } ) => name === variationName )\n\t\t\t\t.attributes,\n\t\t} );\n\t};\n\n\tconst hideVariationsForSections =\n\t\twindow?.__experimentalContentOnlyPatternInsertion && isSection;\n\n\tif ( ! variations?.length || isContentOnly || hideVariationsForSections ) {\n\t\treturn null;\n\t}\n\n\tconst baseClass = 'block-editor-block-variation-transforms';\n\n\t// Show buttons if there are more than 6 variations because the ToggleGroupControl does not wrap\n\tconst showButtons = variations.length > 6;\n\n\tconst ButtonComponent = showButtons\n\t\t? VariationsButtons\n\t\t: VariationsToggleGroupControl;\n\n\tconst Component = hasUniqueIcons ? ButtonComponent : VariationsDropdown;\n\n\treturn (\n\t\t<Component\n\t\t\tclassName={ baseClass }\n\t\t\tonSelectVariation={ onSelectVariation }\n\t\t\tselectedValue={ selectedValue }\n\t\t\tvariations={ variations }\n\t\t/>\n\t);\n}\n\nexport default __experimentalBlockVariationTransforms;\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAqC;AACrC,kBAA4B;AAC5B,wBAMO;AACP,kBAAuC;AACvC,qBAAwB;AAKxB,wBAAsB;AACtB,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GroupControlOptionIcon", "blockEditorStore", "blocksStore"]
|
|
7
7
|
}
|
|
@@ -34,7 +34,7 @@ __export(block_vertical_alignment_control_exports, {
|
|
|
34
34
|
BlockVerticalAlignmentToolbar: () => BlockVerticalAlignmentToolbar
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(block_vertical_alignment_control_exports);
|
|
37
|
-
var import_ui = __toESM(require("./ui.cjs")
|
|
37
|
+
var import_ui = __toESM(require("./ui.cjs"));
|
|
38
38
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
39
39
|
var BlockVerticalAlignmentControl = (props) => {
|
|
40
40
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ui.default, { ...props, isToolbar: false });
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// packages/block-editor/src/components/block-visibility/block-visibility-info.js
|
|
21
|
+
var block_visibility_info_exports = {};
|
|
22
|
+
__export(block_visibility_info_exports, {
|
|
23
|
+
default: () => BlockVisibilityInfo
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(block_visibility_info_exports);
|
|
26
|
+
var import_components = require("@wordpress/components");
|
|
27
|
+
var import_data = require("@wordpress/data");
|
|
28
|
+
var import_i18n = require("@wordpress/i18n");
|
|
29
|
+
var import_icons = require("@wordpress/icons");
|
|
30
|
+
var import_lock_unlock = require("../../lock-unlock.cjs");
|
|
31
|
+
var import_store = require("../../store/index.cjs");
|
|
32
|
+
|
|
33
|
+
// packages/block-editor/src/components/block-visibility/styles.scss
|
|
34
|
+
var css = `/**
|
|
35
|
+
* SCSS Variables.
|
|
36
|
+
*
|
|
37
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
38
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
39
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* Colors
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
* Fonts & basic variables.
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* Typography
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* Grid System.
|
|
52
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* Radius scale.
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* Elevation scale.
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Dimensions.
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* Mobile specific styles
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* Editor styles.
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* Block & Editor UI.
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* Block paddings.
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* React Native specific.
|
|
77
|
+
* These variables do not appear to be used anywhere else.
|
|
78
|
+
*/
|
|
79
|
+
.block-editor-block-visibility-info {
|
|
80
|
+
padding-top: 4px;
|
|
81
|
+
padding-bottom: 4px;
|
|
82
|
+
margin: 0 16px 16px;
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: start;
|
|
86
|
+
}
|
|
87
|
+
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL2hvbWUvcnVubmVyL3dvcmsvZ3V0ZW5iZXJnL2d1dGVuYmVyZy9wdWJsaXNoL3BhY2thZ2VzL2Jsb2NrLWVkaXRvci9zcmMvY29tcG9uZW50cy9ibG9jay12aXNpYmlsaXR5Iiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvQHdvcmRwcmVzcy9iYXNlLXN0eWxlcy9fdmFyaWFibGVzLnNjc3MiLCIuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvQHdvcmRwcmVzcy9iYXNlLXN0eWxlcy9fY29sb3JzLnNjc3MiLCJzdHlsZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQ0FBO0FBQUE7QUFBQTtBRFVBO0FBQUE7QUFBQTtBQU9BO0FBQUE7QUFBQTtBQTZCQTtBQUFBO0FBQUE7QUFBQTtBQWlCQTtBQUFBO0FBQUE7QUFXQTtBQUFBO0FBQUE7QUFnQkE7QUFBQTtBQUFBO0FBeUJBO0FBQUE7QUFBQTtBQUtBO0FBQUE7QUFBQTtBQWVBO0FBQUE7QUFBQTtBQW1CQTtBQUFBO0FBQUE7QUFTQTtBQUFBO0FBQUE7QUFBQTtBRWpLQTtFQUNDLGFGaURjO0VFaERkLGdCRmdEYztFRS9DZDtFQUNBO0VBQ0E7RUFDQSIs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xODE4O1xuJGFsZXJ0LWdyZWVuOiAjNGFiODY2O1xuXG4vLyBEZXByZWNhdGVkLCBwbGVhc2UgYXZvaWQgdXNpbmcgdGhlc2UuXG4kZGFyay10aGVtZS1mb2N1czogJHdoaXRlO1x0Ly8gRm9jdXMgY29sb3Igd2hlbiB0aGUgdGhlbWUgaXMgZGFyay5cbiIsIkB1c2UgXCJAd29yZHByZXNzL2Jhc2Utc3R5bGVzL3ZhcmlhYmxlc1wiIGFzICo7XG5cbi5ibG9jay1lZGl0b3ItYmxvY2stdmlzaWJpbGl0eS1pbmZvIHtcblx0cGFkZGluZy10b3A6ICRncmlkLXVuaXQtMDU7XG5cdHBhZGRpbmctYm90dG9tOiAkZ3JpZC11bml0LTA1O1xuXHRtYXJnaW46IDAgJGdyaWQtdW5pdC0yMCAkZ3JpZC11bml0LTIwO1xuXHRkaXNwbGF5OiBmbGV4O1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IHN0YXJ0O1xufVxuIl19 */`;
|
|
88
|
+
document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css));
|
|
89
|
+
|
|
90
|
+
// packages/block-editor/src/components/block-visibility/block-visibility-info.js
|
|
91
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
92
|
+
var { Badge } = (0, import_lock_unlock.unlock)(import_components.privateApis);
|
|
93
|
+
function BlockVisibilityInfo({ clientId }) {
|
|
94
|
+
const { isBlockHidden, hasHiddenParent } = (0, import_data.useSelect)(
|
|
95
|
+
(select) => {
|
|
96
|
+
if (!clientId) {
|
|
97
|
+
return { isBlockHidden: false, hasHiddenParent: false };
|
|
98
|
+
}
|
|
99
|
+
const { isBlockHidden: _isBlockHidden, getBlockParents } = (0, import_lock_unlock.unlock)(
|
|
100
|
+
select(import_store.store)
|
|
101
|
+
);
|
|
102
|
+
const blockHidden = _isBlockHidden(clientId);
|
|
103
|
+
const parents = getBlockParents(clientId);
|
|
104
|
+
const parentHidden = parents.some(
|
|
105
|
+
(parentId) => _isBlockHidden(parentId)
|
|
106
|
+
);
|
|
107
|
+
return {
|
|
108
|
+
isBlockHidden: blockHidden,
|
|
109
|
+
hasHiddenParent: parentHidden
|
|
110
|
+
};
|
|
111
|
+
},
|
|
112
|
+
[clientId]
|
|
113
|
+
);
|
|
114
|
+
if (!(isBlockHidden || hasHiddenParent)) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, { className: "block-editor-block-visibility-info", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_components.__experimentalHStack, { spacing: 2, justify: "start", children: [
|
|
118
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Icon, { icon: import_icons.unseen }),
|
|
119
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.__experimentalText, { children: isBlockHidden ? (0, import_i18n.__)("Block is hidden") : (0, import_i18n.__)("Parent block is hidden") })
|
|
120
|
+
] }) });
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=block-visibility-info.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/block-visibility/block-visibility-info.js", "../../../src/components/block-visibility/styles.scss"],
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport {\n\tIcon,\n\t__experimentalText as Text,\n\t__experimentalHStack as HStack,\n\tprivateApis as componentsPrivateApis,\n} from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\nimport { __ } from '@wordpress/i18n';\nimport { unseen } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport { unlock } from '../../lock-unlock';\nimport { store as blockEditorStore } from '../../store';\nimport './styles.scss';\n\nconst { Badge } = unlock( componentsPrivateApis );\n\nexport default function BlockVisibilityInfo( { clientId } ) {\n\tconst { isBlockHidden, hasHiddenParent } = useSelect(\n\t\t( select ) => {\n\t\t\tif ( ! clientId ) {\n\t\t\t\treturn { isBlockHidden: false, hasHiddenParent: false };\n\t\t\t}\n\t\t\tconst { isBlockHidden: _isBlockHidden, getBlockParents } = unlock(\n\t\t\t\tselect( blockEditorStore )\n\t\t\t);\n\n\t\t\tconst blockHidden = _isBlockHidden( clientId );\n\t\t\tconst parents = getBlockParents( clientId );\n\t\t\tconst parentHidden = parents.some( ( parentId ) =>\n\t\t\t\t_isBlockHidden( parentId )\n\t\t\t);\n\n\t\t\treturn {\n\t\t\t\tisBlockHidden: blockHidden,\n\t\t\t\thasHiddenParent: parentHidden,\n\t\t\t};\n\t\t},\n\t\t[ clientId ]\n\t);\n\n\tif ( ! ( isBlockHidden || hasHiddenParent ) ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<Badge className=\"block-editor-block-visibility-info\">\n\t\t\t<HStack spacing={ 2 } justify=\"start\">\n\t\t\t\t<Icon icon={ unseen } />\n\t\t\t\t<Text>\n\t\t\t\t\t{ isBlockHidden\n\t\t\t\t\t\t? __( 'Block is hidden' )\n\t\t\t\t\t\t: __( 'Parent block is hidden' ) }\n\t\t\t\t</Text>\n\t\t\t</HStack>\n\t\t</Badge>\n\t);\n}\n", "const css = `/**\n * SCSS Variables.\n *\n * Please use variables from this sheet to ensure consistency across the UI.\n * Don't add to this sheet unless you're pretty sure the value will be reused in many places.\n * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.\n */\n/**\n * Colors\n */\n/**\n * Fonts & basic variables.\n */\n/**\n * Typography\n */\n/**\n * Grid System.\n * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/\n */\n/**\n * Radius scale.\n */\n/**\n * Elevation scale.\n */\n/**\n * Dimensions.\n */\n/**\n * Mobile specific styles\n */\n/**\n * Editor styles.\n */\n/**\n * Block & Editor UI.\n */\n/**\n * Block paddings.\n */\n/**\n * React Native specific.\n * These variables do not appear to be used anywhere else.\n */\n.block-editor-block-visibility-info {\n padding-top: 4px;\n padding-bottom: 4px;\n margin: 0 16px 16px;\n display: flex;\n align-items: center;\n justify-content: start;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL2hvbWUvcnVubmVyL3dvcmsvZ3V0ZW5iZXJnL2d1dGVuYmVyZy9wdWJsaXNoL3BhY2thZ2VzL2Jsb2NrLWVkaXRvci9zcmMvY29tcG9uZW50cy9ibG9jay12aXNpYmlsaXR5Iiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvQHdvcmRwcmVzcy9iYXNlLXN0eWxlcy9fdmFyaWFibGVzLnNjc3MiLCIuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvQHdvcmRwcmVzcy9iYXNlLXN0eWxlcy9fY29sb3JzLnNjc3MiLCJzdHlsZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQ0FBO0FBQUE7QUFBQTtBRFVBO0FBQUE7QUFBQTtBQU9BO0FBQUE7QUFBQTtBQTZCQTtBQUFBO0FBQUE7QUFBQTtBQWlCQTtBQUFBO0FBQUE7QUFXQTtBQUFBO0FBQUE7QUFnQkE7QUFBQTtBQUFBO0FBeUJBO0FBQUE7QUFBQTtBQUtBO0FBQUE7QUFBQTtBQWVBO0FBQUE7QUFBQTtBQW1CQTtBQUFBO0FBQUE7QUFTQTtBQUFBO0FBQUE7QUFBQTtBRWpLQTtFQUNDLGFGaURjO0VFaERkLGdCRmdEYztFRS9DZDtFQUNBO0VBQ0E7RUFDQSIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU0NTUyBWYXJpYWJsZXMuXG4gKlxuICogUGxlYXNlIHVzZSB2YXJpYWJsZXMgZnJvbSB0aGlzIHNoZWV0IHRvIGVuc3VyZSBjb25zaXN0ZW5jeSBhY3Jvc3MgdG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AC3D,QAAM,EAAE,eAAe,gBAAgB,QAAI;AAAA,IAC1C,CAAE,WAAY;AACb,UAAK,CAAE,UAAW;AACjB,eAAO,EAAE,eAAe,OAAO,iBAAiB,MAAM;AAAA,MACvD;AACA,YAAM,EAAE,eAAe,gBAAgB,gBAAgB,QAAI;AAAA,QAC1D,OAAQ,aAAAC,KAAiB;AAAA,MAC1B;AAEA,YAAM,cAAc,eAAgB,QAAS;AAC7C,YAAM,UAAU,gBAAiB,QAAS;AAC1C,YAAM,eAAe,QAAQ;AAAA,QAAM,CAAE,aACpC,eAAgB,QAAS;AAAA,MAC1B;AAEA,aAAO;AAAA,QACN,eAAe;AAAA,QACf,iBAAiB;AAAA,MAClB;AAAA,IACD;AAAA,IACA,CAAE,QAAS;AAAA,EACZ;AAEA,MAAK,EAAI,iBAAiB,kBAAoB;AAC7C,WAAO;AAAA,EACR;AAEA,SACC,4CAAC,SAAM,WAAU,sCAChB,uDAAC,kBAAAC,sBAAA,EAAO,SAAU,GAAI,SAAQ,SAC7B;AAAA,gDAAC,0BAAK,MAAO,qBAAS;AAAA,IACtB,4CAAC,kBAAAC,oBAAA,EACE,8BACC,gBAAI,iBAAkB,QACtB,gBAAI,wBAAyB,GACjC;AAAA,KACD,GACD;AAEF;",
|
|
6
|
+
"names": ["componentsPrivateApis", "blockEditorStore", "HStack", "Text"]
|
|
7
|
+
}
|
|
@@ -34,8 +34,8 @@ __export(block_visibility_exports, {
|
|
|
34
34
|
BlockVisibilityToolbar: () => import_toolbar.default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(block_visibility_exports);
|
|
37
|
-
var import_menu_item = __toESM(require("./menu-item.cjs")
|
|
38
|
-
var import_toolbar = __toESM(require("./toolbar.cjs")
|
|
37
|
+
var import_menu_item = __toESM(require("./menu-item.cjs"));
|
|
38
|
+
var import_toolbar = __toESM(require("./toolbar.cjs"));
|
|
39
39
|
// Annotate the CommonJS export names for ESM import in node:
|
|
40
40
|
0 && (module.exports = {
|
|
41
41
|
BlockVisibilityMenuItem,
|
|
@@ -36,10 +36,10 @@ module.exports = __toCommonJS(border_radius_control_exports);
|
|
|
36
36
|
var import_components = require("@wordpress/components");
|
|
37
37
|
var import_element = require("@wordpress/element");
|
|
38
38
|
var import_i18n = require("@wordpress/i18n");
|
|
39
|
-
var import_linked_button = __toESM(require("./linked-button.cjs")
|
|
39
|
+
var import_linked_button = __toESM(require("./linked-button.cjs"));
|
|
40
40
|
var import_use_settings = require("../use-settings/index.cjs");
|
|
41
41
|
var import_utils = require("./utils.cjs");
|
|
42
|
-
var import_preset_input_control = __toESM(require("../preset-input-control/index.cjs")
|
|
42
|
+
var import_preset_input_control = __toESM(require("../preset-input-control/index.cjs"));
|
|
43
43
|
var import_constants = require("./constants.cjs");
|
|
44
44
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
45
45
|
function useBorderRadiusSizes(presets) {
|
|
@@ -34,13 +34,13 @@ __export(button_block_appender_exports, {
|
|
|
34
34
|
default: () => button_block_appender_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(button_block_appender_exports);
|
|
37
|
-
var import_clsx = __toESM(require("clsx")
|
|
37
|
+
var import_clsx = __toESM(require("clsx"));
|
|
38
38
|
var import_components = require("@wordpress/components");
|
|
39
39
|
var import_element = require("@wordpress/element");
|
|
40
40
|
var import_i18n = require("@wordpress/i18n");
|
|
41
41
|
var import_icons = require("@wordpress/icons");
|
|
42
|
-
var import_deprecated = __toESM(require("@wordpress/deprecated")
|
|
43
|
-
var import_inserter = __toESM(require("../inserter/index.cjs")
|
|
42
|
+
var import_deprecated = __toESM(require("@wordpress/deprecated"));
|
|
43
|
+
var import_inserter = __toESM(require("../inserter/index.cjs"));
|
|
44
44
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
45
45
|
function ButtonBlockAppender({ rootClientId, className, onFocus, tabIndex, onSelect }, ref) {
|
|
46
46
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -33,7 +33,7 @@ __export(control_exports, {
|
|
|
33
33
|
default: () => ColorPaletteControl
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(control_exports);
|
|
36
|
-
var import_control = __toESM(require("../colors-gradients/control.cjs")
|
|
36
|
+
var import_control = __toESM(require("../colors-gradients/control.cjs"));
|
|
37
37
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
38
38
|
function ColorPaletteControl({
|
|
39
39
|
onChange,
|
|
@@ -34,6 +34,6 @@ __export(color_palette_exports, {
|
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(color_palette_exports);
|
|
36
36
|
var import_components = require("@wordpress/components");
|
|
37
|
-
var import_with_color_context = __toESM(require("./with-color-context.cjs")
|
|
37
|
+
var import_with_color_context = __toESM(require("./with-color-context.cjs"));
|
|
38
38
|
var color_palette_default = (0, import_with_color_context.default)(import_components.ColorPalette);
|
|
39
39
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(color_style_selector_exports);
|
|
|
36
36
|
var import_components = require("@wordpress/components");
|
|
37
37
|
var import_i18n = require("@wordpress/i18n");
|
|
38
38
|
var import_keycodes = require("@wordpress/keycodes");
|
|
39
|
-
var import_deprecated = __toESM(require("@wordpress/deprecated")
|
|
39
|
+
var import_deprecated = __toESM(require("@wordpress/deprecated"));
|
|
40
40
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
41
41
|
var ColorSelectorSVGIcon = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Path, { d: "M7.434 5l3.18 9.16H8.538l-.692-2.184H4.628l-.705 2.184H2L5.18 5h2.254zm-1.13 1.904h-.115l-1.148 3.593H7.44L6.304 6.904zM14.348 7.006c1.853 0 2.9.876 2.9 2.374v4.78h-1.79v-.914h-.114c-.362.64-1.123 1.022-2.031 1.022-1.346 0-2.292-.826-2.292-2.108 0-1.27.972-2.006 2.71-2.107l1.696-.102V9.38c0-.584-.42-.914-1.18-.914-.667 0-1.112.228-1.264.647h-1.701c.12-1.295 1.307-2.107 3.066-2.107zm1.079 4.1l-1.416.09c-.793.056-1.18.342-1.18.844 0 .52.45.837 1.091.837.857 0 1.505-.545 1.505-1.256v-.515z" }) });
|
|
42
42
|
var ColorSelectorIcon = ({ style, className }) => {
|
|
@@ -38,7 +38,7 @@ __export(colors_exports, {
|
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(colors_exports);
|
|
40
40
|
var import_utils = require("./utils.cjs");
|
|
41
|
-
var import_with_colors = __toESM(require("./with-colors.cjs")
|
|
41
|
+
var import_with_colors = __toESM(require("./with-colors.cjs"));
|
|
42
42
|
// Annotate the CommonJS export names for ESM import in node:
|
|
43
43
|
0 && (module.exports = {
|
|
44
44
|
createCustomColorsHOC,
|
|
@@ -37,8 +37,8 @@ __export(utils_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(utils_exports);
|
|
39
39
|
var import_colord = require("colord");
|
|
40
|
-
var import_names = __toESM(require("colord/plugins/names")
|
|
41
|
-
var import_a11y = __toESM(require("colord/plugins/a11y")
|
|
40
|
+
var import_names = __toESM(require("colord/plugins/names"));
|
|
41
|
+
var import_a11y = __toESM(require("colord/plugins/a11y"));
|
|
42
42
|
var import_components = require("@wordpress/components");
|
|
43
43
|
var import_lock_unlock = require("../../lock-unlock.cjs");
|
|
44
44
|
(0, import_colord.extend)([import_names.default, import_a11y.default]);
|
|
@@ -33,7 +33,7 @@ __export(control_exports, {
|
|
|
33
33
|
default: () => control_default
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(control_exports);
|
|
36
|
-
var import_clsx = __toESM(require("clsx")
|
|
36
|
+
var import_clsx = __toESM(require("clsx"));
|
|
37
37
|
var import_i18n = require("@wordpress/i18n");
|
|
38
38
|
var import_components = require("@wordpress/components");
|
|
39
39
|
var import_use_settings = require("../use-settings/index.cjs");
|
|
@@ -33,12 +33,12 @@ __export(dropdown_exports, {
|
|
|
33
33
|
default: () => ColorGradientSettingsDropdown
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(dropdown_exports);
|
|
36
|
-
var import_clsx = __toESM(require("clsx")
|
|
36
|
+
var import_clsx = __toESM(require("clsx"));
|
|
37
37
|
var import_components = require("@wordpress/components");
|
|
38
38
|
var import_element = require("@wordpress/element");
|
|
39
39
|
var import_i18n = require("@wordpress/i18n");
|
|
40
40
|
var import_icons = require("@wordpress/icons");
|
|
41
|
-
var import_control = __toESM(require("./control.cjs")
|
|
41
|
+
var import_control = __toESM(require("./control.cjs"));
|
|
42
42
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
43
|
var WithToolsPanelItem = ({ setting, children, panelId, ...props }) => {
|
|
44
44
|
const clearValue = () => {
|
|
@@ -34,12 +34,12 @@ __export(panel_color_gradient_settings_exports, {
|
|
|
34
34
|
default: () => panel_color_gradient_settings_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(panel_color_gradient_settings_exports);
|
|
37
|
-
var import_clsx = __toESM(require("clsx")
|
|
37
|
+
var import_clsx = __toESM(require("clsx"));
|
|
38
38
|
var import_components = require("@wordpress/components");
|
|
39
39
|
var import_data = require("@wordpress/data");
|
|
40
40
|
var import_compose = require("@wordpress/compose");
|
|
41
|
-
var import_dropdown = __toESM(require("./dropdown.cjs")
|
|
42
|
-
var import_use_multiple_origin_colors_and_gradients = __toESM(require("./use-multiple-origin-colors-and-gradients.cjs")
|
|
41
|
+
var import_dropdown = __toESM(require("./dropdown.cjs"));
|
|
42
|
+
var import_use_multiple_origin_colors_and_gradients = __toESM(require("./use-multiple-origin-colors-and-gradients.cjs"));
|
|
43
43
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
44
44
|
var colorsAndGradientKeys = [
|
|
45
45
|
"colors",
|
|
@@ -33,8 +33,8 @@ __export(contrast_checker_exports, {
|
|
|
33
33
|
default: () => contrast_checker_default
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(contrast_checker_exports);
|
|
36
|
-
var import_a11y = __toESM(require("colord/plugins/a11y")
|
|
37
|
-
var import_names = __toESM(require("colord/plugins/names")
|
|
36
|
+
var import_a11y = __toESM(require("colord/plugins/a11y"));
|
|
37
|
+
var import_names = __toESM(require("colord/plugins/names"));
|
|
38
38
|
var import_colord = require("colord");
|
|
39
39
|
var import_i18n = require("@wordpress/i18n");
|
|
40
40
|
var import_components = require("@wordpress/components");
|
|
@@ -41,8 +41,8 @@ var import_blocks = require("@wordpress/blocks");
|
|
|
41
41
|
var import_data = require("@wordpress/data");
|
|
42
42
|
var import_keycodes = require("@wordpress/keycodes");
|
|
43
43
|
var import_store = require("../../store/index.cjs");
|
|
44
|
-
var import_use_convert_to_group_button_props = __toESM(require("./use-convert-to-group-button-props.cjs")
|
|
45
|
-
var import_toolbar = __toESM(require("./toolbar.cjs")
|
|
44
|
+
var import_use_convert_to_group_button_props = __toESM(require("./use-convert-to-group-button-props.cjs"));
|
|
45
|
+
var import_toolbar = __toESM(require("./toolbar.cjs"));
|
|
46
46
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
47
47
|
function ConvertToGroupButton({
|
|
48
48
|
clientIds,
|
|
@@ -34,8 +34,8 @@ __export(copy_handler_exports, {
|
|
|
34
34
|
default: () => CopyHandler
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(copy_handler_exports);
|
|
37
|
-
var import_deprecated = __toESM(require("@wordpress/deprecated")
|
|
38
|
-
var import_use_clipboard_handler = __toESM(require("../writing-flow/use-clipboard-handler.cjs")
|
|
37
|
+
var import_deprecated = __toESM(require("@wordpress/deprecated"));
|
|
38
|
+
var import_use_clipboard_handler = __toESM(require("../writing-flow/use-clipboard-handler.cjs"));
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
40
|
var __unstableUseClipboardHandler = () => {
|
|
41
41
|
(0, import_deprecated.default)("__unstableUseClipboardHandler", {
|
|
@@ -34,12 +34,12 @@ __export(default_block_appender_exports, {
|
|
|
34
34
|
default: () => DefaultBlockAppender
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(default_block_appender_exports);
|
|
37
|
-
var import_clsx = __toESM(require("clsx")
|
|
37
|
+
var import_clsx = __toESM(require("clsx"));
|
|
38
38
|
var import_i18n = require("@wordpress/i18n");
|
|
39
39
|
var import_html_entities = require("@wordpress/html-entities");
|
|
40
40
|
var import_data = require("@wordpress/data");
|
|
41
41
|
var import_keycodes = require("@wordpress/keycodes");
|
|
42
|
-
var import_inserter = __toESM(require("../inserter/index.cjs")
|
|
42
|
+
var import_inserter = __toESM(require("../inserter/index.cjs"));
|
|
43
43
|
var import_store = require("../../store/index.cjs");
|
|
44
44
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
45
45
|
var ZWNBSP = "\uFEFF";
|
|
@@ -37,7 +37,7 @@ var import_element = require("@wordpress/element");
|
|
|
37
37
|
var import_components = require("@wordpress/components");
|
|
38
38
|
var import_i18n = require("@wordpress/i18n");
|
|
39
39
|
var import_use_settings = require("../use-settings/index.cjs");
|
|
40
|
-
var import_preset_input_control = __toESM(require("../preset-input-control/index.cjs")
|
|
40
|
+
var import_preset_input_control = __toESM(require("../preset-input-control/index.cjs"));
|
|
41
41
|
var import_constants = require("../preset-input-control/constants.cjs");
|
|
42
42
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
43
|
var EMPTY_ARRAY = [];
|