@wordpress/base-styles 6.20.1-next.v.202604201441.0 → 8.0.1-next.v.202605131006.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 +61 -0
- package/_z-index.scss +2 -87
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,67 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 8.0.0-next.0 (2026-05-13)
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
- Remove the following entries from the `z-index()` helper ([#77753](https://github.com/WordPress/gutenberg/pull/77753), [#77759](https://github.com/WordPress/gutenberg/pull/77759), [#77772](https://github.com/WordPress/gutenberg/pull/77772), [#77806](https://github.com/WordPress/gutenberg/pull/77806), [#77807](https://github.com/WordPress/gutenberg/pull/77807), [#77808](https://github.com/WordPress/gutenberg/pull/77808), [#78180](https://github.com/WordPress/gutenberg/pull/78180)):
|
|
10
|
+
- `.block-editor-block-manager__category-title`
|
|
11
|
+
- `.block-editor-block-manager__disabled-blocks-count`
|
|
12
|
+
- `.block-library-query-pattern__selection-search`
|
|
13
|
+
- `.block-library-template-part__selection-search`
|
|
14
|
+
- `.components-popover__close`
|
|
15
|
+
- `.edit-site-layout__canvas-container.is-resizing::after`
|
|
16
|
+
- `.edit-site-layout__canvas-container`
|
|
17
|
+
- `.edit-site-layout__sidebar`
|
|
18
|
+
- `.edit-site-sidebar-navigation-screen__title-icon`
|
|
19
|
+
- `.edit-site-templates__dataviews-list-pagination`
|
|
20
|
+
- `.editor-post-template__swap-template-search`
|
|
21
|
+
- `.editor-start-page-options__modal__actions`
|
|
22
|
+
- `.editor-start-template-options__modal__actions`
|
|
23
|
+
- `.wp-block-cover__image-background`
|
|
24
|
+
- `.wp-block-cover__inner-container`
|
|
25
|
+
- `.wp-block-cover__video-background`
|
|
26
|
+
- `.wp-block-cover.has-background-dim::before`
|
|
27
|
+
- `.wp-block-cover.is-placeholder .components-placeholder.is-large`
|
|
28
|
+
|
|
29
|
+
## 7.0.0 (2026-04-29)
|
|
30
|
+
|
|
31
|
+
### Breaking Changes
|
|
32
|
+
|
|
33
|
+
- Remove the following entries from the `z-index()` helper ([#77619](https://github.com/WordPress/gutenberg/pull/77619), [#77620](https://github.com/WordPress/gutenberg/pull/77620), [#77621](https://github.com/WordPress/gutenberg/pull/77621), [#77714](https://github.com/WordPress/gutenberg/pull/77714), [#77715](https://github.com/WordPress/gutenberg/pull/77715), [#77717](https://github.com/WordPress/gutenberg/pull/77717), [#77774](https://github.com/WordPress/gutenberg/pull/77774)):
|
|
34
|
+
- `.block-editor-block-contextual-toolbar`
|
|
35
|
+
- `.block-editor-block-list__block {core/image aligned wide or fullwide}`
|
|
36
|
+
- `.block-editor-block-list__block::before`
|
|
37
|
+
- `.block-editor-block-list__block.has-block-overlay`
|
|
38
|
+
- `.block-editor-block-list__block .reusable-block-edit-panel *`
|
|
39
|
+
- `.block-editor-block-list__insertion-point`
|
|
40
|
+
- `.block-editor-block-switcher__arrow`
|
|
41
|
+
- `.block-editor-url-input__suggestions`
|
|
42
|
+
- `.block-editor-warning`
|
|
43
|
+
- `.block-library-classic__toolbar`
|
|
44
|
+
- `.components-autocomplete__results`
|
|
45
|
+
- `.components-button {:focus or .is-primary}`
|
|
46
|
+
- `.components-circular-option-picker__option-wrapper::before`
|
|
47
|
+
- `.components-circular-option-picker__option.is-pressed`
|
|
48
|
+
- `.components-circular-option-picker__option.is-pressed + svg`
|
|
49
|
+
- `.components-circular-option-picker__swatches`
|
|
50
|
+
- `> *:not(.components-circular-option-picker__swatches)`
|
|
51
|
+
- `.components-form-toggle__input`
|
|
52
|
+
- `.components-popover.block-editor-inspector-list-view-content-popover`
|
|
53
|
+
- `.components-popover.interface-more-menu__content`
|
|
54
|
+
- `.components-resizable-box__handle`
|
|
55
|
+
- `.components-resizable-box__side-handle`
|
|
56
|
+
- `.components-resizable-box__corner-handle`
|
|
57
|
+
- `.dataviews-action-modal__quick-edit`
|
|
58
|
+
- `.edit-site-editor__toggle-save-panel`
|
|
59
|
+
- `.edit-site-template-panel__replace-template-modal`
|
|
60
|
+
- `.edit-widgets-header`
|
|
61
|
+
- `.edit-widgets-sidebar {greater than small}`
|
|
62
|
+
- `.interface-complementary-area .components-panel`
|
|
63
|
+
- `.interface-complementary-area .components-panel__header`
|
|
64
|
+
- `.wp-block-template-part__placeholder-preview-filter-input`
|
|
65
|
+
|
|
5
66
|
## 6.20.0 (2026-04-15)
|
|
6
67
|
|
|
7
68
|
## 6.19.0 (2026-04-01)
|
package/_z-index.scss
CHANGED
|
@@ -5,43 +5,15 @@
|
|
|
5
5
|
// value is designed to work with).
|
|
6
6
|
|
|
7
7
|
$z-layers: (
|
|
8
|
-
".block-editor-block-list__block::before": 0,
|
|
9
8
|
".block-editor-block-list__block.is-selected": 20,
|
|
10
|
-
".block-editor-block-switcher__arrow": 1,
|
|
11
|
-
".block-editor-block-list__block {core/image aligned wide or fullwide}": 20,
|
|
12
|
-
".block-library-classic__toolbar": 31, // When scrolled to top this toolbar needs to sit over block-editor-block-toolbar
|
|
13
|
-
".components-form-toggle__input": 1,
|
|
14
9
|
".editor-text-editor__toolbar": 1,
|
|
15
10
|
|
|
16
|
-
// These next three share a stacking context
|
|
17
|
-
".block-library-template-part__selection-search": 2, // higher sticky element
|
|
18
|
-
".block-library-query-pattern__selection-search": 2, // higher sticky element
|
|
19
|
-
".editor-post-template__swap-template-search": 2, // higher sticky element
|
|
20
|
-
|
|
21
|
-
// These next two share a stacking context
|
|
22
|
-
".interface-complementary-area .components-panel" : 0, // lower scrolling content
|
|
23
|
-
".interface-complementary-area .components-panel__header": 1, // higher sticky element
|
|
24
|
-
|
|
25
11
|
".components-modal__header": 10,
|
|
26
12
|
".edit-post-meta-boxes-area.is-loading::before": 1,
|
|
27
13
|
".edit-post-meta-boxes-area .spinner": 5,
|
|
28
|
-
".components-popover__close": 5,
|
|
29
|
-
".block-editor-block-list__insertion-point": 6,
|
|
30
|
-
".block-editor-warning": 5,
|
|
31
|
-
".block-editor-url-input__suggestions": 30,
|
|
32
14
|
".edit-post-layout__footer": 30,
|
|
33
15
|
".interface-interface-skeleton__header": 30,
|
|
34
16
|
".interface-interface-skeleton__content": 20,
|
|
35
|
-
".edit-widgets-header": 30,
|
|
36
|
-
|
|
37
|
-
".wp-block-cover.is-placeholder .components-placeholder.is-large": 1, // Cover block resizer component inside a large placeholder.
|
|
38
|
-
// These z-index are now used only for a deprecated version of the cover block.
|
|
39
|
-
".wp-block-cover__inner-container": 1, // InnerBlocks area inside cover image block.
|
|
40
|
-
".wp-block-cover.has-background-dim::before": 1, // Overlay area inside block cover need to be higher than the video background.
|
|
41
|
-
".wp-block-cover__image-background": 0, // Image background inside cover block.
|
|
42
|
-
".wp-block-cover__video-background": 0, // Video background inside cover block.
|
|
43
|
-
|
|
44
|
-
".wp-block-template-part__placeholder-preview-filter-input": 1,
|
|
45
17
|
|
|
46
18
|
// Fixed position appender:
|
|
47
19
|
".block-editor-block-list__block .block-list-appender": 2,
|
|
@@ -50,14 +22,9 @@ $z-layers: (
|
|
|
50
22
|
".has-child .wp-block-navigation__submenu-container": 28,
|
|
51
23
|
".has-child:hover .wp-block-navigation__submenu-container": 29,
|
|
52
24
|
|
|
53
|
-
// Active pill button
|
|
54
|
-
".components-button {:focus or .is-primary}": 1,
|
|
55
|
-
|
|
56
25
|
// The draggable element should show up above the entire UI
|
|
57
26
|
".components-draggable__clone": 1000000000,
|
|
58
27
|
|
|
59
|
-
".block-editor-block-list__block .reusable-block-edit-panel *": 1,
|
|
60
|
-
|
|
61
28
|
// Show drop zone above most standard content, but below any overlays
|
|
62
29
|
".components-drop-zone": 40,
|
|
63
30
|
".components-drop-zone__content": 50,
|
|
@@ -73,12 +40,6 @@ $z-layers: (
|
|
|
73
40
|
// Below the media library backdrop (.media-modal-backdrop), which has a z-index of 159900.
|
|
74
41
|
".block-editor-global-styles-background-panel__popover": 159900 - 10,
|
|
75
42
|
|
|
76
|
-
// The toolbar, when contextual, should be above any adjacent nested block click overlays.
|
|
77
|
-
".block-editor-block-contextual-toolbar": 61,
|
|
78
|
-
|
|
79
|
-
// Ensures content overlay appears higher than resize containers used for image/video/etc.
|
|
80
|
-
".block-editor-block-list__block.has-block-overlay": 10,
|
|
81
|
-
|
|
82
43
|
// Query block setup state.
|
|
83
44
|
".block-editor-block-pattern-setup .pattern-slide": 100,
|
|
84
45
|
".block-editor-block-pattern-setup .{next,previous}-slide": 101,
|
|
@@ -94,14 +55,9 @@ $z-layers: (
|
|
|
94
55
|
// the Publish Post sidebar.
|
|
95
56
|
".editor-post-publish-panel {greater than small}": 99998,
|
|
96
57
|
|
|
97
|
-
// For larger views, the wp-admin navbar dropdown should be on top of
|
|
98
|
-
// the multi-entity saving sidebar.
|
|
99
|
-
".edit-site-editor__toggle-save-panel": 100000,
|
|
100
|
-
|
|
101
58
|
// Show sidebar in greater than small viewports above editor related elements
|
|
102
59
|
// but below #adminmenuback { z-index: 100 }
|
|
103
60
|
".interface-interface-skeleton__sidebar {greater than small}": 90,
|
|
104
|
-
".edit-widgets-sidebar {greater than small}": 90,
|
|
105
61
|
|
|
106
62
|
// Show interface skeleton footer above interface skeleton drawer
|
|
107
63
|
".interface-interface-skeleton__footer": 90,
|
|
@@ -136,26 +92,23 @@ $z-layers: (
|
|
|
136
92
|
".editor-action-modal": 1000001,
|
|
137
93
|
".editor-post-template__swap-template-modal": 1000001,
|
|
138
94
|
".editor-post-template__create-template-modal": 1000001,
|
|
139
|
-
".edit-site-template-panel__replace-template-modal": 1000001,
|
|
140
95
|
".editor-sync-connection-error-modal": 1000001,
|
|
96
|
+
".components-snackbar-list.media-editor-modal__snackbar": 1000001,
|
|
141
97
|
|
|
142
98
|
// Note: The ConfirmDialog component's z-index is being set to 1000001 in packages/components/src/confirm-dialog/styles.ts
|
|
143
99
|
// because it uses emotion and not sass. We need it to render on top its parent popover.
|
|
144
100
|
|
|
145
101
|
// Show media replace flow and similar popovers beneath the media modal when its open.
|
|
146
102
|
".components-popover.block-editor-media-replace-flow__options": 99999,
|
|
147
|
-
".components-popover.block-
|
|
103
|
+
".components-popover.block-library-video-tracks-editor": 99999,
|
|
148
104
|
|
|
149
105
|
// ...Except for popovers immediately beneath wp-admin menu on large breakpoints
|
|
150
106
|
".components-popover.block-editor-inserter__popover": 99999,
|
|
151
107
|
".components-popover.table-of-contents__popover": 99998,
|
|
152
|
-
".components-popover.interface-more-menu__content": 99998,
|
|
153
108
|
".components-popover.more-menu__content": 99998,
|
|
154
109
|
".components-popover.block-editor-rich-text__inline-format-toolbar": 99998,
|
|
155
110
|
".components-popover.block-editor-warning__dropdown": 99998,
|
|
156
111
|
|
|
157
|
-
".components-autocomplete__results": 1000000,
|
|
158
|
-
|
|
159
112
|
".skip-to-selected-block": 100000,
|
|
160
113
|
".interface-interface-skeleton__actions": 100000,
|
|
161
114
|
".edit-site-layout__actions": 100000,
|
|
@@ -169,46 +122,12 @@ $z-layers: (
|
|
|
169
122
|
// Show tooltips above NUX tips, wp-admin menus, submenus, and sidebar:
|
|
170
123
|
".components-tooltip": 1000002,
|
|
171
124
|
|
|
172
|
-
// Make sure corner handles are above side handles for ResizableBox component
|
|
173
|
-
".components-resizable-box__handle": 2,
|
|
174
|
-
".components-resizable-box__side-handle": 2,
|
|
175
|
-
".components-resizable-box__corner-handle": 2,
|
|
176
|
-
|
|
177
|
-
// Make sure block manager sticky category titles appear above the options
|
|
178
|
-
".block-editor-block-manager__category-title": 1,
|
|
179
|
-
// And block manager sticky disabled block count is higher still
|
|
180
|
-
".block-editor-block-manager__disabled-blocks-count": 2,
|
|
181
|
-
|
|
182
|
-
// Needs to appear below other color circular picker related UI elements.
|
|
183
|
-
".components-circular-option-picker__option-wrapper::before": -1,
|
|
184
|
-
|
|
185
|
-
".components-circular-option-picker__option.is-pressed": 1,
|
|
186
|
-
// Needs to be higher than .components-circular-option-picker__option.is-pressed.
|
|
187
|
-
".components-circular-option-picker__option.is-pressed + svg": 2,
|
|
188
|
-
|
|
189
|
-
// The following two indexes are needed so that the swatches (and their tooltips)
|
|
190
|
-
// always render on top of the rest of the component's UI.
|
|
191
|
-
".components-circular-option-picker__swatches": 1,
|
|
192
|
-
"> *:not(.components-circular-option-picker__swatches)": 0,
|
|
193
|
-
|
|
194
125
|
// Appear under the customizer heading UI, but over anything else.
|
|
195
126
|
".customize-widgets__topbar": 8,
|
|
196
127
|
|
|
197
128
|
// Appear under the topbar.
|
|
198
129
|
".customize-widgets__block-toolbar": 7,
|
|
199
130
|
|
|
200
|
-
// Site editor layout
|
|
201
|
-
".edit-site-templates__dataviews-list-pagination": 2,
|
|
202
|
-
".edit-site-layout__canvas-container": 2,
|
|
203
|
-
".edit-site-layout__sidebar": 1,
|
|
204
|
-
".edit-site-layout__canvas-container.is-resizing::after": 100,
|
|
205
|
-
// Title needs to appear above other UI the section content.
|
|
206
|
-
".edit-site-sidebar-navigation-screen__title-icon": 1,
|
|
207
|
-
|
|
208
|
-
// Ensure modal footer actions appear above modal contents
|
|
209
|
-
".editor-start-template-options__modal__actions": 1,
|
|
210
|
-
".editor-start-page-options__modal__actions": 1,
|
|
211
|
-
|
|
212
131
|
// Ensure checkbox + actions don't overlap table header
|
|
213
132
|
".dataviews-view-table thead": 1,
|
|
214
133
|
|
|
@@ -220,10 +139,6 @@ $z-layers: (
|
|
|
220
139
|
|
|
221
140
|
// Needs to be below media library (.media-model) that has a z-index of 160000.
|
|
222
141
|
".components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown": 160000 - 10,
|
|
223
|
-
|
|
224
|
-
// Needs to be below the media library (.media-modal) that has a z-index of 160000.
|
|
225
|
-
// And the new experimental media modal that has a z-index of 100000.
|
|
226
|
-
".dataviews-action-modal__quick-edit": 100000 - 10,
|
|
227
142
|
);
|
|
228
143
|
|
|
229
144
|
@function z-index( $key ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1-next.v.202605131006.0+2a3d07cab",
|
|
4
4
|
"description": "Base SCSS utilities and variables for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8804fa29bc78a1d98e5a4d40c3e180ddd907016c"
|
|
49
49
|
}
|