-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(types): update type exports to prevent missing exports warni…
…ngs (#3662) * refactor(types): update type exports to prevent missing exports warnings * chore: add changeset --------- Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
- Loading branch information
Showing
40 changed files
with
85 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
Update type exports to prevent missing export warnings | ||
|
||
<!-- Changed components: _none_ --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, AvatarProps} from './Avatar' | ||
export {default} from './Avatar' | ||
export type {AvatarProps} from './Avatar' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, AvatarPairProps} from './AvatarPair' | ||
export {default} from './AvatarPair' | ||
export type {AvatarPairProps} from './AvatarPair' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, AvatarStackProps} from './AvatarStack' | ||
export {default} from './AvatarStack' | ||
export type {AvatarStackProps} from './AvatarStack' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default as Blankslate, BlankslateProps} from './Blankslate' | ||
export {default as Blankslate} from './Blankslate' | ||
export type {BlankslateProps} from './Blankslate' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, BoxProps} from './Box' | ||
export {default} from './Box' | ||
export type {BoxProps} from './Box' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, BranchNameProps} from './BranchName' | ||
export {default} from './BranchName' | ||
export type {BranchNameProps} from './BranchName' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
export { | ||
default, | ||
Breadcrumb, | ||
BreadcrumbsProps, | ||
BreadcrumbProps, | ||
BreadcrumbsItemProps, | ||
BreadcrumbItemProps, | ||
} from './Breadcrumbs' | ||
export {default, Breadcrumb} from './Breadcrumbs' | ||
export type {BreadcrumbsProps, BreadcrumbProps, BreadcrumbsItemProps, BreadcrumbItemProps} from './Breadcrumbs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, ButtonGroupProps} from './ButtonGroup' | ||
export {default} from './ButtonGroup' | ||
export type {ButtonGroupProps} from './ButtonGroup' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, CheckboxProps} from './Checkbox' | ||
export {default} from './Checkbox' | ||
export type {CheckboxProps} from './Checkbox' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, CircleBadgeProps, CircleBadgeIconProps} from './CircleBadge' | ||
export {default} from './CircleBadge' | ||
export type {CircleBadgeProps, CircleBadgeIconProps} from './CircleBadge' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, CircleOcticonProps} from './CircleOcticon' | ||
export {default} from './CircleOcticon' | ||
export type {CircleOcticonProps} from './CircleOcticon' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, CounterLabelProps} from './CounterLabel' | ||
export {default} from './CounterLabel' | ||
export type {CounterLabelProps} from './CounterLabel' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, DetailsProps} from './Details' | ||
export {default} from './Details' | ||
export type {DetailsProps} from './Details' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, FilterListProps, FilterListItemProps} from './FilterList' | ||
export {default} from './FilterList' | ||
export type {FilterListProps, FilterListItemProps} from './FilterList' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, FilteredSearchProps} from './FilteredSearch' | ||
export {default} from './FilteredSearch' | ||
export type {FilteredSearchProps} from './FilteredSearch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, FlashProps} from './Flash' | ||
export {default} from './Flash' | ||
export type {FlashProps} from './Flash' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, HeaderProps, HeaderItemProps, HeaderLinkProps} from './Header' | ||
export {default} from './Header' | ||
export type {HeaderProps, HeaderItemProps, HeaderLinkProps} from './Header' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, HeadingProps} from './Heading' | ||
export {default} from './Heading' | ||
export type {HeadingProps} from './Heading' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, LabelGroupProps} from './LabelGroup' | ||
export {default} from './LabelGroup' | ||
export type {LabelGroupProps} from './LabelGroup' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, LinkProps} from './Link' | ||
export {default} from './Link' | ||
export type {LinkProps} from './Link' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, OcticonProps} from './Octicon' | ||
export {default} from './Octicon' | ||
export type {OcticonProps} from './Octicon' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, OverlayProps} from './Overlay' | ||
export {default} from './Overlay' | ||
export type {OverlayProps} from './Overlay' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, PageheadProps} from './Pagehead' | ||
export {default} from './Pagehead' | ||
export type {PageheadProps} from './Pagehead' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, PointerBoxProps} from './PointerBox' | ||
export {default} from './PointerBox' | ||
export type {PointerBoxProps} from './PointerBox' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, PopoverProps, PopoverContentProps} from './Popover' | ||
export {default} from './Popover' | ||
export type {PopoverProps, PopoverContentProps} from './Popover' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, RadioProps} from './Radio' | ||
export {default} from './Radio' | ||
export type {RadioProps} from './Radio' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, SpinnerProps} from './Spinner' | ||
export {default} from './Spinner' | ||
export type {SpinnerProps} from './Spinner' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, StateLabelProps} from './StateLabel' | ||
export {default} from './StateLabel' | ||
export type {StateLabelProps} from './StateLabel' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, StyledOcticonProps} from './StyledOcticon' | ||
export {default} from './StyledOcticon' | ||
export type {StyledOcticonProps} from './StyledOcticon' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, SubNavProps, SubNavLinkProps, SubNavLinksProps} from './SubNav' | ||
export {default} from './SubNav' | ||
export type {SubNavProps, SubNavLinkProps, SubNavLinksProps} from './SubNav' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, TabNavProps, TabNavLinkProps} from './TabNav' | ||
export {default} from './TabNav' | ||
export type {TabNavProps, TabNavLinkProps} from './TabNav' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, TextProps} from './Text' | ||
export {default} from './Text' | ||
export type {TextProps} from './Text' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, TextInputProps, TextInputNonPassthroughProps} from './TextInput' | ||
export {default} from './TextInput' | ||
export type {TextInputProps, TextInputNonPassthroughProps} from './TextInput' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, TextInputWithTokensProps} from './TextInputWithTokens' | ||
export {default} from './TextInputWithTokens' | ||
export type {TextInputWithTokensProps} from './TextInputWithTokens' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, TextareaProps, DEFAULT_TEXTAREA_COLS, DEFAULT_TEXTAREA_RESIZE, DEFAULT_TEXTAREA_ROWS} from './Textarea' | ||
export {default, DEFAULT_TEXTAREA_COLS, DEFAULT_TEXTAREA_RESIZE, DEFAULT_TEXTAREA_ROWS} from './Textarea' | ||
export type {TextareaProps} from './Textarea' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, ToggleSwitchProps} from './ToggleSwitch' | ||
export {default} from './ToggleSwitch' | ||
export type {ToggleSwitchProps} from './ToggleSwitch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, TruncateProps} from './Truncate' | ||
export {default} from './Truncate' | ||
export type {TruncateProps} from './Truncate' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export {default, UnderlineNavProps, UnderlineNavLinkProps} from './UnderlineNav' | ||
export {default} from './UnderlineNav' | ||
export type {UnderlineNavProps, UnderlineNavLinkProps} from './UnderlineNav' |