Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 92 additions & 92 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@vitejs/plugin-react": "^5.1.2",
"@wordpress/dependency-extraction-webpack-plugin": "^6.36.0",
"@wordpress/env": "^10.18.0",
"@wordpress/eslint-plugin": "^24.0.0",
"@wordpress/eslint-plugin": "^24.3.0",
"@wordpress/prettier-config": "^4.38.0",
"eslint": "^8.57",
"eslint-import-resolver-typescript": "^4.4.4",
Expand Down
2 changes: 1 addition & 1 deletion src/components/default-block-appender/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import './style.scss';
* Renders a hidden button that, when clicked, inserts a new paragraph block
* at the end of the block editor.
*
* @return {JSX.Element} The rendered button element.
* @return {Element} The rendered button element.
*/
export default function DefaultBlockAppender() {
const { insertBlock } = useDispatch( blockEditorStore );
Expand Down
2 changes: 1 addition & 1 deletion src/components/editor-load-error/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import './style.scss';
* @param {Object} props Component props
* @param {string} props.error Error message displayed in the notice
*
* @return {JSX.Element} Editor load error component
* @return {Element} Editor load error component
*/
const EditorLoadError = ( { error } ) => {
const errorMessage = error.message || error;
Expand Down
2 changes: 1 addition & 1 deletion src/components/editor-load-notice/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const pluginLoadFailedNotice = __(
* @param {string} props.className Additional class names to apply.
* @param {boolean} props.pluginLoadFailed Whether plugin loading failed.
*
* @return {?JSX.Element} The rendered component or null if no notice is present.
* @return {?Element} The rendered component or null if no notice is present.
*/
export default function EditorLoadNotice( { className, pluginLoadFailed } ) {
const { notice, clearNotice } = useEditorLoadNotice(
Expand Down
2 changes: 1 addition & 1 deletion src/components/editor-toolbar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { useScrollIndicators } from './use-scroll-indicators';
*
* @param {Object} props Component props.
* @param {string} props.className Component classes.
* @return {JSX.Element} The rendered editor toolbar component.
* @return {Element} The rendered editor toolbar component.
*/
const EditorToolbar = ( { className } ) => {
const { enableNativeBlockInserter } = getGBKit();
Expand Down
2 changes: 1 addition & 1 deletion src/components/editor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { usePlusAutocompleter } from './use-plus-autocompleter';
* @param {boolean} props.hideTitle Whether to hide the title input.
* @param {import('@wordpress/element').Element} props.children The children to render in the editor.
*
* @return {JSX.Element} The rendered App component.
* @return {Element} The rendered App component.
*/
export default function Editor( { post, children, hideTitle } ) {
const editorRef = useRef( null );
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import './style.scss';
* @param {Object} props The settings passed along to the Editor component.
* @param {boolean} props.pluginLoadFailed Whether plugin loading failed.
*
* @return {JSX.Element} The rendered Layout component.
* @return {Element} The rendered Layout component.
*/
export default function Layout( props ) {
const { pluginLoadFailed, ...editorProps } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/components/text-editor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import './style.scss';
* @param {Object} props Component props.
* @param {boolean} props.hideTitle Whether to hide the title input.
*
* @return {JSX.Element} The rendered text editor component.
* @return {Element} The rendered text editor component.
*/
export default function TextEditor( { hideTitle } ) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/visual-editor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const alignCSS = `.is-root-container.alignwide { max-width: var(--wp--style--glo
* @param {Object} props Component props.
* @param {boolean} props.hideTitle Whether to hide the title input.
*
* @return {JSX.Element} The rendered Editor component.
* @return {Element} The rendered Editor component.
*/
function VisualEditor( { hideTitle } ) {
const editorPostTitleRef = useRef();
Expand Down
Loading