-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Labels
Description
We are deprecating the TextInputWithTokens component due to low usage and accessibility implications. In order to fully deprecate this component, we'll need to do the following:
- Move the component export to the deprecated entrypoint from
packages/react/src/index.tstopackages/react/src/deprecated/index.ts. - If
TextInputWithTokensis inpackages/styled-react/src/index.ts, remove it. - Update the storybook stories (e.g.
stories.tsx) to use theDeprecatedtitle instead (e.g.title: 'Deprecated/Components/TextInputWithTokens') - Change status to
deprecatedinpackages/react/src/TextInputWithTokens/TextInputWithTokens.docs.json - Add changeset stating that this is a major change deprecating the component.
- Adjust
e2e/components/TextInputWithTokens.test.tsto utilize the deprecated stories title, (e.g.deprecated-components-textinputwithtokens--default'), etc.
There may be other small changes required to state this as deprecated, but the steps above are the main ones we need to do first. Example PR: #6706.
Copilot