@wordpress/base-styles 5.10.0 → 5.12.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
+ ## 5.12.0 (2024-11-16)
6
+
7
+ ## 5.11.0 (2024-10-30)
8
+
5
9
  ## 5.10.0 (2024-10-16)
6
10
 
7
11
  ## 5.9.0 (2024-10-03)
package/_animations.scss CHANGED
@@ -41,3 +41,8 @@
41
41
  @warn "The `edit-post__fade-in-animation` mixin is deprecated. Use `animation__fade-in` instead.";
42
42
  @include animation__fade-in($speed, $delay);
43
43
  }
44
+
45
+ @mixin editor-canvas-resize-animation($additional-transition-rules...) {
46
+ transition: all 400ms cubic-bezier(0.46, 0.03, 0.52, 0.96), $additional-transition-rules;
47
+ @include reduce-motion("transition");
48
+ }
package/_z-index.scss CHANGED
@@ -31,12 +31,14 @@ $z-layers: (
31
31
  ".interface-interface-skeleton__header": 30,
32
32
  ".interface-interface-skeleton__content": 20,
33
33
  ".edit-widgets-header": 30,
34
- ".wp-block-cover__inner-container": 1, // InnerBlocks area inside cover image block.
34
+
35
35
  ".wp-block-cover.is-placeholder .components-placeholder.is-large": 1, // Cover block resizer component inside a large placeholder.
36
+ // These z-index are now used only for a deprecated version of the cover block.
37
+ ".wp-block-cover__inner-container": 1, // InnerBlocks area inside cover image block.
36
38
  ".wp-block-cover.has-background-dim::before": 1, // Overlay area inside block cover need to be higher than the video background.
37
- ".block-library-cover__padding-visualizer": 2, // BoxControl visualizer needs to be +1 higher than .wp-block-cover.has-background-dim::before
38
39
  ".wp-block-cover__image-background": 0, // Image background inside cover block.
39
40
  ".wp-block-cover__video-background": 0, // Video background inside cover block.
41
+
40
42
  ".wp-block-template-part__placeholder-preview-filter-input": 1,
41
43
 
42
44
  // Fixed position appender:
@@ -206,6 +208,9 @@ $z-layers: (
206
208
 
207
209
  // Ensure footer stays above the preview field.
208
210
  ".dataviews-footer": 2,
211
+
212
+ // Needs to be below media library (.media-model) that has a z-index of 160000.
213
+ ".components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown": 160000 - 10,
209
214
  );
210
215
 
211
216
  @function z-index( $key ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "5.10.0",
3
+ "version": "5.12.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",
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "ab34a7ac935fd1478eac63b596242d83270897ee"
30
+ "gitHead": "510540d99f3d222a96f08d3d7b66c9e7a726f705"
31
31
  }