@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 +4 -0
- package/_animations.scss +8 -8
- package/_mixins.scss +5 -2
- package/_variables.scss +1 -1
- package/_z-index.scss +0 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/_animations.scss
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
|
|
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
|
|
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.
|
|
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": "
|
|
30
|
+
"gitHead": "68a831c3178197fe87db284d4b94e5743bfb6b6c"
|
|
31
31
|
}
|