@types/wordpress__block-editor 11.5.7 → 11.5.8

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: Tue, 07 Nov 2023 15:11:36 GMT
11
+ * Last updated: Mon, 04 Dec 2023 18:07:56 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/wordpress__blocks](https://npmjs.com/package/@types/wordpress__blocks), [@types/wordpress__components](https://npmjs.com/package/@types/wordpress__components), [@types/wordpress__keycodes](https://npmjs.com/package/@types/wordpress__keycodes), [@wordpress/data](https://npmjs.com/package/@wordpress/data), [@wordpress/element](https://npmjs.com/package/@wordpress/element), [react-autosize-textarea](https://npmjs.com/package/react-autosize-textarea)
13
13
 
14
14
  # Credits
@@ -1,5 +1,5 @@
1
1
  import { Dashicon } from "@wordpress/components";
2
- import { ComponentType } from "react";
2
+ import { ComponentType, JSX } from "react";
3
3
 
4
4
  declare namespace AlignmentToolbar {
5
5
  interface Props {
@@ -1,5 +1,5 @@
1
1
  import { Slot, Toolbar } from "@wordpress/components";
2
- import { FC, ReactNode } from "react";
2
+ import { FC, JSX, ReactNode } from "react";
3
3
 
4
4
  declare namespace BlockControls {
5
5
  interface Props extends Pick<Toolbar.Props, "controls"> {
@@ -1,5 +1,5 @@
1
1
  import { Slot } from "@wordpress/components";
2
- import { FC, ReactNode } from "react";
2
+ import { FC, JSX, ReactNode } from "react";
3
3
 
4
4
  declare namespace BlockFormatControls {
5
5
  interface Props {
@@ -1,4 +1,4 @@
1
- import { ComponentType } from "react";
1
+ import { ComponentType, JSX } from "react";
2
2
 
3
3
  declare namespace BlockList {
4
4
  interface Props {
@@ -1,5 +1,5 @@
1
1
  import { TemplateArray } from "@wordpress/blocks";
2
- import { ComponentType, Ref } from "react";
2
+ import { ComponentType, JSX, Ref } from "react";
3
3
 
4
4
  import { EditorTemplateLock } from "../";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { Slot } from "@wordpress/components";
2
- import { FC, ReactNode } from "react";
2
+ import { FC, JSX, ReactNode } from "react";
3
3
 
4
4
  declare namespace InspectorAdvancedControls {
5
5
  interface Props {
@@ -1,5 +1,5 @@
1
1
  import { Slot } from "@wordpress/components";
2
- import { FC, ReactNode } from "react";
2
+ import { FC, JSX, ReactNode } from "react";
3
3
 
4
4
  declare namespace InspectorControls {
5
5
  interface Props {
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @definitelytyped/no-unnecessary-generics */
2
2
  import { Dashicon, DropZone } from "@wordpress/components";
3
- import { ComponentType, MouseEventHandler } from "react";
3
+ import { ComponentType, JSX, MouseEventHandler } from "react";
4
4
 
5
5
  declare namespace MediaPlaceholder {
6
6
  type MediaPlaceholderMultipleAction = "add";
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @definitelytyped/no-unnecessary-generics */
2
- import { ComponentType } from "react";
2
+ import { ComponentType, JSX } from "react";
3
3
 
4
4
  import { default as MediaPlaceholder } from "../media-placeholder";
5
5
 
@@ -2,7 +2,7 @@
2
2
  import { BlockInstance } from "@wordpress/blocks";
3
3
  import { Autocomplete, ToolbarButton } from "@wordpress/components";
4
4
  import { displayShortcut, rawShortcut } from "@wordpress/keycodes";
5
- import { ComponentType, HTMLProps, ReactNode } from "react";
5
+ import { ComponentType, HTMLProps, JSX, ReactNode } from "react";
6
6
 
7
7
  declare namespace RichText {
8
8
  interface Props<T extends keyof HTMLElementTagNameMap> extends Omit<HTMLProps<T>, "onChange"> {
@@ -1,5 +1,5 @@
1
1
  import { Popover } from "@wordpress/components";
2
- import { ComponentType, ReactNode } from "react";
2
+ import { ComponentType, JSX, ReactNode } from "react";
3
3
 
4
4
  declare namespace URLPopover {
5
5
  interface Props extends Popover.Props {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/wordpress__block-editor",
3
- "version": "11.5.7",
3
+ "version": "11.5.8",
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",
@@ -38,6 +38,6 @@
38
38
  "@wordpress/element": "^5.0.0",
39
39
  "react-autosize-textarea": "^7.1.0"
40
40
  },
41
- "typesPublisherContentHash": "e11753b2a6a25a76da6bbda4f667056f53236e5cc7576eb116b8c79f3a72a709",
42
- "typeScriptVersion": "4.5"
41
+ "typesPublisherContentHash": "99bfcc14d5dd22d03b9542fbe18c23da01b1a3e74086734a0c0c9c2d36457c6e",
42
+ "typeScriptVersion": "4.6"
43
43
  }