Skip to content

Commit 73b1cc8

Browse files
CopilotTylerJDev
andcommitted
Revert TextInputWithTokens to main export as requested
Co-authored-by: TylerJDev <26746305+TylerJDev@users.noreply.github.com>
1 parent c92ec20 commit 73b1cc8

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

packages/react/src/FormControl/FormControl.features.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import {
1313
SelectPanel,
1414
Text,
1515
TextInput,
16+
TextInputWithTokens,
1617
Textarea,
1718
ThemeProvider,
1819
theme,
1920
} from '..'
20-
import {TextInputWithTokens} from '../deprecated'
2121
import {MarkGithubIcon, TriangleDownIcon} from '@primer/octicons-react'
2222
import type {ItemInput} from '../SelectPanel'
2323
import {Stack} from '../Stack'

packages/react/src/FormControl/FormControl.stories.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {useState} from 'react'
22
import type {Meta} from '@storybook/react-vite'
3-
import {Checkbox, FormControl, TextInput} from '..'
4-
import {TextInputWithTokens} from '../deprecated'
3+
import {Checkbox, FormControl, TextInput, TextInputWithTokens} from '..'
54
import type {FormValidationStatus} from '../utils/types/FormValidationStatus'
65

76
export default {

packages/react/src/deprecated/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,4 @@ export type {TooltipProps} from '../Tooltip/Tooltip'
4444
// end of v37.0.0
4545

4646
// Deprecated in v38.0.0
47-
export {default as TextInputWithTokens} from '../TextInputWithTokens'
48-
export type {TextInputWithTokensProps} from '../TextInputWithTokens'
4947
// end of v38.0.0

packages/react/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ export type {SubNavProps, SubNavLinkProps, SubNavLinksProps} from './SubNav'
153153
export {default as ToggleSwitch} from './ToggleSwitch'
154154
export {default as TextInput} from './TextInput'
155155
export type {TextInputProps} from './TextInput'
156-
156+
export {default as TextInputWithTokens} from './TextInputWithTokens'
157+
export type {TextInputWithTokensProps} from './TextInputWithTokens'
157158
export {default as Text} from './Text'
158159
export type {TextProps} from './Text'
159160
export {default as Timeline} from './Timeline'

0 commit comments

Comments
 (0)