@wordpress/base-styles 4.46.0 → 4.48.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/_default-custom-properties.scss +3 -1
- package/_z-index.scss +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,5 +5,7 @@
|
|
|
5
5
|
@include admin-scheme(#007cba);
|
|
6
6
|
--wp-block-synced-color: #7a00df;
|
|
7
7
|
--wp-block-synced-color--rgb: #{hex-to-rgb(#7a00df)};
|
|
8
|
-
|
|
8
|
+
// This CSS variable is not used in Gutenberg project,
|
|
9
|
+
// but is maintained for backwards compatibility.
|
|
10
|
+
--wp-bound-block-color: var(--wp-block-synced-color);
|
|
9
11
|
}
|
package/_z-index.scss
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
$z-layers: (
|
|
6
6
|
".block-editor-block-list__block::before": 0,
|
|
7
|
+
".block-editor-block-list__block.is-selected": 20,
|
|
7
8
|
".block-editor-block-switcher__arrow": 1,
|
|
8
9
|
".block-editor-block-list__block {core/image aligned wide or fullwide}": 20,
|
|
9
10
|
".block-library-classic__toolbar": 31, // When scrolled to top this toolbar needs to sit over block-editor-block-toolbar
|
|
@@ -87,6 +88,7 @@ $z-layers: (
|
|
|
87
88
|
// #wpadminbar { z-index: 99999 }
|
|
88
89
|
".interface-interface-skeleton__sidebar": 100000,
|
|
89
90
|
".edit-post-layout__toggle-sidebar-panel": 100000,
|
|
91
|
+
".editor-layout__toggle-sidebar-panel": 100000,
|
|
90
92
|
".edit-widgets-sidebar": 100000,
|
|
91
93
|
".edit-post-layout .edit-post-post-publish-panel": 100001,
|
|
92
94
|
// For larger views, the wp-admin navbar dropdown should be at top of
|
|
@@ -130,6 +132,7 @@ $z-layers: (
|
|
|
130
132
|
".block-editor-block-rename-modal": 1000001,
|
|
131
133
|
".edit-site-list__rename-modal": 1000001,
|
|
132
134
|
".dataviews-action-modal": 1000001,
|
|
135
|
+
".editor-action-modal": 1000001,
|
|
133
136
|
".editor-post-template__swap-template-modal": 1000001,
|
|
134
137
|
".edit-site-template-panel__replace-template-modal": 1000001,
|
|
135
138
|
|
|
@@ -190,7 +193,6 @@ $z-layers: (
|
|
|
190
193
|
// Site editor layout
|
|
191
194
|
".edit-site-layout__header-container": 4,
|
|
192
195
|
".edit-site-layout__hub": 3,
|
|
193
|
-
".edit-site-layout__header": 2,
|
|
194
196
|
".edit-site-page-header": 2,
|
|
195
197
|
".edit-site-page-content": 1,
|
|
196
198
|
".edit-site-patterns__header": 2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.48.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": "581d8a5580dba8f600b7268d51eb554771ae482c"
|
|
27
27
|
}
|