@wordpress/element
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -142,3 +142,3 @@ /** | ||
/** | ||
* @see https://reactjs.org/docs/hooks-reference.html#useeffect | ||
* @see https://react.dev/reference/react/useEffect | ||
*/ | ||
@@ -145,0 +145,0 @@ export { useEffect }; |
@@ -39,3 +39,3 @@ export default createInterpolateElement; | ||
*/ | ||
export type Element = import('react').ReactElement; | ||
export type Element = import("react").ReactElement; | ||
/** | ||
@@ -42,0 +42,0 @@ * This function creates an interpolated element from a passed in string with |
@@ -17,3 +17,3 @@ /** @typedef {{children: string} & import('react').ComponentPropsWithoutRef<'div'>} RawHTMLProps */ | ||
children: string; | ||
} & import('react').ComponentPropsWithoutRef<'div'>; | ||
} & import("react").ComponentPropsWithoutRef<"div">; | ||
//# sourceMappingURL=raw-html.d.ts.map |
@@ -21,15 +21,15 @@ /** | ||
*/ | ||
export type Element = import('react').ReactElement; | ||
export type Element = import("react").ReactElement; | ||
/** | ||
* Object containing a React component. | ||
*/ | ||
export type ComponentType = import('react').ComponentType; | ||
export type ComponentType = import("react").ComponentType; | ||
/** | ||
* Object containing a React synthetic event. | ||
*/ | ||
export type SyntheticEvent = import('react').SyntheticEvent; | ||
export type SyntheticEvent = import("react").SyntheticEvent; | ||
/** | ||
* <T> | ||
*/ | ||
export type RefObject<T> = import('react').RefObject<T>; | ||
export type RefObject<T> = import("react").RefObject<T>; | ||
import { Children } from 'react'; | ||
@@ -36,0 +36,0 @@ import { cloneElement } from 'react'; |
@@ -20,3 +20,3 @@ /** | ||
*/ | ||
export function renderElement(element: import('react').ReactNode, context?: any, legacyContext?: any): string; | ||
export function renderElement(element: import("react").ReactNode, context?: any, legacyContext?: any): string; | ||
/** | ||
@@ -63,4 +63,4 @@ * Serializes a native component type to string. | ||
export default renderElement; | ||
export type ComponentType = import('react').ComponentType; | ||
export type ReactElement = import('react').ReactElement; | ||
export type ComponentType = import("react").ComponentType; | ||
export type ReactElement = import("react").ReactElement; | ||
//# sourceMappingURL=serialize.d.ts.map |
@@ -314,3 +314,3 @@ "use strict"; | ||
/** | ||
* @see https://reactjs.org/docs/hooks-reference.html#useeffect | ||
* @see https://react.dev/reference/react/useEffect | ||
*/ | ||
@@ -317,0 +317,0 @@ |
@@ -5,2 +5,4 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. --> | ||
## 6.4.0 (2024-07-24) | ||
## 6.3.0 (2024-07-10) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@wordpress/element", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "Element React module for WordPress.", | ||
@@ -35,3 +35,3 @@ "author": "The WordPress Contributors", | ||
"@types/react-dom": "^18.2.25", | ||
"@wordpress/escape-html": "^3.3.0", | ||
"@wordpress/escape-html": "^3.4.0", | ||
"change-case": "^4.1.2", | ||
@@ -45,3 +45,3 @@ "is-plain-object": "^5.0.0", | ||
}, | ||
"gitHead": "122867d355ca4edc63d3a3bbd9411d3a2e1458df" | ||
"gitHead": "363edb39b8dda8727f652e42cbb8497732693ed2" | ||
} |
@@ -374,3 +374,3 @@ # Element | ||
- <https://reactjs.org/docs/hooks-reference.html#useeffect> | ||
- <https://react.dev/reference/react/useEffect> | ||
@@ -377,0 +377,0 @@ ### useId |
@@ -173,3 +173,3 @@ /** | ||
/** | ||
* @see https://reactjs.org/docs/hooks-reference.html#useeffect | ||
* @see https://react.dev/reference/react/useEffect | ||
*/ | ||
@@ -176,0 +176,0 @@ export { useEffect }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
392950