From 1ec0079d9a80e44e302e5254f139949701d0a497 Mon Sep 17 00:00:00 2001 From: brookewp Date: Tue, 20 Dec 2022 15:36:20 -0800 Subject: [PATCH] Add changelog and update readme --- packages/block-editor/CHANGELOG.md | 1 + packages/block-editor/src/components/url-input/README.md | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/block-editor/CHANGELOG.md b/packages/block-editor/CHANGELOG.md index 34cd726c55fdf5..5ec4c6bc0a8d05 100644 --- a/packages/block-editor/CHANGELOG.md +++ b/packages/block-editor/CHANGELOG.md @@ -10,6 +10,7 @@ - `URLInput`: the `renderSuggestions` callback prop now receives `currentInputValue` as a new parameter ([45806](https://github.com/WordPress/gutenberg/pull/45806)). - Fluid typography: add configurable fluid typography settings for minimum font size to theme.json ([#42489](https://github.com/WordPress/gutenberg/pull/42489)). +- `URLInput`: Add `__nextHasNoMarginBottom` prop for opting into the new margin-free styles ([46692](https://github.com/WordPress/gutenberg/pull/46692)). ### Bug Fix diff --git a/packages/block-editor/src/components/url-input/README.md b/packages/block-editor/src/components/url-input/README.md index d15702bcfb0bca..87031000394fe3 100644 --- a/packages/block-editor/src/components/url-input/README.md +++ b/packages/block-editor/src/components/url-input/README.md @@ -160,10 +160,7 @@ When hiding the URLInput using CSS (as is sometimes done for accessibility purpo This prop allows the suggestions list to be programmatically not rendered by passing a boolean—it can be `true` to make sure suggestions aren't rendered, or `false`/`undefined` to fall back to the default behaviour of showing suggestions when matching autocompletion items are found. -### `__nextHasNoMarginBottom` - -- **Type:** `boolean` -- **Default:** `false` +### `__nextHasNoMarginBottom: Boolean` Start opting into the new margin-free styles 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.)