@wordpress/commands 1.50.1-next.v.202607070741.0 → 1.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,13 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.51.0 (2026-07-14)
6
+
7
+ ### Enhancements
8
+
9
+ - Use the emphasis font-weight token for UI emphasis ([#80093](https://github.com/WordPress/gutenberg/pull/80093)).
10
+ - 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)).
11
+
5
12
  ## 1.50.0 (2026-07-01)
6
13
 
7
14
  ## 1.49.0 (2026-06-24)
@@ -232,7 +232,7 @@
232
232
  padding: 8px 16px;
233
233
  line-height: 16px;
234
234
  font-size: 11px;
235
- font-weight: 499;
235
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
236
236
  text-transform: uppercase;
237
237
  color: #1e1e1e;
238
238
  }
@@ -276,5 +276,5 @@
276
276
  .commands-command-menu__item mark {
277
277
  color: inherit;
278
278
  background: unset;
279
- font-weight: 600;
279
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
280
280
  }
@@ -232,7 +232,7 @@
232
232
  padding: 8px 16px;
233
233
  line-height: 16px;
234
234
  font-size: 11px;
235
- font-weight: 499;
235
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
236
236
  text-transform: uppercase;
237
237
  color: #1e1e1e;
238
238
  }
@@ -276,5 +276,5 @@
276
276
  .commands-command-menu__item mark {
277
277
  color: inherit;
278
278
  background: unset;
279
- font-weight: 600;
279
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
280
280
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/commands",
3
- "version": "1.50.1-next.v.202607070741.0+a51d59513",
3
+ "version": "1.51.0",
4
4
  "description": "Handles the commands menu.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -43,25 +43,25 @@
43
43
  },
44
44
  "wpScript": true,
45
45
  "dependencies": {
46
- "@wordpress/base-styles": "^10.3.1-next.v.202607070741.0+a51d59513",
47
- "@wordpress/components": "^37.0.1-next.v.202607070741.0+a51d59513",
48
- "@wordpress/data": "^10.50.1-next.v.202607070741.0+a51d59513",
49
- "@wordpress/element": "^8.2.1-next.v.202607070741.0+a51d59513",
50
- "@wordpress/i18n": "^6.23.1-next.v.202607070741.0+a51d59513",
51
- "@wordpress/icons": "^15.1.1-next.v.202607070741.0+a51d59513",
52
- "@wordpress/keyboard-shortcuts": "^5.50.1-next.v.202607070741.0+a51d59513",
53
- "@wordpress/preferences": "^4.50.1-next.v.202607070741.0+a51d59513",
54
- "@wordpress/private-apis": "^1.50.1-next.v.202607070741.0+a51d59513",
55
- "@wordpress/warning": "^3.50.1-next.v.202607070741.0+a51d59513",
46
+ "@wordpress/base-styles": "^11.0.0",
47
+ "@wordpress/components": "^37.0.0",
48
+ "@wordpress/data": "^10.51.0",
49
+ "@wordpress/element": "^8.3.0",
50
+ "@wordpress/i18n": "^6.24.0",
51
+ "@wordpress/icons": "^15.2.0",
52
+ "@wordpress/keyboard-shortcuts": "^5.51.0",
53
+ "@wordpress/preferences": "^4.51.0",
54
+ "@wordpress/private-apis": "^1.51.0",
55
+ "@wordpress/warning": "^3.51.0",
56
56
  "clsx": "^2.1.1",
57
57
  "cmdk": "^1.0.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "react": "^18.0.0",
61
- "react-dom": "^18.0.0"
60
+ "react": "^18 || ^19",
61
+ "react-dom": "^18 || ^19"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "f637726e370c8b23695ed9af82adbe171ad235d8"
66
+ "gitHead": "e9a74f9c14095a34398ecd4d1f7a908e55051205"
67
67
  }
@@ -144,7 +144,7 @@ $palette-header-height: 48px;
144
144
  padding: $grid-unit-10 $grid-unit-20;
145
145
  line-height: $grid-unit-20;
146
146
  font-size: $font-size-x-small;
147
- font-weight: $font-weight-medium;
147
+ font-weight: var(--wpds-typography-font-weight-emphasis);
148
148
  text-transform: uppercase;
149
149
  color: $gray-900;
150
150
  }
@@ -196,5 +196,5 @@ $palette-header-height: 48px;
196
196
  .commands-command-menu__item mark {
197
197
  color: inherit;
198
198
  background: unset;
199
- font-weight: 600;
199
+ font-weight: var(--wpds-typography-font-weight-emphasis);
200
200
  }