Skip to content

Deprecate TextInputWithTokens component #6712

@TylerJDev

Description

@TylerJDev

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 to packages/react/src/deprecated/index.ts.
  • If TextInputWithTokens is in packages/styled-react/src/index.ts, remove it.
  • Update the storybook stories (e.g. stories.tsx) to use the Deprecated title instead (e.g. title: 'Deprecated/Components/TextInputWithTokens')
  • Change status to deprecated in packages/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.

Metadata

Metadata

Assignees

Labels

reactstaffAuthor is a staff member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions