@wordpress/base-styles 4.20.0 → 4.22.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 +4 -0
- package/_z-index.scss +9 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/_z-index.scss
CHANGED
|
@@ -33,8 +33,8 @@ $z-layers: (
|
|
|
33
33
|
".interface-interface-skeleton__content": 20,
|
|
34
34
|
".edit-widgets-header": 30,
|
|
35
35
|
".block-library-button__inline-link .block-editor-url-input__suggestions": 6, // URL suggestions for button block above sibling inserter
|
|
36
|
-
".wp-block-cover__inner-container":
|
|
37
|
-
".wp-block-cover.is-placeholder .components-placeholder.is-large":
|
|
36
|
+
".wp-block-cover__inner-container": 32, // InnerBlocks area inside cover image block. Must be higher than block popover and less than drop zone.
|
|
37
|
+
".wp-block-cover.is-placeholder .components-placeholder.is-large": 32, // Cover block resizer component inside a large placeholder.
|
|
38
38
|
".wp-block-cover.has-background-dim::before": 1, // Overlay area inside block cover need to be higher than the video background.
|
|
39
39
|
".block-library-cover__padding-visualizer": 2, // BoxControl visualizer needs to be +1 higher than .wp-block-cover.has-background-dim::before
|
|
40
40
|
".wp-block-cover__image-background": 0, // Image background inside cover block.
|
|
@@ -170,6 +170,11 @@ $z-layers: (
|
|
|
170
170
|
// Needs to be higher than .components-circular-option-picker__option.is-pressed.
|
|
171
171
|
".components-circular-option-picker__option.is-pressed + svg": 2,
|
|
172
172
|
|
|
173
|
+
// The following two indexes are needed so that the swatches (and their tooltips)
|
|
174
|
+
// always render on top of the rest of the component's UI.
|
|
175
|
+
".components-circular-option-picker__swatches": 1,
|
|
176
|
+
"> *:not(.components-circular-option-picker__swatches)": 0,
|
|
177
|
+
|
|
173
178
|
// Appear under the customizer heading UI, but over anything else.
|
|
174
179
|
".customize-widgets__topbar": 8,
|
|
175
180
|
|
|
@@ -182,6 +187,8 @@ $z-layers: (
|
|
|
182
187
|
".edit-site-layout__canvas-container": 2,
|
|
183
188
|
".edit-site-layout__sidebar": 1,
|
|
184
189
|
".edit-site-layout__canvas-container.is-resizing::after": 100,
|
|
190
|
+
// Title needs to appear above other UI the section content.
|
|
191
|
+
".edit-site-sidebar-navigation-screen__title-icon": 1,
|
|
185
192
|
);
|
|
186
193
|
|
|
187
194
|
@function z-index( $key ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.0",
|
|
4
4
|
"description": "Base SCSS utilities and variables for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "d61700b9f1c72ba0b030fc815ef1685b4f4031ec"
|
|
27
27
|
}
|