@wordpress/base-styles 5.9.0 → 5.11.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.11.0 (2024-10-30)
6
+
7
+ ## 5.10.0 (2024-10-16)
8
+
5
9
  ## 5.9.0 (2024-10-03)
6
10
 
7
11
  ## 5.8.0 (2024-09-19)
package/_animations.scss CHANGED
@@ -36,13 +36,13 @@
36
36
  @include reduce-motion("animation");
37
37
  }
38
38
 
39
- @mixin editor-canvas-resize-animation() {
40
- transition: all 0.5s cubic-bezier(0.65, 0, 0.45, 1);
41
- @include reduce-motion("transition");
42
- }
43
-
44
39
  // Deprecated
45
40
  @mixin edit-post__fade-in-animation($speed: 0.08s, $delay: 0s) {
46
41
  @warn "The `edit-post__fade-in-animation` mixin is deprecated. Use `animation__fade-in` instead.";
47
42
  @include animation__fade-in($speed, $delay);
48
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/_colors.scss CHANGED
@@ -8,7 +8,7 @@
8
8
  $black: #000; // Use only when you truly need pure black. For UI, use $gray-900.
9
9
  $gray-900: #1e1e1e;
10
10
  $gray-800: #2f2f2f;
11
- $gray-700: #757575; // Meets 4.6:1 text contrast against white.
11
+ $gray-700: #757575; // Meets 4.6:1 (4.5:1 is minimum) text contrast against white.
12
12
  $gray-600: #949494; // Meets 3:1 UI or large text contrast against white.
13
13
  $gray-400: #ccc;
14
14
  $gray-300: #ddd; // Used for most borders.
package/_z-index.scss CHANGED
@@ -206,6 +206,9 @@ $z-layers: (
206
206
 
207
207
  // Ensure footer stays above the preview field.
208
208
  ".dataviews-footer": 2,
209
+
210
+ // Needs to be below media library (.media-model) that has a z-index of 160000.
211
+ ".components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown": 160000 - 10,
209
212
  );
210
213
 
211
214
  @function z-index( $key ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "5.9.0",
3
+ "version": "5.11.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": "2e5495c635910cb34bfaca3c6258d2e989f66214"
30
+ "gitHead": "dcf4613b33b0eda14e203ac30f700ed0db70347f"
31
31
  }