@types/wordpress__block-editor 14.21.2 → 14.21.3
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:
|
|
11
|
+
* Last updated: Tue, 23 Dec 2025 18:43:01 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
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JSX } from "react";
|
|
2
|
+
|
|
3
|
+
declare namespace HeadingLevelDropdown {
|
|
4
|
+
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
5
|
+
interface Props {
|
|
6
|
+
options?: HeadingLevel[] | (readonly HeadingLevel[]) | undefined;
|
|
7
|
+
value?: HeadingLevel | undefined;
|
|
8
|
+
onChange?: (value?: HeadingLevel | undefined) => void;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const HeadingLevelDropdown: {
|
|
12
|
+
(props: HeadingLevelDropdown.Props): JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default HeadingLevelDropdown;
|
|
@@ -7,6 +7,7 @@ export { default as BlockAlignmentToolbar } from "./block-alignment-toolbar";
|
|
|
7
7
|
export { default as BlockControls } from "./block-controls";
|
|
8
8
|
export { default as BlockEdit } from "./block-edit";
|
|
9
9
|
export { default as BlockFormatControls } from "./block-format-controls";
|
|
10
|
+
export { default as HeadingLevelDropdown } from "./block-heading-level-dropdown";
|
|
10
11
|
export { default as BlockIcon } from "./block-icon";
|
|
11
12
|
export { default as BlockNavigationDropdown } from "./block-navigation/dropdown";
|
|
12
13
|
export { default as BlockVerticalAlignmentToolbar } from "./block-vertical-alignment-toolbar";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/wordpress__block-editor",
|
|
3
|
-
"version": "14.21.
|
|
3
|
+
"version": "14.21.3",
|
|
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",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
"react-autosize-textarea": "^7.1.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {},
|
|
47
|
-
"typesPublisherContentHash": "
|
|
47
|
+
"typesPublisherContentHash": "071fd13484f77c54b6b0d23b519cbaf465fab5fb890a7044d1ea25ce5cd7144b",
|
|
48
48
|
"typeScriptVersion": "5.2"
|
|
49
49
|
}
|