From cf06a9e2ef03692158c5c47c7b977459ad9ccded Mon Sep 17 00:00:00 2001 From: brookewp Date: Wed, 1 Mar 2023 16:31:34 -0800 Subject: [PATCH] Fix mistakes found in review --- packages/components/src/form-token-field/README.md | 2 +- packages/components/src/form-token-field/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/src/form-token-field/README.md b/packages/components/src/form-token-field/README.md index 2bec2c5bfe12f4..90fe84e56f2ee6 100644 --- a/packages/components/src/form-token-field/README.md +++ b/packages/components/src/form-token-field/README.md @@ -61,7 +61,7 @@ The `value` property is handled in a manner similar to controlled form component - `__experimentalShowHowTo` - If false, the text on how to use the select (ie: _Separate with commas or the Enter key._) will be hidden. - `__experimentalValidateInput` - If passed, all introduced values will be validated before being added as tokens. - `__experimentalAutoSelectFirstMatch` - If true, the select the first matching suggestion when the user presses the Enter key (or space when tokenizeOnSpace is true). -- `__nextHasNoMarginBottom` - 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.) +- `__nextHasNoMarginBottom` - Start opting into the new margin-free styles that will become the default in a future version, currently scheduled to be WordPress 6.5. (The prop can be safely removed once this happens.) ## Usage diff --git a/packages/components/src/form-token-field/index.tsx b/packages/components/src/form-token-field/index.tsx index 34100326a3ef81..604ac8036e64cc 100644 --- a/packages/components/src/form-token-field/index.tsx +++ b/packages/components/src/form-token-field/index.tsx @@ -75,7 +75,7 @@ export function FormTokenField( props: FormTokenFieldProps ) { } = props; if ( ! __nextHasNoMarginBottom ) { - deprecated( 'Bottom margin styles for wp.blockEditor.URLInput', { + deprecated( 'Bottom margin styles for wp.components.FormTokenField', { since: '6.2', version: '6.5', hint: 'Set the `__nextHasNoMarginBottom` prop to true to start opting into the new styles, which will become the default in a future version', @@ -729,7 +729,7 @@ export function FormTokenField( props: FormTokenFieldProps ) { { __experimentalShowHowTo && ( { tokenizeOnSpace