@wordpress/block-editor 10.4.0 → 11.0.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 +17 -0
- package/README.md +0 -1
- package/build/autocompleters/block.js +2 -6
- package/build/autocompleters/block.js.map +1 -1
- package/build/autocompleters/link.js +2 -0
- package/build/autocompleters/link.js.map +1 -1
- package/build/components/block-card/index.js +51 -3
- package/build/components/block-card/index.js.map +1 -1
- package/build/components/block-draggable/index.native.js +46 -39
- package/build/components/block-draggable/index.native.js.map +1 -1
- package/build/components/block-edit/edit.js +4 -3
- package/build/components/block-edit/edit.js.map +1 -1
- package/build/components/block-edit/edit.native.js +4 -7
- package/build/components/block-edit/edit.native.js.map +1 -1
- package/build/components/block-inspector/index.js +35 -33
- package/build/components/block-inspector/index.js.map +1 -1
- package/build/components/block-list/block-list-context.native.js +5 -8
- package/build/components/block-list/block-list-context.native.js.map +1 -1
- package/build/components/block-list/block.js +55 -24
- package/build/components/block-list/block.js.map +1 -1
- package/build/components/block-list/block.native.js +61 -28
- package/build/components/block-list/block.native.js.map +1 -1
- package/build/components/block-lock/menu-item.js +1 -1
- package/build/components/block-lock/menu-item.js.map +1 -1
- package/build/components/block-lock/modal.js +16 -9
- package/build/components/block-lock/modal.js.map +1 -1
- package/build/components/block-mobile-toolbar/block-actions-menu.native.js +12 -4
- package/build/components/block-mobile-toolbar/block-actions-menu.native.js.map +1 -1
- package/build/components/block-pattern-setup/index.js +3 -2
- package/build/components/block-pattern-setup/index.js.map +1 -1
- package/build/components/block-patterns-list/index.js +33 -11
- package/build/components/block-patterns-list/index.js.map +1 -1
- package/build/components/block-preview/auto.js +9 -3
- package/build/components/block-preview/auto.js.map +1 -1
- package/build/components/block-preview/index.js +5 -9
- package/build/components/block-preview/index.js.map +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.js +5 -2
- package/build/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build/components/block-styles/utils.js +3 -3
- package/build/components/block-styles/utils.js.map +1 -1
- package/build/components/block-switcher/index.js +19 -4
- package/build/components/block-switcher/index.js.map +1 -1
- package/build/components/block-toolbar/index.js +5 -1
- package/build/components/block-toolbar/index.js.map +1 -1
- package/build/components/block-tools/insertion-point.js +8 -49
- package/build/components/block-tools/insertion-point.js.map +1 -1
- package/build/components/block-tools/selected-block-popover.js +27 -4
- package/build/components/block-tools/selected-block-popover.js.map +1 -1
- package/build/components/block-variation-picker/index.js +1 -2
- package/build/components/block-variation-picker/index.js.map +1 -1
- package/build/components/colors/with-colors.js +4 -3
- package/build/components/colors/with-colors.js.map +1 -1
- package/build/components/font-sizes/fluid-utils.js +24 -40
- package/build/components/font-sizes/fluid-utils.js.map +1 -1
- package/build/components/font-sizes/with-font-sizes.js +7 -5
- package/build/components/font-sizes/with-font-sizes.js.map +1 -1
- package/build/components/height-control/index.js +115 -0
- package/build/components/height-control/index.js.map +1 -0
- package/build/components/iframe/index.js +11 -8
- package/build/components/iframe/index.js.map +1 -1
- package/build/components/image-editor/use-save-image.js +2 -0
- package/build/components/image-editor/use-save-image.js.map +1 -1
- package/build/components/image-editor/zoom-dropdown.js +1 -0
- package/build/components/image-editor/zoom-dropdown.js.map +1 -1
- package/build/components/index.js +18 -0
- package/build/components/index.js.map +1 -1
- package/build/components/inner-blocks/index.js +25 -9
- package/build/components/inner-blocks/index.js.map +1 -1
- package/build/components/inner-blocks/use-inner-block-template-sync.js +25 -10
- package/build/components/inner-blocks/use-inner-block-template-sync.js.map +1 -1
- package/build/components/inserter/block-patterns-explorer/sidebar.js +1 -0
- package/build/components/inserter/block-patterns-explorer/sidebar.js.map +1 -1
- package/build/components/inserter/block-patterns-tab.js +25 -46
- package/build/components/inserter/block-patterns-tab.js.map +1 -1
- package/build/components/inserter/block-types-tab.js +3 -1
- package/build/components/inserter/block-types-tab.js.map +1 -1
- package/build/components/inserter/hooks/use-debounced-input.js +27 -0
- package/build/components/inserter/hooks/use-debounced-input.js.map +1 -0
- package/build/components/inserter/index.js +8 -3
- package/build/components/inserter/index.js.map +1 -1
- package/build/components/inserter/index.native.js +3 -4
- package/build/components/inserter/index.native.js.map +1 -1
- package/build/components/inserter/media-tab/hooks.js +103 -0
- package/build/components/inserter/media-tab/hooks.js.map +1 -0
- package/build/components/inserter/media-tab/index.js +32 -0
- package/build/components/inserter/media-tab/index.js.map +1 -0
- package/build/components/inserter/media-tab/media-list.js +100 -0
- package/build/components/inserter/media-tab/media-list.js.map +1 -0
- package/build/components/inserter/media-tab/media-panel.js +96 -0
- package/build/components/inserter/media-tab/media-panel.js.map +1 -0
- package/build/components/inserter/media-tab/media-tab.js +120 -0
- package/build/components/inserter/media-tab/media-tab.js.map +1 -0
- package/build/components/inserter/media-tab/utils.js +54 -0
- package/build/components/inserter/media-tab/utils.js.map +1 -0
- package/build/components/inserter/menu.js +35 -12
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/inserter/mobile-tab-navigation.js +70 -0
- package/build/components/inserter/mobile-tab-navigation.js.map +1 -0
- package/build/components/inserter/quick-inserter.js +1 -0
- package/build/components/inserter/quick-inserter.js.map +1 -1
- package/build/components/inserter/reusable-blocks-tab.js +4 -1
- package/build/components/inserter/reusable-blocks-tab.js.map +1 -1
- package/build/components/inserter/search-results.js +3 -1
- package/build/components/inserter/search-results.js.map +1 -1
- package/build/components/inserter/tabs.js +16 -2
- package/build/components/inserter/tabs.js.map +1 -1
- package/build/components/inserter-list-item/index.js +4 -1
- package/build/components/inserter-list-item/index.js.map +1 -1
- package/build/components/inspector-controls/groups.js +2 -0
- package/build/components/inspector-controls/groups.js.map +1 -1
- package/build/components/inspector-controls-tabs/advanced-controls-panel.js +46 -0
- package/build/components/inspector-controls-tabs/advanced-controls-panel.js.map +1 -0
- package/build/components/inspector-controls-tabs/index.js +71 -0
- package/build/components/inspector-controls-tabs/index.js.map +1 -0
- package/build/components/inspector-controls-tabs/settings-tab.js +28 -0
- package/build/components/inspector-controls-tabs/settings-tab.js.map +1 -0
- package/build/components/inspector-controls-tabs/styles-tab.js +61 -0
- package/build/components/inspector-controls-tabs/styles-tab.js.map +1 -0
- package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.js +97 -0
- package/build/components/inspector-controls-tabs/use-inspector-controls-tabs.js.map +1 -0
- package/build/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js +18 -0
- package/build/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js.map +1 -0
- package/build/components/inspector-controls-tabs/utils.js +37 -0
- package/build/components/inspector-controls-tabs/utils.js.map +1 -0
- package/build/components/link-control/index.js +19 -34
- package/build/components/link-control/index.js.map +1 -1
- package/build/components/link-control/search-input.js +1 -2
- package/build/components/link-control/search-input.js.map +1 -1
- package/build/components/link-control/use-internal-input-value.js +26 -0
- package/build/components/link-control/use-internal-input-value.js.map +1 -0
- package/build/components/list-view/block.js +10 -5
- package/build/components/list-view/block.js.map +1 -1
- package/build/components/list-view/branch.js +22 -15
- package/build/components/list-view/branch.js.map +1 -1
- package/build/components/media-upload/index.native.js +2 -3
- package/build/components/media-upload/index.native.js.map +1 -1
- package/build/components/off-canvas-editor/appender.js +104 -0
- package/build/components/off-canvas-editor/appender.js.map +1 -0
- package/build/components/off-canvas-editor/block-contents.js +100 -0
- package/build/components/off-canvas-editor/block-contents.js.map +1 -0
- package/build/components/off-canvas-editor/block-edit-button.js +50 -0
- package/build/components/off-canvas-editor/block-edit-button.js.map +1 -0
- package/build/components/off-canvas-editor/block-select-button.js +119 -0
- package/build/components/off-canvas-editor/block-select-button.js.map +1 -0
- package/build/components/off-canvas-editor/block.js +324 -0
- package/build/components/off-canvas-editor/block.js.map +1 -0
- package/build/components/off-canvas-editor/branch.js +179 -0
- package/build/components/off-canvas-editor/branch.js.map +1 -0
- package/build/components/off-canvas-editor/context.js +19 -0
- package/build/components/off-canvas-editor/context.js.map +1 -0
- package/build/components/off-canvas-editor/drop-indicator.js +118 -0
- package/build/components/off-canvas-editor/drop-indicator.js.map +1 -0
- package/build/components/off-canvas-editor/expander.js +41 -0
- package/build/components/off-canvas-editor/expander.js.map +1 -0
- package/build/components/off-canvas-editor/index.js +213 -0
- package/build/components/off-canvas-editor/index.js.map +1 -0
- package/build/components/off-canvas-editor/leaf.js +60 -0
- package/build/components/off-canvas-editor/leaf.js.map +1 -0
- package/build/components/off-canvas-editor/link-ui.js +185 -0
- package/build/components/off-canvas-editor/link-ui.js.map +1 -0
- package/build/components/off-canvas-editor/update-attributes.js +108 -0
- package/build/components/off-canvas-editor/update-attributes.js.map +1 -0
- package/build/components/off-canvas-editor/use-block-selection.js +139 -0
- package/build/components/off-canvas-editor/use-block-selection.js.map +1 -0
- package/build/components/off-canvas-editor/use-list-view-client-ids.js +33 -0
- package/build/components/off-canvas-editor/use-list-view-client-ids.js.map +1 -0
- package/build/components/off-canvas-editor/use-list-view-drop-zone.js +235 -0
- package/build/components/off-canvas-editor/use-list-view-drop-zone.js.map +1 -0
- package/build/components/off-canvas-editor/use-list-view-expand-selected-item.js +60 -0
- package/build/components/off-canvas-editor/use-list-view-expand-selected-item.js.map +1 -0
- package/build/components/off-canvas-editor/utils.js +60 -0
- package/build/components/off-canvas-editor/utils.js.map +1 -0
- package/build/components/rich-text/format-toolbar/index.js +8 -4
- package/build/components/rich-text/format-toolbar/index.js.map +1 -1
- package/build/components/rich-text/index.js +3 -3
- package/build/components/rich-text/index.js.map +1 -1
- package/build/components/rich-text/index.native.js +0 -2
- package/build/components/rich-text/index.native.js.map +1 -1
- package/build/components/rich-text/use-insert-replacement-text.js +43 -0
- package/build/components/rich-text/use-insert-replacement-text.js.map +1 -0
- package/build/components/rich-text/use-undo-automatic-change.js +9 -1
- package/build/components/rich-text/use-undo-automatic-change.js.map +1 -1
- package/build/components/rich-text/utils.js +1 -19
- package/build/components/rich-text/utils.js.map +1 -1
- package/build/components/spacing-sizes-control/spacing-input-control.js +12 -3
- package/build/components/spacing-sizes-control/spacing-input-control.js.map +1 -1
- package/build/components/ungroup-button/index.native.js +4 -2
- package/build/components/ungroup-button/index.native.js.map +1 -1
- package/build/components/url-input/index.js +46 -43
- package/build/components/url-input/index.js.map +1 -1
- package/build/components/url-popover/index.js +31 -2
- package/build/components/url-popover/index.js.map +1 -1
- package/build/components/use-block-display-information/index.js +8 -4
- package/build/components/use-block-display-information/index.js.map +1 -1
- package/build/components/use-setting/index.js +10 -2
- package/build/components/use-setting/index.js.map +1 -1
- package/build/hooks/child-layout.js +209 -0
- package/build/hooks/child-layout.js.map +1 -0
- package/build/hooks/color-panel.js +17 -1
- package/build/hooks/color-panel.js.map +1 -1
- package/build/hooks/color.js +1 -1
- package/build/hooks/color.js.map +1 -1
- package/build/hooks/content-lock-ui.js +14 -7
- package/build/hooks/content-lock-ui.js.map +1 -1
- package/build/hooks/dimensions.js +65 -16
- package/build/hooks/dimensions.js.map +1 -1
- package/build/hooks/layout.js +59 -3
- package/build/hooks/layout.js.map +1 -1
- package/build/hooks/margin.js +4 -2
- package/build/hooks/margin.js.map +1 -1
- package/build/hooks/min-height.js +139 -0
- package/build/hooks/min-height.js.map +1 -0
- package/build/hooks/padding.js +4 -2
- package/build/hooks/padding.js.map +1 -1
- package/build/hooks/style.js +3 -2
- package/build/hooks/style.js.map +1 -1
- package/build/layouts/flex.js +22 -21
- package/build/layouts/flex.js.map +1 -1
- package/build/store/actions.js +26 -0
- package/build/store/actions.js.map +1 -1
- package/build/store/reducer.js +420 -265
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +73 -49
- package/build/store/selectors.js.map +1 -1
- package/build/utils/sorting.js +63 -0
- package/build/utils/sorting.js.map +1 -0
- package/build-module/autocompleters/block.js +2 -6
- package/build-module/autocompleters/block.js.map +1 -1
- package/build-module/autocompleters/link.js +2 -0
- package/build-module/autocompleters/link.js.map +1 -1
- package/build-module/components/block-card/index.js +45 -3
- package/build-module/components/block-card/index.js.map +1 -1
- package/build-module/components/block-draggable/index.native.js +40 -31
- package/build-module/components/block-draggable/index.native.js.map +1 -1
- package/build-module/components/block-edit/edit.js +4 -2
- package/build-module/components/block-edit/edit.js.map +1 -1
- package/build-module/components/block-edit/edit.native.js +4 -6
- package/build-module/components/block-edit/edit.native.js.map +1 -1
- package/build-module/components/block-inspector/index.js +32 -30
- package/build-module/components/block-inspector/index.js.map +1 -1
- package/build-module/components/block-list/block-list-context.native.js +5 -8
- package/build-module/components/block-list/block-list-context.native.js.map +1 -1
- package/build-module/components/block-list/block.js +55 -25
- package/build-module/components/block-list/block.js.map +1 -1
- package/build-module/components/block-list/block.native.js +61 -28
- package/build-module/components/block-list/block.native.js.map +1 -1
- package/build-module/components/block-lock/menu-item.js +2 -2
- package/build-module/components/block-lock/menu-item.js.map +1 -1
- package/build-module/components/block-lock/modal.js +17 -10
- package/build-module/components/block-lock/modal.js.map +1 -1
- package/build-module/components/block-mobile-toolbar/block-actions-menu.native.js +13 -6
- package/build-module/components/block-mobile-toolbar/block-actions-menu.native.js.map +1 -1
- package/build-module/components/block-pattern-setup/index.js +3 -2
- package/build-module/components/block-pattern-setup/index.js.map +1 -1
- package/build-module/components/block-patterns-list/index.js +35 -13
- package/build-module/components/block-patterns-list/index.js.map +1 -1
- package/build-module/components/block-preview/auto.js +9 -3
- package/build-module/components/block-preview/auto.js.map +1 -1
- package/build-module/components/block-preview/index.js +5 -8
- package/build-module/components/block-preview/index.js.map +1 -1
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +5 -2
- package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build-module/components/block-styles/utils.js +3 -3
- package/build-module/components/block-styles/utils.js.map +1 -1
- package/build-module/components/block-switcher/index.js +19 -4
- package/build-module/components/block-switcher/index.js.map +1 -1
- package/build-module/components/block-toolbar/index.js +6 -2
- package/build-module/components/block-toolbar/index.js.map +1 -1
- package/build-module/components/block-tools/insertion-point.js +8 -49
- package/build-module/components/block-tools/insertion-point.js.map +1 -1
- package/build-module/components/block-tools/selected-block-popover.js +27 -5
- package/build-module/components/block-tools/selected-block-popover.js.map +1 -1
- package/build-module/components/block-variation-picker/index.js +1 -2
- package/build-module/components/block-variation-picker/index.js.map +1 -1
- package/build-module/components/colors/with-colors.js +5 -4
- package/build-module/components/colors/with-colors.js.map +1 -1
- package/build-module/components/font-sizes/fluid-utils.js +24 -40
- package/build-module/components/font-sizes/fluid-utils.js.map +1 -1
- package/build-module/components/font-sizes/with-font-sizes.js +8 -6
- package/build-module/components/font-sizes/with-font-sizes.js.map +1 -1
- package/build-module/components/height-control/index.js +103 -0
- package/build-module/components/height-control/index.js.map +1 -0
- package/build-module/components/iframe/index.js +11 -8
- package/build-module/components/iframe/index.js.map +1 -1
- package/build-module/components/image-editor/use-save-image.js +2 -0
- package/build-module/components/image-editor/use-save-image.js.map +1 -1
- package/build-module/components/image-editor/zoom-dropdown.js +1 -0
- package/build-module/components/image-editor/zoom-dropdown.js.map +1 -1
- package/build-module/components/index.js +2 -0
- package/build-module/components/index.js.map +1 -1
- package/build-module/components/inner-blocks/index.js +27 -11
- package/build-module/components/inner-blocks/index.js.map +1 -1
- package/build-module/components/inner-blocks/use-inner-block-template-sync.js +23 -10
- package/build-module/components/inner-blocks/use-inner-block-template-sync.js.map +1 -1
- package/build-module/components/inserter/block-patterns-explorer/sidebar.js +1 -0
- package/build-module/components/inserter/block-patterns-explorer/sidebar.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab.js +27 -49
- package/build-module/components/inserter/block-patterns-tab.js.map +1 -1
- package/build-module/components/inserter/block-types-tab.js +3 -2
- package/build-module/components/inserter/block-types-tab.js.map +1 -1
- package/build-module/components/inserter/hooks/use-debounced-input.js +18 -0
- package/build-module/components/inserter/hooks/use-debounced-input.js.map +1 -0
- package/build-module/components/inserter/index.js +8 -3
- package/build-module/components/inserter/index.js.map +1 -1
- package/build-module/components/inserter/index.native.js +3 -5
- package/build-module/components/inserter/index.native.js.map +1 -1
- package/build-module/components/inserter/media-tab/hooks.js +89 -0
- package/build-module/components/inserter/media-tab/hooks.js.map +1 -0
- package/build-module/components/inserter/media-tab/index.js +4 -0
- package/build-module/components/inserter/media-tab/index.js.map +1 -0
- package/build-module/components/inserter/media-tab/media-list.js +86 -0
- package/build-module/components/inserter/media-tab/media-list.js.map +1 -0
- package/build-module/components/inserter/media-tab/media-panel.js +77 -0
- package/build-module/components/inserter/media-tab/media-panel.js.map +1 -0
- package/build-module/components/inserter/media-tab/media-tab.js +100 -0
- package/build-module/components/inserter/media-tab/media-tab.js.map +1 -0
- package/build-module/components/inserter/media-tab/utils.js +45 -0
- package/build-module/components/inserter/media-tab/utils.js.map +1 -0
- package/build-module/components/inserter/menu.js +33 -12
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/inserter/mobile-tab-navigation.js +61 -0
- package/build-module/components/inserter/mobile-tab-navigation.js.map +1 -0
- package/build-module/components/inserter/quick-inserter.js +1 -0
- package/build-module/components/inserter/quick-inserter.js.map +1 -1
- package/build-module/components/inserter/reusable-blocks-tab.js +3 -1
- package/build-module/components/inserter/reusable-blocks-tab.js.map +1 -1
- package/build-module/components/inserter/search-results.js +3 -2
- package/build-module/components/inserter/search-results.js.map +1 -1
- package/build-module/components/inserter/tabs.js +15 -2
- package/build-module/components/inserter/tabs.js.map +1 -1
- package/build-module/components/inserter-list-item/index.js +5 -2
- package/build-module/components/inserter-list-item/index.js.map +1 -1
- package/build-module/components/inspector-controls/groups.js +2 -0
- package/build-module/components/inspector-controls/groups.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/advanced-controls-panel.js +32 -0
- package/build-module/components/inspector-controls-tabs/advanced-controls-panel.js.map +1 -0
- package/build-module/components/inspector-controls-tabs/index.js +56 -0
- package/build-module/components/inspector-controls-tabs/index.js.map +1 -0
- package/build-module/components/inspector-controls-tabs/settings-tab.js +17 -0
- package/build-module/components/inspector-controls-tabs/settings-tab.js.map +1 -0
- package/build-module/components/inspector-controls-tabs/styles-tab.js +46 -0
- package/build-module/components/inspector-controls-tabs/styles-tab.js.map +1 -0
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js +81 -0
- package/build-module/components/inspector-controls-tabs/use-inspector-controls-tabs.js.map +1 -0
- package/build-module/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js +8 -0
- package/build-module/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js.map +1 -0
- package/build-module/components/inspector-controls-tabs/utils.js +26 -0
- package/build-module/components/inspector-controls-tabs/utils.js.map +1 -0
- package/build-module/components/link-control/index.js +18 -34
- package/build-module/components/link-control/index.js.map +1 -1
- package/build-module/components/link-control/search-input.js +1 -2
- package/build-module/components/link-control/search-input.js.map +1 -1
- package/build-module/components/link-control/use-internal-input-value.js +18 -0
- package/build-module/components/link-control/use-internal-input-value.js.map +1 -0
- package/build-module/components/list-view/block.js +10 -5
- package/build-module/components/list-view/block.js.map +1 -1
- package/build-module/components/list-view/branch.js +21 -14
- package/build-module/components/list-view/branch.js.map +1 -1
- package/build-module/components/media-upload/index.native.js +2 -4
- package/build-module/components/media-upload/index.native.js.map +1 -1
- package/build-module/components/off-canvas-editor/appender.js +89 -0
- package/build-module/components/off-canvas-editor/appender.js.map +1 -0
- package/build-module/components/off-canvas-editor/block-contents.js +85 -0
- package/build-module/components/off-canvas-editor/block-contents.js.map +1 -0
- package/build-module/components/off-canvas-editor/block-edit-button.js +35 -0
- package/build-module/components/off-canvas-editor/block-edit-button.js.map +1 -0
- package/build-module/components/off-canvas-editor/block-select-button.js +101 -0
- package/build-module/components/off-canvas-editor/block-select-button.js.map +1 -0
- package/build-module/components/off-canvas-editor/block.js +298 -0
- package/build-module/components/off-canvas-editor/block.js.map +1 -0
- package/build-module/components/off-canvas-editor/branch.js +164 -0
- package/build-module/components/off-canvas-editor/branch.js.map +1 -0
- package/build-module/components/off-canvas-editor/context.js +7 -0
- package/build-module/components/off-canvas-editor/context.js.map +1 -0
- package/build-module/components/off-canvas-editor/drop-indicator.js +111 -0
- package/build-module/components/off-canvas-editor/drop-indicator.js.map +1 -0
- package/build-module/components/off-canvas-editor/expander.js +32 -0
- package/build-module/components/off-canvas-editor/expander.js.map +1 -0
- package/build-module/components/off-canvas-editor/index.js +189 -0
- package/build-module/components/off-canvas-editor/index.js.map +1 -0
- package/build-module/components/off-canvas-editor/leaf.js +45 -0
- package/build-module/components/off-canvas-editor/leaf.js.map +1 -0
- package/build-module/components/off-canvas-editor/link-ui.js +165 -0
- package/build-module/components/off-canvas-editor/link-ui.js.map +1 -0
- package/build-module/components/off-canvas-editor/update-attributes.js +97 -0
- package/build-module/components/off-canvas-editor/update-attributes.js.map +1 -0
- package/build-module/components/off-canvas-editor/use-block-selection.js +124 -0
- package/build-module/components/off-canvas-editor/use-block-selection.js.map +1 -0
- package/build-module/components/off-canvas-editor/use-list-view-client-ids.js +24 -0
- package/build-module/components/off-canvas-editor/use-list-view-client-ids.js.map +1 -0
- package/build-module/components/off-canvas-editor/use-list-view-drop-zone.js +220 -0
- package/build-module/components/off-canvas-editor/use-list-view-drop-zone.js.map +1 -0
- package/build-module/components/off-canvas-editor/use-list-view-expand-selected-item.js +50 -0
- package/build-module/components/off-canvas-editor/use-list-view-expand-selected-item.js.map +1 -0
- package/build-module/components/off-canvas-editor/utils.js +44 -0
- package/build-module/components/off-canvas-editor/utils.js.map +1 -0
- package/build-module/components/rich-text/format-toolbar/index.js +6 -2
- package/build-module/components/rich-text/format-toolbar/index.js.map +1 -1
- package/build-module/components/rich-text/index.js +2 -3
- package/build-module/components/rich-text/index.js.map +1 -1
- package/build-module/components/rich-text/index.native.js +0 -2
- package/build-module/components/rich-text/index.native.js.map +1 -1
- package/build-module/components/rich-text/use-insert-replacement-text.js +33 -0
- package/build-module/components/rich-text/use-insert-replacement-text.js.map +1 -0
- package/build-module/components/rich-text/use-undo-automatic-change.js +9 -1
- package/build-module/components/rich-text/use-undo-automatic-change.js.map +1 -1
- package/build-module/components/rich-text/utils.js +1 -16
- package/build-module/components/rich-text/utils.js.map +1 -1
- package/build-module/components/spacing-sizes-control/spacing-input-control.js +12 -3
- package/build-module/components/spacing-sizes-control/spacing-input-control.js.map +1 -1
- package/build-module/components/ungroup-button/index.native.js +3 -2
- package/build-module/components/ungroup-button/index.native.js.map +1 -1
- package/build-module/components/url-input/index.js +46 -43
- package/build-module/components/url-input/index.js.map +1 -1
- package/build-module/components/url-popover/index.js +30 -3
- package/build-module/components/url-popover/index.js.map +1 -1
- package/build-module/components/use-block-display-information/index.js +9 -5
- package/build-module/components/use-block-display-information/index.js.map +1 -1
- package/build-module/components/use-setting/index.js +9 -2
- package/build-module/components/use-setting/index.js.map +1 -1
- package/build-module/hooks/child-layout.js +189 -0
- package/build-module/hooks/child-layout.js.map +1 -0
- package/build-module/hooks/color-panel.js +17 -1
- package/build-module/hooks/color-panel.js.map +1 -1
- package/build-module/hooks/color.js +1 -1
- package/build-module/hooks/color.js.map +1 -1
- package/build-module/hooks/content-lock-ui.js +16 -9
- package/build-module/hooks/content-lock-ui.js.map +1 -1
- package/build-module/hooks/dimensions.js +60 -16
- package/build-module/hooks/dimensions.js.map +1 -1
- package/build-module/hooks/layout.js +57 -2
- package/build-module/hooks/layout.js.map +1 -1
- package/build-module/hooks/margin.js +4 -2
- package/build-module/hooks/margin.js.map +1 -1
- package/build-module/hooks/min-height.js +116 -0
- package/build-module/hooks/min-height.js.map +1 -0
- package/build-module/hooks/padding.js +4 -2
- package/build-module/hooks/padding.js.map +1 -1
- package/build-module/hooks/style.js +4 -3
- package/build-module/hooks/style.js.map +1 -1
- package/build-module/layouts/flex.js +23 -22
- package/build-module/layouts/flex.js.map +1 -1
- package/build-module/store/actions.js +22 -0
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/reducer.js +415 -265
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +66 -48
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/sorting.js +56 -0
- package/build-module/utils/sorting.js.map +1 -0
- package/build-style/content-rtl.css +701 -0
- package/build-style/content.css +701 -0
- package/build-style/default-editor-styles-rtl.css +14 -0
- package/build-style/default-editor-styles.css +14 -0
- package/build-style/style-rtl.css +305 -668
- package/build-style/style.css +305 -668
- package/package.json +32 -30
- package/src/autocompleters/block.js +2 -6
- package/src/autocompleters/link.js +2 -0
- package/src/components/alignment-control/README.md +1 -1
- package/src/components/alignment-control/test/index.js +4 -1
- package/src/components/block-alignment-control/test/index.js +4 -1
- package/src/components/block-alignment-control/test/index.native.js +4 -4
- package/src/components/block-card/index.js +46 -2
- package/src/components/block-card/style.scss +4 -0
- package/src/components/block-content-overlay/{style.scss → content.scss} +7 -1
- package/src/components/block-draggable/content.scss +20 -0
- package/src/components/block-draggable/index.native.js +54 -40
- package/src/components/block-draggable/style.scss +0 -21
- package/src/components/block-draggable/test/helpers.native.js +7 -9
- package/src/components/block-draggable/test/index.native.js +35 -45
- package/src/components/block-edit/edit.js +5 -2
- package/src/components/block-edit/edit.native.js +5 -6
- package/src/components/block-inspector/index.js +96 -81
- package/src/components/block-inspector/style.scss +9 -1
- package/src/components/block-list/block-list-context.native.js +5 -8
- package/src/components/block-list/block.js +74 -23
- package/src/components/block-list/block.native.js +78 -23
- package/src/components/block-list/{style.scss → content.scss} +11 -20
- package/src/components/block-list-appender/{style.scss → content.scss} +0 -0
- package/src/components/block-lock/menu-item.js +5 -2
- package/src/components/block-lock/modal.js +19 -36
- package/src/components/block-lock/style.scss +8 -17
- package/src/components/block-mobile-toolbar/block-actions-menu.native.js +24 -6
- package/src/components/block-mover/style.scss +0 -1
- package/src/components/block-mover/test/__snapshots__/index.native.js.snap +0 -2
- package/src/components/block-pattern-setup/index.js +2 -1
- package/src/components/block-patterns-list/index.js +47 -24
- package/src/components/block-popover/style.scss +1 -1
- package/src/components/block-preview/README.md +15 -10
- package/src/components/block-preview/auto.js +7 -1
- package/src/components/block-preview/content.scss +4 -0
- package/src/components/block-preview/index.js +7 -12
- package/src/components/block-preview/style.scss +0 -7
- package/src/components/block-preview/test/index.js +18 -35
- package/src/components/block-selection-clearer/test/index.js +12 -12
- package/src/components/block-settings-menu/block-settings-dropdown.js +32 -20
- package/src/components/block-styles/utils.js +3 -3
- package/src/components/block-switcher/index.js +19 -4
- package/src/components/block-switcher/test/index.js +4 -0
- package/src/components/block-toolbar/index.js +12 -5
- package/src/components/block-toolbar/style.scss +10 -0
- package/src/components/block-tools/insertion-point.js +3 -47
- package/src/components/block-tools/selected-block-popover.js +80 -34
- package/src/components/block-tools/style.scss +27 -5
- package/src/components/block-variation-picker/index.js +1 -4
- package/src/components/block-vertical-alignment-control/test/index.js +4 -1
- package/src/components/colors/with-colors.js +13 -23
- package/src/components/default-block-appender/{style.scss → content.scss} +1 -0
- package/src/components/font-sizes/fluid-utils.js +37 -64
- package/src/components/font-sizes/test/fluid-utils.js +5 -5
- package/src/components/font-sizes/with-font-sizes.js +14 -11
- package/src/components/height-control/index.js +123 -0
- package/src/components/height-control/stories/index.js +21 -0
- package/src/components/height-control/style.scss +5 -0
- package/src/components/iframe/index.js +25 -18
- package/src/components/image-editor/use-save-image.js +2 -0
- package/src/components/image-editor/zoom-dropdown.js +1 -0
- package/src/components/index.js +2 -0
- package/src/components/inner-blocks/{style.scss → content.scss} +0 -0
- package/src/components/inner-blocks/index.js +30 -10
- package/src/components/inner-blocks/use-inner-block-template-sync.js +28 -10
- package/src/components/inserter/block-patterns-explorer/sidebar.js +1 -0
- package/src/components/inserter/block-patterns-tab.js +28 -71
- package/src/components/inserter/block-types-tab.js +3 -2
- package/src/components/inserter/hooks/use-debounced-input.js +17 -0
- package/src/components/inserter/index.js +10 -2
- package/src/components/inserter/index.native.js +1 -1
- package/src/components/inserter/media-tab/hooks.js +88 -0
- package/src/components/inserter/media-tab/index.js +3 -0
- package/src/components/inserter/media-tab/media-list.js +93 -0
- package/src/components/inserter/media-tab/media-panel.js +83 -0
- package/src/components/inserter/media-tab/media-tab.js +135 -0
- package/src/components/inserter/media-tab/utils.js +37 -0
- package/src/components/inserter/menu.js +55 -13
- package/src/components/inserter/mobile-tab-navigation.js +85 -0
- package/src/components/inserter/quick-inserter.js +1 -0
- package/src/components/inserter/reusable-blocks-tab.js +4 -2
- package/src/components/inserter/search-results.js +3 -2
- package/src/components/inserter/stories/index.js +1 -1
- package/src/components/inserter/stories/{fixtures.js → utils/fixtures.js} +0 -0
- package/src/components/inserter/style.scss +184 -18
- package/src/components/inserter/tabs.js +12 -1
- package/src/components/inserter/test/reusable-blocks-tab.js +14 -57
- package/src/components/inserter-list-item/index.js +11 -1
- package/src/components/inserter-list-item/style.scss +26 -0
- package/src/components/inspector-controls/groups.js +2 -0
- package/src/components/inspector-controls-tabs/advanced-controls-panel.js +37 -0
- package/src/components/inspector-controls-tabs/index.js +62 -0
- package/src/components/inspector-controls-tabs/settings-tab.js +18 -0
- package/src/components/inspector-controls-tabs/styles-tab.js +51 -0
- package/src/components/inspector-controls-tabs/use-inspector-controls-tabs.js +89 -0
- package/src/components/inspector-controls-tabs/use-is-list-view-tab-disabled.js +9 -0
- package/src/components/inspector-controls-tabs/utils.js +28 -0
- package/src/components/line-height-control/test/index.js +5 -5
- package/src/components/link-control/README.md +1 -1
- package/src/components/link-control/index.js +24 -39
- package/src/components/link-control/search-input.js +1 -2
- package/src/components/link-control/test/index.js +400 -582
- package/src/components/link-control/use-internal-input-value.js +22 -0
- package/src/components/list-view/block.js +7 -3
- package/src/components/list-view/branch.js +21 -14
- package/src/components/list-view/style.scss +20 -9
- package/src/components/media-placeholder/{style.scss → content.scss} +0 -0
- package/src/components/media-replace-flow/test/index.js +37 -9
- package/src/components/media-upload/test/index.native.js +2 -0
- package/src/components/off-canvas-editor/README.md +5 -0
- package/src/components/off-canvas-editor/appender.js +93 -0
- package/src/components/off-canvas-editor/block-contents.js +89 -0
- package/src/components/off-canvas-editor/block-edit-button.js +27 -0
- package/src/components/off-canvas-editor/block-select-button.js +113 -0
- package/src/components/off-canvas-editor/block.js +401 -0
- package/src/components/off-canvas-editor/branch.js +208 -0
- package/src/components/off-canvas-editor/context.js +8 -0
- package/src/components/off-canvas-editor/drop-indicator.js +126 -0
- package/src/components/off-canvas-editor/expander.js +26 -0
- package/src/components/off-canvas-editor/index.js +242 -0
- package/src/components/off-canvas-editor/leaf.js +52 -0
- package/src/components/off-canvas-editor/link-ui.js +166 -0
- package/src/components/off-canvas-editor/style.scss +26 -0
- package/src/components/off-canvas-editor/test/utils.js +50 -0
- package/src/components/off-canvas-editor/update-attributes.js +99 -0
- package/src/components/off-canvas-editor/use-block-selection.js +169 -0
- package/src/components/off-canvas-editor/use-list-view-client-ids.js +29 -0
- package/src/components/off-canvas-editor/use-list-view-drop-zone.js +260 -0
- package/src/components/off-canvas-editor/use-list-view-expand-selected-item.js +58 -0
- package/src/components/off-canvas-editor/utils.js +58 -0
- package/src/components/plain-text/{style.scss → content.scss} +0 -0
- package/src/components/recursion-provider/test/index.js +27 -29
- package/src/components/responsive-block-control/test/index.js +69 -92
- package/src/components/rich-text/content.scss +42 -0
- package/src/components/rich-text/format-toolbar/index.js +6 -4
- package/src/components/rich-text/index.js +2 -2
- package/src/components/rich-text/index.native.js +0 -2
- package/src/components/rich-text/style.scss +0 -43
- package/src/components/rich-text/use-insert-replacement-text.js +31 -0
- package/src/components/rich-text/use-undo-automatic-change.js +7 -1
- package/src/components/rich-text/utils.js +2 -21
- package/src/components/spacing-sizes-control/spacing-input-control.js +9 -0
- package/src/components/ungroup-button/index.native.js +6 -2
- package/src/components/url-input/index.js +57 -73
- package/src/components/url-popover/README.md +12 -3
- package/src/components/url-popover/index.js +33 -3
- package/src/components/url-popover/test/__snapshots__/index.js.snap +8 -6
- package/src/components/url-popover/test/index.js +21 -9
- package/src/components/use-block-display-information/index.js +14 -5
- package/src/components/use-setting/index.js +20 -2
- package/src/components/use-setting/test/index.js +99 -0
- package/src/content.scss +10 -0
- package/src/hooks/child-layout.js +190 -0
- package/src/hooks/color-panel.js +13 -1
- package/src/hooks/color.js +2 -0
- package/src/hooks/content-lock-ui.js +47 -35
- package/src/hooks/dimensions.js +119 -21
- package/src/hooks/layout.js +62 -3
- package/src/hooks/margin.js +4 -3
- package/src/hooks/min-height.js +104 -0
- package/src/hooks/padding.js +4 -3
- package/src/hooks/style.js +10 -2
- package/src/hooks/test/style.js +4 -0
- package/src/hooks/test/use-typography-props.js +1 -1
- package/src/layouts/flex.js +43 -38
- package/src/store/actions.js +22 -0
- package/src/store/reducer.js +480 -434
- package/src/store/selectors.js +70 -64
- package/src/store/test/actions.js +18 -0
- package/src/store/test/performance.js +71 -0
- package/src/store/test/reducer.js +662 -490
- package/src/store/test/selectors.js +1839 -1306
- package/src/style.scss +4 -7
- package/src/utils/sorting.js +54 -0
- package/src/utils/test/sorting.js +49 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/build/components/block-preview/live.js +0 -30
- package/build/components/block-preview/live.js.map +0 -1
- package/build-module/components/block-preview/live.js +0 -20
- package/build-module/components/block-preview/live.js.map +0 -1
- package/src/components/block-preview/live.js +0 -19
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex value into the rgb equivalent.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
+
* @return {string} comma separated rgb values
|
|
6
|
+
*/
|
|
1
7
|
/**
|
|
2
8
|
* Colors
|
|
3
9
|
*/
|
|
@@ -11,6 +17,12 @@
|
|
|
11
17
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
12
18
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
13
19
|
*/
|
|
20
|
+
/**
|
|
21
|
+
* Converts a hex value into the rgb equivalent.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
+
* @return {string} comma separated rgb values
|
|
25
|
+
*/
|
|
14
26
|
/**
|
|
15
27
|
* Colors
|
|
16
28
|
*/
|
|
@@ -82,6 +94,8 @@
|
|
|
82
94
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
83
95
|
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
|
|
84
96
|
--wp-admin-border-width-focus: 2px;
|
|
97
|
+
--wp-block-synced-color: #7a00df;
|
|
98
|
+
--wp-block-synced-color--rgb: 122, 0, 223;
|
|
85
99
|
}
|
|
86
100
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
87
101
|
:root {
|
|
@@ -152,7 +166,8 @@
|
|
|
152
166
|
padding: 16px;
|
|
153
167
|
}
|
|
154
168
|
|
|
155
|
-
.block-editor-block-inspector__no-blocks
|
|
169
|
+
.block-editor-block-inspector__no-blocks,
|
|
170
|
+
.block-editor-block-inspector__no-block-tools {
|
|
156
171
|
display: block;
|
|
157
172
|
font-size: 13px;
|
|
158
173
|
background: #fff;
|
|
@@ -160,350 +175,17 @@
|
|
|
160
175
|
text-align: center;
|
|
161
176
|
}
|
|
162
177
|
|
|
163
|
-
.block-editor-block-
|
|
164
|
-
border-top: 1px solid #
|
|
165
|
-
padding: 16px;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.block-editor-block-styles .block-editor-block-list__block {
|
|
169
|
-
margin: 0;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Cross-Block Selection
|
|
174
|
-
*/
|
|
175
|
-
@keyframes selection-overlay__fade-in-animation {
|
|
176
|
-
from {
|
|
177
|
-
opacity: 0;
|
|
178
|
-
}
|
|
179
|
-
to {
|
|
180
|
-
opacity: 0.4;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
.block-editor-block-list__layout {
|
|
184
|
-
position: relative;
|
|
185
|
-
}
|
|
186
|
-
.block-editor-block-list__layout::selection {
|
|
187
|
-
background: transparent;
|
|
188
|
-
}
|
|
189
|
-
.has-multi-selection .block-editor-block-list__layout::selection {
|
|
190
|
-
background: transparent;
|
|
191
|
-
}
|
|
192
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) {
|
|
193
|
-
border-radius: 2px;
|
|
194
|
-
overflow: hidden;
|
|
195
|
-
}
|
|
196
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::selection, .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) ::selection {
|
|
197
|
-
background: transparent;
|
|
198
|
-
}
|
|
199
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after {
|
|
200
|
-
content: "";
|
|
201
|
-
position: absolute;
|
|
202
|
-
z-index: 1;
|
|
203
|
-
pointer-events: none;
|
|
204
|
-
top: 0;
|
|
205
|
-
left: 0;
|
|
206
|
-
bottom: 0;
|
|
207
|
-
right: 0;
|
|
208
|
-
background: var(--wp-admin-theme-color);
|
|
209
|
-
opacity: 0.4;
|
|
210
|
-
border-radius: 2px;
|
|
211
|
-
animation: selection-overlay__fade-in-animation 0.1s ease-out;
|
|
212
|
-
animation-fill-mode: forwards;
|
|
213
|
-
outline: 2px solid transparent;
|
|
214
|
-
}
|
|
215
|
-
@media (prefers-reduced-motion: reduce) {
|
|
216
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected)::after {
|
|
217
|
-
animation-duration: 1ms;
|
|
218
|
-
animation-delay: 0s;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted,
|
|
222
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected, .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected {
|
|
223
|
-
border-radius: 2px;
|
|
224
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
225
|
-
outline: 2px solid transparent;
|
|
226
|
-
}
|
|
227
|
-
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus {
|
|
228
|
-
outline: none;
|
|
229
|
-
}
|
|
230
|
-
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
231
|
-
content: "";
|
|
232
|
-
position: absolute;
|
|
233
|
-
z-index: 1;
|
|
234
|
-
pointer-events: none;
|
|
235
|
-
top: 1px;
|
|
236
|
-
left: 1px;
|
|
237
|
-
bottom: 1px;
|
|
238
|
-
right: 1px;
|
|
239
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
240
|
-
border-radius: 1px;
|
|
241
|
-
outline: 2px solid transparent;
|
|
242
|
-
}
|
|
243
|
-
.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
244
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
245
|
-
}
|
|
246
|
-
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected {
|
|
247
|
-
box-shadow: none;
|
|
248
|
-
outline: none;
|
|
249
|
-
}
|
|
250
|
-
.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::after {
|
|
251
|
-
content: "";
|
|
252
|
-
position: absolute;
|
|
253
|
-
z-index: 0;
|
|
254
|
-
pointer-events: none;
|
|
255
|
-
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
|
256
|
-
left: 0;
|
|
257
|
-
right: 0;
|
|
258
|
-
top: -14px;
|
|
259
|
-
border-radius: 2px;
|
|
260
|
-
border-top: 4px solid #ccc;
|
|
261
|
-
}
|
|
262
|
-
.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected::after {
|
|
263
|
-
border-color: var(--wp-admin-theme-color);
|
|
264
|
-
}
|
|
265
|
-
.has-multi-selection .block-editor-block-list__layout {
|
|
266
|
-
-webkit-user-select: none;
|
|
267
|
-
user-select: none;
|
|
268
|
-
}
|
|
269
|
-
.block-editor-block-list__layout [class^=components-] {
|
|
270
|
-
-webkit-user-select: text;
|
|
271
|
-
user-select: text;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.is-block-moving-mode.block-editor-block-list__block-selection-button {
|
|
275
|
-
opacity: 0;
|
|
276
|
-
font-size: 1px;
|
|
277
|
-
height: 1px;
|
|
278
|
-
padding: 0;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.is-content-locked .block-editor-block-list__block {
|
|
282
|
-
pointer-events: none;
|
|
283
|
-
}
|
|
284
|
-
.is-content-locked .is-content-block {
|
|
285
|
-
pointer-events: initial;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.block-editor-block-list__layout .block-editor-block-list__block {
|
|
289
|
-
position: relative;
|
|
290
|
-
-webkit-user-select: text;
|
|
291
|
-
user-select: text;
|
|
292
|
-
overflow-wrap: break-word;
|
|
293
|
-
/**
|
|
294
|
-
* Notices
|
|
295
|
-
*/
|
|
296
|
-
}
|
|
297
|
-
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
|
|
298
|
-
z-index: 1;
|
|
299
|
-
}
|
|
300
|
-
.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui {
|
|
301
|
-
margin: -10px 0 12px 0;
|
|
302
|
-
}
|
|
303
|
-
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui {
|
|
304
|
-
margin: 0 0 12px 0;
|
|
305
|
-
width: 100%;
|
|
306
|
-
}
|
|
307
|
-
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice {
|
|
308
|
-
margin-right: 0;
|
|
309
|
-
margin-left: 0;
|
|
310
|
-
}
|
|
311
|
-
.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
|
|
312
|
-
font-size: 13px;
|
|
313
|
-
}
|
|
314
|
-
.block-editor-block-list__layout .block-editor-block-list__block.has-warning {
|
|
315
|
-
min-height: 48px;
|
|
316
|
-
}
|
|
317
|
-
.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
|
|
318
|
-
pointer-events: none;
|
|
319
|
-
-webkit-user-select: none;
|
|
320
|
-
user-select: none;
|
|
321
|
-
}
|
|
322
|
-
.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning {
|
|
323
|
-
pointer-events: all;
|
|
324
|
-
}
|
|
325
|
-
.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after {
|
|
326
|
-
content: "";
|
|
327
|
-
position: absolute;
|
|
328
|
-
top: 0;
|
|
329
|
-
left: 0;
|
|
330
|
-
bottom: 0;
|
|
331
|
-
right: 0;
|
|
332
|
-
border-radius: 2px;
|
|
333
|
-
background-color: rgba(255, 255, 255, 0.4);
|
|
334
|
-
}
|
|
335
|
-
.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after {
|
|
336
|
-
background-color: transparent;
|
|
337
|
-
}
|
|
338
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay::after {
|
|
339
|
-
display: none;
|
|
340
|
-
}
|
|
341
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay::after {
|
|
342
|
-
display: block;
|
|
343
|
-
}
|
|
344
|
-
.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected::after {
|
|
345
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
346
|
-
}
|
|
347
|
-
.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true] {
|
|
348
|
-
float: none;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-hovered {
|
|
352
|
-
cursor: default;
|
|
353
|
-
}
|
|
354
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-hovered::after {
|
|
355
|
-
content: "";
|
|
356
|
-
position: absolute;
|
|
357
|
-
pointer-events: none;
|
|
358
|
-
top: 1px;
|
|
359
|
-
right: 1px;
|
|
360
|
-
left: 1px;
|
|
361
|
-
bottom: 1px;
|
|
362
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
363
|
-
border-radius: 1px;
|
|
364
|
-
}
|
|
365
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected {
|
|
366
|
-
cursor: default;
|
|
367
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
368
|
-
border-radius: 2px;
|
|
369
|
-
}
|
|
370
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected.rich-text {
|
|
371
|
-
cursor: unset;
|
|
372
|
-
}
|
|
373
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-selected:focus {
|
|
374
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) {
|
|
378
|
-
opacity: 0.2;
|
|
379
|
-
transition: opacity 0.1s linear;
|
|
380
|
-
}
|
|
381
|
-
@media (prefers-reduced-motion: reduce) {
|
|
382
|
-
.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) {
|
|
383
|
-
transition-duration: 0s;
|
|
384
|
-
transition-delay: 0s;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) .block-editor-block-list__block, .is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-selected, .is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-multi-selected {
|
|
388
|
-
opacity: 1;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.is-focus-mode .block-editor-block-list__block.is-content-locked.has-child-selected, .is-focus-mode .block-editor-block-list__block.is-content-locked.has-child-selected .block-editor-block-list__block,
|
|
392
|
-
.is-focus-mode .block-editor-block-list__block.is-content-locked-temporarily-editing-as-blocks.has-child-selected,
|
|
393
|
-
.is-focus-mode .block-editor-block-list__block.is-content-locked-temporarily-editing-as-blocks.has-child-selected .block-editor-block-list__block {
|
|
394
|
-
opacity: 1;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
.wp-block[data-align=left] > *,
|
|
398
|
-
.wp-block[data-align=right] > *,
|
|
399
|
-
.wp-block.alignleft,
|
|
400
|
-
.wp-block.alignright {
|
|
401
|
-
z-index: 21;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.wp-site-blocks > [data-align=left] {
|
|
405
|
-
float: right;
|
|
406
|
-
margin-left: 2em;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
.wp-site-blocks > [data-align=right] {
|
|
410
|
-
float: left;
|
|
411
|
-
margin-right: 2em;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.wp-site-blocks > [data-align=center] {
|
|
415
|
-
justify-content: center;
|
|
416
|
-
margin-right: auto;
|
|
417
|
-
margin-left: auto;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* In-Canvas Inserter
|
|
422
|
-
*/
|
|
423
|
-
.block-editor-block-list .block-editor-inserter {
|
|
424
|
-
margin: 8px;
|
|
425
|
-
cursor: move;
|
|
426
|
-
cursor: grab;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
@keyframes block-editor-inserter__toggle__fade-in-animation {
|
|
430
|
-
from {
|
|
431
|
-
opacity: 0;
|
|
432
|
-
}
|
|
433
|
-
to {
|
|
434
|
-
opacity: 1;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
.wp-block .block-list-appender .block-editor-inserter__toggle {
|
|
438
|
-
animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease;
|
|
439
|
-
animation-fill-mode: forwards;
|
|
440
|
-
}
|
|
441
|
-
@media (prefers-reduced-motion: reduce) {
|
|
442
|
-
.wp-block .block-list-appender .block-editor-inserter__toggle {
|
|
443
|
-
animation-duration: 1ms;
|
|
444
|
-
animation-delay: 0s;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
|
|
449
|
-
display: none;
|
|
450
|
-
}
|
|
451
|
-
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
|
|
452
|
-
opacity: 0;
|
|
453
|
-
transform: scale(0);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
|
|
457
|
-
display: block;
|
|
458
|
-
margin: 0;
|
|
459
|
-
padding: 12px;
|
|
460
|
-
width: 100%;
|
|
461
|
-
border: none;
|
|
462
|
-
outline: none;
|
|
463
|
-
border-radius: 2px;
|
|
464
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
465
|
-
resize: none;
|
|
466
|
-
overflow: hidden;
|
|
467
|
-
font-family: Menlo, Consolas, monaco, monospace;
|
|
468
|
-
font-size: 15px;
|
|
469
|
-
line-height: 1.5;
|
|
470
|
-
transition: padding 0.2s linear;
|
|
471
|
-
}
|
|
472
|
-
@media (prefers-reduced-motion: reduce) {
|
|
473
|
-
.block-editor-block-list__block .block-editor-block-list__block-html-textarea {
|
|
474
|
-
transition-duration: 0s;
|
|
475
|
-
transition-delay: 0s;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
|
|
479
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
178
|
+
.block-editor-block-inspector__no-block-tools {
|
|
179
|
+
border-top: 1px solid #ddd;
|
|
480
180
|
}
|
|
481
181
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
*/
|
|
485
|
-
.block-editor-block-list__block .block-editor-warning {
|
|
486
|
-
z-index: 5;
|
|
487
|
-
position: relative;
|
|
488
|
-
}
|
|
489
|
-
.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning {
|
|
490
|
-
margin-bottom: auto;
|
|
182
|
+
.block-editor-block-inspector__tab-item {
|
|
183
|
+
flex: 1 1 0px;
|
|
491
184
|
}
|
|
492
185
|
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
transform-origin: top center;
|
|
497
|
-
}
|
|
498
|
-
.block-editor-iframe__body.is-zoomed-out {
|
|
499
|
-
margin: 100px 0;
|
|
500
|
-
transform: scale(0.45);
|
|
501
|
-
}
|
|
502
|
-
.block-editor-iframe__body.is-zoomed-out .wp-site-blocks > * + * {
|
|
503
|
-
margin-block-start: 2.5rem;
|
|
504
|
-
}
|
|
505
|
-
.block-editor-iframe__body.is-zoomed-out > .block-list-appender {
|
|
506
|
-
display: none;
|
|
186
|
+
.block-editor-block-inspector__block-buttons-container {
|
|
187
|
+
border-top: 1px solid #e0e0e0;
|
|
188
|
+
padding: 16px;
|
|
507
189
|
}
|
|
508
190
|
|
|
509
191
|
/**
|
|
@@ -520,21 +202,27 @@
|
|
|
520
202
|
.block-editor-block-list__insertion-point-indicator {
|
|
521
203
|
position: absolute;
|
|
522
204
|
background: var(--wp-admin-theme-color);
|
|
205
|
+
border-radius: 2px;
|
|
206
|
+
transform-origin: center;
|
|
207
|
+
opacity: 0;
|
|
208
|
+
will-change: transform, opacity;
|
|
523
209
|
}
|
|
524
210
|
.block-editor-block-list__insertion-point.is-vertical > .block-editor-block-list__insertion-point-indicator {
|
|
525
|
-
top: 50
|
|
526
|
-
height:
|
|
211
|
+
top: calc(50% - 2px);
|
|
212
|
+
height: 4px;
|
|
213
|
+
width: 100%;
|
|
527
214
|
}
|
|
528
215
|
.block-editor-block-list__insertion-point.is-horizontal > .block-editor-block-list__insertion-point-indicator {
|
|
529
216
|
top: 0;
|
|
530
|
-
|
|
531
|
-
right: 50
|
|
532
|
-
width:
|
|
217
|
+
bottom: 0;
|
|
218
|
+
right: calc(50% - 2px);
|
|
219
|
+
width: 4px;
|
|
533
220
|
}
|
|
534
221
|
|
|
535
222
|
.block-editor-block-list__insertion-point-inserter {
|
|
536
223
|
display: none;
|
|
537
224
|
position: absolute;
|
|
225
|
+
will-change: transform;
|
|
538
226
|
justify-content: center;
|
|
539
227
|
top: calc(50% - 12px);
|
|
540
228
|
right: calc(50% - 12px);
|
|
@@ -545,6 +233,14 @@
|
|
|
545
233
|
}
|
|
546
234
|
}
|
|
547
235
|
|
|
236
|
+
.block-editor-block-list__block-side-inserter-popover .components-popover__content > div {
|
|
237
|
+
pointer-events: none;
|
|
238
|
+
}
|
|
239
|
+
.block-editor-block-list__block-side-inserter-popover .components-popover__content > div > * {
|
|
240
|
+
pointer-events: all;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,
|
|
548
244
|
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon,
|
|
549
245
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon {
|
|
550
246
|
background: #1e1e1e;
|
|
@@ -554,6 +250,7 @@
|
|
|
554
250
|
min-width: 24px;
|
|
555
251
|
height: 24px;
|
|
556
252
|
}
|
|
253
|
+
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
|
|
557
254
|
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
|
|
558
255
|
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
|
|
559
256
|
color: #fff;
|
|
@@ -645,6 +342,9 @@
|
|
|
645
342
|
.block-editor-block-list__block-selection-button .components-button:active {
|
|
646
343
|
color: #fff;
|
|
647
344
|
}
|
|
345
|
+
.block-editor-block-list__block-selection-button .components-button[aria-disabled=true]:hover {
|
|
346
|
+
color: #fff;
|
|
347
|
+
}
|
|
648
348
|
.block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button {
|
|
649
349
|
padding: 0;
|
|
650
350
|
}
|
|
@@ -677,22 +377,6 @@
|
|
|
677
377
|
display: none;
|
|
678
378
|
}
|
|
679
379
|
|
|
680
|
-
.is-vertical .block-list-appender {
|
|
681
|
-
width: 24px;
|
|
682
|
-
margin-left: auto;
|
|
683
|
-
margin-top: 12px;
|
|
684
|
-
margin-right: 12px;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
.block-list-appender > .block-editor-inserter {
|
|
688
|
-
display: block;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle {
|
|
692
|
-
opacity: 0;
|
|
693
|
-
transform: scale(0);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
380
|
.block-editor-block-lock-modal {
|
|
697
381
|
z-index: 1000001;
|
|
698
382
|
}
|
|
@@ -715,25 +399,18 @@
|
|
|
715
399
|
.block-editor-block-lock-modal__options-title .components-base-control__field {
|
|
716
400
|
align-items: center;
|
|
717
401
|
display: flex;
|
|
718
|
-
margin: 0;
|
|
719
402
|
}
|
|
720
403
|
|
|
721
404
|
.block-editor-block-lock-modal__checklist-item {
|
|
722
|
-
margin-bottom: 0;
|
|
723
|
-
padding: 12px 32px 12px 0;
|
|
724
|
-
}
|
|
725
|
-
.block-editor-block-lock-modal__checklist-item .components-base-control__field {
|
|
726
|
-
align-items: center;
|
|
727
|
-
display: flex;
|
|
728
|
-
margin: 0;
|
|
729
|
-
}
|
|
730
|
-
.block-editor-block-lock-modal__checklist-item .components-checkbox-control__label {
|
|
731
405
|
display: flex;
|
|
732
|
-
align-items: center;
|
|
733
406
|
justify-content: space-between;
|
|
734
|
-
|
|
407
|
+
align-items: center;
|
|
408
|
+
gap: 12px;
|
|
409
|
+
margin-bottom: 0;
|
|
410
|
+
padding: 12px 32px 12px 0;
|
|
735
411
|
}
|
|
736
|
-
.block-editor-block-lock-modal__checklist-item .
|
|
412
|
+
.block-editor-block-lock-modal__checklist-item .block-editor-block-lock-modal__lock-icon {
|
|
413
|
+
flex-shrink: 0;
|
|
737
414
|
margin-left: 12px;
|
|
738
415
|
fill: #1e1e1e;
|
|
739
416
|
}
|
|
@@ -848,6 +525,10 @@
|
|
|
848
525
|
height: 24px;
|
|
849
526
|
}
|
|
850
527
|
|
|
528
|
+
.block-editor-block-card.is-synced .block-editor-block-icon {
|
|
529
|
+
color: var(--wp-block-synced-color);
|
|
530
|
+
}
|
|
531
|
+
|
|
851
532
|
/**
|
|
852
533
|
* Invalid block comparison
|
|
853
534
|
*/
|
|
@@ -912,39 +593,6 @@
|
|
|
912
593
|
margin: 0.67em 0;
|
|
913
594
|
}
|
|
914
595
|
|
|
915
|
-
.block-editor-block-list__block.has-block-overlay {
|
|
916
|
-
cursor: default;
|
|
917
|
-
}
|
|
918
|
-
.block-editor-block-list__block.has-block-overlay::before {
|
|
919
|
-
content: "";
|
|
920
|
-
position: absolute;
|
|
921
|
-
top: 0;
|
|
922
|
-
right: 0;
|
|
923
|
-
width: 100%;
|
|
924
|
-
height: 100%;
|
|
925
|
-
background: transparent;
|
|
926
|
-
border: none;
|
|
927
|
-
border-radius: 2px;
|
|
928
|
-
z-index: 10;
|
|
929
|
-
}
|
|
930
|
-
.block-editor-block-list__block.has-block-overlay::after {
|
|
931
|
-
content: none !important;
|
|
932
|
-
}
|
|
933
|
-
.block-editor-block-list__block.has-block-overlay:hover:not(.is-dragging-blocks)::before {
|
|
934
|
-
background: rgba(var(--wp-admin-theme-color--rgb), 0.3);
|
|
935
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color) inset;
|
|
936
|
-
}
|
|
937
|
-
.block-editor-block-list__block.has-block-overlay.is-selected:not(.is-dragging-blocks)::before {
|
|
938
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color) inset;
|
|
939
|
-
}
|
|
940
|
-
.block-editor-block-list__block.has-block-overlay .block-editor-block-list__block {
|
|
941
|
-
pointer-events: none;
|
|
942
|
-
}
|
|
943
|
-
.block-editor-iframe__body.is-zoomed-out .block-editor-block-list__block.has-block-overlay::before {
|
|
944
|
-
width: calc(100vw);
|
|
945
|
-
right: calc(( 100% - 100vw ) / 2);
|
|
946
|
-
}
|
|
947
|
-
|
|
948
596
|
.block-editor-block-draggable-chip-wrapper {
|
|
949
597
|
position: absolute;
|
|
950
598
|
top: -24px;
|
|
@@ -985,19 +633,6 @@
|
|
|
985
633
|
font-size: 13px;
|
|
986
634
|
}
|
|
987
635
|
|
|
988
|
-
.block-editor-block-list__layout .is-dragging {
|
|
989
|
-
background-color: currentColor !important;
|
|
990
|
-
opacity: 0.05 !important;
|
|
991
|
-
border-radius: 2px !important;
|
|
992
|
-
pointer-events: none !important;
|
|
993
|
-
}
|
|
994
|
-
.block-editor-block-list__layout .is-dragging::selection {
|
|
995
|
-
background: transparent !important;
|
|
996
|
-
}
|
|
997
|
-
.block-editor-block-list__layout .is-dragging::after {
|
|
998
|
-
content: none !important;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
636
|
.block-editor-block-mover__move-button-container {
|
|
1002
637
|
display: flex;
|
|
1003
638
|
padding: 0;
|
|
@@ -1014,7 +649,6 @@
|
|
|
1014
649
|
}
|
|
1015
650
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container > *::before {
|
|
1016
651
|
height: calc(100% - 4px);
|
|
1017
|
-
width: calc(100% - 4px);
|
|
1018
652
|
}
|
|
1019
653
|
.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container .block-editor-block-mover-button.is-up-button svg {
|
|
1020
654
|
top: 5px;
|
|
@@ -1151,7 +785,7 @@
|
|
|
1151
785
|
width: max-content;
|
|
1152
786
|
overflow-y: visible;
|
|
1153
787
|
}
|
|
1154
|
-
.components-popover.block-editor-block-popover:not(.block-editor-block-popover__inbetween, .block-editor-block-popover__drop-zone) .components-popover__content * {
|
|
788
|
+
.components-popover.block-editor-block-popover:not(.block-editor-block-popover__inbetween, .block-editor-block-popover__drop-zone, .block-editor-block-list__block-side-inserter-popover) .components-popover__content * {
|
|
1155
789
|
pointer-events: all;
|
|
1156
790
|
}
|
|
1157
791
|
|
|
@@ -1193,16 +827,10 @@
|
|
|
1193
827
|
min-height: auto;
|
|
1194
828
|
}
|
|
1195
829
|
.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,
|
|
1196
|
-
.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone,
|
|
1197
|
-
.block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator,
|
|
1198
830
|
.block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender {
|
|
1199
831
|
display: none;
|
|
1200
832
|
}
|
|
1201
833
|
|
|
1202
|
-
.block-editor-block-preview__content-iframe .block-list-appender {
|
|
1203
|
-
display: none;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
834
|
.block-editor-block-preview__live-content * {
|
|
1207
835
|
pointer-events: none;
|
|
1208
836
|
}
|
|
@@ -1857,124 +1485,30 @@
|
|
|
1857
1485
|
padding: 0;
|
|
1858
1486
|
}
|
|
1859
1487
|
.block-editor-tools-panel-color-gradient-settings__dropdown > button {
|
|
1860
|
-
height: auto;
|
|
1861
|
-
padding-top: 10px;
|
|
1862
|
-
padding-bottom: 10px;
|
|
1863
|
-
text-align: right;
|
|
1864
|
-
}
|
|
1865
|
-
.block-editor-tools-panel-color-gradient-settings__dropdown > button.is-open {
|
|
1866
|
-
background: #f0f0f0;
|
|
1867
|
-
color: var(--wp-admin-theme-color);
|
|
1868
|
-
}
|
|
1869
|
-
.block-editor-tools-panel-color-gradient-settings__dropdown .block-editor-panel-color-gradient-settings__color-name {
|
|
1870
|
-
white-space: nowrap;
|
|
1871
|
-
overflow: hidden;
|
|
1872
|
-
text-overflow: ellipsis;
|
|
1873
|
-
}
|
|
1874
|
-
|
|
1875
|
-
.block-editor-panel-color-gradient-settings__dropdown {
|
|
1876
|
-
width: 100%;
|
|
1877
|
-
}
|
|
1878
|
-
.block-editor-panel-color-gradient-settings__dropdown .component-color-indicator {
|
|
1879
|
-
flex-shrink: 0;
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
|
-
.block-editor-contrast-checker > .components-notice {
|
|
1883
|
-
margin: 0;
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
* Default block appender.
|
|
1888
|
-
*
|
|
1889
|
-
* This component shows up in 3 places:
|
|
1890
|
-
* - the black plus that sits at the end of the canvas, if the last block isn't a paragraph
|
|
1891
|
-
* - on the right, inside empty paragraphs
|
|
1892
|
-
* - absolute positioned and blue inside nesting containers
|
|
1893
|
-
*/
|
|
1894
|
-
.block-editor-default-block-appender {
|
|
1895
|
-
clear: both;
|
|
1896
|
-
margin-right: auto;
|
|
1897
|
-
margin-left: auto;
|
|
1898
|
-
position: relative;
|
|
1899
|
-
}
|
|
1900
|
-
.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover {
|
|
1901
|
-
outline: 1px solid transparent;
|
|
1902
|
-
}
|
|
1903
|
-
.block-editor-default-block-appender .block-editor-default-block-appender__content {
|
|
1904
|
-
opacity: 0.62;
|
|
1905
|
-
}
|
|
1906
|
-
.block-editor-default-block-appender .components-drop-zone__content-icon {
|
|
1907
|
-
display: none;
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
.block-editor-default-block-appender .block-editor-inserter {
|
|
1911
|
-
position: absolute;
|
|
1912
|
-
top: 0;
|
|
1913
|
-
left: 0;
|
|
1914
|
-
line-height: 0;
|
|
1915
|
-
}
|
|
1916
|
-
.block-editor-default-block-appender .block-editor-inserter:disabled {
|
|
1917
|
-
display: none;
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
/**
|
|
1921
|
-
* Fixed position appender.
|
|
1922
|
-
* These styles apply to all in-canvas inserters that exist inside nesting containers.
|
|
1923
|
-
*/
|
|
1924
|
-
.block-editor-block-list__block .block-list-appender {
|
|
1925
|
-
position: absolute;
|
|
1926
|
-
list-style: none;
|
|
1927
|
-
padding: 0;
|
|
1928
|
-
z-index: 2;
|
|
1929
|
-
bottom: 0;
|
|
1930
|
-
left: 0;
|
|
1931
|
-
}
|
|
1932
|
-
.block-editor-block-list__block .block-list-appender.block-list-appender {
|
|
1933
|
-
margin: 0;
|
|
1934
|
-
line-height: 0;
|
|
1935
|
-
}
|
|
1936
|
-
.block-editor-block-list__block .block-list-appender .block-editor-default-block-appender {
|
|
1937
|
-
height: 24px;
|
|
1938
|
-
}
|
|
1939
|
-
.block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
|
|
1940
|
-
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
|
|
1941
|
-
flex-direction: row;
|
|
1942
|
-
box-shadow: none;
|
|
1943
|
-
height: 24px;
|
|
1944
|
-
width: 24px;
|
|
1945
|
-
display: none;
|
|
1946
|
-
padding: 0 !important;
|
|
1947
|
-
background: #1e1e1e;
|
|
1948
|
-
color: #fff;
|
|
1949
|
-
}
|
|
1950
|
-
.block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
|
|
1951
|
-
.block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover {
|
|
1952
|
-
color: #fff;
|
|
1953
|
-
background: var(--wp-admin-theme-color);
|
|
1954
|
-
}
|
|
1955
|
-
.block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content {
|
|
1956
|
-
display: none;
|
|
1488
|
+
height: auto;
|
|
1489
|
+
padding-top: 10px;
|
|
1490
|
+
padding-bottom: 10px;
|
|
1491
|
+
text-align: right;
|
|
1957
1492
|
}
|
|
1958
|
-
.block-editor-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
align-self: center;
|
|
1962
|
-
list-style: none;
|
|
1963
|
-
line-height: inherit;
|
|
1493
|
+
.block-editor-tools-panel-color-gradient-settings__dropdown > button.is-open {
|
|
1494
|
+
background: #f0f0f0;
|
|
1495
|
+
color: var(--wp-admin-theme-color);
|
|
1964
1496
|
}
|
|
1965
|
-
.block-editor-
|
|
1966
|
-
|
|
1497
|
+
.block-editor-tools-panel-color-gradient-settings__dropdown .block-editor-panel-color-gradient-settings__color-name {
|
|
1498
|
+
white-space: nowrap;
|
|
1499
|
+
overflow: hidden;
|
|
1500
|
+
text-overflow: ellipsis;
|
|
1967
1501
|
}
|
|
1968
1502
|
|
|
1969
|
-
.block-editor-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
.block-editor-
|
|
1973
|
-
|
|
1503
|
+
.block-editor-panel-color-gradient-settings__dropdown {
|
|
1504
|
+
width: 100%;
|
|
1505
|
+
}
|
|
1506
|
+
.block-editor-panel-color-gradient-settings__dropdown .component-color-indicator {
|
|
1507
|
+
flex-shrink: 0;
|
|
1974
1508
|
}
|
|
1975
1509
|
|
|
1976
|
-
.block-editor-
|
|
1977
|
-
|
|
1510
|
+
.block-editor-contrast-checker > .components-notice {
|
|
1511
|
+
margin: 0;
|
|
1978
1512
|
}
|
|
1979
1513
|
|
|
1980
1514
|
.block-editor-date-format-picker {
|
|
@@ -2029,6 +1563,12 @@
|
|
|
2029
1563
|
text-transform: capitalize;
|
|
2030
1564
|
}
|
|
2031
1565
|
|
|
1566
|
+
.block-editor-height-control {
|
|
1567
|
+
border: 0;
|
|
1568
|
+
margin: 0;
|
|
1569
|
+
padding: 0;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
2032
1572
|
.block-editor-image-size-control {
|
|
2033
1573
|
margin-bottom: 1em;
|
|
2034
1574
|
}
|
|
@@ -2051,22 +1591,25 @@
|
|
|
2051
1591
|
margin-right: 5px;
|
|
2052
1592
|
}
|
|
2053
1593
|
|
|
2054
|
-
.block-editor-block-list__layout.has-overlay::after {
|
|
2055
|
-
content: "";
|
|
2056
|
-
position: absolute;
|
|
2057
|
-
top: 0;
|
|
2058
|
-
left: 0;
|
|
2059
|
-
bottom: 0;
|
|
2060
|
-
right: 0;
|
|
2061
|
-
z-index: 60;
|
|
2062
|
-
}
|
|
2063
|
-
|
|
2064
1594
|
.block-editor-block-types-list__list-item {
|
|
2065
1595
|
display: block;
|
|
2066
1596
|
width: 33.33%;
|
|
2067
1597
|
padding: 0;
|
|
2068
1598
|
margin: 0;
|
|
2069
1599
|
}
|
|
1600
|
+
.block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled) .block-editor-block-icon.has-colors {
|
|
1601
|
+
color: var(--wp-block-synced-color);
|
|
1602
|
+
}
|
|
1603
|
+
.block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title {
|
|
1604
|
+
color: var(--wp-block-synced-color) !important;
|
|
1605
|
+
filter: brightness(0.95);
|
|
1606
|
+
}
|
|
1607
|
+
.block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled):hover svg {
|
|
1608
|
+
color: var(--wp-block-synced-color) !important;
|
|
1609
|
+
}
|
|
1610
|
+
.block-editor-block-types-list__list-item.is-synced .components-button.block-editor-block-types-list__item:not(:disabled)::after {
|
|
1611
|
+
background: var(--wp-block-synced-color);
|
|
1612
|
+
}
|
|
2070
1613
|
|
|
2071
1614
|
.components-button.block-editor-block-types-list__item {
|
|
2072
1615
|
display: flex;
|
|
@@ -2240,7 +1783,7 @@
|
|
|
2240
1783
|
box-shadow: 0 0 0 transparent;
|
|
2241
1784
|
transition: box-shadow 0.1s linear;
|
|
2242
1785
|
border-radius: 2px;
|
|
2243
|
-
border: 1px solid #
|
|
1786
|
+
border: 1px solid #949494;
|
|
2244
1787
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
2245
1788
|
font-size: 16px;
|
|
2246
1789
|
/* Override core line-height. To be reviewed. */
|
|
@@ -2656,6 +2199,12 @@
|
|
|
2656
2199
|
.block-editor-list-view-leaf.is-selected td {
|
|
2657
2200
|
background: var(--wp-admin-theme-color);
|
|
2658
2201
|
}
|
|
2202
|
+
.block-editor-list-view-leaf.is-selected.is-synced td {
|
|
2203
|
+
background: var(--wp-block-synced-color);
|
|
2204
|
+
}
|
|
2205
|
+
.block-editor-list-view-leaf.is-synced:not(.is-selected) .block-editor-list-view-block-contents .block-editor-block-icon {
|
|
2206
|
+
color: var(--wp-block-synced-color);
|
|
2207
|
+
}
|
|
2659
2208
|
.block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon {
|
|
2660
2209
|
color: #fff;
|
|
2661
2210
|
}
|
|
@@ -2666,6 +2215,9 @@
|
|
|
2666
2215
|
.block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after {
|
|
2667
2216
|
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
2668
2217
|
}
|
|
2218
|
+
.block-editor-list-view-leaf.is-selected.is-synced .block-editor-list-view-block-contents:focus::after {
|
|
2219
|
+
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
|
|
2220
|
+
}
|
|
2669
2221
|
.block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus {
|
|
2670
2222
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
2671
2223
|
}
|
|
@@ -2684,8 +2236,11 @@
|
|
|
2684
2236
|
.block-editor-list-view-leaf.is-last-selected td:last-child {
|
|
2685
2237
|
border-bottom-left-radius: 2px;
|
|
2686
2238
|
}
|
|
2687
|
-
.block-editor-list-view-leaf.is-branch-selected:not(.is-selected) {
|
|
2688
|
-
background:
|
|
2239
|
+
.block-editor-list-view-leaf.is-branch-selected:not(.is-selected):not(.is-synced-branch) {
|
|
2240
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
2241
|
+
}
|
|
2242
|
+
.block-editor-list-view-leaf.is-synced-branch:not(.is-selected) {
|
|
2243
|
+
background: rgba(var(--wp-block-synced-color--rgb), 0.04);
|
|
2689
2244
|
}
|
|
2690
2245
|
.block-editor-list-view-leaf.is-branch-selected.is-first-selected td:first-child {
|
|
2691
2246
|
border-top-right-radius: 2px;
|
|
@@ -2715,7 +2270,6 @@
|
|
|
2715
2270
|
height: auto;
|
|
2716
2271
|
padding: 6px 0 6px 4px;
|
|
2717
2272
|
text-align: right;
|
|
2718
|
-
color: #1e1e1e;
|
|
2719
2273
|
border-radius: 2px;
|
|
2720
2274
|
position: relative;
|
|
2721
2275
|
white-space: nowrap;
|
|
@@ -2799,14 +2353,9 @@
|
|
|
2799
2353
|
}
|
|
2800
2354
|
.block-editor-list-view-leaf .block-editor-list-view-block__menu-cell > *,
|
|
2801
2355
|
.block-editor-list-view-leaf .block-editor-list-view-block__mover-cell > * {
|
|
2356
|
+
will-change: opacity;
|
|
2802
2357
|
opacity: 0;
|
|
2803
2358
|
}
|
|
2804
|
-
.block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible,
|
|
2805
|
-
.block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover,
|
|
2806
|
-
.block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible {
|
|
2807
|
-
position: relative;
|
|
2808
|
-
z-index: 1;
|
|
2809
|
-
}
|
|
2810
2359
|
.block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible > *,
|
|
2811
2360
|
.block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *,
|
|
2812
2361
|
.block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * {
|
|
@@ -3086,48 +2635,6 @@
|
|
|
3086
2635
|
left: 10px;
|
|
3087
2636
|
}
|
|
3088
2637
|
|
|
3089
|
-
.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button {
|
|
3090
|
-
margin-bottom: 0;
|
|
3091
|
-
}
|
|
3092
|
-
|
|
3093
|
-
.block-editor-media-placeholder__url-input-form {
|
|
3094
|
-
display: flex;
|
|
3095
|
-
}
|
|
3096
|
-
.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field {
|
|
3097
|
-
width: 100%;
|
|
3098
|
-
min-width: 200px;
|
|
3099
|
-
flex-grow: 1;
|
|
3100
|
-
border: none;
|
|
3101
|
-
border-radius: 0;
|
|
3102
|
-
margin: 2px;
|
|
3103
|
-
}
|
|
3104
|
-
@media (min-width: 600px) {
|
|
3105
|
-
.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field {
|
|
3106
|
-
width: 300px;
|
|
3107
|
-
}
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
|
-
.block-editor-media-placeholder__url-input-submit-button {
|
|
3111
|
-
flex-shrink: 1;
|
|
3112
|
-
}
|
|
3113
|
-
|
|
3114
|
-
.block-editor-media-placeholder__button {
|
|
3115
|
-
margin-bottom: 0.5rem;
|
|
3116
|
-
}
|
|
3117
|
-
|
|
3118
|
-
.block-editor-media-placeholder__cancel-button.is-link {
|
|
3119
|
-
margin: 1em;
|
|
3120
|
-
display: block;
|
|
3121
|
-
}
|
|
3122
|
-
|
|
3123
|
-
.block-editor-media-placeholder.is-appender {
|
|
3124
|
-
min-height: 0;
|
|
3125
|
-
}
|
|
3126
|
-
.block-editor-media-placeholder.is-appender:hover {
|
|
3127
|
-
cursor: pointer;
|
|
3128
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
3129
|
-
}
|
|
3130
|
-
|
|
3131
2638
|
.block-editor-multi-selection-inspector__card {
|
|
3132
2639
|
display: flex;
|
|
3133
2640
|
align-items: flex-start;
|
|
@@ -3155,18 +2662,6 @@
|
|
|
3155
2662
|
height: 24px;
|
|
3156
2663
|
}
|
|
3157
2664
|
|
|
3158
|
-
.block-editor-plain-text {
|
|
3159
|
-
box-shadow: none;
|
|
3160
|
-
font-family: inherit;
|
|
3161
|
-
font-size: inherit;
|
|
3162
|
-
color: inherit;
|
|
3163
|
-
line-height: inherit;
|
|
3164
|
-
border: none;
|
|
3165
|
-
padding: 0;
|
|
3166
|
-
margin: 0;
|
|
3167
|
-
width: 100%;
|
|
3168
|
-
}
|
|
3169
|
-
|
|
3170
2665
|
.block-editor-responsive-block-control {
|
|
3171
2666
|
margin-bottom: 28px;
|
|
3172
2667
|
border-bottom: 1px solid #ccc;
|
|
@@ -3200,7 +2695,8 @@
|
|
|
3200
2695
|
.block-editor-responsive-block-control .components-base-control__help {
|
|
3201
2696
|
border: 0;
|
|
3202
2697
|
clip: rect(1px, 1px, 1px, 1px);
|
|
3203
|
-
clip-path: inset(50%);
|
|
2698
|
+
-webkit-clip-path: inset(50%);
|
|
2699
|
+
clip-path: inset(50%);
|
|
3204
2700
|
height: 1px;
|
|
3205
2701
|
margin: -1px;
|
|
3206
2702
|
overflow: hidden;
|
|
@@ -3210,28 +2706,6 @@
|
|
|
3210
2706
|
word-wrap: normal !important;
|
|
3211
2707
|
}
|
|
3212
2708
|
|
|
3213
|
-
.rich-text [data-rich-text-placeholder] {
|
|
3214
|
-
pointer-events: none;
|
|
3215
|
-
}
|
|
3216
|
-
.rich-text [data-rich-text-placeholder]::after {
|
|
3217
|
-
content: attr(data-rich-text-placeholder);
|
|
3218
|
-
opacity: 0.62;
|
|
3219
|
-
}
|
|
3220
|
-
.rich-text:focus {
|
|
3221
|
-
outline: none;
|
|
3222
|
-
}
|
|
3223
|
-
.rich-text:focus [data-rich-text-format-boundary] {
|
|
3224
|
-
border-radius: 2px;
|
|
3225
|
-
}
|
|
3226
|
-
|
|
3227
|
-
.block-editor-rich-text__editable > p:first-child {
|
|
3228
|
-
margin-top: 0;
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before {
|
|
3232
|
-
opacity: 0.8;
|
|
3233
|
-
}
|
|
3234
|
-
|
|
3235
2709
|
.components-popover.block-editor-rich-text__inline-format-toolbar {
|
|
3236
2710
|
z-index: 99998;
|
|
3237
2711
|
}
|
|
@@ -3267,14 +2741,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
3267
2741
|
content: attr(aria-label);
|
|
3268
2742
|
}
|
|
3269
2743
|
|
|
3270
|
-
[data-rich-text-script] {
|
|
3271
|
-
display: inline;
|
|
3272
|
-
}
|
|
3273
|
-
[data-rich-text-script]::before {
|
|
3274
|
-
content: "</>";
|
|
3275
|
-
background: yellow;
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
2744
|
.block-editor-skip-to-selected-block {
|
|
3279
2745
|
position: absolute;
|
|
3280
2746
|
top: -9999em;
|
|
@@ -3406,7 +2872,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
3406
2872
|
box-shadow: 0 0 0 transparent;
|
|
3407
2873
|
transition: box-shadow 0.1s linear;
|
|
3408
2874
|
border-radius: 2px;
|
|
3409
|
-
border: 1px solid #
|
|
2875
|
+
border: 1px solid #949494;
|
|
3410
2876
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
3411
2877
|
font-size: 16px;
|
|
3412
2878
|
/* Override core line-height. To be reviewed. */
|
|
@@ -3508,7 +2974,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
3508
2974
|
}
|
|
3509
2975
|
|
|
3510
2976
|
.block-editor-url-input__button-modal {
|
|
3511
|
-
box-shadow: 0 2px
|
|
2977
|
+
box-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.1), 0 1.2px 1.7px -0.2px rgba(0, 0, 0, 0.1), 0 2.3px 3.3px -0.5px rgba(0, 0, 0, 0.1);
|
|
3512
2978
|
border: 1px solid #ddd;
|
|
3513
2979
|
background: #fff;
|
|
3514
2980
|
}
|
|
@@ -3780,6 +3246,12 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
3780
3246
|
border: 0;
|
|
3781
3247
|
border-left: 1px solid #ddd;
|
|
3782
3248
|
}
|
|
3249
|
+
.block-editor-block-toolbar.is-synced .block-editor-block-switcher .components-button .block-editor-block-icon {
|
|
3250
|
+
color: var(--wp-block-synced-color);
|
|
3251
|
+
}
|
|
3252
|
+
.block-editor-block-toolbar.is-synced .components-toolbar-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors {
|
|
3253
|
+
color: var(--wp-block-synced-color);
|
|
3254
|
+
}
|
|
3783
3255
|
.block-editor-block-toolbar > :last-child,
|
|
3784
3256
|
.block-editor-block-toolbar > :last-child .components-toolbar-group,
|
|
3785
3257
|
.block-editor-block-toolbar > :last-child .components-toolbar {
|
|
@@ -4019,9 +3491,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4019
3491
|
.block-editor-inserter__search .components-search-control__icon {
|
|
4020
3492
|
left: 20px;
|
|
4021
3493
|
}
|
|
4022
|
-
.block-editor-inserter__search .components-base-control__field {
|
|
4023
|
-
margin-bottom: 0;
|
|
4024
|
-
}
|
|
4025
3494
|
|
|
4026
3495
|
.block-editor-inserter__tabs {
|
|
4027
3496
|
flex-grow: 1;
|
|
@@ -4036,6 +3505,11 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4036
3505
|
flex-grow: 1;
|
|
4037
3506
|
margin-bottom: -1px;
|
|
4038
3507
|
}
|
|
3508
|
+
.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item[id$=reusable] {
|
|
3509
|
+
flex-grow: inherit;
|
|
3510
|
+
padding-right: 16px;
|
|
3511
|
+
padding-left: 16px;
|
|
3512
|
+
}
|
|
4039
3513
|
.block-editor-inserter__tabs .components-tab-panel__tab-content {
|
|
4040
3514
|
display: flex;
|
|
4041
3515
|
flex-grow: 1;
|
|
@@ -4081,9 +3555,13 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4081
3555
|
text-align: left;
|
|
4082
3556
|
}
|
|
4083
3557
|
|
|
3558
|
+
.block-editor-inserter__manage-reusable-blocks-container {
|
|
3559
|
+
margin: auto 16px 16px;
|
|
3560
|
+
}
|
|
3561
|
+
|
|
4084
3562
|
.block-editor-inserter__manage-reusable-blocks {
|
|
4085
|
-
|
|
4086
|
-
|
|
3563
|
+
justify-content: center;
|
|
3564
|
+
width: 100%;
|
|
4087
3565
|
}
|
|
4088
3566
|
|
|
4089
3567
|
.block-editor-inserter__no-results {
|
|
@@ -4177,12 +3655,11 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4177
3655
|
overflow-y: auto;
|
|
4178
3656
|
height: 100%;
|
|
4179
3657
|
}
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
flex-grow: 1;
|
|
3658
|
+
.block-editor-inserter__block-patterns-tabs div[role=listitem]:last-child {
|
|
3659
|
+
margin-top: auto;
|
|
4183
3660
|
}
|
|
4184
3661
|
|
|
4185
|
-
.block-editor-inserter__patterns-category-
|
|
3662
|
+
.block-editor-inserter__patterns-category-dialog {
|
|
4186
3663
|
background: #f0f0f0;
|
|
4187
3664
|
border-right: 1px solid #e0e0e0;
|
|
4188
3665
|
border-left: 1px solid #e0e0e0;
|
|
@@ -4196,23 +3673,29 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4196
3673
|
scrollbar-gutter: stable both-edges;
|
|
4197
3674
|
}
|
|
4198
3675
|
@media (min-width: 782px) {
|
|
4199
|
-
.block-editor-inserter__patterns-category-
|
|
3676
|
+
.block-editor-inserter__patterns-category-dialog {
|
|
4200
3677
|
right: 100%;
|
|
4201
3678
|
display: block;
|
|
4202
3679
|
width: 300px;
|
|
4203
3680
|
}
|
|
4204
3681
|
}
|
|
4205
|
-
.block-editor-inserter__patterns-category-
|
|
3682
|
+
.block-editor-inserter__patterns-category-dialog .block-editor-block-patterns-list {
|
|
4206
3683
|
margin-top: 24px;
|
|
4207
3684
|
}
|
|
4208
|
-
.block-editor-inserter__patterns-category-
|
|
3685
|
+
.block-editor-inserter__patterns-category-dialog .block-editor-block-preview__container {
|
|
4209
3686
|
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
|
|
4210
3687
|
}
|
|
4211
|
-
.block-editor-inserter__patterns-category-
|
|
3688
|
+
.block-editor-inserter__patterns-category-dialog .block-editor-block-preview__container:hover {
|
|
4212
3689
|
box-shadow: 0 0 0 2px #1e1e1e, 0 15px 25px rgba(0, 0, 0, 0.07);
|
|
4213
3690
|
}
|
|
4214
|
-
|
|
4215
|
-
|
|
3691
|
+
|
|
3692
|
+
.block-editor-inserter__patterns-category-panel {
|
|
3693
|
+
padding: 0 16px;
|
|
3694
|
+
}
|
|
3695
|
+
@media (min-width: 782px) {
|
|
3696
|
+
.block-editor-inserter__patterns-category-panel {
|
|
3697
|
+
padding: 0;
|
|
3698
|
+
}
|
|
4216
3699
|
}
|
|
4217
3700
|
|
|
4218
3701
|
.block-editor-inserter__preview-content {
|
|
@@ -4240,10 +3723,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4240
3723
|
position: relative;
|
|
4241
3724
|
}
|
|
4242
3725
|
|
|
4243
|
-
.block-editor-inserter__manage-reusable-blocks-container {
|
|
4244
|
-
padding: 16px;
|
|
4245
|
-
}
|
|
4246
|
-
|
|
4247
3726
|
.block-editor-inserter__quick-inserter {
|
|
4248
3727
|
width: 100%;
|
|
4249
3728
|
max-width: 100%;
|
|
@@ -4328,7 +3807,8 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4328
3807
|
padding-bottom: 32px;
|
|
4329
3808
|
}
|
|
4330
3809
|
.block-editor-block-patterns-explorer__list {
|
|
4331
|
-
margin-right:
|
|
3810
|
+
margin-right: 280px;
|
|
3811
|
+
padding: 24px 0 32px;
|
|
4332
3812
|
}
|
|
4333
3813
|
.block-editor-block-patterns-explorer .block-editor-block-patterns-list {
|
|
4334
3814
|
display: grid;
|
|
@@ -4358,6 +3838,139 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4358
3838
|
font-size: calc(1.25 * 13px);
|
|
4359
3839
|
}
|
|
4360
3840
|
|
|
3841
|
+
.block-editor-inserter__media-tabs-container {
|
|
3842
|
+
height: 100%;
|
|
3843
|
+
}
|
|
3844
|
+
.block-editor-inserter__media-tabs-container nav {
|
|
3845
|
+
height: 100%;
|
|
3846
|
+
}
|
|
3847
|
+
.block-editor-inserter__media-tabs-container .block-editor-inserter__media-library-button {
|
|
3848
|
+
padding: 16px;
|
|
3849
|
+
justify-content: center;
|
|
3850
|
+
margin-top: 16px;
|
|
3851
|
+
width: 100%;
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
.block-editor-inserter__media-tabs {
|
|
3855
|
+
display: flex;
|
|
3856
|
+
flex-direction: column;
|
|
3857
|
+
padding: 16px;
|
|
3858
|
+
overflow-y: auto;
|
|
3859
|
+
height: 100%;
|
|
3860
|
+
}
|
|
3861
|
+
.block-editor-inserter__media-tabs div[role=listitem]:last-child {
|
|
3862
|
+
margin-top: auto;
|
|
3863
|
+
}
|
|
3864
|
+
.block-editor-inserter__media-tabs__media-category.is-selected {
|
|
3865
|
+
color: var(--wp-admin-theme-color);
|
|
3866
|
+
position: relative;
|
|
3867
|
+
}
|
|
3868
|
+
.block-editor-inserter__media-tabs__media-category.is-selected .components-flex-item {
|
|
3869
|
+
filter: brightness(0.95);
|
|
3870
|
+
}
|
|
3871
|
+
.block-editor-inserter__media-tabs__media-category.is-selected svg {
|
|
3872
|
+
fill: var(--wp-admin-theme-color);
|
|
3873
|
+
}
|
|
3874
|
+
.block-editor-inserter__media-tabs__media-category.is-selected::after {
|
|
3875
|
+
content: "";
|
|
3876
|
+
position: absolute;
|
|
3877
|
+
top: 0;
|
|
3878
|
+
bottom: 0;
|
|
3879
|
+
right: 0;
|
|
3880
|
+
left: 0;
|
|
3881
|
+
border-radius: 2px;
|
|
3882
|
+
opacity: 0.04;
|
|
3883
|
+
background: var(--wp-admin-theme-color);
|
|
3884
|
+
}
|
|
3885
|
+
|
|
3886
|
+
.block-editor-inserter__media-dialog {
|
|
3887
|
+
background: #f0f0f0;
|
|
3888
|
+
border-right: 1px solid #e0e0e0;
|
|
3889
|
+
border-left: 1px solid #e0e0e0;
|
|
3890
|
+
position: absolute;
|
|
3891
|
+
padding: 16px 24px;
|
|
3892
|
+
top: 0;
|
|
3893
|
+
right: 0;
|
|
3894
|
+
height: 100%;
|
|
3895
|
+
width: 100%;
|
|
3896
|
+
overflow-y: auto;
|
|
3897
|
+
scrollbar-gutter: stable both-edges;
|
|
3898
|
+
}
|
|
3899
|
+
@media (min-width: 782px) {
|
|
3900
|
+
.block-editor-inserter__media-dialog {
|
|
3901
|
+
right: 100%;
|
|
3902
|
+
display: block;
|
|
3903
|
+
width: 300px;
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
.block-editor-inserter__media-dialog .block-editor-block-preview__container {
|
|
3907
|
+
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
|
|
3908
|
+
}
|
|
3909
|
+
.block-editor-inserter__media-dialog .block-editor-block-preview__container:hover {
|
|
3910
|
+
box-shadow: 0 0 0 2px #1e1e1e, 0 15px 25px rgba(0, 0, 0, 0.07);
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
.block-editor-inserter__media-panel {
|
|
3914
|
+
height: 100%;
|
|
3915
|
+
padding: 0 16px;
|
|
3916
|
+
}
|
|
3917
|
+
@media (min-width: 782px) {
|
|
3918
|
+
.block-editor-inserter__media-panel {
|
|
3919
|
+
padding: 0;
|
|
3920
|
+
}
|
|
3921
|
+
}
|
|
3922
|
+
.block-editor-inserter__media-panel .block-editor-inserter__media-panel-spinner {
|
|
3923
|
+
height: 100%;
|
|
3924
|
+
display: flex;
|
|
3925
|
+
align-items: center;
|
|
3926
|
+
justify-content: center;
|
|
3927
|
+
}
|
|
3928
|
+
.block-editor-inserter__media-panel .block-editor-inserter__media-panel-search.components-search-control input[type=search].components-search-control__input {
|
|
3929
|
+
background: #fff;
|
|
3930
|
+
}
|
|
3931
|
+
|
|
3932
|
+
.block-editor-inserter__media-list {
|
|
3933
|
+
margin-top: 16px;
|
|
3934
|
+
}
|
|
3935
|
+
.block-editor-inserter__media-list__list-item {
|
|
3936
|
+
cursor: pointer;
|
|
3937
|
+
margin-bottom: 24px;
|
|
3938
|
+
}
|
|
3939
|
+
.block-editor-inserter__media-list__list-item.is-placeholder {
|
|
3940
|
+
min-height: 100px;
|
|
3941
|
+
}
|
|
3942
|
+
.block-editor-inserter__media-list__list-item[draggable=true] .block-editor-block-preview__container {
|
|
3943
|
+
cursor: grab;
|
|
3944
|
+
}
|
|
3945
|
+
.block-editor-inserter__media-list__item {
|
|
3946
|
+
height: 100%;
|
|
3947
|
+
}
|
|
3948
|
+
.block-editor-inserter__media-list__item-preview {
|
|
3949
|
+
display: flex;
|
|
3950
|
+
align-items: center;
|
|
3951
|
+
overflow: hidden;
|
|
3952
|
+
border-radius: 4px;
|
|
3953
|
+
}
|
|
3954
|
+
.block-editor-inserter__media-list__item-preview > * {
|
|
3955
|
+
margin: 0 auto;
|
|
3956
|
+
max-width: 100%;
|
|
3957
|
+
}
|
|
3958
|
+
.block-editor-inserter__media-list__item:hover .block-editor-inserter__media-list__item-preview {
|
|
3959
|
+
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
|
|
3960
|
+
}
|
|
3961
|
+
.block-editor-inserter__media-list__item:focus .block-editor-inserter__media-list__item-preview {
|
|
3962
|
+
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
3963
|
+
outline: 2px solid transparent;
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3966
|
+
.block-editor-inserter__mobile-tab-navigation {
|
|
3967
|
+
padding: 16px;
|
|
3968
|
+
height: 100%;
|
|
3969
|
+
}
|
|
3970
|
+
.block-editor-inserter__mobile-tab-navigation > * {
|
|
3971
|
+
height: 100%;
|
|
3972
|
+
}
|
|
3973
|
+
|
|
4361
3974
|
.block-editor-post-preview__dropdown {
|
|
4362
3975
|
padding: 0;
|
|
4363
3976
|
}
|
|
@@ -4527,6 +4140,30 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
|
|
4527
4140
|
margin-top: 8px;
|
|
4528
4141
|
}
|
|
4529
4142
|
|
|
4143
|
+
.offcanvas-editor__appender .block-editor-inserter__toggle {
|
|
4144
|
+
background-color: #1e1e1e;
|
|
4145
|
+
color: #fff;
|
|
4146
|
+
margin: 8px 28px 0 0;
|
|
4147
|
+
border-radius: 2px;
|
|
4148
|
+
height: 24px;
|
|
4149
|
+
min-width: 24px;
|
|
4150
|
+
padding: 0;
|
|
4151
|
+
}
|
|
4152
|
+
.offcanvas-editor__appender .block-editor-inserter__toggle:hover, .offcanvas-editor__appender .block-editor-inserter__toggle:focus {
|
|
4153
|
+
background: var(--wp-admin-theme-color);
|
|
4154
|
+
color: #fff;
|
|
4155
|
+
}
|
|
4156
|
+
|
|
4157
|
+
.offcanvas-editor-list-view-tree-wrapper {
|
|
4158
|
+
max-width: 100%;
|
|
4159
|
+
overflow-x: auto;
|
|
4160
|
+
}
|
|
4161
|
+
|
|
4162
|
+
.offcanvas-editor-list-view-leaf {
|
|
4163
|
+
display: block;
|
|
4164
|
+
max-width: 248px;
|
|
4165
|
+
}
|
|
4166
|
+
|
|
4530
4167
|
body.admin-color-light {
|
|
4531
4168
|
--wp-admin-theme-color: #0085ba;
|
|
4532
4169
|
--wp-admin-theme-color--rgb: 0, 133, 186;
|