diff --git a/.eslintrc.js b/.eslintrc.js index 0fc37713dce4d..276501ed6d7ce 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -296,6 +296,7 @@ module.exports = { 'RangeControl', 'SearchControl', 'TextareaControl', + 'ToggleControl', 'ToggleGroupControl', 'TreeSelect', ].map( ( componentName ) => ( { diff --git a/packages/block-editor/src/components/global-styles/image-settings-panel.js b/packages/block-editor/src/components/global-styles/image-settings-panel.js index f668e7e5efc24..4ebc20ab20198 100644 --- a/packages/block-editor/src/components/global-styles/image-settings-panel.js +++ b/packages/block-editor/src/components/global-styles/image-settings-panel.js @@ -67,6 +67,7 @@ export default function ImageSettingsPanel( { panelId={ panelId } > { attributes.isLink && ( setAttributes( { diff --git a/packages/block-library/src/details/edit.js b/packages/block-library/src/details/edit.js index 3432c00d7ab0c..314556ba6d591 100644 --- a/packages/block-library/src/details/edit.js +++ b/packages/block-library/src/details/edit.js @@ -48,6 +48,7 @@ function DetailsEdit( { attributes, setAttributes, clientId } ) { diff --git a/packages/block-library/src/latest-posts/edit.js b/packages/block-library/src/latest-posts/edit.js index ce8f75c671c83..49a24b08f68d7 100644 --- a/packages/block-library/src/latest-posts/edit.js +++ b/packages/block-library/src/latest-posts/edit.js @@ -202,6 +202,7 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { diff --git a/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js b/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js index 293baead3f5c6..e1001cda4dab3 100644 --- a/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js +++ b/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js @@ -36,6 +36,7 @@ export default function EnhancedPaginationControl( { return ( <> diff --git a/packages/components/src/toggle-control/README.md b/packages/components/src/toggle-control/README.md index 3a77ef6942d2e..cf480360265ed 100644 --- a/packages/components/src/toggle-control/README.md +++ b/packages/components/src/toggle-control/README.md @@ -15,6 +15,7 @@ const MyToggleControl = () => { return ( setValue( ( state ) => ! state ) } diff --git a/packages/edit-post/src/components/init-pattern-modal/index.js b/packages/edit-post/src/components/init-pattern-modal/index.js index a40ffc5dc5856..bb448953364f0 100644 --- a/packages/edit-post/src/components/init-pattern-modal/index.js +++ b/packages/edit-post/src/components/init-pattern-modal/index.js @@ -74,6 +74,7 @@ export default function InitPatternModal() { __next40pxDefaultSize />