@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
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inserter-listbox/item.js
|
|
2
|
-
import { Button, Composite } from "@wordpress/components";
|
|
3
|
-
import { forwardRef } from "@wordpress/element";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
function InserterListboxItem({ isFirst, as: Component, children, ...props }, ref) {
|
|
6
|
-
return /* @__PURE__ */ jsx(
|
|
7
|
-
Composite.Item,
|
|
8
|
-
{
|
|
9
|
-
ref,
|
|
10
|
-
role: "option",
|
|
11
|
-
accessibleWhenDisabled: true,
|
|
12
|
-
...props,
|
|
13
|
-
render: (htmlProps) => {
|
|
14
|
-
const propsWithTabIndex = {
|
|
15
|
-
...htmlProps,
|
|
16
|
-
tabIndex: isFirst ? 0 : htmlProps.tabIndex
|
|
17
|
-
};
|
|
18
|
-
if (Component) {
|
|
19
|
-
return /* @__PURE__ */ jsx(Component, { ...propsWithTabIndex, children });
|
|
20
|
-
}
|
|
21
|
-
if (typeof children === "function") {
|
|
22
|
-
return children(propsWithTabIndex);
|
|
23
|
-
}
|
|
24
|
-
return /* @__PURE__ */ jsx(Button, { __next40pxDefaultSize: true, ...propsWithTabIndex, children });
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
var item_default = forwardRef(InserterListboxItem);
|
|
30
|
-
export {
|
|
31
|
-
item_default as default
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=item.js.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inserter-listbox/row.js
|
|
2
|
-
import { forwardRef } from "@wordpress/element";
|
|
3
|
-
import { Composite } from "@wordpress/components";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
function InserterListboxRow(props, ref) {
|
|
6
|
-
return /* @__PURE__ */ jsx(Composite.Group, { role: "presentation", ref, ...props });
|
|
7
|
-
}
|
|
8
|
-
var row_default = forwardRef(InserterListboxRow);
|
|
9
|
-
export {
|
|
10
|
-
row_default as default
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=row.js.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inserter-menu-extension/index.js
|
|
2
|
-
import { createSlotFill } from "@wordpress/components";
|
|
3
|
-
var { Fill: __unstableInserterMenuExtension, Slot } = createSlotFill(
|
|
4
|
-
"__unstableInserterMenuExtension"
|
|
5
|
-
);
|
|
6
|
-
__unstableInserterMenuExtension.Slot = Slot;
|
|
7
|
-
var inserter_menu_extension_default = __unstableInserterMenuExtension;
|
|
8
|
-
export {
|
|
9
|
-
inserter_menu_extension_default as default
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls/block-support-slot-container.js
|
|
2
|
-
import { __experimentalToolsPanelContext as ToolsPanelContext } from "@wordpress/components";
|
|
3
|
-
import { useContext, useMemo } from "@wordpress/element";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
function BlockSupportSlotContainer({
|
|
6
|
-
Slot,
|
|
7
|
-
fillProps,
|
|
8
|
-
...props
|
|
9
|
-
}) {
|
|
10
|
-
const toolsPanelContext = useContext(ToolsPanelContext);
|
|
11
|
-
const computedFillProps = useMemo(
|
|
12
|
-
() => ({
|
|
13
|
-
...fillProps ?? {},
|
|
14
|
-
forwardedContext: [
|
|
15
|
-
...fillProps?.forwardedContext ?? [],
|
|
16
|
-
[ToolsPanelContext.Provider, { value: toolsPanelContext }]
|
|
17
|
-
]
|
|
18
|
-
}),
|
|
19
|
-
[toolsPanelContext, fillProps]
|
|
20
|
-
);
|
|
21
|
-
return /* @__PURE__ */ jsx(Slot, { ...props, fillProps: computedFillProps, bubblesVirtually: true });
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
BlockSupportSlotContainer as default
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=block-support-slot-container.js.map
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls/block-support-tools-panel.js
|
|
2
|
-
import { __experimentalToolsPanel as ToolsPanel } from "@wordpress/components";
|
|
3
|
-
import { useDispatch, useSelect } from "@wordpress/data";
|
|
4
|
-
import { useCallback } from "@wordpress/element";
|
|
5
|
-
import { store as blockEditorStore } from "../../store/index.js";
|
|
6
|
-
import { cleanEmptyObject } from "../../hooks/utils.js";
|
|
7
|
-
import { useToolsPanelDropdownMenuProps } from "../global-styles/utils.js";
|
|
8
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
function BlockSupportToolsPanel({ children, group, label }) {
|
|
10
|
-
const { updateBlockAttributes } = useDispatch(blockEditorStore);
|
|
11
|
-
const {
|
|
12
|
-
getBlockAttributes,
|
|
13
|
-
getMultiSelectedBlockClientIds,
|
|
14
|
-
getSelectedBlockClientId,
|
|
15
|
-
hasMultiSelection
|
|
16
|
-
} = useSelect(blockEditorStore);
|
|
17
|
-
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
|
18
|
-
const panelId = getSelectedBlockClientId();
|
|
19
|
-
const resetAll = useCallback(
|
|
20
|
-
(resetFilters = []) => {
|
|
21
|
-
const newAttributes = {};
|
|
22
|
-
const clientIds = hasMultiSelection() ? getMultiSelectedBlockClientIds() : [panelId];
|
|
23
|
-
clientIds.forEach((clientId) => {
|
|
24
|
-
const { style } = getBlockAttributes(clientId);
|
|
25
|
-
let newBlockAttributes = { style };
|
|
26
|
-
resetFilters.forEach((resetFilter) => {
|
|
27
|
-
newBlockAttributes = {
|
|
28
|
-
...newBlockAttributes,
|
|
29
|
-
...resetFilter(newBlockAttributes)
|
|
30
|
-
};
|
|
31
|
-
});
|
|
32
|
-
newBlockAttributes = {
|
|
33
|
-
...newBlockAttributes,
|
|
34
|
-
style: cleanEmptyObject(newBlockAttributes.style)
|
|
35
|
-
};
|
|
36
|
-
newAttributes[clientId] = newBlockAttributes;
|
|
37
|
-
});
|
|
38
|
-
updateBlockAttributes(clientIds, newAttributes, true);
|
|
39
|
-
},
|
|
40
|
-
[
|
|
41
|
-
getBlockAttributes,
|
|
42
|
-
getMultiSelectedBlockClientIds,
|
|
43
|
-
hasMultiSelection,
|
|
44
|
-
panelId,
|
|
45
|
-
updateBlockAttributes
|
|
46
|
-
]
|
|
47
|
-
);
|
|
48
|
-
return /* @__PURE__ */ jsx(
|
|
49
|
-
ToolsPanel,
|
|
50
|
-
{
|
|
51
|
-
className: `${group}-block-support-panel`,
|
|
52
|
-
label,
|
|
53
|
-
resetAll,
|
|
54
|
-
panelId,
|
|
55
|
-
hasInnerWrapper: true,
|
|
56
|
-
shouldRenderPlaceholderItems: true,
|
|
57
|
-
__experimentalFirstVisibleItemClass: "first",
|
|
58
|
-
__experimentalLastVisibleItemClass: "last",
|
|
59
|
-
dropdownMenuProps,
|
|
60
|
-
children
|
|
61
|
-
},
|
|
62
|
-
panelId
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export {
|
|
66
|
-
BlockSupportToolsPanel as default
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=block-support-tools-panel.js.map
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls/fill.js
|
|
2
|
-
import {
|
|
3
|
-
__experimentalStyleProvider as StyleProvider,
|
|
4
|
-
__experimentalToolsPanelContext as ToolsPanelContext
|
|
5
|
-
} from "@wordpress/components";
|
|
6
|
-
import warning from "@wordpress/warning";
|
|
7
|
-
import deprecated from "@wordpress/deprecated";
|
|
8
|
-
import { useEffect, useContext } from "@wordpress/element";
|
|
9
|
-
import {
|
|
10
|
-
useBlockEditContext,
|
|
11
|
-
mayDisplayControlsKey
|
|
12
|
-
} from "../block-edit/context.js";
|
|
13
|
-
import groups from "./groups.js";
|
|
14
|
-
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
function InspectorControlsFill({
|
|
16
|
-
children,
|
|
17
|
-
group = "default",
|
|
18
|
-
__experimentalGroup,
|
|
19
|
-
resetAllFilter
|
|
20
|
-
}) {
|
|
21
|
-
if (__experimentalGroup) {
|
|
22
|
-
deprecated(
|
|
23
|
-
"`__experimentalGroup` property in `InspectorControlsFill`",
|
|
24
|
-
{
|
|
25
|
-
since: "6.2",
|
|
26
|
-
version: "6.4",
|
|
27
|
-
alternative: "`group`"
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
group = __experimentalGroup;
|
|
31
|
-
}
|
|
32
|
-
const context = useBlockEditContext();
|
|
33
|
-
const Fill = groups[group]?.Fill;
|
|
34
|
-
if (!Fill) {
|
|
35
|
-
warning(`Unknown InspectorControls group "${group}" provided.`);
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
if (!context[mayDisplayControlsKey]) {
|
|
39
|
-
return null;
|
|
40
|
-
}
|
|
41
|
-
return /* @__PURE__ */ jsx(StyleProvider, { document, children: /* @__PURE__ */ jsx(Fill, { children: (fillProps) => {
|
|
42
|
-
return /* @__PURE__ */ jsx(
|
|
43
|
-
ToolsPanelInspectorControl,
|
|
44
|
-
{
|
|
45
|
-
fillProps,
|
|
46
|
-
children,
|
|
47
|
-
resetAllFilter
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
} }) });
|
|
51
|
-
}
|
|
52
|
-
function RegisterResetAll({ resetAllFilter, children }) {
|
|
53
|
-
const { registerResetAllFilter, deregisterResetAllFilter } = useContext(ToolsPanelContext);
|
|
54
|
-
useEffect(() => {
|
|
55
|
-
if (resetAllFilter && registerResetAllFilter && deregisterResetAllFilter) {
|
|
56
|
-
registerResetAllFilter(resetAllFilter);
|
|
57
|
-
return () => {
|
|
58
|
-
deregisterResetAllFilter(resetAllFilter);
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
}, [resetAllFilter, registerResetAllFilter, deregisterResetAllFilter]);
|
|
62
|
-
return children;
|
|
63
|
-
}
|
|
64
|
-
function ToolsPanelInspectorControl({ children, resetAllFilter, fillProps }) {
|
|
65
|
-
const { forwardedContext = [] } = fillProps;
|
|
66
|
-
const innerMarkup = /* @__PURE__ */ jsx(RegisterResetAll, { resetAllFilter, children });
|
|
67
|
-
return forwardedContext.reduce(
|
|
68
|
-
(inner, [Provider, props]) => /* @__PURE__ */ jsx(Provider, { ...props, children: inner }),
|
|
69
|
-
innerMarkup
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
InspectorControlsFill as default
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=fill.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/inspector-controls/fill.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport {\n\t__experimentalStyleProvider as StyleProvider,\n\t__experimentalToolsPanelContext as ToolsPanelContext,\n} from '@wordpress/components';\nimport warning from '@wordpress/warning';\nimport deprecated from '@wordpress/deprecated';\nimport { useEffect, useContext } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport {\n\tuseBlockEditContext,\n\tmayDisplayControlsKey,\n} from '../block-edit/context';\nimport groups from './groups';\n\nexport default function InspectorControlsFill( {\n\tchildren,\n\tgroup = 'default',\n\t__experimentalGroup,\n\tresetAllFilter,\n} ) {\n\tif ( __experimentalGroup ) {\n\t\tdeprecated(\n\t\t\t'`__experimentalGroup` property in `InspectorControlsFill`',\n\t\t\t{\n\t\t\t\tsince: '6.2',\n\t\t\t\tversion: '6.4',\n\t\t\t\talternative: '`group`',\n\t\t\t}\n\t\t);\n\t\tgroup = __experimentalGroup;\n\t}\n\n\tconst context = useBlockEditContext();\n\tconst Fill = groups[ group ]?.Fill;\n\tif ( ! Fill ) {\n\t\twarning( `Unknown InspectorControls group \"${ group }\" provided.` );\n\t\treturn null;\n\t}\n\tif ( ! context[ mayDisplayControlsKey ] ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<StyleProvider document={ document }>\n\t\t\t<Fill>\n\t\t\t\t{ ( fillProps ) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<ToolsPanelInspectorControl\n\t\t\t\t\t\t\tfillProps={ fillProps }\n\t\t\t\t\t\t\tchildren={ children }\n\t\t\t\t\t\t\tresetAllFilter={ resetAllFilter }\n\t\t\t\t\t\t/>\n\t\t\t\t\t);\n\t\t\t\t} }\n\t\t\t</Fill>\n\t\t</StyleProvider>\n\t);\n}\n\nfunction RegisterResetAll( { resetAllFilter, children } ) {\n\tconst { registerResetAllFilter, deregisterResetAllFilter } =\n\t\tuseContext( ToolsPanelContext );\n\tuseEffect( () => {\n\t\tif (\n\t\t\tresetAllFilter &&\n\t\t\tregisterResetAllFilter &&\n\t\t\tderegisterResetAllFilter\n\t\t) {\n\t\t\tregisterResetAllFilter( resetAllFilter );\n\t\t\treturn () => {\n\t\t\t\tderegisterResetAllFilter( resetAllFilter );\n\t\t\t};\n\t\t}\n\t}, [ resetAllFilter, registerResetAllFilter, deregisterResetAllFilter ] );\n\treturn children;\n}\n\nfunction ToolsPanelInspectorControl( { children, resetAllFilter, fillProps } ) {\n\t// `fillProps.forwardedContext` is an array of context provider entries, provided by slot,\n\t// that should wrap the fill markup.\n\tconst { forwardedContext = [] } = fillProps;\n\n\t// Children passed to InspectorControlsFill will not have\n\t// access to any React Context whose Provider is part of\n\t// the InspectorControlsSlot tree. So we re-create the\n\t// Provider in this subtree.\n\tconst innerMarkup = (\n\t\t<RegisterResetAll resetAllFilter={ resetAllFilter }>\n\t\t\t{ children }\n\t\t</RegisterResetAll>\n\t);\n\treturn forwardedContext.reduce(\n\t\t( inner, [ Provider, props ] ) => (\n\t\t\t<Provider { ...props }>{ inner }</Provider>\n\t\t),\n\t\tinnerMarkup\n\t);\n}\n"],
|
|
5
|
-
"mappings": ";AAGA;AAAA,EACC,+BAA+B;AAAA,EAC/B,mCAAmC;AAAA,OAC7B;AACP,OAAO,aAAa;AACpB,OAAO,gBAAgB;AACvB,SAAS,WAAW,kBAAkB;AAKtC;AAAA,EACC;AAAA,EACA;AAAA,OACM;AACP,OAAO,YAAY;AAmCb;AAjCS,SAAR,sBAAwC;AAAA,EAC9C;AAAA,EACA,QAAQ;AAAA,EACR;AAAA,EACA;AACD,GAAI;AACH,MAAK,qBAAsB;AAC1B;AAAA,MACC;AAAA,MACA;AAAA,QACC,OAAO;AAAA,QACP,SAAS;AAAA,QACT,aAAa;AAAA,MACd;AAAA,IACD;AACA,YAAQ;AAAA,EACT;AAEA,QAAM,UAAU,oBAAoB;AACpC,QAAM,OAAO,OAAQ,KAAM,GAAG;AAC9B,MAAK,CAAE,MAAO;AACb,YAAS,oCAAqC,KAAM,aAAc;AAClE,WAAO;AAAA,EACR;AACA,MAAK,CAAE,QAAS,qBAAsB,GAAI;AACzC,WAAO;AAAA,EACR;AAEA,SACC,oBAAC,iBAAc,UACd,8BAAC,QACE,WAAE,cAAe;AAClB,WACC;AAAA,MAAC;AAAA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACD;AAAA,EAEF,GACD,GACD;AAEF;AAEA,SAAS,iBAAkB,EAAE,gBAAgB,SAAS,GAAI;AACzD,QAAM,EAAE,wBAAwB,yBAAyB,IACxD,WAAY,iBAAkB;AAC/B,YAAW,MAAM;AAChB,QACC,kBACA,0BACA,0BACC;AACD,6BAAwB,cAAe;AACvC,aAAO,MAAM;AACZ,iCAA0B,cAAe;AAAA,MAC1C;AAAA,IACD;AAAA,EACD,GAAG,CAAE,gBAAgB,wBAAwB,wBAAyB,CAAE;AACxE,SAAO;AACR;AAEA,SAAS,2BAA4B,EAAE,UAAU,gBAAgB,UAAU,GAAI;AAG9E,QAAM,EAAE,mBAAmB,CAAC,EAAE,IAAI;AAMlC,QAAM,cACL,oBAAC,oBAAiB,gBACf,UACH;AAED,SAAO,iBAAiB;AAAA,IACvB,CAAE,OAAO,CAAE,UAAU,KAAM,MAC1B,oBAAC,YAAW,GAAG,OAAU,iBAAO;AAAA,IAEjC;AAAA,EACD;AACD;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls/groups.js
|
|
2
|
-
import { createSlotFill } from "@wordpress/components";
|
|
3
|
-
var InspectorControlsDefault = createSlotFill("InspectorControls");
|
|
4
|
-
var InspectorControlsAdvanced = createSlotFill("InspectorAdvancedControls");
|
|
5
|
-
var InspectorControlsBindings = createSlotFill("InspectorControlsBindings");
|
|
6
|
-
var InspectorControlsBackground = createSlotFill(
|
|
7
|
-
"InspectorControlsBackground"
|
|
8
|
-
);
|
|
9
|
-
var InspectorControlsBorder = createSlotFill("InspectorControlsBorder");
|
|
10
|
-
var InspectorControlsColor = createSlotFill("InspectorControlsColor");
|
|
11
|
-
var InspectorControlsFilter = createSlotFill("InspectorControlsFilter");
|
|
12
|
-
var InspectorControlsDimensions = createSlotFill(
|
|
13
|
-
"InspectorControlsDimensions"
|
|
14
|
-
);
|
|
15
|
-
var InspectorControlsPosition = createSlotFill("InspectorControlsPosition");
|
|
16
|
-
var InspectorControlsTypography = createSlotFill(
|
|
17
|
-
"InspectorControlsTypography"
|
|
18
|
-
);
|
|
19
|
-
var InspectorControlsListView = createSlotFill("InspectorControlsListView");
|
|
20
|
-
var InspectorControlsStyles = createSlotFill("InspectorControlsStyles");
|
|
21
|
-
var InspectorControlsEffects = createSlotFill("InspectorControlsEffects");
|
|
22
|
-
var groups = {
|
|
23
|
-
default: InspectorControlsDefault,
|
|
24
|
-
advanced: InspectorControlsAdvanced,
|
|
25
|
-
background: InspectorControlsBackground,
|
|
26
|
-
bindings: InspectorControlsBindings,
|
|
27
|
-
border: InspectorControlsBorder,
|
|
28
|
-
color: InspectorControlsColor,
|
|
29
|
-
dimensions: InspectorControlsDimensions,
|
|
30
|
-
effects: InspectorControlsEffects,
|
|
31
|
-
filter: InspectorControlsFilter,
|
|
32
|
-
list: InspectorControlsListView,
|
|
33
|
-
position: InspectorControlsPosition,
|
|
34
|
-
settings: InspectorControlsDefault,
|
|
35
|
-
// Alias for default.
|
|
36
|
-
styles: InspectorControlsStyles,
|
|
37
|
-
typography: InspectorControlsTypography
|
|
38
|
-
};
|
|
39
|
-
var groups_default = groups;
|
|
40
|
-
var PrivateInspectorControlsAllowedBlocks = createSlotFill(
|
|
41
|
-
Symbol("PrivateInspectorControlsAllowedBlocks")
|
|
42
|
-
);
|
|
43
|
-
export {
|
|
44
|
-
PrivateInspectorControlsAllowedBlocks,
|
|
45
|
-
groups_default as default
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=groups.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/inspector-controls/groups.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { createSlotFill } from '@wordpress/components';\n\nconst InspectorControlsDefault = createSlotFill( 'InspectorControls' );\nconst InspectorControlsAdvanced = createSlotFill( 'InspectorAdvancedControls' );\nconst InspectorControlsBindings = createSlotFill( 'InspectorControlsBindings' );\nconst InspectorControlsBackground = createSlotFill(\n\t'InspectorControlsBackground'\n);\nconst InspectorControlsBorder = createSlotFill( 'InspectorControlsBorder' );\nconst InspectorControlsColor = createSlotFill( 'InspectorControlsColor' );\nconst InspectorControlsFilter = createSlotFill( 'InspectorControlsFilter' );\nconst InspectorControlsDimensions = createSlotFill(\n\t'InspectorControlsDimensions'\n);\nconst InspectorControlsPosition = createSlotFill( 'InspectorControlsPosition' );\nconst InspectorControlsTypography = createSlotFill(\n\t'InspectorControlsTypography'\n);\nconst InspectorControlsListView = createSlotFill( 'InspectorControlsListView' );\nconst InspectorControlsStyles = createSlotFill( 'InspectorControlsStyles' );\nconst InspectorControlsEffects = createSlotFill( 'InspectorControlsEffects' );\n\nconst groups = {\n\tdefault: InspectorControlsDefault,\n\tadvanced: InspectorControlsAdvanced,\n\tbackground: InspectorControlsBackground,\n\tbindings: InspectorControlsBindings,\n\tborder: InspectorControlsBorder,\n\tcolor: InspectorControlsColor,\n\tdimensions: InspectorControlsDimensions,\n\teffects: InspectorControlsEffects,\n\tfilter: InspectorControlsFilter,\n\tlist: InspectorControlsListView,\n\tposition: InspectorControlsPosition,\n\tsettings: InspectorControlsDefault, // Alias for default.\n\tstyles: InspectorControlsStyles,\n\ttypography: InspectorControlsTypography,\n};\n\nexport default groups;\n\n// Private slot for allowed blocks control UI.\nexport const PrivateInspectorControlsAllowedBlocks = createSlotFill(\n\tSymbol( 'PrivateInspectorControlsAllowedBlocks' )\n);\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,sBAAsB;AAE/B,IAAM,2BAA2B,eAAgB,mBAAoB;AACrE,IAAM,4BAA4B,eAAgB,2BAA4B;AAC9E,IAAM,4BAA4B,eAAgB,2BAA4B;AAC9E,IAAM,8BAA8B;AAAA,EACnC;AACD;AACA,IAAM,0BAA0B,eAAgB,yBAA0B;AAC1E,IAAM,yBAAyB,eAAgB,wBAAyB;AACxE,IAAM,0BAA0B,eAAgB,yBAA0B;AAC1E,IAAM,8BAA8B;AAAA,EACnC;AACD;AACA,IAAM,4BAA4B,eAAgB,2BAA4B;AAC9E,IAAM,8BAA8B;AAAA,EACnC;AACD;AACA,IAAM,4BAA4B,eAAgB,2BAA4B;AAC9E,IAAM,0BAA0B,eAAgB,yBAA0B;AAC1E,IAAM,2BAA2B,eAAgB,0BAA2B;AAE5E,IAAM,SAAS;AAAA,EACd,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AAAA;AAAA,EACV,QAAQ;AAAA,EACR,YAAY;AACb;AAEA,IAAO,iBAAQ;AAGR,IAAM,wCAAwC;AAAA,EACpD,OAAQ,uCAAwC;AACjD;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls/index.js
|
|
2
|
-
import InspectorControlsFill from "./fill.js";
|
|
3
|
-
import InspectorControlsSlot from "./slot.js";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
var InspectorControls = InspectorControlsFill;
|
|
6
|
-
InspectorControls.Slot = InspectorControlsSlot;
|
|
7
|
-
var InspectorAdvancedControls = (props) => {
|
|
8
|
-
return /* @__PURE__ */ jsx(InspectorControlsFill, { ...props, group: "advanced" });
|
|
9
|
-
};
|
|
10
|
-
InspectorAdvancedControls.Slot = (props) => {
|
|
11
|
-
return /* @__PURE__ */ jsx(InspectorControlsSlot, { ...props, group: "advanced" });
|
|
12
|
-
};
|
|
13
|
-
InspectorAdvancedControls.slotName = "InspectorAdvancedControls";
|
|
14
|
-
var inspector_controls_default = InspectorControls;
|
|
15
|
-
export {
|
|
16
|
-
InspectorAdvancedControls,
|
|
17
|
-
inspector_controls_default as default
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls/slot.js
|
|
2
|
-
import { __experimentalUseSlotFills as useSlotFills } from "@wordpress/components";
|
|
3
|
-
import warning from "@wordpress/warning";
|
|
4
|
-
import deprecated from "@wordpress/deprecated";
|
|
5
|
-
import BlockSupportToolsPanel from "./block-support-tools-panel.js";
|
|
6
|
-
import BlockSupportSlotContainer from "./block-support-slot-container.js";
|
|
7
|
-
import groups from "./groups.js";
|
|
8
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
function InspectorControlsSlot({
|
|
10
|
-
__experimentalGroup,
|
|
11
|
-
group = "default",
|
|
12
|
-
label,
|
|
13
|
-
fillProps,
|
|
14
|
-
...props
|
|
15
|
-
}) {
|
|
16
|
-
if (__experimentalGroup) {
|
|
17
|
-
deprecated(
|
|
18
|
-
"`__experimentalGroup` property in `InspectorControlsSlot`",
|
|
19
|
-
{
|
|
20
|
-
since: "6.2",
|
|
21
|
-
version: "6.4",
|
|
22
|
-
alternative: "`group`"
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
group = __experimentalGroup;
|
|
26
|
-
}
|
|
27
|
-
const slotFill = groups[group];
|
|
28
|
-
const fills = useSlotFills(slotFill?.name);
|
|
29
|
-
if (!slotFill) {
|
|
30
|
-
warning(`Unknown InspectorControls group "${group}" provided.`);
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
if (!fills?.length) {
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
const { Slot } = slotFill;
|
|
37
|
-
if (label) {
|
|
38
|
-
return /* @__PURE__ */ jsx(BlockSupportToolsPanel, { group, label, children: /* @__PURE__ */ jsx(
|
|
39
|
-
BlockSupportSlotContainer,
|
|
40
|
-
{
|
|
41
|
-
...props,
|
|
42
|
-
fillProps,
|
|
43
|
-
Slot
|
|
44
|
-
}
|
|
45
|
-
) });
|
|
46
|
-
}
|
|
47
|
-
return /* @__PURE__ */ jsx(Slot, { ...props, fillProps, bubblesVirtually: true });
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
InspectorControlsSlot as default
|
|
51
|
-
};
|
|
52
|
-
//# sourceMappingURL=slot.js.map
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls-tabs/advanced-controls-panel.js
|
|
2
|
-
import {
|
|
3
|
-
PanelBody,
|
|
4
|
-
__experimentalUseSlotFills as useSlotFills
|
|
5
|
-
} from "@wordpress/components";
|
|
6
|
-
import { __ } from "@wordpress/i18n";
|
|
7
|
-
import {
|
|
8
|
-
default as InspectorControls,
|
|
9
|
-
InspectorAdvancedControls
|
|
10
|
-
} from "../inspector-controls/index.js";
|
|
11
|
-
import { PrivateInspectorControlsAllowedBlocks } from "../inspector-controls/groups.js";
|
|
12
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
var AdvancedControls = () => {
|
|
14
|
-
const fills = useSlotFills(InspectorAdvancedControls.slotName);
|
|
15
|
-
const privateFills = useSlotFills(
|
|
16
|
-
PrivateInspectorControlsAllowedBlocks.name
|
|
17
|
-
);
|
|
18
|
-
const hasFills = Boolean(fills && fills.length);
|
|
19
|
-
const hasPrivateFills = Boolean(privateFills && privateFills.length);
|
|
20
|
-
if (!hasFills && !hasPrivateFills) {
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
return /* @__PURE__ */ jsxs(
|
|
24
|
-
PanelBody,
|
|
25
|
-
{
|
|
26
|
-
className: "block-editor-block-inspector__advanced",
|
|
27
|
-
title: __("Advanced"),
|
|
28
|
-
initialOpen: false,
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ jsx(InspectorControls.Slot, { group: "advanced" }),
|
|
31
|
-
/* @__PURE__ */ jsx(PrivateInspectorControlsAllowedBlocks.Slot, {})
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
};
|
|
36
|
-
var advanced_controls_panel_default = AdvancedControls;
|
|
37
|
-
export {
|
|
38
|
-
advanced_controls_panel_default as default
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=advanced-controls-panel.js.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls-tabs/content-tab.js
|
|
2
|
-
import { PanelBody } from "@wordpress/components";
|
|
3
|
-
import { __ } from "@wordpress/i18n";
|
|
4
|
-
import BlockQuickNavigation from "../block-quick-navigation/index.js";
|
|
5
|
-
import ContentOnlyControls from "../content-only-controls/index.js";
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
var ContentTab = ({ rootClientId, contentClientIds }) => {
|
|
8
|
-
if (!contentClientIds || contentClientIds.length === 0) {
|
|
9
|
-
return null;
|
|
10
|
-
}
|
|
11
|
-
const shouldShowContentOnlyControls = window?.__experimentalContentOnlyPatternInsertion && window?.__experimentalContentOnlyInspectorFields;
|
|
12
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
13
|
-
!shouldShowContentOnlyControls && /* @__PURE__ */ jsx(PanelBody, { title: __("Content"), children: /* @__PURE__ */ jsx(BlockQuickNavigation, { clientIds: contentClientIds }) }),
|
|
14
|
-
shouldShowContentOnlyControls && /* @__PURE__ */ jsx(ContentOnlyControls, { rootClientId })
|
|
15
|
-
] });
|
|
16
|
-
};
|
|
17
|
-
var content_tab_default = ContentTab;
|
|
18
|
-
export {
|
|
19
|
-
content_tab_default as default
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=content-tab.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/inspector-controls-tabs/content-tab.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { PanelBody } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport BlockQuickNavigation from '../block-quick-navigation';\nimport ContentOnlyControls from '../content-only-controls';\n\nconst ContentTab = ( { rootClientId, contentClientIds } ) => {\n\tif ( ! contentClientIds || contentClientIds.length === 0 ) {\n\t\treturn null;\n\t}\n\n\tconst shouldShowContentOnlyControls =\n\t\twindow?.__experimentalContentOnlyPatternInsertion &&\n\t\twindow?.__experimentalContentOnlyInspectorFields;\n\n\treturn (\n\t\t<>\n\t\t\t{ ! shouldShowContentOnlyControls && (\n\t\t\t\t<PanelBody title={ __( 'Content' ) }>\n\t\t\t\t\t<BlockQuickNavigation clientIds={ contentClientIds } />\n\t\t\t\t</PanelBody>\n\t\t\t) }\n\t\t\t{ shouldShowContentOnlyControls && (\n\t\t\t\t<ContentOnlyControls rootClientId={ rootClientId } />\n\t\t\t) }\n\t\t</>\n\t);\n};\n\nexport default ContentTab;\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,iBAAiB;AAC1B,SAAS,UAAU;AAKnB,OAAO,0BAA0B;AACjC,OAAO,yBAAyB;AAY9B,mBAGG,KAHH;AAVF,IAAM,aAAa,CAAE,EAAE,cAAc,iBAAiB,MAAO;AAC5D,MAAK,CAAE,oBAAoB,iBAAiB,WAAW,GAAI;AAC1D,WAAO;AAAA,EACR;AAEA,QAAM,gCACL,QAAQ,6CACR,QAAQ;AAET,SACC,iCACG;AAAA,KAAE,iCACH,oBAAC,aAAU,OAAQ,GAAI,SAAU,GAChC,8BAAC,wBAAqB,WAAY,kBAAmB,GACtD;AAAA,IAEC,iCACD,oBAAC,uBAAoB,cAA8B;AAAA,KAErD;AAEF;AAEA,IAAO,sBAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls-tabs/index.js
|
|
2
|
-
import {
|
|
3
|
-
Icon,
|
|
4
|
-
Tooltip,
|
|
5
|
-
privateApis as componentsPrivateApis
|
|
6
|
-
} from "@wordpress/components";
|
|
7
|
-
import { useEffect, useState, useRef } from "@wordpress/element";
|
|
8
|
-
import { store as preferencesStore } from "@wordpress/preferences";
|
|
9
|
-
import { useSelect } from "@wordpress/data";
|
|
10
|
-
import { TAB_SETTINGS, TAB_STYLES, TAB_LIST_VIEW, TAB_CONTENT } from "./utils.js";
|
|
11
|
-
import SettingsTab from "./settings-tab.js";
|
|
12
|
-
import StylesTab from "./styles-tab.js";
|
|
13
|
-
import ContentTab from "./content-tab.js";
|
|
14
|
-
import InspectorControls from "../inspector-controls/index.js";
|
|
15
|
-
import { unlock } from "../../lock-unlock.js";
|
|
16
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
var { Tabs } = unlock(componentsPrivateApis);
|
|
18
|
-
function InspectorControlsTabs({
|
|
19
|
-
blockName,
|
|
20
|
-
clientId,
|
|
21
|
-
hasBlockStyles,
|
|
22
|
-
tabs,
|
|
23
|
-
isSectionBlock,
|
|
24
|
-
contentClientIds
|
|
25
|
-
}) {
|
|
26
|
-
const showIconLabels = useSelect((select) => {
|
|
27
|
-
return select(preferencesStore).get("core", "showIconLabels");
|
|
28
|
-
}, []);
|
|
29
|
-
const [selectedTabId, setSelectedTabId] = useState(tabs[0]?.name);
|
|
30
|
-
const hasUserSelectionRef = useRef(false);
|
|
31
|
-
useEffect(() => {
|
|
32
|
-
hasUserSelectionRef.current = false;
|
|
33
|
-
}, [clientId]);
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
if (!tabs?.length || hasUserSelectionRef.current) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const firstTabName = tabs[0]?.name;
|
|
39
|
-
if (selectedTabId !== firstTabName) {
|
|
40
|
-
setSelectedTabId(firstTabName);
|
|
41
|
-
}
|
|
42
|
-
}, [tabs, selectedTabId]);
|
|
43
|
-
const handleTabSelect = (tabId) => {
|
|
44
|
-
setSelectedTabId(tabId);
|
|
45
|
-
hasUserSelectionRef.current = true;
|
|
46
|
-
};
|
|
47
|
-
return /* @__PURE__ */ jsx("div", { className: "block-editor-block-inspector__tabs", children: /* @__PURE__ */ jsxs(
|
|
48
|
-
Tabs,
|
|
49
|
-
{
|
|
50
|
-
selectedTabId,
|
|
51
|
-
onSelect: handleTabSelect,
|
|
52
|
-
children: [
|
|
53
|
-
/* @__PURE__ */ jsx(Tabs.TabList, { children: tabs.map(
|
|
54
|
-
(tab) => showIconLabels ? /* @__PURE__ */ jsx(Tabs.Tab, { tabId: tab.name, children: tab.title }, tab.name) : /* @__PURE__ */ jsx(Tooltip, { text: tab.title, children: /* @__PURE__ */ jsx(
|
|
55
|
-
Tabs.Tab,
|
|
56
|
-
{
|
|
57
|
-
tabId: tab.name,
|
|
58
|
-
"aria-label": tab.title,
|
|
59
|
-
children: /* @__PURE__ */ jsx(Icon, { icon: tab.icon })
|
|
60
|
-
}
|
|
61
|
-
) }, tab.name)
|
|
62
|
-
) }),
|
|
63
|
-
/* @__PURE__ */ jsx(Tabs.TabPanel, { tabId: TAB_SETTINGS.name, focusable: false, children: /* @__PURE__ */ jsx(SettingsTab, { showAdvancedControls: !!blockName }) }),
|
|
64
|
-
/* @__PURE__ */ jsx(Tabs.TabPanel, { tabId: TAB_STYLES.name, focusable: false, children: /* @__PURE__ */ jsx(
|
|
65
|
-
StylesTab,
|
|
66
|
-
{
|
|
67
|
-
blockName,
|
|
68
|
-
clientId,
|
|
69
|
-
hasBlockStyles,
|
|
70
|
-
isSectionBlock,
|
|
71
|
-
contentClientIds
|
|
72
|
-
}
|
|
73
|
-
) }),
|
|
74
|
-
/* @__PURE__ */ jsx(Tabs.TabPanel, { tabId: TAB_CONTENT.name, focusable: false, children: /* @__PURE__ */ jsx(
|
|
75
|
-
ContentTab,
|
|
76
|
-
{
|
|
77
|
-
rootClientId: clientId,
|
|
78
|
-
contentClientIds
|
|
79
|
-
}
|
|
80
|
-
) }),
|
|
81
|
-
/* @__PURE__ */ jsx(Tabs.TabPanel, { tabId: TAB_LIST_VIEW.name, focusable: false, children: /* @__PURE__ */ jsx(InspectorControls.Slot, { group: "list" }) })
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
clientId
|
|
85
|
-
) });
|
|
86
|
-
}
|
|
87
|
-
export {
|
|
88
|
-
InspectorControlsTabs as default
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/inspector-controls-tabs/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport {\n\tIcon,\n\tTooltip,\n\tprivateApis as componentsPrivateApis,\n} from '@wordpress/components';\nimport { useEffect, useState, useRef } from '@wordpress/element';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { useSelect } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport { TAB_SETTINGS, TAB_STYLES, TAB_LIST_VIEW, TAB_CONTENT } from './utils';\nimport SettingsTab from './settings-tab';\nimport StylesTab from './styles-tab';\nimport ContentTab from './content-tab';\nimport InspectorControls from '../inspector-controls';\nimport { unlock } from '../../lock-unlock';\n\nconst { Tabs } = unlock( componentsPrivateApis );\n\nexport default function InspectorControlsTabs( {\n\tblockName,\n\tclientId,\n\thasBlockStyles,\n\ttabs,\n\tisSectionBlock,\n\tcontentClientIds,\n} ) {\n\tconst showIconLabels = useSelect( ( select ) => {\n\t\treturn select( preferencesStore ).get( 'core', 'showIconLabels' );\n\t}, [] );\n\n\tconst [ selectedTabId, setSelectedTabId ] = useState( tabs[ 0 ]?.name );\n\tconst hasUserSelectionRef = useRef( false );\n\n\t// Reset when switching blocks\n\tuseEffect( () => {\n\t\thasUserSelectionRef.current = false;\n\t}, [ clientId ] );\n\n\t// Auto-select first available tab unless user has made a selection\n\tuseEffect( () => {\n\t\tif ( ! tabs?.length || hasUserSelectionRef.current ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst firstTabName = tabs[ 0 ]?.name;\n\t\tif ( selectedTabId !== firstTabName ) {\n\t\t\tsetSelectedTabId( firstTabName );\n\t\t}\n\t}, [ tabs, selectedTabId ] );\n\n\tconst handleTabSelect = ( tabId ) => {\n\t\tsetSelectedTabId( tabId );\n\t\thasUserSelectionRef.current = true;\n\t};\n\n\treturn (\n\t\t<div className=\"block-editor-block-inspector__tabs\">\n\t\t\t<Tabs\n\t\t\t\tselectedTabId={ selectedTabId }\n\t\t\t\tonSelect={ handleTabSelect }\n\t\t\t\tkey={ clientId }\n\t\t\t>\n\t\t\t\t<Tabs.TabList>\n\t\t\t\t\t{ tabs.map( ( tab ) =>\n\t\t\t\t\t\tshowIconLabels ? (\n\t\t\t\t\t\t\t<Tabs.Tab key={ tab.name } tabId={ tab.name }>\n\t\t\t\t\t\t\t\t{ tab.title }\n\t\t\t\t\t\t\t</Tabs.Tab>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<Tooltip text={ tab.title } key={ tab.name }>\n\t\t\t\t\t\t\t\t<Tabs.Tab\n\t\t\t\t\t\t\t\t\ttabId={ tab.name }\n\t\t\t\t\t\t\t\t\taria-label={ tab.title }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<Icon icon={ tab.icon } />\n\t\t\t\t\t\t\t\t</Tabs.Tab>\n\t\t\t\t\t\t\t</Tooltip>\n\t\t\t\t\t\t)\n\t\t\t\t\t) }\n\t\t\t\t</Tabs.TabList>\n\t\t\t\t<Tabs.TabPanel tabId={ TAB_SETTINGS.name } focusable={ false }>\n\t\t\t\t\t<SettingsTab showAdvancedControls={ !! blockName } />\n\t\t\t\t</Tabs.TabPanel>\n\t\t\t\t<Tabs.TabPanel tabId={ TAB_STYLES.name } focusable={ false }>\n\t\t\t\t\t<StylesTab\n\t\t\t\t\t\tblockName={ blockName }\n\t\t\t\t\t\tclientId={ clientId }\n\t\t\t\t\t\thasBlockStyles={ hasBlockStyles }\n\t\t\t\t\t\tisSectionBlock={ isSectionBlock }\n\t\t\t\t\t\tcontentClientIds={ contentClientIds }\n\t\t\t\t\t/>\n\t\t\t\t</Tabs.TabPanel>\n\t\t\t\t<Tabs.TabPanel tabId={ TAB_CONTENT.name } focusable={ false }>\n\t\t\t\t\t<ContentTab\n\t\t\t\t\t\trootClientId={ clientId }\n\t\t\t\t\t\tcontentClientIds={ contentClientIds }\n\t\t\t\t\t/>\n\t\t\t\t</Tabs.TabPanel>\n\t\t\t\t<Tabs.TabPanel tabId={ TAB_LIST_VIEW.name } focusable={ false }>\n\t\t\t\t\t<InspectorControls.Slot group=\"list\" />\n\t\t\t\t</Tabs.TabPanel>\n\t\t\t</Tabs>\n\t\t</div>\n\t);\n}\n"],
|
|
5
|
-
"mappings": ";AAGA;AAAA,EACC;AAAA,EACA;AAAA,EACA,eAAe;AAAA,OACT;AACP,SAAS,WAAW,UAAU,cAAc;AAC5C,SAAS,SAAS,wBAAwB;AAC1C,SAAS,iBAAiB;AAK1B,SAAS,cAAc,YAAY,eAAe,mBAAmB;AACrE,OAAO,iBAAiB;AACxB,OAAO,eAAe;AACtB,OAAO,gBAAgB;AACvB,OAAO,uBAAuB;AAC9B,SAAS,cAAc;AA2CpB,SAQI,KARJ;AAzCH,IAAM,EAAE,KAAK,IAAI,OAAQ,qBAAsB;AAEhC,SAAR,sBAAwC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,GAAI;AACH,QAAM,iBAAiB,UAAW,CAAE,WAAY;AAC/C,WAAO,OAAQ,gBAAiB,EAAE,IAAK,QAAQ,gBAAiB;AAAA,EACjE,GAAG,CAAC,CAAE;AAEN,QAAM,CAAE,eAAe,gBAAiB,IAAI,SAAU,KAAM,CAAE,GAAG,IAAK;AACtE,QAAM,sBAAsB,OAAQ,KAAM;AAG1C,YAAW,MAAM;AAChB,wBAAoB,UAAU;AAAA,EAC/B,GAAG,CAAE,QAAS,CAAE;AAGhB,YAAW,MAAM;AAChB,QAAK,CAAE,MAAM,UAAU,oBAAoB,SAAU;AACpD;AAAA,IACD;AAEA,UAAM,eAAe,KAAM,CAAE,GAAG;AAChC,QAAK,kBAAkB,cAAe;AACrC,uBAAkB,YAAa;AAAA,IAChC;AAAA,EACD,GAAG,CAAE,MAAM,aAAc,CAAE;AAE3B,QAAM,kBAAkB,CAAE,UAAW;AACpC,qBAAkB,KAAM;AACxB,wBAAoB,UAAU;AAAA,EAC/B;AAEA,SACC,oBAAC,SAAI,WAAU,sCACd;AAAA,IAAC;AAAA;AAAA,MACA;AAAA,MACA,UAAW;AAAA,MAGX;AAAA,4BAAC,KAAK,SAAL,EACE,eAAK;AAAA,UAAK,CAAE,QACb,iBACC,oBAAC,KAAK,KAAL,EAA0B,OAAQ,IAAI,MACpC,cAAI,SADS,IAAI,IAEpB,IAEA,oBAAC,WAAQ,MAAO,IAAI,OACnB;AAAA,YAAC,KAAK;AAAA,YAAL;AAAA,cACA,OAAQ,IAAI;AAAA,cACZ,cAAa,IAAI;AAAA,cAEjB,8BAAC,QAAK,MAAO,IAAI,MAAO;AAAA;AAAA,UACzB,KANiC,IAAI,IAOtC;AAAA,QAEF,GACD;AAAA,QACA,oBAAC,KAAK,UAAL,EAAc,OAAQ,aAAa,MAAO,WAAY,OACtD,8BAAC,eAAY,sBAAuB,CAAC,CAAE,WAAY,GACpD;AAAA,QACA,oBAAC,KAAK,UAAL,EAAc,OAAQ,WAAW,MAAO,WAAY,OACpD;AAAA,UAAC;AAAA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA;AAAA,QACD,GACD;AAAA,QACA,oBAAC,KAAK,UAAL,EAAc,OAAQ,YAAY,MAAO,WAAY,OACrD;AAAA,UAAC;AAAA;AAAA,YACA,cAAe;AAAA,YACf;AAAA;AAAA,QACD,GACD;AAAA,QACA,oBAAC,KAAK,UAAL,EAAc,OAAQ,cAAc,MAAO,WAAY,OACvD,8BAAC,kBAAkB,MAAlB,EAAuB,OAAM,QAAO,GACtC;AAAA;AAAA;AAAA,IAxCM;AAAA,EAyCP,GACD;AAEF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
// packages/block-editor/src/components/inspector-controls-tabs/position-controls-panel.js
|
|
2
|
-
import {
|
|
3
|
-
__experimentalUseSlotFills as useSlotFills,
|
|
4
|
-
__experimentalToolsPanel as ToolsPanel,
|
|
5
|
-
__experimentalToolsPanelItem as ToolsPanelItem
|
|
6
|
-
} from "@wordpress/components";
|
|
7
|
-
import { useDispatch, useSelect } from "@wordpress/data";
|
|
8
|
-
import { __ } from "@wordpress/i18n";
|
|
9
|
-
import InspectorControlsGroups from "../inspector-controls/groups.js";
|
|
10
|
-
import { default as InspectorControls } from "../inspector-controls/index.js";
|
|
11
|
-
import { store as blockEditorStore } from "../../store/index.js";
|
|
12
|
-
import { useToolsPanelDropdownMenuProps } from "../global-styles/utils.js";
|
|
13
|
-
import { cleanEmptyObject } from "../../hooks/utils.js";
|
|
14
|
-
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
var PositionControlsPanel = () => {
|
|
16
|
-
const { selectedClientIds, selectedBlocks, hasPositionAttribute } = useSelect((select) => {
|
|
17
|
-
const { getBlocksByClientId, getSelectedBlockClientIds } = select(blockEditorStore);
|
|
18
|
-
const selectedBlockClientIds = getSelectedBlockClientIds();
|
|
19
|
-
const _selectedBlocks = getBlocksByClientId(
|
|
20
|
-
selectedBlockClientIds
|
|
21
|
-
);
|
|
22
|
-
return {
|
|
23
|
-
selectedClientIds: selectedBlockClientIds,
|
|
24
|
-
selectedBlocks: _selectedBlocks,
|
|
25
|
-
hasPositionAttribute: _selectedBlocks?.some(
|
|
26
|
-
({ attributes }) => !!attributes?.style?.position?.type
|
|
27
|
-
)
|
|
28
|
-
};
|
|
29
|
-
}, []);
|
|
30
|
-
const { updateBlockAttributes } = useDispatch(blockEditorStore);
|
|
31
|
-
const dropdownMenuProps = useToolsPanelDropdownMenuProps();
|
|
32
|
-
function resetPosition() {
|
|
33
|
-
if (!selectedClientIds?.length || !selectedBlocks?.length) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const attributesByClientId = Object.fromEntries(
|
|
37
|
-
selectedBlocks?.map(({ clientId, attributes }) => [
|
|
38
|
-
clientId,
|
|
39
|
-
{
|
|
40
|
-
style: cleanEmptyObject({
|
|
41
|
-
...attributes?.style,
|
|
42
|
-
position: {
|
|
43
|
-
...attributes?.style?.position,
|
|
44
|
-
type: void 0,
|
|
45
|
-
top: void 0,
|
|
46
|
-
right: void 0,
|
|
47
|
-
bottom: void 0,
|
|
48
|
-
left: void 0
|
|
49
|
-
}
|
|
50
|
-
})
|
|
51
|
-
}
|
|
52
|
-
])
|
|
53
|
-
);
|
|
54
|
-
updateBlockAttributes(selectedClientIds, attributesByClientId, true);
|
|
55
|
-
}
|
|
56
|
-
return /* @__PURE__ */ jsx(
|
|
57
|
-
ToolsPanel,
|
|
58
|
-
{
|
|
59
|
-
className: "block-editor-block-inspector__position",
|
|
60
|
-
label: __("Position"),
|
|
61
|
-
resetAll: resetPosition,
|
|
62
|
-
dropdownMenuProps,
|
|
63
|
-
children: /* @__PURE__ */ jsx(
|
|
64
|
-
ToolsPanelItem,
|
|
65
|
-
{
|
|
66
|
-
isShownByDefault: hasPositionAttribute,
|
|
67
|
-
label: __("Position"),
|
|
68
|
-
hasValue: () => hasPositionAttribute,
|
|
69
|
-
onDeselect: resetPosition,
|
|
70
|
-
children: /* @__PURE__ */ jsx(InspectorControls.Slot, { group: "position" })
|
|
71
|
-
}
|
|
72
|
-
)
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
};
|
|
76
|
-
var PositionControls = () => {
|
|
77
|
-
const fills = useSlotFills(InspectorControlsGroups.position.name);
|
|
78
|
-
const hasFills = Boolean(fills && fills.length);
|
|
79
|
-
if (!hasFills) {
|
|
80
|
-
return null;
|
|
81
|
-
}
|
|
82
|
-
return /* @__PURE__ */ jsx(PositionControlsPanel, {});
|
|
83
|
-
};
|
|
84
|
-
var position_controls_panel_default = PositionControls;
|
|
85
|
-
export {
|
|
86
|
-
position_controls_panel_default as default
|
|
87
|
-
};
|
|
88
|
-
//# sourceMappingURL=position-controls-panel.js.map
|