@wordpress/base-styles 4.2.1 → 4.4.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/_variables.scss +3 -1
- package/_z-index.scss +3 -9
- package/package.json +2 -2
package/_variables.scss
CHANGED
|
@@ -37,7 +37,8 @@ $grid-unit-30: 3 * $grid-unit; // 24px
|
|
|
37
37
|
$grid-unit-40: 4 * $grid-unit; // 32px
|
|
38
38
|
$grid-unit-50: 5 * $grid-unit; // 40px
|
|
39
39
|
$grid-unit-60: 6 * $grid-unit; // 48px
|
|
40
|
-
|
|
40
|
+
$grid-unit-70: 7 * $grid-unit; // 56px
|
|
41
|
+
$grid-unit-80: 8 * $grid-unit; // 64px
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
44
|
* Dimensions.
|
|
@@ -110,6 +111,7 @@ $block-bg-padding--h: 2.375em;
|
|
|
110
111
|
|
|
111
112
|
// Dimensions.
|
|
112
113
|
$mobile-header-toolbar-height: 44px;
|
|
114
|
+
$mobile-header-toolbar-expanded-height: 52px;
|
|
113
115
|
$mobile-floating-toolbar-height: 44px;
|
|
114
116
|
$mobile-floating-toolbar-margin: 8px;
|
|
115
117
|
$mobile-color-swatch: 48px;
|
package/_z-index.scss
CHANGED
|
@@ -33,7 +33,7 @@ $z-layers: (
|
|
|
33
33
|
".block-editor-url-input__suggestions": 30,
|
|
34
34
|
".edit-post-layout__footer": 30,
|
|
35
35
|
".interface-interface-skeleton__header": 30,
|
|
36
|
-
".interface-interface-skeleton__content":
|
|
36
|
+
".interface-interface-skeleton__content": 20,
|
|
37
37
|
".edit-site-header": 62,
|
|
38
38
|
".edit-widgets-header": 30,
|
|
39
39
|
".block-library-button__inline-link .block-editor-url-input__suggestions": 6, // URL suggestions for button block above sibling inserter
|
|
@@ -83,10 +83,6 @@ $z-layers: (
|
|
|
83
83
|
// Ensures content overlay appears higher than resize containers used for image/video/etc.
|
|
84
84
|
".block-editor-block-content-overlay__overlay": 10,
|
|
85
85
|
|
|
86
|
-
// The block mover, particularly in nested contexts,
|
|
87
|
-
// should overlap most block content.
|
|
88
|
-
".block-editor-block-list__block.is-{selected,hovered} .block-editor-block-mover": 61,
|
|
89
|
-
|
|
90
86
|
// Query block setup state.
|
|
91
87
|
".block-editor-block-pattern-setup .pattern-slide": 100,
|
|
92
88
|
".block-editor-block-pattern-setup .{next,previous}-slide": 101,
|
|
@@ -127,10 +123,7 @@ $z-layers: (
|
|
|
127
123
|
".edit-site-navigation-panel__preview": 32,
|
|
128
124
|
|
|
129
125
|
// Above the block list and the header.
|
|
130
|
-
".block-editor-block-
|
|
131
|
-
|
|
132
|
-
// Under the block popover (block toolbar).
|
|
133
|
-
".block-editor-block-list__insertion-point-popover": 28,
|
|
126
|
+
".block-editor-block-popover": 31,
|
|
134
127
|
|
|
135
128
|
// Show snackbars above everything (similar to popovers)
|
|
136
129
|
".components-snackbar-list": 100000,
|
|
@@ -145,6 +138,7 @@ $z-layers: (
|
|
|
145
138
|
// Should be above the popover (dropdown)
|
|
146
139
|
".reusable-blocks-menu-items__convert-modal": 1000001,
|
|
147
140
|
".edit-site-create-template-part-modal": 1000001,
|
|
141
|
+
".block-editor-block-lock-modal": 1000001,
|
|
148
142
|
|
|
149
143
|
// Note: The ConfirmDialog component's z-index is being set to 1000001 in packages/components/src/confirm-dialog/styles.ts
|
|
150
144
|
// because it uses emotion and not sass. We need it to render on top its parent popover.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.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",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "1ba52312b56db563df2d8d4fba5b00613fb46d8c"
|
|
27
27
|
}
|