@wordpress/base-styles 6.17.1-next.v.202603102151.0 → 6.18.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 CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 6.18.0 (2026-03-18)
6
+
7
+ ### Deprecations
8
+
9
+ - 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)).
10
+
5
11
  ## 6.17.0 (2026-03-04)
6
12
 
7
13
  ## 6.16.0 (2026-02-18)
package/_mixins.scss CHANGED
@@ -689,6 +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, #{variables.$border-width-focus-fallback}) + #{variables.$border-width}) colors.$white, 0 0 0 variables.$border-width colors.$white, variables.$elevation-x-small;
692
693
  }
693
694
 
694
695
  @mixin selected-block-focus($widthRatio: 1) {
package/_variables.scss CHANGED
@@ -105,14 +105,16 @@ $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
  $palette-max-height: 368px;
115
111
 
112
+ // Deprecated, please use --wpds-dimension-surface-width-* design tokens instead.
113
+ $modal-min-width: 320px;
114
+ $modal-width-small: 400px;
115
+ $modal-width-medium: 560px;
116
+ $modal-width-large: 960px;
117
+
116
118
  /**
117
119
  * Mobile specific styles
118
120
  */
package/_z-index.scss CHANGED
@@ -137,6 +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-error-modal": 1000001,
140
141
 
141
142
  // Note: The ConfirmDialog component's z-index is being set to 1000001 in packages/components/src/confirm-dialog/styles.ts
142
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.17.1-next.v.202603102151.0+59e17f9ec",
3
+ "version": "6.18.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": "86db21e727d89e8f0dbba9300d2f97fd22b08693"
48
+ "gitHead": "c20787b1778ae64c2db65643b1c236309d68e6ba"
49
49
  }