diff --git a/packages/block-editor/src/components/date-format-picker/index.js b/packages/block-editor/src/components/date-format-picker/index.js index de95b9baafa884..7d5ae7f53e5e55 100644 --- a/packages/block-editor/src/components/date-format-picker/index.js +++ b/packages/block-editor/src/components/date-format-picker/index.js @@ -116,6 +116,7 @@ function NonDefaultControls( { format, onChange } ) { <> setFontSize( selectedItem ) } @@ -61,6 +62,7 @@ function MyControlledCustomSelectControl() { const [ fontSize, setFontSize ] = useState( options[ 0 ] ); return ( setFontSize( selectedItem ) } @@ -121,6 +123,14 @@ Can be used to externally control the value of the control, like in the `MyContr - Type: `Object` - Required: No +#### __nextUnconstrainedWidth + +Start opting into the unconstrained width style that will become the default in a future version, currently scheduled to be WordPress 6.4. (The prop can be safely removed once this happens.) + +- Type: `Boolean` +- Required: No +- Default: `false` + ## Related components - Like this component, but implemented using a native `