@wordpress/block-editor 14.3.4 → 14.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/README.md +4 -0
- package/build/autocompleters/link.js +2 -1
- package/build/autocompleters/link.js.map +1 -1
- package/build/components/block-actions/index.js +1 -13
- package/build/components/block-actions/index.js.map +1 -1
- package/build/components/block-inspector/index.js +56 -75
- package/build/components/block-inspector/index.js.map +1 -1
- package/build/components/block-list/block.js +5 -19
- package/build/components/block-list/block.js.map +1 -1
- package/build/components/block-list/index.js +5 -8
- package/build/components/block-list/index.js.map +1 -1
- package/build/components/block-list/use-block-props/index.js +3 -11
- package/build/components/block-list/use-block-props/index.js.map +1 -1
- package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js +9 -12
- package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +1 -1
- package/build/components/block-list/use-in-between-inserter.js +5 -3
- package/build/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build/components/block-list/zoom-out-separator.js +14 -6
- package/build/components/block-list/zoom-out-separator.js.map +1 -1
- package/build/components/block-navigation/dropdown.js +2 -4
- package/build/components/block-navigation/dropdown.js.map +1 -1
- package/build/components/block-parent-selector/index.js +13 -10
- package/build/components/block-parent-selector/index.js.map +1 -1
- package/build/components/block-pattern-setup/setup-toolbar.js +10 -20
- package/build/components/block-pattern-setup/setup-toolbar.js.map +1 -1
- package/build/components/block-patterns-paging/index.js +11 -13
- package/build/components/block-patterns-paging/index.js.map +1 -1
- package/build/components/block-quick-navigation/index.js +2 -4
- package/build/components/block-quick-navigation/index.js.map +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.js +79 -76
- package/build/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build/components/block-settings-menu-controls/index.js +1 -6
- package/build/components/block-settings-menu-controls/index.js.map +1 -1
- package/build/components/block-switcher/index.js +17 -14
- package/build/components/block-switcher/index.js.map +1 -1
- package/build/components/block-toolbar/index.js +16 -19
- package/build/components/block-toolbar/index.js.map +1 -1
- package/build/components/block-toolbar/use-has-block-toolbar.js +3 -5
- package/build/components/block-toolbar/use-has-block-toolbar.js.map +1 -1
- package/build/components/block-tools/index.js +8 -11
- package/build/components/block-tools/index.js.map +1 -1
- package/build/components/block-tools/insertion-point.js +1 -4
- package/build/components/block-tools/insertion-point.js.map +1 -1
- package/build/components/block-tools/use-show-block-tools.js +2 -5
- package/build/components/block-tools/use-show-block-tools.js.map +1 -1
- package/build/components/block-tools/zoom-out-mode-inserter-button.js +1 -12
- package/build/components/block-tools/zoom-out-mode-inserter-button.js.map +1 -1
- package/build/components/block-tools/zoom-out-mode-inserters.js +14 -17
- package/build/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build/components/block-tools/zoom-out-toolbar.js +2 -12
- package/build/components/block-tools/zoom-out-toolbar.js.map +1 -1
- package/build/components/block-variation-picker/index.js +2 -4
- package/build/components/block-variation-picker/index.js.map +1 -1
- package/build/components/block-variation-transforms/index.js +3 -4
- package/build/components/block-variation-transforms/index.js.map +1 -1
- package/build/components/button-block-appender/index.js +2 -4
- package/build/components/button-block-appender/index.js.map +1 -1
- package/build/components/colors-gradients/dropdown.js +2 -4
- package/build/components/colors-gradients/dropdown.js.map +1 -1
- package/build/components/global-styles/border-panel.js +1 -1
- package/build/components/global-styles/border-panel.js.map +1 -1
- package/build/components/global-styles/color-panel.js +2 -4
- package/build/components/global-styles/color-panel.js.map +1 -1
- package/build/components/global-styles/dimensions-panel.js +3 -3
- package/build/components/global-styles/dimensions-panel.js.map +1 -1
- package/build/components/global-styles/filters-panel.js +2 -4
- package/build/components/global-styles/filters-panel.js.map +1 -1
- package/build/components/global-styles/shadow-panel-components.js +24 -29
- package/build/components/global-styles/shadow-panel-components.js.map +1 -1
- package/build/components/inner-blocks/index.js +1 -9
- package/build/components/inner-blocks/index.js.map +1 -1
- package/build/components/inserter/block-types-tab.js +1 -1
- package/build/components/inserter/block-types-tab.js.map +1 -1
- package/build/components/inserter/hooks/use-block-types-state.js +24 -5
- package/build/components/inserter/hooks/use-block-types-state.js.map +1 -1
- package/build/components/inserter/hooks/use-insertion-point.js +22 -12
- package/build/components/inserter/hooks/use-insertion-point.js.map +1 -1
- package/build/components/inserter/hooks/use-patterns-state.js +23 -10
- package/build/components/inserter/hooks/use-patterns-state.js.map +1 -1
- package/build/components/inserter/media-tab/media-preview.js +35 -13
- package/build/components/inserter/media-tab/media-preview.js.map +1 -1
- package/build/components/inserter/menu.js +2 -2
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/inserter/mobile-tab-navigation.js +5 -5
- package/build/components/inserter/mobile-tab-navigation.js.map +1 -1
- package/build/components/inserter/quick-inserter.js +4 -4
- package/build/components/inserter/quick-inserter.js.map +1 -1
- package/build/components/inspector-controls-tabs/index.js +11 -8
- package/build/components/inspector-controls-tabs/index.js.map +1 -1
- package/build/components/inspector-popover-header/index.js +4 -8
- package/build/components/inspector-popover-header/index.js.map +1 -1
- package/build/components/link-control/index.js +5 -10
- package/build/components/link-control/index.js.map +1 -1
- package/build/components/link-control/settings-drawer.js +2 -4
- package/build/components/link-control/settings-drawer.js.map +1 -1
- package/build/components/list-view/block-contents.js +1 -25
- package/build/components/list-view/block-contents.js.map +1 -1
- package/build/components/list-view/block-select-button.js +1 -4
- package/build/components/list-view/block-select-button.js.map +1 -1
- package/build/components/media-placeholder/index.js +12 -24
- package/build/components/media-placeholder/index.js.map +1 -1
- package/build/components/skip-to-selected-block/index.js +2 -4
- package/build/components/skip-to-selected-block/index.js.map +1 -1
- package/build/components/tool-selector/index.js +13 -12
- package/build/components/tool-selector/index.js.map +1 -1
- package/build/components/url-input/button.js +14 -16
- package/build/components/url-input/button.js.map +1 -1
- package/build/components/url-input/index.js +2 -4
- package/build/components/url-input/index.js.map +1 -1
- package/build/components/use-block-commands/index.js +0 -61
- package/build/components/use-block-commands/index.js.map +1 -1
- package/build/components/writing-flow/use-tab-nav.js +2 -25
- package/build/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build/hooks/duotone.js +4 -1
- package/build/hooks/duotone.js.map +1 -1
- package/build/hooks/layout-child.js +3 -1
- package/build/hooks/layout-child.js.map +1 -1
- package/build/hooks/position.js +3 -2
- package/build/hooks/position.js.map +1 -1
- package/build/layouts/flex.js +6 -38
- package/build/layouts/flex.js.map +1 -1
- package/build/store/actions.js +13 -14
- package/build/store/actions.js.map +1 -1
- package/build/store/private-actions.js +15 -0
- package/build/store/private-actions.js.map +1 -1
- package/build/store/private-selectors.js +104 -7
- package/build/store/private-selectors.js.map +1 -1
- package/build/store/reducer.js +22 -26
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +127 -56
- package/build/store/selectors.js.map +1 -1
- package/build/store/utils.js +4 -3
- package/build/store/utils.js.map +1 -1
- package/build/utils/block-bindings.js +2 -0
- package/build/utils/block-bindings.js.map +1 -1
- package/build-module/autocompleters/link.js +2 -1
- package/build-module/autocompleters/link.js.map +1 -1
- package/build-module/components/block-actions/index.js +1 -13
- package/build-module/components/block-actions/index.js.map +1 -1
- package/build-module/components/block-inspector/index.js +57 -76
- package/build-module/components/block-inspector/index.js.map +1 -1
- package/build-module/components/block-list/block.js +5 -19
- package/build-module/components/block-list/block.js.map +1 -1
- package/build-module/components/block-list/index.js +5 -8
- package/build-module/components/block-list/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/index.js +3 -11
- package/build-module/components/block-list/use-block-props/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js +9 -12
- package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +1 -1
- package/build-module/components/block-list/use-in-between-inserter.js +5 -3
- package/build-module/components/block-list/use-in-between-inserter.js.map +1 -1
- package/build-module/components/block-list/zoom-out-separator.js +14 -6
- package/build-module/components/block-list/zoom-out-separator.js.map +1 -1
- package/build-module/components/block-navigation/dropdown.js +2 -4
- package/build-module/components/block-navigation/dropdown.js.map +1 -1
- package/build-module/components/block-parent-selector/index.js +13 -10
- package/build-module/components/block-parent-selector/index.js.map +1 -1
- package/build-module/components/block-pattern-setup/setup-toolbar.js +10 -20
- package/build-module/components/block-pattern-setup/setup-toolbar.js.map +1 -1
- package/build-module/components/block-patterns-paging/index.js +11 -13
- package/build-module/components/block-patterns-paging/index.js.map +1 -1
- package/build-module/components/block-quick-navigation/index.js +2 -4
- package/build-module/components/block-quick-navigation/index.js.map +1 -1
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +79 -76
- package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build-module/components/block-settings-menu-controls/index.js +2 -7
- package/build-module/components/block-settings-menu-controls/index.js.map +1 -1
- package/build-module/components/block-switcher/index.js +17 -14
- package/build-module/components/block-switcher/index.js.map +1 -1
- package/build-module/components/block-toolbar/index.js +17 -20
- package/build-module/components/block-toolbar/index.js.map +1 -1
- package/build-module/components/block-toolbar/use-has-block-toolbar.js +3 -5
- package/build-module/components/block-toolbar/use-has-block-toolbar.js.map +1 -1
- package/build-module/components/block-tools/index.js +8 -11
- package/build-module/components/block-tools/index.js.map +1 -1
- package/build-module/components/block-tools/insertion-point.js +1 -4
- package/build-module/components/block-tools/insertion-point.js.map +1 -1
- package/build-module/components/block-tools/use-show-block-tools.js +2 -5
- package/build-module/components/block-tools/use-show-block-tools.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-mode-inserter-button.js +1 -12
- package/build-module/components/block-tools/zoom-out-mode-inserter-button.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-mode-inserters.js +14 -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 +2 -12
- package/build-module/components/block-tools/zoom-out-toolbar.js.map +1 -1
- package/build-module/components/block-variation-picker/index.js +2 -4
- package/build-module/components/block-variation-picker/index.js.map +1 -1
- package/build-module/components/block-variation-transforms/index.js +3 -4
- package/build-module/components/block-variation-transforms/index.js.map +1 -1
- package/build-module/components/button-block-appender/index.js +2 -4
- package/build-module/components/button-block-appender/index.js.map +1 -1
- package/build-module/components/colors-gradients/dropdown.js +2 -4
- package/build-module/components/colors-gradients/dropdown.js.map +1 -1
- package/build-module/components/global-styles/border-panel.js +1 -1
- package/build-module/components/global-styles/border-panel.js.map +1 -1
- package/build-module/components/global-styles/color-panel.js +2 -4
- package/build-module/components/global-styles/color-panel.js.map +1 -1
- package/build-module/components/global-styles/dimensions-panel.js +1 -1
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
- package/build-module/components/global-styles/filters-panel.js +2 -4
- package/build-module/components/global-styles/filters-panel.js.map +1 -1
- package/build-module/components/global-styles/shadow-panel-components.js +25 -30
- package/build-module/components/global-styles/shadow-panel-components.js.map +1 -1
- package/build-module/components/inner-blocks/index.js +1 -9
- package/build-module/components/inner-blocks/index.js.map +1 -1
- package/build-module/components/inserter/block-types-tab.js +1 -1
- package/build-module/components/inserter/block-types-tab.js.map +1 -1
- package/build-module/components/inserter/hooks/use-block-types-state.js +27 -8
- package/build-module/components/inserter/hooks/use-block-types-state.js.map +1 -1
- package/build-module/components/inserter/hooks/use-insertion-point.js +22 -12
- package/build-module/components/inserter/hooks/use-insertion-point.js.map +1 -1
- package/build-module/components/inserter/hooks/use-patterns-state.js +23 -10
- package/build-module/components/inserter/hooks/use-patterns-state.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-preview.js +35 -13
- package/build-module/components/inserter/media-tab/media-preview.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/inserter/mobile-tab-navigation.js +6 -6
- package/build-module/components/inserter/mobile-tab-navigation.js.map +1 -1
- package/build-module/components/inserter/quick-inserter.js +4 -4
- package/build-module/components/inserter/quick-inserter.js.map +1 -1
- package/build-module/components/inspector-controls-tabs/index.js +12 -9
- package/build-module/components/inspector-controls-tabs/index.js.map +1 -1
- package/build-module/components/inspector-popover-header/index.js +4 -8
- package/build-module/components/inspector-popover-header/index.js.map +1 -1
- package/build-module/components/link-control/index.js +5 -10
- package/build-module/components/link-control/index.js.map +1 -1
- package/build-module/components/link-control/settings-drawer.js +2 -4
- package/build-module/components/link-control/settings-drawer.js.map +1 -1
- package/build-module/components/list-view/block-contents.js +1 -25
- package/build-module/components/list-view/block-contents.js.map +1 -1
- package/build-module/components/list-view/block-select-button.js +2 -5
- package/build-module/components/list-view/block-select-button.js.map +1 -1
- package/build-module/components/media-placeholder/index.js +12 -24
- package/build-module/components/media-placeholder/index.js.map +1 -1
- package/build-module/components/skip-to-selected-block/index.js +2 -4
- package/build-module/components/skip-to-selected-block/index.js.map +1 -1
- package/build-module/components/tool-selector/index.js +13 -12
- package/build-module/components/tool-selector/index.js.map +1 -1
- package/build-module/components/url-input/button.js +15 -17
- package/build-module/components/url-input/button.js.map +1 -1
- package/build-module/components/url-input/index.js +2 -4
- package/build-module/components/url-input/index.js.map +1 -1
- package/build-module/components/use-block-commands/index.js +1 -62
- package/build-module/components/use-block-commands/index.js.map +1 -1
- package/build-module/components/writing-flow/use-tab-nav.js +3 -26
- package/build-module/components/writing-flow/use-tab-nav.js.map +1 -1
- package/build-module/hooks/duotone.js +4 -1
- package/build-module/hooks/duotone.js.map +1 -1
- package/build-module/hooks/layout-child.js +4 -1
- package/build-module/hooks/layout-child.js.map +1 -1
- package/build-module/hooks/position.js +4 -1
- package/build-module/hooks/position.js.map +1 -1
- package/build-module/layouts/flex.js +7 -39
- package/build-module/layouts/flex.js.map +1 -1
- package/build-module/store/actions.js +12 -12
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/private-actions.js +14 -0
- package/build-module/store/private-actions.js.map +1 -1
- package/build-module/store/private-selectors.js +98 -7
- package/build-module/store/private-selectors.js.map +1 -1
- package/build-module/store/reducer.js +21 -25
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +129 -58
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/store/utils.js +3 -2
- package/build-module/store/utils.js.map +1 -1
- package/build-module/utils/block-bindings.js +2 -0
- package/build-module/utils/block-bindings.js.map +1 -1
- package/build-style/content-rtl.css +14 -56
- package/build-style/content.css +14 -56
- package/build-style/default-editor-styles-rtl.css +10 -1
- package/build-style/default-editor-styles.css +10 -1
- package/build-style/style-rtl.css +51 -149
- package/build-style/style.css +51 -149
- package/package.json +32 -32
- package/src/autocompleters/link.js +2 -1
- package/src/components/block-actions/index.js +1 -13
- package/src/components/block-draggable/style.scss +2 -2
- package/src/components/block-inspector/index.js +79 -95
- package/src/components/block-inspector/style.scss +2 -0
- package/src/components/block-list/block.js +7 -28
- package/src/components/block-list/content.scss +1 -61
- package/src/components/block-list/index.js +21 -29
- package/src/components/block-list/use-block-props/index.js +3 -10
- package/src/components/block-list/use-block-props/use-zoom-out-mode-exit.js +19 -11
- package/src/components/block-list/use-in-between-inserter.js +5 -2
- package/src/components/block-list/zoom-out-separator.js +24 -8
- package/src/components/block-navigation/dropdown.js +1 -2
- package/src/components/block-parent-selector/index.js +13 -10
- package/src/components/block-pattern-setup/setup-toolbar.js +5 -10
- package/src/components/block-patterns-paging/index.js +8 -7
- package/src/components/block-patterns-paging/style.scss +10 -27
- package/src/components/block-quick-navigation/index.js +1 -2
- package/src/components/block-settings-menu/block-settings-dropdown.js +120 -106
- package/src/components/block-settings-menu-controls/index.js +0 -15
- package/src/components/block-switcher/index.js +37 -30
- package/src/components/block-toolbar/index.js +22 -34
- package/src/components/block-toolbar/style.scss +10 -1
- package/src/components/block-toolbar/use-has-block-toolbar.js +19 -31
- package/src/components/block-tools/index.js +7 -16
- package/src/components/block-tools/insertion-point.js +1 -4
- package/src/components/block-tools/style.scss +3 -88
- package/src/components/block-tools/use-show-block-tools.js +2 -12
- package/src/components/block-tools/zoom-out-mode-inserter-button.js +2 -17
- package/src/components/block-tools/zoom-out-mode-inserters.js +11 -19
- package/src/components/block-tools/zoom-out-toolbar.js +2 -13
- package/src/components/block-variation-picker/index.js +1 -2
- package/src/components/block-variation-transforms/index.js +2 -2
- package/src/components/button-block-appender/content.scss +0 -5
- package/src/components/button-block-appender/index.js +1 -2
- package/src/components/colors-gradients/dropdown.js +1 -5
- package/src/components/font-family/README.md +5 -1
- package/src/components/global-styles/border-panel.js +1 -1
- package/src/components/global-styles/color-panel.js +1 -5
- package/src/components/global-styles/dimensions-panel.js +1 -1
- package/src/components/global-styles/filters-panel.js +1 -2
- package/src/components/global-styles/shadow-panel-components.js +28 -33
- package/src/components/global-styles/style.scss +5 -0
- package/src/components/inner-blocks/index.js +1 -16
- package/src/components/inserter/block-types-tab.js +1 -1
- package/src/components/inserter/hooks/use-block-types-state.js +34 -14
- package/src/components/inserter/hooks/use-insertion-point.js +35 -13
- package/src/components/inserter/hooks/use-patterns-state.js +46 -9
- package/src/components/inserter/media-tab/media-preview.js +38 -12
- package/src/components/inserter/menu.js +2 -2
- package/src/components/inserter/mobile-tab-navigation.js +10 -13
- package/src/components/inserter/quick-inserter.js +5 -4
- package/src/components/inserter/style.scss +0 -28
- package/src/components/inspector-controls-tabs/index.js +21 -20
- package/src/components/inspector-controls-tabs/style.scss +2 -6
- package/src/components/inspector-popover-header/index.js +2 -4
- package/src/components/inspector-popover-header/style.scss +0 -13
- package/src/components/link-control/index.js +2 -5
- package/src/components/link-control/settings-drawer.js +1 -2
- package/src/components/list-view/block-contents.js +1 -28
- package/src/components/list-view/block-select-button.js +2 -5
- package/src/components/list-view/style.scss +18 -14
- package/src/components/media-placeholder/index.js +6 -12
- package/src/components/skip-to-selected-block/index.js +1 -2
- package/src/components/skip-to-selected-block/style.scss +0 -9
- package/src/components/tool-selector/index.js +14 -9
- package/src/components/tool-selector/style.scss +5 -0
- package/src/components/url-input/button.js +16 -12
- package/src/components/url-input/index.js +1 -2
- package/src/components/url-input/style.scss +0 -6
- package/src/components/use-block-commands/index.js +0 -58
- package/src/components/writing-flow/use-tab-nav.js +4 -36
- package/src/content.scss +0 -1
- package/src/hooks/duotone.js +4 -1
- package/src/hooks/layout-child.js +4 -1
- package/src/hooks/position.js +4 -1
- package/src/layouts/flex.js +10 -53
- package/src/store/actions.js +14 -13
- package/src/store/private-actions.js +14 -0
- package/src/store/private-selectors.js +120 -16
- package/src/store/reducer.js +22 -28
- package/src/store/selectors.js +203 -114
- package/src/store/test/private-actions.js +15 -0
- package/src/store/test/private-selectors.js +34 -0
- package/src/store/test/reducer.js +40 -4
- package/src/store/test/selectors.js +183 -20
- package/src/store/utils.js +4 -2
- package/src/utils/block-bindings.js +2 -0
- package/build/components/block-controls/use-has-block-controls.js +0 -43
- package/build/components/block-controls/use-has-block-controls.js.map +0 -1
- package/build/components/block-list/use-block-props/use-nav-mode-exit.js +0 -54
- package/build/components/block-list/use-block-props/use-nav-mode-exit.js.map +0 -1
- package/build/components/block-tools/block-selection-button.js +0 -259
- package/build/components/block-tools/block-selection-button.js.map +0 -1
- package/build/components/block-tools/block-toolbar-breadcrumb.js +0 -57
- package/build/components/block-tools/block-toolbar-breadcrumb.js.map +0 -1
- package/build/components/inserter/tabs.js +0 -78
- package/build/components/inserter/tabs.js.map +0 -1
- package/build-module/components/block-controls/use-has-block-controls.js +0 -34
- package/build-module/components/block-controls/use-has-block-controls.js.map +0 -1
- package/build-module/components/block-list/use-block-props/use-nav-mode-exit.js +0 -48
- package/build-module/components/block-list/use-block-props/use-nav-mode-exit.js.map +0 -1
- package/build-module/components/block-tools/block-selection-button.js +0 -254
- package/build-module/components/block-tools/block-selection-button.js.map +0 -1
- package/build-module/components/block-tools/block-toolbar-breadcrumb.js +0 -49
- package/build-module/components/block-tools/block-toolbar-breadcrumb.js.map +0 -1
- package/build-module/components/inserter/tabs.js +0 -72
- package/build-module/components/inserter/tabs.js.map +0 -1
- package/src/components/block-controls/use-has-block-controls.js +0 -35
- package/src/components/block-list/use-block-props/use-nav-mode-exit.js +0 -46
- package/src/components/block-tools/block-selection-button.js +0 -302
- package/src/components/block-tools/block-toolbar-breadcrumb.js +0 -51
- package/src/components/inner-blocks/content.scss +0 -13
- package/src/components/inserter/tabs.js +0 -78
- package/src/components/inserter/test/block-types-tab.native.js +0 -67
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
/**
|
|
30
30
|
* Fonts & basic variables.
|
|
31
31
|
*/
|
|
32
|
+
/**
|
|
33
|
+
* Typography
|
|
34
|
+
*/
|
|
32
35
|
/**
|
|
33
36
|
* Grid System.
|
|
34
37
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
@@ -43,7 +46,10 @@
|
|
|
43
46
|
* Dimensions.
|
|
44
47
|
*/
|
|
45
48
|
/**
|
|
46
|
-
*
|
|
49
|
+
* Mobile specific styles
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Editor styles.
|
|
47
53
|
*/
|
|
48
54
|
/**
|
|
49
55
|
* Block & Editor UI.
|
|
@@ -67,6 +73,9 @@
|
|
|
67
73
|
* Creates a fading overlay to signify that the content is longer
|
|
68
74
|
* than the space allows.
|
|
69
75
|
*/
|
|
76
|
+
/**
|
|
77
|
+
* Typography
|
|
78
|
+
*/
|
|
70
79
|
/**
|
|
71
80
|
* Breakpoint mixins
|
|
72
81
|
*/
|
|
@@ -339,6 +348,8 @@ iframe[name=editor-canvas] {
|
|
|
339
348
|
|
|
340
349
|
.block-editor-block-inspector__tab-item {
|
|
341
350
|
flex: 1 1 0px;
|
|
351
|
+
display: flex;
|
|
352
|
+
justify-content: center;
|
|
342
353
|
}
|
|
343
354
|
|
|
344
355
|
/**
|
|
@@ -414,79 +425,16 @@ iframe[name=editor-canvas] {
|
|
|
414
425
|
background: #1e1e1e;
|
|
415
426
|
}
|
|
416
427
|
|
|
417
|
-
/**
|
|
418
|
-
* Block Label for Navigation/Selection Mode
|
|
419
|
-
*/
|
|
420
|
-
.block-editor-block-list__block-selection-button {
|
|
421
|
-
display: inline-flex;
|
|
422
|
-
padding: 0 12px;
|
|
423
|
-
z-index: 22;
|
|
424
|
-
border-radius: 2px;
|
|
425
|
-
background-color: #1e1e1e;
|
|
426
|
-
font-size: 13px;
|
|
427
|
-
height: 48px;
|
|
428
|
-
}
|
|
429
|
-
.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content {
|
|
430
|
-
margin: auto;
|
|
431
|
-
display: inline-flex;
|
|
432
|
-
align-items: center;
|
|
433
|
-
}
|
|
434
|
-
.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content > .components-flex__item {
|
|
435
|
-
margin-left: 6px;
|
|
436
|
-
}
|
|
437
|
-
.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle {
|
|
438
|
-
cursor: grab;
|
|
439
|
-
padding: 0;
|
|
440
|
-
height: 24px;
|
|
441
|
-
min-width: 24px;
|
|
442
|
-
margin-right: -2px;
|
|
443
|
-
}
|
|
444
|
-
.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle svg {
|
|
445
|
-
min-width: 18px;
|
|
446
|
-
min-height: 18px;
|
|
447
|
-
}
|
|
448
|
-
.block-editor-block-list__block-selection-button .block-editor-block-icon {
|
|
449
|
-
font-size: 13px;
|
|
450
|
-
color: #fff;
|
|
451
|
-
height: 48px;
|
|
452
|
-
}
|
|
453
|
-
.block-editor-block-list__block-selection-button .components-button {
|
|
454
|
-
min-width: 36px;
|
|
455
|
-
color: #fff;
|
|
456
|
-
height: 48px;
|
|
457
|
-
display: flex;
|
|
458
|
-
}
|
|
459
|
-
.block-editor-block-list__block-selection-button .components-button:focus {
|
|
460
|
-
box-shadow: none;
|
|
461
|
-
border: none;
|
|
462
|
-
}
|
|
463
|
-
.block-editor-block-list__block-selection-button .components-button:active {
|
|
464
|
-
color: #fff;
|
|
465
|
-
}
|
|
466
|
-
.block-editor-block-list__block-selection-button .components-button[aria-disabled=true]:hover {
|
|
467
|
-
color: #fff;
|
|
468
|
-
}
|
|
469
|
-
.block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button {
|
|
470
|
-
padding: 0;
|
|
471
|
-
}
|
|
472
|
-
.block-editor-block-list__block-selection-button .block-editor-block-mover {
|
|
473
|
-
background: unset;
|
|
474
|
-
border: none;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
428
|
@keyframes hide-during-dragging {
|
|
478
429
|
to {
|
|
479
430
|
position: fixed;
|
|
480
431
|
transform: translate(-9999px, 9999px);
|
|
481
432
|
}
|
|
482
433
|
}
|
|
483
|
-
.components-popover.block-editor-block-list__block-popover .block-editor-block-list__block-selection-button,
|
|
484
434
|
.components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar {
|
|
485
435
|
pointer-events: all;
|
|
486
436
|
margin-top: 8px;
|
|
487
437
|
margin-bottom: 8px;
|
|
488
|
-
}
|
|
489
|
-
.components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar {
|
|
490
438
|
border: 1px solid #1e1e1e;
|
|
491
439
|
border-radius: 2px;
|
|
492
440
|
overflow: visible;
|
|
@@ -562,12 +510,8 @@ iframe[name=editor-canvas] {
|
|
|
562
510
|
background: none;
|
|
563
511
|
border: none;
|
|
564
512
|
}
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
visibility: hidden;
|
|
568
|
-
}
|
|
569
|
-
.block-editor-block-tools__zoom-out-mode-inserter-button.is-visible {
|
|
570
|
-
visibility: visible;
|
|
513
|
+
.zoom-out-toolbar .components-button {
|
|
514
|
+
height: 40px;
|
|
571
515
|
}
|
|
572
516
|
|
|
573
517
|
.block-editor-block-lock-modal {
|
|
@@ -769,7 +713,7 @@ iframe[name=editor-canvas] {
|
|
|
769
713
|
.block-editor-block-draggable-chip {
|
|
770
714
|
background-color: #1e1e1e;
|
|
771
715
|
border-radius: 2px;
|
|
772
|
-
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.
|
|
716
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
|
|
773
717
|
color: #fff;
|
|
774
718
|
cursor: grabbing;
|
|
775
719
|
display: inline-flex;
|
|
@@ -828,7 +772,7 @@ iframe[name=editor-canvas] {
|
|
|
828
772
|
.block-draggable-invalid-drag-token .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled {
|
|
829
773
|
background-color: #757575;
|
|
830
774
|
opacity: 1;
|
|
831
|
-
box-shadow: 0
|
|
775
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
|
|
832
776
|
}
|
|
833
777
|
|
|
834
778
|
.block-editor-block-mover__move-button-container {
|
|
@@ -997,27 +941,14 @@ iframe[name=editor-canvas] {
|
|
|
997
941
|
padding: 4px;
|
|
998
942
|
justify-content: center;
|
|
999
943
|
}
|
|
1000
|
-
.block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination .components-button.is-tertiary {
|
|
1001
|
-
width: auto;
|
|
1002
|
-
height: 32px;
|
|
1003
|
-
justify-content: center;
|
|
1004
|
-
}
|
|
1005
|
-
.block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination .components-button.is-tertiary:disabled {
|
|
1006
|
-
color: #949494;
|
|
1007
|
-
background: none;
|
|
1008
|
-
}
|
|
1009
|
-
.block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination .components-button.is-tertiary:hover:not(:disabled) {
|
|
1010
|
-
color: #fff;
|
|
1011
|
-
background-color: #757575;
|
|
1012
|
-
}
|
|
1013
944
|
|
|
1014
|
-
.show-icon-labels .block-editor-patterns__grid-pagination
|
|
945
|
+
.show-icon-labels .block-editor-patterns__grid-pagination-button {
|
|
1015
946
|
width: auto;
|
|
1016
947
|
}
|
|
1017
|
-
.show-icon-labels .block-editor-patterns__grid-pagination
|
|
948
|
+
.show-icon-labels .block-editor-patterns__grid-pagination-button span {
|
|
1018
949
|
display: none;
|
|
1019
950
|
}
|
|
1020
|
-
.show-icon-labels .block-editor-patterns__grid-pagination
|
|
951
|
+
.show-icon-labels .block-editor-patterns__grid-pagination-button::before {
|
|
1021
952
|
content: attr(aria-label);
|
|
1022
953
|
}
|
|
1023
954
|
|
|
@@ -1668,10 +1599,14 @@ iframe[name=editor-canvas] {
|
|
|
1668
1599
|
}
|
|
1669
1600
|
|
|
1670
1601
|
.block-editor-global-styles__shadow-indicator {
|
|
1602
|
+
appearance: none;
|
|
1603
|
+
background: none;
|
|
1671
1604
|
color: #2f2f2f;
|
|
1672
1605
|
border: #e0e0e0 1px solid;
|
|
1673
1606
|
border-radius: 2px;
|
|
1674
1607
|
cursor: pointer;
|
|
1608
|
+
display: inline-flex;
|
|
1609
|
+
align-items: center;
|
|
1675
1610
|
padding: 0;
|
|
1676
1611
|
height: 26px;
|
|
1677
1612
|
width: 26px;
|
|
@@ -2028,25 +1963,14 @@ iframe[name=editor-canvas] {
|
|
|
2028
1963
|
hyphens: auto;
|
|
2029
1964
|
}
|
|
2030
1965
|
|
|
2031
|
-
.
|
|
2032
|
-
|
|
1966
|
+
.block-editor-block-inspector__tabs [role=tablist] {
|
|
1967
|
+
width: 100%;
|
|
2033
1968
|
}
|
|
2034
1969
|
|
|
2035
1970
|
.block-editor-inspector-popover-header {
|
|
2036
1971
|
margin-bottom: 16px;
|
|
2037
1972
|
}
|
|
2038
1973
|
|
|
2039
|
-
[class].block-editor-inspector-popover-header__action {
|
|
2040
|
-
height: 24px;
|
|
2041
|
-
}
|
|
2042
|
-
[class].block-editor-inspector-popover-header__action.has-icon {
|
|
2043
|
-
min-width: 24px;
|
|
2044
|
-
padding: 0;
|
|
2045
|
-
}
|
|
2046
|
-
[class].block-editor-inspector-popover-header__action:not(.has-icon) {
|
|
2047
|
-
text-decoration: underline;
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
1974
|
.items-justified-left {
|
|
2051
1975
|
justify-content: flex-start;
|
|
2052
1976
|
}
|
|
@@ -2432,6 +2356,14 @@ iframe[name=editor-canvas] {
|
|
|
2432
2356
|
.block-editor-list-view-leaf .block-editor-list-view-block-select-button:hover {
|
|
2433
2357
|
color: var(--wp-admin-theme-color);
|
|
2434
2358
|
}
|
|
2359
|
+
.block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
|
|
2360
|
+
fill: currentColor;
|
|
2361
|
+
}
|
|
2362
|
+
@media (forced-colors: active) {
|
|
2363
|
+
.block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
|
|
2364
|
+
fill: CanvasText;
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2435
2367
|
.is-dragging-components-draggable .block-editor-list-view-leaf:not(.is-selected) .block-editor-list-view-block-select-button:hover {
|
|
2436
2368
|
color: inherit;
|
|
2437
2369
|
}
|
|
@@ -2574,16 +2506,15 @@ iframe[name=editor-canvas] {
|
|
|
2574
2506
|
text-align: right;
|
|
2575
2507
|
position: relative;
|
|
2576
2508
|
white-space: nowrap;
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
border-top: 4px solid var(--wp-admin-theme-color);
|
|
2509
|
+
border-radius: 2px;
|
|
2510
|
+
box-sizing: border-box;
|
|
2511
|
+
color: inherit;
|
|
2512
|
+
font-family: inherit;
|
|
2513
|
+
font-size: 13px;
|
|
2514
|
+
font-weight: 400;
|
|
2515
|
+
margin: 0;
|
|
2516
|
+
text-decoration: none;
|
|
2517
|
+
transition: box-shadow 0.1s linear;
|
|
2587
2518
|
}
|
|
2588
2519
|
.components-modal__content .block-editor-list-view-leaf .block-editor-list-view-block-contents {
|
|
2589
2520
|
padding-right: 0;
|
|
@@ -3077,18 +3008,9 @@ iframe[name=editor-canvas] {
|
|
|
3077
3008
|
top: -9999em;
|
|
3078
3009
|
}
|
|
3079
3010
|
.block-editor-skip-to-selected-block:focus {
|
|
3080
|
-
height: auto;
|
|
3081
|
-
width: auto;
|
|
3082
|
-
display: block;
|
|
3083
3011
|
font-size: 14px;
|
|
3084
3012
|
font-weight: 600;
|
|
3085
|
-
padding: 15px 23px 14px;
|
|
3086
3013
|
background: #f1f1f1;
|
|
3087
|
-
color: var(--wp-admin-theme-color);
|
|
3088
|
-
line-height: normal;
|
|
3089
|
-
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
3090
|
-
text-decoration: none;
|
|
3091
|
-
outline: none;
|
|
3092
3014
|
z-index: 100000;
|
|
3093
3015
|
}
|
|
3094
3016
|
|
|
@@ -3138,6 +3060,11 @@ iframe[name=editor-canvas] {
|
|
|
3138
3060
|
min-width: 280px;
|
|
3139
3061
|
}
|
|
3140
3062
|
|
|
3063
|
+
.block-editor-tool-selector__menu .components-menu-item__info {
|
|
3064
|
+
margin-right: 36px;
|
|
3065
|
+
text-align: right;
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3141
3068
|
.block-editor-block-list__block .block-editor-url-input,
|
|
3142
3069
|
.components-popover .block-editor-url-input,
|
|
3143
3070
|
.block-editor-url-input {
|
|
@@ -3252,11 +3179,6 @@ iframe[name=editor-canvas] {
|
|
|
3252
3179
|
min-width: 0;
|
|
3253
3180
|
align-items: flex-start;
|
|
3254
3181
|
}
|
|
3255
|
-
.block-editor-url-input__button-modal-line .components-button {
|
|
3256
|
-
flex-shrink: 0;
|
|
3257
|
-
width: 36px;
|
|
3258
|
-
height: 36px;
|
|
3259
|
-
}
|
|
3260
3182
|
|
|
3261
3183
|
.block-editor-url-popover__additional-controls {
|
|
3262
3184
|
border-top: 1px solid #1e1e1e;
|
|
@@ -3477,9 +3399,12 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3477
3399
|
}
|
|
3478
3400
|
.block-editor-block-toolbar > :last-child,
|
|
3479
3401
|
.block-editor-block-toolbar > :last-child .components-toolbar-group,
|
|
3480
|
-
.block-editor-block-toolbar > :last-child .components-toolbar {
|
|
3402
|
+
.block-editor-block-toolbar > :last-child .components-toolbar, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2), .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar-group, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar {
|
|
3481
3403
|
border-left: none;
|
|
3482
3404
|
}
|
|
3405
|
+
.block-editor-block-toolbar .components-toolbar-group:empty {
|
|
3406
|
+
display: none;
|
|
3407
|
+
}
|
|
3483
3408
|
|
|
3484
3409
|
.block-editor-block-contextual-toolbar {
|
|
3485
3410
|
position: sticky;
|
|
@@ -3898,32 +3823,9 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3898
3823
|
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab[aria-selected=true] svg {
|
|
3899
3824
|
fill: var(--wp-admin-theme-color);
|
|
3900
3825
|
}
|
|
3901
|
-
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab[aria-selected=true]::after {
|
|
3902
|
-
content: "";
|
|
3903
|
-
display: block;
|
|
3904
|
-
outline: none;
|
|
3905
|
-
position: absolute;
|
|
3906
|
-
top: 0;
|
|
3907
|
-
bottom: 0;
|
|
3908
|
-
right: 0;
|
|
3909
|
-
left: 0;
|
|
3910
|
-
border-radius: 2px;
|
|
3911
|
-
opacity: 0.04;
|
|
3912
|
-
background: var(--wp-admin-theme-color);
|
|
3913
|
-
height: 100%;
|
|
3914
|
-
}
|
|
3915
|
-
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab:focus-visible, .block-editor-inserter__category-tablist .block-editor-inserter__category-tab:focus:not(:disabled) {
|
|
3916
|
-
border-radius: 2px;
|
|
3917
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
3918
|
-
outline: 2px solid transparent;
|
|
3919
|
-
outline-offset: 0;
|
|
3920
|
-
}
|
|
3921
3826
|
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab::before {
|
|
3922
3827
|
display: none;
|
|
3923
3828
|
}
|
|
3924
|
-
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab::after {
|
|
3925
|
-
display: none;
|
|
3926
|
-
}
|
|
3927
3829
|
|
|
3928
3830
|
.block-editor-inserter__category-panel {
|
|
3929
3831
|
outline: 1px solid transparent;
|
package/build-style/style.css
CHANGED
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
/**
|
|
30
30
|
* Fonts & basic variables.
|
|
31
31
|
*/
|
|
32
|
+
/**
|
|
33
|
+
* Typography
|
|
34
|
+
*/
|
|
32
35
|
/**
|
|
33
36
|
* Grid System.
|
|
34
37
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
@@ -43,7 +46,10 @@
|
|
|
43
46
|
* Dimensions.
|
|
44
47
|
*/
|
|
45
48
|
/**
|
|
46
|
-
*
|
|
49
|
+
* Mobile specific styles
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Editor styles.
|
|
47
53
|
*/
|
|
48
54
|
/**
|
|
49
55
|
* Block & Editor UI.
|
|
@@ -67,6 +73,9 @@
|
|
|
67
73
|
* Creates a fading overlay to signify that the content is longer
|
|
68
74
|
* than the space allows.
|
|
69
75
|
*/
|
|
76
|
+
/**
|
|
77
|
+
* Typography
|
|
78
|
+
*/
|
|
70
79
|
/**
|
|
71
80
|
* Breakpoint mixins
|
|
72
81
|
*/
|
|
@@ -339,6 +348,8 @@ iframe[name=editor-canvas] {
|
|
|
339
348
|
|
|
340
349
|
.block-editor-block-inspector__tab-item {
|
|
341
350
|
flex: 1 1 0px;
|
|
351
|
+
display: flex;
|
|
352
|
+
justify-content: center;
|
|
342
353
|
}
|
|
343
354
|
|
|
344
355
|
/**
|
|
@@ -414,79 +425,16 @@ iframe[name=editor-canvas] {
|
|
|
414
425
|
background: #1e1e1e;
|
|
415
426
|
}
|
|
416
427
|
|
|
417
|
-
/**
|
|
418
|
-
* Block Label for Navigation/Selection Mode
|
|
419
|
-
*/
|
|
420
|
-
.block-editor-block-list__block-selection-button {
|
|
421
|
-
display: inline-flex;
|
|
422
|
-
padding: 0 12px;
|
|
423
|
-
z-index: 22;
|
|
424
|
-
border-radius: 2px;
|
|
425
|
-
background-color: #1e1e1e;
|
|
426
|
-
font-size: 13px;
|
|
427
|
-
height: 48px;
|
|
428
|
-
}
|
|
429
|
-
.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content {
|
|
430
|
-
margin: auto;
|
|
431
|
-
display: inline-flex;
|
|
432
|
-
align-items: center;
|
|
433
|
-
}
|
|
434
|
-
.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content > .components-flex__item {
|
|
435
|
-
margin-right: 6px;
|
|
436
|
-
}
|
|
437
|
-
.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle {
|
|
438
|
-
cursor: grab;
|
|
439
|
-
padding: 0;
|
|
440
|
-
height: 24px;
|
|
441
|
-
min-width: 24px;
|
|
442
|
-
margin-left: -2px;
|
|
443
|
-
}
|
|
444
|
-
.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle svg {
|
|
445
|
-
min-width: 18px;
|
|
446
|
-
min-height: 18px;
|
|
447
|
-
}
|
|
448
|
-
.block-editor-block-list__block-selection-button .block-editor-block-icon {
|
|
449
|
-
font-size: 13px;
|
|
450
|
-
color: #fff;
|
|
451
|
-
height: 48px;
|
|
452
|
-
}
|
|
453
|
-
.block-editor-block-list__block-selection-button .components-button {
|
|
454
|
-
min-width: 36px;
|
|
455
|
-
color: #fff;
|
|
456
|
-
height: 48px;
|
|
457
|
-
display: flex;
|
|
458
|
-
}
|
|
459
|
-
.block-editor-block-list__block-selection-button .components-button:focus {
|
|
460
|
-
box-shadow: none;
|
|
461
|
-
border: none;
|
|
462
|
-
}
|
|
463
|
-
.block-editor-block-list__block-selection-button .components-button:active {
|
|
464
|
-
color: #fff;
|
|
465
|
-
}
|
|
466
|
-
.block-editor-block-list__block-selection-button .components-button[aria-disabled=true]:hover {
|
|
467
|
-
color: #fff;
|
|
468
|
-
}
|
|
469
|
-
.block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button {
|
|
470
|
-
padding: 0;
|
|
471
|
-
}
|
|
472
|
-
.block-editor-block-list__block-selection-button .block-editor-block-mover {
|
|
473
|
-
background: unset;
|
|
474
|
-
border: none;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
428
|
@keyframes hide-during-dragging {
|
|
478
429
|
to {
|
|
479
430
|
position: fixed;
|
|
480
431
|
transform: translate(9999px, 9999px);
|
|
481
432
|
}
|
|
482
433
|
}
|
|
483
|
-
.components-popover.block-editor-block-list__block-popover .block-editor-block-list__block-selection-button,
|
|
484
434
|
.components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar {
|
|
485
435
|
pointer-events: all;
|
|
486
436
|
margin-top: 8px;
|
|
487
437
|
margin-bottom: 8px;
|
|
488
|
-
}
|
|
489
|
-
.components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar {
|
|
490
438
|
border: 1px solid #1e1e1e;
|
|
491
439
|
border-radius: 2px;
|
|
492
440
|
overflow: visible;
|
|
@@ -562,12 +510,8 @@ iframe[name=editor-canvas] {
|
|
|
562
510
|
background: none;
|
|
563
511
|
border: none;
|
|
564
512
|
}
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
visibility: hidden;
|
|
568
|
-
}
|
|
569
|
-
.block-editor-block-tools__zoom-out-mode-inserter-button.is-visible {
|
|
570
|
-
visibility: visible;
|
|
513
|
+
.zoom-out-toolbar .components-button {
|
|
514
|
+
height: 40px;
|
|
571
515
|
}
|
|
572
516
|
|
|
573
517
|
.block-editor-block-lock-modal {
|
|
@@ -769,7 +713,7 @@ iframe[name=editor-canvas] {
|
|
|
769
713
|
.block-editor-block-draggable-chip {
|
|
770
714
|
background-color: #1e1e1e;
|
|
771
715
|
border-radius: 2px;
|
|
772
|
-
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.
|
|
716
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
|
|
773
717
|
color: #fff;
|
|
774
718
|
cursor: grabbing;
|
|
775
719
|
display: inline-flex;
|
|
@@ -828,7 +772,7 @@ iframe[name=editor-canvas] {
|
|
|
828
772
|
.block-draggable-invalid-drag-token .block-editor-block-draggable-chip__disabled.block-editor-block-draggable-chip__disabled {
|
|
829
773
|
background-color: #757575;
|
|
830
774
|
opacity: 1;
|
|
831
|
-
box-shadow: 0
|
|
775
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02);
|
|
832
776
|
}
|
|
833
777
|
|
|
834
778
|
.block-editor-block-mover__move-button-container {
|
|
@@ -997,27 +941,14 @@ iframe[name=editor-canvas] {
|
|
|
997
941
|
padding: 4px;
|
|
998
942
|
justify-content: center;
|
|
999
943
|
}
|
|
1000
|
-
.block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination .components-button.is-tertiary {
|
|
1001
|
-
width: auto;
|
|
1002
|
-
height: 32px;
|
|
1003
|
-
justify-content: center;
|
|
1004
|
-
}
|
|
1005
|
-
.block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination .components-button.is-tertiary:disabled {
|
|
1006
|
-
color: #949494;
|
|
1007
|
-
background: none;
|
|
1008
|
-
}
|
|
1009
|
-
.block-editor-patterns__grid-pagination-wrapper .block-editor-patterns__grid-pagination .components-button.is-tertiary:hover:not(:disabled) {
|
|
1010
|
-
color: #fff;
|
|
1011
|
-
background-color: #757575;
|
|
1012
|
-
}
|
|
1013
944
|
|
|
1014
|
-
.show-icon-labels .block-editor-patterns__grid-pagination
|
|
945
|
+
.show-icon-labels .block-editor-patterns__grid-pagination-button {
|
|
1015
946
|
width: auto;
|
|
1016
947
|
}
|
|
1017
|
-
.show-icon-labels .block-editor-patterns__grid-pagination
|
|
948
|
+
.show-icon-labels .block-editor-patterns__grid-pagination-button span {
|
|
1018
949
|
display: none;
|
|
1019
950
|
}
|
|
1020
|
-
.show-icon-labels .block-editor-patterns__grid-pagination
|
|
951
|
+
.show-icon-labels .block-editor-patterns__grid-pagination-button::before {
|
|
1021
952
|
content: attr(aria-label);
|
|
1022
953
|
}
|
|
1023
954
|
|
|
@@ -1668,10 +1599,14 @@ iframe[name=editor-canvas] {
|
|
|
1668
1599
|
}
|
|
1669
1600
|
|
|
1670
1601
|
.block-editor-global-styles__shadow-indicator {
|
|
1602
|
+
appearance: none;
|
|
1603
|
+
background: none;
|
|
1671
1604
|
color: #2f2f2f;
|
|
1672
1605
|
border: #e0e0e0 1px solid;
|
|
1673
1606
|
border-radius: 2px;
|
|
1674
1607
|
cursor: pointer;
|
|
1608
|
+
display: inline-flex;
|
|
1609
|
+
align-items: center;
|
|
1675
1610
|
padding: 0;
|
|
1676
1611
|
height: 26px;
|
|
1677
1612
|
width: 26px;
|
|
@@ -2029,25 +1964,14 @@ iframe[name=editor-canvas] {
|
|
|
2029
1964
|
hyphens: auto;
|
|
2030
1965
|
}
|
|
2031
1966
|
|
|
2032
|
-
.
|
|
2033
|
-
|
|
1967
|
+
.block-editor-block-inspector__tabs [role=tablist] {
|
|
1968
|
+
width: 100%;
|
|
2034
1969
|
}
|
|
2035
1970
|
|
|
2036
1971
|
.block-editor-inspector-popover-header {
|
|
2037
1972
|
margin-bottom: 16px;
|
|
2038
1973
|
}
|
|
2039
1974
|
|
|
2040
|
-
[class].block-editor-inspector-popover-header__action {
|
|
2041
|
-
height: 24px;
|
|
2042
|
-
}
|
|
2043
|
-
[class].block-editor-inspector-popover-header__action.has-icon {
|
|
2044
|
-
min-width: 24px;
|
|
2045
|
-
padding: 0;
|
|
2046
|
-
}
|
|
2047
|
-
[class].block-editor-inspector-popover-header__action:not(.has-icon) {
|
|
2048
|
-
text-decoration: underline;
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
1975
|
.items-justified-left {
|
|
2052
1976
|
justify-content: flex-start;
|
|
2053
1977
|
}
|
|
@@ -2433,6 +2357,14 @@ iframe[name=editor-canvas] {
|
|
|
2433
2357
|
.block-editor-list-view-leaf .block-editor-list-view-block-select-button:hover {
|
|
2434
2358
|
color: var(--wp-admin-theme-color);
|
|
2435
2359
|
}
|
|
2360
|
+
.block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
|
|
2361
|
+
fill: currentColor;
|
|
2362
|
+
}
|
|
2363
|
+
@media (forced-colors: active) {
|
|
2364
|
+
.block-editor-list-view-leaf .block-editor-list-view-block-select-button svg {
|
|
2365
|
+
fill: CanvasText;
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2436
2368
|
.is-dragging-components-draggable .block-editor-list-view-leaf:not(.is-selected) .block-editor-list-view-block-select-button:hover {
|
|
2437
2369
|
color: inherit;
|
|
2438
2370
|
}
|
|
@@ -2575,16 +2507,15 @@ iframe[name=editor-canvas] {
|
|
|
2575
2507
|
text-align: left;
|
|
2576
2508
|
position: relative;
|
|
2577
2509
|
white-space: nowrap;
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
border-top: 4px solid var(--wp-admin-theme-color);
|
|
2510
|
+
border-radius: 2px;
|
|
2511
|
+
box-sizing: border-box;
|
|
2512
|
+
color: inherit;
|
|
2513
|
+
font-family: inherit;
|
|
2514
|
+
font-size: 13px;
|
|
2515
|
+
font-weight: 400;
|
|
2516
|
+
margin: 0;
|
|
2517
|
+
text-decoration: none;
|
|
2518
|
+
transition: box-shadow 0.1s linear;
|
|
2588
2519
|
}
|
|
2589
2520
|
.components-modal__content .block-editor-list-view-leaf .block-editor-list-view-block-contents {
|
|
2590
2521
|
padding-left: 0;
|
|
@@ -3078,18 +3009,9 @@ iframe[name=editor-canvas] {
|
|
|
3078
3009
|
top: -9999em;
|
|
3079
3010
|
}
|
|
3080
3011
|
.block-editor-skip-to-selected-block:focus {
|
|
3081
|
-
height: auto;
|
|
3082
|
-
width: auto;
|
|
3083
|
-
display: block;
|
|
3084
3012
|
font-size: 14px;
|
|
3085
3013
|
font-weight: 600;
|
|
3086
|
-
padding: 15px 23px 14px;
|
|
3087
3014
|
background: #f1f1f1;
|
|
3088
|
-
color: var(--wp-admin-theme-color);
|
|
3089
|
-
line-height: normal;
|
|
3090
|
-
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
3091
|
-
text-decoration: none;
|
|
3092
|
-
outline: none;
|
|
3093
3015
|
z-index: 100000;
|
|
3094
3016
|
}
|
|
3095
3017
|
|
|
@@ -3139,6 +3061,11 @@ iframe[name=editor-canvas] {
|
|
|
3139
3061
|
min-width: 280px;
|
|
3140
3062
|
}
|
|
3141
3063
|
|
|
3064
|
+
.block-editor-tool-selector__menu .components-menu-item__info {
|
|
3065
|
+
margin-left: 36px;
|
|
3066
|
+
text-align: left;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3142
3069
|
.block-editor-block-list__block .block-editor-url-input,
|
|
3143
3070
|
.components-popover .block-editor-url-input,
|
|
3144
3071
|
.block-editor-url-input {
|
|
@@ -3253,11 +3180,6 @@ iframe[name=editor-canvas] {
|
|
|
3253
3180
|
min-width: 0;
|
|
3254
3181
|
align-items: flex-start;
|
|
3255
3182
|
}
|
|
3256
|
-
.block-editor-url-input__button-modal-line .components-button {
|
|
3257
|
-
flex-shrink: 0;
|
|
3258
|
-
width: 36px;
|
|
3259
|
-
height: 36px;
|
|
3260
|
-
}
|
|
3261
3183
|
|
|
3262
3184
|
.block-editor-url-popover__additional-controls {
|
|
3263
3185
|
border-top: 1px solid #1e1e1e;
|
|
@@ -3478,9 +3400,12 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3478
3400
|
}
|
|
3479
3401
|
.block-editor-block-toolbar > :last-child,
|
|
3480
3402
|
.block-editor-block-toolbar > :last-child .components-toolbar-group,
|
|
3481
|
-
.block-editor-block-toolbar > :last-child .components-toolbar {
|
|
3403
|
+
.block-editor-block-toolbar > :last-child .components-toolbar, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2), .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar-group, .block-editor-block-toolbar:has(> :last-child:empty) > :nth-last-child(2) .components-toolbar {
|
|
3482
3404
|
border-right: none;
|
|
3483
3405
|
}
|
|
3406
|
+
.block-editor-block-toolbar .components-toolbar-group:empty {
|
|
3407
|
+
display: none;
|
|
3408
|
+
}
|
|
3484
3409
|
|
|
3485
3410
|
.block-editor-block-contextual-toolbar {
|
|
3486
3411
|
position: sticky;
|
|
@@ -3899,32 +3824,9 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3899
3824
|
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab[aria-selected=true] svg {
|
|
3900
3825
|
fill: var(--wp-admin-theme-color);
|
|
3901
3826
|
}
|
|
3902
|
-
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab[aria-selected=true]::after {
|
|
3903
|
-
content: "";
|
|
3904
|
-
display: block;
|
|
3905
|
-
outline: none;
|
|
3906
|
-
position: absolute;
|
|
3907
|
-
top: 0;
|
|
3908
|
-
bottom: 0;
|
|
3909
|
-
left: 0;
|
|
3910
|
-
right: 0;
|
|
3911
|
-
border-radius: 2px;
|
|
3912
|
-
opacity: 0.04;
|
|
3913
|
-
background: var(--wp-admin-theme-color);
|
|
3914
|
-
height: 100%;
|
|
3915
|
-
}
|
|
3916
|
-
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab:focus-visible, .block-editor-inserter__category-tablist .block-editor-inserter__category-tab:focus:not(:disabled) {
|
|
3917
|
-
border-radius: 2px;
|
|
3918
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
3919
|
-
outline: 2px solid transparent;
|
|
3920
|
-
outline-offset: 0;
|
|
3921
|
-
}
|
|
3922
3827
|
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab::before {
|
|
3923
3828
|
display: none;
|
|
3924
3829
|
}
|
|
3925
|
-
.block-editor-inserter__category-tablist .block-editor-inserter__category-tab::after {
|
|
3926
|
-
display: none;
|
|
3927
|
-
}
|
|
3928
3830
|
|
|
3929
3831
|
.block-editor-inserter__category-panel {
|
|
3930
3832
|
outline: 1px solid transparent;
|