@wordpress/base-styles 6.17.1-next.v.202603161435.0 → 6.19.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 +8 -0
- package/_mixins.scss +1 -1
- package/_variables.scss +6 -5
- package/_z-index.scss +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 6.19.0 (2026-04-01)
|
|
6
|
+
|
|
7
|
+
## 6.18.0 (2026-03-18)
|
|
8
|
+
|
|
9
|
+
### Deprecations
|
|
10
|
+
|
|
11
|
+
- Deprecate `$modal-min-width`, `$modal-width-small`, `$modal-width-medium`, and `$modal-width-large` SCSS variables in favor of `--wpds-dimension-surface-width-*` design tokens. Variable values have been updated to align with the token scale ([#76494](https://github.com/WordPress/gutenberg/pull/76494)).
|
|
12
|
+
|
|
5
13
|
## 6.17.0 (2026-03-04)
|
|
6
14
|
|
|
7
15
|
## 6.16.0 (2026-02-18)
|
package/_mixins.scss
CHANGED
|
@@ -689,7 +689,7 @@
|
|
|
689
689
|
outline-style: solid;
|
|
690
690
|
outline-width: calc(#{$widthRatio} * (var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)));
|
|
691
691
|
outline-offset: calc(#{$widthRatio} * ((-1 * var(--wp-admin-border-width-focus) ) / var(--wp-block-editor-iframe-zoom-out-scale, 1)));
|
|
692
|
-
box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus
|
|
692
|
+
box-shadow: inset 0 0 0 calc((#{$widthRatio} * (var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) + 0.5px) rgba(colors.$white, 0.7);
|
|
693
693
|
}
|
|
694
694
|
|
|
695
695
|
@mixin selected-block-focus($widthRatio: 1) {
|
package/_variables.scss
CHANGED
|
@@ -105,13 +105,14 @@ $admin-bar-height-big: 46px;
|
|
|
105
105
|
$admin-sidebar-width: 160px;
|
|
106
106
|
$admin-sidebar-width-big: 190px;
|
|
107
107
|
$admin-sidebar-width-collapsed: 36px;
|
|
108
|
-
$modal-min-width: 350px;
|
|
109
|
-
$modal-width-small: 384px;
|
|
110
|
-
$modal-width-medium: 512px;
|
|
111
|
-
$modal-width-large: 840px;
|
|
112
108
|
$spinner-size: 16px;
|
|
113
109
|
$canvas-padding: $grid-unit-20;
|
|
114
|
-
|
|
110
|
+
|
|
111
|
+
// Deprecated, please use --wpds-dimension-surface-width-* design tokens instead.
|
|
112
|
+
$modal-min-width: 320px;
|
|
113
|
+
$modal-width-small: 400px;
|
|
114
|
+
$modal-width-medium: 560px;
|
|
115
|
+
$modal-width-large: 960px;
|
|
115
116
|
|
|
116
117
|
/**
|
|
117
118
|
* Mobile specific styles
|
package/_z-index.scss
CHANGED
|
@@ -137,7 +137,7 @@ $z-layers: (
|
|
|
137
137
|
".editor-post-template__swap-template-modal": 1000001,
|
|
138
138
|
".editor-post-template__create-template-modal": 1000001,
|
|
139
139
|
".edit-site-template-panel__replace-template-modal": 1000001,
|
|
140
|
-
".editor-sync-connection-modal": 1000001,
|
|
140
|
+
".editor-sync-connection-error-modal": 1000001,
|
|
141
141
|
|
|
142
142
|
// Note: The ConfirmDialog component's z-index is being set to 1000001 in packages/components/src/confirm-dialog/styles.ts
|
|
143
143
|
// 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": "6.
|
|
3
|
+
"version": "6.19.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": "2cea90674d11aa521ec3f71652fb3a6a4c383969"
|
|
49
49
|
}
|