Skip to content

Commit

Permalink
Roll back changes to external files. I'll update these later in anoth…
Browse files Browse the repository at this point in the history
…er PR.
  • Loading branch information
ramonjd committed Nov 29, 2024
1 parent e18b597 commit 97c723c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
### Internal

- Upgraded `@ariakit/react` (v0.4.13) and `@ariakit/test` (v0.4.5) ([#65907](https://github.com/WordPress/gutenberg/pull/65907)).
- Exported the `WPCompleter` type as it was being used in block-editor/autocompleters ([#67406](https://github.com/WordPress/gutenberg/pull/67406)).

## 28.13.0 (2024-11-27)

Expand Down
1 change: 0 additions & 1 deletion packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export { Heading as __experimentalHeading } from './heading';
export { HStack as __experimentalHStack } from './h-stack';
export { default as Icon } from './icon';
export type { IconType } from './icon';
export type { WPCompleter } from './autocomplete/types.ts';
export { default as IconButton } from './button/deprecated';
export {
ItemGroup as __experimentalItemGroup,
Expand Down
5 changes: 2 additions & 3 deletions packages/editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ Wrapper component that renders its children only if the post can trashed.
_Parameters_

- _props_ `Object`: - The component props.
- _props.children_ `React.ReactElement`: - The child components to render.
- _props.children_ `React.ReactEl`: - The child components to render.

_Returns_

Expand Down Expand Up @@ -1515,8 +1515,7 @@ _Usage_

_Parameters_

- _props_ `{ onClose: () => void }`: The props for the component.
- _props.onClose_ `() => void`: Callback function to be executed when the popover is closed.
- _onClose_ `Function`: Callback function to be executed when the popover is closed.

_Returns_

Expand Down
4 changes: 2 additions & 2 deletions packages/editor/src/components/post-trash/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { GLOBAL_POST_TYPES } from '../../store/constants';
/**
* Wrapper component that renders its children only if the post can trashed.
*
* @param {Object} props - The component props.
* @param {React.ReactElement} props.children - The child components to render.
* @param {Object} props - The component props.
* @param {React.ReactEl} props.children - The child components to render.
*
* @return {React.ReactElement} The rendered child components or null if the post can not trashed.
*/
Expand Down
3 changes: 1 addition & 2 deletions packages/editor/src/components/post-url/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ import { store as editorStore } from '../../store';
* <PostURL />
* ```
*
* @param {{ onClose: () => void }} props The props for the component.
* @param {() => void} props.onClose Callback function to be executed when the popover is closed.
* @param {Function} onClose Callback function to be executed when the popover is closed.
*
* @return {React.ReactNode} The rendered PostURL component.
*/
Expand Down

0 comments on commit 97c723c

Please sign in to comment.