@wordpress/block-editor 14.5.0 → 14.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/README.md +0 -8
- package/build/autocompleters/block.js +13 -5
- package/build/autocompleters/block.js.map +1 -1
- package/build/components/block-canvas/index.js +10 -0
- package/build/components/block-canvas/index.js.map +1 -1
- package/build/components/block-card/index.js +2 -2
- package/build/components/block-card/index.js.map +1 -1
- package/build/components/block-full-height-alignment-control/index.js +1 -1
- package/build/components/block-full-height-alignment-control/index.js.map +1 -1
- package/build/components/block-list/block.js +1 -1
- package/build/components/block-list/block.js.map +1 -1
- package/build/components/block-list/block.native.js +1 -7
- package/build/components/block-list/block.native.js.map +1 -1
- package/build/components/block-list/index.js +5 -5
- package/build/components/block-list/index.js.map +1 -1
- package/build/components/block-list/use-block-props/index.js +1 -2
- package/build/components/block-list/use-block-props/index.js.map +1 -1
- package/build/components/block-list/use-block-props/use-focus-first-element.js +4 -3
- package/build/components/block-list/use-block-props/use-focus-first-element.js.map +1 -1
- package/build/components/block-list/use-block-props/use-selected-block-event-handlers.js +3 -6
- package/build/components/block-list/use-block-props/use-selected-block-event-handlers.js.map +1 -1
- package/build/components/block-list/use-in-between-inserter.js +1 -1
- package/build/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build/components/block-patterns-paging/index.js +1 -1
- package/build/components/block-patterns-paging/index.js.map +1 -1
- package/build/components/block-popover/index.js +2 -45
- package/build/components/block-popover/index.js.map +1 -1
- package/build/components/block-preview/index.js +2 -2
- package/build/components/block-preview/index.js.map +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.js +5 -0
- package/build/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build/components/block-settings-menu/index.js +4 -3
- package/build/components/block-settings-menu/index.js.map +1 -1
- package/build/components/block-toolbar/change-design.js +122 -0
- package/build/components/block-toolbar/change-design.js.map +1 -0
- package/build/components/block-toolbar/index.js +19 -7
- package/build/components/block-toolbar/index.js.map +1 -1
- package/build/components/block-tools/index.js +4 -10
- package/build/components/block-tools/index.js.map +1 -1
- package/build/components/block-tools/insertion-point.js +4 -3
- package/build/components/block-tools/insertion-point.js.map +1 -1
- package/build/components/block-tools/use-show-block-tools.js +3 -9
- package/build/components/block-tools/use-show-block-tools.js.map +1 -1
- package/build/components/block-tools/zoom-out-mode-inserters.js +20 -29
- package/build/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build/components/block-variation-transforms/index.js +2 -2
- package/build/components/block-variation-transforms/index.js.map +1 -1
- package/build/components/block-vertical-alignment-control/ui.js +6 -10
- package/build/components/block-vertical-alignment-control/ui.js.map +1 -1
- package/build/components/border-radius-control/linked-button.js +7 -10
- package/build/components/border-radius-control/linked-button.js.map +1 -1
- package/build/components/collab/block-comment-icon-slot.js +18 -0
- package/build/components/collab/block-comment-icon-slot.js.map +1 -0
- package/build/components/collab/block-comment-icon-toolbar-slot.js +18 -0
- package/build/components/collab/block-comment-icon-toolbar-slot.js.map +1 -0
- package/build/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +7 -1
- package/build/components/colors-gradients/use-multiple-origin-colors-and-gradients.js.map +1 -1
- package/build/components/convert-to-group-buttons/toolbar.js +4 -4
- package/build/components/convert-to-group-buttons/toolbar.js.map +1 -1
- package/build/components/global-styles/color-panel.js +1 -4
- package/build/components/global-styles/color-panel.js.map +1 -1
- package/build/components/global-styles/use-global-styles-context.native.js +6 -0
- package/build/components/global-styles/use-global-styles-context.native.js.map +1 -1
- package/build/components/iframe/index.js +17 -22
- package/build/components/iframe/index.js.map +1 -1
- package/build/components/image-size-control/index.js +61 -20
- package/build/components/image-size-control/index.js.map +1 -1
- package/build/components/inner-blocks/index.js +9 -5
- package/build/components/inner-blocks/index.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/pattern-category-previews.js +2 -2
- package/build/components/inserter/block-patterns-tab/pattern-category-previews.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/patterns-filter.js +1 -1
- package/build/components/inserter/block-patterns-tab/patterns-filter.js.map +1 -1
- package/build/components/inserter/category-tabs/index.js +15 -2
- package/build/components/inserter/category-tabs/index.js.map +1 -1
- package/build/components/inserter/menu.js +4 -2
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/inserter-button/index.native.js +1 -1
- package/build/components/inserter-button/index.native.js.map +1 -1
- package/build/components/inspector-controls-tabs/index.js +0 -2
- package/build/components/inspector-controls-tabs/index.js.map +1 -1
- package/build/components/inspector-controls-tabs/utils.js +3 -6
- package/build/components/inspector-controls-tabs/utils.js.map +1 -1
- package/build/components/link-control/link-preview.js +12 -9
- package/build/components/link-control/link-preview.js.map +1 -1
- package/build/components/list-view/appender.js +4 -3
- package/build/components/list-view/appender.js.map +1 -1
- package/build/components/list-view/branch.js +6 -5
- package/build/components/list-view/branch.js.map +1 -1
- package/build/components/list-view/index.js +1 -2
- package/build/components/list-view/index.js.map +1 -1
- package/build/components/provider/index.js +1 -1
- package/build/components/provider/index.js.map +1 -1
- package/build/components/rich-text/event-listeners/index.js +3 -1
- package/build/components/rich-text/event-listeners/index.js.map +1 -1
- package/build/components/rich-text/index.native.js +2 -6
- package/build/components/rich-text/index.native.js.map +1 -1
- package/build/components/spacing-sizes-control/index.js +2 -2
- package/build/components/spacing-sizes-control/index.js.map +1 -1
- package/build/components/spacing-sizes-control/input-controls/spacing-input-control.js +3 -3
- package/build/components/spacing-sizes-control/input-controls/spacing-input-control.js.map +1 -1
- package/build/components/spacing-sizes-control/linked-button.js +1 -5
- package/build/components/spacing-sizes-control/linked-button.js.map +1 -1
- package/build/components/tool-selector/index.js +1 -4
- package/build/components/tool-selector/index.js.map +1 -1
- package/build/components/url-input/index.js +1 -1
- package/build/components/url-input/index.js.map +1 -1
- package/build/components/use-block-commands/index.js +1 -1
- package/build/components/use-block-commands/index.js.map +1 -1
- package/build/components/use-block-drop-zone/index.js +5 -5
- package/build/components/use-block-drop-zone/index.js.map +1 -1
- package/build/components/use-block-drop-zone/index.native.js +0 -1
- package/build/components/use-block-drop-zone/index.native.js.map +1 -1
- package/build/components/use-moving-animation/index.js +1 -3
- package/build/components/use-moving-animation/index.js.map +1 -1
- package/build/components/use-settings/index.js +1 -3
- package/build/components/use-settings/index.js.map +1 -1
- package/build/components/writing-flow/index.js +5 -3
- package/build/components/writing-flow/index.js.map +1 -1
- package/build/components/writing-flow/use-tab-nav.js +2 -3
- package/build/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build/hooks/block-bindings.js +19 -8
- package/build/hooks/block-bindings.js.map +1 -1
- package/build/hooks/contrast-checker.js +0 -1
- package/build/hooks/contrast-checker.js.map +1 -1
- package/build/hooks/duotone.js +2 -2
- package/build/hooks/duotone.js.map +1 -1
- package/build/hooks/style.js +4 -1
- package/build/hooks/style.js.map +1 -1
- package/build/hooks/use-zoom-out.js +13 -22
- package/build/hooks/use-zoom-out.js.map +1 -1
- package/build/index.js +0 -7
- package/build/index.js.map +1 -1
- package/build/private-apis.js +6 -3
- package/build/private-apis.js.map +1 -1
- package/build/store/actions.js +2 -33
- package/build/store/actions.js.map +1 -1
- package/build/store/defaults.js +1 -1
- package/build/store/defaults.js.map +1 -1
- package/build/store/private-actions.js +57 -8
- package/build/store/private-actions.js.map +1 -1
- package/build/store/private-selectors.js +9 -21
- package/build/store/private-selectors.js.map +1 -1
- package/build/store/reducer.js +16 -6
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +44 -7
- package/build/store/selectors.js.map +1 -1
- package/build/utils/dom.js +16 -1
- package/build/utils/dom.js.map +1 -1
- package/build/utils/get-font-styles-and-weights.js +1 -1
- package/build/utils/get-font-styles-and-weights.js.map +1 -1
- package/build/utils/transform-styles/index.js +4 -3
- package/build/utils/transform-styles/index.js.map +1 -1
- package/build-module/autocompleters/block.js +14 -6
- package/build-module/autocompleters/block.js.map +1 -1
- package/build-module/components/block-canvas/index.js +11 -1
- package/build-module/components/block-canvas/index.js.map +1 -1
- package/build-module/components/block-card/index.js +3 -3
- package/build-module/components/block-card/index.js.map +1 -1
- package/build-module/components/block-full-height-alignment-control/index.js +1 -1
- package/build-module/components/block-full-height-alignment-control/index.js.map +1 -1
- package/build-module/components/block-list/block.js +1 -1
- package/build-module/components/block-list/block.js.map +1 -1
- package/build-module/components/block-list/block.native.js +1 -7
- package/build-module/components/block-list/block.native.js.map +1 -1
- package/build-module/components/block-list/index.js +5 -5
- package/build-module/components/block-list/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/index.js +1 -2
- package/build-module/components/block-list/use-block-props/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-focus-first-element.js +4 -3
- package/build-module/components/block-list/use-block-props/use-focus-first-element.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +3 -6
- package/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js.map +1 -1
- package/build-module/components/block-list/use-in-between-inserter.js +1 -1
- package/build-module/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build-module/components/block-patterns-paging/index.js +1 -1
- package/build-module/components/block-patterns-paging/index.js.map +1 -1
- package/build-module/components/block-popover/index.js +2 -45
- package/build-module/components/block-popover/index.js.map +1 -1
- package/build-module/components/block-preview/index.js +2 -2
- package/build-module/components/block-preview/index.js.map +1 -1
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +5 -0
- package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build-module/components/block-settings-menu/index.js +5 -4
- package/build-module/components/block-settings-menu/index.js.map +1 -1
- package/build-module/components/block-toolbar/change-design.js +114 -0
- package/build-module/components/block-toolbar/change-design.js.map +1 -0
- package/build-module/components/block-toolbar/index.js +19 -7
- package/build-module/components/block-toolbar/index.js.map +1 -1
- package/build-module/components/block-tools/index.js +4 -10
- package/build-module/components/block-tools/index.js.map +1 -1
- package/build-module/components/block-tools/insertion-point.js +4 -3
- package/build-module/components/block-tools/insertion-point.js.map +1 -1
- package/build-module/components/block-tools/use-show-block-tools.js +3 -9
- package/build-module/components/block-tools/use-show-block-tools.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-mode-inserters.js +20 -29
- package/build-module/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build-module/components/block-variation-transforms/index.js +2 -2
- package/build-module/components/block-variation-transforms/index.js.map +1 -1
- package/build-module/components/block-vertical-alignment-control/ui.js +6 -10
- package/build-module/components/block-vertical-alignment-control/ui.js.map +1 -1
- package/build-module/components/border-radius-control/linked-button.js +8 -11
- package/build-module/components/border-radius-control/linked-button.js.map +1 -1
- package/build-module/components/collab/block-comment-icon-slot.js +11 -0
- package/build-module/components/collab/block-comment-icon-slot.js.map +1 -0
- package/build-module/components/collab/block-comment-icon-toolbar-slot.js +11 -0
- package/build-module/components/collab/block-comment-icon-toolbar-slot.js.map +1 -0
- package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +7 -1
- package/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js.map +1 -1
- package/build-module/components/convert-to-group-buttons/toolbar.js +4 -4
- package/build-module/components/convert-to-group-buttons/toolbar.js.map +1 -1
- package/build-module/components/global-styles/color-panel.js +2 -5
- package/build-module/components/global-styles/color-panel.js.map +1 -1
- package/build-module/components/global-styles/use-global-styles-context.native.js +6 -0
- package/build-module/components/global-styles/use-global-styles-context.native.js.map +1 -1
- package/build-module/components/iframe/index.js +17 -22
- package/build-module/components/iframe/index.js.map +1 -1
- package/build-module/components/image-size-control/index.js +62 -21
- package/build-module/components/image-size-control/index.js.map +1 -1
- package/build-module/components/inner-blocks/index.js +9 -5
- package/build-module/components/inner-blocks/index.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +2 -2
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/patterns-filter.js +1 -1
- package/build-module/components/inserter/block-patterns-tab/patterns-filter.js.map +1 -1
- package/build-module/components/inserter/category-tabs/index.js +15 -2
- package/build-module/components/inserter/category-tabs/index.js.map +1 -1
- package/build-module/components/inserter/menu.js +5 -3
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/inserter-button/index.native.js +1 -1
- package/build-module/components/inserter-button/index.native.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/index.js +0 -2
- package/build-module/components/inspector-controls-tabs/index.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/utils.js +3 -6
- package/build-module/components/inspector-controls-tabs/utils.js.map +1 -1
- package/build-module/components/link-control/link-preview.js +13 -10
- package/build-module/components/link-control/link-preview.js.map +1 -1
- package/build-module/components/list-view/appender.js +4 -3
- package/build-module/components/list-view/appender.js.map +1 -1
- package/build-module/components/list-view/branch.js +7 -6
- package/build-module/components/list-view/branch.js.map +1 -1
- package/build-module/components/list-view/index.js +1 -2
- package/build-module/components/list-view/index.js.map +1 -1
- package/build-module/components/provider/index.js +1 -1
- package/build-module/components/provider/index.js.map +1 -1
- package/build-module/components/rich-text/event-listeners/index.js +4 -2
- package/build-module/components/rich-text/event-listeners/index.js.map +1 -1
- package/build-module/components/rich-text/index.native.js +2 -6
- package/build-module/components/rich-text/index.native.js.map +1 -1
- package/build-module/components/spacing-sizes-control/index.js +3 -3
- package/build-module/components/spacing-sizes-control/index.js.map +1 -1
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +4 -4
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js.map +1 -1
- package/build-module/components/spacing-sizes-control/linked-button.js +2 -6
- package/build-module/components/spacing-sizes-control/linked-button.js.map +1 -1
- package/build-module/components/tool-selector/index.js +1 -4
- package/build-module/components/tool-selector/index.js.map +1 -1
- package/build-module/components/url-input/index.js +1 -1
- package/build-module/components/url-input/index.js.map +1 -1
- package/build-module/components/use-block-commands/index.js +1 -1
- package/build-module/components/use-block-commands/index.js.map +1 -1
- package/build-module/components/use-block-drop-zone/index.js +5 -5
- package/build-module/components/use-block-drop-zone/index.js.map +1 -1
- package/build-module/components/use-block-drop-zone/index.native.js +0 -1
- package/build-module/components/use-block-drop-zone/index.native.js.map +1 -1
- package/build-module/components/use-moving-animation/index.js +1 -3
- package/build-module/components/use-moving-animation/index.js.map +1 -1
- package/build-module/components/use-settings/index.js +1 -3
- package/build-module/components/use-settings/index.js.map +1 -1
- package/build-module/components/writing-flow/index.js +5 -3
- package/build-module/components/writing-flow/index.js.map +1 -1
- package/build-module/components/writing-flow/use-tab-nav.js +2 -3
- package/build-module/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build-module/hooks/block-bindings.js +20 -9
- package/build-module/hooks/block-bindings.js.map +1 -1
- package/build-module/hooks/contrast-checker.js +0 -1
- package/build-module/hooks/contrast-checker.js.map +1 -1
- package/build-module/hooks/duotone.js +2 -2
- package/build-module/hooks/duotone.js.map +1 -1
- package/build-module/hooks/style.js +4 -1
- package/build-module/hooks/style.js.map +1 -1
- package/build-module/hooks/use-zoom-out.js +15 -23
- package/build-module/hooks/use-zoom-out.js.map +1 -1
- package/build-module/index.js +1 -1
- package/build-module/index.js.map +1 -1
- package/build-module/private-apis.js +7 -5
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/actions.js +2 -33
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/defaults.js +1 -1
- package/build-module/store/defaults.js.map +1 -1
- package/build-module/store/private-actions.js +54 -7
- package/build-module/store/private-actions.js.map +1 -1
- package/build-module/store/private-selectors.js +9 -20
- package/build-module/store/private-selectors.js.map +1 -1
- package/build-module/store/reducer.js +16 -6
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +45 -8
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/dom.js +16 -1
- package/build-module/utils/dom.js.map +1 -1
- package/build-module/utils/get-font-styles-and-weights.js +2 -2
- package/build-module/utils/get-font-styles-and-weights.js.map +1 -1
- package/build-module/utils/transform-styles/index.js +3 -2
- package/build-module/utils/transform-styles/index.js.map +1 -1
- package/build-style/content-rtl.css +9 -4
- package/build-style/content.css +9 -4
- package/build-style/style-rtl.css +33 -22
- package/build-style/style.css +33 -22
- package/build-types/utils/dom.d.ts.map +1 -1
- package/package.json +33 -32
- package/src/autocompleters/block.js +16 -7
- package/src/components/block-canvas/index.js +17 -1
- package/src/components/block-canvas/style.scss +2 -0
- package/src/components/block-card/index.js +3 -3
- package/src/components/block-full-height-alignment-control/index.js +1 -1
- package/src/components/block-inspector/style.scss +0 -6
- package/src/components/block-list/block.js +1 -2
- package/src/components/block-list/block.native.js +0 -4
- package/src/components/block-list/content.scss +1 -1
- package/src/components/block-list/index.js +4 -4
- package/src/components/block-list/use-block-props/index.js +0 -2
- package/src/components/block-list/use-block-props/use-focus-first-element.js +5 -3
- package/src/components/block-list/use-block-props/use-selected-block-event-handlers.js +7 -20
- package/src/components/block-list/use-in-between-inserter.js +1 -1
- package/src/components/block-patterns-list/stories/fixtures.js +834 -0
- package/src/components/block-patterns-list/stories/index.story.js +81 -0
- package/src/components/block-patterns-list/style.scss +2 -0
- package/src/components/block-patterns-paging/index.js +1 -1
- package/src/components/block-popover/index.js +0 -62
- package/src/components/block-preview/index.js +2 -2
- package/src/components/block-settings-menu/block-settings-dropdown.js +4 -0
- package/src/components/block-settings-menu/index.js +3 -0
- package/src/components/block-toolbar/change-design.js +133 -0
- package/src/components/block-toolbar/index.js +25 -8
- package/src/components/block-toolbar/style.scss +16 -0
- package/src/components/block-tools/index.js +4 -17
- package/src/components/block-tools/insertion-point.js +4 -3
- package/src/components/block-tools/style.scss +0 -20
- package/src/components/block-tools/use-show-block-tools.js +0 -13
- package/src/components/block-tools/zoom-out-mode-inserters.js +25 -40
- package/src/components/block-variation-transforms/index.js +2 -2
- package/src/components/block-vertical-alignment-control/ui.js +11 -15
- package/src/components/border-radius-control/linked-button.js +9 -11
- package/src/components/collab/block-comment-icon-slot.js +12 -0
- package/src/components/collab/block-comment-icon-toolbar-slot.js +12 -0
- package/src/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +7 -1
- package/src/components/convert-to-group-buttons/toolbar.js +4 -4
- package/src/components/global-styles/color-panel.js +2 -10
- package/src/components/global-styles/test/use-global-styles-context.native.js +1 -0
- package/src/components/global-styles/use-global-styles-context.native.js +6 -0
- package/src/components/iframe/content.scss +4 -9
- package/src/components/iframe/index.js +31 -34
- package/src/components/iframe/style.scss +2 -3
- package/src/components/image-size-control/index.js +74 -43
- package/src/components/image-size-control/test/index.js +5 -63
- package/src/components/inner-blocks/index.js +12 -6
- package/src/components/inserter/block-patterns-tab/pattern-category-previews.js +2 -3
- package/src/components/inserter/block-patterns-tab/patterns-filter.js +1 -1
- package/src/components/inserter/category-tabs/index.js +16 -2
- package/src/components/inserter/menu.js +6 -4
- package/src/components/inserter/style.scss +13 -0
- package/src/components/inserter-button/index.native.js +1 -1
- package/src/components/inspector-controls-tabs/index.js +1 -6
- package/src/components/inspector-controls-tabs/utils.js +0 -3
- package/src/components/link-control/link-preview.js +15 -8
- package/src/components/link-control/test/index.js +63 -24
- package/src/components/list-view/appender.js +5 -6
- package/src/components/list-view/branch.js +8 -6
- package/src/components/list-view/index.js +1 -2
- package/src/components/provider/index.js +1 -3
- package/src/components/provider/test/experimental-provider.js +43 -1
- package/src/components/rich-text/event-listeners/index.js +4 -2
- package/src/components/rich-text/index.native.js +0 -2
- package/src/components/spacing-sizes-control/index.js +3 -3
- package/src/components/spacing-sizes-control/input-controls/spacing-input-control.js +4 -4
- package/src/components/spacing-sizes-control/linked-button.js +2 -12
- package/src/components/tool-selector/index.js +1 -5
- package/src/components/url-input/index.js +1 -1
- package/src/components/use-block-commands/index.js +1 -1
- package/src/components/use-block-drop-zone/index.js +5 -5
- package/src/components/use-block-drop-zone/index.native.js +0 -1
- package/src/components/use-moving-animation/index.js +0 -1
- package/src/components/use-settings/index.js +0 -1
- package/src/components/writing-flow/index.js +5 -3
- package/src/components/writing-flow/use-tab-nav.js +1 -2
- package/src/hooks/block-bindings.js +48 -31
- package/src/hooks/contrast-checker.js +0 -1
- package/src/hooks/duotone.js +2 -2
- package/src/hooks/style.js +7 -3
- package/src/hooks/use-zoom-out.js +14 -34
- package/src/index.js +0 -1
- package/src/private-apis.js +6 -3
- package/src/store/actions.js +3 -52
- package/src/store/defaults.js +2 -1
- package/src/store/private-actions.js +71 -8
- package/src/store/private-selectors.js +9 -19
- package/src/store/reducer.js +25 -11
- package/src/store/selectors.js +59 -8
- package/src/store/test/actions.js +41 -0
- package/src/store/test/reducer.js +23 -0
- package/src/utils/dom.js +22 -2
- package/src/utils/get-font-styles-and-weights.js +2 -2
- package/src/utils/transform-styles/index.js +3 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js +0 -57
- package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +0 -1
- package/build/components/block-toolbar/shuffle.js +0 -110
- package/build/components/block-toolbar/shuffle.js.map +0 -1
- package/build/components/block-tools/zoom-out-popover.js +0 -58
- package/build/components/block-tools/zoom-out-popover.js.map +0 -1
- package/build/components/block-tools/zoom-out-toolbar.js +0 -132
- package/build/components/block-tools/zoom-out-toolbar.js.map +0 -1
- package/build/components/block-vertical-alignment-control/icons.js +0 -48
- package/build/components/block-vertical-alignment-control/icons.js.map +0 -1
- package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js +0 -51
- package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +0 -1
- package/build-module/components/block-toolbar/shuffle.js +0 -103
- package/build-module/components/block-toolbar/shuffle.js.map +0 -1
- package/build-module/components/block-tools/zoom-out-popover.js +0 -49
- package/build-module/components/block-tools/zoom-out-popover.js.map +0 -1
- package/build-module/components/block-tools/zoom-out-toolbar.js +0 -124
- package/build-module/components/block-tools/zoom-out-toolbar.js.map +0 -1
- package/build-module/components/block-vertical-alignment-control/icons.js +0 -41
- package/build-module/components/block-vertical-alignment-control/icons.js.map +0 -1
- package/src/components/block-list/use-block-props/use-zoom-out-mode-exit.js +0 -65
- package/src/components/block-toolbar/shuffle.js +0 -111
- package/src/components/block-tools/zoom-out-popover.js +0 -47
- package/src/components/block-tools/zoom-out-toolbar.js +0 -135
- package/src/components/block-vertical-alignment-control/icons.js +0 -34
|
@@ -0,0 +1,834 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
name: 'test/1',
|
|
4
|
+
title: 'Centered image with two-tone background color',
|
|
5
|
+
blocks: [
|
|
6
|
+
{
|
|
7
|
+
clientId: '035ea9e6-cf5a-4631-a11e-29f3f696f836',
|
|
8
|
+
name: 'core/cover',
|
|
9
|
+
isValid: true,
|
|
10
|
+
attributes: {
|
|
11
|
+
useFeaturedImage: false,
|
|
12
|
+
alt: '',
|
|
13
|
+
hasParallax: false,
|
|
14
|
+
isRepeated: false,
|
|
15
|
+
dimRatio: 100,
|
|
16
|
+
backgroundType: 'image',
|
|
17
|
+
minHeight: 66,
|
|
18
|
+
minHeightUnit: 'vh',
|
|
19
|
+
customGradient:
|
|
20
|
+
'linear-gradient(90deg,rgb(35,74,20) 50%,rgb(225,137,116) 50%)',
|
|
21
|
+
isDark: false,
|
|
22
|
+
tagName: 'div',
|
|
23
|
+
align: 'full',
|
|
24
|
+
style: {
|
|
25
|
+
spacing: {
|
|
26
|
+
padding: {
|
|
27
|
+
top: '5vw',
|
|
28
|
+
right: '5vw',
|
|
29
|
+
bottom: '5vw',
|
|
30
|
+
left: '5vw',
|
|
31
|
+
},
|
|
32
|
+
margin: {
|
|
33
|
+
top: '0',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
innerBlocks: [
|
|
39
|
+
{
|
|
40
|
+
clientId: '57c3e044-137d-456d-8426-20768e07f09f',
|
|
41
|
+
name: 'core/group',
|
|
42
|
+
isValid: true,
|
|
43
|
+
attributes: {
|
|
44
|
+
tagName: 'div',
|
|
45
|
+
style: {
|
|
46
|
+
spacing: {
|
|
47
|
+
blockGap: '0px',
|
|
48
|
+
},
|
|
49
|
+
layout: {
|
|
50
|
+
selfStretch: 'fill',
|
|
51
|
+
flexSize: null,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
layout: {
|
|
55
|
+
type: 'constrained',
|
|
56
|
+
contentSize: '600px',
|
|
57
|
+
wideSize: '1200px',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
innerBlocks: [
|
|
61
|
+
{
|
|
62
|
+
clientId:
|
|
63
|
+
'9e251315-0ea5-4849-9e1a-974de0981f51',
|
|
64
|
+
name: 'core/spacer',
|
|
65
|
+
isValid: true,
|
|
66
|
+
attributes: {
|
|
67
|
+
height: '100px',
|
|
68
|
+
},
|
|
69
|
+
innerBlocks: [],
|
|
70
|
+
originalContent:
|
|
71
|
+
'<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>',
|
|
72
|
+
validationIssues: [],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
clientId:
|
|
76
|
+
'd83373a3-bdc3-44d6-9f6f-5a36ef8d637c',
|
|
77
|
+
name: 'core/image',
|
|
78
|
+
isValid: true,
|
|
79
|
+
attributes: {
|
|
80
|
+
url: 'https://pd.w.org/2022/03/3866241b433db4ee2.96648572.jpeg',
|
|
81
|
+
alt: '',
|
|
82
|
+
caption: '',
|
|
83
|
+
sizeSlug: 'large',
|
|
84
|
+
className: 'is-style-default',
|
|
85
|
+
style: {
|
|
86
|
+
color: {
|
|
87
|
+
duotone: [ '#000000', '#ffffff' ],
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
innerBlocks: [],
|
|
92
|
+
originalContent:
|
|
93
|
+
'<figure class="wp-block-image size-large is-style-default"><img src="https://pd.w.org/2022/03/3866241b433db4ee2.96648572.jpeg" alt="" /></figure>',
|
|
94
|
+
validationIssues: [],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
clientId:
|
|
98
|
+
'56e72331-1213-466f-bd14-1131a56b2c95',
|
|
99
|
+
name: 'core/spacer',
|
|
100
|
+
isValid: true,
|
|
101
|
+
attributes: {
|
|
102
|
+
height: '48px',
|
|
103
|
+
},
|
|
104
|
+
innerBlocks: [],
|
|
105
|
+
originalContent:
|
|
106
|
+
'<div style="height:48px" aria-hidden="true" class="wp-block-spacer"></div>',
|
|
107
|
+
validationIssues: [],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
clientId:
|
|
111
|
+
'851c15bc-f5cf-4780-838e-6bfea2b09b30',
|
|
112
|
+
name: 'core/heading',
|
|
113
|
+
isValid: true,
|
|
114
|
+
attributes: {
|
|
115
|
+
textAlign: 'center',
|
|
116
|
+
content: 'Etcetera',
|
|
117
|
+
level: 2,
|
|
118
|
+
align: 'wide',
|
|
119
|
+
style: {
|
|
120
|
+
typography: {
|
|
121
|
+
fontSize: '50px',
|
|
122
|
+
fontStyle: 'normal',
|
|
123
|
+
fontWeight: '400',
|
|
124
|
+
textTransform: 'uppercase',
|
|
125
|
+
letterSpacing: '32px',
|
|
126
|
+
lineHeight: '1',
|
|
127
|
+
},
|
|
128
|
+
spacing: {
|
|
129
|
+
padding: {
|
|
130
|
+
left: '32px',
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
textColor: 'white',
|
|
135
|
+
},
|
|
136
|
+
innerBlocks: [],
|
|
137
|
+
originalContent:
|
|
138
|
+
'<h2 class="wp-block-heading alignwide has-text-align-center has-white-color has-text-color" style="padding-left:32px;font-size:50px;font-style:normal;font-weight:400;letter-spacing:32px;line-height:1;text-transform:uppercase">Etcetera</h2>',
|
|
139
|
+
validationIssues: [],
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
clientId:
|
|
143
|
+
'a734e600-5b98-47c4-982d-c98e8c8b78a2',
|
|
144
|
+
name: 'core/spacer',
|
|
145
|
+
isValid: true,
|
|
146
|
+
attributes: {
|
|
147
|
+
height: '100px',
|
|
148
|
+
},
|
|
149
|
+
innerBlocks: [],
|
|
150
|
+
originalContent:
|
|
151
|
+
'<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>',
|
|
152
|
+
validationIssues: [],
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
originalContent:
|
|
156
|
+
'<div class="wp-block-group">\n\n\n\n\n\n\n\n</div>',
|
|
157
|
+
validationIssues: [],
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
originalContent:
|
|
161
|
+
'<div class="wp-block-cover alignfull is-light" style="margin-top:0;padding-top:5vw;padding-right:5vw;padding-bottom:5vw;padding-left:5vw;min-height:66vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim has-background-gradient" style="background:linear-gradient(90deg,rgb(35,74,20) 50%,rgb(225,137,116) 50%)"></span><div class="wp-block-cover__inner-container"></div></div>',
|
|
162
|
+
validationIssues: [],
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: 'test/2',
|
|
168
|
+
title: 'Fullwidth, vertically aligned headline on right with description on left',
|
|
169
|
+
blocks: [
|
|
170
|
+
{
|
|
171
|
+
clientId: 'efa29ce0-cf43-421b-b9e6-46f52f17d943',
|
|
172
|
+
name: 'core/cover',
|
|
173
|
+
isValid: true,
|
|
174
|
+
attributes: {
|
|
175
|
+
alt: '',
|
|
176
|
+
hasParallax: false,
|
|
177
|
+
isRepeated: false,
|
|
178
|
+
dimRatio: 100,
|
|
179
|
+
customOverlayColor: '#e68b14',
|
|
180
|
+
backgroundType: 'image',
|
|
181
|
+
isDark: false,
|
|
182
|
+
useFeaturedImage: false,
|
|
183
|
+
tagName: 'div',
|
|
184
|
+
align: 'full',
|
|
185
|
+
style: {
|
|
186
|
+
spacing: {
|
|
187
|
+
padding: {
|
|
188
|
+
top: '5vw',
|
|
189
|
+
right: '5vw',
|
|
190
|
+
bottom: '5vw',
|
|
191
|
+
left: '5vw',
|
|
192
|
+
},
|
|
193
|
+
margin: {
|
|
194
|
+
top: '0',
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
isUserOverlayColor: true,
|
|
199
|
+
},
|
|
200
|
+
innerBlocks: [
|
|
201
|
+
{
|
|
202
|
+
clientId: '4e50914f-9c9c-471a-84ad-4a22b514a393',
|
|
203
|
+
name: 'core/group',
|
|
204
|
+
isValid: true,
|
|
205
|
+
attributes: {
|
|
206
|
+
tagName: 'div',
|
|
207
|
+
layout: {
|
|
208
|
+
type: 'flex',
|
|
209
|
+
flexWrap: 'wrap',
|
|
210
|
+
verticalAlignment: 'top',
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
innerBlocks: [
|
|
214
|
+
{
|
|
215
|
+
clientId:
|
|
216
|
+
'72b5d32d-35df-4530-8c81-ce67baaf34d1',
|
|
217
|
+
name: 'core/group',
|
|
218
|
+
isValid: true,
|
|
219
|
+
attributes: {
|
|
220
|
+
tagName: 'div',
|
|
221
|
+
style: {
|
|
222
|
+
layout: {
|
|
223
|
+
selfStretch: 'fixed',
|
|
224
|
+
flexSize: '320px',
|
|
225
|
+
},
|
|
226
|
+
spacing: {
|
|
227
|
+
blockGap: '24px',
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
layout: {
|
|
231
|
+
type: 'default',
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
innerBlocks: [
|
|
235
|
+
{
|
|
236
|
+
clientId:
|
|
237
|
+
'86b7c5b3-2de6-42ff-9d41-d38dd267a122',
|
|
238
|
+
name: 'core/paragraph',
|
|
239
|
+
isValid: true,
|
|
240
|
+
attributes: {
|
|
241
|
+
content:
|
|
242
|
+
"Let 'em Roll is an album by American organist Big John Patton recorded in 1965 and released on the Blue Note label.",
|
|
243
|
+
dropCap: false,
|
|
244
|
+
style: {
|
|
245
|
+
layout: {
|
|
246
|
+
selfStretch: 'fixed',
|
|
247
|
+
flexSize: '330px',
|
|
248
|
+
},
|
|
249
|
+
typography: {
|
|
250
|
+
fontSize: '17px',
|
|
251
|
+
fontStyle: 'normal',
|
|
252
|
+
fontWeight: '300',
|
|
253
|
+
lineHeight: '1.4',
|
|
254
|
+
textTransform: 'none',
|
|
255
|
+
textDecoration: 'none',
|
|
256
|
+
letterSpacing: '0px',
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
innerBlocks: [],
|
|
261
|
+
originalContent:
|
|
262
|
+
'<p style="font-size:17px;font-style:normal;font-weight:300;letter-spacing:0px;line-height:1.4;text-decoration:none;text-transform:none">Let \'em Roll is an album by American organist Big John Patton recorded in 1965 and released on the Blue Note label.</p>',
|
|
263
|
+
validationIssues: [],
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
clientId:
|
|
267
|
+
'50d8d1c7-05dd-41d4-af67-29449e818ef7',
|
|
268
|
+
name: 'core/buttons',
|
|
269
|
+
isValid: true,
|
|
270
|
+
attributes: {},
|
|
271
|
+
innerBlocks: [
|
|
272
|
+
{
|
|
273
|
+
clientId:
|
|
274
|
+
'3e26f576-a29a-4947-85f2-1454ea85db60',
|
|
275
|
+
name: 'core/button',
|
|
276
|
+
isValid: true,
|
|
277
|
+
attributes: {
|
|
278
|
+
tagName: 'a',
|
|
279
|
+
type: 'button',
|
|
280
|
+
text: 'Shop Now',
|
|
281
|
+
backgroundColor: 'black',
|
|
282
|
+
textColor: 'white',
|
|
283
|
+
style: {
|
|
284
|
+
typography: {
|
|
285
|
+
fontSize: '17px',
|
|
286
|
+
fontStyle: 'normal',
|
|
287
|
+
fontWeight: '700',
|
|
288
|
+
textDecoration:
|
|
289
|
+
'none',
|
|
290
|
+
textTransform:
|
|
291
|
+
'uppercase',
|
|
292
|
+
letterSpacing:
|
|
293
|
+
'0px',
|
|
294
|
+
},
|
|
295
|
+
spacing: {
|
|
296
|
+
padding: {
|
|
297
|
+
top: '14px',
|
|
298
|
+
bottom: '14px',
|
|
299
|
+
left: '36px',
|
|
300
|
+
right: '36px',
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
border: {
|
|
304
|
+
radius: '0px',
|
|
305
|
+
top: {
|
|
306
|
+
radius: '0px',
|
|
307
|
+
width: '0px',
|
|
308
|
+
style: 'none',
|
|
309
|
+
},
|
|
310
|
+
right: {
|
|
311
|
+
radius: '0px',
|
|
312
|
+
width: '0px',
|
|
313
|
+
style: 'none',
|
|
314
|
+
},
|
|
315
|
+
bottom: {
|
|
316
|
+
radius: '0px',
|
|
317
|
+
width: '0px',
|
|
318
|
+
style: 'none',
|
|
319
|
+
},
|
|
320
|
+
left: {
|
|
321
|
+
radius: '0px',
|
|
322
|
+
width: '0px',
|
|
323
|
+
style: 'none',
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
innerBlocks: [],
|
|
329
|
+
originalContent:
|
|
330
|
+
'<div class="wp-block-button has-custom-font-size" style="font-size:17px;font-style:normal;font-weight:700;letter-spacing:0px;text-decoration:none;text-transform:uppercase"><a class="wp-block-button__link has-white-color has-black-background-color has-text-color has-background wp-element-button" style="border-radius:0px;border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-style:none;border-left-width:0px;padding-top:14px;padding-right:36px;padding-bottom:14px;padding-left:36px">Shop Now</a></div>',
|
|
331
|
+
validationIssues: [],
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
originalContent:
|
|
335
|
+
'<div class="wp-block-buttons"></div>',
|
|
336
|
+
validationIssues: [],
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
originalContent:
|
|
340
|
+
'<div class="wp-block-group">\n\n</div>',
|
|
341
|
+
validationIssues: [],
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
clientId:
|
|
345
|
+
'e8176dce-481f-4454-8e01-13bc5382e0fd',
|
|
346
|
+
name: 'core/group',
|
|
347
|
+
isValid: true,
|
|
348
|
+
attributes: {
|
|
349
|
+
tagName: 'div',
|
|
350
|
+
style: {
|
|
351
|
+
spacing: {
|
|
352
|
+
blockGap: '0px',
|
|
353
|
+
},
|
|
354
|
+
layout: {
|
|
355
|
+
selfStretch: 'fill',
|
|
356
|
+
flexSize: null,
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
layout: {
|
|
360
|
+
type: 'default',
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
innerBlocks: [
|
|
364
|
+
{
|
|
365
|
+
clientId:
|
|
366
|
+
'738291ae-b0d1-4867-90b5-f35b999ca407',
|
|
367
|
+
name: 'core/paragraph',
|
|
368
|
+
isValid: true,
|
|
369
|
+
attributes: {
|
|
370
|
+
align: 'right',
|
|
371
|
+
content: "Let<br>'EM<br>Roll",
|
|
372
|
+
dropCap: false,
|
|
373
|
+
style: {
|
|
374
|
+
typography: {
|
|
375
|
+
fontSize: '148px',
|
|
376
|
+
textTransform: 'uppercase',
|
|
377
|
+
fontStyle: 'normal',
|
|
378
|
+
fontWeight: '700',
|
|
379
|
+
lineHeight: '0.8',
|
|
380
|
+
letterSpacing: '-4px',
|
|
381
|
+
},
|
|
382
|
+
},
|
|
383
|
+
textColor: 'black',
|
|
384
|
+
},
|
|
385
|
+
innerBlocks: [],
|
|
386
|
+
originalContent:
|
|
387
|
+
'<p class="has-text-align-right has-black-color has-text-color" style="font-size:148px;font-style:normal;font-weight:700;letter-spacing:-4px;line-height:0.8;text-transform:uppercase">Let<br>\'EM<br>Roll</p>',
|
|
388
|
+
validationIssues: [],
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
clientId:
|
|
392
|
+
'331df46f-7623-49a1-8031-7c421bddc15a',
|
|
393
|
+
name: 'core/paragraph',
|
|
394
|
+
isValid: true,
|
|
395
|
+
attributes: {
|
|
396
|
+
align: 'right',
|
|
397
|
+
content: 'Big<br>John<br>Patton',
|
|
398
|
+
dropCap: false,
|
|
399
|
+
style: {
|
|
400
|
+
typography: {
|
|
401
|
+
fontSize: '148px',
|
|
402
|
+
textTransform: 'uppercase',
|
|
403
|
+
fontStyle: 'normal',
|
|
404
|
+
fontWeight: '700',
|
|
405
|
+
lineHeight: '0.8',
|
|
406
|
+
letterSpacing: '-4px',
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
textColor: 'white',
|
|
410
|
+
},
|
|
411
|
+
innerBlocks: [],
|
|
412
|
+
originalContent:
|
|
413
|
+
'<p class="has-text-align-right has-white-color has-text-color" style="font-size:148px;font-style:normal;font-weight:700;letter-spacing:-4px;line-height:0.8;text-transform:uppercase">Big<br>John<br>Patton</p>',
|
|
414
|
+
validationIssues: [],
|
|
415
|
+
},
|
|
416
|
+
],
|
|
417
|
+
originalContent:
|
|
418
|
+
'<div class="wp-block-group">\n\n</div>',
|
|
419
|
+
validationIssues: [],
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
originalContent:
|
|
423
|
+
'<div class="wp-block-group">\n\n</div>',
|
|
424
|
+
validationIssues: [],
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
originalContent:
|
|
428
|
+
'<div class="wp-block-cover alignfull is-light" style="margin-top:0;padding-top:5vw;padding-right:5vw;padding-bottom:5vw;padding-left:5vw"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim" style="background-color:#e68b14"></span><div class="wp-block-cover__inner-container"></div></div>',
|
|
429
|
+
validationIssues: [],
|
|
430
|
+
},
|
|
431
|
+
],
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
name: 'test/3',
|
|
435
|
+
title: 'Two columns of text with offset heading',
|
|
436
|
+
blocks: [
|
|
437
|
+
{
|
|
438
|
+
clientId: 'da715d18-2126-4be0-bf13-3328419f220a',
|
|
439
|
+
name: 'core/group',
|
|
440
|
+
isValid: true,
|
|
441
|
+
attributes: {
|
|
442
|
+
tagName: 'div',
|
|
443
|
+
align: 'full',
|
|
444
|
+
style: {
|
|
445
|
+
color: {
|
|
446
|
+
background: '#f2f0e9',
|
|
447
|
+
},
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
innerBlocks: [
|
|
451
|
+
{
|
|
452
|
+
clientId: '8a89e4af-1f70-4545-9d1e-887ff50a141d',
|
|
453
|
+
name: 'core/spacer',
|
|
454
|
+
isValid: true,
|
|
455
|
+
attributes: {
|
|
456
|
+
height: '70px',
|
|
457
|
+
},
|
|
458
|
+
innerBlocks: [],
|
|
459
|
+
originalContent:
|
|
460
|
+
'<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div>',
|
|
461
|
+
validationIssues: [],
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
clientId: '4ab42169-0fcd-416a-bd34-487f6a4e33ad',
|
|
465
|
+
name: 'core/columns',
|
|
466
|
+
isValid: true,
|
|
467
|
+
attributes: {
|
|
468
|
+
verticalAlignment: 'center',
|
|
469
|
+
isStackedOnMobile: true,
|
|
470
|
+
align: 'wide',
|
|
471
|
+
},
|
|
472
|
+
innerBlocks: [
|
|
473
|
+
{
|
|
474
|
+
clientId:
|
|
475
|
+
'88b53c37-16dc-4396-b9bc-6cc115411d9a',
|
|
476
|
+
name: 'core/column',
|
|
477
|
+
isValid: true,
|
|
478
|
+
attributes: {
|
|
479
|
+
width: '50%',
|
|
480
|
+
},
|
|
481
|
+
innerBlocks: [
|
|
482
|
+
{
|
|
483
|
+
clientId:
|
|
484
|
+
'1b5a12e4-06cf-4f78-b665-7440771d0025',
|
|
485
|
+
name: 'core/paragraph',
|
|
486
|
+
isValid: true,
|
|
487
|
+
attributes: {
|
|
488
|
+
content:
|
|
489
|
+
'<strong>Oceanic Inspiration</strong>',
|
|
490
|
+
dropCap: false,
|
|
491
|
+
style: {
|
|
492
|
+
typography: {
|
|
493
|
+
lineHeight: '1.1',
|
|
494
|
+
fontSize: '30px',
|
|
495
|
+
},
|
|
496
|
+
color: {
|
|
497
|
+
text: '#000000',
|
|
498
|
+
},
|
|
499
|
+
},
|
|
500
|
+
},
|
|
501
|
+
innerBlocks: [],
|
|
502
|
+
originalContent:
|
|
503
|
+
'<p class="has-text-color" style="color:#000000;font-size:30px;line-height:1.1"><strong>Oceanic Inspiration</strong></p>',
|
|
504
|
+
validationIssues: [],
|
|
505
|
+
},
|
|
506
|
+
],
|
|
507
|
+
originalContent:
|
|
508
|
+
'<div class="wp-block-column" style="flex-basis:50%"></div>',
|
|
509
|
+
validationIssues: [],
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
clientId:
|
|
513
|
+
'82b7e2aa-dcd8-4b34-a2a9-d239192fed71',
|
|
514
|
+
name: 'core/column',
|
|
515
|
+
isValid: true,
|
|
516
|
+
attributes: {
|
|
517
|
+
width: '50%',
|
|
518
|
+
},
|
|
519
|
+
innerBlocks: [
|
|
520
|
+
{
|
|
521
|
+
clientId:
|
|
522
|
+
'b0fbba51-f3ec-40d5-91d6-64a24ae223f4',
|
|
523
|
+
name: 'core/separator',
|
|
524
|
+
isValid: true,
|
|
525
|
+
attributes: {
|
|
526
|
+
className: 'is-style-wide',
|
|
527
|
+
opacity: 'css',
|
|
528
|
+
style: {
|
|
529
|
+
color: {
|
|
530
|
+
background: '#000000',
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
innerBlocks: [],
|
|
535
|
+
originalContent:
|
|
536
|
+
'<hr class="wp-block-separator has-text-color has-background is-style-wide" style="background-color:#000000;color:#000000" />',
|
|
537
|
+
validationIssues: [],
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
originalContent:
|
|
541
|
+
'<div class="wp-block-column" style="flex-basis:50%"></div>',
|
|
542
|
+
validationIssues: [],
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
originalContent:
|
|
546
|
+
'<div class="wp-block-columns alignwide are-vertically-aligned-center">\n\n</div>',
|
|
547
|
+
validationIssues: [],
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
clientId: '72d3dc7f-bbbe-4088-b556-a32c07191068',
|
|
551
|
+
name: 'core/columns',
|
|
552
|
+
isValid: true,
|
|
553
|
+
attributes: {
|
|
554
|
+
isStackedOnMobile: true,
|
|
555
|
+
align: 'wide',
|
|
556
|
+
},
|
|
557
|
+
innerBlocks: [
|
|
558
|
+
{
|
|
559
|
+
clientId:
|
|
560
|
+
'cf3abb5c-eee8-4314-af70-022b4f7e5bc4',
|
|
561
|
+
name: 'core/column',
|
|
562
|
+
isValid: true,
|
|
563
|
+
attributes: {},
|
|
564
|
+
innerBlocks: [],
|
|
565
|
+
originalContent:
|
|
566
|
+
'<div class="wp-block-column"></div>',
|
|
567
|
+
validationIssues: [],
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
clientId:
|
|
571
|
+
'6978a278-bcf8-4244-9e99-bf5b56fe0f5e',
|
|
572
|
+
name: 'core/column',
|
|
573
|
+
isValid: true,
|
|
574
|
+
attributes: {},
|
|
575
|
+
innerBlocks: [
|
|
576
|
+
{
|
|
577
|
+
clientId:
|
|
578
|
+
'26a6b210-07b6-49b1-8c0b-41d0760562a5',
|
|
579
|
+
name: 'core/paragraph',
|
|
580
|
+
isValid: true,
|
|
581
|
+
attributes: {
|
|
582
|
+
content:
|
|
583
|
+
'Winding veils round their heads, the women walked on deck. They were now moving steadily down the river, passing the dark shapes of ships at anchor, and London was a swarm of lights with a pale yellow canopy drooping above it. There were the lights of the great theatres, the lights of the long streets, lights that indicated huge squares of domestic comfort, lights that hung high in air.',
|
|
584
|
+
dropCap: false,
|
|
585
|
+
style: {
|
|
586
|
+
color: {
|
|
587
|
+
text: '#000000',
|
|
588
|
+
},
|
|
589
|
+
},
|
|
590
|
+
fontSize: 'extra-small',
|
|
591
|
+
},
|
|
592
|
+
innerBlocks: [],
|
|
593
|
+
originalContent:
|
|
594
|
+
'<p class="has-text-color has-extra-small-font-size" style="color:#000000">Winding veils round their heads, the women walked on deck. They were now moving steadily down the river, passing the dark shapes of ships at anchor, and London was a swarm of lights with a pale yellow canopy drooping above it. There were the lights of the great theatres, the lights of the long streets, lights that indicated huge squares of domestic comfort, lights that hung high in air.</p>',
|
|
595
|
+
validationIssues: [],
|
|
596
|
+
},
|
|
597
|
+
],
|
|
598
|
+
originalContent:
|
|
599
|
+
'<div class="wp-block-column"></div>',
|
|
600
|
+
validationIssues: [],
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
clientId:
|
|
604
|
+
'53ac5018-2b60-429e-b893-fce01f8bad24',
|
|
605
|
+
name: 'core/column',
|
|
606
|
+
isValid: true,
|
|
607
|
+
attributes: {},
|
|
608
|
+
innerBlocks: [
|
|
609
|
+
{
|
|
610
|
+
clientId:
|
|
611
|
+
'10a12c7d-77b5-46c7-8215-ff2f94ed4e27',
|
|
612
|
+
name: 'core/paragraph',
|
|
613
|
+
isValid: true,
|
|
614
|
+
attributes: {
|
|
615
|
+
content:
|
|
616
|
+
'No darkness would ever settle upon those lamps, as no darkness had settled upon them for hundreds of years. It seemed dreadful that the town should blaze for ever in the same spot; dreadful at least to people going away to adventure upon the sea, and beholding it as a circumscribed mound, eternally burnt, eternally scarred. From the deck of the ship the great city appeared a crouched and cowardly figure, a sedentary miser.',
|
|
617
|
+
dropCap: false,
|
|
618
|
+
style: {
|
|
619
|
+
color: {
|
|
620
|
+
text: '#000000',
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
fontSize: 'extra-small',
|
|
624
|
+
},
|
|
625
|
+
innerBlocks: [],
|
|
626
|
+
originalContent:
|
|
627
|
+
'<p class="has-text-color has-extra-small-font-size" style="color:#000000">No darkness would ever settle upon those lamps, as no darkness had settled upon them for hundreds of years. It seemed dreadful that the town should blaze for ever in the same spot; dreadful at least to people going away to adventure upon the sea, and beholding it as a circumscribed mound, eternally burnt, eternally scarred. From the deck of the ship the great city appeared a crouched and cowardly figure, a sedentary miser.</p>',
|
|
628
|
+
validationIssues: [],
|
|
629
|
+
},
|
|
630
|
+
],
|
|
631
|
+
originalContent:
|
|
632
|
+
'<div class="wp-block-column"></div>',
|
|
633
|
+
validationIssues: [],
|
|
634
|
+
},
|
|
635
|
+
],
|
|
636
|
+
originalContent:
|
|
637
|
+
'<div class="wp-block-columns alignwide">\n\n\n\n</div>',
|
|
638
|
+
validationIssues: [],
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
clientId: 'f401521c-d5d4-486a-b069-47350b032dc9',
|
|
642
|
+
name: 'core/spacer',
|
|
643
|
+
isValid: true,
|
|
644
|
+
attributes: {
|
|
645
|
+
height: '40px',
|
|
646
|
+
},
|
|
647
|
+
innerBlocks: [],
|
|
648
|
+
originalContent:
|
|
649
|
+
'<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>',
|
|
650
|
+
validationIssues: [],
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
originalContent:
|
|
654
|
+
'<div class="wp-block-group alignfull has-background" style="background-color:#f2f0e9">\n\n\n\n\n\n</div>',
|
|
655
|
+
validationIssues: [],
|
|
656
|
+
},
|
|
657
|
+
],
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: 'test/4',
|
|
661
|
+
title: 'Offset text with a brutalist design vibe',
|
|
662
|
+
blocks: [
|
|
663
|
+
{
|
|
664
|
+
clientId: 'ac947e62-0568-4fa2-85a0-927b86c8ae42',
|
|
665
|
+
name: 'core/cover',
|
|
666
|
+
isValid: true,
|
|
667
|
+
attributes: {
|
|
668
|
+
alt: '',
|
|
669
|
+
hasParallax: false,
|
|
670
|
+
isRepeated: false,
|
|
671
|
+
dimRatio: 100,
|
|
672
|
+
customOverlayColor: '#ffb43c',
|
|
673
|
+
backgroundType: 'image',
|
|
674
|
+
minHeight: 66,
|
|
675
|
+
minHeightUnit: 'vh',
|
|
676
|
+
isDark: false,
|
|
677
|
+
useFeaturedImage: false,
|
|
678
|
+
tagName: 'div',
|
|
679
|
+
align: 'full',
|
|
680
|
+
textColor: 'black',
|
|
681
|
+
style: {
|
|
682
|
+
spacing: {
|
|
683
|
+
padding: {
|
|
684
|
+
top: '48px',
|
|
685
|
+
right: '48px',
|
|
686
|
+
bottom: '48px',
|
|
687
|
+
left: '48px',
|
|
688
|
+
},
|
|
689
|
+
margin: {
|
|
690
|
+
top: '0',
|
|
691
|
+
},
|
|
692
|
+
},
|
|
693
|
+
},
|
|
694
|
+
isUserOverlayColor: true,
|
|
695
|
+
},
|
|
696
|
+
innerBlocks: [
|
|
697
|
+
{
|
|
698
|
+
clientId: 'a23ab6aa-b6dc-4148-a7fc-a4ad04deb738',
|
|
699
|
+
name: 'core/group',
|
|
700
|
+
isValid: true,
|
|
701
|
+
attributes: {
|
|
702
|
+
tagName: 'div',
|
|
703
|
+
style: {
|
|
704
|
+
spacing: {
|
|
705
|
+
blockGap: '0px',
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
layout: {
|
|
709
|
+
type: 'constrained',
|
|
710
|
+
wideSize: '1200px',
|
|
711
|
+
contentSize: '800px',
|
|
712
|
+
},
|
|
713
|
+
},
|
|
714
|
+
innerBlocks: [
|
|
715
|
+
{
|
|
716
|
+
clientId:
|
|
717
|
+
'2cd000fa-8e5b-4edc-8238-5912c5e397d2',
|
|
718
|
+
name: 'core/paragraph',
|
|
719
|
+
isValid: true,
|
|
720
|
+
attributes: {
|
|
721
|
+
align: 'left',
|
|
722
|
+
content:
|
|
723
|
+
'<mark style="color:#a65a00" class="has-inline-color">✴︎</mark> Walk',
|
|
724
|
+
dropCap: false,
|
|
725
|
+
style: {
|
|
726
|
+
typography: {
|
|
727
|
+
fontSize: '148px',
|
|
728
|
+
textTransform: 'uppercase',
|
|
729
|
+
fontStyle: 'normal',
|
|
730
|
+
fontWeight: '700',
|
|
731
|
+
lineHeight: '0.9',
|
|
732
|
+
letterSpacing: '-2px',
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
textColor: 'black',
|
|
736
|
+
},
|
|
737
|
+
innerBlocks: [],
|
|
738
|
+
originalContent:
|
|
739
|
+
'<p class="has-text-align-left has-black-color has-text-color" style="font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase"><mark style="color:#a65a00" class="has-inline-color">✴︎</mark> Walk</p>',
|
|
740
|
+
validationIssues: [],
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
clientId:
|
|
744
|
+
'2d747e99-c672-4d7f-91d4-f8f03d295f2b',
|
|
745
|
+
name: 'core/paragraph',
|
|
746
|
+
isValid: true,
|
|
747
|
+
attributes: {
|
|
748
|
+
align: 'right',
|
|
749
|
+
content: 'In the',
|
|
750
|
+
dropCap: false,
|
|
751
|
+
style: {
|
|
752
|
+
typography: {
|
|
753
|
+
fontSize: '148px',
|
|
754
|
+
textTransform: 'uppercase',
|
|
755
|
+
fontStyle: 'normal',
|
|
756
|
+
fontWeight: '700',
|
|
757
|
+
lineHeight: '0.9',
|
|
758
|
+
letterSpacing: '-2px',
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
textColor: 'black',
|
|
762
|
+
},
|
|
763
|
+
innerBlocks: [],
|
|
764
|
+
originalContent:
|
|
765
|
+
'<p class="has-text-align-right has-black-color has-text-color" style="font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase">In the</p>',
|
|
766
|
+
validationIssues: [],
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
clientId:
|
|
770
|
+
'd63e34e7-8943-49ff-bc05-8749809f4117',
|
|
771
|
+
name: 'core/paragraph',
|
|
772
|
+
isValid: true,
|
|
773
|
+
attributes: {
|
|
774
|
+
align: 'left',
|
|
775
|
+
content: 'Park',
|
|
776
|
+
dropCap: false,
|
|
777
|
+
style: {
|
|
778
|
+
typography: {
|
|
779
|
+
fontSize: '148px',
|
|
780
|
+
textTransform: 'uppercase',
|
|
781
|
+
fontStyle: 'normal',
|
|
782
|
+
fontWeight: '700',
|
|
783
|
+
lineHeight: '0.9',
|
|
784
|
+
letterSpacing: '-2px',
|
|
785
|
+
},
|
|
786
|
+
},
|
|
787
|
+
textColor: 'black',
|
|
788
|
+
},
|
|
789
|
+
innerBlocks: [],
|
|
790
|
+
originalContent:
|
|
791
|
+
'<p class="has-text-align-left has-black-color has-text-color" style="font-size:148px;font-style:normal;font-weight:700;letter-spacing:-2px;line-height:0.9;text-transform:uppercase">Park</p>',
|
|
792
|
+
validationIssues: [],
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
clientId:
|
|
796
|
+
'e996575b-4ada-43b1-8ae1-a6dbb2ec0ecc',
|
|
797
|
+
name: 'core/paragraph',
|
|
798
|
+
isValid: true,
|
|
799
|
+
attributes: {
|
|
800
|
+
align: 'center',
|
|
801
|
+
content: '—01.03',
|
|
802
|
+
dropCap: false,
|
|
803
|
+
style: {
|
|
804
|
+
typography: {
|
|
805
|
+
fontSize: '140px',
|
|
806
|
+
textTransform: 'uppercase',
|
|
807
|
+
fontStyle: 'italic',
|
|
808
|
+
fontWeight: '200',
|
|
809
|
+
letterSpacing: '0px',
|
|
810
|
+
lineHeight: '0.9',
|
|
811
|
+
},
|
|
812
|
+
color: {
|
|
813
|
+
text: '#a65a00',
|
|
814
|
+
},
|
|
815
|
+
},
|
|
816
|
+
},
|
|
817
|
+
innerBlocks: [],
|
|
818
|
+
originalContent:
|
|
819
|
+
'<p class="has-text-align-center has-text-color" style="color:#a65a00;font-size:140px;font-style:italic;font-weight:200;letter-spacing:0px;line-height:0.9;text-transform:uppercase">—01.03</p>',
|
|
820
|
+
validationIssues: [],
|
|
821
|
+
},
|
|
822
|
+
],
|
|
823
|
+
originalContent:
|
|
824
|
+
'<div class="wp-block-group">\n\n\n\n\n\n</div>',
|
|
825
|
+
validationIssues: [],
|
|
826
|
+
},
|
|
827
|
+
],
|
|
828
|
+
originalContent:
|
|
829
|
+
'<div class="wp-block-cover alignfull is-light has-black-color has-text-color" style="margin-top:0;padding-top:48px;padding-right:48px;padding-bottom:48px;padding-left:48px;min-height:66vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim" style="background-color:#ffb43c"></span><div class="wp-block-cover__inner-container"></div></div>',
|
|
830
|
+
validationIssues: [],
|
|
831
|
+
},
|
|
832
|
+
],
|
|
833
|
+
},
|
|
834
|
+
];
|