@blockbite/ui 1.0.5 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AutocompleteDropdown.d.ts +11 -0
- package/dist/AutocompleteDropdown.js +95 -0
- package/dist/Badge.d.ts +7 -0
- package/dist/Badge.js +16 -0
- package/dist/BitePreview.d.ts +6 -0
- package/dist/BitePreview.js +62 -0
- package/dist/Button.d.ts +14 -0
- package/dist/Button.js +52 -0
- package/dist/ButtonToggle.d.ts +36 -0
- package/dist/ButtonToggle.js +112 -0
- package/dist/Chapter.d.ts +7 -0
- package/dist/Chapter.js +19 -0
- package/dist/ChapterDivider.d.ts +8 -0
- package/dist/ChapterDivider.js +17 -0
- package/dist/Checkbox.d.ts +9 -0
- package/dist/Checkbox.js +21 -0
- package/dist/DisappearingMessage.d.ts +7 -0
- package/dist/DisappearingMessage.js +22 -0
- package/dist/DropdownPicker.d.ts +15 -0
- package/dist/DropdownPicker.js +53 -0
- package/dist/EmptyState.d.ts +9 -0
- package/dist/EmptyState.js +18 -0
- package/dist/FloatingPanel.d.ts +7 -0
- package/dist/FloatingPanel.js +43 -0
- package/dist/FocalPointControl.d.ts +7 -0
- package/dist/FocalPointControl.js +40 -0
- package/dist/Icon.d.ts +6 -0
- package/dist/Icon.js +9 -0
- package/dist/LinkPicker.d.ts +1 -0
- package/dist/LinkPicker.js +69 -0
- package/dist/MediaPicker.d.ts +4 -0
- package/dist/MediaPicker.js +98 -0
- package/dist/MetricsControl.d.ts +10 -0
- package/dist/MetricsControl.js +123 -0
- package/dist/Modal.d.ts +32 -0
- package/dist/Modal.js +82 -0
- package/dist/NewWindowPortal.d.ts +7 -0
- package/dist/NewWindowPortal.js +42 -0
- package/dist/Notice.d.ts +7 -0
- package/dist/Notice.js +24 -0
- package/dist/PasswordInput.d.ts +8 -0
- package/dist/PasswordInput.js +39 -0
- package/dist/Popover.d.ts +12 -0
- package/dist/Popover.js +48 -0
- package/dist/RangeSlider.d.ts +13 -0
- package/dist/RangeSlider.js +49 -0
- package/dist/ResponsiveImage.d.ts +1 -0
- package/dist/ResponsiveImage.js +37 -0
- package/dist/ResponsiveVideo.d.ts +1 -0
- package/dist/ResponsiveVideo.js +20 -0
- package/dist/ScrollList.d.ts +7 -0
- package/dist/ScrollList.js +21 -0
- package/dist/SectionList.d.ts +19 -0
- package/dist/SectionList.js +122 -0
- package/dist/SelectControlWrapper.d.ts +10 -0
- package/dist/SelectControlWrapper.js +33 -0
- package/dist/SingleBlockTypeAppender.d.ts +5 -0
- package/dist/SingleBlockTypeAppender.js +20 -0
- package/dist/SlideIn.d.ts +7 -0
- package/dist/SlideIn.js +28 -0
- package/dist/Spinner.d.ts +7 -0
- package/dist/Spinner.js +15 -0
- package/dist/Tabs.d.ts +26 -0
- package/dist/Tabs.js +47 -0
- package/dist/Tag.d.ts +9 -0
- package/dist/Tag.js +11 -0
- package/dist/TextControl.d.ts +16 -0
- package/dist/TextControl.js +51 -0
- package/dist/TextControlLabel.d.ts +9 -0
- package/dist/TextControlLabel.js +19 -0
- package/dist/ToggleGroup.d.ts +16 -0
- package/dist/ToggleGroup.js +52 -0
- package/dist/ToggleSwitch.d.ts +8 -0
- package/dist/ToggleSwitch.js +29 -0
- package/dist/Wrap.d.ts +8 -0
- package/dist/Wrap.js +10 -0
- package/dist/_virtual/ChevronDown.js +4 -0
- package/dist/_virtual/ColumnSpacing.js +4 -0
- package/dist/_virtual/Cross2.js +4 -0
- package/dist/_virtual/Desktop.js +4 -0
- package/dist/_virtual/Grid.js +4 -0
- package/dist/_virtual/Pencil1.js +4 -0
- package/dist/_virtual/Percentage.js +4 -0
- package/dist/_virtual/Plus.js +4 -0
- package/dist/_virtual/Slider.js +4 -0
- package/dist/_virtual/Tailwind.js +4 -0
- package/dist/_virtual/TextareaAutosize.js +4 -0
- package/dist/_virtual/Trash.js +4 -0
- package/dist/_virtual/___vite-browser-external.js +6 -0
- package/dist/_virtual/__vite-browser-external.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +28 -0
- package/dist/_virtual/async.js +4 -0
- package/dist/_virtual/autosize.js +4 -0
- package/dist/_virtual/base.js +4 -0
- package/dist/_virtual/builtin.js +4 -0
- package/dist/_virtual/character.js +4 -0
- package/dist/_virtual/clipboard.js +4 -0
- package/dist/_virtual/create.js +4 -0
- package/dist/_virtual/dispatcher.js +4 -0
- package/dist/_virtual/helpers.js +4 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index4.js +4 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/is.js +4 -0
- package/dist/_virtual/jsx-runtime.js +4 -0
- package/dist/_virtual/keys.js +4 -0
- package/dist/_virtual/picocolors.browser.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.development2.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-is.production.min2.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
- package/dist/_virtual/showdown.js +4 -0
- package/dist/_virtual/sprintf.js +4 -0
- package/dist/_virtual/symbols.js +4 -0
- package/dist/_virtual/wrap.js +4 -0
- package/dist/node_modules/@blockbite/icons/dist/ChevronDown.js +63 -0
- package/dist/node_modules/@blockbite/icons/dist/ColumnSpacing.js +65 -0
- package/dist/node_modules/@blockbite/icons/dist/Cross2.js +63 -0
- package/dist/node_modules/@blockbite/icons/dist/Desktop.js +65 -0
- package/dist/node_modules/@blockbite/icons/dist/Grid.js +65 -0
- package/dist/node_modules/@blockbite/icons/dist/Pencil1.js +65 -0
- package/dist/node_modules/@blockbite/icons/dist/Percentage.js +74 -0
- package/dist/node_modules/@blockbite/icons/dist/Plus.js +63 -0
- package/dist/node_modules/@blockbite/icons/dist/Slider.js +65 -0
- package/dist/node_modules/@blockbite/icons/dist/Tailwind.js +63 -0
- package/dist/node_modules/@blockbite/icons/dist/Trash.js +65 -0
- package/dist/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +197 -0
- package/dist/node_modules/@react-spring/core/dist/react-spring_core.modern.js +960 -0
- package/dist/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +103 -0
- package/dist/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +568 -0
- package/dist/node_modules/@react-spring/web/dist/react-spring_web.modern.js +309 -0
- package/dist/node_modules/@tannin/compile/index.js +11 -0
- package/dist/node_modules/@tannin/evaluate/index.js +68 -0
- package/dist/node_modules/@tannin/plural-forms/index.js +10 -0
- package/dist/node_modules/@tannin/postfix/index.js +47 -0
- package/dist/node_modules/@wordpress/a11y/build-module/index.js +11 -0
- package/dist/node_modules/@wordpress/a11y/build-module/script/add-container.js +11 -0
- package/dist/node_modules/@wordpress/a11y/build-module/script/add-intro-text.js +14 -0
- package/dist/node_modules/@wordpress/a11y/build-module/shared/clear.js +9 -0
- package/dist/node_modules/@wordpress/a11y/build-module/shared/filter-message.js +7 -0
- package/dist/node_modules/@wordpress/a11y/build-module/shared/index.js +10 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/index.js +78 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js +60 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js +17 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js +37 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js +10 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js +21 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js +40 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js +11 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/theme-preview.js +21 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js +10 -0
- package/dist/node_modules/@wordpress/api-fetch/build-module/utils/response.js +29 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createAddHook.js +39 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +10 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDidHook.js +11 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDoingHook.js +9 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHasHook.js +9 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHooks.js +19 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +28 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRunHook.js +25 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/index.js +43 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateHookName.js +6 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateNamespace.js +6 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/create-i18n.js +95 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/default-i18n.js +17 -0
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/sprintf.js +3 -0
- package/dist/node_modules/@wordpress/autop/build-module/index.js +76 -0
- package/dist/node_modules/@wordpress/blob/build-module/index.js +16 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/index.js +9 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/ui.js +67 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/background-image-control/index.js +416 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/constants.js +39 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js +9 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/ui.js +77 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/use-available-alignments.js +31 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-card/index.js +85 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js +43 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js +54 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-context/index.js +20 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/fill.js +35 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/groups.js +11 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/hook.js +9 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js +8 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/slot.js +38 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js +47 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js +20 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js +135 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js +63 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/multiple-usage-warning.js +38 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-editing-mode/index.js +21 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js +33 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js +19 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js +12 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js +43 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js +99 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block.js +474 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/index.js +188 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js +13 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/private-block-context.js +5 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/index.js +117 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js +33 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +37 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-first-element.js +44 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-handler.js +30 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-intersection-observer.js +15 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-is-hovered.js +22 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-scroll-into-view.js +29 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +94 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-in-between-inserter.js +78 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/zoom-out-separator.js +99 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js +50 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-list/index.js +159 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-paging/index.js +94 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/cover.js +57 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/index.js +82 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/use-popover-scroll.js +25 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/async.js +22 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/auto.js +93 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js +51 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js +29 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-tools/insertion-point.js +8 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js +42 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/index.js +9 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/ui.js +60 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/all-input-control.js +41 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js +83 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/input-controls.js +62 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/linked-button.js +24 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/utils.js +34 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js +65 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/child-layout-control/index.js +249 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors/utils.js +26 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js +124 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +45 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js +73 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js +74 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/dimensions-tool/aspect-ratio-tool.js +56 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone/utils.js +58 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone-control/index.js +69 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/editor-styles/index.js +77 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-appearance-control/index.js +100 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-family/index.js +64 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/fluid-utils.js +77 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js +24 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/background-panel.js +82 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/border-panel.js +203 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/color-panel.js +448 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/context.js +12 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/dimensions-panel.js +400 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/filters-panel.js +168 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/get-block-css-selector.js +29 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/hooks.js +116 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/shadow-panel-components.js +189 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-panel.js +308 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-utils.js +81 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/use-global-styles-output.js +418 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/utils.js +190 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/gradients/use-gradient.js +9 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-movers.js +113 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-resizer.js +114 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-visualizer.js +264 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-get-number-of-blocks-before-cell.js +24 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-grid-layout-sync.js +161 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/utils.js +77 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/height-control/index.js +178 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/get-compatibility-styles.js +38 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/index.js +206 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/use-scale-canvas.js +139 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js +26 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js +14 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js +179 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-block-context.js +16 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-inner-block-template-sync.js +44 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-nested-settings-update.js +54 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/index.js +49 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +65 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-list.js +92 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/index.js +57 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +81 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/patterns-filter.js +100 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js +31 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/utils.js +32 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-types-tab.js +123 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/category-tabs/index.js +64 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js +58 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js +92 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-paging.js +23 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-state.js +66 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/index.js +281 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/hooks.js +67 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-list.js +26 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-panel.js +45 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-preview.js +207 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-tab.js +72 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/utils.js +30 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js +203 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/mobile-tab-navigation.js +77 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/no-results.js +15 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/panel.js +25 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/preview-panel.js +67 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/quick-inserter.js +92 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js +66 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-results.js +127 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/tips.js +26 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-draggable-blocks/index.js +70 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js +84 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/group.js +28 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/index.js +15 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/item.js +34 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/row.js +14 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js +9 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-slot-container.js +26 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-tools-panel.js +56 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/fill.js +64 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/groups.js +21 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js +8 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/slot.js +44 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js +9 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/ui.js +71 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/keyboard-shortcuts/index.js +160 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/letter-spacing-control/index.js +40 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js +74 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js +11 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/constants.js +16 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/index.js +204 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/is-url-like.js +16 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/link-preview.js +130 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-create-button.js +35 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js +96 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js +82 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-results.js +63 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js +57 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings.js +37 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-create-page.js +47 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-internal-value.js +25 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-rich-url-data.js +66 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-search-handler.js +58 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/viewer-slot.js +10 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js +181 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js +17 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js +5 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js +95 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/block-refs-provider.js +21 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/index.js +74 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-block-sync.js +85 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-media-upload-settings.js +12 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/with-registry-provider.js +33 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js +29 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/index.js +79 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/axial.js +44 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/separated.js +38 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/single.js +37 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +286 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/linked-button.js +23 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/utils.js +121 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/tabbed-sidebar/index.js +54 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-alignment-control/index.js +55 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js +47 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js +52 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/url-input/index.js +322 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js +50 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-drop-zone/index.js +199 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-flash-editable-blocks/index.js +30 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js +91 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-on-block-drop/index.js +132 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-settings/index.js +16 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/warning/index.js +54 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js +45 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-arrow-nav.js +114 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-click-selection.js +28 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-clipboard-handler.js +128 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-drag-selection.js +59 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-input.js +75 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-multi-selection.js +47 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-select-all.js +42 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-selection-observer.js +125 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-tab-nav.js +104 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/utils.js +30 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-mode-control/index.js +42 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/align.js +83 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/anchor.js +75 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/aria-label.js +27 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/background.js +126 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-bindings.js +231 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-hooks.js +142 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-renaming.js +23 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-style-variation.js +138 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/border.js +237 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/color.js +221 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/compat.js +10 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/content-lock-ui.js +51 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/contrast-checker.js +44 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/custom-class-name.js +75 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/dimensions.js +112 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/duotone.js +186 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-family.js +47 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-size.js +77 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/gap.js +21 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/generated-class-name.js +11 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/grid-visualizer.js +43 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/index.js +42 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout-child.js +163 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout.js +245 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/line-height.js +7 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/lock.js +14 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/metadata.js +14 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/position.js +168 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/settings.js +13 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/spacing-visualizer.js +91 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/style.js +174 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/text-align.js +99 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/typography.js +103 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-typography-props.js +6 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-zoom-out.js +30 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/utils.js +300 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/constrained.js +237 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/definitions.js +147 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flex.js +255 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flow.js +67 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/grid.js +291 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/index.js +15 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/utils.js +26 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/lock-unlock.js +7 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/actions.js +909 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/array.js +11 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/constants.js +4 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/defaults.js +219 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/get-block-settings.js +80 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/index.js +27 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-actions.js +232 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-keys.js +8 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-selectors.js +244 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/reducer.js +1437 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/selectors.js +979 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/store/utils.js +56 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/block-bindings.js +95 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/dom.js +70 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-style.js +31 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-weight.js +54 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/get-font-styles-and-weights.js +98 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/math.js +27 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/object.js +26 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/order-inserter-block-items.js +11 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/pasting.js +48 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/selection.js +22 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/sorting.js +15 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/transform-styles/index.js +80 -0
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/use-notify-copy.js +49 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/filter-url-for-display.js +18 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-filename.js +14 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-path.js +8 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-protocol.js +8 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-email.js +7 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-url.js +10 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-fragment.js +6 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-protocol.js +6 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/prepend-http.js +8 -0
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/safe-decode-uri.js +10 -0
- package/dist/node_modules/@wordpress/block-serialization-default-parser/build-module/index.js +98 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/children.js +33 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/constants.js +282 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/factory.js +139 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/index.js +16 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/matchers.js +29 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/node.js +52 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-block-deprecated-versions.js +51 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-built-in-validation-fixes.js +16 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/convert-legacy-block.js +60 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-aria-label.js +23 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-custom-classname.js +28 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/get-block-attributes.js +111 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/index.js +100 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/serialize-raw-block.js +22 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/blockquote-normaliser.js +9 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/br-remover.js +7 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/comment-remover.js +7 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/div-normaliser.js +7 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/empty-paragraph-remover.js +6 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/figure-content-reducer.js +26 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/get-raw-transforms.js +12 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/google-docs-uid-remover.js +7 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/head-remover.js +6 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-formatting-remover.js +26 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-to-blocks.js +31 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/iframe-remover.js +9 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js +30 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/index.js +42 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/is-inline-content.js +24 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/list-reducer.js +31 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js +23 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-converter.js +28 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-ignore.js +14 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/normalise-blocks.js +13 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js +78 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content-reducer.js +17 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js +41 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/slack-paragraph-corrector.js +11 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/special-comment-converter.js +36 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/utils.js +87 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/registration.js +58 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/serializer.js +138 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/templates.js +36 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/utils.js +101 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/validation/index.js +173 -0
- package/dist/node_modules/@wordpress/blocks/build-module/api/validation/logger.js +39 -0
- package/dist/node_modules/@wordpress/blocks/build-module/lock-unlock.js +9 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/actions.js +130 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/constants.js +4 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/index.js +20 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/private-actions.js +45 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/private-selectors.js +58 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/process-block-type.js +99 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/reducer.js +251 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/selectors.js +109 -0
- package/dist/node_modules/@wordpress/blocks/build-module/store/utils.js +18 -0
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.development.js +103 -0
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.production.min.js +81 -0
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/index.js +8 -0
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/compose.js +5 -0
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js +10 -0
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/pipe.js +8 -0
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/pure/index.js +23 -0
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js +13 -0
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js +33 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js +34 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js +29 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js +10 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounced-input/index.js +11 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js +32 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js +67 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-event/index.js +12 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js +17 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js +5 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js +30 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js +23 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js +10 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js +5 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js +10 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js +7 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/legacy/index.js +61 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/use-resize-observer.js +18 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js +10 -0
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js +28 -0
- package/dist/node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js +14 -0
- package/dist/node_modules/@wordpress/compose/build-module/utils/debounce/index.js +63 -0
- package/dist/node_modules/@wordpress/compose/build-module/utils/observable-map/index.js +29 -0
- package/dist/node_modules/@wordpress/compose/build-module/utils/throttle/index.js +9 -0
- package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js +9 -0
- package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js +8 -0
- package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/context.js +10 -0
- package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js +8 -0
- package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js +15 -0
- package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js +10 -0
- package/dist/node_modules/@wordpress/data/build-module/components/use-select/index.js +112 -0
- package/dist/node_modules/@wordpress/data/build-module/components/with-dispatch/index.js +13 -0
- package/dist/node_modules/@wordpress/data/build-module/components/with-select/index.js +14 -0
- package/dist/node_modules/@wordpress/data/build-module/controls.js +24 -0
- package/dist/node_modules/@wordpress/data/build-module/default-registry.js +5 -0
- package/dist/node_modules/@wordpress/data/build-module/factory.js +14 -0
- package/dist/node_modules/@wordpress/data/build-module/index.js +15 -0
- package/dist/node_modules/@wordpress/data/build-module/lock-unlock.js +9 -0
- package/dist/node_modules/@wordpress/data/build-module/promise-middleware.js +8 -0
- package/dist/node_modules/@wordpress/data/build-module/redux-store/combine-reducers.js +15 -0
- package/dist/node_modules/@wordpress/data/build-module/redux-store/index.js +250 -0
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js +73 -0
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js +83 -0
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js +78 -0
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js +23 -0
- package/dist/node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js +6 -0
- package/dist/node_modules/@wordpress/data/build-module/registry.js +159 -0
- package/dist/node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js +12 -0
- package/dist/node_modules/@wordpress/data/build-module/select.js +7 -0
- package/dist/node_modules/@wordpress/data/build-module/store/index.js +21 -0
- package/dist/node_modules/@wordpress/data/build-module/utils/emitter.js +33 -0
- package/dist/node_modules/@wordpress/deprecated/build-module/index.js +17 -0
- package/dist/node_modules/@wordpress/dom/build-module/data-transfer.js +14 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js +14 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/clean-node-list.js +51 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js +11 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-selection.js +9 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js +11 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js +8 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-computed-style.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-range-height.js +14 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js +58 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js +27 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js +13 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js +27 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/insert-after.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-edge.js +42 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-element.js +6 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-empty.js +16 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js +46 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-form-element.js +12 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js +6 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js +6 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-rtl.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js +15 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-text-field.js +9 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js +39 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js +8 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/remove.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/replace-tag.js +10 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/replace.js +9 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/safe-html.js +27 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/scroll-if-no-range.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/strip-html.js +9 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/unwrap.js +10 -0
- package/dist/node_modules/@wordpress/dom/build-module/dom/wrap.js +7 -0
- package/dist/node_modules/@wordpress/dom/build-module/focusable.js +32 -0
- package/dist/node_modules/@wordpress/dom/build-module/index.js +9 -0
- package/dist/node_modules/@wordpress/dom/build-module/phrasing-content.js +125 -0
- package/dist/node_modules/@wordpress/dom/build-module/tabbable.js +66 -0
- package/dist/node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js +7 -0
- package/dist/node_modules/@wordpress/dom-ready/build-module/index.js +11 -0
- package/dist/node_modules/@wordpress/escape-html/build-module/escape-greater.js +6 -0
- package/dist/node_modules/@wordpress/escape-html/build-module/index.js +28 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createAddHook.js +39 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +10 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createDidHook.js +11 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createDoingHook.js +9 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createHasHook.js +9 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createHooks.js +19 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +28 -0
- package/dist/node_modules/@wordpress/hooks/build-module/createRunHook.js +42 -0
- package/dist/node_modules/@wordpress/hooks/build-module/index.js +47 -0
- package/dist/node_modules/@wordpress/hooks/build-module/validateHookName.js +6 -0
- package/dist/node_modules/@wordpress/hooks/build-module/validateNamespace.js +6 -0
- package/dist/node_modules/@wordpress/html-entities/build-module/index.js +12 -0
- package/dist/node_modules/@wordpress/i18n/build-module/create-i18n.js +95 -0
- package/dist/node_modules/@wordpress/i18n/build-module/default-i18n.js +18 -0
- package/dist/node_modules/@wordpress/i18n/build-module/sprintf.js +15 -0
- package/dist/node_modules/@wordpress/icons/build-module/icon/index.js +17 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/align-center.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/align-justify.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/align-left.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/align-none.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/align-right.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/arrow-down.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/arrow-right.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/block-default.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/category.js +14 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/check.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-down.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left-small.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right-small.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-up.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/close-small.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/copy-small.js +14 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/drag-handle.js +14 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/edit.js +4 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/external.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/file.js +14 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/filter.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/format-capitalize.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/format-lowercase.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/format-strikethrough.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/format-underline.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/format-uppercase.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/globe.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/home.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/info.js +14 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-bottom.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-center.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-left.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-right.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between-vertical.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-top.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/keyboard-return.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/link-off.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/link.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/media.js +16 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/more-vertical.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/page.js +14 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/pencil.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/plus.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/position-center.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/position-left.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/position-right.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/post-featured-image.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/post-list.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/reset.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/settings.js +14 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/shadow.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-all.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-bottom.js +17 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-horizontal.js +19 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-left.js +17 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-right.js +17 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-top.js +17 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-vertical.js +19 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/stretch-full-width.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/stretch-wide.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/symbol.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/tag.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/text-horizontal.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/text-vertical.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/upload.js +12 -0
- package/dist/node_modules/@wordpress/icons/build-module/library/verse.js +12 -0
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/arrays.js +13 -0
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/index.js +16 -0
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/objects.js +25 -0
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/components/shortcut-provider.js +6 -0
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/context.js +15 -0
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.js +18 -0
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js +26 -0
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js +14 -0
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js +24 -0
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js +33 -0
- package/dist/node_modules/@wordpress/keycodes/build-module/index.js +123 -0
- package/dist/node_modules/@wordpress/keycodes/build-module/platform.js +14 -0
- package/dist/node_modules/@wordpress/notices/build-module/store/actions.js +76 -0
- package/dist/node_modules/@wordpress/notices/build-module/store/constants.js +5 -0
- package/dist/node_modules/@wordpress/notices/build-module/store/index.js +14 -0
- package/dist/node_modules/@wordpress/notices/build-module/store/reducer.js +25 -0
- package/dist/node_modules/@wordpress/notices/build-module/store/selectors.js +8 -0
- package/dist/node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js +14 -0
- package/dist/node_modules/@wordpress/preferences/build-module/store/actions.js +38 -0
- package/dist/node_modules/@wordpress/preferences/build-module/store/constants.js +4 -0
- package/dist/node_modules/@wordpress/preferences/build-module/store/index.js +15 -0
- package/dist/node_modules/@wordpress/preferences/build-module/store/reducer.js +56 -0
- package/dist/node_modules/@wordpress/preferences/build-module/store/selectors.js +11 -0
- package/dist/node_modules/@wordpress/primitives/build-module/svg/index.js +35 -0
- package/dist/node_modules/@wordpress/priority-queue/build-module/index.js +31 -0
- package/dist/node_modules/@wordpress/priority-queue/build-module/request-idle-callback.js +11 -0
- package/dist/node_modules/@wordpress/private-apis/build-module/implementation.js +28 -0
- package/dist/node_modules/@wordpress/redux-routine/build-module/index.js +11 -0
- package/dist/node_modules/@wordpress/redux-routine/build-module/is-action.js +11 -0
- package/dist/node_modules/@wordpress/redux-routine/build-module/is-generator.js +6 -0
- package/dist/node_modules/@wordpress/redux-routine/build-module/runtime.js +20 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/concat.js +6 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/create-element.js +8 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/create.js +330 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/get-active-formats.js +37 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/get-format-type.js +8 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/get-text-content.js +9 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/insert.js +23 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/is-format-equal.js +24 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/normalise-formats.js +20 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/remove.js +8 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/special-characters.js +5 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/store/actions.js +16 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/store/index.js +14 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/store/reducer.js +24 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/store/selectors.js +26 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/to-html-string.js +74 -0
- package/dist/node_modules/@wordpress/rich-text/build-module/to-tree.js +162 -0
- package/dist/node_modules/@wordpress/shortcode/build-module/index.js +129 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/index.js +29 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/background/index.js +28 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/border/index.js +38 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/background.js +8 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/gradient.js +8 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/index.js +7 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/text.js +8 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/constants.js +6 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/dimensions/index.js +11 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/index.js +12 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/outline/index.js +17 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/shadow/index.js +8 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/index.js +6 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/margin.js +11 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/padding.js +11 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/typography/index.js +35 -0
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/utils.js +78 -0
- package/dist/node_modules/@wordpress/token-list/build-module/index.js +166 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/index.js +22 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/with-registry-provider.js +33 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/get-mime-types-array.js +9 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/lock-unlock.js +7 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/actions.js +69 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/constants.js +4 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/index.js +25 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/private-actions.js +196 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/private-selectors.js +31 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/reducer.js +114 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/selectors.js +22 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/store/types.js +12 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/stub-file.js +8 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/upload-error.js +15 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/utils.js +25 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-file-size.js +29 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type-for-user.js +24 -0
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type.js +22 -0
- package/dist/node_modules/@wordpress/url/build-module/add-query-args.js +12 -0
- package/dist/node_modules/@wordpress/url/build-module/build-query-string.js +17 -0
- package/dist/node_modules/@wordpress/url/build-module/get-query-arg.js +7 -0
- package/dist/node_modules/@wordpress/url/build-module/get-query-args.js +33 -0
- package/dist/node_modules/@wordpress/url/build-module/get-query-string.js +12 -0
- package/dist/node_modules/@wordpress/url/build-module/has-query-arg.js +7 -0
- package/dist/node_modules/@wordpress/url/build-module/normalize-path.js +7 -0
- package/dist/node_modules/@wordpress/url/build-module/remove-query-args.js +14 -0
- package/dist/node_modules/@wordpress/url/build-module/safe-decode-uri-component.js +10 -0
- package/dist/node_modules/@wordpress/warning/build-module/index.js +17 -0
- package/dist/node_modules/@wordpress/warning/build-module/utils.js +4 -0
- package/dist/node_modules/autosize/dist/autosize.js +129 -0
- package/dist/node_modules/camel-case/dist.es2015/index.js +12 -0
- package/dist/node_modules/clipboard/dist/clipboard.js +496 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/colord/index.js +139 -0
- package/dist/node_modules/colord/plugins/a11y.js +22 -0
- package/dist/node_modules/colord/plugins/names.js +25 -0
- package/dist/node_modules/computed-style/dist/computedStyle.commonjs.js +22 -0
- package/dist/node_modules/diff/lib/diff/base.js +142 -0
- package/dist/node_modules/diff/lib/diff/character.js +22 -0
- package/dist/node_modules/dot-case/dist.es2015/index.js +8 -0
- package/dist/node_modules/equivalent-key-map/equivalent-key-map.js +149 -0
- package/dist/node_modules/fast-deep-equal/es6/index.js +50 -0
- package/dist/node_modules/fast-deep-equal/index.js +30 -0
- package/dist/node_modules/hpq/es/get-path.js +11 -0
- package/dist/node_modules/hpq/es/index.js +56 -0
- package/dist/node_modules/is-plain-object/dist/is-plain-object.js +16 -0
- package/dist/node_modules/is-promise/index.js +6 -0
- package/dist/node_modules/line-height/lib/line-height.js +24 -0
- package/dist/node_modules/lodash/_Hash.js +22 -0
- package/dist/node_modules/lodash/_ListCache.js +22 -0
- package/dist/node_modules/lodash/_Map.js +6 -0
- package/dist/node_modules/lodash/_MapCache.js +22 -0
- package/dist/node_modules/lodash/_Symbol.js +5 -0
- package/dist/node_modules/lodash/_arrayMap.js +9 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +12 -0
- package/dist/node_modules/lodash/_baseGetTag.js +11 -0
- package/dist/node_modules/lodash/_baseHas.js +8 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +10 -0
- package/dist/node_modules/lodash/_baseIsNative.js +17 -0
- package/dist/node_modules/lodash/_baseToString.js +19 -0
- package/dist/node_modules/lodash/_castPath.js +12 -0
- package/dist/node_modules/lodash/_coreJsData.js +5 -0
- package/dist/node_modules/lodash/_freeGlobal.js +5 -0
- package/dist/node_modules/lodash/_getMapData.js +10 -0
- package/dist/node_modules/lodash/_getNative.js +11 -0
- package/dist/node_modules/lodash/_getRawTag.js +16 -0
- package/dist/node_modules/lodash/_getValue.js +7 -0
- package/dist/node_modules/lodash/_hasPath.js +21 -0
- package/dist/node_modules/lodash/_hashClear.js +9 -0
- package/dist/node_modules/lodash/_hashDelete.js +8 -0
- package/dist/node_modules/lodash/_hashGet.js +14 -0
- package/dist/node_modules/lodash/_hashHas.js +10 -0
- package/dist/node_modules/lodash/_hashSet.js +10 -0
- package/dist/node_modules/lodash/_isIndex.js +9 -0
- package/dist/node_modules/lodash/_isKey.js +13 -0
- package/dist/node_modules/lodash/_isKeyable.js +8 -0
- package/dist/node_modules/lodash/_isMasked.js +12 -0
- package/dist/node_modules/lodash/_listCacheClear.js +7 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +13 -0
- package/dist/node_modules/lodash/_listCacheGet.js +10 -0
- package/dist/node_modules/lodash/_listCacheHas.js +9 -0
- package/dist/node_modules/lodash/_listCacheSet.js +10 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +15 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +10 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +9 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +9 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +10 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +12 -0
- package/dist/node_modules/lodash/_nativeCreate.js +5 -0
- package/dist/node_modules/lodash/_objectToString.js +8 -0
- package/dist/node_modules/lodash/_root.js +5 -0
- package/dist/node_modules/lodash/_stringToPath.js +10 -0
- package/dist/node_modules/lodash/_toKey.js +12 -0
- package/dist/node_modules/lodash/_toSource.js +18 -0
- package/dist/node_modules/lodash/eq.js +7 -0
- package/dist/node_modules/lodash/has.js +12 -0
- package/dist/node_modules/lodash/isArguments.js +10 -0
- package/dist/node_modules/lodash/isArray.js +4 -0
- package/dist/node_modules/lodash/isFunction.js +13 -0
- package/dist/node_modules/lodash/isLength.js +8 -0
- package/dist/node_modules/lodash/isObject.js +8 -0
- package/dist/node_modules/lodash/isObjectLike.js +7 -0
- package/dist/node_modules/lodash/isSymbol.js +10 -0
- package/dist/node_modules/lodash/memoize.js +19 -0
- package/dist/node_modules/lodash/toString.js +9 -0
- package/dist/node_modules/lower-case/dist.es2015/index.js +6 -0
- package/dist/node_modules/memize/dist/index.js +34 -0
- package/dist/node_modules/nanoid/non-secure/index.js +10 -0
- package/dist/node_modules/no-case/dist.es2015/index.js +18 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/param-case/dist.es2015/index.js +8 -0
- package/dist/node_modules/parsel-js/dist/parsel.js +128 -0
- package/dist/node_modules/pascal-case/dist.es2015/index.js +13 -0
- package/dist/node_modules/picocolors/picocolors.browser.js +10 -0
- package/dist/node_modules/postcss/lib/at-rule.js +19 -0
- package/dist/node_modules/postcss/lib/comment.js +12 -0
- package/dist/node_modules/postcss/lib/container.js +225 -0
- package/dist/node_modules/postcss/lib/css-syntax-error.js +55 -0
- package/dist/node_modules/postcss/lib/declaration.js +15 -0
- package/dist/node_modules/postcss/lib/document.js +21 -0
- package/dist/node_modules/postcss/lib/input.js +133 -0
- package/dist/node_modules/postcss/lib/lazy-result.js +346 -0
- package/dist/node_modules/postcss/lib/list.js +21 -0
- package/dist/node_modules/postcss/lib/map-generator.js +166 -0
- package/dist/node_modules/postcss/lib/no-work-result.js +90 -0
- package/dist/node_modules/postcss/lib/node.js +240 -0
- package/dist/node_modules/postcss/lib/parse.js +22 -0
- package/dist/node_modules/postcss/lib/parser.js +317 -0
- package/dist/node_modules/postcss/lib/previous-map.js +88 -0
- package/dist/node_modules/postcss/lib/processor.js +43 -0
- package/dist/node_modules/postcss/lib/result.js +26 -0
- package/dist/node_modules/postcss/lib/root.js +37 -0
- package/dist/node_modules/postcss/lib/rule.js +21 -0
- package/dist/node_modules/postcss/lib/stringifier.js +192 -0
- package/dist/node_modules/postcss/lib/stringify.js +10 -0
- package/dist/node_modules/postcss/lib/symbols.js +6 -0
- package/dist/node_modules/postcss/lib/tokenize.js +109 -0
- package/dist/node_modules/postcss/lib/warn-once.js +7 -0
- package/dist/node_modules/postcss/lib/warning.js +21 -0
- package/dist/node_modules/postcss-prefix-selector/index.js +32 -0
- package/dist/node_modules/postcss-urlrebase/index.js +28 -0
- package/dist/node_modules/postcss-value-parser/lib/index.js +21 -0
- package/dist/node_modules/postcss-value-parser/lib/parse.js +114 -0
- package/dist/node_modules/postcss-value-parser/lib/stringify.js +17 -0
- package/dist/node_modules/postcss-value-parser/lib/unit.js +36 -0
- package/dist/node_modules/postcss-value-parser/lib/walk.js +8 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +13 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +604 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +28 -0
- package/dist/node_modules/react/jsx-runtime.js +8 -0
- package/dist/node_modules/react-autosize-textarea/lib/TextareaAutosize.js +90 -0
- package/dist/node_modules/react-autosize-textarea/lib/index.js +13 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/redux/dist/redux.js +185 -0
- package/dist/node_modules/rememo/rememo.js +63 -0
- package/dist/node_modules/remove-accents/index.js +479 -0
- package/dist/node_modules/requestidlecallback/index.js +87 -0
- package/dist/node_modules/rungen/dist/controls/async.js +73 -0
- package/dist/node_modules/rungen/dist/controls/builtin.js +47 -0
- package/dist/node_modules/rungen/dist/controls/wrap.js +34 -0
- package/dist/node_modules/rungen/dist/create.js +60 -0
- package/dist/node_modules/rungen/dist/index.js +28 -0
- package/dist/node_modules/rungen/dist/utils/dispatcher.js +22 -0
- package/dist/node_modules/rungen/dist/utils/helpers.js +111 -0
- package/dist/node_modules/rungen/dist/utils/is.js +57 -0
- package/dist/node_modules/rungen/dist/utils/keys.js +15 -0
- package/dist/node_modules/showdown/dist/showdown.js +2673 -0
- package/dist/node_modules/simple-html-tokenizer/dist/es6/index.js +600 -0
- package/dist/node_modules/sprintf-js/src/sprintf.js +145 -0
- package/dist/node_modules/tannin/index.js +36 -0
- package/dist/node_modules/tslib/tslib.es6.js +12 -0
- package/dist/node_modules/use-memo-one/dist/use-memo-one.esm.js +26 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +6 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +10 -0
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +9 -0
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +13 -0
- package/dist/types.d.ts +4 -0
- package/dist/vite.svg +1 -0
- package/package.json +23 -12
- package/src/AutocompleteDropdown.tsx +0 -109
- package/src/Badge.tsx +0 -21
- package/src/BitePreview.tsx +0 -88
- package/src/Button.tsx +0 -60
- package/src/ButtonToggle.tsx +0 -165
- package/src/Chapter.tsx +0 -22
- package/src/ChapterDivider.tsx +0 -25
- package/src/Checkbox.tsx +0 -30
- package/src/DisappearingMessage.tsx +0 -41
- package/src/DropdownPicker.tsx +0 -72
- package/src/EmptyState.tsx +0 -32
- package/src/FloatingPanel.tsx +0 -59
- package/src/FocalPointControl.tsx +0 -58
- package/src/Icon.tsx +0 -17
- package/src/LinkPicker.tsx +0 -94
- package/src/MediaPicker.tsx +0 -161
- package/src/MetricsControl.tsx +0 -179
- package/src/Modal.tsx +0 -171
- package/src/NewWindowPortal.tsx +0 -68
- package/src/Notice.tsx +0 -32
- package/src/PasswordInput.tsx +0 -53
- package/src/Popover.tsx +0 -68
- package/src/RangeSlider.tsx +0 -68
- package/src/ResponsiveImage.tsx +0 -42
- package/src/ResponsiveVideo.tsx +0 -20
- package/src/ScrollList.tsx +0 -24
- package/src/SectionList.tsx +0 -166
- package/src/SelectControlWrapper.tsx +0 -47
- package/src/SingleBlockTypeAppender.tsx +0 -37
- package/src/SlideIn.tsx +0 -34
- package/src/Spinner.tsx +0 -24
- package/src/Tabs.tsx +0 -102
- package/src/Tag.tsx +0 -44
- package/src/TextControl.tsx +0 -74
- package/src/TextControlLabel.tsx +0 -27
- package/src/ToggleGroup.tsx +0 -72
- package/src/ToggleSwitch.tsx +0 -37
- package/src/Wrap.tsx +0 -23
- package/src/_dev/App.css +0 -42
- package/src/_dev/App.tsx +0 -183
- package/src/_dev/assets/react.svg +0 -1
- package/src/_dev/index.css +0 -68
- package/src/_dev/main.tsx +0 -10
- package/src/_dev/vite-env.d.ts +0 -1
- package/src/types/ui-fallbacks.d.ts +0 -7
- package/src/types.ts +0 -4
- /package/{src → dist}/ui.css +0 -0
|
@@ -0,0 +1,979 @@
|
|
|
1
|
+
import { store as H } from "../../../blocks/build-module/store/index.js";
|
|
2
|
+
import { Platform as me } from "@wordpress/element";
|
|
3
|
+
import { applyFilters as ye } from "../../../hooks/build-module/index.js";
|
|
4
|
+
import "../../../rich-text/build-module/store/index.js";
|
|
5
|
+
import { create as ee } from "../../../rich-text/build-module/create.js";
|
|
6
|
+
import { remove as te } from "../../../rich-text/build-module/remove.js";
|
|
7
|
+
import { toHTMLString as ne } from "../../../rich-text/build-module/to-html-string.js";
|
|
8
|
+
import h from "../../../deprecated/build-module/index.js";
|
|
9
|
+
import { getInsertBlockTypeDependants as R, isFiltered as j, getParsedPattern as ie, getAllPatternsDependants as Ie, checkAllowListRecursive as he, getGrammar as oe, checkAllowList as M } from "./utils.js";
|
|
10
|
+
import { orderBy as _e } from "../utils/sorting.js";
|
|
11
|
+
import { STORE_NAME as I } from "./constants.js";
|
|
12
|
+
import { unlock as _ } from "../lock-unlock.js";
|
|
13
|
+
import { getParentSectionBlock as Se, isZoomOut as Ae, getSectionRootClientId as ve, getContentLockingParent as we, getTemporarilyEditingAsBlocks as Ce, getTemporarilyEditingFocusModeToRevert as Pe, isSectionBlock as Te } from "./private-selectors.js";
|
|
14
|
+
import a from "../../../../rememo/rememo.js";
|
|
15
|
+
import { createRegistrySelector as p } from "../../../data/build-module/factory.js";
|
|
16
|
+
import { getBlockType as E, hasBlockSupport as L, getBlockTypes as P, getBlockVariations as Ee } from "../../../blocks/build-module/api/registration.js";
|
|
17
|
+
import { switchToBlockType as xe, getPossibleBlockTransformations as Me } from "../../../blocks/build-module/api/factory.js";
|
|
18
|
+
import re from "../../../icons/build-module/library/symbol.js";
|
|
19
|
+
import { store as Ge } from "../../../preferences/build-module/store/index.js";
|
|
20
|
+
const Re = 3600 * 1e3, Le = 24 * 3600 * 1e3, De = 7 * 24 * 3600 * 1e3, g = [], Oe = /* @__PURE__ */ new Set(), se = {
|
|
21
|
+
[j]: !0
|
|
22
|
+
};
|
|
23
|
+
function S(e, t) {
|
|
24
|
+
const n = e.blocks.byClientId.get(t), o = "core/social-link";
|
|
25
|
+
if (me.OS !== "web" && n?.name === o) {
|
|
26
|
+
const r = e.blocks.attributes.get(t), {
|
|
27
|
+
service: l
|
|
28
|
+
} = r ?? {};
|
|
29
|
+
return l ? `${o}-${l}` : o;
|
|
30
|
+
}
|
|
31
|
+
return n ? n.name : null;
|
|
32
|
+
}
|
|
33
|
+
function St(e, t) {
|
|
34
|
+
const n = e.blocks.byClientId.get(t);
|
|
35
|
+
return !!n && n.isValid;
|
|
36
|
+
}
|
|
37
|
+
function F(e, t) {
|
|
38
|
+
return e.blocks.byClientId.get(t) ? e.blocks.attributes.get(t) : null;
|
|
39
|
+
}
|
|
40
|
+
function v(e, t) {
|
|
41
|
+
return e.blocks.byClientId.has(t) ? e.blocks.tree.get(t) : null;
|
|
42
|
+
}
|
|
43
|
+
const At = a((e, t) => {
|
|
44
|
+
const n = e.blocks.byClientId.get(t);
|
|
45
|
+
return n ? {
|
|
46
|
+
...n,
|
|
47
|
+
attributes: F(e, t)
|
|
48
|
+
} : null;
|
|
49
|
+
}, (e, t) => [e.blocks.byClientId.get(t), e.blocks.attributes.get(t)]);
|
|
50
|
+
function vt(e, t) {
|
|
51
|
+
const n = !t || !X(e, t) ? t || "" : "controlled||" + t;
|
|
52
|
+
return e.blocks.tree.get(n)?.innerBlocks || g;
|
|
53
|
+
}
|
|
54
|
+
const We = a((e, t) => (h("wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree", {
|
|
55
|
+
since: "6.3",
|
|
56
|
+
version: "6.5"
|
|
57
|
+
}), {
|
|
58
|
+
clientId: t,
|
|
59
|
+
innerBlocks: Fe(e, t)
|
|
60
|
+
}), (e) => [e.blocks.order]), Fe = a((e, t = "") => (h("wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree", {
|
|
61
|
+
since: "6.3",
|
|
62
|
+
version: "6.5"
|
|
63
|
+
}), A(e, t).map((n) => We(e, n))), (e) => [e.blocks.order]), Ve = a((e, t) => {
|
|
64
|
+
t = Array.isArray(t) ? [...t] : [t];
|
|
65
|
+
const n = [];
|
|
66
|
+
for (const r of t) {
|
|
67
|
+
const l = e.blocks.order.get(r);
|
|
68
|
+
l && n.push(...l);
|
|
69
|
+
}
|
|
70
|
+
let o = 0;
|
|
71
|
+
for (; o < n.length; ) {
|
|
72
|
+
const r = n[o], l = e.blocks.order.get(r);
|
|
73
|
+
l && n.splice(o + 1, 0, ...l), o++;
|
|
74
|
+
}
|
|
75
|
+
return n;
|
|
76
|
+
}, (e) => [e.blocks.order]), z = (e) => Ve(e, ""), wt = a((e, t) => {
|
|
77
|
+
const n = z(e);
|
|
78
|
+
if (!t)
|
|
79
|
+
return n.length;
|
|
80
|
+
let o = 0;
|
|
81
|
+
for (const r of n)
|
|
82
|
+
e.blocks.byClientId.get(r).name === t && o++;
|
|
83
|
+
return o;
|
|
84
|
+
}, (e) => [e.blocks.order, e.blocks.byClientId]), Ke = a((e, t) => {
|
|
85
|
+
if (!t)
|
|
86
|
+
return g;
|
|
87
|
+
const n = Array.isArray(t) ? t : [t], r = z(e).filter((l) => {
|
|
88
|
+
const c = e.blocks.byClientId.get(l);
|
|
89
|
+
return n.includes(c.name);
|
|
90
|
+
});
|
|
91
|
+
return r.length > 0 ? r : g;
|
|
92
|
+
}, (e) => [e.blocks.order, e.blocks.byClientId]);
|
|
93
|
+
function Ct(e, t) {
|
|
94
|
+
return h("wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName", {
|
|
95
|
+
since: "6.5",
|
|
96
|
+
alternative: "wp.data.select( 'core/block-editor' ).getBlocksByName"
|
|
97
|
+
}), Ke(e, t);
|
|
98
|
+
}
|
|
99
|
+
const $ = a((e, t) => (Array.isArray(t) ? t : [t]).map((n) => v(e, n)), (e, t) => (Array.isArray(t) ? t : [t]).map((n) => e.blocks.tree.get(n))), Pt = a((e, t) => $(e, t).filter(Boolean).map((n) => n.name), (e, t) => $(e, t));
|
|
100
|
+
function Tt(e, t) {
|
|
101
|
+
return A(e, t).length;
|
|
102
|
+
}
|
|
103
|
+
function V(e) {
|
|
104
|
+
return e.selection.selectionStart;
|
|
105
|
+
}
|
|
106
|
+
function K(e) {
|
|
107
|
+
return e.selection.selectionEnd;
|
|
108
|
+
}
|
|
109
|
+
function Et(e) {
|
|
110
|
+
return e.selection.selectionStart.clientId;
|
|
111
|
+
}
|
|
112
|
+
function xt(e) {
|
|
113
|
+
return e.selection.selectionEnd.clientId;
|
|
114
|
+
}
|
|
115
|
+
function Mt(e) {
|
|
116
|
+
const t = T(e).length;
|
|
117
|
+
return t || (e.selection.selectionStart.clientId ? 1 : 0);
|
|
118
|
+
}
|
|
119
|
+
function Gt(e) {
|
|
120
|
+
const {
|
|
121
|
+
selectionStart: t,
|
|
122
|
+
selectionEnd: n
|
|
123
|
+
} = e.selection;
|
|
124
|
+
return !!t.clientId && t.clientId === n.clientId;
|
|
125
|
+
}
|
|
126
|
+
function D(e) {
|
|
127
|
+
const {
|
|
128
|
+
selectionStart: t,
|
|
129
|
+
selectionEnd: n
|
|
130
|
+
} = e.selection, {
|
|
131
|
+
clientId: o
|
|
132
|
+
} = t;
|
|
133
|
+
return !o || o !== n.clientId ? null : o;
|
|
134
|
+
}
|
|
135
|
+
function Rt(e) {
|
|
136
|
+
const t = D(e);
|
|
137
|
+
return t ? v(e, t) : null;
|
|
138
|
+
}
|
|
139
|
+
function b(e, t) {
|
|
140
|
+
var n;
|
|
141
|
+
return (n = e.blocks.parents.get(t)) !== null && n !== void 0 ? n : null;
|
|
142
|
+
}
|
|
143
|
+
const x = a((e, t, n = !1) => {
|
|
144
|
+
const o = [];
|
|
145
|
+
let r = t;
|
|
146
|
+
for (; r = e.blocks.parents.get(r); )
|
|
147
|
+
o.push(r);
|
|
148
|
+
return o.length ? n ? o : o.reverse() : g;
|
|
149
|
+
}, (e) => [e.blocks.parents]), ue = a((e, t, n, o = !1) => {
|
|
150
|
+
const r = x(e, t, o), l = Array.isArray(n) ? (c) => n.includes(c) : (c) => n === c;
|
|
151
|
+
return r.filter((c) => l(S(e, c)));
|
|
152
|
+
}, (e) => [e.blocks.parents]);
|
|
153
|
+
function Lt(e, t) {
|
|
154
|
+
let n = t, o;
|
|
155
|
+
do
|
|
156
|
+
o = n, n = e.blocks.parents.get(n);
|
|
157
|
+
while (n);
|
|
158
|
+
return o;
|
|
159
|
+
}
|
|
160
|
+
function Dt(e, t) {
|
|
161
|
+
const n = D(e), o = [...x(e, t), t], r = [...x(e, n), n];
|
|
162
|
+
let l;
|
|
163
|
+
const c = Math.min(o.length, r.length);
|
|
164
|
+
for (let i = 0; i < c && o[i] === r[i]; i++)
|
|
165
|
+
l = o[i];
|
|
166
|
+
return l;
|
|
167
|
+
}
|
|
168
|
+
function ae(e, t, n = 1) {
|
|
169
|
+
if (t === void 0 && (t = D(e)), t === void 0 && (n < 0 ? t = de(e) : t = Ne(e)), !t)
|
|
170
|
+
return null;
|
|
171
|
+
const o = b(e, t);
|
|
172
|
+
if (o === null)
|
|
173
|
+
return null;
|
|
174
|
+
const {
|
|
175
|
+
order: r
|
|
176
|
+
} = e.blocks, l = r.get(o), i = l.indexOf(t) + 1 * n;
|
|
177
|
+
return i < 0 || i === l.length ? null : l[i];
|
|
178
|
+
}
|
|
179
|
+
function Ot(e, t) {
|
|
180
|
+
return ae(e, t, -1);
|
|
181
|
+
}
|
|
182
|
+
function Wt(e, t) {
|
|
183
|
+
return ae(e, t, 1);
|
|
184
|
+
}
|
|
185
|
+
function Ft(e) {
|
|
186
|
+
return e.initialPosition;
|
|
187
|
+
}
|
|
188
|
+
const O = a((e) => {
|
|
189
|
+
const {
|
|
190
|
+
selectionStart: t,
|
|
191
|
+
selectionEnd: n
|
|
192
|
+
} = e.selection;
|
|
193
|
+
if (!t.clientId || !n.clientId)
|
|
194
|
+
return g;
|
|
195
|
+
if (t.clientId === n.clientId)
|
|
196
|
+
return [t.clientId];
|
|
197
|
+
const o = b(e, t.clientId);
|
|
198
|
+
if (o === null)
|
|
199
|
+
return g;
|
|
200
|
+
const r = A(e, o), l = r.indexOf(t.clientId), c = r.indexOf(n.clientId);
|
|
201
|
+
return l > c ? r.slice(c, l + 1) : r.slice(l, c + 1);
|
|
202
|
+
}, (e) => [e.blocks.order, e.selection.selectionStart.clientId, e.selection.selectionEnd.clientId]);
|
|
203
|
+
function T(e) {
|
|
204
|
+
const {
|
|
205
|
+
selectionStart: t,
|
|
206
|
+
selectionEnd: n
|
|
207
|
+
} = e.selection;
|
|
208
|
+
return t.clientId === n.clientId ? g : O(e);
|
|
209
|
+
}
|
|
210
|
+
const Vt = a((e) => {
|
|
211
|
+
const t = T(e);
|
|
212
|
+
return t.length ? t.map((n) => v(e, n)) : g;
|
|
213
|
+
}, (e) => [...O.getDependants(e), e.blocks.byClientId, e.blocks.order, e.blocks.attributes]);
|
|
214
|
+
function de(e) {
|
|
215
|
+
return T(e)[0] || null;
|
|
216
|
+
}
|
|
217
|
+
function Ne(e) {
|
|
218
|
+
const t = T(e);
|
|
219
|
+
return t[t.length - 1] || null;
|
|
220
|
+
}
|
|
221
|
+
function Kt(e, t) {
|
|
222
|
+
return de(e) === t;
|
|
223
|
+
}
|
|
224
|
+
function Ue(e, t) {
|
|
225
|
+
return T(e).indexOf(t) !== -1;
|
|
226
|
+
}
|
|
227
|
+
const Nt = a((e, t) => {
|
|
228
|
+
let n = t, o = !1;
|
|
229
|
+
for (; n && !o; )
|
|
230
|
+
n = b(e, n), o = Ue(e, n);
|
|
231
|
+
return o;
|
|
232
|
+
}, (e) => [e.blocks.order, e.selection.selectionStart.clientId, e.selection.selectionEnd.clientId]);
|
|
233
|
+
function Ut(e) {
|
|
234
|
+
const {
|
|
235
|
+
selectionStart: t,
|
|
236
|
+
selectionEnd: n
|
|
237
|
+
} = e.selection;
|
|
238
|
+
return t.clientId === n.clientId ? null : t.clientId || null;
|
|
239
|
+
}
|
|
240
|
+
function $t(e) {
|
|
241
|
+
const {
|
|
242
|
+
selectionStart: t,
|
|
243
|
+
selectionEnd: n
|
|
244
|
+
} = e.selection;
|
|
245
|
+
return t.clientId === n.clientId ? null : n.clientId || null;
|
|
246
|
+
}
|
|
247
|
+
function Ht(e) {
|
|
248
|
+
const t = V(e), n = K(e);
|
|
249
|
+
return !t.attributeKey && !n.attributeKey && typeof t.offset > "u" && typeof n.offset > "u";
|
|
250
|
+
}
|
|
251
|
+
function jt(e) {
|
|
252
|
+
const t = V(e), n = K(e);
|
|
253
|
+
return !!t && !!n && t.clientId === n.clientId && t.attributeKey === n.attributeKey && t.offset === n.offset;
|
|
254
|
+
}
|
|
255
|
+
function zt(e) {
|
|
256
|
+
return O(e).some((t) => {
|
|
257
|
+
const n = S(e, t);
|
|
258
|
+
return !E(n).merge;
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
function Yt(e, t) {
|
|
262
|
+
const n = V(e), o = K(e);
|
|
263
|
+
if (n.clientId === o.clientId || !n.attributeKey || !o.attributeKey || typeof n.offset > "u" || typeof o.offset > "u")
|
|
264
|
+
return !1;
|
|
265
|
+
const r = b(e, n.clientId), l = b(e, o.clientId);
|
|
266
|
+
if (r !== l)
|
|
267
|
+
return !1;
|
|
268
|
+
const c = A(e, r), i = c.indexOf(n.clientId), d = c.indexOf(o.clientId);
|
|
269
|
+
let u, f;
|
|
270
|
+
i > d ? (u = o, f = n) : (u = n, f = o);
|
|
271
|
+
const y = t ? f.clientId : u.clientId, w = t ? u.clientId : f.clientId, s = S(e, y);
|
|
272
|
+
if (!E(s).merge)
|
|
273
|
+
return !1;
|
|
274
|
+
const k = v(e, w);
|
|
275
|
+
if (k.name === s)
|
|
276
|
+
return !0;
|
|
277
|
+
const m = xe(k, s);
|
|
278
|
+
return m && m.length;
|
|
279
|
+
}
|
|
280
|
+
const Jt = (e) => {
|
|
281
|
+
const t = V(e), n = K(e);
|
|
282
|
+
if (t.clientId === n.clientId || !t.attributeKey || !n.attributeKey || typeof t.offset > "u" || typeof n.offset > "u")
|
|
283
|
+
return g;
|
|
284
|
+
const o = b(e, t.clientId), r = b(e, n.clientId);
|
|
285
|
+
if (o !== r)
|
|
286
|
+
return g;
|
|
287
|
+
const l = A(e, o), c = l.indexOf(t.clientId), i = l.indexOf(n.clientId), [d, u] = c > i ? [n, t] : [t, n], f = v(e, d.clientId), y = v(e, u.clientId), w = f.attributes[d.attributeKey], s = y.attributes[u.attributeKey];
|
|
288
|
+
let B = ee({
|
|
289
|
+
html: w
|
|
290
|
+
}), k = ee({
|
|
291
|
+
html: s
|
|
292
|
+
});
|
|
293
|
+
return B = te(B, 0, d.offset), k = te(k, u.offset, k.text.length), [{
|
|
294
|
+
...f,
|
|
295
|
+
attributes: {
|
|
296
|
+
...f.attributes,
|
|
297
|
+
[d.attributeKey]: ne({
|
|
298
|
+
value: B
|
|
299
|
+
})
|
|
300
|
+
}
|
|
301
|
+
}, {
|
|
302
|
+
...y,
|
|
303
|
+
attributes: {
|
|
304
|
+
...y.attributes,
|
|
305
|
+
[u.attributeKey]: ne({
|
|
306
|
+
value: k
|
|
307
|
+
})
|
|
308
|
+
}
|
|
309
|
+
}];
|
|
310
|
+
};
|
|
311
|
+
function A(e, t) {
|
|
312
|
+
return e.blocks.order.get(t || "") || g;
|
|
313
|
+
}
|
|
314
|
+
function $e(e, t) {
|
|
315
|
+
const n = b(e, t);
|
|
316
|
+
return A(e, n).indexOf(t);
|
|
317
|
+
}
|
|
318
|
+
function He(e, t) {
|
|
319
|
+
const {
|
|
320
|
+
selectionStart: n,
|
|
321
|
+
selectionEnd: o
|
|
322
|
+
} = e.selection;
|
|
323
|
+
return n.clientId !== o.clientId ? !1 : n.clientId === t;
|
|
324
|
+
}
|
|
325
|
+
function je(e, t, n = !1) {
|
|
326
|
+
const o = O(e);
|
|
327
|
+
return o.length ? n ? o.some((r) => (
|
|
328
|
+
// Pass true because we don't care about order and it's more
|
|
329
|
+
// performant.
|
|
330
|
+
x(e, r, !0).includes(t)
|
|
331
|
+
)) : o.some((r) => b(e, r) === t) : !1;
|
|
332
|
+
}
|
|
333
|
+
function ze(e, t, n = !1) {
|
|
334
|
+
return A(e, t).some((o) => fe(e, o) || n && ze(e, o, n));
|
|
335
|
+
}
|
|
336
|
+
function Zt(e, t) {
|
|
337
|
+
if (!t)
|
|
338
|
+
return !1;
|
|
339
|
+
const n = T(e), o = n.indexOf(t);
|
|
340
|
+
return o > -1 && o < n.length - 1;
|
|
341
|
+
}
|
|
342
|
+
function qt(e) {
|
|
343
|
+
const {
|
|
344
|
+
selectionStart: t,
|
|
345
|
+
selectionEnd: n
|
|
346
|
+
} = e.selection;
|
|
347
|
+
return t.clientId !== n.clientId;
|
|
348
|
+
}
|
|
349
|
+
function Qt(e) {
|
|
350
|
+
return e.isMultiSelecting;
|
|
351
|
+
}
|
|
352
|
+
function Xt(e) {
|
|
353
|
+
return e.isSelectionEnabled;
|
|
354
|
+
}
|
|
355
|
+
function en(e, t) {
|
|
356
|
+
return e.blocksMode[t] || "visual";
|
|
357
|
+
}
|
|
358
|
+
function tn(e) {
|
|
359
|
+
return e.isTyping;
|
|
360
|
+
}
|
|
361
|
+
function Ye(e) {
|
|
362
|
+
return !!e.draggedBlocks.length;
|
|
363
|
+
}
|
|
364
|
+
function nn(e) {
|
|
365
|
+
return e.draggedBlocks;
|
|
366
|
+
}
|
|
367
|
+
function fe(e, t) {
|
|
368
|
+
return e.draggedBlocks.includes(t);
|
|
369
|
+
}
|
|
370
|
+
function on(e, t) {
|
|
371
|
+
return Ye(e) ? x(e, t).some((o) => fe(e, o)) : !1;
|
|
372
|
+
}
|
|
373
|
+
function rn() {
|
|
374
|
+
return h('wp.data.select( "core/block-editor" ).isCaretWithinFormattedText', {
|
|
375
|
+
since: "6.1",
|
|
376
|
+
version: "6.3"
|
|
377
|
+
}), !1;
|
|
378
|
+
}
|
|
379
|
+
const ln = a((e) => {
|
|
380
|
+
let t, n;
|
|
381
|
+
const {
|
|
382
|
+
insertionCue: o,
|
|
383
|
+
selection: {
|
|
384
|
+
selectionEnd: r
|
|
385
|
+
}
|
|
386
|
+
} = e;
|
|
387
|
+
if (o !== null)
|
|
388
|
+
return o;
|
|
389
|
+
const {
|
|
390
|
+
clientId: l
|
|
391
|
+
} = r;
|
|
392
|
+
return l ? (t = b(e, l) || void 0, n = $e(e, r.clientId) + 1) : n = A(e).length, {
|
|
393
|
+
rootClientId: t,
|
|
394
|
+
index: n
|
|
395
|
+
};
|
|
396
|
+
}, (e) => [e.insertionCue, e.selection.selectionEnd.clientId, e.blocks.parents, e.blocks.order]);
|
|
397
|
+
function cn(e) {
|
|
398
|
+
return e.insertionCue !== null;
|
|
399
|
+
}
|
|
400
|
+
function sn(e) {
|
|
401
|
+
return e.template.isValid;
|
|
402
|
+
}
|
|
403
|
+
function un(e) {
|
|
404
|
+
return e.settings.template;
|
|
405
|
+
}
|
|
406
|
+
function N(e, t) {
|
|
407
|
+
var n;
|
|
408
|
+
if (!t) {
|
|
409
|
+
var o;
|
|
410
|
+
return (o = e.settings.templateLock) !== null && o !== void 0 ? o : !1;
|
|
411
|
+
}
|
|
412
|
+
return (n = Be(e, t)?.templateLock) !== null && n !== void 0 ? n : !1;
|
|
413
|
+
}
|
|
414
|
+
const Y = (e, t, n = null) => {
|
|
415
|
+
let o, r;
|
|
416
|
+
if (t && typeof t == "object" ? (o = t, r = t.name) : (o = E(t), r = t), !o)
|
|
417
|
+
return !1;
|
|
418
|
+
const {
|
|
419
|
+
allowedBlockTypes: l
|
|
420
|
+
} = be(e);
|
|
421
|
+
if (!M(l, r, !0))
|
|
422
|
+
return !1;
|
|
423
|
+
const i = (Array.isArray(o.parent) ? o.parent : []).concat(Array.isArray(o.ancestor) ? o.ancestor : []);
|
|
424
|
+
if (i.length > 0) {
|
|
425
|
+
if (i.includes("core/post-content"))
|
|
426
|
+
return !0;
|
|
427
|
+
let d = n, u = !1;
|
|
428
|
+
do {
|
|
429
|
+
if (i.includes(S(e, d))) {
|
|
430
|
+
u = !0;
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
d = e.blocks.parents.get(d);
|
|
434
|
+
} while (d);
|
|
435
|
+
return u;
|
|
436
|
+
}
|
|
437
|
+
return !0;
|
|
438
|
+
}, W = (e, t, n = null) => {
|
|
439
|
+
if (!Y(e, t, n))
|
|
440
|
+
return !1;
|
|
441
|
+
let o;
|
|
442
|
+
if (t && typeof t == "object" ? (o = t, t = o.name) : o = E(t), !!N(e, n) || !!Te(e, n) || U(e, n ?? "") === "disabled")
|
|
443
|
+
return !1;
|
|
444
|
+
const c = Be(e, n);
|
|
445
|
+
if (n && c === void 0)
|
|
446
|
+
return !1;
|
|
447
|
+
const i = S(e, n), u = E(i)?.allowedBlocks;
|
|
448
|
+
let f = M(u, t);
|
|
449
|
+
if (f !== !1) {
|
|
450
|
+
const m = c?.allowedBlocks, C = M(m, t);
|
|
451
|
+
C !== null && (f = C);
|
|
452
|
+
}
|
|
453
|
+
const y = o.parent, w = M(y, i);
|
|
454
|
+
let s = !0;
|
|
455
|
+
const B = o.ancestor;
|
|
456
|
+
B && (s = [n, ...x(e, n)].some((C) => M(B, S(e, C))));
|
|
457
|
+
const k = s && (f === null && w === null || f === !0 || w === !0);
|
|
458
|
+
return k && ye("blockEditor.__unstableCanInsertBlockType", k, o, n, {
|
|
459
|
+
// Pass bound selectors of the current registry. If we're in a nested
|
|
460
|
+
// context, the data will differ from the one selected from the root
|
|
461
|
+
// registry.
|
|
462
|
+
getBlock: v.bind(null, e),
|
|
463
|
+
getBlockParentsByBlockName: ue.bind(null, e)
|
|
464
|
+
});
|
|
465
|
+
}, J = p((e) => a(W, (t, n, o) => R(e)(t, o)));
|
|
466
|
+
function an(e, t, n = null) {
|
|
467
|
+
return t.every((o) => J(e, S(e, o), n));
|
|
468
|
+
}
|
|
469
|
+
function ke(e, t) {
|
|
470
|
+
const n = F(e, t);
|
|
471
|
+
if (n === null)
|
|
472
|
+
return !0;
|
|
473
|
+
if (n.lock?.remove !== void 0)
|
|
474
|
+
return !n.lock.remove;
|
|
475
|
+
const o = b(e, t);
|
|
476
|
+
return N(e, o) || !!Se(e, t) ? !1 : U(e, o) !== "disabled";
|
|
477
|
+
}
|
|
478
|
+
function Je(e, t) {
|
|
479
|
+
return t.every((n) => ke(e, n));
|
|
480
|
+
}
|
|
481
|
+
function Ze(e, t) {
|
|
482
|
+
const n = F(e, t);
|
|
483
|
+
if (n === null)
|
|
484
|
+
return !0;
|
|
485
|
+
if (n.lock?.move !== void 0)
|
|
486
|
+
return !n.lock.move;
|
|
487
|
+
const o = b(e, t);
|
|
488
|
+
return N(e, o) === "all" ? !1 : U(e, o) !== "disabled";
|
|
489
|
+
}
|
|
490
|
+
function dn(e, t) {
|
|
491
|
+
return t.every((n) => Ze(e, n));
|
|
492
|
+
}
|
|
493
|
+
function qe(e, t) {
|
|
494
|
+
const n = F(e, t);
|
|
495
|
+
if (n === null)
|
|
496
|
+
return !0;
|
|
497
|
+
const {
|
|
498
|
+
lock: o
|
|
499
|
+
} = n;
|
|
500
|
+
return !o?.edit;
|
|
501
|
+
}
|
|
502
|
+
function fn(e, t) {
|
|
503
|
+
return L(t, "lock", !0) ? !!e.settings?.canLockBlocks : !1;
|
|
504
|
+
}
|
|
505
|
+
function Z(e, t) {
|
|
506
|
+
var n;
|
|
507
|
+
return (n = e.preferences.insertUsage?.[t]) !== null && n !== void 0 ? n : null;
|
|
508
|
+
}
|
|
509
|
+
const G = (e, t, n) => L(t, "inserter", !0) ? W(e, t.name, n) : !1, Qe = (e, t) => (n) => {
|
|
510
|
+
const o = `${t.id}/${n.name}`, {
|
|
511
|
+
time: r,
|
|
512
|
+
count: l = 0
|
|
513
|
+
} = Z(e, o) || {};
|
|
514
|
+
return {
|
|
515
|
+
...t,
|
|
516
|
+
id: o,
|
|
517
|
+
icon: n.icon || t.icon,
|
|
518
|
+
title: n.title || t.title,
|
|
519
|
+
description: n.description || t.description,
|
|
520
|
+
category: n.category || t.category,
|
|
521
|
+
// If `example` is explicitly undefined for the variation, the preview will not be shown.
|
|
522
|
+
example: n.hasOwnProperty("example") ? n.example : t.example,
|
|
523
|
+
initialAttributes: {
|
|
524
|
+
...t.initialAttributes,
|
|
525
|
+
...n.attributes
|
|
526
|
+
},
|
|
527
|
+
innerBlocks: n.innerBlocks,
|
|
528
|
+
keywords: n.keywords || t.keywords,
|
|
529
|
+
frecency: q(r, l)
|
|
530
|
+
};
|
|
531
|
+
}, q = (e, t) => {
|
|
532
|
+
if (!e)
|
|
533
|
+
return t;
|
|
534
|
+
const n = Date.now() - e;
|
|
535
|
+
switch (!0) {
|
|
536
|
+
case n < Re:
|
|
537
|
+
return t * 4;
|
|
538
|
+
case n < Le:
|
|
539
|
+
return t * 2;
|
|
540
|
+
case n < De:
|
|
541
|
+
return t / 2;
|
|
542
|
+
default:
|
|
543
|
+
return t / 4;
|
|
544
|
+
}
|
|
545
|
+
}, ge = (e, {
|
|
546
|
+
buildScope: t = "inserter"
|
|
547
|
+
}) => (n) => {
|
|
548
|
+
const o = n.name;
|
|
549
|
+
let r = !1;
|
|
550
|
+
L(n.name, "multiple", !0) || (r = $(e, z(e)).some(({
|
|
551
|
+
name: u
|
|
552
|
+
}) => u === n.name));
|
|
553
|
+
const {
|
|
554
|
+
time: l,
|
|
555
|
+
count: c = 0
|
|
556
|
+
} = Z(e, o) || {}, i = {
|
|
557
|
+
id: o,
|
|
558
|
+
name: n.name,
|
|
559
|
+
title: n.title,
|
|
560
|
+
icon: n.icon,
|
|
561
|
+
isDisabled: r,
|
|
562
|
+
frecency: q(l, c)
|
|
563
|
+
};
|
|
564
|
+
if (t === "transform")
|
|
565
|
+
return i;
|
|
566
|
+
const d = Ee(n.name, "inserter");
|
|
567
|
+
return {
|
|
568
|
+
...i,
|
|
569
|
+
initialAttributes: {},
|
|
570
|
+
description: n.description,
|
|
571
|
+
category: n.category,
|
|
572
|
+
keywords: n.keywords,
|
|
573
|
+
parent: n.parent,
|
|
574
|
+
ancestor: n.ancestor,
|
|
575
|
+
variations: d,
|
|
576
|
+
example: n.example,
|
|
577
|
+
utility: 1
|
|
578
|
+
// Deprecated.
|
|
579
|
+
};
|
|
580
|
+
}, kn = p((e) => a((t, n = null, o = se) => {
|
|
581
|
+
const r = (s) => {
|
|
582
|
+
const B = s.wp_pattern_sync_status ? re : {
|
|
583
|
+
src: re,
|
|
584
|
+
foreground: "var(--wp-block-synced-color)"
|
|
585
|
+
}, k = `core/block/${s.id}`, {
|
|
586
|
+
time: m,
|
|
587
|
+
count: C = 0
|
|
588
|
+
} = Z(t, k) || {}, pe = q(m, C);
|
|
589
|
+
return {
|
|
590
|
+
id: k,
|
|
591
|
+
name: "core/block",
|
|
592
|
+
initialAttributes: {
|
|
593
|
+
ref: s.id
|
|
594
|
+
},
|
|
595
|
+
title: s.title?.raw,
|
|
596
|
+
icon: B,
|
|
597
|
+
category: "reusable",
|
|
598
|
+
keywords: ["reusable"],
|
|
599
|
+
isDisabled: !1,
|
|
600
|
+
utility: 1,
|
|
601
|
+
// Deprecated.
|
|
602
|
+
frecency: pe,
|
|
603
|
+
content: s.content?.raw,
|
|
604
|
+
syncStatus: s.wp_pattern_sync_status
|
|
605
|
+
};
|
|
606
|
+
}, l = W(t, "core/block", n) ? _(e(I)).getReusableBlocks().map(r) : [], c = ge(t, {
|
|
607
|
+
buildScope: "inserter"
|
|
608
|
+
});
|
|
609
|
+
let i = P().filter((s) => L(s, "inserter", !0)).map(c);
|
|
610
|
+
o[j] !== !1 ? i = i.filter((s) => G(t, s, n)) : i = i.filter((s) => Y(t, s, n)).map((s) => ({
|
|
611
|
+
...s,
|
|
612
|
+
isAllowedInCurrentRoot: G(t, s, n)
|
|
613
|
+
}));
|
|
614
|
+
const d = i.reduce((s, B) => {
|
|
615
|
+
const {
|
|
616
|
+
variations: k = []
|
|
617
|
+
} = B;
|
|
618
|
+
if (k.some(({
|
|
619
|
+
isDefault: m
|
|
620
|
+
}) => m) || s.push(B), k.length) {
|
|
621
|
+
const m = Qe(t, B);
|
|
622
|
+
s.push(...k.map(m));
|
|
623
|
+
}
|
|
624
|
+
return s;
|
|
625
|
+
}, []), u = (s, B) => {
|
|
626
|
+
const {
|
|
627
|
+
core: k,
|
|
628
|
+
noncore: m
|
|
629
|
+
} = s;
|
|
630
|
+
return (B.name.startsWith("core/") ? k : m).push(B), s;
|
|
631
|
+
}, {
|
|
632
|
+
core: f,
|
|
633
|
+
noncore: y
|
|
634
|
+
} = d.reduce(u, {
|
|
635
|
+
core: [],
|
|
636
|
+
noncore: []
|
|
637
|
+
});
|
|
638
|
+
return [...[...f, ...y], ...l];
|
|
639
|
+
}, (t, n) => [P(), _(e(I)).getReusableBlocks(), t.blocks.order, t.preferences.insertUsage, ...R(e)(t, n)])), gn = p((e) => a((t, n, o = null) => {
|
|
640
|
+
const r = Array.isArray(n) ? n : [n], l = ge(t, {
|
|
641
|
+
buildScope: "transform"
|
|
642
|
+
}), c = P().filter((u) => G(t, u, o)).map(l), i = Object.fromEntries(Object.entries(c).map(([, u]) => [u.name, u])), d = Me(r).reduce((u, f) => (i[f?.name] && u.push(i[f.name]), u), []);
|
|
643
|
+
return _e(d, (u) => i[u.name].frecency, "desc");
|
|
644
|
+
}, (t, n, o) => [P(), t.preferences.insertUsage, ...R(e)(t, o)])), Bn = p((e) => (t, n = null) => P().some((l) => G(t, l, n)) ? !0 : W(t, "core/block", n) && _(e(I)).getReusableBlocks().length > 0), le = p((e) => a((t, n = null) => {
|
|
645
|
+
if (!n)
|
|
646
|
+
return;
|
|
647
|
+
const o = P().filter((l) => G(t, l, n));
|
|
648
|
+
return W(t, "core/block", n) && _(e(I)).getReusableBlocks().length > 0 && o.push("core/block"), o;
|
|
649
|
+
}, (t, n) => [P(), _(e(I)).getReusableBlocks(), ...R(e)(t, n)])), bn = a((e, t = null) => (h('wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks', {
|
|
650
|
+
alternative: 'wp.data.select( "core/block-editor" ).getAllowedBlocks',
|
|
651
|
+
since: "6.2",
|
|
652
|
+
version: "6.4"
|
|
653
|
+
}), le(e, t)), (e, t) => le.getDependants(e, t));
|
|
654
|
+
function Xe(e, t = null) {
|
|
655
|
+
var n;
|
|
656
|
+
if (!t)
|
|
657
|
+
return;
|
|
658
|
+
const {
|
|
659
|
+
defaultBlock: o,
|
|
660
|
+
directInsert: r
|
|
661
|
+
} = (n = e.blockListSettings[t]) !== null && n !== void 0 ? n : {};
|
|
662
|
+
if (!(!o || !r))
|
|
663
|
+
return o;
|
|
664
|
+
}
|
|
665
|
+
function pn(e, t = null) {
|
|
666
|
+
return h('wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock', {
|
|
667
|
+
alternative: 'wp.data.select( "core/block-editor" ).getDirectInsertBlock',
|
|
668
|
+
since: "6.3",
|
|
669
|
+
version: "6.4"
|
|
670
|
+
}), Xe(e, t);
|
|
671
|
+
}
|
|
672
|
+
const mn = p((e) => (t, n) => {
|
|
673
|
+
const o = _(e(I)).getPatternBySlug(n);
|
|
674
|
+
return o ? ie(o) : null;
|
|
675
|
+
}), Q = (e) => (t, n) => [...Ie(e)(t), ...R(e)(t, n)], ce = /* @__PURE__ */ new WeakMap();
|
|
676
|
+
function et(e) {
|
|
677
|
+
let t = ce.get(e);
|
|
678
|
+
return t || (t = {
|
|
679
|
+
...e,
|
|
680
|
+
get blocks() {
|
|
681
|
+
return ie(e).blocks;
|
|
682
|
+
}
|
|
683
|
+
}, ce.set(e, t)), t;
|
|
684
|
+
}
|
|
685
|
+
const yn = p((e) => a((t, n = null, o = se) => {
|
|
686
|
+
const {
|
|
687
|
+
getAllPatterns: r
|
|
688
|
+
} = _(e(I)), l = r(), {
|
|
689
|
+
allowedBlockTypes: c
|
|
690
|
+
} = be(t);
|
|
691
|
+
return l.filter(({
|
|
692
|
+
inserter: f = !0
|
|
693
|
+
}) => !!f).map(et).filter((f) => he(oe(f), c)).filter((f) => oe(f).every(({
|
|
694
|
+
blockName: y
|
|
695
|
+
}) => o[j] !== !1 ? J(t, y, n) : Y(t, y, n)));
|
|
696
|
+
}, Q(e))), In = p((e) => a((t, n, o = null) => {
|
|
697
|
+
if (!n)
|
|
698
|
+
return g;
|
|
699
|
+
const r = e(I).__experimentalGetAllowedPatterns(o), l = Array.isArray(n) ? n : [n], c = r.filter((i) => i?.blockTypes?.some?.((d) => l.includes(d)));
|
|
700
|
+
return c.length === 0 ? g : c;
|
|
701
|
+
}, (t, n, o) => Q(e)(t, o))), hn = p((e) => (h('wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes', {
|
|
702
|
+
alternative: 'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',
|
|
703
|
+
since: "6.2",
|
|
704
|
+
version: "6.4"
|
|
705
|
+
}), e(I).getPatternsByBlockTypes)), _n = p((e) => a((t, n, o = null) => {
|
|
706
|
+
if (!n || n.some(({
|
|
707
|
+
clientId: l,
|
|
708
|
+
innerBlocks: c
|
|
709
|
+
}) => c.length || X(t, l)))
|
|
710
|
+
return g;
|
|
711
|
+
const r = Array.from(new Set(n.map(({
|
|
712
|
+
name: l
|
|
713
|
+
}) => l)));
|
|
714
|
+
return e(I).getPatternsByBlockTypes(r, o);
|
|
715
|
+
}, (t, n, o) => Q(e)(t, o)));
|
|
716
|
+
function Be(e, t) {
|
|
717
|
+
return e.blockListSettings[t];
|
|
718
|
+
}
|
|
719
|
+
function be(e) {
|
|
720
|
+
return e.settings;
|
|
721
|
+
}
|
|
722
|
+
function Sn(e) {
|
|
723
|
+
return e.blocks.isPersistentChange;
|
|
724
|
+
}
|
|
725
|
+
const An = a((e, t = []) => t.reduce((n, o) => e.blockListSettings[o] ? {
|
|
726
|
+
...n,
|
|
727
|
+
[o]: e.blockListSettings[o]
|
|
728
|
+
} : n, {}), (e) => [e.blockListSettings]), vn = p((e) => a((t, n) => {
|
|
729
|
+
h("wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle", {
|
|
730
|
+
since: "6.6",
|
|
731
|
+
version: "6.8"
|
|
732
|
+
});
|
|
733
|
+
const o = _(e(I)).getReusableBlocks().find((r) => r.id === n);
|
|
734
|
+
return o ? o.title?.raw : null;
|
|
735
|
+
}, () => [_(e(I)).getReusableBlocks()]));
|
|
736
|
+
function wn(e) {
|
|
737
|
+
return e.blocks.isIgnoredChange;
|
|
738
|
+
}
|
|
739
|
+
function Cn(e) {
|
|
740
|
+
return e.lastBlockAttributesChange;
|
|
741
|
+
}
|
|
742
|
+
function tt(e) {
|
|
743
|
+
return nt(e) === "navigation";
|
|
744
|
+
}
|
|
745
|
+
const nt = p((e) => (t) => {
|
|
746
|
+
var n;
|
|
747
|
+
return window?.__experimentalEditorWriteMode ? (n = t.settings.editorTool) !== null && n !== void 0 ? n : e(Ge).get("core", "editorTool") : "edit";
|
|
748
|
+
});
|
|
749
|
+
function Pn() {
|
|
750
|
+
return h('wp.data.select( "core/block-editor" ).hasBlockMovingClientId', {
|
|
751
|
+
since: "6.7",
|
|
752
|
+
hint: "Block moving mode feature has been removed"
|
|
753
|
+
}), !1;
|
|
754
|
+
}
|
|
755
|
+
function Tn(e) {
|
|
756
|
+
return !!e.automaticChangeStatus;
|
|
757
|
+
}
|
|
758
|
+
function En(e, t) {
|
|
759
|
+
return e.highlightedBlock === t;
|
|
760
|
+
}
|
|
761
|
+
function X(e, t) {
|
|
762
|
+
return !!e.blocks.controlledInnerBlocks[t];
|
|
763
|
+
}
|
|
764
|
+
const xn = a((e, t) => {
|
|
765
|
+
if (!t.length)
|
|
766
|
+
return null;
|
|
767
|
+
const n = D(e);
|
|
768
|
+
if (t.includes(S(e, n)))
|
|
769
|
+
return n;
|
|
770
|
+
const o = T(e), r = ue(e, n || o[0], t);
|
|
771
|
+
return r ? r[r.length - 1] : null;
|
|
772
|
+
}, (e, t) => [e.selection.selectionStart.clientId, e.selection.selectionEnd.clientId, t]);
|
|
773
|
+
function Mn(e, t, n) {
|
|
774
|
+
const {
|
|
775
|
+
lastBlockInserted: o
|
|
776
|
+
} = e;
|
|
777
|
+
return o.clientIds?.includes(t) && o.source === n;
|
|
778
|
+
}
|
|
779
|
+
function Gn(e, t) {
|
|
780
|
+
var n;
|
|
781
|
+
return (n = e.blockVisibility?.[t]) !== null && n !== void 0 ? n : !0;
|
|
782
|
+
}
|
|
783
|
+
function Rn(e) {
|
|
784
|
+
return e.hoveredBlockClientId;
|
|
785
|
+
}
|
|
786
|
+
const Ln = a((e) => {
|
|
787
|
+
const t = new Set(Object.keys(e.blockVisibility).filter((n) => e.blockVisibility[n]));
|
|
788
|
+
return t.size === 0 ? Oe : t;
|
|
789
|
+
}, (e) => [e.blockVisibility]);
|
|
790
|
+
function ot(e, t) {
|
|
791
|
+
if (U(e, t) !== "default")
|
|
792
|
+
return !1;
|
|
793
|
+
if (!qe(e, t))
|
|
794
|
+
return !0;
|
|
795
|
+
if (Ae(e)) {
|
|
796
|
+
const r = ve(e);
|
|
797
|
+
if (r) {
|
|
798
|
+
if (A(e, r)?.includes(t))
|
|
799
|
+
return !0;
|
|
800
|
+
} else if (t && !b(e, t))
|
|
801
|
+
return !0;
|
|
802
|
+
}
|
|
803
|
+
return (L(S(e, t), "__experimentalDisableBlockOverlay", !1) ? !1 : X(e, t)) && !He(e, t) && !je(e, t, !0);
|
|
804
|
+
}
|
|
805
|
+
function Dn(e, t) {
|
|
806
|
+
let n = e.blocks.parents.get(t);
|
|
807
|
+
for (; n; ) {
|
|
808
|
+
if (ot(e, n))
|
|
809
|
+
return !0;
|
|
810
|
+
n = e.blocks.parents.get(n);
|
|
811
|
+
}
|
|
812
|
+
return !1;
|
|
813
|
+
}
|
|
814
|
+
const U = p((e) => (t, n = "") => {
|
|
815
|
+
n === null && (n = "");
|
|
816
|
+
const o = tt(t);
|
|
817
|
+
if (!o && t.derivedBlockEditingModes?.has(n))
|
|
818
|
+
return t.derivedBlockEditingModes.get(n);
|
|
819
|
+
if (o && t.derivedNavModeBlockEditingModes?.has(n))
|
|
820
|
+
return t.derivedNavModeBlockEditingModes.get(n);
|
|
821
|
+
const r = t.blockEditingModes.get(n);
|
|
822
|
+
if (r)
|
|
823
|
+
return r;
|
|
824
|
+
if (n === "")
|
|
825
|
+
return "default";
|
|
826
|
+
const l = b(t, n);
|
|
827
|
+
if (N(t, l) === "contentOnly") {
|
|
828
|
+
const i = S(t, n), {
|
|
829
|
+
hasContentRoleAttribute: d
|
|
830
|
+
} = _(e(H));
|
|
831
|
+
return d(i) ? "contentOnly" : "disabled";
|
|
832
|
+
}
|
|
833
|
+
return "default";
|
|
834
|
+
}), On = p((e) => (t, n = "") => {
|
|
835
|
+
const o = n || D(t);
|
|
836
|
+
if (!o)
|
|
837
|
+
return !1;
|
|
838
|
+
const {
|
|
839
|
+
getGroupingBlockName: r
|
|
840
|
+
} = e(H), l = v(t, o), c = r();
|
|
841
|
+
return l && (l.name === c || E(l.name)?.transforms?.ungroup) && !!l.innerBlocks.length && ke(t, o);
|
|
842
|
+
}), Wn = p((e) => (t, n = g) => {
|
|
843
|
+
const {
|
|
844
|
+
getGroupingBlockName: o
|
|
845
|
+
} = e(H), r = o(), l = n?.length ? n : O(t), c = l?.length ? b(t, l[0]) : void 0;
|
|
846
|
+
return J(t, r, c) && l.length && Je(t, l);
|
|
847
|
+
}), Fn = (e, t) => (h("wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent", {
|
|
848
|
+
since: "6.1",
|
|
849
|
+
version: "6.7"
|
|
850
|
+
}), we(e, t));
|
|
851
|
+
function Vn(e) {
|
|
852
|
+
return h("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks", {
|
|
853
|
+
since: "6.1",
|
|
854
|
+
version: "6.7"
|
|
855
|
+
}), Ce(e);
|
|
856
|
+
}
|
|
857
|
+
function Kn(e) {
|
|
858
|
+
return h("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingFocusModeToRevert", {
|
|
859
|
+
since: "6.5",
|
|
860
|
+
version: "6.7"
|
|
861
|
+
}), Pe(e);
|
|
862
|
+
}
|
|
863
|
+
export {
|
|
864
|
+
xn as __experimentalGetActiveBlockIdByBlockNames,
|
|
865
|
+
bn as __experimentalGetAllowedBlocks,
|
|
866
|
+
yn as __experimentalGetAllowedPatterns,
|
|
867
|
+
An as __experimentalGetBlockListSettingsForBlocks,
|
|
868
|
+
pn as __experimentalGetDirectInsertBlock,
|
|
869
|
+
Ct as __experimentalGetGlobalBlocksByName,
|
|
870
|
+
Cn as __experimentalGetLastBlockAttributeChanges,
|
|
871
|
+
mn as __experimentalGetParsedPattern,
|
|
872
|
+
_n as __experimentalGetPatternTransformItems,
|
|
873
|
+
hn as __experimentalGetPatternsByBlockTypes,
|
|
874
|
+
vn as __experimentalGetReusableBlockTitle,
|
|
875
|
+
At as __unstableGetBlockWithoutInnerBlocks,
|
|
876
|
+
We as __unstableGetClientIdWithClientIdsTree,
|
|
877
|
+
Fe as __unstableGetClientIdsTree,
|
|
878
|
+
Fn as __unstableGetContentLockingParent,
|
|
879
|
+
nt as __unstableGetEditorMode,
|
|
880
|
+
Jt as __unstableGetSelectedBlocksWithPartialSelection,
|
|
881
|
+
Vn as __unstableGetTemporarilyEditingAsBlocks,
|
|
882
|
+
Kn as __unstableGetTemporarilyEditingFocusModeToRevert,
|
|
883
|
+
Ln as __unstableGetVisibleBlocks,
|
|
884
|
+
ot as __unstableHasActiveBlockOverlayActive,
|
|
885
|
+
Ht as __unstableIsFullySelected,
|
|
886
|
+
wn as __unstableIsLastBlockChangeIgnored,
|
|
887
|
+
jt as __unstableIsSelectionCollapsed,
|
|
888
|
+
Yt as __unstableIsSelectionMergeable,
|
|
889
|
+
Dn as __unstableIsWithinBlockOverlay,
|
|
890
|
+
zt as __unstableSelectionHasUnmergeableBlock,
|
|
891
|
+
X as areInnerBlocksControlled,
|
|
892
|
+
qe as canEditBlock,
|
|
893
|
+
J as canInsertBlockType,
|
|
894
|
+
an as canInsertBlocks,
|
|
895
|
+
fn as canLockBlockType,
|
|
896
|
+
Ze as canMoveBlock,
|
|
897
|
+
dn as canMoveBlocks,
|
|
898
|
+
ke as canRemoveBlock,
|
|
899
|
+
Je as canRemoveBlocks,
|
|
900
|
+
Tn as didAutomaticChange,
|
|
901
|
+
ae as getAdjacentBlockClientId,
|
|
902
|
+
le as getAllowedBlocks,
|
|
903
|
+
v as getBlock,
|
|
904
|
+
F as getBlockAttributes,
|
|
905
|
+
Tt as getBlockCount,
|
|
906
|
+
U as getBlockEditingMode,
|
|
907
|
+
Lt as getBlockHierarchyRootClientId,
|
|
908
|
+
$e as getBlockIndex,
|
|
909
|
+
ln as getBlockInsertionPoint,
|
|
910
|
+
Be as getBlockListSettings,
|
|
911
|
+
en as getBlockMode,
|
|
912
|
+
S as getBlockName,
|
|
913
|
+
Pt as getBlockNamesByClientId,
|
|
914
|
+
A as getBlockOrder,
|
|
915
|
+
x as getBlockParents,
|
|
916
|
+
ue as getBlockParentsByBlockName,
|
|
917
|
+
b as getBlockRootClientId,
|
|
918
|
+
xt as getBlockSelectionEnd,
|
|
919
|
+
Et as getBlockSelectionStart,
|
|
920
|
+
gn as getBlockTransformItems,
|
|
921
|
+
vt as getBlocks,
|
|
922
|
+
$ as getBlocksByClientId,
|
|
923
|
+
Ke as getBlocksByName,
|
|
924
|
+
Ve as getClientIdsOfDescendants,
|
|
925
|
+
z as getClientIdsWithDescendants,
|
|
926
|
+
Xe as getDirectInsertBlock,
|
|
927
|
+
nn as getDraggedBlockClientIds,
|
|
928
|
+
de as getFirstMultiSelectedBlockClientId,
|
|
929
|
+
wt as getGlobalBlockCount,
|
|
930
|
+
Rn as getHoveredBlockClientId,
|
|
931
|
+
kn as getInserterItems,
|
|
932
|
+
Ne as getLastMultiSelectedBlockClientId,
|
|
933
|
+
Dt as getLowestCommonAncestorWithSelectedBlock,
|
|
934
|
+
T as getMultiSelectedBlockClientIds,
|
|
935
|
+
Vt as getMultiSelectedBlocks,
|
|
936
|
+
$t as getMultiSelectedBlocksEndClientId,
|
|
937
|
+
Ut as getMultiSelectedBlocksStartClientId,
|
|
938
|
+
Wt as getNextBlockClientId,
|
|
939
|
+
In as getPatternsByBlockTypes,
|
|
940
|
+
Ot as getPreviousBlockClientId,
|
|
941
|
+
Rt as getSelectedBlock,
|
|
942
|
+
D as getSelectedBlockClientId,
|
|
943
|
+
O as getSelectedBlockClientIds,
|
|
944
|
+
Mt as getSelectedBlockCount,
|
|
945
|
+
Ft as getSelectedBlocksInitialCaretPosition,
|
|
946
|
+
K as getSelectionEnd,
|
|
947
|
+
V as getSelectionStart,
|
|
948
|
+
be as getSettings,
|
|
949
|
+
un as getTemplate,
|
|
950
|
+
N as getTemplateLock,
|
|
951
|
+
Pn as hasBlockMovingClientId,
|
|
952
|
+
ze as hasDraggedInnerBlock,
|
|
953
|
+
Bn as hasInserterItems,
|
|
954
|
+
qt as hasMultiSelection,
|
|
955
|
+
Gt as hasSelectedBlock,
|
|
956
|
+
je as hasSelectedInnerBlock,
|
|
957
|
+
on as isAncestorBeingDragged,
|
|
958
|
+
Nt as isAncestorMultiSelected,
|
|
959
|
+
fe as isBlockBeingDragged,
|
|
960
|
+
En as isBlockHighlighted,
|
|
961
|
+
cn as isBlockInsertionPointVisible,
|
|
962
|
+
Ue as isBlockMultiSelected,
|
|
963
|
+
He as isBlockSelected,
|
|
964
|
+
St as isBlockValid,
|
|
965
|
+
Gn as isBlockVisible,
|
|
966
|
+
Zt as isBlockWithinSelection,
|
|
967
|
+
rn as isCaretWithinFormattedText,
|
|
968
|
+
Ye as isDraggingBlocks,
|
|
969
|
+
Kt as isFirstMultiSelectedBlock,
|
|
970
|
+
Wn as isGroupable,
|
|
971
|
+
Sn as isLastBlockChangePersistent,
|
|
972
|
+
Qt as isMultiSelecting,
|
|
973
|
+
tt as isNavigationMode,
|
|
974
|
+
Xt as isSelectionEnabled,
|
|
975
|
+
tn as isTyping,
|
|
976
|
+
On as isUngroupable,
|
|
977
|
+
sn as isValidTemplate,
|
|
978
|
+
Mn as wasBlockJustInserted
|
|
979
|
+
};
|