@wordpress/customize-widgets 5.50.1-next.v.202607070741.0 → 5.51.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
+ ## 5.51.0 (2026-07-14)
6
+
7
+ ### Enhancements
8
+
9
+ - Widen React peer dependency ranges to `^18 || ^19` to support both React 18 and React 19 environments ([#80024](https://github.com/WordPress/gutenberg/pull/80024)).
10
+
5
11
  ## 5.50.0 (2026-07-01)
6
12
 
7
13
  ## 5.49.0 (2026-06-24)
@@ -217,7 +217,7 @@
217
217
  }
218
218
  .customize-widgets-keyboard-shortcut-help-modal__section-title {
219
219
  font-size: 0.9rem;
220
- font-weight: 600;
220
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
221
221
  }
222
222
  .customize-widgets-keyboard-shortcut-help-modal__shortcut {
223
223
  display: flex;
@@ -233,7 +233,7 @@
233
233
  display: none;
234
234
  }
235
235
  .customize-widgets-keyboard-shortcut-help-modal__shortcut-term {
236
- font-weight: 600;
236
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
237
237
  margin: 0 1rem 0 0;
238
238
  text-align: left;
239
239
  }
@@ -283,7 +283,7 @@
283
283
  }
284
284
  .wrap .customize-widgets-welcome-guide__heading {
285
285
  font-size: 18px;
286
- font-weight: 600;
286
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
287
287
  }
288
288
  .customize-widgets-welcome-guide__text {
289
289
  line-height: 1.7;
@@ -217,7 +217,7 @@
217
217
  }
218
218
  .customize-widgets-keyboard-shortcut-help-modal__section-title {
219
219
  font-size: 0.9rem;
220
- font-weight: 600;
220
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
221
221
  }
222
222
  .customize-widgets-keyboard-shortcut-help-modal__shortcut {
223
223
  display: flex;
@@ -233,7 +233,7 @@
233
233
  display: none;
234
234
  }
235
235
  .customize-widgets-keyboard-shortcut-help-modal__shortcut-term {
236
- font-weight: 600;
236
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
237
237
  margin: 0 0 0 1rem;
238
238
  text-align: right;
239
239
  }
@@ -283,7 +283,7 @@
283
283
  }
284
284
  .wrap .customize-widgets-welcome-guide__heading {
285
285
  font-size: 18px;
286
- font-weight: 600;
286
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
287
287
  }
288
288
  .customize-widgets-welcome-guide__text {
289
289
  line-height: 1.7;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/customize-widgets",
3
- "version": "5.50.1-next.v.202607070741.0+a51d59513",
3
+ "version": "5.51.0",
4
4
  "description": "Widgets blocks in Customizer Module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -39,28 +39,28 @@
39
39
  },
40
40
  "wpScript": true,
41
41
  "dependencies": {
42
- "@wordpress/base-styles": "^10.3.1-next.v.202607070741.0+a51d59513",
43
- "@wordpress/block-editor": "^16.0.1-next.v.202607070741.0+a51d59513",
44
- "@wordpress/block-library": "^10.1.1-next.v.202607070741.0+a51d59513",
45
- "@wordpress/blocks": "^15.23.1-next.v.202607070741.0+a51d59513",
46
- "@wordpress/components": "^37.0.1-next.v.202607070741.0+a51d59513",
47
- "@wordpress/compose": "^8.3.1-next.v.202607070741.0+a51d59513",
48
- "@wordpress/core-data": "^7.50.1-next.v.202607070741.0+a51d59513",
49
- "@wordpress/data": "^10.50.1-next.v.202607070741.0+a51d59513",
50
- "@wordpress/dom": "^4.50.1-next.v.202607070741.0+a51d59513",
51
- "@wordpress/element": "^8.2.1-next.v.202607070741.0+a51d59513",
52
- "@wordpress/hooks": "^4.50.1-next.v.202607070741.0+a51d59513",
53
- "@wordpress/i18n": "^6.23.1-next.v.202607070741.0+a51d59513",
54
- "@wordpress/icons": "^15.1.1-next.v.202607070741.0+a51d59513",
55
- "@wordpress/interface": "^9.35.1-next.v.202607070741.0+a51d59513",
56
- "@wordpress/is-shallow-equal": "^5.50.1-next.v.202607070741.0+a51d59513",
57
- "@wordpress/keyboard-shortcuts": "^5.50.1-next.v.202607070741.0+a51d59513",
58
- "@wordpress/keycodes": "^4.50.1-next.v.202607070741.0+a51d59513",
59
- "@wordpress/media-utils": "^5.50.1-next.v.202607070741.0+a51d59513",
60
- "@wordpress/preferences": "^4.50.1-next.v.202607070741.0+a51d59513",
61
- "@wordpress/private-apis": "^1.50.1-next.v.202607070741.0+a51d59513",
62
- "@wordpress/ui": "^0.18.1-next.v.202607070741.0+a51d59513",
63
- "@wordpress/widgets": "^4.50.1-next.v.202607070741.0+a51d59513",
42
+ "@wordpress/base-styles": "^11.0.0",
43
+ "@wordpress/block-editor": "^16.0.0",
44
+ "@wordpress/block-library": "^10.2.0",
45
+ "@wordpress/blocks": "^15.24.0",
46
+ "@wordpress/components": "^37.0.0",
47
+ "@wordpress/compose": "^8.4.0",
48
+ "@wordpress/core-data": "^7.51.0",
49
+ "@wordpress/data": "^10.51.0",
50
+ "@wordpress/dom": "^4.51.0",
51
+ "@wordpress/element": "^8.3.0",
52
+ "@wordpress/hooks": "^4.51.0",
53
+ "@wordpress/i18n": "^6.24.0",
54
+ "@wordpress/icons": "^15.2.0",
55
+ "@wordpress/interface": "^9.36.0",
56
+ "@wordpress/is-shallow-equal": "^5.51.0",
57
+ "@wordpress/keyboard-shortcuts": "^5.51.0",
58
+ "@wordpress/keycodes": "^4.51.0",
59
+ "@wordpress/media-utils": "^5.51.0",
60
+ "@wordpress/preferences": "^4.51.0",
61
+ "@wordpress/private-apis": "^1.51.0",
62
+ "@wordpress/ui": "^0.18.0",
63
+ "@wordpress/widgets": "^4.51.0",
64
64
  "clsx": "^2.1.1",
65
65
  "fast-deep-equal": "^3.1.3"
66
66
  },
@@ -69,11 +69,11 @@
69
69
  "@testing-library/react": "^16.3.2"
70
70
  },
71
71
  "peerDependencies": {
72
- "react": "^18.0.0",
73
- "react-dom": "^18.0.0"
72
+ "react": "^18 || ^19",
73
+ "react-dom": "^18 || ^19"
74
74
  },
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "f637726e370c8b23695ed9af82adbe171ad235d8"
78
+ "gitHead": "e9a74f9c14095a34398ecd4d1f7a908e55051205"
79
79
  }
@@ -7,7 +7,7 @@
7
7
 
8
8
  &__section-title {
9
9
  font-size: 0.9rem;
10
- font-weight: 600;
10
+ font-weight: var(--wpds-typography-font-weight-emphasis);
11
11
  }
12
12
 
13
13
  &__shortcut {
@@ -27,7 +27,7 @@
27
27
  }
28
28
 
29
29
  &__shortcut-term {
30
- font-weight: 600;
30
+ font-weight: var(--wpds-typography-font-weight-emphasis);
31
31
  margin: 0 0 0 1rem;
32
32
  text-align: right;
33
33
  }
@@ -1,5 +1,6 @@
1
1
  @use "@wordpress/base-styles/z-index" as *;
2
2
 
3
+ // stylelint-disable selector-class-pattern -- WordPress Customizer control class names use underscores by convention.
3
4
  .customize-control-sidebar_block_editor .block-editor-block-list__block-popover {
4
5
  // FloatingUI library used in Popover component forces us to have an "absolute" inline style.
5
6
  // We need to override this in the customizer.
@@ -13,3 +14,4 @@
13
14
  // We need to override this in the customizer.
14
15
  position: fixed !important;
15
16
  }
17
+ // stylelint-enable selector-class-pattern
@@ -14,7 +14,7 @@
14
14
  // Extra specificity to override `.wrap h1` styles.
15
15
  .wrap &__heading {
16
16
  font-size: 18px;
17
- font-weight: 600;
17
+ font-weight: var(--wpds-typography-font-weight-emphasis);
18
18
  }
19
19
 
20
20
  &__text {
package/src/style.scss CHANGED
@@ -15,7 +15,9 @@
15
15
  }
16
16
 
17
17
  // Include reset CSS for the customizer.
18
+ // stylelint-disable selector-class-pattern -- WordPress Customizer control class names use underscores by convention.
18
19
  .customize-control-sidebar_block_editor,
19
20
  .customize-widgets-layout__inspector {
20
21
  @include reset;
21
22
  }
23
+ // stylelint-enable selector-class-pattern