diff --git a/.eslintrc.js b/.eslintrc.js index c15afbcf02aa93..4385f528f44dbb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -290,7 +290,10 @@ module.exports = { ...restrictedSyntax, ...restrictedSyntaxComponents, ...[ + 'CheckboxControl', + 'ComboboxControl', 'FocalPointPicker', + 'SearchControl', 'TextareaControl', 'TreeSelect', ].map( ( componentName ) => ( { diff --git a/packages/block-editor/src/components/inserter/media-tab/media-panel.js b/packages/block-editor/src/components/inserter/media-tab/media-panel.js index 9a55bd5ef99cef..cc19403f9d9473 100644 --- a/packages/block-editor/src/components/inserter/media-tab/media-panel.js +++ b/packages/block-editor/src/components/inserter/media-tab/media-panel.js @@ -25,6 +25,7 @@ export function MediaCategoryPanel( { rootClientId, onInsert, category } ) { return (
{ 'checkbox' !== type && ( { @@ -48,6 +49,7 @@ function InputFieldBlock( { attributes, setAttributes, className } ) { /> ) } { diff --git a/packages/block-library/src/page-list/edit.js b/packages/block-library/src/page-list/edit.js index fca8096ac05d4e..2b7f31c3c7c5e5 100644 --- a/packages/block-library/src/page-list/edit.js +++ b/packages/block-library/src/page-list/edit.js @@ -319,6 +319,7 @@ export default function PageListEdit( { { pagesTree.length > 0 && ( { const [ isChecked, setChecked ] = useState( true ); return ( ReactNode` - Required: No +#### __nextHasNoMarginBottom + +Start opting into the new margin-free styles that will become the default in a future version. + +- Type: `Boolean` +- Required: No +- Default: `false` + ## Related components - Like this component, but without a search input, the [`CustomSelectControl`](https://developer.wordpress.org/block-editor/reference-guides/components/custom-select-control/) component. diff --git a/packages/components/src/combobox-control/index.tsx b/packages/components/src/combobox-control/index.tsx index a39a5dc1fc541a..e3b1434be8c7c2 100644 --- a/packages/components/src/combobox-control/index.tsx +++ b/packages/components/src/combobox-control/index.tsx @@ -92,6 +92,7 @@ const getIndexOfMatchingSuggestion = ( * const [ filteredOptions, setFilteredOptions ] = useState( options ); * return ( *