eddev 2.3.15 → 2.3.17
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/app/lib/blocks/ContentBlocks.d.ts +2 -0
- package/dist/app/lib/blocks/ContentBlocks.d.ts.map +1 -1
- package/dist/app/lib/blocks/ContentBlocks.js +4 -1
- package/dist/app/lib/blocks/InnerBlocks.d.ts +1 -3
- package/dist/app/lib/blocks/InnerBlocks.d.ts.map +1 -1
- package/dist/app/lib/blocks/InnerBlocks.js +5 -2
- package/dist/app/lib/blocks/SlotBlocks.d.ts +6 -0
- package/dist/app/lib/blocks/SlotBlocks.d.ts.map +1 -1
- package/dist/app/lib/blocks/SlotBlocks.js +23 -1
- package/dist/app/lib/blocks/editor/EditableBlock.d.ts.map +1 -1
- package/dist/app/lib/blocks/editor/EditableBlock.js +11 -1
- package/dist/app/lib/blocks/editor/editor-config.d.ts +9 -0
- package/dist/app/lib/blocks/editor/editor-config.d.ts.map +1 -1
- package/dist/app/lib/blocks/editor/installGutenbergHooks.d.ts.map +1 -1
- package/dist/app/lib/blocks/editor/installGutenbergHooks.js +19 -2
- package/dist/app/lib/blocks/index.d.ts +2 -2
- package/dist/app/lib/blocks/index.d.ts.map +1 -1
- package/dist/app/lib/blocks/index.js +1 -1
- package/dist/app/lib/blocks/inline-editing.d.ts +6 -2
- package/dist/app/lib/blocks/inline-editing.d.ts.map +1 -1
- package/dist/app/lib/blocks/inline-editing.js +18 -1
- package/dist/app/lib/routing/index.d.ts +1 -1
- package/dist/app/lib/routing/index.d.ts.map +1 -1
- package/dist/app/lib/routing/index.js +1 -1
- package/dist/app/server/server-context.js +1 -1
- package/dist/app/utils/wp.d.ts +11 -12
- package/dist/app/utils/wp.d.ts.map +1 -1
- package/dist/node/cli/version.d.ts +1 -1
- package/dist/node/cli/version.js +1 -1
- package/dist/node/compiler/vinxi-app.d.ts.map +1 -1
- package/dist/node/compiler/vinxi-app.js +1 -2
- package/dist/node/compiler/vinxi-codegen.d.ts.map +1 -1
- package/dist/node/compiler/vinxi-codegen.js +16 -2
- package/dist/node/utils/fs.d.ts +2 -2
- package/dist/node/utils/fs.d.ts.map +1 -1
- package/package.json +1 -1
- package/wp/@types/a11y/index.d.ts +6 -0
- package/wp/@types/a11y/module/index.d.ts +11 -0
- package/wp/@types/a11y/package.json +8 -0
- package/wp/@types/a11y/script/add-container.d.ts +9 -0
- package/wp/@types/a11y/script/add-intro-text.d.ts +10 -0
- package/wp/@types/a11y/shared/clear.d.ts +5 -0
- package/wp/@types/a11y/shared/filter-message.d.ts +9 -0
- package/wp/@types/a11y/shared/index.d.ts +20 -0
- package/wp/@types/api-fetch/index.d.ts +40 -0
- package/wp/@types/api-fetch/middlewares/fetch-all-middleware.d.ts +10 -0
- package/wp/@types/api-fetch/middlewares/http-v1.d.ts +9 -0
- package/wp/@types/api-fetch/middlewares/media-upload.d.ts +8 -0
- package/wp/@types/api-fetch/middlewares/namespace-endpoint.d.ts +6 -0
- package/wp/@types/api-fetch/middlewares/nonce.d.ts +9 -0
- package/wp/@types/api-fetch/middlewares/preloading.d.ts +7 -0
- package/wp/@types/api-fetch/middlewares/root-url.d.ts +7 -0
- package/wp/@types/api-fetch/middlewares/theme-preview.d.ts +13 -0
- package/wp/@types/api-fetch/middlewares/user-locale.d.ts +6 -0
- package/wp/@types/api-fetch/package.json +8 -0
- package/wp/@types/api-fetch/types.d.ts +14 -0
- package/wp/@types/api-fetch/utils/response.d.ts +10 -0
- package/wp/@types/autop/index.d.ts +38 -0
- package/wp/@types/autop/package.json +8 -0
- package/wp/@types/blob/index.d.ts +67 -0
- package/wp/@types/blob/package.json +8 -0
- package/wp/@types/block-editor/components/alignment-toolbar.d.ts +21 -0
- package/wp/@types/block-editor/components/autocomplete.d.ts +3 -0
- package/wp/@types/block-editor/components/block-alignment-toolbar.d.ts +16 -0
- package/wp/@types/block-editor/components/block-controls.d.ts +29 -0
- package/wp/@types/block-editor/components/block-edit.d.ts +9 -0
- package/wp/@types/block-editor/components/block-editor-keyboard-shortcuts.d.ts +10 -0
- package/wp/@types/block-editor/components/block-format-controls.d.ts +14 -0
- package/wp/@types/block-editor/components/block-icon.d.ts +13 -0
- package/wp/@types/block-editor/components/block-inspector.d.ts +11 -0
- package/wp/@types/block-editor/components/block-list.d.ts +15 -0
- package/wp/@types/block-editor/components/block-mover.d.ts +17 -0
- package/wp/@types/block-editor/components/block-navigation/dropdown.d.ts +14 -0
- package/wp/@types/block-editor/components/block-selection-clearer.d.ts +8 -0
- package/wp/@types/block-editor/components/block-settings-menu.d.ts +11 -0
- package/wp/@types/block-editor/components/block-switcher/multi-blocks-switcher.d.ts +10 -0
- package/wp/@types/block-editor/components/block-title.d.ts +11 -0
- package/wp/@types/block-editor/components/block-toolbar.d.ts +10 -0
- package/wp/@types/block-editor/components/block-vertical-alignment-toolbar.d.ts +13 -0
- package/wp/@types/block-editor/components/button-block-appender.d.ts +17 -0
- package/wp/@types/block-editor/components/color-palette/index.d.ts +3 -0
- package/wp/@types/block-editor/components/color-palette/with-color-context.d.ts +25 -0
- package/wp/@types/block-editor/components/colors.d.ts +100 -0
- package/wp/@types/block-editor/components/contrast-checker.d.ts +16 -0
- package/wp/@types/block-editor/components/copy-handler.d.ts +10 -0
- package/wp/@types/block-editor/components/default-block-appender.d.ts +11 -0
- package/wp/@types/block-editor/components/font-sizes.d.ts +51 -0
- package/wp/@types/block-editor/components/index.d.ts +63 -0
- package/wp/@types/block-editor/components/inner-blocks.d.ts +89 -0
- package/wp/@types/block-editor/components/inserter.d.ts +15 -0
- package/wp/@types/block-editor/components/inspector-advanced-controls.d.ts +14 -0
- package/wp/@types/block-editor/components/inspector-controls.d.ts +15 -0
- package/wp/@types/block-editor/components/media-placeholder.d.ts +104 -0
- package/wp/@types/block-editor/components/media-upload/check.d.ts +11 -0
- package/wp/@types/block-editor/components/media-upload/index.d.ts +39 -0
- package/wp/@types/block-editor/components/multi-select-scroll-into-view.d.ts +10 -0
- package/wp/@types/block-editor/components/navigable-toolbar.d.ts +11 -0
- package/wp/@types/block-editor/components/observe-typing.d.ts +10 -0
- package/wp/@types/block-editor/components/panel-color-settings.d.ts +16 -0
- package/wp/@types/block-editor/components/plain-text.d.ts +22 -0
- package/wp/@types/block-editor/components/preserve-scroll-in-reorder.d.ts +10 -0
- package/wp/@types/block-editor/components/provider.d.ts +48 -0
- package/wp/@types/block-editor/components/rich-text.d.ts +105 -0
- package/wp/@types/block-editor/components/skip-to-selected-block.d.ts +10 -0
- package/wp/@types/block-editor/components/url-input/button.d.ts +16 -0
- package/wp/@types/block-editor/components/url-input/index.d.ts +51 -0
- package/wp/@types/block-editor/components/url-popover.d.ts +17 -0
- package/wp/@types/block-editor/components/use-block-props.d.ts +32 -0
- package/wp/@types/block-editor/components/warning.d.ts +18 -0
- package/wp/@types/block-editor/components/writing-flow.d.ts +10 -0
- package/wp/@types/block-editor/hooks/index.d.ts +2 -0
- package/wp/@types/block-editor/hooks/use-cached-truthy.d.ts +7 -0
- package/wp/@types/block-editor/hooks/use-typography-props.d.ts +16 -0
- package/wp/@types/block-editor/index.d.ts +222 -0
- package/wp/@types/block-editor/package.json +8 -0
- package/wp/@types/block-editor/store/actions.d.ts +288 -0
- package/wp/@types/block-editor/store/defaults.d.ts +3 -0
- package/wp/@types/block-editor/store/index.d.ts +7 -0
- package/wp/@types/block-editor/store/selectors.d.ts +513 -0
- package/wp/@types/block-editor/utils/index.d.ts +7 -0
- package/wp/@types/block-serialization-default-parser/index.d.ts +49 -0
- package/wp/@types/block-serialization-default-parser/package.json +8 -0
- package/wp/@types/blocks/api/categories.d.ts +24 -0
- package/wp/@types/blocks/api/children.d.ts +53 -0
- package/wp/@types/blocks/api/factory.d.ts +91 -0
- package/wp/@types/blocks/api/index.d.ts +11 -0
- package/wp/@types/blocks/api/node.d.ts +56 -0
- package/wp/@types/blocks/api/parser.d.ts +118 -0
- package/wp/@types/blocks/api/raw-handling.d.ts +66 -0
- package/wp/@types/blocks/api/registration.d.ts +206 -0
- package/wp/@types/blocks/api/serializer.d.ts +53 -0
- package/wp/@types/blocks/api/templates.d.ts +25 -0
- package/wp/@types/blocks/api/utils.d.ts +24 -0
- package/wp/@types/blocks/api/validation.d.ts +18 -0
- package/wp/@types/blocks/block-content-provider.d.ts +34 -0
- package/wp/@types/blocks/index.d.ts +682 -0
- package/wp/@types/blocks/package.json +8 -0
- package/wp/@types/blocks/store/actions.d.ts +12 -0
- package/wp/@types/blocks/store/selectors.d.ts +35 -0
- package/wp/@types/components/alignment-matrix-control/cell.d.ts +4 -0
- package/wp/@types/components/alignment-matrix-control/icon.d.ts +5 -0
- package/wp/@types/components/alignment-matrix-control/index.d.ts +39 -0
- package/wp/@types/components/alignment-matrix-control/stories/index.story.d.ts +14 -0
- package/wp/@types/components/alignment-matrix-control/styles.d.ts +21 -0
- package/wp/@types/components/alignment-matrix-control/test/index.d.ts +2 -0
- package/wp/@types/components/alignment-matrix-control/types.d.ts +52 -0
- package/wp/@types/components/alignment-matrix-control/utils.d.ts +33 -0
- package/wp/@types/components/angle-picker-control/angle-circle.d.ts +5 -0
- package/wp/@types/components/angle-picker-control/index.d.ts +27 -0
- package/wp/@types/components/angle-picker-control/stories/index.story.d.ts +14 -0
- package/wp/@types/components/angle-picker-control/styles/angle-picker-control-styles.d.ts +18 -0
- package/wp/@types/components/angle-picker-control/types.d.ts +28 -0
- package/wp/@types/components/animate/index.d.ts +30 -0
- package/wp/@types/components/animate/stories/index.story.d.ts +18 -0
- package/wp/@types/components/animate/types.d.ts +29 -0
- package/wp/@types/components/animation/index.d.ts +9 -0
- package/wp/@types/components/autocomplete/autocompleter-ui.d.ts +3 -0
- package/wp/@types/components/autocomplete/get-default-use-items.d.ts +3 -0
- package/wp/@types/components/autocomplete/index.d.ts +22 -0
- package/wp/@types/components/autocomplete/test/index.d.ts +2 -0
- package/wp/@types/components/autocomplete/types.d.ts +186 -0
- package/wp/@types/components/badge/index.d.ts +8 -0
- package/wp/@types/components/badge/stories/index.story.d.ts +17 -0
- package/wp/@types/components/badge/test/index.d.ts +2 -0
- package/wp/@types/components/badge/types.d.ts +13 -0
- package/wp/@types/components/base-control/hooks.d.ts +24 -0
- package/wp/@types/components/base-control/index.d.ts +56 -0
- package/wp/@types/components/base-control/stories/index.story.d.ts +23 -0
- package/wp/@types/components/base-control/styles/base-control-styles.d.ts +25 -0
- package/wp/@types/components/base-control/test/index.d.ts +2 -0
- package/wp/@types/components/base-control/types.d.ts +55 -0
- package/wp/@types/components/border-box-control/border-box-control/component.d.ts +52 -0
- package/wp/@types/components/border-box-control/border-box-control/hook.d.ts +291 -0
- package/wp/@types/components/border-box-control/border-box-control/index.d.ts +3 -0
- package/wp/@types/components/border-box-control/border-box-control-linked-button/component.d.ts +6 -0
- package/wp/@types/components/border-box-control/border-box-control-linked-button/hook.d.ts +282 -0
- package/wp/@types/components/border-box-control/border-box-control-linked-button/index.d.ts +2 -0
- package/wp/@types/components/border-box-control/border-box-control-split-controls/component.d.ts +11 -0
- package/wp/@types/components/border-box-control/border-box-control-split-controls/hook.d.ts +282 -0
- package/wp/@types/components/border-box-control/border-box-control-split-controls/index.d.ts +2 -0
- package/wp/@types/components/border-box-control/border-box-control-visualizer/component.d.ts +5 -0
- package/wp/@types/components/border-box-control/border-box-control-visualizer/hook.d.ts +272 -0
- package/wp/@types/components/border-box-control/border-box-control-visualizer/index.d.ts +2 -0
- package/wp/@types/components/border-box-control/index.d.ts +4 -0
- package/wp/@types/components/border-box-control/stories/index.story.d.ts +18 -0
- package/wp/@types/components/border-box-control/styles.d.ts +10 -0
- package/wp/@types/components/border-box-control/test/index.d.ts +2 -0
- package/wp/@types/components/border-box-control/test/utils.d.ts +2 -0
- package/wp/@types/components/border-box-control/types.d.ts +88 -0
- package/wp/@types/components/border-box-control/utils.d.ts +22 -0
- package/wp/@types/components/border-control/border-control/component.d.ts +57 -0
- package/wp/@types/components/border-control/border-control/hook.d.ts +295 -0
- package/wp/@types/components/border-control/border-control/index.d.ts +3 -0
- package/wp/@types/components/border-control/border-control-dropdown/component.d.ts +13 -0
- package/wp/@types/components/border-control/border-control-dropdown/hook.d.ts +287 -0
- package/wp/@types/components/border-control/border-control-dropdown/index.d.ts +2 -0
- package/wp/@types/components/border-control/border-control-style-picker/component.d.ts +6 -0
- package/wp/@types/components/border-control/border-control-style-picker/index.d.ts +2 -0
- package/wp/@types/components/border-control/index.d.ts +3 -0
- package/wp/@types/components/border-control/stories/index.story.d.ts +120 -0
- package/wp/@types/components/border-control/styles.d.ts +14 -0
- package/wp/@types/components/border-control/types.d.ts +161 -0
- package/wp/@types/components/box-control/icon.d.ts +7 -0
- package/wp/@types/components/box-control/index.d.ts +31 -0
- package/wp/@types/components/box-control/input-control.d.ts +3 -0
- package/wp/@types/components/box-control/linked-button.d.ts +8 -0
- package/wp/@types/components/box-control/stories/index.story.d.ts +18 -0
- package/wp/@types/components/box-control/styles/box-control-icon-styles.d.ts +41 -0
- package/wp/@types/components/box-control/styles/box-control-styles.d.ts +69 -0
- package/wp/@types/components/box-control/test/index.d.ts +2 -0
- package/wp/@types/components/box-control/types.d.ts +149 -0
- package/wp/@types/components/box-control/utils.d.ts +119 -0
- package/wp/@types/components/button/deprecated.d.ts +98 -0
- package/wp/@types/components/button/index.d.ts +21 -0
- package/wp/@types/components/button/stories/e2e/index.story.d.ts +14 -0
- package/wp/@types/components/button/stories/index.story.d.ts +38 -0
- package/wp/@types/components/button/test/index.d.ts +2 -0
- package/wp/@types/components/button/types.d.ts +214 -0
- package/wp/@types/components/button-group/index.d.ts +24 -0
- package/wp/@types/components/button-group/stories/index.story.d.ts +18 -0
- package/wp/@types/components/button-group/types.d.ts +18 -0
- package/wp/@types/components/card/card/component.d.ts +42 -0
- package/wp/@types/components/card/card/hook.d.ts +281 -0
- package/wp/@types/components/card/card/index.d.ts +3 -0
- package/wp/@types/components/card/card-body/component.d.ts +24 -0
- package/wp/@types/components/card/card-body/hook.d.ts +276 -0
- package/wp/@types/components/card/card-body/index.d.ts +3 -0
- package/wp/@types/components/card/card-divider/component.d.ts +22 -0
- package/wp/@types/components/card/card-divider/hook.d.ts +279 -0
- package/wp/@types/components/card/card-divider/index.d.ts +3 -0
- package/wp/@types/components/card/card-footer/component.d.ts +24 -0
- package/wp/@types/components/card/card-footer/hook.d.ts +276 -0
- package/wp/@types/components/card/card-footer/index.d.ts +3 -0
- package/wp/@types/components/card/card-header/component.d.ts +22 -0
- package/wp/@types/components/card/card-header/hook.d.ts +275 -0
- package/wp/@types/components/card/card-header/index.d.ts +3 -0
- package/wp/@types/components/card/card-media/component.d.ts +22 -0
- package/wp/@types/components/card/card-media/hook.d.ts +275 -0
- package/wp/@types/components/card/card-media/index.d.ts +3 -0
- package/wp/@types/components/card/context.d.ts +3 -0
- package/wp/@types/components/card/index.d.ts +7 -0
- package/wp/@types/components/card/stories/index.story.d.ts +17 -0
- package/wp/@types/components/card/styles.d.ts +21 -0
- package/wp/@types/components/card/test/index.d.ts +2 -0
- package/wp/@types/components/card/types.d.ts +88 -0
- package/wp/@types/components/checkbox-control/index.d.ts +26 -0
- package/wp/@types/components/checkbox-control/stories/index.story.d.ts +24 -0
- package/wp/@types/components/checkbox-control/test/index.d.ts +2 -0
- package/wp/@types/components/checkbox-control/types.d.ts +35 -0
- package/wp/@types/components/circular-option-picker/circular-option-picker-actions.d.ts +6 -0
- package/wp/@types/components/circular-option-picker/circular-option-picker-context.d.ts +6 -0
- package/wp/@types/components/circular-option-picker/circular-option-picker-option-group.d.ts +6 -0
- package/wp/@types/components/circular-option-picker/circular-option-picker-option.d.ts +3 -0
- package/wp/@types/components/circular-option-picker/circular-option-picker.d.ts +10 -0
- package/wp/@types/components/circular-option-picker/index.d.ts +9 -0
- package/wp/@types/components/circular-option-picker/stories/index.story.d.ts +16 -0
- package/wp/@types/components/circular-option-picker/test/index.d.ts +2 -0
- package/wp/@types/components/circular-option-picker/types.d.ts +98 -0
- package/wp/@types/components/clipboard-button/index.d.ts +4 -0
- package/wp/@types/components/clipboard-button/types.d.ts +11 -0
- package/wp/@types/components/color-indicator/index.d.ts +15 -0
- package/wp/@types/components/color-indicator/stories/index.story.d.ts +12 -0
- package/wp/@types/components/color-indicator/test/index.d.ts +2 -0
- package/wp/@types/components/color-indicator/types.d.ts +12 -0
- package/wp/@types/components/color-palette/index.d.ts +30 -0
- package/wp/@types/components/color-palette/stories/index.story.d.ts +15 -0
- package/wp/@types/components/color-palette/styles.d.ts +11 -0
- package/wp/@types/components/color-palette/test/index.d.ts +2 -0
- package/wp/@types/components/color-palette/test/utils.d.ts +2 -0
- package/wp/@types/components/color-palette/types.d.ts +115 -0
- package/wp/@types/components/color-palette/utils.d.ts +16 -0
- package/wp/@types/components/color-picker/color-copy-button.d.ts +3 -0
- package/wp/@types/components/color-picker/color-input.d.ts +3 -0
- package/wp/@types/components/color-picker/component.d.ts +10 -0
- package/wp/@types/components/color-picker/hex-input.d.ts +3 -0
- package/wp/@types/components/color-picker/hsl-input.d.ts +3 -0
- package/wp/@types/components/color-picker/index.d.ts +5 -0
- package/wp/@types/components/color-picker/input-with-slider.d.ts +3 -0
- package/wp/@types/components/color-picker/legacy-adapter.d.ts +3 -0
- package/wp/@types/components/color-picker/picker.d.ts +6 -0
- package/wp/@types/components/color-picker/rgb-input.d.ts +3 -0
- package/wp/@types/components/color-picker/stories/index.story.d.ts +12 -0
- package/wp/@types/components/color-picker/styles.d.ts +80 -0
- package/wp/@types/components/color-picker/test/index.d.ts +2 -0
- package/wp/@types/components/color-picker/types.d.ts +114 -0
- package/wp/@types/components/color-picker/use-deprecated-props.d.ts +6 -0
- package/wp/@types/components/combobox-control/index.d.ts +54 -0
- package/wp/@types/components/combobox-control/stories/index.story.d.ts +95 -0
- package/wp/@types/components/combobox-control/styles.d.ts +7 -0
- package/wp/@types/components/combobox-control/test/index.d.ts +2 -0
- package/wp/@types/components/combobox-control/types.d.ts +81 -0
- package/wp/@types/components/composite/context.d.ts +7 -0
- package/wp/@types/components/composite/group-label.d.ts +3 -0
- package/wp/@types/components/composite/group.d.ts +3 -0
- package/wp/@types/components/composite/hover.d.ts +3 -0
- package/wp/@types/components/composite/index.d.ts +198 -0
- package/wp/@types/components/composite/item.d.ts +3 -0
- package/wp/@types/components/composite/legacy/index.d.ts +108 -0
- package/wp/@types/components/composite/legacy/stories/index.story.d.ts +12 -0
- package/wp/@types/components/composite/legacy/stories/utils.d.ts +33 -0
- package/wp/@types/components/composite/legacy/test/index.d.ts +2 -0
- package/wp/@types/components/composite/row.d.ts +3 -0
- package/wp/@types/components/composite/stories/index.story.d.ts +36 -0
- package/wp/@types/components/composite/test/index.d.ts +2 -0
- package/wp/@types/components/composite/typeahead.d.ts +3 -0
- package/wp/@types/components/composite/types.d.ts +289 -0
- package/wp/@types/components/confirm-dialog/component.d.ts +71 -0
- package/wp/@types/components/confirm-dialog/index.d.ts +6 -0
- package/wp/@types/components/confirm-dialog/stories/index.story.d.ts +10 -0
- package/wp/@types/components/confirm-dialog/styles.d.ts +10 -0
- package/wp/@types/components/confirm-dialog/test/index.d.ts +2 -0
- package/wp/@types/components/confirm-dialog/types.d.ts +48 -0
- package/wp/@types/components/context/constants.d.ts +8 -0
- package/wp/@types/components/context/context-connect.d.ts +40 -0
- package/wp/@types/components/context/context-system-provider.d.ts +7 -0
- package/wp/@types/components/context/get-styled-class-name-from-key.d.ts +2 -0
- package/wp/@types/components/context/index.d.ts +5 -0
- package/wp/@types/components/context/test/context-connect.d.ts +2 -0
- package/wp/@types/components/context/test/wordpress-component.d.ts +2 -0
- package/wp/@types/components/context/use-context-system.d.ts +20 -0
- package/wp/@types/components/context/utils.d.ts +26 -0
- package/wp/@types/components/context/wordpress-component.d.ts +32 -0
- package/wp/@types/components/custom-gradient-picker/constants.d.ts +25 -0
- package/wp/@types/components/custom-gradient-picker/gradient-bar/constants.d.ts +8 -0
- package/wp/@types/components/custom-gradient-picker/gradient-bar/control-points.d.ts +7 -0
- package/wp/@types/components/custom-gradient-picker/gradient-bar/index.d.ts +3 -0
- package/wp/@types/components/custom-gradient-picker/gradient-bar/test/utils.d.ts +2 -0
- package/wp/@types/components/custom-gradient-picker/gradient-bar/utils.d.ts +90 -0
- package/wp/@types/components/custom-gradient-picker/index.d.ts +25 -0
- package/wp/@types/components/custom-gradient-picker/serializer.d.ts +10 -0
- package/wp/@types/components/custom-gradient-picker/stories/index.story.d.ts +12 -0
- package/wp/@types/components/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +11 -0
- package/wp/@types/components/custom-gradient-picker/test/serializer.d.ts +2 -0
- package/wp/@types/components/custom-gradient-picker/types.d.ts +125 -0
- package/wp/@types/components/custom-gradient-picker/utils.d.ts +13 -0
- package/wp/@types/components/custom-select-control/index.d.ts +4 -0
- package/wp/@types/components/custom-select-control/stories/index.story.d.ts +14 -0
- package/wp/@types/components/custom-select-control/test/index.d.ts +2 -0
- package/wp/@types/components/custom-select-control/types.d.ts +129 -0
- package/wp/@types/components/custom-select-control-v2/custom-select.d.ts +5 -0
- package/wp/@types/components/custom-select-control-v2/index.d.ts +8 -0
- package/wp/@types/components/custom-select-control-v2/item.d.ts +11 -0
- package/wp/@types/components/custom-select-control-v2/stories/index.story.d.ts +44 -0
- package/wp/@types/components/custom-select-control-v2/styles.d.ts +55 -0
- package/wp/@types/components/custom-select-control-v2/test/index.d.ts +2 -0
- package/wp/@types/components/custom-select-control-v2/types.d.ts +87 -0
- package/wp/@types/components/dashicon/index.d.ts +15 -0
- package/wp/@types/components/dashicon/types.d.ts +12 -0
- package/wp/@types/components/date-time/constants.d.ts +2 -0
- package/wp/@types/components/date-time/date/index.d.ts +23 -0
- package/wp/@types/components/date-time/date/styles.d.ts +39 -0
- package/wp/@types/components/date-time/date/test/index.d.ts +2 -0
- package/wp/@types/components/date-time/date/test/use-lilius.d.ts +2 -0
- package/wp/@types/components/date-time/date/use-lilius/index.d.ts +169 -0
- package/wp/@types/components/date-time/date-time/index.d.ts +33 -0
- package/wp/@types/components/date-time/date-time/styles.d.ts +9 -0
- package/wp/@types/components/date-time/index.d.ts +9 -0
- package/wp/@types/components/date-time/stories/date-time.story.d.ts +14 -0
- package/wp/@types/components/date-time/stories/date.story.d.ts +14 -0
- package/wp/@types/components/date-time/stories/time.story.d.ts +17 -0
- package/wp/@types/components/date-time/stories/utils.d.ts +3 -0
- package/wp/@types/components/date-time/time/index.d.ts +27 -0
- package/wp/@types/components/date-time/time/styles.d.ts +93 -0
- package/wp/@types/components/date-time/time/test/index.d.ts +2 -0
- package/wp/@types/components/date-time/time/time-input/index.d.ts +4 -0
- package/wp/@types/components/date-time/time/time-input/test/index.d.ts +2 -0
- package/wp/@types/components/date-time/time/timezone.d.ts +7 -0
- package/wp/@types/components/date-time/types.d.ts +125 -0
- package/wp/@types/components/date-time/utils.d.ts +47 -0
- package/wp/@types/components/dimension-control/index.d.ts +29 -0
- package/wp/@types/components/dimension-control/sizes.d.ts +26 -0
- package/wp/@types/components/dimension-control/stories/index.story.d.ts +24 -0
- package/wp/@types/components/dimension-control/types.d.ts +48 -0
- package/wp/@types/components/disabled/index.d.ts +53 -0
- package/wp/@types/components/disabled/stories/index.story.d.ts +13 -0
- package/wp/@types/components/disabled/styles/disabled-styles.d.ts +2 -0
- package/wp/@types/components/disabled/test/index.d.ts +2 -0
- package/wp/@types/components/disabled/types.d.ts +13 -0
- package/wp/@types/components/disclosure/index.d.ts +7 -0
- package/wp/@types/components/disclosure/types.d.ts +11 -0
- package/wp/@types/components/divider/component.d.ts +33 -0
- package/wp/@types/components/divider/index.d.ts +3 -0
- package/wp/@types/components/divider/stories/index.story.d.ts +11 -0
- package/wp/@types/components/divider/styles.d.ts +10 -0
- package/wp/@types/components/divider/test/index.d.ts +2 -0
- package/wp/@types/components/divider/types.d.ts +40 -0
- package/wp/@types/components/draggable/index.d.ts +46 -0
- package/wp/@types/components/draggable/stories/index.story.d.ts +20 -0
- package/wp/@types/components/draggable/types.d.ts +65 -0
- package/wp/@types/components/drop-zone/index.d.ts +31 -0
- package/wp/@types/components/drop-zone/provider.d.ts +4 -0
- package/wp/@types/components/drop-zone/stories/index.story.d.ts +12 -0
- package/wp/@types/components/drop-zone/types.d.ts +34 -0
- package/wp/@types/components/dropdown/dropdown-content-wrapper.d.ts +23 -0
- package/wp/@types/components/dropdown/index.d.ts +29 -0
- package/wp/@types/components/dropdown/stories/index.story.d.ts +24 -0
- package/wp/@types/components/dropdown/styles.d.ts +6 -0
- package/wp/@types/components/dropdown/test/index.d.ts +2 -0
- package/wp/@types/components/dropdown/types.d.ts +124 -0
- package/wp/@types/components/dropdown-menu/index.d.ts +84 -0
- package/wp/@types/components/dropdown-menu/stories/index.story.d.ts +13 -0
- package/wp/@types/components/dropdown-menu/test/index.d.ts +2 -0
- package/wp/@types/components/dropdown-menu/types.d.ts +158 -0
- package/wp/@types/components/duotone-picker/color-list-picker/index.d.ts +4 -0
- package/wp/@types/components/duotone-picker/color-list-picker/types.d.ts +42 -0
- package/wp/@types/components/duotone-picker/custom-duotone-bar.d.ts +5 -0
- package/wp/@types/components/duotone-picker/duotone-picker.d.ts +37 -0
- package/wp/@types/components/duotone-picker/duotone-swatch.d.ts +4 -0
- package/wp/@types/components/duotone-picker/index.d.ts +3 -0
- package/wp/@types/components/duotone-picker/stories/duotone-picker.story.d.ts +13 -0
- package/wp/@types/components/duotone-picker/stories/duotone-swatch.story.d.ts +14 -0
- package/wp/@types/components/duotone-picker/types.d.ts +90 -0
- package/wp/@types/components/duotone-picker/utils.d.ts +52 -0
- package/wp/@types/components/elevation/component.d.ts +27 -0
- package/wp/@types/components/elevation/hook.d.ts +275 -0
- package/wp/@types/components/elevation/index.d.ts +3 -0
- package/wp/@types/components/elevation/stories/index.story.d.ts +22 -0
- package/wp/@types/components/elevation/styles.d.ts +2 -0
- package/wp/@types/components/elevation/test/index.d.ts +2 -0
- package/wp/@types/components/elevation/types.d.ts +49 -0
- package/wp/@types/components/external-link/index.d.ts +19 -0
- package/wp/@types/components/external-link/stories/index.story.d.ts +12 -0
- package/wp/@types/components/external-link/test/index.d.ts +2 -0
- package/wp/@types/components/external-link/types.d.ts +15 -0
- package/wp/@types/components/flex/context.d.ts +7 -0
- package/wp/@types/components/flex/flex/component.d.ts +29 -0
- package/wp/@types/components/flex/flex/hook.d.ts +276 -0
- package/wp/@types/components/flex/flex/index.d.ts +3 -0
- package/wp/@types/components/flex/flex-block/component.d.ts +20 -0
- package/wp/@types/components/flex/flex-block/hook.d.ts +275 -0
- package/wp/@types/components/flex/flex-block/index.d.ts +3 -0
- package/wp/@types/components/flex/flex-item/component.d.ts +20 -0
- package/wp/@types/components/flex/flex-item/hook.d.ts +275 -0
- package/wp/@types/components/flex/flex-item/index.d.ts +3 -0
- package/wp/@types/components/flex/index.d.ts +4 -0
- package/wp/@types/components/flex/stories/index.story.d.ts +13 -0
- package/wp/@types/components/flex/styles.d.ts +17 -0
- package/wp/@types/components/flex/test/index.d.ts +2 -0
- package/wp/@types/components/flex/types.d.ts +83 -0
- package/wp/@types/components/focal-point-picker/controls.d.ts +3 -0
- package/wp/@types/components/focal-point-picker/focal-point.d.ts +7 -0
- package/wp/@types/components/focal-point-picker/grid.d.ts +4 -0
- package/wp/@types/components/focal-point-picker/index.d.ts +51 -0
- package/wp/@types/components/focal-point-picker/media.d.ts +3 -0
- package/wp/@types/components/focal-point-picker/stories/index.story.d.ts +59 -0
- package/wp/@types/components/focal-point-picker/styles/focal-point-picker-style.d.ts +53 -0
- package/wp/@types/components/focal-point-picker/styles/focal-point-style.d.ts +7 -0
- package/wp/@types/components/focal-point-picker/test/index.d.ts +2 -0
- package/wp/@types/components/focal-point-picker/test/media.d.ts +2 -0
- package/wp/@types/components/focal-point-picker/types.d.ts +86 -0
- package/wp/@types/components/focal-point-picker/utils.d.ts +26 -0
- package/wp/@types/components/focusable-iframe/index.d.ts +6 -0
- package/wp/@types/components/focusable-iframe/types.d.ts +8 -0
- package/wp/@types/components/font-size-picker/constants.d.ts +15 -0
- package/wp/@types/components/font-size-picker/font-size-picker-select.d.ts +4 -0
- package/wp/@types/components/font-size-picker/font-size-picker-toggle-group.d.ts +4 -0
- package/wp/@types/components/font-size-picker/index.d.ts +4 -0
- package/wp/@types/components/font-size-picker/stories/e2e/index.story.d.ts +15 -0
- package/wp/@types/components/font-size-picker/stories/index.story.d.ts +31 -0
- package/wp/@types/components/font-size-picker/styles.d.ts +25 -0
- package/wp/@types/components/font-size-picker/test/index.d.ts +2 -0
- package/wp/@types/components/font-size-picker/test/utils.d.ts +2 -0
- package/wp/@types/components/font-size-picker/types.d.ts +109 -0
- package/wp/@types/components/font-size-picker/utils.d.ts +21 -0
- package/wp/@types/components/form-file-upload/index.d.ts +22 -0
- package/wp/@types/components/form-file-upload/stories/index.story.d.ts +23 -0
- package/wp/@types/components/form-file-upload/test/index.d.ts +2 -0
- package/wp/@types/components/form-file-upload/types.d.ts +72 -0
- package/wp/@types/components/form-toggle/index.d.ts +27 -0
- package/wp/@types/components/form-toggle/stories/index.story.d.ts +12 -0
- package/wp/@types/components/form-toggle/test/index.d.ts +2 -0
- package/wp/@types/components/form-toggle/types.d.ts +22 -0
- package/wp/@types/components/form-token-field/index.d.ts +14 -0
- package/wp/@types/components/form-token-field/stories/index.story.d.ts +26 -0
- package/wp/@types/components/form-token-field/styles.d.ts +11 -0
- package/wp/@types/components/form-token-field/suggestions-list.d.ts +10 -0
- package/wp/@types/components/form-token-field/test/index.d.ts +2 -0
- package/wp/@types/components/form-token-field/token-input.d.ts +10 -0
- package/wp/@types/components/form-token-field/token.d.ts +3 -0
- package/wp/@types/components/form-token-field/types.d.ts +222 -0
- package/wp/@types/components/gradient-picker/index.d.ts +46 -0
- package/wp/@types/components/gradient-picker/stories/index.story.d.ts +14 -0
- package/wp/@types/components/gradient-picker/types.d.ts +120 -0
- package/wp/@types/components/grid/component.d.ts +24 -0
- package/wp/@types/components/grid/hook.d.ts +275 -0
- package/wp/@types/components/grid/index.d.ts +3 -0
- package/wp/@types/components/grid/stories/index.story.d.ts +9 -0
- package/wp/@types/components/grid/test/grid.d.ts +2 -0
- package/wp/@types/components/grid/types.d.ts +65 -0
- package/wp/@types/components/grid/utils.d.ts +55 -0
- package/wp/@types/components/guide/icons.d.ts +2 -0
- package/wp/@types/components/guide/index.d.ts +36 -0
- package/wp/@types/components/guide/page-control.d.ts +3 -0
- package/wp/@types/components/guide/page.d.ts +6 -0
- package/wp/@types/components/guide/stories/index.story.d.ts +9 -0
- package/wp/@types/components/guide/test/index.d.ts +2 -0
- package/wp/@types/components/guide/types.d.ts +65 -0
- package/wp/@types/components/h-stack/component.d.ts +28 -0
- package/wp/@types/components/h-stack/hook.d.ts +275 -0
- package/wp/@types/components/h-stack/index.d.ts +3 -0
- package/wp/@types/components/h-stack/stories/e2e/index.story.d.ts +9 -0
- package/wp/@types/components/h-stack/stories/index.story.d.ts +9 -0
- package/wp/@types/components/h-stack/test/index.d.ts +2 -0
- package/wp/@types/components/h-stack/types.d.ts +42 -0
- package/wp/@types/components/h-stack/utils.d.ts +11 -0
- package/wp/@types/components/heading/component.d.ts +19 -0
- package/wp/@types/components/heading/hook.d.ts +275 -0
- package/wp/@types/components/heading/index.d.ts +3 -0
- package/wp/@types/components/heading/stories/index.story.d.ts +12 -0
- package/wp/@types/components/heading/test/index.d.ts +2 -0
- package/wp/@types/components/heading/types.d.ts +35 -0
- package/wp/@types/components/higher-order/navigate-regions/index.d.ts +45 -0
- package/wp/@types/components/higher-order/with-constrained-tabbing/index.d.ts +11 -0
- package/wp/@types/components/higher-order/with-fallback-styles/index.d.ts +43 -0
- package/wp/@types/components/higher-order/with-filters/index.d.ts +88 -0
- package/wp/@types/components/higher-order/with-filters/test/index.d.ts +2 -0
- package/wp/@types/components/higher-order/with-focus-outside/index.d.ts +3 -0
- package/wp/@types/components/higher-order/with-focus-outside/test/index.d.ts +2 -0
- package/wp/@types/components/higher-order/with-focus-return/index.d.ts +19 -0
- package/wp/@types/components/higher-order/with-focus-return/test/index.d.ts +2 -0
- package/wp/@types/components/higher-order/with-notices/index.d.ts +36 -0
- package/wp/@types/components/higher-order/with-notices/test/index.d.ts +2 -0
- package/wp/@types/components/higher-order/with-notices/types.d.ts +33 -0
- package/wp/@types/components/higher-order/with-spoken-messages/index.d.ts +13 -0
- package/wp/@types/components/higher-order/with-spoken-messages/test/index.d.ts +2 -0
- package/wp/@types/components/icon/index.d.ts +46 -0
- package/wp/@types/components/icon/stories/index.story.d.ts +28 -0
- package/wp/@types/components/icon/test/index.d.ts +2 -0
- package/wp/@types/components/index.d.ts +152 -0
- package/wp/@types/components/input-control/backdrop.d.ts +7 -0
- package/wp/@types/components/input-control/index.d.ts +27 -0
- package/wp/@types/components/input-control/input-base.d.ts +8 -0
- package/wp/@types/components/input-control/input-field.d.ts +4 -0
- package/wp/@types/components/input-control/input-prefix-wrapper.d.ts +19 -0
- package/wp/@types/components/input-control/input-suffix-wrapper.d.ts +19 -0
- package/wp/@types/components/input-control/label.d.ts +4 -0
- package/wp/@types/components/input-control/reducer/actions.d.ts +48 -0
- package/wp/@types/components/input-control/reducer/reducer.d.ts +40 -0
- package/wp/@types/components/input-control/reducer/state.d.ts +22 -0
- package/wp/@types/components/input-control/stories/index.story.d.ts +37 -0
- package/wp/@types/components/input-control/styles/input-control-styles.d.ts +97 -0
- package/wp/@types/components/input-control/types.d.ts +217 -0
- package/wp/@types/components/input-control/utils.d.ts +34 -0
- package/wp/@types/components/isolated-event-container/index.d.ts +3 -0
- package/wp/@types/components/isolated-event-container/test/index.d.ts +2 -0
- package/wp/@types/components/item-group/context.d.ts +7 -0
- package/wp/@types/components/item-group/index.d.ts +3 -0
- package/wp/@types/components/item-group/item/component.d.ts +28 -0
- package/wp/@types/components/item-group/item/hook.d.ts +276 -0
- package/wp/@types/components/item-group/item/index.d.ts +3 -0
- package/wp/@types/components/item-group/item-group/component.d.ts +24 -0
- package/wp/@types/components/item-group/item-group/hook.d.ts +278 -0
- package/wp/@types/components/item-group/item-group/index.d.ts +3 -0
- package/wp/@types/components/item-group/stories/index.story.d.ts +15 -0
- package/wp/@types/components/item-group/styles.d.ts +13 -0
- package/wp/@types/components/item-group/types.d.ts +60 -0
- package/wp/@types/components/keyboard-shortcuts/index.d.ts +37 -0
- package/wp/@types/components/keyboard-shortcuts/stories/index.story.d.ts +12 -0
- package/wp/@types/components/keyboard-shortcuts/test/index.d.ts +2 -0
- package/wp/@types/components/keyboard-shortcuts/types.d.ts +47 -0
- package/wp/@types/components/lock-unlock.d.ts +3 -0
- package/wp/@types/components/menu/checkbox-item.d.ts +3 -0
- package/wp/@types/components/menu/context.d.ts +6 -0
- package/wp/@types/components/menu/group-label.d.ts +3 -0
- package/wp/@types/components/menu/group.d.ts +3 -0
- package/wp/@types/components/menu/index.d.ts +121 -0
- package/wp/@types/components/menu/item-help-text.d.ts +6 -0
- package/wp/@types/components/menu/item-label.d.ts +6 -0
- package/wp/@types/components/menu/item.d.ts +3 -0
- package/wp/@types/components/menu/popover.d.ts +3 -0
- package/wp/@types/components/menu/radio-item.d.ts +3 -0
- package/wp/@types/components/menu/separator.d.ts +3 -0
- package/wp/@types/components/menu/stories/index.story.d.ts +16 -0
- package/wp/@types/components/menu/styles.d.ts +85 -0
- package/wp/@types/components/menu/submenu-trigger-item.d.ts +3 -0
- package/wp/@types/components/menu/test/index.d.ts +2 -0
- package/wp/@types/components/menu/trigger-button.d.ts +3 -0
- package/wp/@types/components/menu/types.d.ts +325 -0
- package/wp/@types/components/menu-group/index.d.ts +22 -0
- package/wp/@types/components/menu-group/stories/index.story.d.ts +17 -0
- package/wp/@types/components/menu-group/test/index.d.ts +2 -0
- package/wp/@types/components/menu-group/types.d.ts +23 -0
- package/wp/@types/components/menu-item/index.d.ts +40 -0
- package/wp/@types/components/menu-item/stories/index.story.d.ts +73 -0
- package/wp/@types/components/menu-item/types.d.ts +63 -0
- package/wp/@types/components/menu-items-choice/index.d.ts +37 -0
- package/wp/@types/components/menu-items-choice/stories/index.story.d.ts +12 -0
- package/wp/@types/components/menu-items-choice/types.d.ts +58 -0
- package/wp/@types/components/mobile/image/constants.d.ts +5 -0
- package/wp/@types/components/modal/aria-helper.d.ts +26 -0
- package/wp/@types/components/modal/index.d.ts +35 -0
- package/wp/@types/components/modal/stories/index.story.d.ts +14 -0
- package/wp/@types/components/modal/test/aria-helper.d.ts +2 -0
- package/wp/@types/components/modal/test/index.d.ts +2 -0
- package/wp/@types/components/modal/types.d.ts +148 -0
- package/wp/@types/components/modal/use-modal-exit-animation.d.ts +9 -0
- package/wp/@types/components/navigable-container/container.d.ts +22 -0
- package/wp/@types/components/navigable-container/index.d.ts +6 -0
- package/wp/@types/components/navigable-container/menu.d.ts +46 -0
- package/wp/@types/components/navigable-container/stories/navigable-menu.story.d.ts +12 -0
- package/wp/@types/components/navigable-container/stories/tabbable-container.story.d.ts +12 -0
- package/wp/@types/components/navigable-container/tabbable.d.ts +53 -0
- package/wp/@types/components/navigable-container/test/navigable-menu.d.ts +2 -0
- package/wp/@types/components/navigable-container/test/tababble-container.d.ts +2 -0
- package/wp/@types/components/navigable-container/types.d.ts +61 -0
- package/wp/@types/components/navigation/back-button/index.d.ts +7 -0
- package/wp/@types/components/navigation/constants.d.ts +3 -0
- package/wp/@types/components/navigation/context.d.ts +4 -0
- package/wp/@types/components/navigation/group/context.d.ts +7 -0
- package/wp/@types/components/navigation/group/index.d.ts +7 -0
- package/wp/@types/components/navigation/index.d.ts +46 -0
- package/wp/@types/components/navigation/item/base-content.d.ts +3 -0
- package/wp/@types/components/navigation/item/base.d.ts +3 -0
- package/wp/@types/components/navigation/item/index.d.ts +7 -0
- package/wp/@types/components/navigation/item/use-navigation-tree-item.d.ts +3 -0
- package/wp/@types/components/navigation/menu/context.d.ts +7 -0
- package/wp/@types/components/navigation/menu/index.d.ts +7 -0
- package/wp/@types/components/navigation/menu/menu-title-search.d.ts +3 -0
- package/wp/@types/components/navigation/menu/menu-title.d.ts +3 -0
- package/wp/@types/components/navigation/menu/search-no-results-found.d.ts +3 -0
- package/wp/@types/components/navigation/menu/use-navigation-tree-menu.d.ts +3 -0
- package/wp/@types/components/navigation/stories/index.story.d.ts +23 -0
- package/wp/@types/components/navigation/stories/utils/controlled-state.d.ts +7 -0
- package/wp/@types/components/navigation/stories/utils/default.d.ts +10 -0
- package/wp/@types/components/navigation/stories/utils/group.d.ts +10 -0
- package/wp/@types/components/navigation/stories/utils/hide-if-empty.d.ts +10 -0
- package/wp/@types/components/navigation/stories/utils/more-examples.d.ts +10 -0
- package/wp/@types/components/navigation/stories/utils/search.d.ts +10 -0
- package/wp/@types/components/navigation/styles/navigation-styles.d.ts +55 -0
- package/wp/@types/components/navigation/test/index.d.ts +2 -0
- package/wp/@types/components/navigation/types.d.ts +266 -0
- package/wp/@types/components/navigation/use-create-navigation-tree.d.ts +15 -0
- package/wp/@types/components/navigation/use-navigation-tree-nodes.d.ts +10 -0
- package/wp/@types/components/navigation/utils.d.ts +3 -0
- package/wp/@types/components/navigator/context.d.ts +6 -0
- package/wp/@types/components/navigator/index.d.ts +173 -0
- package/wp/@types/components/navigator/legacy.d.ts +226 -0
- package/wp/@types/components/navigator/navigator/component.d.ts +3 -0
- package/wp/@types/components/navigator/navigator-back-button/component.d.ts +25 -0
- package/wp/@types/components/navigator/navigator-back-button/hook.d.ts +304 -0
- package/wp/@types/components/navigator/navigator-button/component.d.ts +28 -0
- package/wp/@types/components/navigator/navigator-button/hook.d.ts +304 -0
- package/wp/@types/components/navigator/navigator-screen/component.d.ts +3 -0
- package/wp/@types/components/navigator/navigator-screen/use-screen-animate-presence.d.ts +16 -0
- package/wp/@types/components/navigator/navigator-to-parent-button/component.d.ts +28 -0
- package/wp/@types/components/navigator/stories/index.story.d.ts +11 -0
- package/wp/@types/components/navigator/styles.d.ts +22 -0
- package/wp/@types/components/navigator/test/index.d.ts +2 -0
- package/wp/@types/components/navigator/test/router.d.ts +2 -0
- package/wp/@types/components/navigator/types.d.ts +138 -0
- package/wp/@types/components/navigator/use-navigator.d.ts +9 -0
- package/wp/@types/components/navigator/utils/router.d.ts +10 -0
- package/wp/@types/components/notice/index.d.ts +15 -0
- package/wp/@types/components/notice/list.d.ts +31 -0
- package/wp/@types/components/notice/stories/index.story.d.ts +17 -0
- package/wp/@types/components/notice/test/index.d.ts +2 -0
- package/wp/@types/components/notice/test/list.d.ts +2 -0
- package/wp/@types/components/notice/types.d.ts +128 -0
- package/wp/@types/components/number-control/index.d.ts +17 -0
- package/wp/@types/components/number-control/stories/index.story.d.ts +26 -0
- package/wp/@types/components/number-control/styles/number-control-styles.d.ts +12 -0
- package/wp/@types/components/number-control/test/index.d.ts +2 -0
- package/wp/@types/components/number-control/types.d.ts +98 -0
- package/wp/@types/components/package.json +8 -0
- package/wp/@types/components/palette-edit/index.d.ts +42 -0
- package/wp/@types/components/palette-edit/stories/index.story.d.ts +13 -0
- package/wp/@types/components/palette-edit/styles.d.ts +786 -0
- package/wp/@types/components/palette-edit/test/index.d.ts +2 -0
- package/wp/@types/components/palette-edit/types.d.ts +120 -0
- package/wp/@types/components/panel/body.d.ts +8 -0
- package/wp/@types/components/panel/header.d.ts +12 -0
- package/wp/@types/components/panel/index.d.ts +20 -0
- package/wp/@types/components/panel/row.d.ts +11 -0
- package/wp/@types/components/panel/stories/index.story.d.ts +19 -0
- package/wp/@types/components/panel/test/body.d.ts +2 -0
- package/wp/@types/components/panel/test/header.d.ts +2 -0
- package/wp/@types/components/panel/test/index.d.ts +2 -0
- package/wp/@types/components/panel/test/row.d.ts +2 -0
- package/wp/@types/components/panel/types.d.ts +107 -0
- package/wp/@types/components/placeholder/index.d.ts +15 -0
- package/wp/@types/components/placeholder/stories/index.story.d.ts +12 -0
- package/wp/@types/components/placeholder/test/index.d.ts +2 -0
- package/wp/@types/components/placeholder/types.d.ts +47 -0
- package/wp/@types/components/popover/index.d.ts +34 -0
- package/wp/@types/components/popover/overlay-middlewares.d.ts +13 -0
- package/wp/@types/components/popover/stories/e2e/index.story.d.ts +7 -0
- package/wp/@types/components/popover/stories/index.story.d.ts +13 -0
- package/wp/@types/components/popover/test/index.d.ts +2 -0
- package/wp/@types/components/popover/test/utils/index.d.ts +6 -0
- package/wp/@types/components/popover/types.d.ts +195 -0
- package/wp/@types/components/popover/utils.d.ts +39 -0
- package/wp/@types/components/private-apis.d.ts +2 -0
- package/wp/@types/components/progress-bar/index.d.ts +19 -0
- package/wp/@types/components/progress-bar/stories/index.story.d.ts +29 -0
- package/wp/@types/components/progress-bar/styles.d.ts +16 -0
- package/wp/@types/components/progress-bar/test/index.d.ts +2 -0
- package/wp/@types/components/progress-bar/types.d.ts +11 -0
- package/wp/@types/components/query-controls/author-select.d.ts +3 -0
- package/wp/@types/components/query-controls/category-select.d.ts +3 -0
- package/wp/@types/components/query-controls/index.d.ts +29 -0
- package/wp/@types/components/query-controls/stories/index.story.d.ts +13 -0
- package/wp/@types/components/query-controls/terms.d.ts +13 -0
- package/wp/@types/components/query-controls/test/terms.d.ts +2 -0
- package/wp/@types/components/query-controls/types.d.ts +141 -0
- package/wp/@types/components/radio-control/index.d.ts +30 -0
- package/wp/@types/components/radio-control/stories/index.story.d.ts +13 -0
- package/wp/@types/components/radio-control/test/index.d.ts +2 -0
- package/wp/@types/components/radio-control/types.d.ts +33 -0
- package/wp/@types/components/radio-group/context.d.ts +9 -0
- package/wp/@types/components/radio-group/index.d.ts +7 -0
- package/wp/@types/components/radio-group/radio.d.ts +9 -0
- package/wp/@types/components/radio-group/stories/index.story.d.ts +14 -0
- package/wp/@types/components/radio-group/types.d.ts +43 -0
- package/wp/@types/components/range-control/index.d.ts +60 -0
- package/wp/@types/components/range-control/input-range.d.ts +6 -0
- package/wp/@types/components/range-control/mark.d.ts +4 -0
- package/wp/@types/components/range-control/rail.d.ts +4 -0
- package/wp/@types/components/range-control/stories/index.story.d.ts +48 -0
- package/wp/@types/components/range-control/styles/range-control-styles.d.ts +89 -0
- package/wp/@types/components/range-control/test/index.d.ts +2 -0
- package/wp/@types/components/range-control/tooltip.d.ts +4 -0
- package/wp/@types/components/range-control/types.d.ts +283 -0
- package/wp/@types/components/range-control/utils.d.ts +19 -0
- package/wp/@types/components/resizable-box/index.d.ts +15 -0
- package/wp/@types/components/resizable-box/resize-tooltip/index.d.ts +19 -0
- package/wp/@types/components/resizable-box/resize-tooltip/label.d.ts +12 -0
- package/wp/@types/components/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts +18 -0
- package/wp/@types/components/resizable-box/resize-tooltip/utils.d.ts +38 -0
- package/wp/@types/components/resizable-box/stories/index.story.d.ts +54 -0
- package/wp/@types/components/responsive-wrapper/index.d.ts +23 -0
- package/wp/@types/components/responsive-wrapper/stories/index.story.d.ts +22 -0
- package/wp/@types/components/responsive-wrapper/types.d.ts +21 -0
- package/wp/@types/components/sandbox/index.d.ts +18 -0
- package/wp/@types/components/sandbox/stories/index.story.d.ts +12 -0
- package/wp/@types/components/sandbox/test/index.d.ts +2 -0
- package/wp/@types/components/sandbox/types.d.ts +41 -0
- package/wp/@types/components/scroll-lock/index.d.ts +36 -0
- package/wp/@types/components/scroll-lock/stories/index.story.d.ts +9 -0
- package/wp/@types/components/scroll-lock/test/index.d.ts +2 -0
- package/wp/@types/components/scrollable/component.d.ts +19 -0
- package/wp/@types/components/scrollable/hook.d.ts +275 -0
- package/wp/@types/components/scrollable/index.d.ts +3 -0
- package/wp/@types/components/scrollable/stories/index.story.d.ts +9 -0
- package/wp/@types/components/scrollable/styles.d.ts +8 -0
- package/wp/@types/components/scrollable/test/index.d.ts +2 -0
- package/wp/@types/components/scrollable/types.d.ts +24 -0
- package/wp/@types/components/search-control/index.d.ts +25 -0
- package/wp/@types/components/search-control/stories/index.story.d.ts +12 -0
- package/wp/@types/components/search-control/styles.d.ts +9 -0
- package/wp/@types/components/search-control/test/index.d.ts +2 -0
- package/wp/@types/components/search-control/types.d.ts +69 -0
- package/wp/@types/components/select-control/chevron-down.d.ts +3 -0
- package/wp/@types/components/select-control/index.d.ts +35 -0
- package/wp/@types/components/select-control/stories/index.story.d.ts +34 -0
- package/wp/@types/components/select-control/styles/select-control-styles.d.ts +25 -0
- package/wp/@types/components/select-control/test/select-control.d.ts +2 -0
- package/wp/@types/components/select-control/types.d.ts +91 -0
- package/wp/@types/components/shortcut/index.d.ts +20 -0
- package/wp/@types/components/shortcut/stories/index.story.d.ts +13 -0
- package/wp/@types/components/shortcut/test/index.d.ts +2 -0
- package/wp/@types/components/shortcut/types.d.ts +14 -0
- package/wp/@types/components/slot-fill/bubbles-virtually/fill.d.ts +3 -0
- package/wp/@types/components/slot-fill/bubbles-virtually/slot-fill-context.d.ts +7 -0
- package/wp/@types/components/slot-fill/bubbles-virtually/slot-fill-provider.d.ts +3 -0
- package/wp/@types/components/slot-fill/bubbles-virtually/slot.d.ts +9 -0
- package/wp/@types/components/slot-fill/bubbles-virtually/use-slot-fills.d.ts +3 -0
- package/wp/@types/components/slot-fill/bubbles-virtually/use-slot.d.ts +6 -0
- package/wp/@types/components/slot-fill/context.d.ts +7 -0
- package/wp/@types/components/slot-fill/fill.d.ts +3 -0
- package/wp/@types/components/slot-fill/index.d.ts +32 -0
- package/wp/@types/components/slot-fill/provider.d.ts +4 -0
- package/wp/@types/components/slot-fill/slot.d.ts +4 -0
- package/wp/@types/components/slot-fill/stories/index.story.d.ts +15 -0
- package/wp/@types/components/slot-fill/types.d.ts +122 -0
- package/wp/@types/components/snackbar/index.d.ts +28 -0
- package/wp/@types/components/snackbar/list.d.ts +17 -0
- package/wp/@types/components/snackbar/stories/index.story.d.ts +13 -0
- package/wp/@types/components/snackbar/stories/list.story.d.ts +12 -0
- package/wp/@types/components/snackbar/test/index.d.ts +2 -0
- package/wp/@types/components/snackbar/test/list.d.ts +2 -0
- package/wp/@types/components/snackbar/types.d.ts +54 -0
- package/wp/@types/components/spacer/component.d.ts +28 -0
- package/wp/@types/components/spacer/hook.d.ts +275 -0
- package/wp/@types/components/spacer/index.d.ts +4 -0
- package/wp/@types/components/spacer/stories/index.story.d.ts +12 -0
- package/wp/@types/components/spacer/test/index.d.ts +2 -0
- package/wp/@types/components/spacer/types.d.ts +85 -0
- package/wp/@types/components/spinner/index.d.ts +17 -0
- package/wp/@types/components/spinner/stories/index.story.d.ts +13 -0
- package/wp/@types/components/spinner/styles.d.ts +13 -0
- package/wp/@types/components/style-provider/index.d.ts +7 -0
- package/wp/@types/components/style-provider/types.d.ts +15 -0
- package/wp/@types/components/surface/component.d.ts +24 -0
- package/wp/@types/components/surface/hook.d.ts +272 -0
- package/wp/@types/components/surface/index.d.ts +3 -0
- package/wp/@types/components/surface/stories/index.story.d.ts +12 -0
- package/wp/@types/components/surface/styles.d.ts +11 -0
- package/wp/@types/components/surface/test/index.d.ts +2 -0
- package/wp/@types/components/surface/types.d.ts +50 -0
- package/wp/@types/components/tab-panel/index.d.ts +4 -0
- package/wp/@types/components/tab-panel/stories/index.story.d.ts +15 -0
- package/wp/@types/components/tab-panel/test/index.d.ts +2 -0
- package/wp/@types/components/tab-panel/types.d.ts +80 -0
- package/wp/@types/components/tabs/context.d.ts +7 -0
- package/wp/@types/components/tabs/index.d.ts +43 -0
- package/wp/@types/components/tabs/stories/index.story.d.ts +19 -0
- package/wp/@types/components/tabs/styles.d.ts +30 -0
- package/wp/@types/components/tabs/tab.d.ts +10 -0
- package/wp/@types/components/tabs/tablist.d.ts +6 -0
- package/wp/@types/components/tabs/tabpanel.d.ts +7 -0
- package/wp/@types/components/tabs/test/index.d.ts +2 -0
- package/wp/@types/components/tabs/types.d.ts +151 -0
- package/wp/@types/components/tabs/use-track-overflow.d.ts +17 -0
- package/wp/@types/components/text/component.d.ts +20 -0
- package/wp/@types/components/text/get-line-height.d.ts +10 -0
- package/wp/@types/components/text/hook.d.ts +279 -0
- package/wp/@types/components/text/index.d.ts +3 -0
- package/wp/@types/components/text/stories/index.story.d.ts +20 -0
- package/wp/@types/components/text/styles.d.ts +8 -0
- package/wp/@types/components/text/test/index.d.ts +2 -0
- package/wp/@types/components/text/types.d.ts +103 -0
- package/wp/@types/components/text/utils.d.ts +63 -0
- package/wp/@types/components/text-control/index.d.ts +30 -0
- package/wp/@types/components/text-control/stories/index.story.d.ts +13 -0
- package/wp/@types/components/text-control/test/text-control.d.ts +2 -0
- package/wp/@types/components/text-control/types.d.ts +27 -0
- package/wp/@types/components/text-highlight/index.d.ts +19 -0
- package/wp/@types/components/text-highlight/stories/index.story.d.ts +12 -0
- package/wp/@types/components/text-highlight/test/index.d.ts +2 -0
- package/wp/@types/components/text-highlight/types.d.ts +17 -0
- package/wp/@types/components/textarea-control/index.d.ts +31 -0
- package/wp/@types/components/textarea-control/stories/index.story.d.ts +12 -0
- package/wp/@types/components/textarea-control/styles/textarea-control-styles.d.ts +5 -0
- package/wp/@types/components/textarea-control/types.d.ts +26 -0
- package/wp/@types/components/theme/color-algorithms.d.ts +12 -0
- package/wp/@types/components/theme/index.d.ts +27 -0
- package/wp/@types/components/theme/stories/index.story.d.ts +21 -0
- package/wp/@types/components/theme/styles.d.ts +10 -0
- package/wp/@types/components/theme/test/color-algorithms.d.ts +2 -0
- package/wp/@types/components/theme/test/index.d.ts +2 -0
- package/wp/@types/components/theme/types.d.ts +59 -0
- package/wp/@types/components/tip/index.d.ts +7 -0
- package/wp/@types/components/tip/stories/index.story.d.ts +12 -0
- package/wp/@types/components/tip/types.d.ts +11 -0
- package/wp/@types/components/toggle-control/index.d.ts +28 -0
- package/wp/@types/components/toggle-control/stories/index.story.d.ts +21 -0
- package/wp/@types/components/toggle-control/test/index.d.ts +2 -0
- package/wp/@types/components/toggle-control/types.d.ts +21 -0
- package/wp/@types/components/toggle-group-control/context.d.ts +8 -0
- package/wp/@types/components/toggle-group-control/index.d.ts +4 -0
- package/wp/@types/components/toggle-group-control/stories/index.story.d.ts +27 -0
- package/wp/@types/components/toggle-group-control/test/index.d.ts +2 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control/as-button-group.d.ts +3 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control/as-radio-group.d.ts +3 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control/component.d.ts +50 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control/index.d.ts +2 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control/styles.d.ts +11 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control/utils.d.ts +18 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control-option/component.d.ts +31 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control-option/index.d.ts +2 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control-option-base/component.d.ts +29 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control-option-base/index.d.ts +2 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control-option-base/styles.d.ts +14 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control-option-icon/component.d.ts +36 -0
- package/wp/@types/components/toggle-group-control/toggle-group-control-option-icon/index.d.ts +2 -0
- package/wp/@types/components/toggle-group-control/types.d.ts +135 -0
- package/wp/@types/components/toolbar/index.d.ts +7 -0
- package/wp/@types/components/toolbar/stories/index.story.d.ts +18 -0
- package/wp/@types/components/toolbar/test/index.d.ts +2 -0
- package/wp/@types/components/toolbar/test/toolbar-group.d.ts +2 -0
- package/wp/@types/components/toolbar/toolbar/index.d.ts +24 -0
- package/wp/@types/components/toolbar/toolbar/toolbar-container.d.ts +4 -0
- package/wp/@types/components/toolbar/toolbar/types.d.ts +31 -0
- package/wp/@types/components/toolbar/toolbar-button/index.d.ts +26 -0
- package/wp/@types/components/toolbar/toolbar-button/toolbar-button-container.d.ts +7 -0
- package/wp/@types/components/toolbar/toolbar-button/types.d.ts +63 -0
- package/wp/@types/components/toolbar/toolbar-context/index.d.ts +7 -0
- package/wp/@types/components/toolbar/toolbar-dropdown-menu/index.d.ts +4 -0
- package/wp/@types/components/toolbar/toolbar-group/index.d.ts +34 -0
- package/wp/@types/components/toolbar/toolbar-group/toolbar-group-collapsed.d.ts +4 -0
- package/wp/@types/components/toolbar/toolbar-group/toolbar-group-container.d.ts +8 -0
- package/wp/@types/components/toolbar/toolbar-group/types.d.ts +77 -0
- package/wp/@types/components/toolbar/toolbar-item/index.d.ts +6 -0
- package/wp/@types/components/toolbar/toolbar-item/types.d.ts +17 -0
- package/wp/@types/components/tools-panel/context.d.ts +7 -0
- package/wp/@types/components/tools-panel/index.d.ts +4 -0
- package/wp/@types/components/tools-panel/stories/index.story.d.ts +17 -0
- package/wp/@types/components/tools-panel/styles.d.ts +19 -0
- package/wp/@types/components/tools-panel/test/index.d.ts +2 -0
- package/wp/@types/components/tools-panel/tools-panel/component.d.ts +57 -0
- package/wp/@types/components/tools-panel/tools-panel/hook.d.ts +294 -0
- package/wp/@types/components/tools-panel/tools-panel/index.d.ts +3 -0
- package/wp/@types/components/tools-panel/tools-panel-header/component.d.ts +4 -0
- package/wp/@types/components/tools-panel/tools-panel-header/hook.d.ts +282 -0
- package/wp/@types/components/tools-panel/tools-panel-header/index.d.ts +2 -0
- package/wp/@types/components/tools-panel/tools-panel-item/component.d.ts +8 -0
- package/wp/@types/components/tools-panel/tools-panel-item/hook.d.ts +273 -0
- package/wp/@types/components/tools-panel/tools-panel-item/index.d.ts +3 -0
- package/wp/@types/components/tools-panel/types.d.ts +191 -0
- package/wp/@types/components/tooltip/index.d.ts +11 -0
- package/wp/@types/components/tooltip/stories/index.story.d.ts +21 -0
- package/wp/@types/components/tooltip/test/index.d.ts +2 -0
- package/wp/@types/components/tooltip/test/utils/index.d.ts +7 -0
- package/wp/@types/components/tooltip/types.d.ts +67 -0
- package/wp/@types/components/tree-grid/cell.d.ts +12 -0
- package/wp/@types/components/tree-grid/index.d.ts +69 -0
- package/wp/@types/components/tree-grid/item.d.ts +11 -0
- package/wp/@types/components/tree-grid/roving-tab-index-context.d.ts +9 -0
- package/wp/@types/components/tree-grid/roving-tab-index-item.d.ts +4 -0
- package/wp/@types/components/tree-grid/roving-tab-index.d.ts +9 -0
- package/wp/@types/components/tree-grid/row.d.ts +11 -0
- package/wp/@types/components/tree-grid/stories/index.story.d.ts +12 -0
- package/wp/@types/components/tree-grid/test/cell.d.ts +2 -0
- package/wp/@types/components/tree-grid/test/index.d.ts +2 -0
- package/wp/@types/components/tree-grid/test/roving-tab-index-item.d.ts +2 -0
- package/wp/@types/components/tree-grid/test/roving-tab-index.d.ts +2 -0
- package/wp/@types/components/tree-grid/test/row.d.ts +2 -0
- package/wp/@types/components/tree-grid/types.d.ts +115 -0
- package/wp/@types/components/tree-select/index.d.ts +53 -0
- package/wp/@types/components/tree-select/stories/index.story.d.ts +12 -0
- package/wp/@types/components/tree-select/types.d.ts +29 -0
- package/wp/@types/components/truncate/component.d.ts +24 -0
- package/wp/@types/components/truncate/hook.d.ts +275 -0
- package/wp/@types/components/truncate/index.d.ts +3 -0
- package/wp/@types/components/truncate/stories/index.story.d.ts +13 -0
- package/wp/@types/components/truncate/styles.d.ts +2 -0
- package/wp/@types/components/truncate/test/index.d.ts +2 -0
- package/wp/@types/components/truncate/types.d.ts +51 -0
- package/wp/@types/components/truncate/utils.d.ts +18 -0
- package/wp/@types/components/unit-control/index.d.ts +29 -0
- package/wp/@types/components/unit-control/stories/index.story.d.ts +33 -0
- package/wp/@types/components/unit-control/styles/unit-control-styles.d.ts +31 -0
- package/wp/@types/components/unit-control/test/index.d.ts +2 -0
- package/wp/@types/components/unit-control/test/utils.d.ts +2 -0
- package/wp/@types/components/unit-control/types.d.ts +107 -0
- package/wp/@types/components/unit-control/unit-select-control.d.ts +4 -0
- package/wp/@types/components/unit-control/utils.d.ts +111 -0
- package/wp/@types/components/utils/base-label.d.ts +2 -0
- package/wp/@types/components/utils/box-sizing.d.ts +2 -0
- package/wp/@types/components/utils/breakpoint-values.d.ts +12 -0
- package/wp/@types/components/utils/breakpoint.d.ts +2 -0
- package/wp/@types/components/utils/colors-values.d.ts +74 -0
- package/wp/@types/components/utils/colors.d.ts +29 -0
- package/wp/@types/components/utils/config-values.d.ts +66 -0
- package/wp/@types/components/utils/deprecated-36px-size.d.ts +7 -0
- package/wp/@types/components/utils/element-rect.d.ts +77 -0
- package/wp/@types/components/utils/font-size.d.ts +18 -0
- package/wp/@types/components/utils/font-values.d.ts +8 -0
- package/wp/@types/components/utils/font.d.ts +7 -0
- package/wp/@types/components/utils/get-valid-children.d.ts +13 -0
- package/wp/@types/components/utils/hooks/index.d.ts +5 -0
- package/wp/@types/components/utils/hooks/use-animated-offset-rect.d.ts +69 -0
- package/wp/@types/components/utils/hooks/use-controlled-state.d.ts +36 -0
- package/wp/@types/components/utils/hooks/use-controlled-value.d.ts +17 -0
- package/wp/@types/components/utils/hooks/use-cx.d.ts +26 -0
- package/wp/@types/components/utils/hooks/use-on-value-update.d.ts +19 -0
- package/wp/@types/components/utils/hooks/use-update-effect.d.ts +11 -0
- package/wp/@types/components/utils/index.d.ts +3 -0
- package/wp/@types/components/utils/math.d.ts +46 -0
- package/wp/@types/components/utils/rtl.d.ts +26 -0
- package/wp/@types/components/utils/space.d.ts +23 -0
- package/wp/@types/components/utils/strings.d.ts +22 -0
- package/wp/@types/components/utils/style-mixins.d.ts +9 -0
- package/wp/@types/components/utils/types.d.ts +2 -0
- package/wp/@types/components/utils/unit-values.d.ts +18 -0
- package/wp/@types/components/utils/use-deprecated-props.d.ts +7 -0
- package/wp/@types/components/utils/use-responsive-value.d.ts +5 -0
- package/wp/@types/components/utils/values.d.ts +29 -0
- package/wp/@types/components/utils/with-ignore-ime-events.d.ts +14 -0
- package/wp/@types/components/v-stack/component.d.ts +29 -0
- package/wp/@types/components/v-stack/hook.d.ts +275 -0
- package/wp/@types/components/v-stack/index.d.ts +3 -0
- package/wp/@types/components/v-stack/stories/e2e/index.story.d.ts +9 -0
- package/wp/@types/components/v-stack/stories/index.story.d.ts +14 -0
- package/wp/@types/components/v-stack/test/index.d.ts +2 -0
- package/wp/@types/components/v-stack/types.d.ts +35 -0
- package/wp/@types/components/view/component.d.ts +271 -0
- package/wp/@types/components/view/index.d.ts +2 -0
- package/wp/@types/components/view/stories/index.story.d.ts +12 -0
- package/wp/@types/components/visually-hidden/component.d.ts +20 -0
- package/wp/@types/components/visually-hidden/index.d.ts +2 -0
- package/wp/@types/components/visually-hidden/stories/index.story.d.ts +14 -0
- package/wp/@types/components/visually-hidden/styles.d.ts +6 -0
- package/wp/@types/components/visually-hidden/test/index.d.ts +2 -0
- package/wp/@types/components/visually-hidden/types.d.ts +11 -0
- package/wp/@types/components/z-stack/component.d.ts +21 -0
- package/wp/@types/components/z-stack/index.d.ts +2 -0
- package/wp/@types/components/z-stack/stories/index.story.d.ts +6 -0
- package/wp/@types/components/z-stack/styles.d.ts +14 -0
- package/wp/@types/components/z-stack/types.d.ts +33 -0
- package/wp/@types/compose/higher-order/compose.d.ts +11 -0
- package/wp/@types/compose/higher-order/if-condition/index.d.ts +24 -0
- package/wp/@types/compose/higher-order/pipe.d.ts +61 -0
- package/wp/@types/compose/higher-order/pure/index.d.ts +13 -0
- package/wp/@types/compose/higher-order/with-global-events/index.d.ts +21 -0
- package/wp/@types/compose/higher-order/with-global-events/listener.d.ts +14 -0
- package/wp/@types/compose/higher-order/with-instance-id/index.d.ts +13 -0
- package/wp/@types/compose/higher-order/with-safe-timeout/index.d.ts +51 -0
- package/wp/@types/compose/higher-order/with-state/index.d.ts +12 -0
- package/wp/@types/compose/hooks/use-async-list/index.d.ts +15 -0
- package/wp/@types/compose/hooks/use-constrained-tabbing/index.d.ts +24 -0
- package/wp/@types/compose/hooks/use-copy-on-click/index.d.ts +15 -0
- package/wp/@types/compose/hooks/use-copy-to-clipboard/index.d.ts +12 -0
- package/wp/@types/compose/hooks/use-debounce/index.d.ts +17 -0
- package/wp/@types/compose/hooks/use-debounced-input/index.d.ts +8 -0
- package/wp/@types/compose/hooks/use-dialog/index.d.ts +51 -0
- package/wp/@types/compose/hooks/use-disabled/index.d.ts +30 -0
- package/wp/@types/compose/hooks/use-dragging/index.d.ts +16 -0
- package/wp/@types/compose/hooks/use-drop-zone/index.d.ts +26 -0
- package/wp/@types/compose/hooks/use-event/index.d.ts +32 -0
- package/wp/@types/compose/hooks/use-fixed-window-list/index.d.ts +62 -0
- package/wp/@types/compose/hooks/use-focus-on-mount/index.d.ts +23 -0
- package/wp/@types/compose/hooks/use-focus-outside/index.d.ts +21 -0
- package/wp/@types/compose/hooks/use-focus-return/index.d.ts +25 -0
- package/wp/@types/compose/hooks/use-focusable-iframe/index.d.ts +12 -0
- package/wp/@types/compose/hooks/use-instance-id/index.d.ts +17 -0
- package/wp/@types/compose/hooks/use-isomorphic-layout-effect/index.d.ts +9 -0
- package/wp/@types/compose/hooks/use-keyboard-shortcut/index.d.ts +43 -0
- package/wp/@types/compose/hooks/use-media-query/index.d.ts +8 -0
- package/wp/@types/compose/hooks/use-merge-refs/index.d.ts +46 -0
- package/wp/@types/compose/hooks/use-observable-value/index.d.ts +18 -0
- package/wp/@types/compose/hooks/use-previous/index.d.ts +10 -0
- package/wp/@types/compose/hooks/use-reduced-motion/index.d.ts +8 -0
- package/wp/@types/compose/hooks/use-ref-effect/index.d.ts +25 -0
- package/wp/@types/compose/hooks/use-resize-observer/index.d.ts +64 -0
- package/wp/@types/compose/hooks/use-resize-observer/legacy/index.d.ts +32 -0
- package/wp/@types/compose/hooks/use-resize-observer/use-resize-observer.d.ts +2 -0
- package/wp/@types/compose/hooks/use-state-with-history/index.d.ts +15 -0
- package/wp/@types/compose/hooks/use-throttle/index.d.ts +17 -0
- package/wp/@types/compose/hooks/use-viewport-match/index.d.ts +23 -0
- package/wp/@types/compose/hooks/use-warn-on-change/index.d.ts +21 -0
- package/wp/@types/compose/index.d.ts +43 -0
- package/wp/@types/compose/package.json +8 -0
- package/wp/@types/compose/utils/create-higher-order-component/index.d.ts +16 -0
- package/wp/@types/compose/utils/debounce/index.d.ts +104 -0
- package/wp/@types/compose/utils/observable-map/index.d.ts +19 -0
- package/wp/@types/compose/utils/throttle/index.d.ts +77 -0
- package/wp/@types/core-data/actions.d.ts +240 -0
- package/wp/@types/core-data/batch/create-batch.d.ts +71 -0
- package/wp/@types/core-data/batch/default-processor.d.ts +11 -0
- package/wp/@types/core-data/batch/index.d.ts +3 -0
- package/wp/@types/core-data/dynamic-entities.d.ts +66 -0
- package/wp/@types/core-data/entities.d.ts +191 -0
- package/wp/@types/core-data/entity-context.d.ts +2 -0
- package/wp/@types/core-data/entity-provider.d.ts +20 -0
- package/wp/@types/core-data/entity-types/attachment.d.ts +156 -0
- package/wp/@types/core-data/entity-types/base-entity-records.d.ts +37 -0
- package/wp/@types/core-data/entity-types/base.d.ts +68 -0
- package/wp/@types/core-data/entity-types/comment.d.ts +82 -0
- package/wp/@types/core-data/entity-types/global-styles-revision.d.ts +43 -0
- package/wp/@types/core-data/entity-types/helpers.d.ts +123 -0
- package/wp/@types/core-data/entity-types/index.d.ts +68 -0
- package/wp/@types/core-data/entity-types/menu-location.d.ts +25 -0
- package/wp/@types/core-data/entity-types/nav-menu-item.d.ts +88 -0
- package/wp/@types/core-data/entity-types/nav-menu.d.ts +45 -0
- package/wp/@types/core-data/entity-types/page.d.ts +120 -0
- package/wp/@types/core-data/entity-types/plugin.d.ts +62 -0
- package/wp/@types/core-data/entity-types/post-revision.d.ts +76 -0
- package/wp/@types/core-data/entity-types/post-status.d.ts +45 -0
- package/wp/@types/core-data/entity-types/post.d.ts +128 -0
- package/wp/@types/core-data/entity-types/settings.d.ts +93 -0
- package/wp/@types/core-data/entity-types/sidebar.d.ts +55 -0
- package/wp/@types/core-data/entity-types/taxonomy.d.ts +83 -0
- package/wp/@types/core-data/entity-types/theme.d.ts +223 -0
- package/wp/@types/core-data/entity-types/type.d.ts +71 -0
- package/wp/@types/core-data/entity-types/user.d.ts +93 -0
- package/wp/@types/core-data/entity-types/widget-type.d.ts +33 -0
- package/wp/@types/core-data/entity-types/widget.d.ts +59 -0
- package/wp/@types/core-data/entity-types/wp-template-part.d.ts +80 -0
- package/wp/@types/core-data/entity-types/wp-template.d.ts +88 -0
- package/wp/@types/core-data/fetch/__experimental-fetch-link-suggestions.d.ts +103 -0
- package/wp/@types/core-data/fetch/__experimental-fetch-url-data.d.ts +35 -0
- package/wp/@types/core-data/fetch/index.d.ts +4 -0
- package/wp/@types/core-data/footnotes/get-footnotes-order.d.ts +2 -0
- package/wp/@types/core-data/footnotes/get-rich-text-values-cached.d.ts +2 -0
- package/wp/@types/core-data/footnotes/index.d.ts +4 -0
- package/wp/@types/core-data/hooks/constants.d.ts +7 -0
- package/wp/@types/core-data/hooks/index.d.ts +7 -0
- package/wp/@types/core-data/hooks/memoize.d.ts +3 -0
- package/wp/@types/core-data/hooks/use-entity-block-editor.d.ts +22 -0
- package/wp/@types/core-data/hooks/use-entity-id.d.ts +9 -0
- package/wp/@types/core-data/hooks/use-entity-prop.d.ts +19 -0
- package/wp/@types/core-data/hooks/use-entity-record.d.ts +128 -0
- package/wp/@types/core-data/hooks/use-entity-records.d.ts +69 -0
- package/wp/@types/core-data/hooks/use-query-select.d.ts +46 -0
- package/wp/@types/core-data/hooks/use-resource-permissions.d.ts +37 -0
- package/wp/@types/core-data/index.d.ts +335 -0
- package/wp/@types/core-data/lock-unlock.d.ts +2 -0
- package/wp/@types/core-data/locks/actions.d.ts +7 -0
- package/wp/@types/core-data/locks/engine.d.ts +5 -0
- package/wp/@types/core-data/locks/reducer.d.ts +10 -0
- package/wp/@types/core-data/locks/selectors.d.ts +5 -0
- package/wp/@types/core-data/locks/utils.d.ts +8 -0
- package/wp/@types/core-data/name.d.ts +8 -0
- package/wp/@types/core-data/package.json +8 -0
- package/wp/@types/core-data/private-actions.d.ts +11 -0
- package/wp/@types/core-data/private-apis.d.ts +2 -0
- package/wp/@types/core-data/private-selectors.d.ts +80 -0
- package/wp/@types/core-data/queried-data/actions.d.ts +34 -0
- package/wp/@types/core-data/queried-data/get-query-parts.d.ts +60 -0
- package/wp/@types/core-data/queried-data/index.d.ts +4 -0
- package/wp/@types/core-data/queried-data/reducer.d.ts +62 -0
- package/wp/@types/core-data/queried-data/selectors.d.ts +17 -0
- package/wp/@types/core-data/reducer.d.ts +198 -0
- package/wp/@types/core-data/resolvers.d.ts +113 -0
- package/wp/@types/core-data/selectors.d.ts +689 -0
- package/wp/@types/core-data/sync.d.ts +2 -0
- package/wp/@types/core-data/types.d.ts +4 -0
- package/wp/@types/core-data/utils/conservative-map-item.d.ts +12 -0
- package/wp/@types/core-data/utils/forward-resolver.d.ts +10 -0
- package/wp/@types/core-data/utils/get-nested-value.d.ts +14 -0
- package/wp/@types/core-data/utils/get-normalized-comma-separable.d.ts +12 -0
- package/wp/@types/core-data/utils/if-matching-action.d.ts +14 -0
- package/wp/@types/core-data/utils/index.d.ts +14 -0
- package/wp/@types/core-data/utils/is-numeric-id.d.ts +9 -0
- package/wp/@types/core-data/utils/is-raw-attribute.d.ts +10 -0
- package/wp/@types/core-data/utils/on-sub-key.d.ts +4 -0
- package/wp/@types/core-data/utils/receive-intermediate-results.d.ts +2 -0
- package/wp/@types/core-data/utils/replace-action.d.ts +13 -0
- package/wp/@types/core-data/utils/set-nested-value.d.ts +24 -0
- package/wp/@types/core-data/utils/user-permissions.d.ts +4 -0
- package/wp/@types/core-data/utils/with-weak-map-cache.d.ts +12 -0
- package/wp/@types/data/components/async-mode-provider/context.d.ts +5 -0
- package/wp/@types/data/components/async-mode-provider/index.d.ts +3 -0
- package/wp/@types/data/components/async-mode-provider/use-async-mode.d.ts +2 -0
- package/wp/@types/data/components/registry-provider/context.d.ts +36 -0
- package/wp/@types/data/components/registry-provider/index.d.ts +3 -0
- package/wp/@types/data/components/registry-provider/use-registry.d.ts +41 -0
- package/wp/@types/data/components/use-dispatch/index.d.ts +3 -0
- package/wp/@types/data/components/use-dispatch/use-dispatch-with-map.d.ts +17 -0
- package/wp/@types/data/components/use-dispatch/use-dispatch.d.ts +59 -0
- package/wp/@types/data/components/use-select/index.d.ts +90 -0
- package/wp/@types/data/components/with-dispatch/index.d.ts +86 -0
- package/wp/@types/data/components/with-registry/index.d.ts +11 -0
- package/wp/@types/data/components/with-select/index.d.ts +45 -0
- package/wp/@types/data/controls.d.ts +101 -0
- package/wp/@types/data/create-selector.d.ts +8 -0
- package/wp/@types/data/default-registry.d.ts +3 -0
- package/wp/@types/data/dispatch.d.ts +25 -0
- package/wp/@types/data/factory.d.ts +77 -0
- package/wp/@types/data/index.d.ts +162 -0
- package/wp/@types/data/lock-unlock.d.ts +2 -0
- package/wp/@types/data/package.json +8 -0
- package/wp/@types/data/plugins/index.d.ts +2 -0
- package/wp/@types/data/plugins/persistence/index.d.ts +41 -0
- package/wp/@types/data/plugins/persistence/storage/default.d.ts +3 -0
- package/wp/@types/data/plugins/persistence/storage/object.d.ts +7 -0
- package/wp/@types/data/promise-middleware.d.ts +8 -0
- package/wp/@types/data/redux-store/combine-reducers.d.ts +2 -0
- package/wp/@types/data/redux-store/index.d.ts +34 -0
- package/wp/@types/data/redux-store/metadata/actions.d.ts +127 -0
- package/wp/@types/data/redux-store/metadata/reducer.d.ts +27 -0
- package/wp/@types/data/redux-store/metadata/selectors.d.ts +119 -0
- package/wp/@types/data/redux-store/metadata/utils.d.ts +21 -0
- package/wp/@types/data/redux-store/thunk-middleware.d.ts +2 -0
- package/wp/@types/data/registry.d.ts +56 -0
- package/wp/@types/data/resolvers-cache-middleware.d.ts +13 -0
- package/wp/@types/data/select.d.ts +25 -0
- package/wp/@types/data/store/index.d.ts +14 -0
- package/wp/@types/data/types.d.ts +128 -0
- package/wp/@types/data/utils/emitter.d.ts +14 -0
- package/wp/@types/data-controls/index.d.ts +111 -0
- package/wp/@types/data-controls/package.json +8 -0
- package/wp/@types/dataviews/components/dataform/index.d.ts +6 -0
- package/wp/@types/dataviews/components/dataform/stories/index.story.d.ts +56 -0
- package/wp/@types/dataviews/components/dataform-context/index.d.ts +13 -0
- package/wp/@types/dataviews/components/dataviews/index.d.ts +36 -0
- package/wp/@types/dataviews/components/dataviews/stories/fixtures.d.ts +36 -0
- package/wp/@types/dataviews/components/dataviews/stories/index.story.d.ts +14 -0
- package/wp/@types/dataviews/components/dataviews-bulk-actions/index.d.ts +15 -0
- package/wp/@types/dataviews/components/dataviews-context/index.d.ts +29 -0
- package/wp/@types/dataviews/components/dataviews-filters/add-filter.d.ts +14 -0
- package/wp/@types/dataviews/components/dataviews-filters/filter-summary.d.ts +14 -0
- package/wp/@types/dataviews/components/dataviews-filters/index.d.ts +14 -0
- package/wp/@types/dataviews/components/dataviews-filters/reset-filters.d.ts +12 -0
- package/wp/@types/dataviews/components/dataviews-filters/search-widget.d.ts +12 -0
- package/wp/@types/dataviews/components/dataviews-footer/index.d.ts +2 -0
- package/wp/@types/dataviews/components/dataviews-item-actions/index.d.ts +33 -0
- package/wp/@types/dataviews/components/dataviews-layout/index.d.ts +2 -0
- package/wp/@types/dataviews/components/dataviews-pagination/index.d.ts +4 -0
- package/wp/@types/dataviews/components/dataviews-search/index.d.ts +6 -0
- package/wp/@types/dataviews/components/dataviews-selection-checkbox/index.d.ts +16 -0
- package/wp/@types/dataviews/components/dataviews-view-config/index.d.ts +7 -0
- package/wp/@types/dataviews/constants.d.ts +36 -0
- package/wp/@types/dataviews/dataform-controls/datetime.d.ts +6 -0
- package/wp/@types/dataviews/dataform-controls/index.d.ts +11 -0
- package/wp/@types/dataviews/dataform-controls/integer.d.ts +6 -0
- package/wp/@types/dataviews/dataform-controls/radio.d.ts +6 -0
- package/wp/@types/dataviews/dataform-controls/select.d.ts +6 -0
- package/wp/@types/dataviews/dataform-controls/text.d.ts +6 -0
- package/wp/@types/dataviews/dataforms-layouts/data-form-layout.d.ts +16 -0
- package/wp/@types/dataviews/dataforms-layouts/index.d.ts +9 -0
- package/wp/@types/dataviews/dataforms-layouts/is-combined-field.d.ts +6 -0
- package/wp/@types/dataviews/dataforms-layouts/panel/index.d.ts +6 -0
- package/wp/@types/dataviews/dataforms-layouts/regular/index.d.ts +6 -0
- package/wp/@types/dataviews/dataviews-layouts/grid/index.d.ts +3 -0
- package/wp/@types/dataviews/dataviews-layouts/grid/preview-size-picker.d.ts +3 -0
- package/wp/@types/dataviews/dataviews-layouts/index.d.ts +28 -0
- package/wp/@types/dataviews/dataviews-layouts/list/index.d.ts +3 -0
- package/wp/@types/dataviews/dataviews-layouts/table/column-header-menu.d.ts +18 -0
- package/wp/@types/dataviews/dataviews-layouts/table/column-primary.d.ts +15 -0
- package/wp/@types/dataviews/dataviews-layouts/table/density-picker.d.ts +2 -0
- package/wp/@types/dataviews/dataviews-layouts/table/index.d.ts +4 -0
- package/wp/@types/dataviews/dataviews-layouts/utils/get-clickable-item-props.d.ts +19 -0
- package/wp/@types/dataviews/field-types/datetime.d.ts +13 -0
- package/wp/@types/dataviews/field-types/index.d.ts +20 -0
- package/wp/@types/dataviews/field-types/integer.d.ts +13 -0
- package/wp/@types/dataviews/field-types/text.d.ts +13 -0
- package/wp/@types/dataviews/filter-and-sort-data-view.d.ts +18 -0
- package/wp/@types/dataviews/index.d.ts +7 -0
- package/wp/@types/dataviews/lock-unlock.d.ts +2 -0
- package/wp/@types/dataviews/normalize-fields.d.ts +9 -0
- package/wp/@types/dataviews/normalize-form-fields.d.ts +12 -0
- package/wp/@types/dataviews/package.json +8 -0
- package/wp/@types/dataviews/private-types.d.ts +3 -0
- package/wp/@types/dataviews/test/dataform.d.ts +2 -0
- package/wp/@types/dataviews/test/dataviews.d.ts +2 -0
- package/wp/@types/dataviews/test/normalize-fields.d.ts +2 -0
- package/wp/@types/dataviews/test/validation.d.ts +2 -0
- package/wp/@types/dataviews/types.d.ts +452 -0
- package/wp/@types/dataviews/utils.d.ts +3 -0
- package/wp/@types/dataviews/validation.d.ts +12 -0
- package/wp/@types/date/index.d.ts +222 -0
- package/wp/@types/date/package.json +8 -0
- package/wp/@types/deprecated/index.d.ts +44 -0
- package/wp/@types/deprecated/package.json +8 -0
- package/wp/@types/dom/data-transfer.d.ts +9 -0
- package/wp/@types/dom/dom/caret-range-from-point.d.ts +22 -0
- package/wp/@types/dom/dom/clean-node-list.d.ts +52 -0
- package/wp/@types/dom/dom/compute-caret-rect.d.ts +9 -0
- package/wp/@types/dom/dom/document-has-selection.d.ts +10 -0
- package/wp/@types/dom/dom/document-has-text-selection.d.ts +13 -0
- package/wp/@types/dom/dom/document-has-uncollapsed-selection.d.ts +11 -0
- package/wp/@types/dom/dom/get-computed-style.d.ts +6 -0
- package/wp/@types/dom/dom/get-offset-parent.d.ts +13 -0
- package/wp/@types/dom/dom/get-range-height.d.ts +9 -0
- package/wp/@types/dom/dom/get-rectangle-from-range.d.ts +10 -0
- package/wp/@types/dom/dom/get-scroll-container.d.ts +11 -0
- package/wp/@types/dom/dom/hidden-caret-range-from-point.d.ts +14 -0
- package/wp/@types/dom/dom/index.d.ts +28 -0
- package/wp/@types/dom/dom/input-field-has-uncollapsed-selection.d.ts +19 -0
- package/wp/@types/dom/dom/insert-after.d.ts +10 -0
- package/wp/@types/dom/dom/is-edge.d.ts +13 -0
- package/wp/@types/dom/dom/is-element.d.ts +6 -0
- package/wp/@types/dom/dom/is-empty.d.ts +10 -0
- package/wp/@types/dom/dom/is-entirely-selected.d.ts +10 -0
- package/wp/@types/dom/dom/is-form-element.d.ts +10 -0
- package/wp/@types/dom/dom/is-horizontal-edge.d.ts +10 -0
- package/wp/@types/dom/dom/is-html-input-element.d.ts +6 -0
- package/wp/@types/dom/dom/is-input-or-text-area.d.ts +6 -0
- package/wp/@types/dom/dom/is-number-input.d.ts +9 -0
- package/wp/@types/dom/dom/is-rtl.d.ts +9 -0
- package/wp/@types/dom/dom/is-selection-forward.d.ts +12 -0
- package/wp/@types/dom/dom/is-text-field.d.ts +11 -0
- package/wp/@types/dom/dom/is-vertical-edge.d.ts +10 -0
- package/wp/@types/dom/dom/place-caret-at-edge.d.ts +9 -0
- package/wp/@types/dom/dom/place-caret-at-horizontal-edge.d.ts +8 -0
- package/wp/@types/dom/dom/place-caret-at-vertical-edge.d.ts +9 -0
- package/wp/@types/dom/dom/remove-invalid-html.d.ts +11 -0
- package/wp/@types/dom/dom/remove.d.ts +8 -0
- package/wp/@types/dom/dom/replace-tag.d.ts +10 -0
- package/wp/@types/dom/dom/replace.d.ts +9 -0
- package/wp/@types/dom/dom/safe-html.d.ts +9 -0
- package/wp/@types/dom/dom/scroll-if-no-range.d.ts +12 -0
- package/wp/@types/dom/dom/strip-html.d.ts +9 -0
- package/wp/@types/dom/dom/unwrap.d.ts +9 -0
- package/wp/@types/dom/dom/wrap.d.ts +8 -0
- package/wp/@types/dom/focusable.d.ts +18 -0
- package/wp/@types/dom/index.d.ts +10 -0
- package/wp/@types/dom/package.json +8 -0
- package/wp/@types/dom/phrasing-content.d.ts +38 -0
- package/wp/@types/dom/tabbable.d.ts +37 -0
- package/wp/@types/dom/utils/assert-is-defined.d.ts +2 -0
- package/wp/@types/dom-ready/index.d.ts +41 -0
- package/wp/@types/dom-ready/package.json +8 -0
- package/wp/@types/e2e-test-utils-playwright/admin/create-new-post.d.ts +21 -0
- package/wp/@types/e2e-test-utils-playwright/admin/edit-post.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/admin/get-page-error.d.ts +17 -0
- package/wp/@types/e2e-test-utils-playwright/admin/index.d.ts +39 -0
- package/wp/@types/e2e-test-utils-playwright/admin/visit-admin-page.d.ts +13 -0
- package/wp/@types/e2e-test-utils-playwright/admin/visit-site-editor.d.ts +20 -0
- package/wp/@types/e2e-test-utils-playwright/config.d.ts +7 -0
- package/wp/@types/e2e-test-utils-playwright/editor/click-block-options-menu-item.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/editor/click-block-toolbar-button.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/editor/get-blocks.d.ts +25 -0
- package/wp/@types/e2e-test-utils-playwright/editor/get-edited-post-content.d.ts +13 -0
- package/wp/@types/e2e-test-utils-playwright/editor/index.d.ts +73 -0
- package/wp/@types/e2e-test-utils-playwright/editor/insert-block.d.ts +23 -0
- package/wp/@types/e2e-test-utils-playwright/editor/open-document-settings-sidebar.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/editor/preview.d.ts +17 -0
- package/wp/@types/e2e-test-utils-playwright/editor/publish-post.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/editor/save-draft.d.ts +10 -0
- package/wp/@types/e2e-test-utils-playwright/editor/select-blocks.d.ts +10 -0
- package/wp/@types/e2e-test-utils-playwright/editor/set-content.d.ts +13 -0
- package/wp/@types/e2e-test-utils-playwright/editor/set-is-fixed-toolbar.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/editor/set-preferences.d.ts +15 -0
- package/wp/@types/e2e-test-utils-playwright/editor/show-block-toolbar.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/editor/site-editor.d.ts +16 -0
- package/wp/@types/e2e-test-utils-playwright/editor/switch-editor-tool.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/editor/switch-to-legacy-canvas.d.ts +11 -0
- package/wp/@types/e2e-test-utils-playwright/editor/transform-block-to.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/index.d.ts +9 -0
- package/wp/@types/e2e-test-utils-playwright/lighthouse/index.d.ts +22 -0
- package/wp/@types/e2e-test-utils-playwright/metrics/index.d.ts +149 -0
- package/wp/@types/e2e-test-utils-playwright/package.json +8 -0
- package/wp/@types/e2e-test-utils-playwright/page-utils/drag-files.d.ts +39 -0
- package/wp/@types/e2e-test-utils-playwright/page-utils/index.d.ts +32 -0
- package/wp/@types/e2e-test-utils-playwright/page-utils/is-current-url.d.ts +11 -0
- package/wp/@types/e2e-test-utils-playwright/page-utils/keycodes.d.ts +26 -0
- package/wp/@types/e2e-test-utils-playwright/page-utils/press-keys.d.ts +24 -0
- package/wp/@types/e2e-test-utils-playwright/page-utils/set-browser-viewport.d.ts +34 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/blocks.d.ts +31 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/comments.d.ts +31 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/gutenberg-experiments.d.ts +13 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/index.d.ts +120 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/login.d.ts +11 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/media.d.ts +53 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/menus.d.ts +43 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/pages.d.ts +32 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/patterns.d.ts +12 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/plugins.d.ts +28 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/posts.d.ts +31 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/preferences.d.ts +11 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/rest.d.ts +24 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/site-settings.d.ts +43 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/templates.d.ts +32 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/themes.d.ts +15 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/users.d.ts +41 -0
- package/wp/@types/e2e-test-utils-playwright/request-utils/widgets.d.ts +15 -0
- package/wp/@types/e2e-test-utils-playwright/test.d.ts +18 -0
- package/wp/@types/e2e-test-utils-playwright/types.d.ts +11 -0
- package/wp/@types/editor/bindings/api.d.ts +12 -0
- package/wp/@types/editor/bindings/pattern-overrides.d.ts +18 -0
- package/wp/@types/editor/bindings/post-meta.d.ts +24 -0
- package/wp/@types/editor/components/autocompleters/index.d.ts +2 -0
- package/wp/@types/editor/components/autocompleters/user.d.ts +14 -0
- package/wp/@types/editor/components/autosave-monitor/index.d.ts +15 -0
- package/wp/@types/editor/components/block-removal-warnings/index.d.ts +2 -0
- package/wp/@types/editor/components/block-settings-menu/content-only-settings-menu.d.ts +2 -0
- package/wp/@types/editor/components/block-settings-menu/plugin-block-settings-menu-item.d.ts +65 -0
- package/wp/@types/editor/components/blog-title/index.d.ts +2 -0
- package/wp/@types/editor/components/character-count/index.d.ts +7 -0
- package/wp/@types/editor/components/collab-sidebar/add-comment.d.ts +15 -0
- package/wp/@types/editor/components/collab-sidebar/comment-author-info.d.ts +17 -0
- package/wp/@types/editor/components/collab-sidebar/comment-button-toolbar.d.ts +5 -0
- package/wp/@types/editor/components/collab-sidebar/comment-button.d.ts +5 -0
- package/wp/@types/editor/components/collab-sidebar/comment-form.d.ts +18 -0
- package/wp/@types/editor/components/collab-sidebar/comments.d.ts +23 -0
- package/wp/@types/editor/components/collab-sidebar/constants.d.ts +3 -0
- package/wp/@types/editor/components/collab-sidebar/index.d.ts +5 -0
- package/wp/@types/editor/components/collab-sidebar/utils.d.ts +18 -0
- package/wp/@types/editor/components/collapsible-block-toolbar/index.d.ts +5 -0
- package/wp/@types/editor/components/commands/index.d.ts +2 -0
- package/wp/@types/editor/components/deprecated.d.ts +182 -0
- package/wp/@types/editor/components/document-bar/index.d.ts +23 -0
- package/wp/@types/editor/components/document-outline/check.d.ts +12 -0
- package/wp/@types/editor/components/document-outline/index.d.ts +14 -0
- package/wp/@types/editor/components/document-outline/item.d.ts +9 -0
- package/wp/@types/editor/components/document-tools/index.d.ts +6 -0
- package/wp/@types/editor/components/editor/index.d.ts +14 -0
- package/wp/@types/editor/components/editor-history/redo.d.ts +4 -0
- package/wp/@types/editor/components/editor-history/undo.d.ts +4 -0
- package/wp/@types/editor/components/editor-interface/content-slot-fill.d.ts +14 -0
- package/wp/@types/editor/components/editor-interface/index.d.ts +15 -0
- package/wp/@types/editor/components/editor-notices/index.d.ts +13 -0
- package/wp/@types/editor/components/editor-snackbars/index.d.ts +7 -0
- package/wp/@types/editor/components/entities-saved-states/entity-record-item.d.ts +6 -0
- package/wp/@types/editor/components/entities-saved-states/entity-type-list.d.ts +6 -0
- package/wp/@types/editor/components/entities-saved-states/hooks/use-is-dirty.d.ts +2 -0
- package/wp/@types/editor/components/entities-saved-states/index.d.ts +43 -0
- package/wp/@types/editor/components/error-boundary/index.d.ts +14 -0
- package/wp/@types/editor/components/global-keyboard-shortcuts/index.d.ts +9 -0
- package/wp/@types/editor/components/global-keyboard-shortcuts/register-shortcuts.d.ts +8 -0
- package/wp/@types/editor/components/global-styles-provider/index.d.ts +20 -0
- package/wp/@types/editor/components/header/back-button.d.ts +7 -0
- package/wp/@types/editor/components/header/index.d.ts +9 -0
- package/wp/@types/editor/components/index.d.ts +107 -0
- package/wp/@types/editor/components/inserter-sidebar/index.d.ts +2 -0
- package/wp/@types/editor/components/keyboard-shortcut-help-modal/config.d.ts +26 -0
- package/wp/@types/editor/components/keyboard-shortcut-help-modal/dynamic-shortcut.d.ts +5 -0
- package/wp/@types/editor/components/keyboard-shortcut-help-modal/index.d.ts +3 -0
- package/wp/@types/editor/components/keyboard-shortcut-help-modal/shortcut.d.ts +8 -0
- package/wp/@types/editor/components/list-view-sidebar/index.d.ts +2 -0
- package/wp/@types/editor/components/list-view-sidebar/list-view-outline.d.ts +2 -0
- package/wp/@types/editor/components/local-autosave-monitor/index.d.ts +3 -0
- package/wp/@types/editor/components/media-categories/index.d.ts +7 -0
- package/wp/@types/editor/components/mode-switcher/index.d.ts +3 -0
- package/wp/@types/editor/components/more-menu/copy-content-menu-item.d.ts +2 -0
- package/wp/@types/editor/components/more-menu/index.d.ts +2 -0
- package/wp/@types/editor/components/more-menu/tools-more-menu-group.d.ts +6 -0
- package/wp/@types/editor/components/more-menu/view-more-menu-group.d.ts +6 -0
- package/wp/@types/editor/components/page-attributes/check.d.ts +13 -0
- package/wp/@types/editor/components/page-attributes/order.d.ts +9 -0
- package/wp/@types/editor/components/page-attributes/panel.d.ts +7 -0
- package/wp/@types/editor/components/page-attributes/parent.d.ts +11 -0
- package/wp/@types/editor/components/pattern-duplicate-modal/index.d.ts +3 -0
- package/wp/@types/editor/components/pattern-overrides-panel/index.d.ts +2 -0
- package/wp/@types/editor/components/pattern-rename-modal/index.d.ts +3 -0
- package/wp/@types/editor/components/plugin-document-setting-panel/index.d.ts +69 -0
- package/wp/@types/editor/components/plugin-more-menu-item/index.d.ts +65 -0
- package/wp/@types/editor/components/plugin-post-publish-panel/index.d.ts +47 -0
- package/wp/@types/editor/components/plugin-post-status-info/index.d.ts +57 -0
- package/wp/@types/editor/components/plugin-pre-publish-panel/index.d.ts +50 -0
- package/wp/@types/editor/components/plugin-preview-menu-item/index.d.ts +44 -0
- package/wp/@types/editor/components/plugin-sidebar/index.d.ts +75 -0
- package/wp/@types/editor/components/plugin-sidebar-more-menu-item/index.d.ts +54 -0
- package/wp/@types/editor/components/post-actions/actions.d.ts +6 -0
- package/wp/@types/editor/components/post-actions/index.d.ts +11 -0
- package/wp/@types/editor/components/post-actions/set-as-homepage.d.ts +10 -0
- package/wp/@types/editor/components/post-actions/set-as-posts-page.d.ts +10 -0
- package/wp/@types/editor/components/post-author/check.d.ts +13 -0
- package/wp/@types/editor/components/post-author/combobox.d.ts +2 -0
- package/wp/@types/editor/components/post-author/constants.d.ts +9 -0
- package/wp/@types/editor/components/post-author/hook.d.ts +6 -0
- package/wp/@types/editor/components/post-author/index.d.ts +8 -0
- package/wp/@types/editor/components/post-author/panel.d.ts +8 -0
- package/wp/@types/editor/components/post-author/select.d.ts +2 -0
- package/wp/@types/editor/components/post-card-panel/index.d.ts +15 -0
- package/wp/@types/editor/components/post-comments/index.d.ts +3 -0
- package/wp/@types/editor/components/post-content-information/index.d.ts +2 -0
- package/wp/@types/editor/components/post-discussion/panel.d.ts +10 -0
- package/wp/@types/editor/components/post-excerpt/check.d.ts +13 -0
- package/wp/@types/editor/components/post-excerpt/index.d.ts +15 -0
- package/wp/@types/editor/components/post-excerpt/panel.d.ts +8 -0
- package/wp/@types/editor/components/post-excerpt/plugin.d.ts +53 -0
- package/wp/@types/editor/components/post-featured-image/check.d.ts +14 -0
- package/wp/@types/editor/components/post-featured-image/index.d.ts +3 -0
- package/wp/@types/editor/components/post-featured-image/panel.d.ts +13 -0
- package/wp/@types/editor/components/post-fields/index.d.ts +14 -0
- package/wp/@types/editor/components/post-format/check.d.ts +12 -0
- package/wp/@types/editor/components/post-format/index.d.ts +16 -0
- package/wp/@types/editor/components/post-format/panel.d.ts +8 -0
- package/wp/@types/editor/components/post-last-edited-panel/index.d.ts +2 -0
- package/wp/@types/editor/components/post-last-revision/check.d.ts +13 -0
- package/wp/@types/editor/components/post-last-revision/index.d.ts +9 -0
- package/wp/@types/editor/components/post-last-revision/panel.d.ts +8 -0
- package/wp/@types/editor/components/post-locked-modal/index.d.ts +8 -0
- package/wp/@types/editor/components/post-panel-row/index.d.ts +3 -0
- package/wp/@types/editor/components/post-panel-section/index.d.ts +6 -0
- package/wp/@types/editor/components/post-pending-status/check.d.ts +15 -0
- package/wp/@types/editor/components/post-pending-status/index.d.ts +8 -0
- package/wp/@types/editor/components/post-pingbacks/index.d.ts +3 -0
- package/wp/@types/editor/components/post-preview-button/index.d.ts +23 -0
- package/wp/@types/editor/components/post-publish-button/index.d.ts +13 -0
- package/wp/@types/editor/components/post-publish-button/label.d.ts +7 -0
- package/wp/@types/editor/components/post-publish-button/post-publish-button-or-toggle.d.ts +5 -0
- package/wp/@types/editor/components/post-publish-panel/index.d.ts +14 -0
- package/wp/@types/editor/components/post-publish-panel/maybe-category-panel.d.ts +3 -0
- package/wp/@types/editor/components/post-publish-panel/maybe-post-format-panel.d.ts +2 -0
- package/wp/@types/editor/components/post-publish-panel/maybe-tags-panel.d.ts +3 -0
- package/wp/@types/editor/components/post-publish-panel/maybe-upload-media.d.ts +2 -0
- package/wp/@types/editor/components/post-publish-panel/media-util.d.ts +20 -0
- package/wp/@types/editor/components/post-publish-panel/postpublish.d.ts +5 -0
- package/wp/@types/editor/components/post-publish-panel/prepublish.d.ts +5 -0
- package/wp/@types/editor/components/post-saved-state/index.d.ts +13 -0
- package/wp/@types/editor/components/post-schedule/check.d.ts +12 -0
- package/wp/@types/editor/components/post-schedule/index.d.ts +17 -0
- package/wp/@types/editor/components/post-schedule/label.d.ts +25 -0
- package/wp/@types/editor/components/post-schedule/panel.d.ts +7 -0
- package/wp/@types/editor/components/post-status/index.d.ts +7 -0
- package/wp/@types/editor/components/post-sticky/check.d.ts +12 -0
- package/wp/@types/editor/components/post-sticky/index.d.ts +7 -0
- package/wp/@types/editor/components/post-sticky/panel.d.ts +3 -0
- package/wp/@types/editor/components/post-switch-to-draft-button/index.d.ts +7 -0
- package/wp/@types/editor/components/post-sync-status/index.d.ts +7 -0
- package/wp/@types/editor/components/post-taxonomies/check.d.ts +12 -0
- package/wp/@types/editor/components/post-taxonomies/flat-term-selector.d.ts +66 -0
- package/wp/@types/editor/components/post-taxonomies/hierarchical-term-selector.d.ts +88 -0
- package/wp/@types/editor/components/post-taxonomies/index.d.ts +5 -0
- package/wp/@types/editor/components/post-taxonomies/most-used-terms.d.ts +5 -0
- package/wp/@types/editor/components/post-taxonomies/panel.d.ts +7 -0
- package/wp/@types/editor/components/post-template/block-theme.d.ts +4 -0
- package/wp/@types/editor/components/post-template/classic-theme.d.ts +3 -0
- package/wp/@types/editor/components/post-template/create-new-template-modal.d.ts +4 -0
- package/wp/@types/editor/components/post-template/create-new-template.d.ts +4 -0
- package/wp/@types/editor/components/post-template/hooks.d.ts +8 -0
- package/wp/@types/editor/components/post-template/panel.d.ts +7 -0
- package/wp/@types/editor/components/post-template/reset-default-template.d.ts +4 -0
- package/wp/@types/editor/components/post-template/swap-template-button.d.ts +4 -0
- package/wp/@types/editor/components/post-text-editor/index.d.ts +7 -0
- package/wp/@types/editor/components/post-title/constants.d.ts +3 -0
- package/wp/@types/editor/components/post-title/index.d.ts +3 -0
- package/wp/@types/editor/components/post-title/post-title-raw.d.ts +3 -0
- package/wp/@types/editor/components/post-title/use-post-title-focus.d.ts +9 -0
- package/wp/@types/editor/components/post-title/use-post-title.d.ts +7 -0
- package/wp/@types/editor/components/post-transform-panel/hooks.d.ts +2 -0
- package/wp/@types/editor/components/post-transform-panel/index.d.ts +2 -0
- package/wp/@types/editor/components/post-trash/check.d.ts +12 -0
- package/wp/@types/editor/components/post-trash/index.d.ts +10 -0
- package/wp/@types/editor/components/post-type-support-check/index.d.ts +18 -0
- package/wp/@types/editor/components/post-url/check.d.ts +12 -0
- package/wp/@types/editor/components/post-url/index.d.ts +17 -0
- package/wp/@types/editor/components/post-url/label.d.ts +13 -0
- package/wp/@types/editor/components/post-url/panel.d.ts +7 -0
- package/wp/@types/editor/components/post-view-link/index.d.ts +2 -0
- package/wp/@types/editor/components/post-visibility/check.d.ts +13 -0
- package/wp/@types/editor/components/post-visibility/index.d.ts +11 -0
- package/wp/@types/editor/components/post-visibility/label.d.ts +13 -0
- package/wp/@types/editor/components/post-visibility/utils.d.ts +21 -0
- package/wp/@types/editor/components/posts-per-page/index.d.ts +2 -0
- package/wp/@types/editor/components/preferences-modal/block-visibility.d.ts +2 -0
- package/wp/@types/editor/components/preferences-modal/enable-panel.d.ts +2 -0
- package/wp/@types/editor/components/preferences-modal/enable-plugin-document-setting-panel.d.ts +14 -0
- package/wp/@types/editor/components/preferences-modal/enable-publish-sidebar.d.ts +2 -0
- package/wp/@types/editor/components/preferences-modal/index.d.ts +4 -0
- package/wp/@types/editor/components/preview-dropdown/index.d.ts +5 -0
- package/wp/@types/editor/components/provider/disable-non-page-content-blocks.d.ts +6 -0
- package/wp/@types/editor/components/provider/index.d.ts +65 -0
- package/wp/@types/editor/components/provider/navigation-block-editing-mode.d.ts +9 -0
- package/wp/@types/editor/components/provider/use-auto-switch-editor-sidebars.d.ts +7 -0
- package/wp/@types/editor/components/provider/use-block-editor-settings.d.ts +13 -0
- package/wp/@types/editor/components/provider/use-hide-blocks-from-inserter.d.ts +9 -0
- package/wp/@types/editor/components/provider/use-post-content-blocks.d.ts +2 -0
- package/wp/@types/editor/components/provider/with-registry-provider.d.ts +3 -0
- package/wp/@types/editor/components/resizable-editor/index.d.ts +8 -0
- package/wp/@types/editor/components/resizable-editor/resize-handle.d.ts +5 -0
- package/wp/@types/editor/components/save-publish-panels/index.d.ts +11 -0
- package/wp/@types/editor/components/sidebar/constants.d.ts +5 -0
- package/wp/@types/editor/components/sidebar/header.d.ts +3 -0
- package/wp/@types/editor/components/sidebar/index.d.ts +6 -0
- package/wp/@types/editor/components/sidebar/post-summary.d.ts +4 -0
- package/wp/@types/editor/components/site-discussion/index.d.ts +2 -0
- package/wp/@types/editor/components/start-page-options/index.d.ts +2 -0
- package/wp/@types/editor/components/start-template-options/index.d.ts +2 -0
- package/wp/@types/editor/components/table-of-contents/index.d.ts +7 -0
- package/wp/@types/editor/components/table-of-contents/panel.d.ts +6 -0
- package/wp/@types/editor/components/template-content-panel/index.d.ts +2 -0
- package/wp/@types/editor/components/template-part-content-panel/index.d.ts +2 -0
- package/wp/@types/editor/components/template-part-menu-items/convert-to-regular.d.ts +5 -0
- package/wp/@types/editor/components/template-part-menu-items/convert-to-template-part.d.ts +5 -0
- package/wp/@types/editor/components/template-part-menu-items/index.d.ts +2 -0
- package/wp/@types/editor/components/template-validation-notice/index.d.ts +2 -0
- package/wp/@types/editor/components/text-editor/index.d.ts +4 -0
- package/wp/@types/editor/components/theme-support-check/index.d.ts +14 -0
- package/wp/@types/editor/components/time-to-read/index.d.ts +7 -0
- package/wp/@types/editor/components/unsaved-changes-warning/index.d.ts +8 -0
- package/wp/@types/editor/components/visual-editor/edit-template-blocks-notification.d.ts +18 -0
- package/wp/@types/editor/components/visual-editor/index.d.ts +10 -0
- package/wp/@types/editor/components/visual-editor/use-select-nearest-editable-block.d.ts +4 -0
- package/wp/@types/editor/components/visual-editor/use-zoom-out-mode-exit.d.ts +5 -0
- package/wp/@types/editor/components/word-count/index.d.ts +7 -0
- package/wp/@types/editor/components/zoom-out-toggle/index.d.ts +5 -0
- package/wp/@types/editor/dataviews/api.d.ts +51 -0
- package/wp/@types/editor/dataviews/fields/content-preview/content-preview-view.d.ts +5 -0
- package/wp/@types/editor/dataviews/fields/content-preview/index.d.ts +8 -0
- package/wp/@types/editor/dataviews/store/private-actions.d.ts +34 -0
- package/wp/@types/editor/dataviews/store/private-selectors.d.ts +8 -0
- package/wp/@types/editor/dataviews/store/reducer.d.ts +29 -0
- package/wp/@types/editor/hooks/custom-sources-backwards-compatibility.d.ts +10 -0
- package/wp/@types/editor/hooks/default-autocompleters.d.ts +2 -0
- package/wp/@types/editor/hooks/index.d.ts +2 -0
- package/wp/@types/editor/hooks/media-upload.d.ts +2 -0
- package/wp/@types/editor/hooks/pattern-overrides.d.ts +2 -0
- package/wp/@types/editor/index.d.ts +11 -0
- package/wp/@types/editor/lock-unlock.d.ts +3 -0
- package/wp/@types/editor/package.json +8 -0
- package/wp/@types/editor/private-apis.d.ts +2 -0
- package/wp/@types/editor/store/actions.d.ts +360 -0
- package/wp/@types/editor/store/constants.d.ts +27 -0
- package/wp/@types/editor/store/defaults.d.ts +21 -0
- package/wp/@types/editor/store/index.d.ts +15 -0
- package/wp/@types/editor/store/local-autosave.d.ts +4 -0
- package/wp/@types/editor/store/private-actions.d.ts +37 -0
- package/wp/@types/editor/store/private-selectors.d.ts +52 -0
- package/wp/@types/editor/store/reducer.d.ts +254 -0
- package/wp/@types/editor/store/selectors.d.ts +1167 -0
- package/wp/@types/editor/store/utils/is-template-revertable.d.ts +8 -0
- package/wp/@types/editor/store/utils/notice-builder.d.ts +27 -0
- package/wp/@types/editor/utils/get-item-title.d.ts +10 -0
- package/wp/@types/editor/utils/get-template-info.d.ts +6 -0
- package/wp/@types/editor/utils/get-template-part-icon.d.ts +9 -0
- package/wp/@types/editor/utils/index.d.ts +5 -0
- package/wp/@types/editor/utils/media-sideload/index.d.ts +3 -0
- package/wp/@types/editor/utils/media-upload/index.d.ts +23 -0
- package/wp/@types/editor/utils/pageTypeBadge.d.ts +7 -0
- package/wp/@types/editor/utils/terms.d.ts +12 -0
- package/wp/@types/editor/utils/url.d.ts +18 -0
- package/wp/@types/element/create-interpolate-element.d.ts +68 -0
- package/wp/@types/element/index.d.ts +8 -0
- package/wp/@types/element/package.json +8 -0
- package/wp/@types/element/platform.d.ts +7 -0
- package/wp/@types/element/raw-html.d.ts +18 -0
- package/wp/@types/element/react-platform.d.ts +10 -0
- package/wp/@types/element/react.d.ts +73 -0
- package/wp/@types/element/serialize.d.ts +64 -0
- package/wp/@types/element/utils.d.ts +2 -0
- package/wp/@types/escape-html/escape-greater.d.ts +14 -0
- package/wp/@types/escape-html/index.d.ts +84 -0
- package/wp/@types/escape-html/package.json +8 -0
- package/wp/@types/fields/actions/delete-post.d.ts +8 -0
- package/wp/@types/fields/actions/duplicate-pattern.d.ts +8 -0
- package/wp/@types/fields/actions/duplicate-post.d.ts +8 -0
- package/wp/@types/fields/actions/duplicate-template-part.d.ts +14 -0
- package/wp/@types/fields/actions/export-pattern.d.ts +11 -0
- package/wp/@types/fields/actions/index.d.ts +14 -0
- package/wp/@types/fields/actions/permanently-delete-post.d.ts +8 -0
- package/wp/@types/fields/actions/rename-post.d.ts +8 -0
- package/wp/@types/fields/actions/reorder-page.d.ts +11 -0
- package/wp/@types/fields/actions/reset-post.d.ts +8 -0
- package/wp/@types/fields/actions/restore-post.d.ts +8 -0
- package/wp/@types/fields/actions/trash-post.d.ts +8 -0
- package/wp/@types/fields/actions/utils.d.ts +22 -0
- package/wp/@types/fields/actions/view-post-revisions.d.ts +11 -0
- package/wp/@types/fields/actions/view-post.d.ts +11 -0
- package/wp/@types/fields/components/create-template-part-modal/index.d.ts +34 -0
- package/wp/@types/fields/components/create-template-part-modal/utils.d.ts +4 -0
- package/wp/@types/fields/fields/author/author-view.d.ts +9 -0
- package/wp/@types/fields/fields/author/index.d.ts +14 -0
- package/wp/@types/fields/fields/comment-status/index.d.ts +14 -0
- package/wp/@types/fields/fields/date/date-view.d.ts +9 -0
- package/wp/@types/fields/fields/date/index.d.ts +14 -0
- package/wp/@types/fields/fields/featured-image/featured-image-edit.d.ts +7 -0
- package/wp/@types/fields/fields/featured-image/featured-image-view.d.ts +7 -0
- package/wp/@types/fields/fields/featured-image/index.d.ts +14 -0
- package/wp/@types/fields/fields/index.d.ts +15 -0
- package/wp/@types/fields/fields/order/index.d.ts +14 -0
- package/wp/@types/fields/fields/page-title/index.d.ts +14 -0
- package/wp/@types/fields/fields/page-title/view.d.ts +8 -0
- package/wp/@types/fields/fields/parent/index.d.ts +14 -0
- package/wp/@types/fields/fields/parent/parent-edit.d.ts +12 -0
- package/wp/@types/fields/fields/parent/parent-view.d.ts +7 -0
- package/wp/@types/fields/fields/parent/utils.d.ts +6 -0
- package/wp/@types/fields/fields/password/edit.d.ts +8 -0
- package/wp/@types/fields/fields/password/index.d.ts +14 -0
- package/wp/@types/fields/fields/pattern-title/index.d.ts +14 -0
- package/wp/@types/fields/fields/pattern-title/view.d.ts +9 -0
- package/wp/@types/fields/fields/slug/index.d.ts +14 -0
- package/wp/@types/fields/fields/slug/slug-edit.d.ts +8 -0
- package/wp/@types/fields/fields/slug/slug-view.d.ts +9 -0
- package/wp/@types/fields/fields/slug/utils.d.ts +6 -0
- package/wp/@types/fields/fields/status/index.d.ts +14 -0
- package/wp/@types/fields/fields/status/status-elements.d.ts +13 -0
- package/wp/@types/fields/fields/status/status-view.d.ts +9 -0
- package/wp/@types/fields/fields/template/index.d.ts +11 -0
- package/wp/@types/fields/fields/template/template-edit.d.ts +4 -0
- package/wp/@types/fields/fields/template-title/index.d.ts +14 -0
- package/wp/@types/fields/fields/title/index.d.ts +16 -0
- package/wp/@types/fields/fields/title/view.d.ts +14 -0
- package/wp/@types/fields/index.d.ts +5 -0
- package/wp/@types/fields/index.native.d.ts +1 -0
- package/wp/@types/fields/lock-unlock.d.ts +2 -0
- package/wp/@types/fields/mutation/index.d.ts +34 -0
- package/wp/@types/fields/package.json +8 -0
- package/wp/@types/fields/types.d.ts +115 -0
- package/wp/@types/hooks/createAddHook.d.ts +25 -0
- package/wp/@types/hooks/createCurrentHook.d.ts +13 -0
- package/wp/@types/hooks/createDidHook.d.ts +25 -0
- package/wp/@types/hooks/createDoingHook.d.ts +26 -0
- package/wp/@types/hooks/createHasHook.d.ts +28 -0
- package/wp/@types/hooks/createHooks.d.ts +41 -0
- package/wp/@types/hooks/createRemoveHook.d.ts +31 -0
- package/wp/@types/hooks/createRunHook.d.ts +15 -0
- package/wp/@types/hooks/index.d.ts +90 -0
- package/wp/@types/hooks/package.json +8 -0
- package/wp/@types/hooks/validateHookName.d.ts +12 -0
- package/wp/@types/hooks/validateNamespace.d.ts +11 -0
- package/wp/@types/html-entities/index.d.ts +17 -0
- package/wp/@types/html-entities/package.json +8 -0
- package/wp/@types/i18n/create-i18n.d.ts +123 -0
- package/wp/@types/i18n/default-i18n.d.ts +121 -0
- package/wp/@types/i18n/index.d.ts +4 -0
- package/wp/@types/i18n/package.json +8 -0
- package/wp/@types/i18n/sprintf.d.ts +13 -0
- package/wp/@types/icons/icon/index.d.ts +12 -0
- package/wp/@types/icons/icon/stories/index.story.d.ts +14 -0
- package/wp/@types/icons/icon/stories/keywords.d.ts +3 -0
- package/wp/@types/icons/index.d.ts +308 -0
- package/wp/@types/icons/library/add-card.d.ts +3 -0
- package/wp/@types/icons/library/add-submenu.d.ts +3 -0
- package/wp/@types/icons/library/add-template.d.ts +3 -0
- package/wp/@types/icons/library/align-center.d.ts +3 -0
- package/wp/@types/icons/library/align-justify.d.ts +3 -0
- package/wp/@types/icons/library/align-left.d.ts +3 -0
- package/wp/@types/icons/library/align-none.d.ts +3 -0
- package/wp/@types/icons/library/align-right.d.ts +3 -0
- package/wp/@types/icons/library/archive.d.ts +3 -0
- package/wp/@types/icons/library/arrow-down-right.d.ts +3 -0
- package/wp/@types/icons/library/arrow-down.d.ts +3 -0
- package/wp/@types/icons/library/arrow-left.d.ts +3 -0
- package/wp/@types/icons/library/arrow-right.d.ts +3 -0
- package/wp/@types/icons/library/arrow-up-left.d.ts +3 -0
- package/wp/@types/icons/library/arrow-up.d.ts +3 -0
- package/wp/@types/icons/library/aspect-ratio.d.ts +3 -0
- package/wp/@types/icons/library/at-symbol.d.ts +3 -0
- package/wp/@types/icons/library/audio.d.ts +3 -0
- package/wp/@types/icons/library/background.d.ts +3 -0
- package/wp/@types/icons/library/backup.d.ts +3 -0
- package/wp/@types/icons/library/bell-unread.d.ts +3 -0
- package/wp/@types/icons/library/bell.d.ts +3 -0
- package/wp/@types/icons/library/block-default.d.ts +3 -0
- package/wp/@types/icons/library/block-meta.d.ts +3 -0
- package/wp/@types/icons/library/block-table.d.ts +3 -0
- package/wp/@types/icons/library/border.d.ts +3 -0
- package/wp/@types/icons/library/box.d.ts +3 -0
- package/wp/@types/icons/library/brush.d.ts +3 -0
- package/wp/@types/icons/library/bug.d.ts +3 -0
- package/wp/@types/icons/library/button.d.ts +3 -0
- package/wp/@types/icons/library/buttons.d.ts +3 -0
- package/wp/@types/icons/library/calendar.d.ts +3 -0
- package/wp/@types/icons/library/cancel-circle-filled.d.ts +3 -0
- package/wp/@types/icons/library/caption.d.ts +3 -0
- package/wp/@types/icons/library/capture-photo.d.ts +3 -0
- package/wp/@types/icons/library/capture-video.d.ts +3 -0
- package/wp/@types/icons/library/category.d.ts +3 -0
- package/wp/@types/icons/library/caution-filled.d.ts +3 -0
- package/wp/@types/icons/library/caution.d.ts +3 -0
- package/wp/@types/icons/library/chart-bar.d.ts +3 -0
- package/wp/@types/icons/library/check.d.ts +3 -0
- package/wp/@types/icons/library/chevron-down-small.d.ts +3 -0
- package/wp/@types/icons/library/chevron-down.d.ts +3 -0
- package/wp/@types/icons/library/chevron-left-small.d.ts +3 -0
- package/wp/@types/icons/library/chevron-left.d.ts +3 -0
- package/wp/@types/icons/library/chevron-right-small.d.ts +3 -0
- package/wp/@types/icons/library/chevron-right.d.ts +3 -0
- package/wp/@types/icons/library/chevron-up-down.d.ts +3 -0
- package/wp/@types/icons/library/chevron-up.d.ts +3 -0
- package/wp/@types/icons/library/classic.d.ts +3 -0
- package/wp/@types/icons/library/close-small.d.ts +3 -0
- package/wp/@types/icons/library/close.d.ts +3 -0
- package/wp/@types/icons/library/cloud-download.d.ts +3 -0
- package/wp/@types/icons/library/cloud-upload.d.ts +3 -0
- package/wp/@types/icons/library/cloud.d.ts +3 -0
- package/wp/@types/icons/library/code.d.ts +3 -0
- package/wp/@types/icons/library/cog.d.ts +3 -0
- package/wp/@types/icons/library/color.d.ts +3 -0
- package/wp/@types/icons/library/column.d.ts +3 -0
- package/wp/@types/icons/library/columns.d.ts +3 -0
- package/wp/@types/icons/library/comment-author-avatar.d.ts +3 -0
- package/wp/@types/icons/library/comment-author-name.d.ts +3 -0
- package/wp/@types/icons/library/comment-content.d.ts +3 -0
- package/wp/@types/icons/library/comment-edit-link.d.ts +3 -0
- package/wp/@types/icons/library/comment-reply-link.d.ts +3 -0
- package/wp/@types/icons/library/comment.d.ts +3 -0
- package/wp/@types/icons/library/connection.d.ts +3 -0
- package/wp/@types/icons/library/copy-small.d.ts +3 -0
- package/wp/@types/icons/library/copy.d.ts +3 -0
- package/wp/@types/icons/library/cover.d.ts +3 -0
- package/wp/@types/icons/library/create.d.ts +3 -0
- package/wp/@types/icons/library/crop.d.ts +3 -0
- package/wp/@types/icons/library/currency-dollar.d.ts +3 -0
- package/wp/@types/icons/library/currency-euro.d.ts +3 -0
- package/wp/@types/icons/library/currency-pound.d.ts +3 -0
- package/wp/@types/icons/library/custom-link.d.ts +3 -0
- package/wp/@types/icons/library/custom-post-type.d.ts +3 -0
- package/wp/@types/icons/library/desktop.d.ts +3 -0
- package/wp/@types/icons/library/details.d.ts +3 -0
- package/wp/@types/icons/library/download.d.ts +3 -0
- package/wp/@types/icons/library/drafts.d.ts +3 -0
- package/wp/@types/icons/library/drag-handle.d.ts +3 -0
- package/wp/@types/icons/library/drawer-left.d.ts +3 -0
- package/wp/@types/icons/library/drawer-right.d.ts +3 -0
- package/wp/@types/icons/library/edit.d.ts +3 -0
- package/wp/@types/icons/library/envelope.d.ts +3 -0
- package/wp/@types/icons/library/error.d.ts +3 -0
- package/wp/@types/icons/library/external.d.ts +3 -0
- package/wp/@types/icons/library/file.d.ts +3 -0
- package/wp/@types/icons/library/filter.d.ts +3 -0
- package/wp/@types/icons/library/flip-horizontal.d.ts +3 -0
- package/wp/@types/icons/library/flip-vertical.d.ts +3 -0
- package/wp/@types/icons/library/footer.d.ts +3 -0
- package/wp/@types/icons/library/format-bold.d.ts +3 -0
- package/wp/@types/icons/library/format-capitalize.d.ts +3 -0
- package/wp/@types/icons/library/format-indent-rtl.d.ts +3 -0
- package/wp/@types/icons/library/format-indent.d.ts +3 -0
- package/wp/@types/icons/library/format-italic.d.ts +3 -0
- package/wp/@types/icons/library/format-list-bullets-rtl.d.ts +3 -0
- package/wp/@types/icons/library/format-list-bullets.d.ts +3 -0
- package/wp/@types/icons/library/format-list-numbered-rtl.d.ts +3 -0
- package/wp/@types/icons/library/format-list-numbered.d.ts +3 -0
- package/wp/@types/icons/library/format-lowercase.d.ts +3 -0
- package/wp/@types/icons/library/format-ltr.d.ts +3 -0
- package/wp/@types/icons/library/format-outdent-rtl.d.ts +3 -0
- package/wp/@types/icons/library/format-outdent.d.ts +3 -0
- package/wp/@types/icons/library/format-rtl.d.ts +3 -0
- package/wp/@types/icons/library/format-strikethrough.d.ts +3 -0
- package/wp/@types/icons/library/format-underline.d.ts +3 -0
- package/wp/@types/icons/library/format-uppercase.d.ts +3 -0
- package/wp/@types/icons/library/fullscreen.d.ts +3 -0
- package/wp/@types/icons/library/funnel.d.ts +3 -0
- package/wp/@types/icons/library/gallery.d.ts +3 -0
- package/wp/@types/icons/library/globe.d.ts +3 -0
- package/wp/@types/icons/library/grid.d.ts +3 -0
- package/wp/@types/icons/library/group.d.ts +3 -0
- package/wp/@types/icons/library/handle.d.ts +3 -0
- package/wp/@types/icons/library/header.d.ts +3 -0
- package/wp/@types/icons/library/heading-level-1.d.ts +3 -0
- package/wp/@types/icons/library/heading-level-2.d.ts +3 -0
- package/wp/@types/icons/library/heading-level-3.d.ts +3 -0
- package/wp/@types/icons/library/heading-level-4.d.ts +3 -0
- package/wp/@types/icons/library/heading-level-5.d.ts +3 -0
- package/wp/@types/icons/library/heading-level-6.d.ts +3 -0
- package/wp/@types/icons/library/heading.d.ts +3 -0
- package/wp/@types/icons/library/help-filled.d.ts +3 -0
- package/wp/@types/icons/library/help.d.ts +3 -0
- package/wp/@types/icons/library/home-button.d.ts +3 -0
- package/wp/@types/icons/library/home.d.ts +3 -0
- package/wp/@types/icons/library/html.d.ts +3 -0
- package/wp/@types/icons/library/image.d.ts +3 -0
- package/wp/@types/icons/library/inbox.d.ts +3 -0
- package/wp/@types/icons/library/info.d.ts +3 -0
- package/wp/@types/icons/library/insert-after.d.ts +3 -0
- package/wp/@types/icons/library/insert-before.d.ts +3 -0
- package/wp/@types/icons/library/institution.d.ts +3 -0
- package/wp/@types/icons/library/justify-bottom.d.ts +3 -0
- package/wp/@types/icons/library/justify-center-vertical.d.ts +3 -0
- package/wp/@types/icons/library/justify-center.d.ts +3 -0
- package/wp/@types/icons/library/justify-left.d.ts +3 -0
- package/wp/@types/icons/library/justify-right.d.ts +3 -0
- package/wp/@types/icons/library/justify-space-between-vertical.d.ts +3 -0
- package/wp/@types/icons/library/justify-space-between.d.ts +3 -0
- package/wp/@types/icons/library/justify-stretch-vertical.d.ts +3 -0
- package/wp/@types/icons/library/justify-stretch.d.ts +3 -0
- package/wp/@types/icons/library/justify-top.d.ts +3 -0
- package/wp/@types/icons/library/key.d.ts +3 -0
- package/wp/@types/icons/library/keyboard-close.d.ts +3 -0
- package/wp/@types/icons/library/keyboard-return.d.ts +3 -0
- package/wp/@types/icons/library/keyboard.d.ts +3 -0
- package/wp/@types/icons/library/language.d.ts +3 -0
- package/wp/@types/icons/library/layout.d.ts +3 -0
- package/wp/@types/icons/library/level-up.d.ts +3 -0
- package/wp/@types/icons/library/lifesaver.d.ts +3 -0
- package/wp/@types/icons/library/line-dashed.d.ts +3 -0
- package/wp/@types/icons/library/line-dotted.d.ts +3 -0
- package/wp/@types/icons/library/line-solid.d.ts +3 -0
- package/wp/@types/icons/library/link-off.d.ts +3 -0
- package/wp/@types/icons/library/link.d.ts +3 -0
- package/wp/@types/icons/library/list-item.d.ts +3 -0
- package/wp/@types/icons/library/list-view.d.ts +3 -0
- package/wp/@types/icons/library/list.d.ts +3 -0
- package/wp/@types/icons/library/lock-outline.d.ts +3 -0
- package/wp/@types/icons/library/lock-small.d.ts +3 -0
- package/wp/@types/icons/library/lock.d.ts +3 -0
- package/wp/@types/icons/library/login.d.ts +3 -0
- package/wp/@types/icons/library/loop.d.ts +3 -0
- package/wp/@types/icons/library/map-marker.d.ts +3 -0
- package/wp/@types/icons/library/media-and-text.d.ts +3 -0
- package/wp/@types/icons/library/media.d.ts +3 -0
- package/wp/@types/icons/library/megaphone.d.ts +3 -0
- package/wp/@types/icons/library/menu.d.ts +3 -0
- package/wp/@types/icons/library/mobile.d.ts +3 -0
- package/wp/@types/icons/library/more-horizontal-mobile.d.ts +3 -0
- package/wp/@types/icons/library/more-horizontal.d.ts +3 -0
- package/wp/@types/icons/library/more-vertical.d.ts +3 -0
- package/wp/@types/icons/library/more.d.ts +3 -0
- package/wp/@types/icons/library/move-to.d.ts +3 -0
- package/wp/@types/icons/library/navigation.d.ts +3 -0
- package/wp/@types/icons/library/next.d.ts +3 -0
- package/wp/@types/icons/library/not-allowed.d.ts +3 -0
- package/wp/@types/icons/library/not-found.d.ts +3 -0
- package/wp/@types/icons/library/offline.d.ts +3 -0
- package/wp/@types/icons/library/overlay-text.d.ts +3 -0
- package/wp/@types/icons/library/page-break.d.ts +3 -0
- package/wp/@types/icons/library/page.d.ts +3 -0
- package/wp/@types/icons/library/pages.d.ts +3 -0
- package/wp/@types/icons/library/paragraph.d.ts +3 -0
- package/wp/@types/icons/library/payment.d.ts +3 -0
- package/wp/@types/icons/library/pencil.d.ts +3 -0
- package/wp/@types/icons/library/pending.d.ts +3 -0
- package/wp/@types/icons/library/people.d.ts +3 -0
- package/wp/@types/icons/library/percent.d.ts +3 -0
- package/wp/@types/icons/library/pin-small.d.ts +3 -0
- package/wp/@types/icons/library/pin.d.ts +3 -0
- package/wp/@types/icons/library/plugins.d.ts +3 -0
- package/wp/@types/icons/library/plus-circle-filled.d.ts +3 -0
- package/wp/@types/icons/library/plus-circle.d.ts +3 -0
- package/wp/@types/icons/library/plus.d.ts +3 -0
- package/wp/@types/icons/library/position-center.d.ts +3 -0
- package/wp/@types/icons/library/position-left.d.ts +3 -0
- package/wp/@types/icons/library/position-right.d.ts +3 -0
- package/wp/@types/icons/library/post-author.d.ts +3 -0
- package/wp/@types/icons/library/post-categories.d.ts +3 -0
- package/wp/@types/icons/library/post-comments-count.d.ts +3 -0
- package/wp/@types/icons/library/post-comments-form.d.ts +3 -0
- package/wp/@types/icons/library/post-comments.d.ts +3 -0
- package/wp/@types/icons/library/post-content.d.ts +3 -0
- package/wp/@types/icons/library/post-date.d.ts +3 -0
- package/wp/@types/icons/library/post-excerpt.d.ts +3 -0
- package/wp/@types/icons/library/post-featured-image.d.ts +3 -0
- package/wp/@types/icons/library/post-list.d.ts +3 -0
- package/wp/@types/icons/library/post-terms.d.ts +3 -0
- package/wp/@types/icons/library/post.d.ts +3 -0
- package/wp/@types/icons/library/preformatted.d.ts +3 -0
- package/wp/@types/icons/library/previous.d.ts +3 -0
- package/wp/@types/icons/library/published.d.ts +3 -0
- package/wp/@types/icons/library/pull-left.d.ts +3 -0
- package/wp/@types/icons/library/pull-right.d.ts +3 -0
- package/wp/@types/icons/library/pullquote.d.ts +3 -0
- package/wp/@types/icons/library/query-pagination-next.d.ts +3 -0
- package/wp/@types/icons/library/query-pagination-numbers.d.ts +3 -0
- package/wp/@types/icons/library/query-pagination-previous.d.ts +3 -0
- package/wp/@types/icons/library/query-pagination.d.ts +3 -0
- package/wp/@types/icons/library/quote.d.ts +3 -0
- package/wp/@types/icons/library/receipt.d.ts +3 -0
- package/wp/@types/icons/library/redo.d.ts +3 -0
- package/wp/@types/icons/library/remove-bug.d.ts +3 -0
- package/wp/@types/icons/library/remove-submenu.d.ts +3 -0
- package/wp/@types/icons/library/replace.d.ts +3 -0
- package/wp/@types/icons/library/reset.d.ts +3 -0
- package/wp/@types/icons/library/resize-corner-n-e.d.ts +3 -0
- package/wp/@types/icons/library/reusable-block.d.ts +3 -0
- package/wp/@types/icons/library/rotate-left.d.ts +3 -0
- package/wp/@types/icons/library/rotate-right.d.ts +3 -0
- package/wp/@types/icons/library/row.d.ts +3 -0
- package/wp/@types/icons/library/rss.d.ts +3 -0
- package/wp/@types/icons/library/scheduled.d.ts +3 -0
- package/wp/@types/icons/library/search.d.ts +3 -0
- package/wp/@types/icons/library/seen.d.ts +3 -0
- package/wp/@types/icons/library/send.d.ts +3 -0
- package/wp/@types/icons/library/separator.d.ts +3 -0
- package/wp/@types/icons/library/settings.d.ts +3 -0
- package/wp/@types/icons/library/shadow.d.ts +3 -0
- package/wp/@types/icons/library/share.d.ts +3 -0
- package/wp/@types/icons/library/shield.d.ts +3 -0
- package/wp/@types/icons/library/shipping.d.ts +3 -0
- package/wp/@types/icons/library/shortcode.d.ts +3 -0
- package/wp/@types/icons/library/shuffle.d.ts +3 -0
- package/wp/@types/icons/library/sidebar.d.ts +3 -0
- package/wp/@types/icons/library/sides-all.d.ts +3 -0
- package/wp/@types/icons/library/sides-axial.d.ts +3 -0
- package/wp/@types/icons/library/sides-bottom.d.ts +3 -0
- package/wp/@types/icons/library/sides-horizontal.d.ts +3 -0
- package/wp/@types/icons/library/sides-left.d.ts +3 -0
- package/wp/@types/icons/library/sides-right.d.ts +3 -0
- package/wp/@types/icons/library/sides-top.d.ts +3 -0
- package/wp/@types/icons/library/sides-vertical.d.ts +3 -0
- package/wp/@types/icons/library/site-logo.d.ts +3 -0
- package/wp/@types/icons/library/square.d.ts +3 -0
- package/wp/@types/icons/library/stack.d.ts +3 -0
- package/wp/@types/icons/library/star-empty.d.ts +3 -0
- package/wp/@types/icons/library/star-filled.d.ts +3 -0
- package/wp/@types/icons/library/star-half.d.ts +3 -0
- package/wp/@types/icons/library/store.d.ts +3 -0
- package/wp/@types/icons/library/stretch-full-width.d.ts +3 -0
- package/wp/@types/icons/library/stretch-wide.d.ts +3 -0
- package/wp/@types/icons/library/styles.d.ts +3 -0
- package/wp/@types/icons/library/subscript.d.ts +3 -0
- package/wp/@types/icons/library/superscript.d.ts +3 -0
- package/wp/@types/icons/library/swatch.d.ts +3 -0
- package/wp/@types/icons/library/symbol-filled.d.ts +3 -0
- package/wp/@types/icons/library/symbol.d.ts +3 -0
- package/wp/@types/icons/library/table-column-after.d.ts +3 -0
- package/wp/@types/icons/library/table-column-before.d.ts +3 -0
- package/wp/@types/icons/library/table-column-delete.d.ts +3 -0
- package/wp/@types/icons/library/table-of-contents.d.ts +3 -0
- package/wp/@types/icons/library/table-row-after.d.ts +3 -0
- package/wp/@types/icons/library/table-row-before.d.ts +3 -0
- package/wp/@types/icons/library/table-row-delete.d.ts +3 -0
- package/wp/@types/icons/library/table.d.ts +3 -0
- package/wp/@types/icons/library/tablet.d.ts +3 -0
- package/wp/@types/icons/library/tag.d.ts +3 -0
- package/wp/@types/icons/library/term-description.d.ts +3 -0
- package/wp/@types/icons/library/text-color.d.ts +3 -0
- package/wp/@types/icons/library/text-horizontal.d.ts +3 -0
- package/wp/@types/icons/library/text-vertical.d.ts +3 -0
- package/wp/@types/icons/library/thumbs-down.d.ts +3 -0
- package/wp/@types/icons/library/thumbs-up.d.ts +3 -0
- package/wp/@types/icons/library/tip.d.ts +3 -0
- package/wp/@types/icons/library/title.d.ts +3 -0
- package/wp/@types/icons/library/tool.d.ts +3 -0
- package/wp/@types/icons/library/trash.d.ts +3 -0
- package/wp/@types/icons/library/trending-down.d.ts +3 -0
- package/wp/@types/icons/library/trending-up.d.ts +3 -0
- package/wp/@types/icons/library/typography.d.ts +3 -0
- package/wp/@types/icons/library/undo.d.ts +3 -0
- package/wp/@types/icons/library/ungroup.d.ts +3 -0
- package/wp/@types/icons/library/unlock.d.ts +3 -0
- package/wp/@types/icons/library/unseen.d.ts +3 -0
- package/wp/@types/icons/library/update.d.ts +3 -0
- package/wp/@types/icons/library/upload.d.ts +3 -0
- package/wp/@types/icons/library/verse.d.ts +3 -0
- package/wp/@types/icons/library/video.d.ts +3 -0
- package/wp/@types/icons/library/widget.d.ts +3 -0
- package/wp/@types/icons/library/wordpress.d.ts +3 -0
- package/wp/@types/icons/package.json +8 -0
- package/wp/@types/interactivity/constants.d.ts +2 -0
- package/wp/@types/interactivity/debug.d.ts +6 -0
- package/wp/@types/interactivity/directives.d.ts +3 -0
- package/wp/@types/interactivity/hooks.d.ts +145 -0
- package/wp/@types/interactivity/index.d.ts +6 -0
- package/wp/@types/interactivity/init.d.ts +8 -0
- package/wp/@types/interactivity/namespaces.d.ts +4 -0
- package/wp/@types/interactivity/package.json +8 -0
- package/wp/@types/interactivity/proxies/context.d.ts +13 -0
- package/wp/@types/interactivity/proxies/index.d.ts +7 -0
- package/wp/@types/interactivity/proxies/registry.d.ts +48 -0
- package/wp/@types/interactivity/proxies/signals.d.ts +72 -0
- package/wp/@types/interactivity/proxies/state.d.ts +50 -0
- package/wp/@types/interactivity/proxies/store.d.ts +15 -0
- package/wp/@types/interactivity/scopes.d.ts +67 -0
- package/wp/@types/interactivity/store.d.ts +139 -0
- package/wp/@types/interactivity/utils.d.ts +160 -0
- package/wp/@types/interactivity/vdom.d.ts +13 -0
- package/wp/@types/interactivity-router/assets/styles.d.ts +2 -0
- package/wp/@types/interactivity-router/index.d.ts +25 -0
- package/wp/@types/interactivity-router/package.json +8 -0
- package/wp/@types/is-shallow-equal/arrays.d.ts +10 -0
- package/wp/@types/is-shallow-equal/index.d.ts +17 -0
- package/wp/@types/is-shallow-equal/objects.d.ts +10 -0
- package/wp/@types/is-shallow-equal/package.json +8 -0
- package/wp/@types/keycodes/index.d.ts +191 -0
- package/wp/@types/keycodes/package.json +8 -0
- package/wp/@types/keycodes/platform.d.ts +9 -0
- package/wp/@types/lazy-import/index.d.ts +29 -0
- package/wp/@types/lazy-import/package.json +8 -0
- package/wp/@types/media-utils/components/index.d.ts +2 -0
- package/wp/@types/media-utils/components/media-upload/index.d.ts +36 -0
- package/wp/@types/media-utils/index.d.ts +9 -0
- package/wp/@types/media-utils/lock-unlock.d.ts +2 -0
- package/wp/@types/media-utils/package.json +8 -0
- package/wp/@types/media-utils/private-apis.d.ts +5 -0
- package/wp/@types/media-utils/utils/flatten-form-data.d.ts +9 -0
- package/wp/@types/media-utils/utils/get-mime-types-array.d.ts +12 -0
- package/wp/@types/media-utils/utils/sideload-media.d.ts +26 -0
- package/wp/@types/media-utils/utils/sideload-to-server.d.ts +16 -0
- package/wp/@types/media-utils/utils/transform-attachment.d.ts +11 -0
- package/wp/@types/media-utils/utils/types.d.ts +206 -0
- package/wp/@types/media-utils/utils/upload-error.d.ts +19 -0
- package/wp/@types/media-utils/utils/upload-media.d.ts +36 -0
- package/wp/@types/media-utils/utils/upload-to-server.d.ts +3 -0
- package/wp/@types/media-utils/utils/validate-file-size.d.ts +8 -0
- package/wp/@types/media-utils/utils/validate-mime-type-for-user.d.ts +8 -0
- package/wp/@types/media-utils/utils/validate-mime-type.d.ts +8 -0
- package/wp/@types/notices/index.d.ts +7 -0
- package/wp/@types/notices/package.json +8 -0
- package/wp/@types/notices/store/actions.d.ts +358 -0
- package/wp/@types/notices/store/constants.d.ts +15 -0
- package/wp/@types/notices/store/controls.d.ts +5 -0
- package/wp/@types/notices/store/index.d.ts +9 -0
- package/wp/@types/notices/store/reducer.d.ts +12 -0
- package/wp/@types/notices/store/selectors.d.ts +106 -0
- package/wp/@types/notices/store/utils/on-sub-key.d.ts +3 -0
- package/wp/@types/plugins/api/index.d.ts +152 -0
- package/wp/@types/plugins/components/index.d.ts +3 -0
- package/wp/@types/plugins/components/plugin-area/index.d.ts +44 -0
- package/wp/@types/plugins/components/plugin-context/index.d.ts +29 -0
- package/wp/@types/plugins/components/plugin-error-boundary/index.d.ts +19 -0
- package/wp/@types/plugins/index.d.ts +3 -0
- package/wp/@types/plugins/package.json +8 -0
- package/wp/@types/prettier-config/index.d.ts +14 -0
- package/wp/@types/prettier-config/package.json +8 -0
- package/wp/@types/primitives/block-quotation/index.d.ts +2 -0
- package/wp/@types/primitives/horizontal-rule/index.d.ts +2 -0
- package/wp/@types/primitives/index.d.ts +5 -0
- package/wp/@types/primitives/package.json +8 -0
- package/wp/@types/primitives/svg/index.d.ts +17 -0
- package/wp/@types/primitives/view/index.d.ts +2 -0
- package/wp/@types/priority-queue/index.d.ts +43 -0
- package/wp/@types/priority-queue/package.json +8 -0
- package/wp/@types/priority-queue/request-idle-callback.d.ts +11 -0
- package/wp/@types/private-apis/implementation.d.ts +87 -0
- package/wp/@types/private-apis/index.d.ts +2 -0
- package/wp/@types/private-apis/package.json +8 -0
- package/wp/@types/project-management-automation/debug.d.ts +8 -0
- package/wp/@types/project-management-automation/get-associated-pull-request.d.ts +59 -0
- package/wp/@types/project-management-automation/has-wordpress-profile.d.ts +12 -0
- package/wp/@types/project-management-automation/index.d.ts +24 -0
- package/wp/@types/project-management-automation/package.json +8 -0
- package/wp/@types/project-management-automation/tasks/add-milestone/index.d.ts +15 -0
- package/wp/@types/project-management-automation/tasks/assign-fixed-issues/index.d.ts +16 -0
- package/wp/@types/project-management-automation/tasks/first-time-contributor-account-link/index.d.ts +16 -0
- package/wp/@types/project-management-automation/tasks/first-time-contributor-label/index.d.ts +16 -0
- package/wp/@types/react-i18n/index.d.ts +78 -0
- package/wp/@types/react-i18n/package.json +8 -0
- package/wp/@types/redux-routine/index.d.ts +14 -0
- package/wp/@types/redux-routine/is-action.d.ts +19 -0
- package/wp/@types/redux-routine/is-generator.d.ts +11 -0
- package/wp/@types/redux-routine/package.json +8 -0
- package/wp/@types/redux-routine/runtime.d.ts +9 -0
- package/wp/@types/report-flaky-tests/github-api.d.ts +1667 -0
- package/wp/@types/report-flaky-tests/index.d.ts +2 -0
- package/wp/@types/report-flaky-tests/markdown.d.ts +29 -0
- package/wp/@types/report-flaky-tests/package.json +8 -0
- package/wp/@types/report-flaky-tests/run.d.ts +3 -0
- package/wp/@types/report-flaky-tests/strip-ansi.d.ts +11 -0
- package/wp/@types/report-flaky-tests/types.d.ts +32 -0
- package/wp/@types/rich-text/apply-format.d.ts +16 -0
- package/wp/@types/rich-text/component/event-listeners/copy-handler.d.ts +3 -0
- package/wp/@types/rich-text/component/event-listeners/delete.d.ts +3 -0
- package/wp/@types/rich-text/component/event-listeners/format-boundaries.d.ts +3 -0
- package/wp/@types/rich-text/component/event-listeners/index.d.ts +2 -0
- package/wp/@types/rich-text/component/event-listeners/input-and-selection.d.ts +3 -0
- package/wp/@types/rich-text/component/event-listeners/prevent-focus-capture.d.ts +8 -0
- package/wp/@types/rich-text/component/event-listeners/select-object.d.ts +3 -0
- package/wp/@types/rich-text/component/event-listeners/selection-change-compat.d.ts +3 -0
- package/wp/@types/rich-text/component/index.d.ts +22 -0
- package/wp/@types/rich-text/component/use-anchor-ref.d.ts +32 -0
- package/wp/@types/rich-text/component/use-anchor.d.ts +29 -0
- package/wp/@types/rich-text/component/use-boundary-style.d.ts +4 -0
- package/wp/@types/rich-text/component/use-default-style.d.ts +2 -0
- package/wp/@types/rich-text/concat.d.ts +22 -0
- package/wp/@types/rich-text/create-element.d.ts +14 -0
- package/wp/@types/rich-text/create.d.ts +103 -0
- package/wp/@types/rich-text/get-active-format.d.ts +18 -0
- package/wp/@types/rich-text/get-active-formats.d.ts +13 -0
- package/wp/@types/rich-text/get-active-object.d.ts +13 -0
- package/wp/@types/rich-text/get-format-type.d.ts +11 -0
- package/wp/@types/rich-text/get-format-types.d.ts +9 -0
- package/wp/@types/rich-text/get-text-content.d.ts +12 -0
- package/wp/@types/rich-text/index.d.ts +38 -0
- package/wp/@types/rich-text/insert-object.d.ts +18 -0
- package/wp/@types/rich-text/insert.d.ts +17 -0
- package/wp/@types/rich-text/is-collapsed.d.ts +17 -0
- package/wp/@types/rich-text/is-empty.d.ts +12 -0
- package/wp/@types/rich-text/is-format-equal.d.ts +12 -0
- package/wp/@types/rich-text/is-range-equal.d.ts +12 -0
- package/wp/@types/rich-text/join.d.ts +14 -0
- package/wp/@types/rich-text/normalise-formats.d.ts +12 -0
- package/wp/@types/rich-text/package.json +8 -0
- package/wp/@types/rich-text/register-format-type.d.ts +54 -0
- package/wp/@types/rich-text/remove-format.d.ts +16 -0
- package/wp/@types/rich-text/remove.d.ts +14 -0
- package/wp/@types/rich-text/replace.d.ts +20 -0
- package/wp/@types/rich-text/slice.d.ts +15 -0
- package/wp/@types/rich-text/special-characters.d.ts +10 -0
- package/wp/@types/rich-text/split.d.ts +17 -0
- package/wp/@types/rich-text/store/actions.d.ts +25 -0
- package/wp/@types/rich-text/store/index.d.ts +9 -0
- package/wp/@types/rich-text/store/reducer.d.ts +16 -0
- package/wp/@types/rich-text/store/selectors.d.ts +129 -0
- package/wp/@types/rich-text/to-dom.d.ts +38 -0
- package/wp/@types/rich-text/to-html-string.d.ts +16 -0
- package/wp/@types/rich-text/to-tree.d.ts +17 -0
- package/wp/@types/rich-text/toggle-format.d.ts +14 -0
- package/wp/@types/rich-text/types.d.ts +24 -0
- package/wp/@types/rich-text/unregister-format-type.d.ts +13 -0
- package/wp/@types/rich-text/update-formats.d.ts +21 -0
- package/wp/@types/router/index.d.ts +2 -0
- package/wp/@types/router/link.d.ts +14 -0
- package/wp/@types/router/lock-unlock.d.ts +2 -0
- package/wp/@types/router/package.json +8 -0
- package/wp/@types/router/private-apis.d.ts +2 -0
- package/wp/@types/router/router.d.ts +55 -0
- package/wp/@types/shortcode/index.d.ts +103 -0
- package/wp/@types/shortcode/package.json +8 -0
- package/wp/@types/shortcode/types.d.ts +182 -0
- package/wp/@types/style-engine/index.d.ts +28 -0
- package/wp/@types/style-engine/package.json +8 -0
- package/wp/@types/style-engine/styles/background/index.d.ts +10 -0
- package/wp/@types/style-engine/styles/border/index.d.ts +7 -0
- package/wp/@types/style-engine/styles/color/background.d.ts +10 -0
- package/wp/@types/style-engine/styles/color/gradient.d.ts +10 -0
- package/wp/@types/style-engine/styles/color/index.d.ts +6 -0
- package/wp/@types/style-engine/styles/color/text.d.ts +10 -0
- package/wp/@types/style-engine/styles/constants.d.ts +4 -0
- package/wp/@types/style-engine/styles/dimensions/index.d.ts +10 -0
- package/wp/@types/style-engine/styles/index.d.ts +5 -0
- package/wp/@types/style-engine/styles/outline/index.d.ts +10 -0
- package/wp/@types/style-engine/styles/shadow/index.d.ts +10 -0
- package/wp/@types/style-engine/styles/spacing/index.d.ts +6 -0
- package/wp/@types/style-engine/styles/spacing/margin.d.ts +10 -0
- package/wp/@types/style-engine/styles/spacing/padding.d.ts +10 -0
- package/wp/@types/style-engine/styles/typography/index.d.ts +10 -0
- package/wp/@types/style-engine/styles/utils.d.ts +82 -0
- package/wp/@types/style-engine/types.d.ts +103 -0
- package/wp/@types/sync/connect-indexdb.d.ts +21 -0
- package/wp/@types/sync/create-webrtc-connection.d.ts +20 -0
- package/wp/@types/sync/index.d.ts +4 -0
- package/wp/@types/sync/package.json +8 -0
- package/wp/@types/sync/provider.d.ts +8 -0
- package/wp/@types/sync/types.d.ts +17 -0
- package/wp/@types/sync/webrtc-http-stream-signaling.d.ts +40 -0
- package/wp/@types/sync/y-webrtc/crypto.d.ts +6 -0
- package/wp/@types/sync/y-webrtc/y-webrtc.d.ts +152 -0
- package/wp/@types/token-list/index.d.ts +135 -0
- package/wp/@types/token-list/package.json +8 -0
- package/wp/@types/undo-manager/index.d.ts +11 -0
- package/wp/@types/undo-manager/package.json +8 -0
- package/wp/@types/undo-manager/types.d.ts +17 -0
- package/wp/@types/upload-media/components/provider/index.d.ts +3 -0
- package/wp/@types/upload-media/components/provider/with-registry-provider.d.ts +3 -0
- package/wp/@types/upload-media/get-mime-types-array.d.ts +12 -0
- package/wp/@types/upload-media/image-file.d.ts +16 -0
- package/wp/@types/upload-media/index.d.ts +14 -0
- package/wp/@types/upload-media/lock-unlock.d.ts +2 -0
- package/wp/@types/upload-media/package.json +8 -0
- package/wp/@types/upload-media/store/actions.d.ts +62 -0
- package/wp/@types/upload-media/store/constants.d.ts +2 -0
- package/wp/@types/upload-media/store/index.d.ts +23 -0
- package/wp/@types/upload-media/store/private-actions.d.ts +129 -0
- package/wp/@types/upload-media/store/private-selectors.d.ts +66 -0
- package/wp/@types/upload-media/store/reducer.d.ts +13 -0
- package/wp/@types/upload-media/store/selectors.d.ts +47 -0
- package/wp/@types/upload-media/store/types.d.ts +143 -0
- package/wp/@types/upload-media/stub-file.d.ts +4 -0
- package/wp/@types/upload-media/upload-error.d.ts +19 -0
- package/wp/@types/upload-media/utils.d.ts +50 -0
- package/wp/@types/upload-media/validate-file-size.d.ts +8 -0
- package/wp/@types/upload-media/validate-mime-type-for-user.d.ts +8 -0
- package/wp/@types/upload-media/validate-mime-type.d.ts +8 -0
- package/wp/@types/url/add-query-args.d.ts +18 -0
- package/wp/@types/url/build-query-string.d.ts +26 -0
- package/wp/@types/url/clean-for-slug.d.ts +18 -0
- package/wp/@types/url/filter-url-for-display.d.ts +16 -0
- package/wp/@types/url/get-authority.d.ts +15 -0
- package/wp/@types/url/get-filename.d.ts +15 -0
- package/wp/@types/url/get-fragment.d.ts +15 -0
- package/wp/@types/url/get-path-and-query-string.d.ts +15 -0
- package/wp/@types/url/get-path.d.ts +15 -0
- package/wp/@types/url/get-protocol.d.ts +15 -0
- package/wp/@types/url/get-query-arg.d.ts +25 -0
- package/wp/@types/url/get-query-args.d.ts +18 -0
- package/wp/@types/url/get-query-string.d.ts +14 -0
- package/wp/@types/url/has-query-arg.d.ts +15 -0
- package/wp/@types/url/index.d.ts +29 -0
- package/wp/@types/url/is-email.d.ts +14 -0
- package/wp/@types/url/is-phone-number.d.ts +14 -0
- package/wp/@types/url/is-url.d.ts +17 -0
- package/wp/@types/url/is-valid-authority.d.ts +15 -0
- package/wp/@types/url/is-valid-fragment.d.ts +15 -0
- package/wp/@types/url/is-valid-path.d.ts +15 -0
- package/wp/@types/url/is-valid-protocol.d.ts +15 -0
- package/wp/@types/url/is-valid-query-string.d.ts +15 -0
- package/wp/@types/url/normalize-path.d.ts +11 -0
- package/wp/@types/url/package.json +8 -0
- package/wp/@types/url/prepend-http.d.ts +14 -0
- package/wp/@types/url/prepend-https.d.ts +16 -0
- package/wp/@types/url/remove-query-args.d.ts +15 -0
- package/wp/@types/url/safe-decode-uri-component.d.ts +10 -0
- package/wp/@types/url/safe-decode-uri.d.ts +15 -0
- package/wp/@types/vips/index.d.ts +72 -0
- package/wp/@types/vips/package.json +8 -0
- package/wp/@types/vips/types.d.ts +150 -0
- package/wp/@types/vips/utils.d.ts +28 -0
- package/wp/@types/warning/index.d.ts +19 -0
- package/wp/@types/warning/package.json +8 -0
- package/wp/@types/warning/utils.d.ts +6 -0
- package/wp/@types/wordcount/defaultSettings.d.ts +87 -0
- package/wp/@types/wordcount/index.d.ts +23 -0
- package/wp/@types/wordcount/package.json +8 -0
- package/wp/@types/wordcount/stripConnectors.d.ts +10 -0
- package/wp/@types/wordcount/stripHTMLComments.d.ts +10 -0
- package/wp/@types/wordcount/stripHTMLEntities.d.ts +10 -0
- package/wp/@types/wordcount/stripRemovables.d.ts +10 -0
- package/wp/@types/wordcount/stripShortcodes.d.ts +10 -0
- package/wp/@types/wordcount/stripSpaces.d.ts +10 -0
- package/wp/@types/wordcount/stripTags.d.ts +10 -0
- package/wp/@types/wordcount/transposeAstralsToCountableChar.d.ts +10 -0
- package/wp/@types/wordcount/transposeHTMLEntitiesToCountableChars.d.ts +10 -0
|
@@ -32,6 +32,8 @@ export type BlocksContext = {
|
|
|
32
32
|
};
|
|
33
33
|
export declare const BlocksContext: import("react").Context<BlocksContext | undefined>;
|
|
34
34
|
export type ContentBlockLayoutProps = {
|
|
35
|
+
/** Add a wrapper div around the block list with the given class name. */
|
|
36
|
+
className?: string;
|
|
35
37
|
/**
|
|
36
38
|
* Provide a custom wrapping function for each block. eg.
|
|
37
39
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/ContentBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"ContentBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/ContentBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,YAAY,EAAuD,MAAM,OAAO,CAAA;AAQtH,KAAK,iBAAiB,CAAC,KAAK,EAAE,MAAM,IAAI;IACtC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,GAAG,CAAA;IACV,WAAW,CAAC,EAAE,YAAY,EAAE,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,GAAG,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAE5B;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;KACxB,CAAC,IAAI,MAAM,UAAU,GAAG,iBAAiB,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAC7D,CAAC,MAAM,UAAU,CAAC,CAAA;AAEnB;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,OAAO,EAAE,YAAY,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,aAAa,oDAAsD,CAAA;AAEhF,MAAM,MAAM,uBAAuB,GAAG;IACpC,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,aAAa,KAAK,YAAY,CAAA;IACxE;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE;QACb,SAAS,EAAE,YAAY,EAAE,CAAA;QACzB,MAAM,CAAC,EAAE,YAAY,CAAA;QACrB,IAAI,EAAE,YAAY,GAAG,IAAI,CAAA;QACzB,IAAI,EAAE,YAAY,GAAG,IAAI,CAAA;QACzB,KAAK,EAAE,MAAM,CAAA;KACd,KAAK,YAAY,GAAG,IAAI,CAAA;CAC1B,CAAA;AAED,KAAK,KAAK,GAAG;IACX,kDAAkD;IAClD,MAAM,CAAC,EAAE,YAAY,EAAE,CAAA;CACxB,GAAG,uBAAuB,CAAA;AAS3B;;GAEG;AACH,eAAO,MAAM,aAAa,8CAAgB,KAAK,wCAmG7C,CAAA;AAIF,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,sCAqDpD"}
|
|
@@ -39,7 +39,7 @@ export const ContentBlocks = memo((props) => {
|
|
|
39
39
|
return [ctx, block, blockNode];
|
|
40
40
|
});
|
|
41
41
|
}, [blockData]);
|
|
42
|
-
|
|
42
|
+
let layout = useMemo(() => {
|
|
43
43
|
return blocks.filter(Boolean).map(([ctx, block, blockNode], index) => {
|
|
44
44
|
// Exit early if the block is null
|
|
45
45
|
if (blockNode === null)
|
|
@@ -73,6 +73,9 @@ export const ContentBlocks = memo((props) => {
|
|
|
73
73
|
return (_jsxs(Fragment, { children: [spaceBefore, _jsx(BlockErrorBoundary, { block: block, blockContext: ctx, children: blockNode }), spaceAfter] }, block.slug + "_" + index));
|
|
74
74
|
});
|
|
75
75
|
}, [blocks, props.wrapBlock, props.spacer]);
|
|
76
|
+
if (Array.isArray(layout) && layout.length > 0 && props.className) {
|
|
77
|
+
layout = _jsx("div", { className: props.className, children: layout });
|
|
78
|
+
}
|
|
76
79
|
const debugNode = usePageStructureNode({
|
|
77
80
|
type: "blocks",
|
|
78
81
|
children: [],
|
|
@@ -21,9 +21,7 @@ export type InnerBlocksProps = {
|
|
|
21
21
|
/** Specify the block list as either horizontal or vertical */
|
|
22
22
|
orientation?: "horizontal" | "vertical";
|
|
23
23
|
/**
|
|
24
|
-
* An optional extra className to apply
|
|
25
|
-
*
|
|
26
|
-
* NOTE: This will have no effect on the frontend, since no wrapper div is created on the frontend.
|
|
24
|
+
* An optional extra className to apply after `className` on the wrapper div in the Gutenberg editor.
|
|
27
25
|
**/
|
|
28
26
|
adminClassName?: string;
|
|
29
27
|
/** The default blocks to insert when there are no (non-templated) blocks */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/InnerBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAiB,MAAM,oBAAoB,CAAA;AAC3E,OAAO,EAAuB,aAAa,EAA0B,MAAM,6BAA6B,CAAA;AAKxG,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,mBAAmB,CAAA;IACvE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AA2ED,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;IAClD,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,OAAO,CAAA;CAC5B,CAAC,CAAA;AAEF,wBAAgB,cAAc,CAAC,IAAI,EAAE,mBAAmB;;EAIvD;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mDAAmD;IACnD,aAAa,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAAC,EAAE,CAAA;IACrD,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC
|
|
1
|
+
{"version":3,"file":"InnerBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/InnerBlocks.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsB,MAAM,OAAO,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAiB,MAAM,oBAAoB,CAAA;AAC3E,OAAO,EAAuB,aAAa,EAA0B,MAAM,6BAA6B,CAAA;AAKxG,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,mBAAmB,CAAA;IACvE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AA2ED,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;IAClD,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,OAAO,CAAA;CAC5B,CAAC,CAAA;AAEF,wBAAgB,cAAc,CAAC,IAAI,EAAE,mBAAmB;;EAIvD;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mDAAmD;IACnD,aAAa,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAAC,EAAE,CAAA;IACrD,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC;;QAEI;IACJ,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,2DAA2D;IAC3D,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,8DAA8D;IAC9D,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB;;;;;;;;;;OAUG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,KAAK,CAAA;IAChE,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,yBAAyB,CAAC,EAAE,kBAAkB,EAAE,CAAA;CACjD,GAAG,uBAAuB,CAAA;AAE3B;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BA0DlD"}
|
|
@@ -95,9 +95,12 @@ export function InnerBlocks(props) {
|
|
|
95
95
|
hash([props.template, props.defaultBlocks, props.headerTemplate, props.footerTemplate]),
|
|
96
96
|
blockId,
|
|
97
97
|
]);
|
|
98
|
-
return (_jsx("div", { ...innerBlocksProps, className: [innerBlocksProps.className, props.adminClassName].filter(Boolean).join(" ") }));
|
|
98
|
+
return (_jsx("div", { ...innerBlocksProps, className: [innerBlocksProps.className, props.className, props.adminClassName].filter(Boolean).join(" ") }));
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
const blocks = useInnerBlocks();
|
|
102
|
-
|
|
102
|
+
const className = env.admin
|
|
103
|
+
? [props.className, props.adminClassName].filter(Boolean).join(" ")
|
|
104
|
+
: props.className;
|
|
105
|
+
return (_jsx(ContentBlocks, { blocks: blocks, className: className, spacer: props.spacer, wrapBlock: props.wrapBlock }));
|
|
103
106
|
}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
import { ContentBlock } from "./ContentBlocks.js";
|
|
1
2
|
import { InnerBlocksProps } from "./InnerBlocks.js";
|
|
3
|
+
/**
|
|
4
|
+
* Returns the inner blocks of the slot with the given id, within the current block context.
|
|
5
|
+
* Works the same as useInnerBlocks(), but scoped to a specific SlotBlocks slot.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useSlotBlocks(slotId: string): ContentBlock[];
|
|
2
8
|
type SlotProps = {
|
|
3
9
|
id: string;
|
|
4
10
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlotBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/SlotBlocks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlotBlocks.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/SlotBlocks.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAiB,MAAM,oBAAoB,CAAA;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAEnD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,EAAE,CAoB5D;AAED,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,gBAAgB,CAAA;AAEpB,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS,sCAgE1C"}
|
|
@@ -1,8 +1,30 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { hash } from "object-code";
|
|
3
3
|
import { useEffect } from "react";
|
|
4
|
+
import { addBlockMetadata } from "./block-utils.js";
|
|
4
5
|
import { ContentBlocks } from "./ContentBlocks.js";
|
|
5
6
|
import { InlineEditingContextProvider, useBlockContext, useInnerBlocks } from "./inline-editing.js";
|
|
7
|
+
/**
|
|
8
|
+
* Returns the inner blocks of the slot with the given id, within the current block context.
|
|
9
|
+
* Works the same as useInnerBlocks(), but scoped to a specific SlotBlocks slot.
|
|
10
|
+
*/
|
|
11
|
+
export function useSlotBlocks(slotId) {
|
|
12
|
+
if (env.admin) {
|
|
13
|
+
const clientId = useBlockContext()?.block[1].clientId;
|
|
14
|
+
const block = wp.data.useSelect((select) => {
|
|
15
|
+
const { getBlocks } = select("core/block-editor");
|
|
16
|
+
return getBlocks(clientId).find((block) => block.name === "core/slot-group" && block.attributes?.props?.id === slotId);
|
|
17
|
+
}, [clientId, slotId]);
|
|
18
|
+
const blocks = block?.innerBlocks || [];
|
|
19
|
+
addBlockMetadata(blocks);
|
|
20
|
+
return blocks;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
const blocks = useInnerBlocks();
|
|
24
|
+
const block = blocks.find((block) => block.blockName === "core/slot-group" && block.slotId === slotId);
|
|
25
|
+
return block?.innerBlocks || [];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
6
28
|
export function SlotBlocks(props) {
|
|
7
29
|
if (env.admin) {
|
|
8
30
|
const clientId = useBlockContext()?.block[1].clientId;
|
|
@@ -40,6 +62,6 @@ export function SlotBlocks(props) {
|
|
|
40
62
|
else {
|
|
41
63
|
const blocks = useInnerBlocks();
|
|
42
64
|
const block = blocks.find((block) => block.blockName === "core/slot-group" && block.slotId === props.id);
|
|
43
|
-
return _jsx(ContentBlocks, { blocks: block?.innerBlocks });
|
|
65
|
+
return (_jsx(ContentBlocks, { blocks: block?.innerBlocks, className: props.className, wrapBlock: props.wrapBlock, spacer: props.spacer }));
|
|
44
66
|
}
|
|
45
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableBlock.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/EditableBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditableBlock.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/EditableBlock.tsx"],"names":[],"mappings":"AAWA,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,GAAG,sCA6C7C"}
|
|
@@ -6,6 +6,8 @@ import { useBlockMutation } from "../BlockPropMutator.js";
|
|
|
6
6
|
import { useBlockContext } from "../inline-editing.js";
|
|
7
7
|
import { ErrorBoundaryEditor } from "./ErrorBoundaryEditor.js";
|
|
8
8
|
import { EditorHighlights } from "./EditorHighlights.js";
|
|
9
|
+
import { useSnapshot } from "valtio";
|
|
10
|
+
import { editorConfigStore } from "./editor-config.js";
|
|
9
11
|
export function EditableBlock({ payload }) {
|
|
10
12
|
if (!env.admin)
|
|
11
13
|
throw new Error("`EditableBlock` can only be used in the admin environment");
|
|
@@ -23,10 +25,18 @@ export function EditableBlock({ payload }) {
|
|
|
23
25
|
}
|
|
24
26
|
return block.props;
|
|
25
27
|
}, [block, payload, mutation.mutate]);
|
|
28
|
+
const editorConfig = useSnapshot(editorConfigStore).currentBlocksConfig;
|
|
26
29
|
if (!info)
|
|
27
30
|
return null;
|
|
28
31
|
const BlockComponent = blockManifestReader.value[info.editorBlock?.name ?? ""];
|
|
29
32
|
if (!BlockComponent)
|
|
30
33
|
return _jsx("div", { children: "Unable to load block component" });
|
|
31
|
-
|
|
34
|
+
let inner = _jsx(BlockComponent, { ...props });
|
|
35
|
+
if (editorConfig.wrapBlock) {
|
|
36
|
+
const result = editorConfig.wrapBlock(info.editorBlock, info, inner);
|
|
37
|
+
if (result) {
|
|
38
|
+
inner = result;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return (_jsx(EditorHighlights, { enabled: true, clientId: block?.clientId ?? "", children: _jsx(ErrorBoundaryEditor, { children: _jsx(APIProvider, { children: _jsx(Suspense, { children: inner }) }) }) }));
|
|
32
42
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { BlockTemplate } from "./block-templates.js";
|
|
2
|
+
import { WordPressGlobal } from "../../../utils/wp.js";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
import { type InlineEditingContext } from "../inline-editing.js";
|
|
2
5
|
export type EditorConfigItem = {
|
|
3
6
|
/**
|
|
4
7
|
* Optionally indicate that the post title field should be hidden. Use then when your header template includes a post title editor already.
|
|
@@ -25,6 +28,8 @@ export type EditorConfigItem = {
|
|
|
25
28
|
footerTemplate?: BlockTemplate;
|
|
26
29
|
/** A full-page block template */
|
|
27
30
|
template?: BlockTemplate;
|
|
31
|
+
/** Wrap the rendered block */
|
|
32
|
+
wrapBlock?: BlockWrapperGenerator;
|
|
28
33
|
};
|
|
29
34
|
type EditorBlock = {
|
|
30
35
|
name: string;
|
|
@@ -42,6 +47,7 @@ type EditorBlock = {
|
|
|
42
47
|
flags?: DefinedBlockFlags;
|
|
43
48
|
};
|
|
44
49
|
export type BlockWrapperClassGenerator = (block: EditorBlock, post: PostInfo) => string | void;
|
|
50
|
+
export type BlockWrapperGenerator = (block: EditorBlock, info: InlineEditingContext, children: ReactNode) => ReactNode | null;
|
|
45
51
|
export declare const editorConfigStore: {
|
|
46
52
|
config: EditorConfig | null;
|
|
47
53
|
currentBlocksConfig: EditorConfigItem;
|
|
@@ -116,6 +122,9 @@ type EditorConfig = {
|
|
|
116
122
|
customRichTextFormats?: CustomRichTextFormat[];
|
|
117
123
|
/** A list of template/post type matchers, and resulting editor config that they will apply */
|
|
118
124
|
matchers?: Matcher[];
|
|
125
|
+
} & EditorLifecycleHooks;
|
|
126
|
+
type EditorLifecycleHooks = {
|
|
127
|
+
onEditorReady: (editor: WordPressGlobal) => void;
|
|
119
128
|
};
|
|
120
129
|
/**
|
|
121
130
|
* This call should be placed in blocks/_editor.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-config.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/editor-config.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EAId,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"editor-config.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/editor-config.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EAId,MAAM,sBAAsB,CAAA;AAI7B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAEhE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;QAGI;IACJ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;;;;;QAQI;IACJ,UAAU,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAAC,EAAE,CAAA;IAClD,4FAA4F;IAC5F,sBAAsB,CAAC,EAAE,0BAA0B,CAAA;IACnD,4EAA4E;IAC5E,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,2DAA2D;IAC3D,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,8DAA8D;IAC9D,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,qBAAqB,CAAA;CAClC,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,aAAa,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACnC,UAAU,EAAE,GAAG,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,WAAW,GAAG,IAAI,CAAA;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,IAAI,CAAC,EAAE,CAAC,MAAM,gBAAgB,CAAC,EAAE,CAAA;IACjC,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,KAAK,MAAM,GAAG,IAAI,CAAA;AAE9F,MAAM,MAAM,qBAAqB,GAAG,CAClC,KAAK,EAAE,WAAW,EAClB,IAAI,EAAE,oBAAoB,EAC1B,QAAQ,EAAE,SAAS,KAChB,SAAS,GAAG,IAAI,CAAA;AAErB,eAAO,MAAM,iBAAiB;YACZ,YAAY,GAAG,IAAI;yBACR,gBAAgB;CAC3C,CAAA;AAEF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,gBAAgB,QAyC7D;AAED,KAAK,QAAQ,GACT;IACE,IAAI,EAAE,YAAY,CAAA;IAClB,SAAS,EAAE,KAAK,CAAA;IAChB,cAAc,EAAE,KAAK,CAAA;IACrB,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb,GACD;IACE,IAAI,EAAE,UAAU,CAAA;IAChB,SAAS,EAAE,IAAI,CAAA;IACf,cAAc,EAAE,KAAK,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;CACd,GACD;IACE,IAAI,EAAE,kBAAkB,CAAA;IACxB,SAAS,EAAE,KAAK,CAAA;IAChB,cAAc,EAAE,IAAI,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC/B,CAAA;AAEL,KAAK,eAAe,GAAG,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,GAAG,IAAI,CAAA;AAEzD,KAAK,OAAO,GAAG;IACb,mHAAmH;IACnH,KAAK,EAAE,eAAe,CAAA;IACtB,0EAA0E;IAC1E,MAAM,EAAE,gBAAgB,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,KAAK,gBAAgB,CAAC,CAAA;CAClE,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,kBAAkB,EAAE,CAAA;IAC1B,EAAE,EAAE,kBAAkB,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;IACb;;;QAGI;IACJ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;QAGI;IACJ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AAKD,KAAK,YAAY,GAAG;IAClB,qBAAqB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC9C,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB,GAAG,oBAAoB,CAAA;AAExB,KAAK,oBAAoB,GAAG;IAC1B,aAAa,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAA;CACjD,CAAA;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,QAKtD;AAED,wBAAgB,kBAAkB,IAiBb,QAAQ,CAC5B;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,WAAuB,QA4BnE;AAED,wBAAgB,mBAAmB,SAuBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installGutenbergHooks.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/installGutenbergHooks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"installGutenbergHooks.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/installGutenbergHooks.tsx"],"names":[],"mappings":"AA4BA,eAAO,MAAM,oBAAoB;;CAAgC,CAAA;AAEjE,wBAAgB,iBAAiB,kBAsBhC;AAED,wBAAgB,uBAAuB,SAqUtC"}
|
|
@@ -11,6 +11,7 @@ import { resolveAcfBlockName } from "./block-templates.js";
|
|
|
11
11
|
import { blocksByTag } from "./blocks-by-tag.js";
|
|
12
12
|
import { editorConfigStore, getEditingPostInfo, watchEditorTemplate } from "./editor-config.js";
|
|
13
13
|
import { rootBlocks } from "./root-blocks.js";
|
|
14
|
+
import { hash } from "object-code";
|
|
14
15
|
function listenForHandleResize() {
|
|
15
16
|
let interval = setInterval(() => {
|
|
16
17
|
let viewportTarget = document.querySelector(".interface-interface-skeleton__content");
|
|
@@ -63,8 +64,24 @@ export function installEDGutenbergHooks() {
|
|
|
63
64
|
Object.assign(props, getBlockMetadata(props.name));
|
|
64
65
|
}
|
|
65
66
|
props.isRootBlock = !props.rootClientId;
|
|
66
|
-
props.getParent = () =>
|
|
67
|
-
|
|
67
|
+
props.getParent = () => {
|
|
68
|
+
if (props.rootClientId) {
|
|
69
|
+
return wp.data.select("core/block-editor").getBlock(props.rootClientId);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
props.getSiblings = () => {
|
|
76
|
+
return wp.data.select("core/block-editor").getBlocks(props.rootClientId);
|
|
77
|
+
};
|
|
78
|
+
const postInfo = getEditingPostInfo();
|
|
79
|
+
let className = wp.data.useSelect(() => {
|
|
80
|
+
if (!generateClass) {
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
return generateClass(props, postInfo);
|
|
84
|
+
}, [hash([postInfo, props])]);
|
|
68
85
|
return _jsx(BlockListBlock, { ...props, className: className });
|
|
69
86
|
};
|
|
70
87
|
}, "withClientIdClassName");
|
|
@@ -4,9 +4,9 @@ export * from "./defineBlock.js";
|
|
|
4
4
|
export * from "./EditableText.js";
|
|
5
5
|
export * from "./editor/controls.js";
|
|
6
6
|
export * from "./editor/create-block.js";
|
|
7
|
-
export { defineEditorConfig, type BlockWrapperClassGenerator } from "./editor/editor-config.js";
|
|
7
|
+
export { defineEditorConfig, type BlockWrapperClassGenerator, type BlockWrapperGenerator } from "./editor/editor-config.js";
|
|
8
8
|
export * from "./editor/usePostEditor.js";
|
|
9
|
-
export { useBlockContext, useInlineEditableValue, useInnerBlocks, useTemplate, useBlockSelection, } from "./inline-editing.js";
|
|
9
|
+
export { useBlockContext, useInlineEditableValue, useInnerBlocks, useTemplate, useBlockSelection, useBlockParentProps, } from "./inline-editing.js";
|
|
10
10
|
export * from "./InnerBlocks.js";
|
|
11
11
|
export * from "./SlotBlocks.js";
|
|
12
12
|
export { useDebugNode, DebugNode } from "./block-debugger.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,OAAO,EAAE,kBAAkB,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,OAAO,EAAE,kBAAkB,EAAE,KAAK,0BAA0B,EAAE,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAC3H,cAAc,2BAA2B,CAAA;AACzC,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,qBAAqB,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -6,7 +6,7 @@ export * from "./editor/controls.js";
|
|
|
6
6
|
export * from "./editor/create-block.js";
|
|
7
7
|
export { defineEditorConfig } from "./editor/editor-config.js";
|
|
8
8
|
export * from "./editor/usePostEditor.js";
|
|
9
|
-
export { useBlockContext, useInlineEditableValue, useInnerBlocks, useTemplate, useBlockSelection, } from "./inline-editing.js";
|
|
9
|
+
export { useBlockContext, useInlineEditableValue, useInnerBlocks, useTemplate, useBlockSelection, useBlockParentProps, } from "./inline-editing.js";
|
|
10
10
|
export * from "./InnerBlocks.js";
|
|
11
11
|
export * from "./SlotBlocks.js";
|
|
12
12
|
export { useDebugNode, DebugNode } from "./block-debugger.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContentBlock } from "./ContentBlocks.js";
|
|
2
1
|
import { PropsWithChildren } from "react";
|
|
2
|
+
import { ContentBlock } from "./ContentBlocks.js";
|
|
3
3
|
type Attributes = Record<string, any>;
|
|
4
4
|
export type InlineValueStore<T> = [value: T, setValue: (value: T) => void];
|
|
5
5
|
export type BlockInstance = {
|
|
@@ -10,7 +10,7 @@ export type BlockInstance = {
|
|
|
10
10
|
name: string;
|
|
11
11
|
originalContent?: string | undefined;
|
|
12
12
|
props?: any;
|
|
13
|
-
}
|
|
13
|
+
} & Partial<PublicBlockMeta>;
|
|
14
14
|
export type InlineEditingContext = {
|
|
15
15
|
values: Attributes;
|
|
16
16
|
innerBlocks: ContentBlock[];
|
|
@@ -66,5 +66,9 @@ export declare function useBlockSelection(): any;
|
|
|
66
66
|
* As such, there may be inconsistencies between the editor and the frontend.
|
|
67
67
|
*/
|
|
68
68
|
export declare function useTemplate(): keyof ViewProps;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the nearest parent block of the given type, with fully-typed block props
|
|
71
|
+
*/
|
|
72
|
+
export declare function useBlockParentProps<K extends keyof BlockProps>(blockName: K): BlockProps[K] | undefined;
|
|
69
73
|
export {};
|
|
70
74
|
//# sourceMappingURL=inline-editing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-editing.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/inline-editing.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"inline-editing.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/blocks/inline-editing.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAA8B,MAAM,OAAO,CAAA;AAGpF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGjD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAErC,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC,CAAA;AAE1E,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,EAAE,GAAG,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,aAAa,EAAE,CAAA;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAE5B,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,YAAY,EAAE,CAAA;IAC3B,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE,CAAA;IAC/B,KAAK,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAC3B,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,GAAG,CAAA;IACtC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAC1B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,oBAAoB,2DAA6D,CAAA;AAE9F,KAAK,aAAa,GAAG,iBAAiB,CAAC;IACrC,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,YAAY,EAAE,CAAA;IAC3B,KAAK,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAC3B,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACtC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,aAAa,+BAwChE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,iBAAiB,CAAC,EAAE,CAAC,+BAazE;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAQ5F;AAED;;;IAGI;AACJ,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAexG;AAED,wBAAgB,gBAAgB,aApHF,GAAG,KAAK,IAAI,cAuHzC;AAED,wBAAgB,cAAc,IAAI,YAAY,EAAE,CAM/C;AAED,wBAAgB,eAAe,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE,CAGxD;AAED,wBAAgB,eAAe,qCAE9B;AAED,wBAAgB,iBAAiB,QAOhC;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,IAAI,MAAM,SAAS,CAa7C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,UAAU,EAAE,SAAS,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,SAAS,CAYvG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useContext, useId, useMemo } from "react";
|
|
3
|
-
import { usePostEditor } from "./editor/usePostEditor.js";
|
|
4
3
|
import { useRoute } from "../routing/index.js";
|
|
5
4
|
import { addBlockMetadata } from "./block-utils.js";
|
|
5
|
+
import { usePostEditor } from "./editor/usePostEditor.js";
|
|
6
6
|
export const InlineEditingContext = createContext(undefined);
|
|
7
7
|
export function InlineEditingContextProvider(props) {
|
|
8
8
|
const parentContext = useContext(InlineEditingContext);
|
|
@@ -129,3 +129,20 @@ export function useTemplate() {
|
|
|
129
129
|
return useRoute().view;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Returns the nearest parent block of the given type, with fully-typed block props
|
|
134
|
+
*/
|
|
135
|
+
export function useBlockParentProps(blockName) {
|
|
136
|
+
const acfName = blockName.startsWith("acf/") ? blockName : "acf/" + blockName.replace("/", "-").replace("_", "");
|
|
137
|
+
const ctx = useContext(InlineEditingContext);
|
|
138
|
+
const parent = ctx?.parents?.find(([name]) => name === acfName);
|
|
139
|
+
if (parent) {
|
|
140
|
+
if (env.admin) {
|
|
141
|
+
return parent[1]?.attributes?.props;
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
return parent?.[1];
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return undefined;
|
|
148
|
+
}
|
|
@@ -13,5 +13,5 @@ export * from "./hooks/useRouterState.js";
|
|
|
13
13
|
export * from "./hooks/useRestorableState.js";
|
|
14
14
|
export * from "./hooks/useHydrating.js";
|
|
15
15
|
export * from "./hooks/useSearchParams.js";
|
|
16
|
-
export { getLinkHandlerMode, isSameOrigin } from "./utils.js";
|
|
16
|
+
export { stringifyQuery, stringifyRouteLink, parseQuery, getRouteMeta, getLinkHandlerMode, addTrailingSlash, isSameOrigin, isSamePathname, normalizeRoute, } from "./utils.js";
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/routing/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAE1B,cAAc,sBAAsB,CAAA;AACpC,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mCAAmC,CAAA;AAEjD,cAAc,qBAAqB,CAAA;AACnC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/app/lib/routing/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAE1B,cAAc,sBAAsB,CAAA;AACpC,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mCAAmC,CAAA;AAEjD,cAAc,qBAAqB,CAAA;AACnC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,UAAU,EAAE,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,GAAG,MAAM,YAAY,CAAA"}
|
|
@@ -13,4 +13,4 @@ export * from "./hooks/useRouterState.js";
|
|
|
13
13
|
export * from "./hooks/useRestorableState.js";
|
|
14
14
|
export * from "./hooks/useHydrating.js";
|
|
15
15
|
export * from "./hooks/useSearchParams.js";
|
|
16
|
-
export { getLinkHandlerMode, isSameOrigin } from "./utils.js";
|
|
16
|
+
export { stringifyQuery, stringifyRouteLink, parseQuery, getRouteMeta, getLinkHandlerMode, addTrailingSlash, isSameOrigin, isSamePathname, normalizeRoute, } from "./utils.js";
|
|
@@ -365,7 +365,7 @@ export class ServerContext {
|
|
|
365
365
|
});
|
|
366
366
|
const preferredCacheDuration = parseInt(result.headers.get("x-ed-cache-duration") ?? "");
|
|
367
367
|
let resultStatus = result.status;
|
|
368
|
-
let resultHeaders = result.headers;
|
|
368
|
+
let resultHeaders = new Headers(result.headers);
|
|
369
369
|
let resultData = await result.json();
|
|
370
370
|
if (resultData && typeof resultData === "object") {
|
|
371
371
|
resultData.__generated = new Date().toISOString();
|
package/dist/app/utils/wp.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as BlockEditor from "
|
|
2
|
-
import * as Blocks from "
|
|
3
|
-
import * as Hooks from "
|
|
4
|
-
import * as Element from "
|
|
5
|
-
import * as Components from "
|
|
6
|
-
import * as Data from "
|
|
7
|
-
import * as CoreData from "
|
|
8
|
-
import * as Editor from "
|
|
9
|
-
import * as Compose from "
|
|
10
|
-
import * as RichText from "
|
|
11
|
-
type WordPressGlobal = {
|
|
1
|
+
import * as BlockEditor from "../../../wp/@types/block-editor/index.js";
|
|
2
|
+
import * as Blocks from "../../../wp/@types/blocks/index.js";
|
|
3
|
+
import * as Hooks from "../../../wp/@types/hooks/index.js";
|
|
4
|
+
import * as Element from "../../../wp/@types/element/index.js";
|
|
5
|
+
import * as Components from "../../../wp/@types/components/index.js";
|
|
6
|
+
import * as Data from "../../../wp/@types/data/index.js";
|
|
7
|
+
import * as CoreData from "../../../wp/@types/core-data/index.js";
|
|
8
|
+
import * as Editor from "../../../wp/@types/editor/index.js";
|
|
9
|
+
import * as Compose from "../../../wp/@types/compose/index.js";
|
|
10
|
+
import * as RichText from "../../../wp/@types/rich-text/index.js";
|
|
11
|
+
export type WordPressGlobal = {
|
|
12
12
|
blockEditor: typeof BlockEditor;
|
|
13
13
|
blocks: typeof Blocks;
|
|
14
14
|
hooks: typeof Hooks;
|
|
@@ -23,5 +23,4 @@ type WordPressGlobal = {
|
|
|
23
23
|
declare global {
|
|
24
24
|
const wp: WordPressGlobal;
|
|
25
25
|
}
|
|
26
|
-
export {};
|
|
27
26
|
//# sourceMappingURL=wp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wp.d.ts","sourceRoot":"","sources":["../../../src/app/utils/wp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"wp.d.ts","sourceRoot":"","sources":["../../../src/app/utils/wp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,0CAA0C,CAAA;AACvE,OAAO,KAAK,MAAM,MAAM,oCAAoC,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAA;AAC1D,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAA;AAC9D,OAAO,KAAK,UAAU,MAAM,wCAAwC,CAAA;AACpE,OAAO,KAAK,IAAI,MAAM,kCAAkC,CAAA;AACxD,OAAO,KAAK,QAAQ,MAAM,uCAAuC,CAAA;AACjE,OAAO,KAAK,MAAM,MAAM,oCAAoC,CAAA;AAC5D,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAA;AAC9D,OAAO,KAAK,QAAQ,MAAM,uCAAuC,CAAA;AAEjE,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,EAAE,OAAO,WAAW,CAAA;IAC/B,MAAM,EAAE,OAAO,MAAM,CAAA;IACrB,KAAK,EAAE,OAAO,KAAK,CAAA;IACnB,OAAO,EAAE,OAAO,OAAO,CAAA;IACvB,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,UAAU,EAAE,OAAO,UAAU,CAAA;IAC7B,OAAO,EAAE,OAAO,OAAO,CAAA;IACvB,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,MAAM,EAAE,OAAO,MAAM,CAAA;IACrB,QAAQ,EAAE,OAAO,QAAQ,CAAA;CAC1B,CAAA;AAED,OAAO,CAAC,MAAM,CAAC;IACb,MAAM,EAAE,EAAE,eAAe,CAAA;CAC1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.
|
|
1
|
+
export declare const VERSION = "2.3.17";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/node/cli/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "2.3.
|
|
1
|
+
export const VERSION = "2.3.17";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vinxi-app.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-app.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAKtD,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,WAAW,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,EAAE,QAAQ,CAAA;CACjB,CAAA;AAED,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,MAAM,CAAA;AAC7D,KAAK,mBAAmB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,QAAQ,CAAA;AACrD,KAAK,iBAAiB,GAAG,MAAM,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAA;CAC1C,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"vinxi-app.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-app.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAKtD,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,WAAW,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,EAAE,QAAQ,CAAA;CACjB,CAAA;AAED,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,MAAM,CAAA;AAC7D,KAAK,mBAAmB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,QAAQ,CAAA;AACrD,KAAK,iBAAiB,GAAG,MAAM,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAA;CAC1C,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,OA4P3C"}
|
|
@@ -19,7 +19,6 @@ export function createVinxiApp(args) {
|
|
|
19
19
|
expiration,
|
|
20
20
|
allowQuery: [],
|
|
21
21
|
passQuery: false,
|
|
22
|
-
group: 32,
|
|
23
22
|
},
|
|
24
23
|
headers: {
|
|
25
24
|
"Vercel-Cache-Tag": "data",
|
|
@@ -38,7 +37,6 @@ export function createVinxiApp(args) {
|
|
|
38
37
|
expiration,
|
|
39
38
|
allowQuery: [],
|
|
40
39
|
passQuery: false,
|
|
41
|
-
group: 32,
|
|
42
40
|
},
|
|
43
41
|
headers: {
|
|
44
42
|
"Vercel-Cache-Tag": "data",
|
|
@@ -123,6 +121,7 @@ export function createVinxiApp(args) {
|
|
|
123
121
|
},
|
|
124
122
|
};
|
|
125
123
|
}, {}),
|
|
124
|
+
"/": serverlessPageRoute(cacheConfig.pageDataTTL ?? 0),
|
|
126
125
|
"/**/*": serverlessPageRoute(cacheConfig.pageDataTTL ?? 0),
|
|
127
126
|
},
|
|
128
127
|
vercel: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vinxi-codegen.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-codegen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAGlD,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,UAExE;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,OAAO,iBAIlD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"vinxi-codegen.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-codegen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAGlD,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,UAExE;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,OAAO,iBAIlD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,aA+vB/C"}
|
|
@@ -313,7 +313,10 @@ export function createVinxiCodegen(opts) {
|
|
|
313
313
|
eventHandler(async (event) => {
|
|
314
314
|
const url = getRequestURL(event)
|
|
315
315
|
|
|
316
|
-
const
|
|
316
|
+
const queryPath = event.path.replace("/_data/query", "")
|
|
317
|
+
const paramSeparator = queryPath.indexOf("=")
|
|
318
|
+
const id = paramSeparator === -1 ? queryPath : queryPath.slice(0, paramSeparator)
|
|
319
|
+
const paramString = paramSeparator === -1 ? undefined : queryPath.slice(paramSeparator + 1)
|
|
317
320
|
|
|
318
321
|
let params = {}
|
|
319
322
|
try {
|
|
@@ -404,6 +407,17 @@ export function createVinxiCodegen(opts) {
|
|
|
404
407
|
const serverContext = ServerContext.main
|
|
405
408
|
const url = getRequestURL(event)
|
|
406
409
|
|
|
410
|
+
// Vercel invokes ISR functions through an internal bracket route. Nitro normally
|
|
411
|
+
// restores the public pathname before this handler runs, but it is not guaranteed
|
|
412
|
+
// for every stale/revalidation request, so resolve it before any route checks.
|
|
413
|
+
const vercelRouteMatches = getRequestHeaders(event)["x-now-route-matches"]
|
|
414
|
+
const isrRoute = vercelRouteMatches
|
|
415
|
+
? new URLSearchParams(vercelRouteMatches).get("__isr_route")
|
|
416
|
+
: url.searchParams.get("__isr_route")
|
|
417
|
+
if (isrRoute) {
|
|
418
|
+
url.pathname = isrRoute
|
|
419
|
+
}
|
|
420
|
+
|
|
407
421
|
await Promise.allSettled([viewManifestReader.preloadAll(), blockManifestReader.preloadAll()])
|
|
408
422
|
|
|
409
423
|
// RPC
|
|
@@ -428,7 +442,7 @@ export function createVinxiCodegen(opts) {
|
|
|
428
442
|
}
|
|
429
443
|
|
|
430
444
|
// Proxy WordPress
|
|
431
|
-
if (url.pathname.includes(".") || url.pathname.startsWith("/graphql") || url.pathname.startsWith("/wp-")) {
|
|
445
|
+
if ((url.pathname.includes(".") && !url.pathname.includes("[")) || url.pathname.startsWith("/graphql") || url.pathname.startsWith("/wp-")) {
|
|
432
446
|
return proxyWpAdmin(event)
|
|
433
447
|
}
|
|
434
448
|
|
package/dist/node/utils/fs.d.ts
CHANGED
|
@@ -81,12 +81,12 @@ export declare const fs: {
|
|
|
81
81
|
mkdtemp(prefix: string, options?: import("fs").ObjectEncodingOptions | BufferEncoding | null): Promise<string>;
|
|
82
82
|
mkdtemp(prefix: string, options: import("fs").BufferEncodingOption): Promise<NonSharedBuffer>;
|
|
83
83
|
mkdtemp(prefix: string, options?: import("fs").ObjectEncodingOptions | BufferEncoding | null): Promise<string | NonSharedBuffer>;
|
|
84
|
-
writeFile(file: import("fs").PathLike | nodeFs.FileHandle, data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView
|
|
84
|
+
writeFile(file: import("fs").PathLike | nodeFs.FileHandle, data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView>, options?: (import("fs").ObjectEncodingOptions & {
|
|
85
85
|
mode?: import("fs").Mode | undefined;
|
|
86
86
|
flag?: import("fs").OpenMode | undefined;
|
|
87
87
|
flush?: boolean | undefined;
|
|
88
88
|
} & import("events").Abortable) | BufferEncoding | null): Promise<void>;
|
|
89
|
-
appendFile(path: import("fs").PathLike | nodeFs.FileHandle, data: string |
|
|
89
|
+
appendFile(path: import("fs").PathLike | nodeFs.FileHandle, data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView>, options?: (import("fs").ObjectEncodingOptions & nodeFs.FlagAndOpenMode & {
|
|
90
90
|
flush?: boolean | undefined;
|
|
91
91
|
}) | BufferEncoding | null): Promise<void>;
|
|
92
92
|
readFile(path: import("fs").PathLike | nodeFs.FileHandle, options?: ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../../src/node/utils/fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAGrC,eAAO,MAAM,EAAE;6BAEkB,MAAM,WAAW,MAAM;iCAWnB,MAAM,WAAW,GAAG;sBAW/B,MAAM,WAAW,GAAG;qBAGrB,MAAM;mBAIR,MAAM;mBAQN,MAAM;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../../src/node/utils/fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAGrC,eAAO,MAAM,EAAE;6BAEkB,MAAM,WAAW,MAAM;iCAWnB,MAAM,WAAW,GAAG;sBAW/B,MAAM,WAAW,GAAG;qBAGrB,MAAM;mBAIR,MAAM;mBAQN,MAAM;;;;;;;;;;;;iBAQ4z1B,CAAC;;;;qBAAqkD,CAAC;iBAA8C,CAAC;;;;qBAAmjB,CAAC;iBAA8C,CAAC;;;qBAAwhB,CAAC;iBAA8C,CAAC;;;;iBAA2hB,CAAC;;;;;iBAA2c,CAAC;;;;;;;cAAu9F,CAAC;;;;;;;cAAoe,CAAC;;;;;;;cAAif,CAAC;;;;;;;;;;;;;;;;;;;;;YAAwqT,CAAC;YAAwC,CAAC;aAAoR,CAAC;;;aAA4/B,CAAC;;;gBAAosE,CAAC;YAAwC,CAAC;;;;YAAqoB,CAAC;;;YAAwrB,CAAC;;;;;;;;;;;;CADjiiD,CAAA"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal dependencies
|
|
3
|
+
*/
|
|
4
|
+
export { speak } from '../shared/index';
|
|
5
|
+
/**
|
|
6
|
+
* This no-op function is exported to provide compatibility with the `wp-a11y` Script.
|
|
7
|
+
*
|
|
8
|
+
* Filters should inject the relevant HTML on page load instead of requiring setup.
|
|
9
|
+
*/
|
|
10
|
+
export declare const setup: () => void;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build the live regions markup.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} [ariaLive] Value for the 'aria-live' attribute; default: 'polite'.
|
|
5
|
+
*
|
|
6
|
+
* @return {HTMLDivElement} The ARIA live region HTML element.
|
|
7
|
+
*/
|
|
8
|
+
export default function addContainer(ariaLive?: string): HTMLDivElement;
|
|
9
|
+
//# sourceMappingURL=add-container.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build the explanatory text to be placed before the aria live regions.
|
|
3
|
+
*
|
|
4
|
+
* This text is initially hidden from assistive technologies by using a `hidden`
|
|
5
|
+
* HTML attribute which is then removed once a message fills the aria-live regions.
|
|
6
|
+
*
|
|
7
|
+
* @return {HTMLParagraphElement} The explanatory text HTML element.
|
|
8
|
+
*/
|
|
9
|
+
export default function addIntroText(): HTMLParagraphElement;
|
|
10
|
+
//# sourceMappingURL=add-intro-text.d.ts.map
|