@types/wordpress__block-editor 11.5.16 → 11.5.17

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.
@@ -8,7 +8,7 @@ This package contains type definitions for @wordpress/block-editor (https://gith
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 05 Dec 2024 19:32:25 GMT
11
+ * Last updated: Thu, 03 Jul 2025 19:32:44 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/wordpress__blocks](https://npmjs.com/package/@types/wordpress__blocks), [@wordpress/components](https://npmjs.com/package/@wordpress/components), [@wordpress/data](https://npmjs.com/package/@wordpress/data), [@wordpress/element](https://npmjs.com/package/@wordpress/element), [@wordpress/keycodes](https://npmjs.com/package/@wordpress/keycodes), [react-autosize-textarea](https://npmjs.com/package/react-autosize-textarea)
13
13
 
14
14
  # Credits
@@ -60,4 +60,7 @@ export { default as BlockEditorProvider } from "./provider";
60
60
  /*
61
61
  * Hooks
62
62
  */
63
+ export { useBlockBindingsUtils } from "./use-block-bindings-utils";
64
+ export { useBlockEditContext } from "./use-block-edit-context";
63
65
  export { useBlockProps } from "./use-block-props";
66
+ export { useSettings } from "./use-settings";
@@ -0,0 +1,6 @@
1
+ export function useBlockBindingsUtils(clientId?: string): {
2
+ updateBlockBindings(
3
+ bindings: { [binding: string]: { source: string; args?: { [key: string]: unknown } } | undefined },
4
+ ): void;
5
+ removeAllBlockBindings(): void;
6
+ };
@@ -0,0 +1 @@
1
+ export function useBlockEditContext(): { name: string; isSelected?: boolean; clientId: string; layout: unknown };
@@ -0,0 +1 @@
1
+ export function useSettings(...paths: string[]): any[];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/wordpress__block-editor",
3
- "version": "11.5.16",
3
+ "version": "11.5.17",
4
4
  "description": "TypeScript definitions for @wordpress/block-editor",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor",
6
6
  "license": "MIT",
@@ -32,13 +32,13 @@
32
32
  "dependencies": {
33
33
  "@types/react": "^18",
34
34
  "@types/wordpress__blocks": "*",
35
- "@wordpress/data": "^9.13.0",
36
35
  "@wordpress/components": "^27.2.0",
36
+ "@wordpress/data": "^9.13.0",
37
37
  "@wordpress/element": "^5.0.0",
38
38
  "@wordpress/keycodes": "^3.54.0",
39
39
  "react-autosize-textarea": "^7.1.0"
40
40
  },
41
41
  "peerDependencies": {},
42
- "typesPublisherContentHash": "db730720d92378c418904d15542b7121d9755404ee061fad776451b98443c3aa",
43
- "typeScriptVersion": "5.0"
42
+ "typesPublisherContentHash": "3d0d7ff1be38c6ab388284ed422581dbee8d55560951b514b0ff6ee946592947",
43
+ "typeScriptVersion": "5.1"
44
44
  }