-
Notifications
You must be signed in to change notification settings - Fork 632
Deprecate TextInputWithTokens #6713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
04a12b4
1165a9d
c92ec20
73b1cc8
184bfbf
d2307ca
c9e6305
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@primer/react': major | ||
'@primer/styled-react': minor | ||
--- | ||
|
||
Deprecate TextInputWithTokens component. The component has been moved to the deprecated entrypoint due to low usage and accessibility implications. Import from `@primer/react/deprecated` instead of `@primer/react`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,8 +153,7 @@ export type {SubNavProps, SubNavLinkProps, SubNavLinksProps} from './SubNav' | |
export {default as ToggleSwitch} from './ToggleSwitch' | ||
export {default as TextInput} from './TextInput' | ||
export type {TextInputProps} from './TextInput' | ||
export {default as TextInputWithTokens} from './TextInputWithTokens' | ||
export type {TextInputWithTokensProps} from './TextInputWithTokens' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot can we add this back, and remove it from the deprecated entry point (i.e. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! I've added |
||
|
||
export {default as Text} from './Text' | ||
export type {TextProps} from './Text' | ||
export {default as Timeline} from './Timeline' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,6 @@ export { | |
Text, | ||
Textarea, | ||
TextInput, | ||
TextInputWithTokens, | ||
Timeline, | ||
Token, | ||
Tooltip, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can re remove this line, as we only want to bump
@primer/react
, @copilot.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the
@primer/styled-react
line from the changeset. Now it only bumps@primer/react
as requested. (c92ec20)