@wordpress/keyboard-shortcuts 5.48.0 → 5.48.2-next.v.202606191442.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,7 +2,13 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- ## 5.48.0 (2026-06-04)
5
+ ## 5.48.1 (2026-06-16)
6
+
7
+ ## 5.48.0 (2026-06-10)
8
+
9
+ ### Code Quality
10
+
11
+ - Add missing `@types/react` dependency. [#78882](https://github.com/WordPress/gutenberg/pull/78882).
6
12
 
7
13
  ## 5.47.0 (2026-05-27)
8
14
 
@@ -232,7 +232,7 @@ export declare function getShortcutAliases(state: ShortcutsState, name: string):
232
232
  *
233
233
  * @return {ShortcutKeyCombination[]} Key combinations.
234
234
  */
235
- export declare const getAllShortcutKeyCombinations: ((state: any, name: any) => ShortcutKeyCombination[]) & import("rememo").EnhancedSelector;
235
+ export declare const getAllShortcutKeyCombinations: ((state: any, name: any) => ShortcutKeyCombination[]) & import("@wordpress/data").EnhancedSelector;
236
236
  /**
237
237
  * Returns the raw representation of all the keyboard combinations of a given shortcut name.
238
238
  *
@@ -282,7 +282,7 @@ export declare const getAllShortcutKeyCombinations: ((state: any, name: any) =>
282
282
  *
283
283
  * @return {string[]} Shortcuts.
284
284
  */
285
- export declare const getAllShortcutRawKeyCombinations: ((state: any, name: any) => (string | null)[]) & import("rememo").EnhancedSelector;
285
+ export declare const getAllShortcutRawKeyCombinations: ((state: any, name: any) => (string | null)[]) & import("@wordpress/data").EnhancedSelector;
286
286
  /**
287
287
  * Returns the shortcut names list for a given category name.
288
288
  *
@@ -316,6 +316,6 @@ export declare const getAllShortcutRawKeyCombinations: ((state: any, name: any)
316
316
  *```
317
317
  * @return {string[]} Shortcut names.
318
318
  */
319
- export declare const getCategoryShortcuts: ((state: ShortcutsState, categoryName: string) => string[]) & import("rememo").EnhancedSelector;
319
+ export declare const getCategoryShortcuts: ((state: ShortcutsState, categoryName: string) => string[]) & import("@wordpress/data").EnhancedSelector;
320
320
  export {};
321
321
  //# sourceMappingURL=selectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAExD,UAAU,aAAa;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,sBAAsB,CAAC;IACvC,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,cAAc,GAAG,MAAM,CAAE,MAAM,EAAE,aAAa,CAAE,CAAC;AAQtD;;GAEG;AACH,QAAA,MAAM,kBAAkB;IACvB;;OAEG;IACH,OAAO;IACP;;OAEG;IACH,GAAG;IACH;;OAEG;IACH,SAAS;CACT,CAAC;AA0BF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAAgB,yBAAyB,CACxC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,sBAAsB,GAAG,IAAI,CAE/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,yBAAyB,CACxC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,EACZ,cAAc,GAAE,MAAM,OAAO,kBAA8B,GACzD,MAAM,GAAG,IAAI,CAGf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,sBAAsB,CACrC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,MAAM,GAAG,IAAI,CAEf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV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;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,sBAAsB,CACrC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,MAAM,GAAG,IAAI,CAEf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,GACV,sBAAsB,EAAE,CAI1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,eAAO,MAAM,6BAA6B,oGAWzC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,eAAO,MAAM,gCAAgC,6FAQ5C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,oBAAoB,WACvB,cAAc,gBAAgB,MAAM,KAAI,MAAM,EAAE,8CAMzD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/keyboard-shortcuts",
3
- "version": "5.48.0",
3
+ "version": "5.48.2-next.v.202606191442.0+17fe7db8a",
4
4
  "description": "Handling keyboard shortcuts.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -39,19 +39,24 @@
39
39
  },
40
40
  "./package.json": "./package.json"
41
41
  },
42
- "react-native": "src/index",
43
42
  "wpScript": true,
44
43
  "types": "build-types/index.d.ts",
45
44
  "dependencies": {
46
- "@wordpress/data": "^10.48.0",
47
- "@wordpress/element": "^8.0.0",
48
- "@wordpress/keycodes": "^4.48.0"
45
+ "@wordpress/data": "^10.48.2-next.v.202606191442.0+17fe7db8a",
46
+ "@wordpress/element": "^8.0.2-next.v.202606191442.0+17fe7db8a",
47
+ "@wordpress/keycodes": "^4.48.2-next.v.202606191442.0+17fe7db8a"
49
48
  },
50
49
  "peerDependencies": {
50
+ "@types/react": "^18.3.27",
51
51
  "react": "^18.0.0"
52
52
  },
53
+ "peerDependenciesMeta": {
54
+ "@types/react": {
55
+ "optional": true
56
+ }
57
+ },
53
58
  "publishConfig": {
54
59
  "access": "public"
55
60
  },
56
- "gitHead": "e7856693aeb4e2522d13608cd32c994e4a97cb9c"
61
+ "gitHead": "1b6a19222df5a88f161880b5789efb3171d8f425"
57
62
  }
@@ -1,3 +0,0 @@
1
- declare const useShortcut: () => null;
2
- export default useShortcut;
3
- //# sourceMappingURL=use-shortcut.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-shortcut.native.d.ts","sourceRoot":"","sources":["../../src/hooks/use-shortcut.native.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,YAAa,CAAC;eAChB,WAAW"}
@@ -1,2 +0,0 @@
1
- const useShortcut = () => null;
2
- export default useShortcut;