@wordpress/block-editor 14.2.0 → 14.2.1-next.1f6eadc42.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/build/components/block-breadcrumb/index.js +4 -10
- package/build/components/block-breadcrumb/index.js.map +1 -1
- package/build/components/block-compare/block-view.js +2 -4
- package/build/components/block-compare/block-view.js.map +1 -1
- package/build/components/block-edit/multiple-usage-warning.js +4 -8
- package/build/components/block-edit/multiple-usage-warning.js.map +1 -1
- package/build/components/block-inspector/index.js +0 -2
- package/build/components/block-inspector/index.js.map +1 -1
- package/build/components/block-list/block-invalid-warning.js +2 -4
- package/build/components/block-list/block-invalid-warning.js.map +1 -1
- package/build/components/block-list/index.js +14 -3
- package/build/components/block-list/index.js.map +1 -1
- package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js +7 -0
- package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +1 -1
- package/build/components/block-list/zoom-out-separator.js +98 -0
- package/build/components/block-list/zoom-out-separator.js.map +1 -0
- package/build/components/block-mover/button.js +2 -4
- package/build/components/block-mover/button.js.map +1 -1
- package/build/components/block-mover/index.js +2 -4
- package/build/components/block-mover/index.js.map +1 -1
- package/build/components/block-pattern-setup/index.js +2 -7
- package/build/components/block-pattern-setup/index.js.map +1 -1
- package/build/components/block-patterns-list/index.js +2 -7
- package/build/components/block-patterns-list/index.js.map +1 -1
- package/build/components/block-switcher/index.js +8 -2
- package/build/components/block-switcher/index.js.map +1 -1
- package/build/components/block-switcher/pattern-transformations-menu.js +2 -7
- package/build/components/block-switcher/pattern-transformations-menu.js.map +1 -1
- package/build/components/block-toolbar/index.js +10 -4
- package/build/components/block-toolbar/index.js.map +1 -1
- package/build/components/block-tools/index.js +1 -1
- package/build/components/block-tools/index.js.map +1 -1
- package/build/components/block-tools/zoom-out-mode-inserters.js +3 -12
- package/build/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build/components/block-tools/zoom-out-toolbar.js +13 -3
- package/build/components/block-tools/zoom-out-toolbar.js.map +1 -1
- package/build/components/button-block-appender/index.js +7 -21
- package/build/components/button-block-appender/index.js.map +1 -1
- package/build/components/global-styles/shadow-panel-components.js +2 -11
- package/build/components/global-styles/shadow-panel-components.js.map +1 -1
- package/build/components/grid/grid-item-resizer.js +2 -2
- package/build/components/grid/grid-item-resizer.js.map +1 -1
- package/build/components/iframe/get-compatibility-styles.js +1 -1
- package/build/components/iframe/get-compatibility-styles.js.map +1 -1
- package/build/components/inserter/block-patterns-tab/pattern-category-previews.js +23 -13
- package/build/components/inserter/block-patterns-tab/pattern-category-previews.js.map +1 -1
- package/build/components/inserter/index.js +4 -11
- package/build/components/inserter/index.js.map +1 -1
- package/build/components/inserter/media-tab/media-list.js +1 -5
- package/build/components/inserter/media-tab/media-list.js.map +1 -1
- package/build/components/inserter/media-tab/media-preview.js +1 -5
- package/build/components/inserter/media-tab/media-preview.js.map +1 -1
- package/build/components/inserter/quick-inserter.js +0 -4
- package/build/components/inserter/quick-inserter.js.map +1 -1
- package/build/components/inserter-listbox/index.js +2 -8
- package/build/components/inserter-listbox/index.js.map +1 -1
- package/build/components/inserter-listbox/item.js +2 -10
- package/build/components/inserter-listbox/item.js.map +1 -1
- package/build/components/inserter-listbox/row.js +1 -9
- package/build/components/inserter-listbox/row.js.map +1 -1
- package/build/components/list-view/index.js +3 -7
- package/build/components/list-view/index.js.map +1 -1
- package/build/components/media-placeholder/index.js +4 -4
- package/build/components/media-placeholder/index.js.map +1 -1
- package/build/components/spacing-sizes-control/index.js +8 -9
- package/build/components/spacing-sizes-control/index.js.map +1 -1
- package/build/components/spacing-sizes-control/linked-button.js +35 -0
- package/build/components/spacing-sizes-control/linked-button.js.map +1 -0
- package/build/components/spacing-sizes-control/utils.js +4 -15
- package/build/components/spacing-sizes-control/utils.js.map +1 -1
- package/build/components/use-block-drop-zone/index.js +27 -1
- package/build/components/use-block-drop-zone/index.js.map +1 -1
- package/build/hooks/block-bindings.js +1 -0
- package/build/hooks/block-bindings.js.map +1 -1
- package/build/hooks/layout.js +0 -1
- package/build/hooks/layout.js.map +1 -1
- package/build/layouts/constrained.js +5 -6
- package/build/layouts/constrained.js.map +1 -1
- package/build/layouts/grid.js +19 -16
- package/build/layouts/grid.js.map +1 -1
- package/build/private-apis.js +0 -2
- package/build/private-apis.js.map +1 -1
- package/build/store/private-selectors.js +3 -3
- package/build/store/private-selectors.js.map +1 -1
- package/build/store/reducer.js +0 -2
- package/build/store/reducer.js.map +1 -1
- package/build-module/components/block-breadcrumb/index.js +4 -10
- package/build-module/components/block-breadcrumb/index.js.map +1 -1
- package/build-module/components/block-compare/block-view.js +2 -4
- package/build-module/components/block-compare/block-view.js.map +1 -1
- package/build-module/components/block-edit/multiple-usage-warning.js +4 -8
- package/build-module/components/block-edit/multiple-usage-warning.js.map +1 -1
- package/build-module/components/block-inspector/index.js +0 -2
- package/build-module/components/block-inspector/index.js.map +1 -1
- package/build-module/components/block-list/block-invalid-warning.js +2 -4
- package/build-module/components/block-list/block-invalid-warning.js.map +1 -1
- package/build-module/components/block-list/index.js +14 -3
- package/build-module/components/block-list/index.js.map +1 -1
- package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js +8 -1
- package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +1 -1
- package/build-module/components/block-list/zoom-out-separator.js +90 -0
- package/build-module/components/block-list/zoom-out-separator.js.map +1 -0
- package/build-module/components/block-mover/button.js +2 -4
- package/build-module/components/block-mover/button.js.map +1 -1
- package/build-module/components/block-mover/index.js +2 -4
- package/build-module/components/block-mover/index.js.map +1 -1
- package/build-module/components/block-pattern-setup/index.js +2 -7
- package/build-module/components/block-pattern-setup/index.js.map +1 -1
- package/build-module/components/block-patterns-list/index.js +2 -7
- package/build-module/components/block-patterns-list/index.js.map +1 -1
- package/build-module/components/block-switcher/index.js +8 -2
- package/build-module/components/block-switcher/index.js.map +1 -1
- package/build-module/components/block-switcher/pattern-transformations-menu.js +2 -7
- package/build-module/components/block-switcher/pattern-transformations-menu.js.map +1 -1
- package/build-module/components/block-toolbar/index.js +10 -4
- package/build-module/components/block-toolbar/index.js.map +1 -1
- package/build-module/components/block-tools/index.js +1 -1
- package/build-module/components/block-tools/index.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-mode-inserters.js +3 -13
- package/build-module/components/block-tools/zoom-out-mode-inserters.js.map +1 -1
- package/build-module/components/block-tools/zoom-out-toolbar.js +13 -3
- package/build-module/components/block-tools/zoom-out-toolbar.js.map +1 -1
- package/build-module/components/button-block-appender/index.js +8 -23
- package/build-module/components/button-block-appender/index.js.map +1 -1
- package/build-module/components/global-styles/shadow-panel-components.js +2 -11
- package/build-module/components/global-styles/shadow-panel-components.js.map +1 -1
- package/build-module/components/grid/grid-item-resizer.js +2 -2
- package/build-module/components/grid/grid-item-resizer.js.map +1 -1
- package/build-module/components/iframe/get-compatibility-styles.js +1 -1
- package/build-module/components/iframe/get-compatibility-styles.js.map +1 -1
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +23 -13
- package/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js.map +1 -1
- package/build-module/components/inserter/index.js +4 -11
- package/build-module/components/inserter/index.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-list.js +1 -5
- package/build-module/components/inserter/media-tab/media-list.js.map +1 -1
- package/build-module/components/inserter/media-tab/media-preview.js +2 -6
- package/build-module/components/inserter/media-tab/media-preview.js.map +1 -1
- package/build-module/components/inserter/quick-inserter.js +1 -5
- package/build-module/components/inserter/quick-inserter.js.map +1 -1
- package/build-module/components/inserter-listbox/index.js +1 -5
- package/build-module/components/inserter-listbox/index.js.map +1 -1
- package/build-module/components/inserter-listbox/item.js +3 -11
- package/build-module/components/inserter-listbox/item.js.map +1 -1
- package/build-module/components/inserter-listbox/row.js +2 -10
- package/build-module/components/inserter-listbox/row.js.map +1 -1
- package/build-module/components/list-view/index.js +3 -7
- package/build-module/components/list-view/index.js.map +1 -1
- package/build-module/components/media-placeholder/index.js +4 -4
- package/build-module/components/media-placeholder/index.js.map +1 -1
- package/build-module/components/spacing-sizes-control/index.js +9 -10
- package/build-module/components/spacing-sizes-control/index.js.map +1 -1
- package/build-module/components/spacing-sizes-control/linked-button.js +28 -0
- package/build-module/components/spacing-sizes-control/linked-button.js.map +1 -0
- package/build-module/components/spacing-sizes-control/utils.js +4 -15
- package/build-module/components/spacing-sizes-control/utils.js.map +1 -1
- package/build-module/components/use-block-drop-zone/index.js +27 -1
- package/build-module/components/use-block-drop-zone/index.js.map +1 -1
- package/build-module/hooks/block-bindings.js +1 -0
- package/build-module/hooks/block-bindings.js.map +1 -1
- package/build-module/hooks/layout.js +0 -1
- package/build-module/hooks/layout.js.map +1 -1
- package/build-module/layouts/constrained.js +7 -8
- package/build-module/layouts/constrained.js.map +1 -1
- package/build-module/layouts/grid.js +21 -18
- package/build-module/layouts/grid.js.map +1 -1
- package/build-module/private-apis.js +0 -2
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/private-selectors.js +3 -3
- package/build-module/store/private-selectors.js.map +1 -1
- package/build-module/store/reducer.js +0 -2
- package/build-module/store/reducer.js.map +1 -1
- package/build-style/content-rtl.css +17 -0
- package/build-style/content.css +17 -0
- package/build-style/style-rtl.css +13 -82
- package/build-style/style.css +13 -82
- package/package.json +32 -32
- package/src/components/block-breadcrumb/index.js +2 -6
- package/src/components/block-breadcrumb/style.scss +1 -30
- package/src/components/block-compare/block-view.js +1 -2
- package/src/components/block-compare/test/__snapshots__/block-view.js.snap +1 -1
- package/src/components/block-edit/multiple-usage-warning.js +2 -4
- package/src/components/block-inspector/index.js +0 -1
- package/src/components/block-inspector/style.scss +2 -4
- package/src/components/block-list/block-invalid-warning.js +1 -2
- package/src/components/block-list/content.scss +21 -0
- package/src/components/block-list/index.js +59 -38
- package/src/components/block-list/use-block-props/use-zoom-out-mode-exit.js +13 -1
- package/src/components/block-list/zoom-out-separator.js +110 -0
- package/src/components/block-mover/button.js +1 -2
- package/src/components/block-mover/index.js +1 -2
- package/src/components/block-pattern-setup/index.js +3 -11
- package/src/components/block-patterns-list/index.js +3 -8
- package/src/components/block-switcher/index.js +19 -3
- package/src/components/block-switcher/pattern-transformations-menu.js +3 -8
- package/src/components/block-switcher/style.scss +0 -24
- package/src/components/block-toolbar/index.js +10 -3
- package/src/components/block-toolbar/style.scss +4 -1
- package/src/components/block-tools/index.js +1 -1
- package/src/components/block-tools/zoom-out-mode-inserters.js +0 -12
- package/src/components/block-tools/zoom-out-toolbar.js +11 -0
- package/src/components/button-block-appender/index.js +16 -25
- package/src/components/global-styles/shadow-panel-components.js +2 -10
- package/src/components/grid/grid-item-resizer.js +2 -2
- package/src/components/iframe/get-compatibility-styles.js +6 -1
- package/src/components/inserter/block-patterns-tab/pattern-category-previews.js +32 -15
- package/src/components/inserter/index.js +4 -10
- package/src/components/inserter/media-tab/media-list.js +1 -4
- package/src/components/inserter/media-tab/media-preview.js +3 -6
- package/src/components/inserter/quick-inserter.js +1 -4
- package/src/components/inserter/style.scss +4 -9
- package/src/components/inserter-listbox/index.js +1 -4
- package/src/components/inserter-listbox/item.js +3 -13
- package/src/components/inserter-listbox/row.js +2 -9
- package/src/components/list-view/index.js +3 -8
- package/src/components/media-placeholder/README.md +2 -2
- package/src/components/media-placeholder/index.js +7 -4
- package/src/components/spacing-sizes-control/index.js +10 -13
- package/src/components/spacing-sizes-control/linked-button.js +32 -0
- package/src/components/spacing-sizes-control/test/utils.js +14 -15
- package/src/components/spacing-sizes-control/utils.js +5 -18
- package/src/components/use-block-drop-zone/index.js +33 -1
- package/src/hooks/block-bindings.js +1 -1
- package/src/hooks/layout.js +0 -1
- package/src/hooks/layout.scss +6 -20
- package/src/layouts/constrained.js +9 -7
- package/src/layouts/grid.js +29 -22
- package/src/private-apis.js +0 -2
- package/src/store/private-selectors.js +6 -3
- package/src/store/reducer.js +0 -2
- package/build/components/spacing-sizes-control/sides-dropdown/index.js +0 -86
- package/build/components/spacing-sizes-control/sides-dropdown/index.js.map +0 -1
- package/build-module/components/spacing-sizes-control/sides-dropdown/index.js +0 -81
- package/build-module/components/spacing-sizes-control/sides-dropdown/index.js.map +0 -1
- package/src/components/spacing-sizes-control/sides-dropdown/index.js +0 -91
|
@@ -174,11 +174,8 @@ iframe[name=editor-canvas] {
|
|
|
174
174
|
color: #1e1e1e;
|
|
175
175
|
margin-bottom: 1.5em;
|
|
176
176
|
}
|
|
177
|
-
.block-editor-block-inspector .components-base-control {
|
|
178
|
-
margin-bottom:
|
|
179
|
-
}
|
|
180
|
-
.block-editor-block-inspector .components-base-control:last-child {
|
|
181
|
-
margin-bottom: 8px;
|
|
177
|
+
.block-editor-block-inspector .components-base-control:where(:not(:last-child)) {
|
|
178
|
+
margin-bottom: 16px;
|
|
182
179
|
}
|
|
183
180
|
.block-editor-block-inspector .components-focal-point-picker-control .components-base-control,
|
|
184
181
|
.block-editor-block-inspector .components-query-controls .components-base-control,
|
|
@@ -523,37 +520,11 @@ iframe[name=editor-canvas] {
|
|
|
523
520
|
display: none;
|
|
524
521
|
}
|
|
525
522
|
|
|
526
|
-
.block-editor-block-breadcrumb__button.components-button {
|
|
527
|
-
height: 24px;
|
|
528
|
-
line-height: 24px;
|
|
529
|
-
padding: 0;
|
|
530
|
-
position: relative;
|
|
531
|
-
}
|
|
532
|
-
.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled) {
|
|
533
|
-
text-decoration: underline;
|
|
534
|
-
box-shadow: none;
|
|
535
|
-
}
|
|
536
|
-
.block-editor-block-breadcrumb__button.components-button:focus {
|
|
537
|
-
box-shadow: none;
|
|
538
|
-
}
|
|
539
|
-
.block-editor-block-breadcrumb__button.components-button:focus::before {
|
|
540
|
-
content: "";
|
|
541
|
-
display: block;
|
|
542
|
-
position: absolute;
|
|
543
|
-
border-radius: 2px;
|
|
544
|
-
top: 1px;
|
|
545
|
-
left: 1px;
|
|
546
|
-
bottom: 1px;
|
|
547
|
-
right: 1px;
|
|
548
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
549
|
-
outline: 2px solid transparent;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
523
|
.block-editor-block-breadcrumb__current {
|
|
553
524
|
cursor: default;
|
|
554
525
|
}
|
|
555
526
|
|
|
556
|
-
.block-editor-block-breadcrumb__button.
|
|
527
|
+
.block-editor-block-breadcrumb__button.block-editor-block-breadcrumb__button,
|
|
557
528
|
.block-editor-block-breadcrumb__current {
|
|
558
529
|
color: #1e1e1e;
|
|
559
530
|
padding: 0 8px;
|
|
@@ -1085,27 +1056,6 @@ iframe[name=editor-canvas] {
|
|
|
1085
1056
|
color: #1e1e1e;
|
|
1086
1057
|
}
|
|
1087
1058
|
|
|
1088
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
|
1089
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
|
1090
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
|
|
1091
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
|
|
1092
|
-
height: 100%;
|
|
1093
|
-
position: relative;
|
|
1094
|
-
margin: 0 auto;
|
|
1095
|
-
display: flex;
|
|
1096
|
-
align-items: center;
|
|
1097
|
-
min-width: 100%;
|
|
1098
|
-
}
|
|
1099
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
|
1100
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
|
1101
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
|
|
1102
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
|
|
1103
|
-
top: 8px;
|
|
1104
|
-
left: 8px;
|
|
1105
|
-
bottom: 8px;
|
|
1106
|
-
right: 8px;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
1059
|
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
|
1110
1060
|
min-width: 300px;
|
|
1111
1061
|
}
|
|
@@ -3571,26 +3521,14 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3571
3521
|
grid-column: span 1;
|
|
3572
3522
|
}
|
|
3573
3523
|
|
|
3574
|
-
.block-editor-hooks__layout-
|
|
3575
|
-
display: flex;
|
|
3576
|
-
flex-direction: column;
|
|
3577
|
-
gap: 16px;
|
|
3578
|
-
}
|
|
3579
|
-
|
|
3580
|
-
.block-editor-block-inspector .block-editor-hooks__layout-controls-unit-input {
|
|
3524
|
+
.block-editor-hooks__layout-constrained .components-base-control {
|
|
3581
3525
|
margin-bottom: 0;
|
|
3582
3526
|
}
|
|
3583
3527
|
|
|
3584
|
-
.block-editor-hooks__layout-
|
|
3585
|
-
display: flex;
|
|
3586
|
-
justify-content: flex-end;
|
|
3587
|
-
margin-bottom: 24px;
|
|
3588
|
-
}
|
|
3589
|
-
|
|
3590
|
-
.block-editor-hooks__layout-controls-helptext {
|
|
3528
|
+
.block-editor-hooks__layout-constrained-helptext {
|
|
3591
3529
|
color: #757575;
|
|
3592
3530
|
font-size: 12px;
|
|
3593
|
-
margin-bottom:
|
|
3531
|
+
margin-bottom: 0;
|
|
3594
3532
|
}
|
|
3595
3533
|
|
|
3596
3534
|
.block-editor-hooks__flex-layout-justification-controls,
|
|
@@ -3602,10 +3540,6 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3602
3540
|
margin-bottom: 8px;
|
|
3603
3541
|
}
|
|
3604
3542
|
|
|
3605
|
-
.block-editor-hooks__toggle-control.block-editor-hooks__toggle-control {
|
|
3606
|
-
margin-bottom: 16px;
|
|
3607
|
-
}
|
|
3608
|
-
|
|
3609
3543
|
.block-editor__spacing-visualizer {
|
|
3610
3544
|
position: absolute;
|
|
3611
3545
|
top: 0;
|
|
@@ -3677,9 +3611,11 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3677
3611
|
}
|
|
3678
3612
|
.block-editor-block-contextual-toolbar.components-accessible-toolbar {
|
|
3679
3613
|
border: none;
|
|
3680
|
-
border-bottom: 1px solid #e0e0e0;
|
|
3681
3614
|
border-radius: 0;
|
|
3682
3615
|
}
|
|
3616
|
+
.block-editor-block-contextual-toolbar.is-unstyled {
|
|
3617
|
+
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
3618
|
+
}
|
|
3683
3619
|
.block-editor-block-contextual-toolbar .block-editor-block-toolbar {
|
|
3684
3620
|
overflow: auto;
|
|
3685
3621
|
overflow-y: hidden;
|
|
@@ -3989,15 +3925,6 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3989
3925
|
text-align: left;
|
|
3990
3926
|
}
|
|
3991
3927
|
|
|
3992
|
-
.block-editor-inserter__manage-reusable-blocks-container {
|
|
3993
|
-
margin: auto 16px 16px;
|
|
3994
|
-
}
|
|
3995
|
-
|
|
3996
|
-
.block-editor-inserter__manage-reusable-blocks {
|
|
3997
|
-
justify-content: center;
|
|
3998
|
-
width: 100%;
|
|
3999
|
-
}
|
|
4000
|
-
|
|
4001
3928
|
.block-editor-inserter__no-results,
|
|
4002
3929
|
.block-editor-inserter__patterns-loading {
|
|
4003
3930
|
padding: 32px;
|
|
@@ -4478,6 +4405,10 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4478
4405
|
flex-direction: column;
|
|
4479
4406
|
}
|
|
4480
4407
|
|
|
4408
|
+
.block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text {
|
|
4409
|
+
padding: 0 24px 16px;
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4481
4412
|
.spacing-sizes-control .spacing-sizes-control__custom-value-input,
|
|
4482
4413
|
.spacing-sizes-control .spacing-sizes-control__label {
|
|
4483
4414
|
margin-bottom: 0;
|
package/build-style/style.css
CHANGED
|
@@ -174,11 +174,8 @@ iframe[name=editor-canvas] {
|
|
|
174
174
|
color: #1e1e1e;
|
|
175
175
|
margin-bottom: 1.5em;
|
|
176
176
|
}
|
|
177
|
-
.block-editor-block-inspector .components-base-control {
|
|
178
|
-
margin-bottom:
|
|
179
|
-
}
|
|
180
|
-
.block-editor-block-inspector .components-base-control:last-child {
|
|
181
|
-
margin-bottom: 8px;
|
|
177
|
+
.block-editor-block-inspector .components-base-control:where(:not(:last-child)) {
|
|
178
|
+
margin-bottom: 16px;
|
|
182
179
|
}
|
|
183
180
|
.block-editor-block-inspector .components-focal-point-picker-control .components-base-control,
|
|
184
181
|
.block-editor-block-inspector .components-query-controls .components-base-control,
|
|
@@ -523,37 +520,11 @@ iframe[name=editor-canvas] {
|
|
|
523
520
|
display: none;
|
|
524
521
|
}
|
|
525
522
|
|
|
526
|
-
.block-editor-block-breadcrumb__button.components-button {
|
|
527
|
-
height: 24px;
|
|
528
|
-
line-height: 24px;
|
|
529
|
-
padding: 0;
|
|
530
|
-
position: relative;
|
|
531
|
-
}
|
|
532
|
-
.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled) {
|
|
533
|
-
text-decoration: underline;
|
|
534
|
-
box-shadow: none;
|
|
535
|
-
}
|
|
536
|
-
.block-editor-block-breadcrumb__button.components-button:focus {
|
|
537
|
-
box-shadow: none;
|
|
538
|
-
}
|
|
539
|
-
.block-editor-block-breadcrumb__button.components-button:focus::before {
|
|
540
|
-
content: "";
|
|
541
|
-
display: block;
|
|
542
|
-
position: absolute;
|
|
543
|
-
border-radius: 2px;
|
|
544
|
-
top: 1px;
|
|
545
|
-
right: 1px;
|
|
546
|
-
bottom: 1px;
|
|
547
|
-
left: 1px;
|
|
548
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
549
|
-
outline: 2px solid transparent;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
523
|
.block-editor-block-breadcrumb__current {
|
|
553
524
|
cursor: default;
|
|
554
525
|
}
|
|
555
526
|
|
|
556
|
-
.block-editor-block-breadcrumb__button.
|
|
527
|
+
.block-editor-block-breadcrumb__button.block-editor-block-breadcrumb__button,
|
|
557
528
|
.block-editor-block-breadcrumb__current {
|
|
558
529
|
color: #1e1e1e;
|
|
559
530
|
padding: 0 8px;
|
|
@@ -1085,27 +1056,6 @@ iframe[name=editor-canvas] {
|
|
|
1085
1056
|
color: #1e1e1e;
|
|
1086
1057
|
}
|
|
1087
1058
|
|
|
1088
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
|
1089
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,
|
|
1090
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,
|
|
1091
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon {
|
|
1092
|
-
height: 100%;
|
|
1093
|
-
position: relative;
|
|
1094
|
-
margin: 0 auto;
|
|
1095
|
-
display: flex;
|
|
1096
|
-
align-items: center;
|
|
1097
|
-
min-width: 100%;
|
|
1098
|
-
}
|
|
1099
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
|
1100
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before,
|
|
1101
|
-
.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before,
|
|
1102
|
-
.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before {
|
|
1103
|
-
top: 8px;
|
|
1104
|
-
right: 8px;
|
|
1105
|
-
bottom: 8px;
|
|
1106
|
-
left: 8px;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
1059
|
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
|
1110
1060
|
min-width: 300px;
|
|
1111
1061
|
}
|
|
@@ -3572,26 +3522,14 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3572
3522
|
grid-column: span 1;
|
|
3573
3523
|
}
|
|
3574
3524
|
|
|
3575
|
-
.block-editor-hooks__layout-
|
|
3576
|
-
display: flex;
|
|
3577
|
-
flex-direction: column;
|
|
3578
|
-
gap: 16px;
|
|
3579
|
-
}
|
|
3580
|
-
|
|
3581
|
-
.block-editor-block-inspector .block-editor-hooks__layout-controls-unit-input {
|
|
3525
|
+
.block-editor-hooks__layout-constrained .components-base-control {
|
|
3582
3526
|
margin-bottom: 0;
|
|
3583
3527
|
}
|
|
3584
3528
|
|
|
3585
|
-
.block-editor-hooks__layout-
|
|
3586
|
-
display: flex;
|
|
3587
|
-
justify-content: flex-end;
|
|
3588
|
-
margin-bottom: 24px;
|
|
3589
|
-
}
|
|
3590
|
-
|
|
3591
|
-
.block-editor-hooks__layout-controls-helptext {
|
|
3529
|
+
.block-editor-hooks__layout-constrained-helptext {
|
|
3592
3530
|
color: #757575;
|
|
3593
3531
|
font-size: 12px;
|
|
3594
|
-
margin-bottom:
|
|
3532
|
+
margin-bottom: 0;
|
|
3595
3533
|
}
|
|
3596
3534
|
|
|
3597
3535
|
.block-editor-hooks__flex-layout-justification-controls,
|
|
@@ -3603,10 +3541,6 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3603
3541
|
margin-bottom: 8px;
|
|
3604
3542
|
}
|
|
3605
3543
|
|
|
3606
|
-
.block-editor-hooks__toggle-control.block-editor-hooks__toggle-control {
|
|
3607
|
-
margin-bottom: 16px;
|
|
3608
|
-
}
|
|
3609
|
-
|
|
3610
3544
|
.block-editor__spacing-visualizer {
|
|
3611
3545
|
position: absolute;
|
|
3612
3546
|
top: 0;
|
|
@@ -3678,9 +3612,11 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3678
3612
|
}
|
|
3679
3613
|
.block-editor-block-contextual-toolbar.components-accessible-toolbar {
|
|
3680
3614
|
border: none;
|
|
3681
|
-
border-bottom: 1px solid #e0e0e0;
|
|
3682
3615
|
border-radius: 0;
|
|
3683
3616
|
}
|
|
3617
|
+
.block-editor-block-contextual-toolbar.is-unstyled {
|
|
3618
|
+
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133);
|
|
3619
|
+
}
|
|
3684
3620
|
.block-editor-block-contextual-toolbar .block-editor-block-toolbar {
|
|
3685
3621
|
overflow: auto;
|
|
3686
3622
|
overflow-y: hidden;
|
|
@@ -3990,15 +3926,6 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
3990
3926
|
text-align: right;
|
|
3991
3927
|
}
|
|
3992
3928
|
|
|
3993
|
-
.block-editor-inserter__manage-reusable-blocks-container {
|
|
3994
|
-
margin: auto 16px 16px;
|
|
3995
|
-
}
|
|
3996
|
-
|
|
3997
|
-
.block-editor-inserter__manage-reusable-blocks {
|
|
3998
|
-
justify-content: center;
|
|
3999
|
-
width: 100%;
|
|
4000
|
-
}
|
|
4001
|
-
|
|
4002
3929
|
.block-editor-inserter__no-results,
|
|
4003
3930
|
.block-editor-inserter__patterns-loading {
|
|
4004
3931
|
padding: 32px;
|
|
@@ -4479,6 +4406,10 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
|
|
|
4479
4406
|
flex-direction: column;
|
|
4480
4407
|
}
|
|
4481
4408
|
|
|
4409
|
+
.block-editor-tabbed-sidebar__tabpanel .block-editor-inserter__help-text {
|
|
4410
|
+
padding: 0 24px 16px;
|
|
4411
|
+
}
|
|
4412
|
+
|
|
4482
4413
|
.spacing-sizes-control .spacing-sizes-control__custom-value-input,
|
|
4483
4414
|
.spacing-sizes-control .spacing-sizes-control__label {
|
|
4484
4415
|
margin-bottom: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-editor",
|
|
3
|
-
"version": "14.2.0",
|
|
3
|
+
"version": "14.2.1-next.1f6eadc42.0",
|
|
4
4
|
"description": "Generic block editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -36,36 +36,36 @@
|
|
|
36
36
|
"@emotion/react": "^11.7.1",
|
|
37
37
|
"@emotion/styled": "^11.6.0",
|
|
38
38
|
"@react-spring/web": "^9.4.5",
|
|
39
|
-
"@wordpress/a11y": "^4.7.0",
|
|
40
|
-
"@wordpress/api-fetch": "^7.7.0",
|
|
41
|
-
"@wordpress/blob": "^4.7.0",
|
|
42
|
-
"@wordpress/block-serialization-default-parser": "^5.7.0",
|
|
43
|
-
"@wordpress/blocks": "^13.7.0",
|
|
44
|
-
"@wordpress/commands": "^1.7.0",
|
|
45
|
-
"@wordpress/components": "^28.
|
|
46
|
-
"@wordpress/compose": "^7.
|
|
47
|
-
"@wordpress/data": "^10.7.0",
|
|
48
|
-
"@wordpress/date": "^5.7.0",
|
|
49
|
-
"@wordpress/deprecated": "^4.7.0",
|
|
50
|
-
"@wordpress/dom": "^4.7.0",
|
|
51
|
-
"@wordpress/element": "^6.7.0",
|
|
52
|
-
"@wordpress/escape-html": "^3.7.0",
|
|
53
|
-
"@wordpress/hooks": "^4.7.0",
|
|
54
|
-
"@wordpress/html-entities": "^4.7.0",
|
|
55
|
-
"@wordpress/i18n": "^5.7.0",
|
|
56
|
-
"@wordpress/icons": "^10.7.0",
|
|
57
|
-
"@wordpress/is-shallow-equal": "^5.7.0",
|
|
58
|
-
"@wordpress/keyboard-shortcuts": "^5.7.0",
|
|
59
|
-
"@wordpress/keycodes": "^4.7.0",
|
|
60
|
-
"@wordpress/notices": "^5.7.0",
|
|
61
|
-
"@wordpress/preferences": "^4.7.0",
|
|
62
|
-
"@wordpress/private-apis": "^1.7.0",
|
|
63
|
-
"@wordpress/rich-text": "^7.7.0",
|
|
64
|
-
"@wordpress/style-engine": "^2.7.0",
|
|
65
|
-
"@wordpress/token-list": "^3.7.0",
|
|
66
|
-
"@wordpress/url": "^4.7.0",
|
|
67
|
-
"@wordpress/warning": "^3.7.0",
|
|
68
|
-
"@wordpress/wordcount": "^4.7.0",
|
|
39
|
+
"@wordpress/a11y": "^4.7.1-next.1f6eadc42.0",
|
|
40
|
+
"@wordpress/api-fetch": "^7.7.1-next.1f6eadc42.0",
|
|
41
|
+
"@wordpress/blob": "^4.7.1-next.1f6eadc42.0",
|
|
42
|
+
"@wordpress/block-serialization-default-parser": "^5.7.1-next.1f6eadc42.0",
|
|
43
|
+
"@wordpress/blocks": "^13.7.1-next.1f6eadc42.0",
|
|
44
|
+
"@wordpress/commands": "^1.7.1-next.1f6eadc42.0",
|
|
45
|
+
"@wordpress/components": "^28.8.1-next.1f6eadc42.0",
|
|
46
|
+
"@wordpress/compose": "^7.8.1-next.1f6eadc42.0",
|
|
47
|
+
"@wordpress/data": "^10.7.1-next.1f6eadc42.0",
|
|
48
|
+
"@wordpress/date": "^5.7.1-next.1f6eadc42.0",
|
|
49
|
+
"@wordpress/deprecated": "^4.7.1-next.1f6eadc42.0",
|
|
50
|
+
"@wordpress/dom": "^4.7.1-next.1f6eadc42.0",
|
|
51
|
+
"@wordpress/element": "^6.7.1-next.1f6eadc42.0",
|
|
52
|
+
"@wordpress/escape-html": "^3.7.1-next.1f6eadc42.0",
|
|
53
|
+
"@wordpress/hooks": "^4.7.1-next.1f6eadc42.0",
|
|
54
|
+
"@wordpress/html-entities": "^4.7.1-next.1f6eadc42.0",
|
|
55
|
+
"@wordpress/i18n": "^5.7.1-next.1f6eadc42.0",
|
|
56
|
+
"@wordpress/icons": "^10.7.1-next.1f6eadc42.0",
|
|
57
|
+
"@wordpress/is-shallow-equal": "^5.7.1-next.1f6eadc42.0",
|
|
58
|
+
"@wordpress/keyboard-shortcuts": "^5.7.1-next.1f6eadc42.0",
|
|
59
|
+
"@wordpress/keycodes": "^4.7.1-next.1f6eadc42.0",
|
|
60
|
+
"@wordpress/notices": "^5.7.1-next.1f6eadc42.0",
|
|
61
|
+
"@wordpress/preferences": "^4.7.1-next.1f6eadc42.0",
|
|
62
|
+
"@wordpress/private-apis": "^1.7.1-next.1f6eadc42.0",
|
|
63
|
+
"@wordpress/rich-text": "^7.7.1-next.1f6eadc42.0",
|
|
64
|
+
"@wordpress/style-engine": "^2.7.1-next.1f6eadc42.0",
|
|
65
|
+
"@wordpress/token-list": "^3.7.1-next.1f6eadc42.0",
|
|
66
|
+
"@wordpress/url": "^4.7.1-next.1f6eadc42.0",
|
|
67
|
+
"@wordpress/warning": "^3.7.1-next.1f6eadc42.0",
|
|
68
|
+
"@wordpress/wordcount": "^4.7.1-next.1f6eadc42.0",
|
|
69
69
|
"change-case": "^4.1.2",
|
|
70
70
|
"clsx": "^2.1.1",
|
|
71
71
|
"colord": "^2.7.0",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "960a22b909c9fdbc90e7435b7ba8947b9218837a"
|
|
92
92
|
}
|
|
@@ -66,10 +66,8 @@ function BlockBreadcrumb( { rootLabelText } ) {
|
|
|
66
66
|
>
|
|
67
67
|
{ hasSelection && (
|
|
68
68
|
<Button
|
|
69
|
-
|
|
70
|
-
__next40pxDefaultSize={ false }
|
|
69
|
+
size="small"
|
|
71
70
|
className="block-editor-block-breadcrumb__button"
|
|
72
|
-
variant="tertiary"
|
|
73
71
|
onClick={ () => {
|
|
74
72
|
// Find the block editor wrapper for the selected block
|
|
75
73
|
const blockEditor = blockRef.current?.closest(
|
|
@@ -96,10 +94,8 @@ function BlockBreadcrumb( { rootLabelText } ) {
|
|
|
96
94
|
{ parents.map( ( parentClientId ) => (
|
|
97
95
|
<li key={ parentClientId }>
|
|
98
96
|
<Button
|
|
99
|
-
|
|
100
|
-
__next40pxDefaultSize={ false }
|
|
97
|
+
size="small"
|
|
101
98
|
className="block-editor-block-breadcrumb__button"
|
|
102
|
-
variant="tertiary"
|
|
103
99
|
onClick={ () => selectBlock( parentClientId ) }
|
|
104
100
|
>
|
|
105
101
|
<BlockTitle
|
|
@@ -22,40 +22,11 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.block-editor-block-breadcrumb__button.components-button {
|
|
26
|
-
height: $button-size-small;
|
|
27
|
-
line-height: $button-size-small;
|
|
28
|
-
padding: 0;
|
|
29
|
-
position: relative;
|
|
30
|
-
|
|
31
|
-
&:hover:not(:disabled) {
|
|
32
|
-
text-decoration: underline;
|
|
33
|
-
box-shadow: none;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:focus {
|
|
37
|
-
box-shadow: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:focus::before {
|
|
41
|
-
content: "";
|
|
42
|
-
display: block;
|
|
43
|
-
position: absolute;
|
|
44
|
-
border-radius: $radius-small;
|
|
45
|
-
top: $border-width;
|
|
46
|
-
right: $border-width;
|
|
47
|
-
bottom: $border-width;
|
|
48
|
-
left: $border-width;
|
|
49
|
-
|
|
50
|
-
@include button-style__focus();
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
25
|
.block-editor-block-breadcrumb__current {
|
|
55
26
|
cursor: default;
|
|
56
27
|
}
|
|
57
28
|
|
|
58
|
-
.block-editor-block-breadcrumb__button.
|
|
29
|
+
.block-editor-block-breadcrumb__button.block-editor-block-breadcrumb__button,
|
|
59
30
|
.block-editor-block-breadcrumb__current {
|
|
60
31
|
color: $gray-900;
|
|
61
32
|
padding: 0 $grid-unit-10;
|
|
@@ -31,8 +31,7 @@ export default function BlockView( {
|
|
|
31
31
|
|
|
32
32
|
<div className="block-editor-block-compare__action">
|
|
33
33
|
<Button
|
|
34
|
-
|
|
35
|
-
__next40pxDefaultSize={ false }
|
|
34
|
+
__next40pxDefaultSize
|
|
36
35
|
variant="secondary"
|
|
37
36
|
tabIndex="0"
|
|
38
37
|
onClick={ action }
|
|
@@ -24,8 +24,7 @@ export function MultipleUsageWarning( {
|
|
|
24
24
|
<Warning
|
|
25
25
|
actions={ [
|
|
26
26
|
<Button
|
|
27
|
-
|
|
28
|
-
__next40pxDefaultSize={ false }
|
|
27
|
+
__next40pxDefaultSize
|
|
29
28
|
key="find-original"
|
|
30
29
|
variant="secondary"
|
|
31
30
|
onClick={ () => selectBlock( originalBlockClientId ) }
|
|
@@ -33,8 +32,7 @@ export function MultipleUsageWarning( {
|
|
|
33
32
|
{ __( 'Find original' ) }
|
|
34
33
|
</Button>,
|
|
35
34
|
<Button
|
|
36
|
-
|
|
37
|
-
__next40pxDefaultSize={ false }
|
|
35
|
+
__next40pxDefaultSize
|
|
38
36
|
key="remove"
|
|
39
37
|
variant="secondary"
|
|
40
38
|
onClick={ () => onReplace( [] ) }
|
|
@@ -72,7 +72,6 @@ function BlockInspectorLockedBlocks( { topLevelLockedBlock } ) {
|
|
|
72
72
|
{ ...blockInformation }
|
|
73
73
|
className={ blockInformation.isSynced && 'is-synced' }
|
|
74
74
|
/>
|
|
75
|
-
<BlockVariationTransforms blockClientId={ topLevelLockedBlock } />
|
|
76
75
|
<BlockInfo.Slot />
|
|
77
76
|
{ hasBlockStyles && (
|
|
78
77
|
<BlockStylesPanel clientId={ topLevelLockedBlock } />
|
|
@@ -101,8 +101,7 @@ export default function BlockInvalidWarning( { clientId } ) {
|
|
|
101
101
|
<Warning
|
|
102
102
|
actions={ [
|
|
103
103
|
<Button
|
|
104
|
-
|
|
105
|
-
__next40pxDefaultSize={ false }
|
|
104
|
+
__next40pxDefaultSize
|
|
106
105
|
key="recover"
|
|
107
106
|
onClick={ convert.toRecoveredBlock }
|
|
108
107
|
variant="primary"
|
|
@@ -453,3 +453,24 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b
|
|
|
453
453
|
margin-bottom: auto;
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
+
|
|
457
|
+
.block-editor-block-list__zoom-out-separator {
|
|
458
|
+
/* same color as the iframe's background */
|
|
459
|
+
background: $gray-300;
|
|
460
|
+
// Additional -1px is required to avoid sub pixel rounding errors allowing background to show.
|
|
461
|
+
margin-left: -1px;
|
|
462
|
+
margin-right: -1px;
|
|
463
|
+
transition: background-color 0.3s ease;
|
|
464
|
+
|
|
465
|
+
&.is-dragged-over {
|
|
466
|
+
background: $gray-400;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
// In Post Editor allow the separator to occupy the full width by ignoring (cancelling out) the global padding.
|
|
471
|
+
.has-global-padding > .block-editor-block-list__zoom-out-separator,
|
|
472
|
+
.block-editor-block-list__layout.is-root-container.has-global-padding > .block-editor-block-list__zoom-out-separator {
|
|
473
|
+
max-width: none;
|
|
474
|
+
// Additional -1px is required to avoid sub pixel rounding errors allowing background to show.
|
|
475
|
+
margin: 0 calc(-1 * var(--wp--style--root--padding-right) - 1px) 0 calc(-1 * var(--wp--style--root--padding-left) - 1px) !important;
|
|
476
|
+
}
|