@wordpress/base-styles 5.8.2 → 5.8.3
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/_animations.scss +5 -5
- package/_z-index.scss +5 -3
- package/package.json +2 -2
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.4s cubic-bezier(0.46, 0.03, 0.52, 0.96);
|
|
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/_z-index.scss
CHANGED
|
@@ -32,10 +32,12 @@ $z-layers: (
|
|
|
32
32
|
".interface-interface-skeleton__header": 30,
|
|
33
33
|
".interface-interface-skeleton__content": 20,
|
|
34
34
|
".edit-widgets-header": 30,
|
|
35
|
+
".wp-block-cover__inner-container": 1, // InnerBlocks area inside cover image block.
|
|
35
36
|
".wp-block-cover.is-placeholder .components-placeholder.is-large": 1, // Cover block resizer component inside a large placeholder.
|
|
36
|
-
".wp-block-cover.has-background-dim::before":
|
|
37
|
-
".
|
|
38
|
-
".wp-block-
|
|
37
|
+
".wp-block-cover.has-background-dim::before": 1, // Overlay area inside block cover need to be higher than the video background.
|
|
38
|
+
".block-library-cover__padding-visualizer": 2, // BoxControl visualizer needs to be +1 higher than .wp-block-cover.has-background-dim::before
|
|
39
|
+
".wp-block-cover__image-background": 0, // Image background inside cover block.
|
|
40
|
+
".wp-block-cover__video-background": 0, // Video background inside cover block.
|
|
39
41
|
".wp-block-template-part__placeholder-preview-filter-input": 1,
|
|
40
42
|
|
|
41
43
|
// Fixed position appender:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.3",
|
|
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": "b1ace05ee94f0803e51b205306c19fc706499ede"
|
|
31
31
|
}
|