@wordpress/base-styles 8.0.1-next.v.202605131032.0 → 9.0.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 +15 -2
- package/_mixins.scss +12 -0
- package/_z-index.scss +0 -13
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,16 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 9.0.0 (2026-05-27)
|
|
6
6
|
|
|
7
7
|
### Breaking Changes
|
|
8
8
|
|
|
9
|
-
- Remove the following entries from the `z-index()` helper ([#
|
|
9
|
+
- Remove the following entries from the `z-index()` helper ([#78315](https://github.com/WordPress/gutenberg/pull/78315), [#78362](https://github.com/WordPress/gutenberg/pull/78362)):
|
|
10
|
+
- `.components-modal__header`
|
|
11
|
+
- `.dataviews-footer`
|
|
12
|
+
- `.dataviews-view-grid__card .dataviews-selection-checkbox`
|
|
13
|
+
- `.dataviews-view-table thead`
|
|
14
|
+
|
|
15
|
+
## 8.0.0 (2026-05-14)
|
|
16
|
+
|
|
17
|
+
### Breaking Changes
|
|
18
|
+
|
|
19
|
+
- Remove the following entries from the `z-index()` helper ([#77753](https://github.com/WordPress/gutenberg/pull/77753), [#77759](https://github.com/WordPress/gutenberg/pull/77759), [#77772](https://github.com/WordPress/gutenberg/pull/77772), [#77806](https://github.com/WordPress/gutenberg/pull/77806), [#77807](https://github.com/WordPress/gutenberg/pull/77807), [#77808](https://github.com/WordPress/gutenberg/pull/77808), [#78180](https://github.com/WordPress/gutenberg/pull/78180), [#78181](https://github.com/WordPress/gutenberg/pull/78181), [#78309](https://github.com/WordPress/gutenberg/pull/78309)):
|
|
10
20
|
- `.block-editor-block-manager__category-title`
|
|
11
21
|
- `.block-editor-block-manager__disabled-blocks-count`
|
|
12
22
|
- `.block-library-query-pattern__selection-search`
|
|
13
23
|
- `.block-library-template-part__selection-search`
|
|
14
24
|
- `.components-popover__close`
|
|
25
|
+
- `.edit-post-meta-boxes-area .spinner`
|
|
26
|
+
- `.edit-post-meta-boxes-area.is-loading::before`
|
|
15
27
|
- `.edit-site-layout__canvas-container.is-resizing::after`
|
|
16
28
|
- `.edit-site-layout__canvas-container`
|
|
17
29
|
- `.edit-site-layout__sidebar`
|
|
@@ -20,6 +32,7 @@
|
|
|
20
32
|
- `.editor-post-template__swap-template-search`
|
|
21
33
|
- `.editor-start-page-options__modal__actions`
|
|
22
34
|
- `.editor-start-template-options__modal__actions`
|
|
35
|
+
- `.editor-text-editor__toolbar`
|
|
23
36
|
- `.wp-block-cover__image-background`
|
|
24
37
|
- `.wp-block-cover__inner-container`
|
|
25
38
|
- `.wp-block-cover__video-background`
|
package/_mixins.scss
CHANGED
|
@@ -682,6 +682,18 @@
|
|
|
682
682
|
color: colors.$white;
|
|
683
683
|
background: var(--wp-admin-theme-color);
|
|
684
684
|
}
|
|
685
|
+
|
|
686
|
+
svg {
|
|
687
|
+
@media not (prefers-reduced-motion) {
|
|
688
|
+
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
&.is-pressed {
|
|
693
|
+
svg {
|
|
694
|
+
transform: rotate(45deg);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
685
697
|
}
|
|
686
698
|
|
|
687
699
|
@mixin selected-block-outline($widthRatio: 1) {
|
package/_z-index.scss
CHANGED
|
@@ -6,11 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
$z-layers: (
|
|
8
8
|
".block-editor-block-list__block.is-selected": 20,
|
|
9
|
-
".editor-text-editor__toolbar": 1,
|
|
10
9
|
|
|
11
|
-
".components-modal__header": 10,
|
|
12
|
-
".edit-post-meta-boxes-area.is-loading::before": 1,
|
|
13
|
-
".edit-post-meta-boxes-area .spinner": 5,
|
|
14
10
|
".edit-post-layout__footer": 30,
|
|
15
11
|
".interface-interface-skeleton__header": 30,
|
|
16
12
|
".interface-interface-skeleton__content": 20,
|
|
@@ -128,15 +124,6 @@ $z-layers: (
|
|
|
128
124
|
// Appear under the topbar.
|
|
129
125
|
".customize-widgets__block-toolbar": 7,
|
|
130
126
|
|
|
131
|
-
// Ensure checkbox + actions don't overlap table header
|
|
132
|
-
".dataviews-view-table thead": 1,
|
|
133
|
-
|
|
134
|
-
// Ensure selection checkbox stays above the preview field.
|
|
135
|
-
".dataviews-view-grid__card .dataviews-selection-checkbox": 1,
|
|
136
|
-
|
|
137
|
-
// Ensure footer stays above the preview field.
|
|
138
|
-
".dataviews-footer": 2,
|
|
139
|
-
|
|
140
127
|
// Needs to be below media library (.media-model) that has a z-index of 160000.
|
|
141
128
|
".components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown": 160000 - 10,
|
|
142
129
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.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",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "d653c5fd6161571a0c2ebde28553d6e25624eacc"
|
|
49
49
|
}
|