@wordpress/base-styles 5.15.0 → 5.17.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.17.0 (2025-01-29)
6
+
7
+ ## 5.16.0 (2025-01-15)
8
+
5
9
  ## 5.15.0 (2025-01-02)
6
10
 
7
11
  ## 5.14.0 (2024-12-11)
package/_animations.scss CHANGED
@@ -14,10 +14,10 @@
14
14
  }
15
15
  }
16
16
 
17
-
18
- animation: __wp-base-styles-fade-in $speed $easing $delay;
19
- animation-fill-mode: forwards;
20
- @include reduce-motion("animation");
17
+ @media not (prefers-reduced-motion) {
18
+ animation: __wp-base-styles-fade-in $speed $easing $delay;
19
+ animation-fill-mode: forwards;
20
+ }
21
21
  }
22
22
 
23
23
  @mixin animation__fade-out($speed: 0.08s, $delay: 0s, $easing: linear) {
@@ -30,10 +30,10 @@
30
30
  }
31
31
  }
32
32
 
33
-
34
- animation: __wp-base-styles-fade-out $speed $easing $delay;
35
- animation-fill-mode: forwards;
36
- @include reduce-motion("animation");
33
+ @media not (prefers-reduced-motion) {
34
+ animation: __wp-base-styles-fade-out $speed $easing $delay;
35
+ animation-fill-mode: forwards;
36
+ }
37
37
  }
38
38
 
39
39
  // Deprecated
package/_mixins.scss CHANGED
@@ -141,10 +141,13 @@
141
141
  // Tabs, Inputs, Square buttons.
142
142
  @mixin input-style__neutral() {
143
143
  box-shadow: 0 0 0 transparent;
144
- transition: box-shadow 0.1s linear;
144
+
145
+ @media not (prefers-reduced-motion) {
146
+ transition: box-shadow 0.1s linear;
147
+ }
148
+
145
149
  border-radius: $radius-small;
146
150
  border: $border-width solid $gray-600;
147
- @include reduce-motion("transition");
148
151
  }
149
152
 
150
153
 
package/_variables.scss CHANGED
@@ -145,7 +145,7 @@ $radio-input-size: 16px;
145
145
  $radio-input-size-sm: 24px; // Width & height for small viewports.
146
146
 
147
147
  // Deprecated, please avoid using these.
148
- $block-padding: 14px; // Used to define space between block footprint and surrouding borders.
148
+ $block-padding: 14px; // Used to define space between block footprint and surrounding borders.
149
149
  $radius-block-ui: $radius-small;
150
150
  $shadow-popover: $elevation-x-small;
151
151
  $shadow-modal: $elevation-large;
package/_z-index.scss CHANGED
@@ -25,7 +25,6 @@ $z-layers: (
25
25
  ".components-popover__close": 5,
26
26
  ".block-editor-block-list__insertion-point": 6,
27
27
  ".block-editor-warning": 5,
28
- ".block-library-gallery-item__inline-menu": 20,
29
28
  ".block-editor-url-input__suggestions": 30,
30
29
  ".edit-post-layout__footer": 30,
31
30
  ".interface-interface-skeleton__header": 30,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "5.15.0",
3
+ "version": "5.17.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": "75a65eb8ffc168a92042544052f46d080a71ea45"
30
+ "gitHead": "68a831c3178197fe87db284d4b94e5743bfb6b6c"
31
31
  }