@wordpress/base-styles 4.0.5-next.33ec3857e2.0 → 4.1.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/LICENSE.md +1 -1
- package/_colors.native.scss +3 -0
- package/_mixins.scss +2 -6
- package/_z-index.scss +4 -0
- package/package.json +2 -2
package/LICENSE.md
CHANGED
package/_colors.native.scss
CHANGED
|
@@ -80,6 +80,9 @@ $gray-80: #2c3338;
|
|
|
80
80
|
$gray-90: #1d2327;
|
|
81
81
|
$gray-100: #101517;
|
|
82
82
|
|
|
83
|
+
$yellow-30: #deb100;
|
|
84
|
+
$yellow-50: #9d6e00;
|
|
85
|
+
|
|
83
86
|
// neutral (light) - black is a base color in light mode
|
|
84
87
|
$light-primary: #000d; //rgba(0, 0, 0, 0.87);
|
|
85
88
|
$light-secondary: #0009; //rgba(0, 0, 0, 0.6);
|
package/_mixins.scss
CHANGED
|
@@ -214,16 +214,12 @@
|
|
|
214
214
|
transition-duration: 0s;
|
|
215
215
|
transition-delay: 0s;
|
|
216
216
|
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
@else if $property == "animation" {
|
|
217
|
+
} @else if $property == "animation" {
|
|
220
218
|
@media (prefers-reduced-motion: reduce) {
|
|
221
219
|
animation-duration: 1ms;
|
|
222
220
|
animation-delay: 0s;
|
|
223
221
|
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
@else {
|
|
222
|
+
} @else {
|
|
227
223
|
@media (prefers-reduced-motion: reduce) {
|
|
228
224
|
transition-duration: 0s;
|
|
229
225
|
transition-delay: 0s;
|
package/_z-index.scss
CHANGED
|
@@ -11,6 +11,7 @@ $z-layers: (
|
|
|
11
11
|
".block-editor-block-list__block-selection-button": 22,
|
|
12
12
|
".components-form-toggle__input": 1,
|
|
13
13
|
".edit-post-text-editor__toolbar": 1,
|
|
14
|
+
".edit-site-code-editor__toolbar": 1,
|
|
14
15
|
".edit-post-sidebar__panel-tab.is-active": 1,
|
|
15
16
|
|
|
16
17
|
// These next three share a stacking context
|
|
@@ -145,6 +146,9 @@ $z-layers: (
|
|
|
145
146
|
".reusable-blocks-menu-items__convert-modal": 1000001,
|
|
146
147
|
".edit-site-create-template-part-modal": 1000001,
|
|
147
148
|
|
|
149
|
+
// Note: The ConfirmDialog component's z-index is being set to 1000001 in packages/components/src/confirm-dialog/styles.ts
|
|
150
|
+
// because it uses emotion and not sass. We need it to render on top its parent popover.
|
|
151
|
+
|
|
148
152
|
// ...Except for popovers immediately beneath wp-admin menu on large breakpoints
|
|
149
153
|
".components-popover.block-editor-inserter__popover": 99999,
|
|
150
154
|
".components-popover.table-of-contents__popover": 99998,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.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": "d95ccb9366e249133cdb1d7b25c382446b9ee502"
|
|
27
27
|
}
|