@wordpress/base-styles 4.48.0 → 5.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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 5.0.0 (2024-05-31)
6
+
7
+ ### Breaking Changes
8
+
9
+ - Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases).
10
+
11
+ ## 4.49.0 (2024-05-16)
12
+
5
13
  ## 4.48.0 (2024-05-02)
6
14
 
7
15
  ## 4.47.0 (2024-04-19)
package/_mixins.scss CHANGED
@@ -284,9 +284,8 @@
284
284
  display: inline-block;
285
285
  vertical-align: middle;
286
286
  width: 16px;
287
- /* stylelint-disable */
287
+ /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
288
288
  font: normal 30px/1 dashicons;
289
- /* stylelint-enable */
290
289
  speak: none;
291
290
  -webkit-font-smoothing: antialiased;
292
291
  -moz-osx-font-smoothing: grayscale;
@@ -317,10 +316,14 @@
317
316
  border-radius: $radius-round;
318
317
  width: $radio-input-size-sm;
319
318
  height: $radio-input-size-sm;
319
+ min-width: $radio-input-size-sm;
320
+ max-width: $radio-input-size-sm;
320
321
 
321
322
  @include break-small() {
322
323
  height: $radio-input-size;
323
324
  width: $radio-input-size;
325
+ min-width: $radio-input-size;
326
+ max-width: $radio-input-size;
324
327
  }
325
328
 
326
329
  &:checked::before {
@@ -518,12 +521,9 @@
518
521
 
519
522
  // Deprecated from UI, kept for back-compat.
520
523
  @mixin gradient-colors-deprecated() {
521
- /*
522
- * Our classes uses the same values we set for gradient value attributes,
523
- * and we can not use spacing because of WP multi site kses rule.
524
- */
524
+ // Our classes uses the same values we set for gradient value attributes.
525
525
 
526
- /* stylelint-disable function-comma-space-after */
526
+ /* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
527
527
  .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
528
528
  background: linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%);
529
529
  }
package/_z-index.scss CHANGED
@@ -10,8 +10,7 @@ $z-layers: (
10
10
  ".block-library-classic__toolbar": 31, // When scrolled to top this toolbar needs to sit over block-editor-block-toolbar
11
11
  ".block-editor-block-list__block-selection-button": 22,
12
12
  ".components-form-toggle__input": 1,
13
- ".edit-post-text-editor__toolbar": 1,
14
- ".edit-site-code-editor__toolbar": 1,
13
+ ".editor-text-editor__toolbar": 1,
15
14
 
16
15
  // These next three share a stacking context
17
16
  ".block-library-template-part__selection-search": 2, // higher sticky element
@@ -126,7 +125,7 @@ $z-layers: (
126
125
  // Should be above the popover (dropdown)
127
126
  ".reusable-blocks-menu-items__convert-modal": 1000001,
128
127
  ".patterns-menu-items__convert-modal": 1000001,
129
- ".edit-site-create-template-part-modal": 1000001,
128
+ ".editor-create-template-part-modal": 1000001,
130
129
  ".block-editor-block-lock-modal": 1000001,
131
130
  ".block-editor-template-part__selection-modal": 1000001,
132
131
  ".block-editor-block-rename-modal": 1000001,
@@ -195,7 +194,6 @@ $z-layers: (
195
194
  ".edit-site-layout__hub": 3,
196
195
  ".edit-site-page-header": 2,
197
196
  ".edit-site-page-content": 1,
198
- ".edit-site-patterns__header": 2,
199
197
  ".edit-site-patterns__dataviews-list-pagination": 2,
200
198
  ".edit-site-templates__dataviews-list-pagination": 2,
201
199
  ".edit-site-layout__canvas-container": 2,
@@ -205,10 +203,13 @@ $z-layers: (
205
203
  ".edit-site-sidebar-navigation-screen__title-icon": 1,
206
204
 
207
205
  // Ensure modal footer actions appear above modal contents
208
- ".edit-site-start-template-options__modal__actions": 1,
206
+ ".editor-start-template-options__modal__actions": 1,
209
207
 
210
208
  // Ensure checkbox + actions don't overlap table header
211
209
  ".dataviews-view-table thead": 1,
210
+
211
+ // Ensure quick actions toolbar appear above pagination
212
+ ".dataviews-bulk-actions": 2,
212
213
  );
213
214
 
214
215
  @function z-index( $key ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "4.48.0",
3
+ "version": "5.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",
@@ -20,8 +20,12 @@
20
20
  "bugs": {
21
21
  "url": "https://github.com/WordPress/gutenberg/issues"
22
22
  },
23
+ "engines": {
24
+ "node": ">=18.12.0",
25
+ "npm": ">=8.19.2"
26
+ },
23
27
  "publishConfig": {
24
28
  "access": "public"
25
29
  },
26
- "gitHead": "581d8a5580dba8f600b7268d51eb554771ae482c"
30
+ "gitHead": "2f30cddff15723ac7017fd009fc5913b7b419400"
27
31
  }