-
Notifications
You must be signed in to change notification settings - Fork 627
Open
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.ts
topackages/react/src/deprecated/index.ts
. - If
TextInputWithTokens
is inpackages/styled-react/src/index.ts
, remove it. - Update the storybook stories (e.g.
stories.tsx
) to use theDeprecated
title instead (e.g.title: 'Deprecated/Components/TextInputWithTokens'
) - Change status to
deprecated
inpackages/react/src/TextInputWithTokens/TextInputWithTokens.docs.json
- Add changeset stating that this is a major change deprecating the component.
- Adjust
e2e/components/TextInputWithTokens.test.ts
to 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