@wordpress/block-editor 13.4.0 → 14.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 +11 -0
- package/README.md +11 -1
- package/build/components/block-breadcrumb/index.js +3 -1
- package/build/components/block-breadcrumb/index.js.map +1 -1
- package/build/components/block-draggable/index.js +2 -2
- package/build/components/block-draggable/index.js.map +1 -1
- package/build/components/block-list/use-block-props/use-block-refs.js +24 -32
- package/build/components/block-list/use-block-props/use-block-refs.js.map +1 -1
- package/build/components/block-mover/index.js +1 -2
- package/build/components/block-mover/index.js.map +1 -1
- package/build/components/block-popover/cover.js +1 -1
- package/build/components/block-popover/cover.js.map +1 -1
- package/build/components/block-popover/inbetween.js +2 -2
- package/build/components/block-popover/inbetween.js.map +1 -1
- package/build/components/block-popover/index.js +2 -2
- package/build/components/block-popover/index.js.map +1 -1
- package/build/components/block-tools/block-selection-button.js +1 -2
- package/build/components/block-tools/block-selection-button.js.map +1 -1
- package/build/components/block-tools/index.js +1 -1
- package/build/components/block-tools/index.js.map +1 -1
- package/build/components/block-tools/use-block-toolbar-popover-props.js +1 -1
- package/build/components/block-tools/use-block-toolbar-popover-props.js.map +1 -1
- package/build/components/block-tools/zoom-out-mode-inserters.js +15 -16
- package/build/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build/components/block-tools/zoom-out-toolbar.js +0 -1
- package/build/components/block-tools/zoom-out-toolbar.js.map +1 -1
- package/build/components/child-layout-control/index.js +3 -1
- package/build/components/child-layout-control/index.js.map +1 -1
- package/build/components/dimensions-tool/scale-tool.js +1 -0
- package/build/components/dimensions-tool/scale-tool.js.map +1 -1
- package/build/components/font-family/index.js +12 -0
- package/build/components/font-family/index.js.map +1 -1
- package/build/components/global-styles/background-panel.js +55 -51
- package/build/components/global-styles/background-panel.js.map +1 -1
- package/build/components/global-styles/image-settings-panel.js +1 -0
- package/build/components/global-styles/image-settings-panel.js.map +1 -1
- package/build/components/global-styles/theme-file-uri-utils.js +0 -59
- package/build/components/global-styles/theme-file-uri-utils.js.map +1 -1
- package/build/components/global-styles/typography-panel.js +0 -1
- package/build/components/global-styles/typography-panel.js.map +1 -1
- package/build/components/global-styles/use-global-styles-output.js +58 -39
- package/build/components/global-styles/use-global-styles-output.js.map +1 -1
- package/build/components/global-styles/utils.js +96 -0
- package/build/components/global-styles/utils.js.map +1 -1
- package/build/components/grid/grid-item-movers.js +30 -26
- package/build/components/grid/grid-item-movers.js.map +1 -1
- package/build/components/grid/grid-item-resizer.js +14 -15
- package/build/components/grid/grid-item-resizer.js.map +1 -1
- package/build/components/grid/grid-visualizer.js +1 -1
- package/build/components/grid/grid-visualizer.js.map +1 -1
- package/build/components/grid/use-grid-layout-sync.js +56 -20
- package/build/components/grid/use-grid-layout-sync.js.map +1 -1
- package/build/components/iframe/index.js +4 -8
- package/build/components/iframe/index.js.map +1 -1
- package/build/components/inserter/category-tabs/index.js +29 -2
- package/build/components/inserter/category-tabs/index.js.map +1 -1
- package/build/components/inserter/menu.js +2 -2
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/line-height-control/index.js +0 -15
- package/build/components/line-height-control/index.js.map +1 -1
- package/build/components/link-control/search-input.js +0 -1
- package/build/components/link-control/search-input.js.map +1 -1
- package/build/components/media-replace-flow/index.js +3 -1
- package/build/components/media-replace-flow/index.js.map +1 -1
- package/build/components/resolution-tool/index.js +1 -0
- package/build/components/resolution-tool/index.js.map +1 -1
- package/build/components/skip-to-selected-block/index.js +4 -2
- package/build/components/skip-to-selected-block/index.js.map +1 -1
- package/build/components/spacing-sizes-control/input-controls/spacing-input-control.js +4 -6
- package/build/components/spacing-sizes-control/input-controls/spacing-input-control.js.map +1 -1
- package/build/components/url-input/button.js +0 -1
- package/build/components/url-input/button.js.map +1 -1
- package/build/components/url-input/index.js +1 -11
- package/build/components/url-input/index.js.map +1 -1
- package/build/components/url-popover/link-editor.js +0 -1
- package/build/components/url-popover/link-editor.js.map +1 -1
- package/build/components/use-block-drop-zone/index.js +30 -4
- package/build/components/use-block-drop-zone/index.js.map +1 -1
- package/build/components/use-on-block-drop/index.js +3 -6
- package/build/components/use-on-block-drop/index.js.map +1 -1
- package/build/components/use-resize-canvas/index.js +1 -3
- package/build/components/use-resize-canvas/index.js.map +1 -1
- package/build/components/use-settings/index.js +2 -1
- package/build/components/use-settings/index.js.map +1 -1
- package/build/hooks/block-bindings.js +248 -36
- package/build/hooks/block-bindings.js.map +1 -1
- package/build/hooks/block-hooks.js +1 -0
- package/build/hooks/block-hooks.js.map +1 -1
- package/build/hooks/block-style-variation.js +2 -2
- package/build/hooks/block-style-variation.js.map +1 -1
- package/build/hooks/contrast-checker.js +6 -6
- package/build/hooks/contrast-checker.js.map +1 -1
- package/build/hooks/duotone.js +3 -3
- package/build/hooks/duotone.js.map +1 -1
- package/build/hooks/index.js +7 -1
- package/build/hooks/index.js.map +1 -1
- package/build/hooks/line-height.js +0 -1
- package/build/hooks/line-height.js.map +1 -1
- package/build/hooks/spacing-visualizer.js +1 -1
- package/build/hooks/spacing-visualizer.js.map +1 -1
- package/build/hooks/use-bindings-attributes.js +4 -0
- package/build/hooks/use-bindings-attributes.js.map +1 -1
- package/build/hooks/use-zoom-out.js +1 -1
- package/build/hooks/use-zoom-out.js.map +1 -1
- package/build/hooks/utils.js +20 -0
- package/build/hooks/utils.js.map +1 -1
- package/build/index.js +7 -0
- package/build/index.js.map +1 -1
- package/build/private-apis.js +0 -1
- package/build/private-apis.js.map +1 -1
- package/build/store/actions.js +9 -1
- package/build/store/actions.js.map +1 -1
- package/build/store/selectors.js +4 -4
- package/build/store/selectors.js.map +1 -1
- package/build/utils/get-editor-region.js +1 -1
- package/build/utils/get-editor-region.js.map +1 -1
- package/build/utils/get-px-from-css-unit.js +1 -1
- package/build/utils/get-px-from-css-unit.js.map +1 -1
- package/build-module/components/block-breadcrumb/index.js +4 -2
- package/build-module/components/block-breadcrumb/index.js.map +1 -1
- package/build-module/components/block-draggable/index.js +3 -3
- package/build-module/components/block-draggable/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-block-refs.js +24 -34
- package/build-module/components/block-list/use-block-props/use-block-refs.js.map +1 -1
- package/build-module/components/block-mover/index.js +1 -2
- package/build-module/components/block-mover/index.js.map +1 -1
- package/build-module/components/block-popover/cover.js +1 -1
- package/build-module/components/block-popover/cover.js.map +1 -1
- package/build-module/components/block-popover/inbetween.js +1 -1
- package/build-module/components/block-popover/inbetween.js.map +1 -1
- package/build-module/components/block-popover/index.js +1 -1
- package/build-module/components/block-popover/index.js.map +1 -1
- package/build-module/components/block-tools/block-selection-button.js +1 -2
- package/build-module/components/block-tools/block-selection-button.js.map +1 -1
- package/build-module/components/block-tools/index.js +1 -1
- package/build-module/components/block-tools/index.js.map +1 -1
- package/build-module/components/block-tools/use-block-toolbar-popover-props.js +1 -1
- package/build-module/components/block-tools/use-block-toolbar-popover-props.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-mode-inserters.js +16 -17
- package/build-module/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-toolbar.js +0 -1
- package/build-module/components/block-tools/zoom-out-toolbar.js.map +1 -1
- package/build-module/components/child-layout-control/index.js +3 -1
- package/build-module/components/child-layout-control/index.js.map +1 -1
- package/build-module/components/dimensions-tool/scale-tool.js +1 -0
- package/build-module/components/dimensions-tool/scale-tool.js.map +1 -1
- package/build-module/components/font-family/index.js +11 -0
- package/build-module/components/font-family/index.js.map +1 -1
- package/build-module/components/global-styles/background-panel.js +55 -51
- package/build-module/components/global-styles/background-panel.js.map +1 -1
- package/build-module/components/global-styles/image-settings-panel.js +1 -0
- package/build-module/components/global-styles/image-settings-panel.js.map +1 -1
- package/build-module/components/global-styles/theme-file-uri-utils.js +0 -58
- package/build-module/components/global-styles/theme-file-uri-utils.js.map +1 -1
- package/build-module/components/global-styles/typography-panel.js +0 -1
- package/build-module/components/global-styles/typography-panel.js.map +1 -1
- package/build-module/components/global-styles/use-global-styles-output.js +57 -38
- package/build-module/components/global-styles/use-global-styles-output.js.map +1 -1
- package/build-module/components/global-styles/utils.js +92 -0
- package/build-module/components/global-styles/utils.js.map +1 -1
- package/build-module/components/grid/grid-item-movers.js +30 -26
- package/build-module/components/grid/grid-item-movers.js.map +1 -1
- package/build-module/components/grid/grid-item-resizer.js +14 -15
- package/build-module/components/grid/grid-item-resizer.js.map +1 -1
- package/build-module/components/grid/grid-visualizer.js +1 -1
- package/build-module/components/grid/grid-visualizer.js.map +1 -1
- package/build-module/components/grid/use-grid-layout-sync.js +56 -20
- package/build-module/components/grid/use-grid-layout-sync.js.map +1 -1
- package/build-module/components/iframe/index.js +4 -8
- package/build-module/components/iframe/index.js.map +1 -1
- package/build-module/components/inserter/category-tabs/index.js +30 -3
- package/build-module/components/inserter/category-tabs/index.js.map +1 -1
- package/build-module/components/inserter/menu.js +2 -2
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/line-height-control/index.js +0 -14
- package/build-module/components/line-height-control/index.js.map +1 -1
- package/build-module/components/link-control/search-input.js +0 -1
- package/build-module/components/link-control/search-input.js.map +1 -1
- package/build-module/components/media-replace-flow/index.js +3 -1
- package/build-module/components/media-replace-flow/index.js.map +1 -1
- package/build-module/components/resolution-tool/index.js +1 -0
- package/build-module/components/resolution-tool/index.js.map +1 -1
- package/build-module/components/skip-to-selected-block/index.js +5 -3
- package/build-module/components/skip-to-selected-block/index.js.map +1 -1
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +4 -6
- package/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js.map +1 -1
- package/build-module/components/url-input/button.js +0 -1
- package/build-module/components/url-input/button.js.map +1 -1
- package/build-module/components/url-input/index.js +1 -11
- package/build-module/components/url-input/index.js.map +1 -1
- package/build-module/components/url-popover/link-editor.js +0 -1
- package/build-module/components/url-popover/link-editor.js.map +1 -1
- package/build-module/components/use-block-drop-zone/index.js +30 -4
- package/build-module/components/use-block-drop-zone/index.js.map +1 -1
- package/build-module/components/use-on-block-drop/index.js +3 -6
- package/build-module/components/use-on-block-drop/index.js.map +1 -1
- package/build-module/components/use-resize-canvas/index.js +1 -3
- package/build-module/components/use-resize-canvas/index.js.map +1 -1
- package/build-module/components/use-settings/index.js +2 -1
- package/build-module/components/use-settings/index.js.map +1 -1
- package/build-module/hooks/block-bindings.js +253 -40
- package/build-module/hooks/block-bindings.js.map +1 -1
- package/build-module/hooks/block-hooks.js +1 -0
- package/build-module/hooks/block-hooks.js.map +1 -1
- package/build-module/hooks/block-style-variation.js +3 -3
- package/build-module/hooks/block-style-variation.js.map +1 -1
- package/build-module/hooks/contrast-checker.js +7 -7
- package/build-module/hooks/contrast-checker.js.map +1 -1
- package/build-module/hooks/duotone.js +4 -4
- package/build-module/hooks/duotone.js.map +1 -1
- package/build-module/hooks/index.js +2 -1
- package/build-module/hooks/index.js.map +1 -1
- package/build-module/hooks/line-height.js +0 -1
- package/build-module/hooks/line-height.js.map +1 -1
- package/build-module/hooks/spacing-visualizer.js +1 -1
- package/build-module/hooks/spacing-visualizer.js.map +1 -1
- package/build-module/hooks/use-bindings-attributes.js +3 -0
- package/build-module/hooks/use-bindings-attributes.js.map +1 -1
- package/build-module/hooks/use-zoom-out.js +1 -1
- package/build-module/hooks/use-zoom-out.js.map +1 -1
- package/build-module/hooks/utils.js +19 -0
- package/build-module/hooks/utils.js.map +1 -1
- package/build-module/index.js +1 -1
- package/build-module/index.js.map +1 -1
- package/build-module/private-apis.js +1 -2
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/actions.js +9 -1
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/selectors.js +4 -4
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/get-editor-region.js +1 -1
- package/build-module/utils/get-editor-region.js.map +1 -1
- package/build-module/utils/get-px-from-css-unit.js +1 -1
- package/build-module/utils/get-px-from-css-unit.js.map +1 -1
- package/build-style/content-rtl.css +5 -12
- package/build-style/content.css +5 -12
- package/build-style/default-editor-styles-rtl.css +3 -0
- package/build-style/default-editor-styles.css +3 -0
- package/build-style/style-rtl.css +88 -46
- package/build-style/style.css +88 -46
- package/package.json +31 -31
- package/src/autocompleters/style.scss +4 -0
- package/src/components/block-breadcrumb/index.js +4 -2
- package/src/components/block-canvas/style.scss +1 -0
- package/src/components/block-draggable/index.js +3 -3
- package/src/components/block-list/use-block-props/use-block-refs.js +27 -43
- package/src/components/block-mover/index.js +5 -2
- package/src/components/block-popover/cover.js +1 -1
- package/src/components/block-popover/inbetween.js +1 -1
- package/src/components/block-popover/index.js +1 -1
- package/src/components/block-tools/block-selection-button.js +1 -2
- package/src/components/block-tools/index.js +5 -6
- package/src/components/block-tools/use-block-toolbar-popover-props.js +1 -1
- package/src/components/block-tools/zoom-out-mode-inserters.js +14 -18
- package/src/components/block-tools/zoom-out-toolbar.js +0 -1
- package/src/components/button-block-appender/content.scss +1 -1
- package/src/components/child-layout-control/index.js +2 -0
- package/src/components/color-palette/test/__snapshots__/control.js.snap +2 -2
- package/src/components/colors-gradients/test/control.js +3 -2
- package/src/components/dimensions-tool/scale-tool.js +1 -0
- package/src/components/font-family/README.md +8 -0
- package/src/components/font-family/index.js +16 -0
- package/src/components/font-family/stories/index.story.js +54 -0
- package/src/components/global-styles/background-panel.js +69 -61
- package/src/components/global-styles/image-settings-panel.js +1 -0
- package/src/components/global-styles/style.scss +0 -10
- package/src/components/global-styles/test/theme-file-uri-utils.js +1 -26
- package/src/components/global-styles/test/use-global-styles-output.js +49 -4
- package/src/components/global-styles/test/utils.js +120 -0
- package/src/components/global-styles/theme-file-uri-utils.js +0 -59
- package/src/components/global-styles/typography-panel.js +0 -1
- package/src/components/global-styles/use-global-styles-output.js +67 -48
- package/src/components/global-styles/utils.js +112 -0
- package/src/components/grid/grid-item-movers.js +46 -44
- package/src/components/grid/grid-item-resizer.js +11 -17
- package/src/components/grid/grid-visualizer.js +1 -1
- package/src/components/grid/style.scss +60 -10
- package/src/components/grid/use-grid-layout-sync.js +68 -14
- package/src/components/iframe/content.scss +2 -2
- package/src/components/iframe/index.js +3 -7
- package/src/components/inserter/category-tabs/index.js +35 -2
- package/src/components/inserter/menu.js +2 -2
- package/src/components/inserter/style.scss +16 -11
- package/src/components/inspector-controls/README.md +5 -0
- package/src/components/line-height-control/README.md +0 -8
- package/src/components/line-height-control/index.js +1 -21
- package/src/components/line-height-control/stories/index.story.js +0 -1
- package/src/components/line-height-control/test/index.js +1 -7
- package/src/components/link-control/search-input.js +0 -1
- package/src/components/media-replace-flow/README.md +7 -0
- package/src/components/media-replace-flow/index.js +3 -1
- package/src/components/resolution-tool/index.js +1 -0
- package/src/components/responsive-block-control/test/index.js +5 -1
- package/src/components/skip-to-selected-block/index.js +5 -3
- package/src/components/spacing-sizes-control/input-controls/spacing-input-control.js +3 -6
- package/src/components/tabbed-sidebar/style.scss +1 -19
- package/src/components/url-input/README.md +0 -5
- package/src/components/url-input/button.js +0 -1
- package/src/components/url-input/index.js +1 -15
- package/src/components/url-popover/link-editor.js +0 -1
- package/src/components/use-block-drop-zone/index.js +66 -14
- package/src/components/use-on-block-drop/index.js +1 -9
- package/src/components/use-resize-canvas/index.js +1 -3
- package/src/components/use-settings/index.js +2 -1
- package/src/hooks/block-bindings.js +303 -52
- package/src/hooks/block-bindings.scss +13 -2
- package/src/hooks/block-hooks.js +1 -0
- package/src/hooks/block-hooks.scss +1 -0
- package/src/hooks/block-style-variation.js +3 -3
- package/src/hooks/contrast-checker.js +7 -7
- package/src/hooks/duotone.js +4 -4
- package/src/hooks/index.js +2 -1
- package/src/hooks/line-height.js +0 -1
- package/src/hooks/spacing-visualizer.js +1 -1
- package/src/hooks/use-bindings-attributes.js +4 -0
- package/src/hooks/use-editor-wrapper-styles.native.scss +1 -0
- package/src/hooks/use-zoom-out.js +1 -1
- package/src/hooks/utils.js +14 -1
- package/src/index.js +1 -0
- package/src/private-apis.js +1 -2
- package/src/store/actions.js +13 -5
- package/src/store/selectors.js +4 -4
- package/src/style.scss +1 -1
- package/src/utils/get-editor-region.js +1 -1
- package/src/utils/get-px-from-css-unit.js +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/build/components/inserter/block-patterns-tab/pattern-category-preview-panel.js +0 -30
- package/build/components/inserter/block-patterns-tab/pattern-category-preview-panel.js.map +0 -1
- package/build-module/components/inserter/block-patterns-tab/pattern-category-preview-panel.js +0 -23
- package/build-module/components/inserter/block-patterns-tab/pattern-category-preview-panel.js.map +0 -1
- package/src/components/inserter/block-patterns-tab/pattern-category-preview-panel.js +0 -25
|
@@ -19,7 +19,7 @@ export default function getEditorRegion(editor) {
|
|
|
19
19
|
return iframeDocument === editor.ownerDocument;
|
|
20
20
|
})) !== null && _Array$from$find !== void 0 ? _Array$from$find : editor;
|
|
21
21
|
|
|
22
|
-
// The region is
|
|
22
|
+
// The region is provided by the editor, not the block-editor.
|
|
23
23
|
// We should send focus to the region if one is available to reuse the
|
|
24
24
|
// same interface for navigating landmarks. If no region is available,
|
|
25
25
|
// use the canvas instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getEditorRegion","editor","_Array$from$find","_editorCanvas$closest","editorCanvas","Array","from","document","querySelectorAll","values","find","iframe","iframeDocument","contentDocument","contentWindow","ownerDocument","closest"],"sources":["@wordpress/block-editor/src/utils/get-editor-region.js"],"sourcesContent":["/**\n * Gets the editor region for a given editor canvas element or\n * returns the passed element if no region is found\n *\n * @param { Object } editor The editor canvas element.\n * @return { Object } The editor region or given editor element\n */\nexport default function getEditorRegion( editor ) {\n\tif ( ! editor ) {\n\t\treturn null;\n\t}\n\n\t// If there are multiple editors, we need to find the iframe that contains our contentRef to make sure\n\t// we're focusing the region that contains this editor.\n\tconst editorCanvas =\n\t\tArray.from(\n\t\t\tdocument.querySelectorAll( 'iframe[name=\"editor-canvas\"]' ).values()\n\t\t).find( ( iframe ) => {\n\t\t\t// Find the iframe that contains our contentRef\n\t\t\tconst iframeDocument =\n\t\t\t\tiframe.contentDocument || iframe.contentWindow.document;\n\n\t\t\treturn iframeDocument === editor.ownerDocument;\n\t\t} ) ?? editor;\n\n\t// The region is
|
|
1
|
+
{"version":3,"names":["getEditorRegion","editor","_Array$from$find","_editorCanvas$closest","editorCanvas","Array","from","document","querySelectorAll","values","find","iframe","iframeDocument","contentDocument","contentWindow","ownerDocument","closest"],"sources":["@wordpress/block-editor/src/utils/get-editor-region.js"],"sourcesContent":["/**\n * Gets the editor region for a given editor canvas element or\n * returns the passed element if no region is found\n *\n * @param { Object } editor The editor canvas element.\n * @return { Object } The editor region or given editor element\n */\nexport default function getEditorRegion( editor ) {\n\tif ( ! editor ) {\n\t\treturn null;\n\t}\n\n\t// If there are multiple editors, we need to find the iframe that contains our contentRef to make sure\n\t// we're focusing the region that contains this editor.\n\tconst editorCanvas =\n\t\tArray.from(\n\t\t\tdocument.querySelectorAll( 'iframe[name=\"editor-canvas\"]' ).values()\n\t\t).find( ( iframe ) => {\n\t\t\t// Find the iframe that contains our contentRef\n\t\t\tconst iframeDocument =\n\t\t\t\tiframe.contentDocument || iframe.contentWindow.document;\n\n\t\t\treturn iframeDocument === editor.ownerDocument;\n\t\t} ) ?? editor;\n\n\t// The region is provided by the editor, not the block-editor.\n\t// We should send focus to the region if one is available to reuse the\n\t// same interface for navigating landmarks. If no region is available,\n\t// use the canvas instead.\n\treturn editorCanvas?.closest( '[role=\"region\"]' ) ?? editorCanvas;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASA,eAAeA,CAAEC,MAAM,EAAG;EAAA,IAAAC,gBAAA,EAAAC,qBAAA;EACjD,IAAK,CAAEF,MAAM,EAAG;IACf,OAAO,IAAI;EACZ;;EAEA;EACA;EACA,MAAMG,YAAY,IAAAF,gBAAA,GACjBG,KAAK,CAACC,IAAI,CACTC,QAAQ,CAACC,gBAAgB,CAAE,8BAA+B,CAAC,CAACC,MAAM,CAAC,CACpE,CAAC,CAACC,IAAI,CAAIC,MAAM,IAAM;IACrB;IACA,MAAMC,cAAc,GACnBD,MAAM,CAACE,eAAe,IAAIF,MAAM,CAACG,aAAa,CAACP,QAAQ;IAExD,OAAOK,cAAc,KAAKX,MAAM,CAACc,aAAa;EAC/C,CAAE,CAAC,cAAAb,gBAAA,cAAAA,gBAAA,GAAID,MAAM;;EAEd;EACA;EACA;EACA;EACA,QAAAE,qBAAA,GAAOC,YAAY,EAAEY,OAAO,CAAE,iBAAkB,CAAC,cAAAb,qBAAA,cAAAA,qBAAA,GAAIC,YAAY;AAClE","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["@wordpress/block-editor/src/utils/get-px-from-css-unit.js"],"sourcesContent":["/**\n * This function was
|
|
1
|
+
{"version":3,"names":[],"sources":["@wordpress/block-editor/src/utils/get-px-from-css-unit.js"],"sourcesContent":["/**\n * This function was accidentally exposed for mobile/native usage.\n *\n * @deprecated\n *\n * @return {string} Empty string.\n */\nexport default () => '';\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM,EAAE","ignoreList":[]}
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
* Grid System.
|
|
34
34
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
35
|
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
36
39
|
/**
|
|
37
40
|
* Dimensions.
|
|
38
41
|
*/
|
|
@@ -641,17 +644,6 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b
|
|
|
641
644
|
border: 1px dashed currentColor;
|
|
642
645
|
border-radius: 2px;
|
|
643
646
|
}
|
|
644
|
-
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child::after::before, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child::after::before {
|
|
645
|
-
content: "";
|
|
646
|
-
position: absolute;
|
|
647
|
-
top: 0;
|
|
648
|
-
left: 0;
|
|
649
|
-
bottom: 0;
|
|
650
|
-
right: 0;
|
|
651
|
-
pointer-events: none;
|
|
652
|
-
background: currentColor;
|
|
653
|
-
opacity: 0.1;
|
|
654
|
-
}
|
|
655
647
|
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter {
|
|
656
648
|
opacity: 0;
|
|
657
649
|
}
|
|
@@ -814,8 +806,9 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b
|
|
|
814
806
|
}
|
|
815
807
|
|
|
816
808
|
.block-editor-iframe__html {
|
|
809
|
+
border: 0 solid #ddd;
|
|
817
810
|
transform-origin: top center;
|
|
818
|
-
transition:
|
|
811
|
+
transition: all 0.5s cubic-bezier(0.65, 0, 0.45, 1);
|
|
819
812
|
}
|
|
820
813
|
@media (prefers-reduced-motion: reduce) {
|
|
821
814
|
.block-editor-iframe__html {
|
package/build-style/content.css
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
* Grid System.
|
|
34
34
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
35
|
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
36
39
|
/**
|
|
37
40
|
* Dimensions.
|
|
38
41
|
*/
|
|
@@ -641,17 +644,6 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b
|
|
|
641
644
|
border: 1px dashed currentColor;
|
|
642
645
|
border-radius: 2px;
|
|
643
646
|
}
|
|
644
|
-
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after::before, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child::after::before, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child::after::before {
|
|
645
|
-
content: "";
|
|
646
|
-
position: absolute;
|
|
647
|
-
top: 0;
|
|
648
|
-
right: 0;
|
|
649
|
-
bottom: 0;
|
|
650
|
-
left: 0;
|
|
651
|
-
pointer-events: none;
|
|
652
|
-
background: currentColor;
|
|
653
|
-
opacity: 0.1;
|
|
654
|
-
}
|
|
655
647
|
.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter {
|
|
656
648
|
opacity: 0;
|
|
657
649
|
}
|
|
@@ -814,8 +806,9 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b
|
|
|
814
806
|
}
|
|
815
807
|
|
|
816
808
|
.block-editor-iframe__html {
|
|
809
|
+
border: 0 solid #ddd;
|
|
817
810
|
transform-origin: top center;
|
|
818
|
-
transition:
|
|
811
|
+
transition: all 0.5s cubic-bezier(0.65, 0, 0.45, 1);
|
|
819
812
|
}
|
|
820
813
|
@media (prefers-reduced-motion: reduce) {
|
|
821
814
|
.block-editor-iframe__html {
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
* Grid System.
|
|
34
34
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
35
|
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
36
39
|
/**
|
|
37
40
|
* Dimensions.
|
|
38
41
|
*/
|
|
@@ -110,6 +113,9 @@
|
|
|
110
113
|
.block-editor-autocompleters__block .block-editor-block-icon {
|
|
111
114
|
margin-left: 8px;
|
|
112
115
|
}
|
|
116
|
+
.block-editor-autocompleters__block[aria-selected=true] .block-editor-block-icon {
|
|
117
|
+
color: inherit !important;
|
|
118
|
+
}
|
|
113
119
|
|
|
114
120
|
.block-editor-autocompleters__link {
|
|
115
121
|
white-space: nowrap;
|
|
@@ -128,6 +134,13 @@ iframe[name=editor-canvas] {
|
|
|
128
134
|
height: 100%;
|
|
129
135
|
display: block;
|
|
130
136
|
background-color: transparent;
|
|
137
|
+
transition: all 0.5s cubic-bezier(0.65, 0, 0.45, 1);
|
|
138
|
+
}
|
|
139
|
+
@media (prefers-reduced-motion: reduce) {
|
|
140
|
+
iframe[name=editor-canvas] {
|
|
141
|
+
transition-duration: 0s;
|
|
142
|
+
transition-delay: 0s;
|
|
143
|
+
}
|
|
131
144
|
}
|
|
132
145
|
|
|
133
146
|
.block-editor-block-icon {
|
|
@@ -1706,10 +1719,6 @@ iframe[name=editor-canvas] {
|
|
|
1706
1719
|
min-width: 260px;
|
|
1707
1720
|
overflow-x: hidden;
|
|
1708
1721
|
}
|
|
1709
|
-
.block-editor-global-styles-background-panel__dropdown-content-wrapper .components-base-control__help,
|
|
1710
|
-
.block-editor-global-styles-background-panel__dropdown-content-wrapper .components-toggle-control {
|
|
1711
|
-
margin-bottom: 0;
|
|
1712
|
-
}
|
|
1713
1722
|
.block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker-wrapper {
|
|
1714
1723
|
background-color: #f0f0f0;
|
|
1715
1724
|
width: 100%;
|
|
@@ -1723,12 +1732,6 @@ iframe[name=editor-canvas] {
|
|
|
1723
1732
|
content: none;
|
|
1724
1733
|
}
|
|
1725
1734
|
|
|
1726
|
-
.block-editor-global-styles-background-panel__hidden-tools-panel-item {
|
|
1727
|
-
height: 0;
|
|
1728
|
-
width: 0;
|
|
1729
|
-
position: absolute;
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
1735
|
.modal-open .block-editor-global-styles-background-panel__popover {
|
|
1733
1736
|
z-index: 159890;
|
|
1734
1737
|
}
|
|
@@ -1826,7 +1829,6 @@ iframe[name=editor-canvas] {
|
|
|
1826
1829
|
.block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button {
|
|
1827
1830
|
width: 24px;
|
|
1828
1831
|
min-width: 0 !important;
|
|
1829
|
-
overflow: hidden;
|
|
1830
1832
|
padding-right: 0;
|
|
1831
1833
|
padding-left: 0;
|
|
1832
1834
|
}
|
|
@@ -1870,7 +1872,7 @@ iframe[name=editor-canvas] {
|
|
|
1870
1872
|
justify-content: space-around;
|
|
1871
1873
|
}
|
|
1872
1874
|
.block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button {
|
|
1873
|
-
height: 20px;
|
|
1875
|
+
height: 20px !important;
|
|
1874
1876
|
width: 100%;
|
|
1875
1877
|
min-width: 0 !important;
|
|
1876
1878
|
}
|
|
@@ -1884,13 +1886,43 @@ iframe[name=editor-canvas] {
|
|
|
1884
1886
|
}
|
|
1885
1887
|
}
|
|
1886
1888
|
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1889
|
+
@media (min-width: 600px) {
|
|
1890
|
+
.editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container {
|
|
1891
|
+
height: 40px;
|
|
1892
|
+
position: relative;
|
|
1893
|
+
top: -5px;
|
|
1894
|
+
}
|
|
1890
1895
|
}
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1896
|
+
|
|
1897
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container {
|
|
1898
|
+
position: relative;
|
|
1899
|
+
}
|
|
1900
|
+
@media (min-width: 600px) {
|
|
1901
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before {
|
|
1902
|
+
content: "";
|
|
1903
|
+
height: 100%;
|
|
1904
|
+
width: 1px;
|
|
1905
|
+
background: #e0e0e0;
|
|
1906
|
+
position: absolute;
|
|
1907
|
+
top: 0;
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
@media (min-width: 782px) {
|
|
1911
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before {
|
|
1912
|
+
background: #1e1e1e;
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left {
|
|
1916
|
+
padding-left: 6px;
|
|
1917
|
+
}
|
|
1918
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left::before {
|
|
1919
|
+
left: 0;
|
|
1920
|
+
}
|
|
1921
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right {
|
|
1922
|
+
padding-right: 6px;
|
|
1923
|
+
}
|
|
1924
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right::before {
|
|
1925
|
+
right: 0;
|
|
1894
1926
|
}
|
|
1895
1927
|
@media (min-width: 600px) {
|
|
1896
1928
|
.show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before {
|
|
@@ -1910,6 +1942,18 @@ iframe[name=editor-canvas] {
|
|
|
1910
1942
|
background: #1e1e1e;
|
|
1911
1943
|
}
|
|
1912
1944
|
}
|
|
1945
|
+
.show-icon-labels .block-editor-grid-item-mover-button {
|
|
1946
|
+
white-space: nowrap;
|
|
1947
|
+
}
|
|
1948
|
+
.show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-horizontal-button-container::before {
|
|
1949
|
+
height: 24px;
|
|
1950
|
+
background: #ddd;
|
|
1951
|
+
top: 4px;
|
|
1952
|
+
}
|
|
1953
|
+
.show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container::before {
|
|
1954
|
+
background: #ddd;
|
|
1955
|
+
width: calc(100% - 24px);
|
|
1956
|
+
}
|
|
1913
1957
|
|
|
1914
1958
|
.block-editor-height-control {
|
|
1915
1959
|
border: 0;
|
|
@@ -3165,17 +3209,13 @@ iframe[name=editor-canvas] {
|
|
|
3165
3209
|
}
|
|
3166
3210
|
|
|
3167
3211
|
.block-editor-tabbed-sidebar {
|
|
3212
|
+
background-color: #fff;
|
|
3168
3213
|
height: 100%;
|
|
3169
3214
|
display: flex;
|
|
3170
3215
|
flex-direction: column;
|
|
3171
3216
|
flex-grow: 1;
|
|
3172
3217
|
overflow: hidden;
|
|
3173
3218
|
}
|
|
3174
|
-
@media (min-width: 782px) {
|
|
3175
|
-
.block-editor-tabbed-sidebar {
|
|
3176
|
-
width: 350px;
|
|
3177
|
-
}
|
|
3178
|
-
}
|
|
3179
3219
|
|
|
3180
3220
|
.block-editor-tabbed-sidebar__tablist-and-close-button {
|
|
3181
3221
|
border-bottom: 1px solid #ddd;
|
|
@@ -3192,20 +3232,7 @@ iframe[name=editor-canvas] {
|
|
|
3192
3232
|
}
|
|
3193
3233
|
|
|
3194
3234
|
.block-editor-tabbed-sidebar__tablist {
|
|
3195
|
-
box-sizing: border-box;
|
|
3196
|
-
flex-grow: 1;
|
|
3197
3235
|
margin-bottom: -1px;
|
|
3198
|
-
width: 100%;
|
|
3199
|
-
}
|
|
3200
|
-
|
|
3201
|
-
.block-editor-tabbed-sidebar__tab {
|
|
3202
|
-
flex-grow: 1;
|
|
3203
|
-
margin-bottom: -1px;
|
|
3204
|
-
}
|
|
3205
|
-
.block-editor-tabbed-sidebar__tab[id$=reusable] {
|
|
3206
|
-
flex-grow: inherit;
|
|
3207
|
-
padding-right: 16px;
|
|
3208
|
-
padding-left: 16px;
|
|
3209
3236
|
}
|
|
3210
3237
|
|
|
3211
3238
|
.block-editor-tabbed-sidebar__tabpanel {
|
|
@@ -3496,10 +3523,6 @@ iframe[name=editor-canvas] {
|
|
|
3496
3523
|
font-size: 12px;
|
|
3497
3524
|
}
|
|
3498
3525
|
|
|
3499
|
-
.components-panel__block-bindings-panel .components-item__block-bindings-source {
|
|
3500
|
-
color: #757575;
|
|
3501
|
-
}
|
|
3502
|
-
|
|
3503
3526
|
.block-editor-hooks__block-hooks {
|
|
3504
3527
|
/**
|
|
3505
3528
|
* Since we're displaying the block icon alongside the block name,
|
|
@@ -3510,6 +3533,7 @@ iframe[name=editor-canvas] {
|
|
|
3510
3533
|
*/
|
|
3511
3534
|
}
|
|
3512
3535
|
.block-editor-hooks__block-hooks .components-toggle-control .components-h-stack {
|
|
3536
|
+
/* stylelint-disable-next-line declaration-property-value-allowed-list -- This should be refactored to not use the row-reverse value. */
|
|
3513
3537
|
flex-direction: row-reverse;
|
|
3514
3538
|
}
|
|
3515
3539
|
.block-editor-hooks__block-hooks .components-toggle-control .components-h-stack .components-h-stack {
|
|
@@ -3521,6 +3545,18 @@ iframe[name=editor-canvas] {
|
|
|
3521
3545
|
margin-bottom: 16px;
|
|
3522
3546
|
}
|
|
3523
3547
|
|
|
3548
|
+
div.block-editor-bindings__panel {
|
|
3549
|
+
grid-template-columns: auto;
|
|
3550
|
+
}
|
|
3551
|
+
div.block-editor-bindings__panel button:hover .block-editor-bindings__item-explanation {
|
|
3552
|
+
color: inherit;
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
.block-editor-bindings__popover .block-editor-bindings__source-label {
|
|
3556
|
+
grid-column: 2;
|
|
3557
|
+
margin: 8px 0;
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3524
3560
|
.border-block-support-panel .single-column {
|
|
3525
3561
|
grid-column: span 1;
|
|
3526
3562
|
}
|
|
@@ -3859,6 +3895,11 @@ iframe[name=editor-canvas] {
|
|
|
3859
3895
|
.block-editor-inserter__main-area.show-as-tabs {
|
|
3860
3896
|
gap: 0;
|
|
3861
3897
|
}
|
|
3898
|
+
@media (min-width: 782px) {
|
|
3899
|
+
.block-editor-inserter__main-area .block-editor-tabbed-sidebar {
|
|
3900
|
+
width: 350px;
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3862
3903
|
|
|
3863
3904
|
.block-editor-inserter__popover.is-quick .components-popover__content {
|
|
3864
3905
|
border: none;
|
|
@@ -3916,6 +3957,11 @@ iframe[name=editor-canvas] {
|
|
|
3916
3957
|
position: relative;
|
|
3917
3958
|
overflow: visible;
|
|
3918
3959
|
}
|
|
3960
|
+
@media (min-width: 782px) {
|
|
3961
|
+
.block-editor-inserter__menu.show-panel {
|
|
3962
|
+
width: 630px;
|
|
3963
|
+
}
|
|
3964
|
+
}
|
|
3919
3965
|
|
|
3920
3966
|
.block-editor-inserter__inline-elements {
|
|
3921
3967
|
margin-top: -1px;
|
|
@@ -4110,14 +4156,13 @@ iframe[name=editor-canvas] {
|
|
|
4110
4156
|
.block-editor-inserter__category-panel {
|
|
4111
4157
|
border-right: 1px solid #e0e0e0;
|
|
4112
4158
|
padding: 0;
|
|
4113
|
-
right:
|
|
4114
|
-
width:
|
|
4159
|
+
right: 350px;
|
|
4160
|
+
width: 280px;
|
|
4115
4161
|
position: absolute;
|
|
4116
4162
|
top: -1px;
|
|
4117
4163
|
height: calc(100% + 1px);
|
|
4118
4164
|
background: #f0f0f0;
|
|
4119
4165
|
border-top: 1px solid #e0e0e0;
|
|
4120
|
-
box-shadow: -1px 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
4121
4166
|
}
|
|
4122
4167
|
.block-editor-inserter__category-panel .block-editor-inserter__media-list,
|
|
4123
4168
|
.block-editor-inserter__category-panel .block-editor-block-patterns-list {
|
|
@@ -4446,9 +4491,6 @@ iframe[name=editor-canvas] {
|
|
|
4446
4491
|
height: 100%;
|
|
4447
4492
|
}
|
|
4448
4493
|
}
|
|
4449
|
-
.block-editor-inserter__menu.is-zoom-out .block-editor-inserter__category-panel {
|
|
4450
|
-
box-shadow: none;
|
|
4451
|
-
}
|
|
4452
4494
|
|
|
4453
4495
|
@media (max-width: 959px) {
|
|
4454
4496
|
.show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination {
|
package/build-style/style.css
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
* Grid System.
|
|
34
34
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
35
|
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
36
39
|
/**
|
|
37
40
|
* Dimensions.
|
|
38
41
|
*/
|
|
@@ -110,6 +113,9 @@
|
|
|
110
113
|
.block-editor-autocompleters__block .block-editor-block-icon {
|
|
111
114
|
margin-right: 8px;
|
|
112
115
|
}
|
|
116
|
+
.block-editor-autocompleters__block[aria-selected=true] .block-editor-block-icon {
|
|
117
|
+
color: inherit !important;
|
|
118
|
+
}
|
|
113
119
|
|
|
114
120
|
.block-editor-autocompleters__link {
|
|
115
121
|
white-space: nowrap;
|
|
@@ -128,6 +134,13 @@ iframe[name=editor-canvas] {
|
|
|
128
134
|
height: 100%;
|
|
129
135
|
display: block;
|
|
130
136
|
background-color: transparent;
|
|
137
|
+
transition: all 0.5s cubic-bezier(0.65, 0, 0.45, 1);
|
|
138
|
+
}
|
|
139
|
+
@media (prefers-reduced-motion: reduce) {
|
|
140
|
+
iframe[name=editor-canvas] {
|
|
141
|
+
transition-duration: 0s;
|
|
142
|
+
transition-delay: 0s;
|
|
143
|
+
}
|
|
131
144
|
}
|
|
132
145
|
|
|
133
146
|
.block-editor-block-icon {
|
|
@@ -1707,10 +1720,6 @@ iframe[name=editor-canvas] {
|
|
|
1707
1720
|
min-width: 260px;
|
|
1708
1721
|
overflow-x: hidden;
|
|
1709
1722
|
}
|
|
1710
|
-
.block-editor-global-styles-background-panel__dropdown-content-wrapper .components-base-control__help,
|
|
1711
|
-
.block-editor-global-styles-background-panel__dropdown-content-wrapper .components-toggle-control {
|
|
1712
|
-
margin-bottom: 0;
|
|
1713
|
-
}
|
|
1714
1723
|
.block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker-wrapper {
|
|
1715
1724
|
background-color: #f0f0f0;
|
|
1716
1725
|
width: 100%;
|
|
@@ -1724,12 +1733,6 @@ iframe[name=editor-canvas] {
|
|
|
1724
1733
|
content: none;
|
|
1725
1734
|
}
|
|
1726
1735
|
|
|
1727
|
-
.block-editor-global-styles-background-panel__hidden-tools-panel-item {
|
|
1728
|
-
height: 0;
|
|
1729
|
-
width: 0;
|
|
1730
|
-
position: absolute;
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
1736
|
.modal-open .block-editor-global-styles-background-panel__popover {
|
|
1734
1737
|
z-index: 159890;
|
|
1735
1738
|
}
|
|
@@ -1827,7 +1830,6 @@ iframe[name=editor-canvas] {
|
|
|
1827
1830
|
.block-editor-grid-item-mover__move-button-container .block-editor-grid-item-mover-button {
|
|
1828
1831
|
width: 24px;
|
|
1829
1832
|
min-width: 0 !important;
|
|
1830
|
-
overflow: hidden;
|
|
1831
1833
|
padding-left: 0;
|
|
1832
1834
|
padding-right: 0;
|
|
1833
1835
|
}
|
|
@@ -1871,7 +1873,7 @@ iframe[name=editor-canvas] {
|
|
|
1871
1873
|
justify-content: space-around;
|
|
1872
1874
|
}
|
|
1873
1875
|
.block-editor-grid-item-mover__move-vertical-button-container > .block-editor-grid-item-mover-button.block-editor-grid-item-mover-button {
|
|
1874
|
-
height: 20px;
|
|
1876
|
+
height: 20px !important;
|
|
1875
1877
|
width: 100%;
|
|
1876
1878
|
min-width: 0 !important;
|
|
1877
1879
|
}
|
|
@@ -1885,13 +1887,43 @@ iframe[name=editor-canvas] {
|
|
|
1885
1887
|
}
|
|
1886
1888
|
}
|
|
1887
1889
|
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1890
|
+
@media (min-width: 600px) {
|
|
1891
|
+
.editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container {
|
|
1892
|
+
height: 40px;
|
|
1893
|
+
position: relative;
|
|
1894
|
+
top: -5px;
|
|
1895
|
+
}
|
|
1891
1896
|
}
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1897
|
+
|
|
1898
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container {
|
|
1899
|
+
position: relative;
|
|
1900
|
+
}
|
|
1901
|
+
@media (min-width: 600px) {
|
|
1902
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before {
|
|
1903
|
+
content: "";
|
|
1904
|
+
height: 100%;
|
|
1905
|
+
width: 1px;
|
|
1906
|
+
background: #e0e0e0;
|
|
1907
|
+
position: absolute;
|
|
1908
|
+
top: 0;
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
@media (min-width: 782px) {
|
|
1912
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container::before {
|
|
1913
|
+
background: #1e1e1e;
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left {
|
|
1917
|
+
padding-right: 6px;
|
|
1918
|
+
}
|
|
1919
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-left::before {
|
|
1920
|
+
right: 0;
|
|
1921
|
+
}
|
|
1922
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right {
|
|
1923
|
+
padding-left: 6px;
|
|
1924
|
+
}
|
|
1925
|
+
.show-icon-labels .block-editor-grid-item-mover__move-horizontal-button-container.is-right::before {
|
|
1926
|
+
left: 0;
|
|
1895
1927
|
}
|
|
1896
1928
|
@media (min-width: 600px) {
|
|
1897
1929
|
.show-icon-labels .block-editor-grid-item-mover__move-vertical-button-container::before {
|
|
@@ -1911,6 +1943,18 @@ iframe[name=editor-canvas] {
|
|
|
1911
1943
|
background: #1e1e1e;
|
|
1912
1944
|
}
|
|
1913
1945
|
}
|
|
1946
|
+
.show-icon-labels .block-editor-grid-item-mover-button {
|
|
1947
|
+
white-space: nowrap;
|
|
1948
|
+
}
|
|
1949
|
+
.show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-horizontal-button-container::before {
|
|
1950
|
+
height: 24px;
|
|
1951
|
+
background: #ddd;
|
|
1952
|
+
top: 4px;
|
|
1953
|
+
}
|
|
1954
|
+
.show-icon-labels .editor-collapsible-block-toolbar .block-editor-grid-item-mover__move-vertical-button-container::before {
|
|
1955
|
+
background: #ddd;
|
|
1956
|
+
width: calc(100% - 24px);
|
|
1957
|
+
}
|
|
1914
1958
|
|
|
1915
1959
|
.block-editor-height-control {
|
|
1916
1960
|
border: 0;
|
|
@@ -3166,17 +3210,13 @@ iframe[name=editor-canvas] {
|
|
|
3166
3210
|
}
|
|
3167
3211
|
|
|
3168
3212
|
.block-editor-tabbed-sidebar {
|
|
3213
|
+
background-color: #fff;
|
|
3169
3214
|
height: 100%;
|
|
3170
3215
|
display: flex;
|
|
3171
3216
|
flex-direction: column;
|
|
3172
3217
|
flex-grow: 1;
|
|
3173
3218
|
overflow: hidden;
|
|
3174
3219
|
}
|
|
3175
|
-
@media (min-width: 782px) {
|
|
3176
|
-
.block-editor-tabbed-sidebar {
|
|
3177
|
-
width: 350px;
|
|
3178
|
-
}
|
|
3179
|
-
}
|
|
3180
3220
|
|
|
3181
3221
|
.block-editor-tabbed-sidebar__tablist-and-close-button {
|
|
3182
3222
|
border-bottom: 1px solid #ddd;
|
|
@@ -3193,20 +3233,7 @@ iframe[name=editor-canvas] {
|
|
|
3193
3233
|
}
|
|
3194
3234
|
|
|
3195
3235
|
.block-editor-tabbed-sidebar__tablist {
|
|
3196
|
-
box-sizing: border-box;
|
|
3197
|
-
flex-grow: 1;
|
|
3198
3236
|
margin-bottom: -1px;
|
|
3199
|
-
width: 100%;
|
|
3200
|
-
}
|
|
3201
|
-
|
|
3202
|
-
.block-editor-tabbed-sidebar__tab {
|
|
3203
|
-
flex-grow: 1;
|
|
3204
|
-
margin-bottom: -1px;
|
|
3205
|
-
}
|
|
3206
|
-
.block-editor-tabbed-sidebar__tab[id$=reusable] {
|
|
3207
|
-
flex-grow: inherit;
|
|
3208
|
-
padding-left: 16px;
|
|
3209
|
-
padding-right: 16px;
|
|
3210
3237
|
}
|
|
3211
3238
|
|
|
3212
3239
|
.block-editor-tabbed-sidebar__tabpanel {
|
|
@@ -3497,10 +3524,6 @@ iframe[name=editor-canvas] {
|
|
|
3497
3524
|
font-size: 12px;
|
|
3498
3525
|
}
|
|
3499
3526
|
|
|
3500
|
-
.components-panel__block-bindings-panel .components-item__block-bindings-source {
|
|
3501
|
-
color: #757575;
|
|
3502
|
-
}
|
|
3503
|
-
|
|
3504
3527
|
.block-editor-hooks__block-hooks {
|
|
3505
3528
|
/**
|
|
3506
3529
|
* Since we're displaying the block icon alongside the block name,
|
|
@@ -3511,6 +3534,7 @@ iframe[name=editor-canvas] {
|
|
|
3511
3534
|
*/
|
|
3512
3535
|
}
|
|
3513
3536
|
.block-editor-hooks__block-hooks .components-toggle-control .components-h-stack {
|
|
3537
|
+
/* stylelint-disable-next-line declaration-property-value-allowed-list -- This should be refactored to not use the row-reverse value. */
|
|
3514
3538
|
flex-direction: row-reverse;
|
|
3515
3539
|
}
|
|
3516
3540
|
.block-editor-hooks__block-hooks .components-toggle-control .components-h-stack .components-h-stack {
|
|
@@ -3522,6 +3546,18 @@ iframe[name=editor-canvas] {
|
|
|
3522
3546
|
margin-bottom: 16px;
|
|
3523
3547
|
}
|
|
3524
3548
|
|
|
3549
|
+
div.block-editor-bindings__panel {
|
|
3550
|
+
grid-template-columns: auto;
|
|
3551
|
+
}
|
|
3552
|
+
div.block-editor-bindings__panel button:hover .block-editor-bindings__item-explanation {
|
|
3553
|
+
color: inherit;
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
.block-editor-bindings__popover .block-editor-bindings__source-label {
|
|
3557
|
+
grid-column: 2;
|
|
3558
|
+
margin: 8px 0;
|
|
3559
|
+
}
|
|
3560
|
+
|
|
3525
3561
|
.border-block-support-panel .single-column {
|
|
3526
3562
|
grid-column: span 1;
|
|
3527
3563
|
}
|
|
@@ -3860,6 +3896,11 @@ iframe[name=editor-canvas] {
|
|
|
3860
3896
|
.block-editor-inserter__main-area.show-as-tabs {
|
|
3861
3897
|
gap: 0;
|
|
3862
3898
|
}
|
|
3899
|
+
@media (min-width: 782px) {
|
|
3900
|
+
.block-editor-inserter__main-area .block-editor-tabbed-sidebar {
|
|
3901
|
+
width: 350px;
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3863
3904
|
|
|
3864
3905
|
.block-editor-inserter__popover.is-quick .components-popover__content {
|
|
3865
3906
|
border: none;
|
|
@@ -3917,6 +3958,11 @@ iframe[name=editor-canvas] {
|
|
|
3917
3958
|
position: relative;
|
|
3918
3959
|
overflow: visible;
|
|
3919
3960
|
}
|
|
3961
|
+
@media (min-width: 782px) {
|
|
3962
|
+
.block-editor-inserter__menu.show-panel {
|
|
3963
|
+
width: 630px;
|
|
3964
|
+
}
|
|
3965
|
+
}
|
|
3920
3966
|
|
|
3921
3967
|
.block-editor-inserter__inline-elements {
|
|
3922
3968
|
margin-top: -1px;
|
|
@@ -4111,14 +4157,13 @@ iframe[name=editor-canvas] {
|
|
|
4111
4157
|
.block-editor-inserter__category-panel {
|
|
4112
4158
|
border-left: 1px solid #e0e0e0;
|
|
4113
4159
|
padding: 0;
|
|
4114
|
-
left:
|
|
4115
|
-
width:
|
|
4160
|
+
left: 350px;
|
|
4161
|
+
width: 280px;
|
|
4116
4162
|
position: absolute;
|
|
4117
4163
|
top: -1px;
|
|
4118
4164
|
height: calc(100% + 1px);
|
|
4119
4165
|
background: #f0f0f0;
|
|
4120
4166
|
border-top: 1px solid #e0e0e0;
|
|
4121
|
-
box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
4122
4167
|
}
|
|
4123
4168
|
.block-editor-inserter__category-panel .block-editor-inserter__media-list,
|
|
4124
4169
|
.block-editor-inserter__category-panel .block-editor-block-patterns-list {
|
|
@@ -4447,9 +4492,6 @@ iframe[name=editor-canvas] {
|
|
|
4447
4492
|
height: 100%;
|
|
4448
4493
|
}
|
|
4449
4494
|
}
|
|
4450
|
-
.block-editor-inserter__menu.is-zoom-out .block-editor-inserter__category-panel {
|
|
4451
|
-
box-shadow: none;
|
|
4452
|
-
}
|
|
4453
4495
|
|
|
4454
4496
|
@media (max-width: 959px) {
|
|
4455
4497
|
.show-icon-labels .block-editor-block-patterns-explorer .block-editor-patterns__grid-pagination {
|