@wordpress/block-editor 11.4.0 → 11.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/build/components/block-inspector/index.js +11 -10
- package/build/components/block-inspector/index.js.map +1 -1
- package/build/components/block-inspector/useBlockInspectorAnimationSettings.js +46 -0
- package/build/components/block-inspector/useBlockInspectorAnimationSettings.js.map +1 -0
- package/build/components/block-list/block-invalid-warning.js +63 -80
- package/build/components/block-list/block-invalid-warning.js.map +1 -1
- package/build/components/block-lock/modal.js +1 -0
- package/build/components/block-lock/modal.js.map +1 -1
- package/build/components/block-settings-menu/block-settings-dropdown.js +2 -2
- package/build/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build/components/block-settings-menu-controls/index.js +1 -1
- package/build/components/block-settings-menu-controls/index.js.map +1 -1
- package/build/components/block-styles/index.js +2 -1
- package/build/components/block-styles/index.js.map +1 -1
- package/build/components/block-switcher/block-transformations-menu.native.js +1 -0
- package/build/components/block-switcher/block-transformations-menu.native.js.map +1 -1
- package/build/components/child-layout-control/index.js +107 -0
- package/build/components/child-layout-control/index.js.map +1 -0
- package/build/components/convert-to-group-buttons/use-convert-to-group-button-props.js +6 -3
- package/build/components/convert-to-group-buttons/use-convert-to-group-button-props.js.map +1 -1
- package/build/components/date-format-picker/index.js +3 -3
- package/build/components/date-format-picker/index.js.map +1 -1
- package/build/components/global-styles/border-panel.js +306 -0
- package/build/components/global-styles/border-panel.js.map +1 -0
- package/build/components/global-styles/dimensions-panel.js +594 -0
- package/build/components/global-styles/dimensions-panel.js.map +1 -0
- package/build/components/global-styles/hooks.js +127 -37
- package/build/components/global-styles/hooks.js.map +1 -1
- package/build/components/global-styles/index.js +36 -2
- package/build/components/global-styles/index.js.map +1 -1
- package/build/components/global-styles/typography-panel.js +87 -27
- package/build/components/global-styles/typography-panel.js.map +1 -1
- package/build/components/global-styles/use-global-styles-output.js +21 -14
- package/build/components/global-styles/use-global-styles-output.js.map +1 -1
- package/build/components/global-styles/utils.js +2 -0
- package/build/components/global-styles/utils.js.map +1 -1
- package/build/components/index.native.js +23 -0
- package/build/components/index.native.js.map +1 -1
- package/build/components/inserter/index.js +29 -17
- package/build/components/inserter/index.js.map +1 -1
- package/build/components/inserter/media-tab/hooks.js +10 -11
- package/build/components/inserter/media-tab/hooks.js.map +1 -1
- package/build/components/inserter/media-tab/media-list.js +5 -108
- package/build/components/inserter/media-tab/media-list.js.map +1 -1
- package/build/components/inserter/media-tab/media-preview.js +242 -0
- package/build/components/inserter/media-tab/media-preview.js.map +1 -0
- package/build/components/inserter/menu.js +1 -1
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/inserter/quick-inserter.js +4 -2
- package/build/components/inserter/quick-inserter.js.map +1 -1
- package/build/components/inserter/search-results.js +10 -3
- package/build/components/inserter/search-results.js.map +1 -1
- package/build/components/inserter/tabs.js +1 -1
- package/build/components/inserter/tabs.js.map +1 -1
- package/build/components/inspector-controls/block-support-tools-panel.js +1 -1
- package/build/components/inspector-controls/block-support-tools-panel.js.map +1 -1
- package/build/components/inspector-controls/fill.js +38 -9
- package/build/components/inspector-controls/fill.js.map +1 -1
- package/build/components/link-control/index.js +1 -1
- package/build/components/link-control/index.js.map +1 -1
- package/build/components/link-control/search-item.js +5 -2
- package/build/components/link-control/search-item.js.map +1 -1
- package/build/components/link-control/settings-drawer.js +1 -1
- package/build/components/link-control/settings-drawer.js.map +1 -1
- package/build/components/link-control/settings.js +1 -0
- package/build/components/link-control/settings.js.map +1 -1
- package/build/components/list-view/block.js +17 -3
- package/build/components/list-view/block.js.map +1 -1
- package/build/components/list-view/branch.js +2 -2
- package/build/components/list-view/branch.js.map +1 -1
- package/build/components/list-view/expander.js +2 -1
- package/build/components/list-view/expander.js.map +1 -1
- package/build/components/list-view/leaf.js +10 -6
- package/build/components/list-view/leaf.js.map +1 -1
- package/build/components/list-view/use-block-selection.js +1 -2
- package/build/components/list-view/use-block-selection.js.map +1 -1
- package/build/components/list-view/use-list-view-scroll-into-view.js +51 -0
- package/build/components/list-view/use-list-view-scroll-into-view.js.map +1 -0
- package/build/components/off-canvas-editor/appender.js +33 -13
- package/build/components/off-canvas-editor/appender.js.map +1 -1
- package/build/components/off-canvas-editor/branch.js +6 -3
- package/build/components/off-canvas-editor/branch.js.map +1 -1
- package/build/components/off-canvas-editor/index.js +8 -2
- package/build/components/off-canvas-editor/index.js.map +1 -1
- package/build/components/off-canvas-editor/leaf-more-menu.js +34 -4
- package/build/components/off-canvas-editor/leaf-more-menu.js.map +1 -1
- package/build/components/provider/use-block-sync.js +17 -3
- package/build/components/provider/use-block-sync.js.map +1 -1
- package/build/components/responsive-block-control/index.js +1 -0
- package/build/components/responsive-block-control/index.js.map +1 -1
- package/build/components/rich-text/format-toolbar-container.js +0 -3
- package/build/components/rich-text/format-toolbar-container.js.map +1 -1
- package/build/components/rich-text/index.js +9 -43
- package/build/components/rich-text/index.js.map +1 -1
- package/build/components/rich-text/use-delete.js +73 -0
- package/build/components/rich-text/use-delete.js.map +1 -0
- package/build/components/rich-text/use-input-rules.js +14 -6
- package/build/components/rich-text/use-input-rules.js.map +1 -1
- package/build/components/writing-flow/use-selection-observer.js +4 -1
- package/build/components/writing-flow/use-selection-observer.js.map +1 -1
- package/build/hooks/align.js +3 -1
- package/build/hooks/align.js.map +1 -1
- package/build/hooks/border.js +91 -240
- package/build/hooks/border.js.map +1 -1
- package/build/hooks/custom-class-name.js +4 -4
- package/build/hooks/custom-class-name.js.map +1 -1
- package/build/hooks/custom-class-name.native.js +3 -4
- package/build/hooks/custom-class-name.native.js.map +1 -1
- package/build/hooks/dimensions.js +72 -190
- package/build/hooks/dimensions.js.map +1 -1
- package/build/hooks/duotone.js +94 -25
- package/build/hooks/duotone.js.map +1 -1
- package/build/hooks/gap.js +0 -202
- package/build/hooks/gap.js.map +1 -1
- package/build/hooks/layout.js +33 -27
- package/build/hooks/layout.js.map +1 -1
- package/build/hooks/margin.js +7 -163
- package/build/hooks/margin.js.map +1 -1
- package/build/hooks/padding.js +7 -163
- package/build/hooks/padding.js.map +1 -1
- package/build/hooks/supports.js +7 -1
- package/build/hooks/supports.js.map +1 -1
- package/build/hooks/typography.js +52 -66
- package/build/hooks/typography.js.map +1 -1
- package/build/hooks/utils.js +101 -0
- package/build/hooks/utils.js.map +1 -1
- package/build/layouts/constrained.js +6 -2
- package/build/layouts/constrained.js.map +1 -1
- package/build/layouts/flex.js +1 -0
- package/build/layouts/flex.js.map +1 -1
- package/build/private-apis.js +4 -1
- package/build/private-apis.js.map +1 -1
- package/build/store/actions.js +28 -14
- package/build/store/actions.js.map +1 -1
- package/build/store/defaults.js +28 -1
- package/build/store/defaults.js.map +1 -1
- package/build/store/reducer.js +53 -47
- package/build/store/reducer.js.map +1 -1
- package/build/store/selectors.js +24 -4
- package/build/store/selectors.js.map +1 -1
- package/build/utils/parse-css-unit-to-px.js +49 -10
- package/build/utils/parse-css-unit-to-px.js.map +1 -1
- package/build-module/components/block-inspector/index.js +9 -9
- package/build-module/components/block-inspector/index.js.map +1 -1
- package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.js +37 -0
- package/build-module/components/block-inspector/useBlockInspectorAnimationSettings.js.map +1 -0
- package/build-module/components/block-list/block-invalid-warning.js +66 -78
- package/build-module/components/block-list/block-invalid-warning.js.map +1 -1
- package/build-module/components/block-lock/modal.js +1 -0
- package/build-module/components/block-lock/modal.js.map +1 -1
- package/build-module/components/block-settings-menu/block-settings-dropdown.js +2 -2
- package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
- package/build-module/components/block-settings-menu-controls/index.js +1 -1
- package/build-module/components/block-settings-menu-controls/index.js.map +1 -1
- package/build-module/components/block-styles/index.js +2 -1
- package/build-module/components/block-styles/index.js.map +1 -1
- package/build-module/components/block-switcher/block-transformations-menu.native.js +1 -0
- package/build-module/components/block-switcher/block-transformations-menu.native.js.map +1 -1
- package/build-module/components/child-layout-control/index.js +98 -0
- package/build-module/components/child-layout-control/index.js.map +1 -0
- package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js +6 -3
- package/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js.map +1 -1
- package/build-module/components/date-format-picker/index.js +4 -4
- package/build-module/components/date-format-picker/index.js.map +1 -1
- package/build-module/components/global-styles/border-panel.js +291 -0
- package/build-module/components/global-styles/border-panel.js.map +1 -0
- package/build-module/components/global-styles/dimensions-panel.js +574 -0
- package/build-module/components/global-styles/dimensions-panel.js.map +1 -0
- package/build-module/components/global-styles/hooks.js +123 -34
- package/build-module/components/global-styles/hooks.js.map +1 -1
- package/build-module/components/global-styles/index.js +3 -1
- package/build-module/components/global-styles/index.js.map +1 -1
- package/build-module/components/global-styles/typography-panel.js +88 -27
- package/build-module/components/global-styles/typography-panel.js.map +1 -1
- package/build-module/components/global-styles/use-global-styles-output.js +21 -14
- package/build-module/components/global-styles/use-global-styles-output.js.map +1 -1
- package/build-module/components/global-styles/utils.js +2 -0
- package/build-module/components/global-styles/utils.js.map +1 -1
- package/build-module/components/index.native.js +2 -1
- package/build-module/components/index.native.js.map +1 -1
- package/build-module/components/inserter/index.js +28 -16
- package/build-module/components/inserter/index.js.map +1 -1
- package/build-module/components/inserter/media-tab/hooks.js +10 -11
- package/build-module/components/inserter/media-tab/hooks.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-list.js +6 -105
- package/build-module/components/inserter/media-tab/media-list.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-preview.js +222 -0
- package/build-module/components/inserter/media-tab/media-preview.js.map +1 -0
- package/build-module/components/inserter/menu.js +1 -1
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/inserter/quick-inserter.js +4 -2
- package/build-module/components/inserter/quick-inserter.js.map +1 -1
- package/build-module/components/inserter/search-results.js +10 -3
- package/build-module/components/inserter/search-results.js.map +1 -1
- package/build-module/components/inserter/tabs.js +1 -1
- package/build-module/components/inserter/tabs.js.map +1 -1
- package/build-module/components/inspector-controls/block-support-tools-panel.js +1 -1
- package/build-module/components/inspector-controls/block-support-tools-panel.js.map +1 -1
- package/build-module/components/inspector-controls/fill.js +39 -9
- package/build-module/components/inspector-controls/fill.js.map +1 -1
- package/build-module/components/link-control/index.js +1 -1
- package/build-module/components/link-control/index.js.map +1 -1
- package/build-module/components/link-control/search-item.js +4 -2
- package/build-module/components/link-control/search-item.js.map +1 -1
- package/build-module/components/link-control/settings-drawer.js +1 -1
- package/build-module/components/link-control/settings-drawer.js.map +1 -1
- package/build-module/components/link-control/settings.js +1 -0
- package/build-module/components/link-control/settings.js.map +1 -1
- package/build-module/components/list-view/block.js +16 -3
- package/build-module/components/list-view/block.js.map +1 -1
- package/build-module/components/list-view/branch.js +2 -2
- package/build-module/components/list-view/branch.js.map +1 -1
- package/build-module/components/list-view/expander.js +2 -1
- package/build-module/components/list-view/expander.js.map +1 -1
- package/build-module/components/list-view/leaf.js +8 -4
- package/build-module/components/list-view/leaf.js.map +1 -1
- package/build-module/components/list-view/use-block-selection.js +1 -2
- package/build-module/components/list-view/use-block-selection.js.map +1 -1
- package/build-module/components/list-view/use-list-view-scroll-into-view.js +42 -0
- package/build-module/components/list-view/use-list-view-scroll-into-view.js.map +1 -0
- package/build-module/components/off-canvas-editor/appender.js +33 -14
- package/build-module/components/off-canvas-editor/appender.js.map +1 -1
- package/build-module/components/off-canvas-editor/branch.js +6 -3
- package/build-module/components/off-canvas-editor/branch.js.map +1 -1
- package/build-module/components/off-canvas-editor/index.js +8 -2
- package/build-module/components/off-canvas-editor/index.js.map +1 -1
- package/build-module/components/off-canvas-editor/leaf-more-menu.js +36 -7
- package/build-module/components/off-canvas-editor/leaf-more-menu.js.map +1 -1
- package/build-module/components/provider/use-block-sync.js +17 -3
- package/build-module/components/provider/use-block-sync.js.map +1 -1
- package/build-module/components/responsive-block-control/index.js +1 -0
- package/build-module/components/responsive-block-control/index.js.map +1 -1
- package/build-module/components/rich-text/format-toolbar-container.js +0 -3
- package/build-module/components/rich-text/format-toolbar-container.js.map +1 -1
- package/build-module/components/rich-text/index.js +9 -43
- package/build-module/components/rich-text/index.js.map +1 -1
- package/build-module/components/rich-text/use-delete.js +62 -0
- package/build-module/components/rich-text/use-delete.js.map +1 -0
- package/build-module/components/rich-text/use-input-rules.js +14 -6
- package/build-module/components/rich-text/use-input-rules.js.map +1 -1
- package/build-module/components/writing-flow/use-selection-observer.js +4 -1
- package/build-module/components/writing-flow/use-selection-observer.js.map +1 -1
- package/build-module/hooks/align.js +3 -1
- package/build-module/hooks/align.js.map +1 -1
- package/build-module/hooks/border.js +93 -240
- package/build-module/hooks/border.js.map +1 -1
- package/build-module/hooks/custom-class-name.js +4 -4
- package/build-module/hooks/custom-class-name.js.map +1 -1
- package/build-module/hooks/custom-class-name.native.js +3 -4
- package/build-module/hooks/custom-class-name.native.js.map +1 -1
- package/build-module/hooks/dimensions.js +75 -187
- package/build-module/hooks/dimensions.js.map +1 -1
- package/build-module/hooks/duotone.js +86 -24
- package/build-module/hooks/duotone.js.map +1 -1
- package/build-module/hooks/gap.js +0 -183
- package/build-module/hooks/gap.js.map +1 -1
- package/build-module/hooks/layout.js +33 -27
- package/build-module/hooks/layout.js.map +1 -1
- package/build-module/hooks/margin.js +4 -143
- package/build-module/hooks/margin.js.map +1 -1
- package/build-module/hooks/padding.js +4 -143
- package/build-module/hooks/padding.js.map +1 -1
- package/build-module/hooks/supports.js +7 -1
- package/build-module/hooks/supports.js.map +1 -1
- package/build-module/hooks/typography.js +54 -66
- package/build-module/hooks/typography.js.map +1 -1
- package/build-module/hooks/utils.js +96 -0
- package/build-module/hooks/utils.js.map +1 -1
- package/build-module/layouts/constrained.js +6 -2
- package/build-module/layouts/constrained.js.map +1 -1
- package/build-module/layouts/flex.js +1 -0
- package/build-module/layouts/flex.js.map +1 -1
- package/build-module/private-apis.js +3 -1
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/actions.js +28 -14
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/defaults.js +28 -1
- package/build-module/store/defaults.js.map +1 -1
- package/build-module/store/reducer.js +53 -45
- package/build-module/store/reducer.js.map +1 -1
- package/build-module/store/selectors.js +22 -4
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/parse-css-unit-to-px.js +49 -10
- package/build-module/utils/parse-css-unit-to-px.js.map +1 -1
- package/build-style/style-rtl.css +39 -27
- package/build-style/style.css +39 -27
- package/package.json +31 -31
- package/src/components/block-draggable/test/__snapshots__/index.native.js.snap +24 -24
- package/src/components/block-inspector/index.js +11 -14
- package/src/components/block-inspector/style.scss +3 -0
- package/src/components/block-inspector/useBlockInspectorAnimationSettings.js +53 -0
- package/src/components/block-list/block-invalid-warning.js +72 -64
- package/src/components/block-lock/modal.js +1 -0
- package/src/components/block-lock/style.scss +0 -9
- package/src/components/block-mobile-toolbar/test/__snapshots__/block-actions-menu.native.js.snap +20 -20
- package/src/components/block-mover/test/__snapshots__/index.native.js.snap +35 -17
- package/src/components/block-preview/test/index.js +0 -2
- package/src/components/block-settings-menu/block-settings-dropdown.js +4 -1
- package/src/components/block-settings-menu-controls/index.js +2 -1
- package/src/components/block-styles/index.js +5 -1
- package/src/components/block-styles/style.scss +2 -2
- package/src/components/block-switcher/block-transformations-menu.native.js +1 -0
- package/src/components/child-layout-control/index.js +106 -0
- package/src/components/color-palette/test/__snapshots__/control.js.snap +17 -15
- package/src/components/convert-to-group-buttons/use-convert-to-group-button-props.js +48 -38
- package/src/components/date-format-picker/index.js +6 -8
- package/src/components/date-format-picker/style.scss +0 -5
- package/src/components/global-styles/border-panel.js +285 -0
- package/src/components/global-styles/dimensions-panel.js +627 -0
- package/src/components/global-styles/hooks.js +160 -44
- package/src/components/global-styles/index.js +7 -1
- package/src/components/global-styles/test/use-global-styles-output.js +1 -1
- package/src/components/global-styles/typography-panel.js +81 -9
- package/src/components/global-styles/use-global-styles-output.js +17 -16
- package/src/components/global-styles/utils.js +2 -0
- package/src/components/index.native.js +5 -0
- package/src/components/inner-blocks/test/__snapshots__/index.js.snap +1 -1
- package/src/components/inserter/index.js +30 -11
- package/src/components/inserter/media-tab/hooks.js +9 -8
- package/src/components/inserter/media-tab/media-list.js +3 -122
- package/src/components/inserter/media-tab/media-preview.js +268 -0
- package/src/components/inserter/menu.js +0 -1
- package/src/components/inserter/quick-inserter.js +2 -0
- package/src/components/inserter/search-results.js +7 -1
- package/src/components/inserter/style.scss +25 -0
- package/src/components/inserter/tabs.js +1 -9
- package/src/components/inserter/test/__snapshots__/index.native.js.snap +15 -15
- package/src/components/inspector-controls/block-support-tools-panel.js +0 -1
- package/src/components/inspector-controls/fill.js +32 -8
- package/src/components/link-control/index.js +1 -1
- package/src/components/link-control/search-item.js +3 -1
- package/src/components/link-control/settings-drawer.js +2 -1
- package/src/components/link-control/settings.js +1 -0
- package/src/components/link-control/style.scss +18 -12
- package/src/components/link-control/test/index.js +3 -5
- package/src/components/list-view/block.js +19 -1
- package/src/components/list-view/branch.js +1 -2
- package/src/components/list-view/expander.js +1 -0
- package/src/components/list-view/leaf.js +43 -29
- package/src/components/list-view/use-block-selection.js +0 -2
- package/src/components/list-view/use-list-view-scroll-into-view.js +48 -0
- package/src/components/media-replace-flow/style.scss +7 -9
- package/src/components/off-canvas-editor/appender.js +44 -21
- package/src/components/off-canvas-editor/branch.js +4 -1
- package/src/components/off-canvas-editor/index.js +7 -1
- package/src/components/off-canvas-editor/leaf-more-menu.js +57 -15
- package/src/components/provider/use-block-sync.js +21 -4
- package/src/components/responsive-block-control/index.js +1 -0
- package/src/components/rich-text/format-toolbar-container.js +1 -7
- package/src/components/rich-text/index.js +8 -44
- package/src/components/rich-text/use-delete.js +59 -0
- package/src/components/rich-text/use-input-rules.js +13 -5
- package/src/components/spacing-sizes-control/style.scss +1 -1
- package/src/components/url-popover/stories/index.js +1 -0
- package/src/components/url-popover/test/index.js +0 -2
- package/src/components/writing-flow/use-selection-observer.js +5 -1
- package/src/hooks/align.js +1 -1
- package/src/hooks/border.js +94 -225
- package/src/hooks/custom-class-name.js +4 -4
- package/src/hooks/custom-class-name.native.js +3 -4
- package/src/hooks/dimensions.js +85 -269
- package/src/hooks/duotone.js +100 -30
- package/src/hooks/gap.js +0 -208
- package/src/hooks/layout.js +38 -22
- package/src/hooks/margin.js +1 -164
- package/src/hooks/padding.js +1 -163
- package/src/hooks/supports.js +6 -0
- package/src/hooks/test/__snapshots__/align.native.js.snap +24 -24
- package/src/hooks/test/duotone.js +102 -0
- package/src/hooks/test/style.js +2 -1
- package/src/hooks/test/use-typography-props.js +2 -0
- package/src/hooks/typography.js +68 -88
- package/src/hooks/utils.js +126 -0
- package/src/layouts/constrained.js +23 -17
- package/src/layouts/flex.js +1 -0
- package/src/private-apis.js +2 -0
- package/src/store/actions.js +16 -6
- package/src/store/defaults.js +14 -1
- package/src/store/reducer.js +68 -43
- package/src/store/selectors.js +28 -4
- package/src/store/test/actions.js +4 -2
- package/src/utils/parse-css-unit-to-px.js +48 -13
- package/src/utils/test/parse-css-unit-to-px.js +13 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/build/hooks/border-radius.js +0 -100
- package/build/hooks/border-radius.js.map +0 -1
- package/build/hooks/child-layout.js +0 -213
- package/build/hooks/child-layout.js.map +0 -1
- package/build/hooks/min-height.js +0 -139
- package/build/hooks/min-height.js.map +0 -1
- package/build-module/hooks/border-radius.js +0 -84
- package/build-module/hooks/border-radius.js.map +0 -1
- package/build-module/hooks/child-layout.js +0 -193
- package/build-module/hooks/child-layout.js.map +0 -1
- package/build-module/hooks/min-height.js +0 -116
- package/build-module/hooks/min-height.js.map +0 -1
- package/src/hooks/border-radius.js +0 -70
- package/src/hooks/child-layout.js +0 -195
- package/src/hooks/min-height.js +0 -104
|
@@ -6,11 +6,11 @@ exports[`Block Mover Picker moving blocks disables the Move Down button for the
|
|
|
6
6
|
<!-- /wp:paragraph -->
|
|
7
7
|
|
|
8
8
|
<!-- wp:spacer -->
|
|
9
|
-
<div style
|
|
9
|
+
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
10
10
|
<!-- /wp:spacer -->
|
|
11
11
|
|
|
12
12
|
<!-- wp:heading -->
|
|
13
|
-
<h2 class
|
|
13
|
+
<h2 class="wp-block-heading"></h2>
|
|
14
14
|
<!-- /wp:heading -->"
|
|
15
15
|
`;
|
|
16
16
|
|
|
@@ -20,17 +20,17 @@ exports[`Block Mover Picker moving blocks disables the Move Up button for the fi
|
|
|
20
20
|
<!-- /wp:paragraph -->
|
|
21
21
|
|
|
22
22
|
<!-- wp:spacer -->
|
|
23
|
-
<div style
|
|
23
|
+
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
24
24
|
<!-- /wp:spacer -->
|
|
25
25
|
|
|
26
26
|
<!-- wp:heading -->
|
|
27
|
-
<h2 class
|
|
27
|
+
<h2 class="wp-block-heading"></h2>
|
|
28
28
|
<!-- /wp:heading -->"
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
exports[`Block Mover Picker moving blocks moves blocks up and down 1`] = `
|
|
32
32
|
"<!-- wp:heading -->
|
|
33
|
-
<h2 class
|
|
33
|
+
<h2 class="wp-block-heading"></h2>
|
|
34
34
|
<!-- /wp:heading -->
|
|
35
35
|
|
|
36
36
|
<!-- wp:paragraph -->
|
|
@@ -38,19 +38,19 @@ exports[`Block Mover Picker moving blocks moves blocks up and down 1`] = `
|
|
|
38
38
|
<!-- /wp:paragraph -->
|
|
39
39
|
|
|
40
40
|
<!-- wp:spacer -->
|
|
41
|
-
<div style
|
|
41
|
+
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
42
42
|
<!-- /wp:spacer -->"
|
|
43
43
|
`;
|
|
44
44
|
|
|
45
45
|
exports[`Block Mover Picker should match snapshot 1`] = `
|
|
46
|
-
|
|
46
|
+
[
|
|
47
47
|
<View>
|
|
48
48
|
<View
|
|
49
49
|
accessibilityHint="Double tap to move the block to the left"
|
|
50
50
|
accessibilityLabel="Move block left from position 2 to position 1"
|
|
51
51
|
accessibilityRole="button"
|
|
52
52
|
accessibilityState={
|
|
53
|
-
|
|
53
|
+
{
|
|
54
54
|
"disabled": false,
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -65,7 +65,7 @@ Array [
|
|
|
65
65
|
onResponderTerminationRequest={[Function]}
|
|
66
66
|
onStartShouldSetResponder={[Function]}
|
|
67
67
|
style={
|
|
68
|
-
|
|
68
|
+
{
|
|
69
69
|
"alignItems": "center",
|
|
70
70
|
"flex": 1,
|
|
71
71
|
"justifyContent": "center",
|
|
@@ -81,7 +81,7 @@ Array [
|
|
|
81
81
|
onGestureHandlerEvent={[Function]}
|
|
82
82
|
onGestureHandlerStateChange={[Function]}
|
|
83
83
|
style={
|
|
84
|
-
|
|
84
|
+
{
|
|
85
85
|
"alignItems": "center",
|
|
86
86
|
"aspectRatio": 1,
|
|
87
87
|
"flex": 1,
|
|
@@ -93,12 +93,21 @@ Array [
|
|
|
93
93
|
>
|
|
94
94
|
<View
|
|
95
95
|
style={
|
|
96
|
-
|
|
96
|
+
{
|
|
97
97
|
"flexDirection": "row",
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
>
|
|
101
|
-
Svg
|
|
101
|
+
<Svg
|
|
102
|
+
colorScheme="light"
|
|
103
|
+
height={24}
|
|
104
|
+
style={{}}
|
|
105
|
+
viewBox="0 0 24 24"
|
|
106
|
+
width={24}
|
|
107
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
108
|
+
>
|
|
109
|
+
Path
|
|
110
|
+
</Svg>
|
|
102
111
|
</View>
|
|
103
112
|
</View>
|
|
104
113
|
</View>
|
|
@@ -109,7 +118,7 @@ Array [
|
|
|
109
118
|
accessibilityLabel="Move block right"
|
|
110
119
|
accessibilityRole="button"
|
|
111
120
|
accessibilityState={
|
|
112
|
-
|
|
121
|
+
{
|
|
113
122
|
"disabled": true,
|
|
114
123
|
}
|
|
115
124
|
}
|
|
@@ -124,7 +133,7 @@ Array [
|
|
|
124
133
|
onResponderTerminationRequest={[Function]}
|
|
125
134
|
onStartShouldSetResponder={[Function]}
|
|
126
135
|
style={
|
|
127
|
-
|
|
136
|
+
{
|
|
128
137
|
"alignItems": "center",
|
|
129
138
|
"flex": 1,
|
|
130
139
|
"justifyContent": "center",
|
|
@@ -140,7 +149,7 @@ Array [
|
|
|
140
149
|
onGestureHandlerEvent={[Function]}
|
|
141
150
|
onGestureHandlerStateChange={[Function]}
|
|
142
151
|
style={
|
|
143
|
-
|
|
152
|
+
{
|
|
144
153
|
"alignItems": "center",
|
|
145
154
|
"aspectRatio": 1,
|
|
146
155
|
"flex": 1,
|
|
@@ -152,12 +161,21 @@ Array [
|
|
|
152
161
|
>
|
|
153
162
|
<View
|
|
154
163
|
style={
|
|
155
|
-
|
|
164
|
+
{
|
|
156
165
|
"flexDirection": "row",
|
|
157
166
|
}
|
|
158
167
|
}
|
|
159
168
|
>
|
|
160
|
-
Svg
|
|
169
|
+
<Svg
|
|
170
|
+
colorScheme="light"
|
|
171
|
+
height={24}
|
|
172
|
+
style={{}}
|
|
173
|
+
viewBox="0 0 24 24"
|
|
174
|
+
width={24}
|
|
175
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
176
|
+
>
|
|
177
|
+
Path
|
|
178
|
+
</Svg>
|
|
161
179
|
</View>
|
|
162
180
|
</View>
|
|
163
181
|
</View>
|
|
@@ -147,7 +147,9 @@ export function BlockSettingsDropdown( {
|
|
|
147
147
|
__experimentalSelectBlock
|
|
148
148
|
? () => {
|
|
149
149
|
const blockToSelect =
|
|
150
|
-
previousBlockClientId ||
|
|
150
|
+
previousBlockClientId ||
|
|
151
|
+
nextBlockClientId ||
|
|
152
|
+
firstParentClientId;
|
|
151
153
|
|
|
152
154
|
if (
|
|
153
155
|
blockToSelect &&
|
|
@@ -166,6 +168,7 @@ export function BlockSettingsDropdown( {
|
|
|
166
168
|
__experimentalSelectBlock,
|
|
167
169
|
previousBlockClientId,
|
|
168
170
|
nextBlockClientId,
|
|
171
|
+
firstParentClientId,
|
|
169
172
|
selectedBlockClientIds,
|
|
170
173
|
]
|
|
171
174
|
);
|
|
@@ -48,7 +48,8 @@ const BlockSettingsMenuControlsSlot = ( {
|
|
|
48
48
|
|
|
49
49
|
// Check if current selection of blocks is Groupable or Ungroupable
|
|
50
50
|
// and pass this props down to ConvertToGroupButton.
|
|
51
|
-
const convertToGroupButtonProps =
|
|
51
|
+
const convertToGroupButtonProps =
|
|
52
|
+
useConvertToGroupButtonProps( selectedClientIds );
|
|
52
53
|
const { isGroupable, isUngroupable } = convertToGroupButtonProps;
|
|
53
54
|
const showConvertToGroupButton =
|
|
54
55
|
( isGroupable || isUngroupable ) && canRemove;
|
|
@@ -99,7 +99,11 @@ function BlockStyles( { clientId, onSwitch = noop, onHoverClassName = noop } ) {
|
|
|
99
99
|
} ) }
|
|
100
100
|
</div>
|
|
101
101
|
{ hoveredStyle && ! isMobileViewport && (
|
|
102
|
-
<Popover
|
|
102
|
+
<Popover
|
|
103
|
+
placement="left-start"
|
|
104
|
+
offset={ 20 }
|
|
105
|
+
focusOnMount={ false }
|
|
106
|
+
>
|
|
103
107
|
<div
|
|
104
108
|
className="block-editor-block-styles__preview-panel"
|
|
105
109
|
onMouseLeave={ () => styleItemHandler( null ) }
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
gap: $grid-unit-10;
|
|
39
39
|
|
|
40
40
|
.block-editor-block-styles__item {
|
|
41
|
-
color: $gray-
|
|
41
|
+
color: $gray-900;
|
|
42
42
|
box-shadow: inset 0 0 0 1px $gray-400;
|
|
43
43
|
display: inline-block;
|
|
44
44
|
width: calc(50% - #{$grid-unit-05});
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
&.is-active,
|
|
53
53
|
&.is-active:hover {
|
|
54
|
-
background-color: $gray-
|
|
54
|
+
background-color: $gray-900;
|
|
55
55
|
box-shadow: none;
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WordPress dependencies
|
|
3
|
+
*/
|
|
4
|
+
import {
|
|
5
|
+
__experimentalToggleGroupControl as ToggleGroupControl,
|
|
6
|
+
__experimentalToggleGroupControlOption as ToggleGroupControlOption,
|
|
7
|
+
__experimentalUnitControl as UnitControl,
|
|
8
|
+
} from '@wordpress/components';
|
|
9
|
+
import { __ } from '@wordpress/i18n';
|
|
10
|
+
import { useEffect } from '@wordpress/element';
|
|
11
|
+
|
|
12
|
+
function helpText( selfStretch, parentLayout ) {
|
|
13
|
+
const { orientation = 'horizontal' } = parentLayout;
|
|
14
|
+
|
|
15
|
+
if ( selfStretch === 'fill' ) {
|
|
16
|
+
return __( 'Stretch to fill available space.' );
|
|
17
|
+
}
|
|
18
|
+
if ( selfStretch === 'fixed' && orientation === 'horizontal' ) {
|
|
19
|
+
return __( 'Specify a fixed width.' );
|
|
20
|
+
} else if ( selfStretch === 'fixed' ) {
|
|
21
|
+
return __( 'Specify a fixed height.' );
|
|
22
|
+
}
|
|
23
|
+
return __( 'Fit contents.' );
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Form to edit the child layout value.
|
|
28
|
+
*
|
|
29
|
+
* @param {Object} props Props.
|
|
30
|
+
* @param {Object} props.value The child layout value.
|
|
31
|
+
* @param {Function} props.onChange Function to update the child layout value.
|
|
32
|
+
* @param {Object} props.parentLayout The parent layout value.
|
|
33
|
+
*
|
|
34
|
+
* @return {WPElement} child layout edit element.
|
|
35
|
+
*/
|
|
36
|
+
export default function ChildLayoutControl( {
|
|
37
|
+
value: childLayout = {},
|
|
38
|
+
onChange,
|
|
39
|
+
parentLayout,
|
|
40
|
+
} ) {
|
|
41
|
+
const { selfStretch, flexSize } = childLayout;
|
|
42
|
+
|
|
43
|
+
useEffect( () => {
|
|
44
|
+
if ( selfStretch === 'fixed' && ! flexSize ) {
|
|
45
|
+
onChange( {
|
|
46
|
+
...childLayout,
|
|
47
|
+
selfStretch: 'fit',
|
|
48
|
+
} );
|
|
49
|
+
}
|
|
50
|
+
}, [] );
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<>
|
|
54
|
+
<ToggleGroupControl
|
|
55
|
+
__nextHasNoMarginBottom
|
|
56
|
+
size={ '__unstable-large' }
|
|
57
|
+
label={ childLayoutOrientation( parentLayout ) }
|
|
58
|
+
value={ selfStretch || 'fit' }
|
|
59
|
+
help={ helpText( selfStretch, parentLayout ) }
|
|
60
|
+
onChange={ ( value ) => {
|
|
61
|
+
const newFlexSize = value !== 'fixed' ? null : flexSize;
|
|
62
|
+
onChange( {
|
|
63
|
+
...childLayout,
|
|
64
|
+
selfStretch: value,
|
|
65
|
+
flexSize: newFlexSize,
|
|
66
|
+
} );
|
|
67
|
+
} }
|
|
68
|
+
isBlock={ true }
|
|
69
|
+
>
|
|
70
|
+
<ToggleGroupControlOption
|
|
71
|
+
key={ 'fit' }
|
|
72
|
+
value={ 'fit' }
|
|
73
|
+
label={ __( 'Fit' ) }
|
|
74
|
+
/>
|
|
75
|
+
<ToggleGroupControlOption
|
|
76
|
+
key={ 'fill' }
|
|
77
|
+
value={ 'fill' }
|
|
78
|
+
label={ __( 'Fill' ) }
|
|
79
|
+
/>
|
|
80
|
+
<ToggleGroupControlOption
|
|
81
|
+
key={ 'fixed' }
|
|
82
|
+
value={ 'fixed' }
|
|
83
|
+
label={ __( 'Fixed' ) }
|
|
84
|
+
/>
|
|
85
|
+
</ToggleGroupControl>
|
|
86
|
+
{ selfStretch === 'fixed' && (
|
|
87
|
+
<UnitControl
|
|
88
|
+
size={ '__unstable-large' }
|
|
89
|
+
onChange={ ( value ) => {
|
|
90
|
+
onChange( {
|
|
91
|
+
...childLayout,
|
|
92
|
+
flexSize: value,
|
|
93
|
+
} );
|
|
94
|
+
} }
|
|
95
|
+
value={ flexSize }
|
|
96
|
+
/>
|
|
97
|
+
) }
|
|
98
|
+
</>
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function childLayoutOrientation( parentLayout ) {
|
|
103
|
+
const { orientation = 'horizontal' } = parentLayout;
|
|
104
|
+
|
|
105
|
+
return orientation === 'horizontal' ? __( 'Width' ) : __( 'Height' );
|
|
106
|
+
}
|
|
@@ -22,17 +22,18 @@ exports[`ColorPaletteControl matches the snapshot 1`] = `
|
|
|
22
22
|
display: -webkit-flex;
|
|
23
23
|
display: -ms-flexbox;
|
|
24
24
|
display: flex;
|
|
25
|
-
-webkit-align-items:
|
|
26
|
-
-webkit-box-align:
|
|
27
|
-
-ms-flex-align:
|
|
28
|
-
align-items:
|
|
25
|
+
-webkit-align-items: stretch;
|
|
26
|
+
-webkit-box-align: stretch;
|
|
27
|
+
-ms-flex-align: stretch;
|
|
28
|
+
align-items: stretch;
|
|
29
29
|
-webkit-flex-direction: column;
|
|
30
30
|
-ms-flex-direction: column;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
gap: calc(4px * 1);
|
|
33
|
-
-webkit-box-pack:
|
|
34
|
-
-
|
|
35
|
-
justify-content:
|
|
33
|
+
-webkit-box-pack: center;
|
|
34
|
+
-ms-flex-pack: center;
|
|
35
|
+
-webkit-justify-content: center;
|
|
36
|
+
justify-content: center;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
.emotion-4>* {
|
|
@@ -54,17 +55,18 @@ exports[`ColorPaletteControl matches the snapshot 1`] = `
|
|
|
54
55
|
display: -webkit-flex;
|
|
55
56
|
display: -ms-flexbox;
|
|
56
57
|
display: flex;
|
|
57
|
-
-webkit-align-items:
|
|
58
|
-
-webkit-box-align:
|
|
59
|
-
-ms-flex-align:
|
|
60
|
-
align-items:
|
|
58
|
+
-webkit-align-items: stretch;
|
|
59
|
+
-webkit-box-align: stretch;
|
|
60
|
+
-ms-flex-align: stretch;
|
|
61
|
+
align-items: stretch;
|
|
61
62
|
-webkit-flex-direction: column;
|
|
62
63
|
-ms-flex-direction: column;
|
|
63
64
|
flex-direction: column;
|
|
64
65
|
gap: calc(4px * 3);
|
|
65
|
-
-webkit-box-pack:
|
|
66
|
-
-
|
|
67
|
-
justify-content:
|
|
66
|
+
-webkit-box-pack: center;
|
|
67
|
+
-ms-flex-pack: center;
|
|
68
|
+
-webkit-justify-content: center;
|
|
69
|
+
justify-content: center;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
.emotion-8>* {
|
|
@@ -158,7 +160,7 @@ exports[`ColorPaletteControl matches the snapshot 1`] = `
|
|
|
158
160
|
<button
|
|
159
161
|
aria-expanded="false"
|
|
160
162
|
aria-haspopup="true"
|
|
161
|
-
aria-label="Custom color picker. The currently selected color is called
|
|
163
|
+
aria-label="Custom color picker. The currently selected color is called "red" and has a value of "f00"."
|
|
162
164
|
class="components-flex components-color-palette__custom-color emotion-10 emotion-5"
|
|
163
165
|
data-wp-c16t="true"
|
|
164
166
|
data-wp-component="Flex"
|
|
@@ -25,59 +25,69 @@ import { store as blockEditorStore } from '../../store';
|
|
|
25
25
|
* It is used in `BlockSettingsMenuControls` to know if `ConvertToGroupButton`
|
|
26
26
|
* should be rendered, to avoid ending up with an empty MenuGroup.
|
|
27
27
|
*
|
|
28
|
+
* @param {?string[]} selectedClientIds An optional array of clientIds to group. The selected blocks
|
|
29
|
+
* from the block editor store are used if this is not provided.
|
|
30
|
+
*
|
|
28
31
|
* @return {ConvertToGroupButtonProps} Returns the properties needed by `ConvertToGroupButton`.
|
|
29
32
|
*/
|
|
30
|
-
export default function useConvertToGroupButtonProps() {
|
|
33
|
+
export default function useConvertToGroupButtonProps( selectedClientIds ) {
|
|
31
34
|
const {
|
|
32
35
|
clientIds,
|
|
33
36
|
isGroupable,
|
|
34
37
|
isUngroupable,
|
|
35
38
|
blocksSelection,
|
|
36
39
|
groupingBlockName,
|
|
37
|
-
} = useSelect(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
} = useSelect(
|
|
41
|
+
( select ) => {
|
|
42
|
+
const {
|
|
43
|
+
getBlockRootClientId,
|
|
44
|
+
getBlocksByClientId,
|
|
45
|
+
canInsertBlockType,
|
|
46
|
+
getSelectedBlockClientIds,
|
|
47
|
+
} = select( blockEditorStore );
|
|
48
|
+
const { getGroupingBlockName } = select( blocksStore );
|
|
49
|
+
|
|
50
|
+
const _clientIds = selectedClientIds?.length
|
|
51
|
+
? selectedClientIds
|
|
52
|
+
: getSelectedBlockClientIds();
|
|
53
|
+
const _groupingBlockName = getGroupingBlockName();
|
|
45
54
|
|
|
46
|
-
|
|
47
|
-
|
|
55
|
+
const rootClientId = !! _clientIds?.length
|
|
56
|
+
? getBlockRootClientId( _clientIds[ 0 ] )
|
|
57
|
+
: undefined;
|
|
48
58
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
const groupingBlockAvailable = canInsertBlockType(
|
|
60
|
+
_groupingBlockName,
|
|
61
|
+
rootClientId
|
|
62
|
+
);
|
|
52
63
|
|
|
53
|
-
|
|
54
|
-
_groupingBlockName,
|
|
55
|
-
rootClientId
|
|
56
|
-
);
|
|
64
|
+
const _blocksSelection = getBlocksByClientId( _clientIds );
|
|
57
65
|
|
|
58
|
-
|
|
66
|
+
const isSingleGroupingBlock =
|
|
67
|
+
_blocksSelection.length === 1 &&
|
|
68
|
+
_blocksSelection[ 0 ]?.name === _groupingBlockName;
|
|
59
69
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
// Do we have
|
|
71
|
+
// 1. Grouping block available to be inserted?
|
|
72
|
+
// 2. One or more blocks selected
|
|
73
|
+
const _isGroupable =
|
|
74
|
+
groupingBlockAvailable && _blocksSelection.length;
|
|
63
75
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
76
|
+
// Do we have a single Group Block selected and does that group have inner blocks?
|
|
77
|
+
const _isUngroupable =
|
|
78
|
+
isSingleGroupingBlock &&
|
|
79
|
+
!! _blocksSelection[ 0 ].innerBlocks.length;
|
|
80
|
+
return {
|
|
81
|
+
clientIds: _clientIds,
|
|
82
|
+
isGroupable: _isGroupable,
|
|
83
|
+
isUngroupable: _isUngroupable,
|
|
84
|
+
blocksSelection: _blocksSelection,
|
|
85
|
+
groupingBlockName: _groupingBlockName,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
[ selectedClientIds ]
|
|
89
|
+
);
|
|
68
90
|
|
|
69
|
-
// Do we have a single Group Block selected and does that group have inner blocks?
|
|
70
|
-
const _isUngroupable =
|
|
71
|
-
isSingleGroupingBlock &&
|
|
72
|
-
!! _blocksSelection[ 0 ].innerBlocks.length;
|
|
73
|
-
return {
|
|
74
|
-
clientIds: _clientIds,
|
|
75
|
-
isGroupable: _isGroupable,
|
|
76
|
-
isUngroupable: _isUngroupable,
|
|
77
|
-
blocksSelection: _blocksSelection,
|
|
78
|
-
groupingBlockName: _groupingBlockName,
|
|
79
|
-
};
|
|
80
|
-
}, [] );
|
|
81
91
|
return {
|
|
82
92
|
clientIds,
|
|
83
93
|
isGroupable,
|
|
@@ -50,14 +50,12 @@ export default function DateFormatPicker( {
|
|
|
50
50
|
<fieldset className="block-editor-date-format-picker">
|
|
51
51
|
<VisuallyHidden as="legend">{ __( 'Date format' ) }</VisuallyHidden>
|
|
52
52
|
<ToggleControl
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</>
|
|
60
|
-
}
|
|
53
|
+
__nextHasNoMarginBottom
|
|
54
|
+
label={ __( 'Default format' ) }
|
|
55
|
+
help={ `${ __( 'Example:' ) } ${ dateI18n(
|
|
56
|
+
defaultFormat,
|
|
57
|
+
EXAMPLE_DATE
|
|
58
|
+
) }` }
|
|
61
59
|
checked={ ! format }
|
|
62
60
|
onChange={ ( checked ) =>
|
|
63
61
|
onChange( checked ? null : defaultFormat )
|
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
margin-bottom: $grid-unit-20;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.block-editor-date-format-picker__default-format-toggle-control__hint {
|
|
6
|
-
color: $gray-700;
|
|
7
|
-
display: block;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
5
|
.block-editor-date-format-picker__custom-format-select-control__custom-option {
|
|
11
6
|
border-top: 1px solid $gray-300;
|
|
12
7
|
|