@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 CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.22.0 (2023-04-12)
6
+
7
+ ## 4.21.0 (2023-03-29)
8
+
5
9
  ## 4.20.0 (2023-03-15)
6
10
 
7
11
  ## 4.19.0 (2023-03-01)
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": 1, // InnerBlocks area inside cover image block
37
- ".wp-block-cover.is-placeholder .components-placeholder.is-large": 1, // Cover block resizer component inside a large placeholder.
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.20.0",
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": "9534a7b3bbf07c1d40b94fdb7a3d091f297bfb06"
26
+ "gitHead": "d61700b9f1c72ba0b030fc815ef1685b4f4031ec"
27
27
  }