@wordpress/base-styles 4.43.0 → 4.44.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 +2 -0
- package/_default-custom-properties.scss +1 -1
- package/_mixins.scss +18 -0
- package/_z-index.scss +7 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
// It is important to include these styles in all built stylesheets.
|
|
3
2
|
// This allows to CSS variables post CSS plugin to generate fallbacks.
|
|
4
3
|
// It also provides default CSS variables for npm package consumers.
|
|
@@ -6,4 +5,5 @@
|
|
|
6
5
|
@include admin-scheme(#007cba);
|
|
7
6
|
--wp-block-synced-color: #7a00df;
|
|
8
7
|
--wp-block-synced-color--rgb: #{hex-to-rgb(#7a00df)};
|
|
8
|
+
--wp-bound-block-color: #9747ff;
|
|
9
9
|
}
|
package/_mixins.scss
CHANGED
|
@@ -297,6 +297,16 @@
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
+
|
|
301
|
+
&[aria-disabled="true"],
|
|
302
|
+
&:disabled {
|
|
303
|
+
background: $gray-100;
|
|
304
|
+
border-color: $gray-300;
|
|
305
|
+
cursor: default;
|
|
306
|
+
|
|
307
|
+
// Override style inherited from wp-admin. Required to avoid degraded appearance on different backgrounds.
|
|
308
|
+
opacity: 1;
|
|
309
|
+
}
|
|
300
310
|
}
|
|
301
311
|
|
|
302
312
|
@mixin radio-control {
|
|
@@ -357,6 +367,14 @@
|
|
|
357
367
|
}
|
|
358
368
|
}
|
|
359
369
|
|
|
370
|
+
@mixin link-reset {
|
|
371
|
+
&:focus {
|
|
372
|
+
color: var(--wp-admin-theme-color--rgb);
|
|
373
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
|
|
374
|
+
border-radius: $radius-block-ui;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
360
378
|
// The editor input reset with increased specificity to avoid theme styles bleeding in.
|
|
361
379
|
@mixin editor-input-reset() {
|
|
362
380
|
font-family: $editor-html-font !important;
|
package/_z-index.scss
CHANGED
|
@@ -108,6 +108,9 @@ $z-layers: (
|
|
|
108
108
|
// Above the block list and the header.
|
|
109
109
|
".block-editor-block-popover": 31,
|
|
110
110
|
|
|
111
|
+
// Below the block toolbar.
|
|
112
|
+
".block-editor-grid-visualizer": 30,
|
|
113
|
+
|
|
111
114
|
// Show snackbars above everything (similar to popovers)
|
|
112
115
|
".components-snackbar-list": 100000,
|
|
113
116
|
|
|
@@ -137,6 +140,7 @@ $z-layers: (
|
|
|
137
140
|
".components-popover.block-editor-inserter__popover": 99999,
|
|
138
141
|
".components-popover.table-of-contents__popover": 99998,
|
|
139
142
|
".components-popover.interface-more-menu__content": 99998,
|
|
143
|
+
".components-popover.more-menu__content": 99998,
|
|
140
144
|
".components-popover.block-editor-rich-text__inline-format-toolbar": 99998,
|
|
141
145
|
".components-popover.block-editor-warning__dropdown": 99998,
|
|
142
146
|
|
|
@@ -200,6 +204,9 @@ $z-layers: (
|
|
|
200
204
|
|
|
201
205
|
// Ensure modal footer actions appear above modal contents
|
|
202
206
|
".edit-site-start-template-options__modal__actions": 1,
|
|
207
|
+
|
|
208
|
+
// Ensure checkbox + actions don't overlap table header
|
|
209
|
+
".dataviews-view-table thead": 1,
|
|
203
210
|
);
|
|
204
211
|
|
|
205
212
|
@function z-index( $key ) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.44.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": "ac3c3e465a083081a86a4da6ee6fb817b41e5130"
|
|
27
27
|
}
|