Skip to content

Commit

Permalink
Add missing components in type alias (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandongregoryscott authored Jun 14, 2022
1 parent 46ab2ef commit 44fe319
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export type Components =
| 'Card'
| 'Checkbox'
| 'Code'
| 'DialogBody'
| 'DialogFooter'
| 'DialogHeader'
| 'FileCard'
| 'FileUploader'
| 'Group'
Expand All @@ -57,16 +60,18 @@ export type Components =
| 'InlineAlert'
| 'Input'
| 'Label'
| 'List'
| 'Link'
| 'List'
| 'MenuItem'
| 'Option'
| 'Pane'
| 'Paragraph'
| 'Radio'
| 'Select'
| 'Spinner'
| 'Switch'
| 'Tab'
| 'Table'
| 'TableCell'
| 'TableHead'
| 'TableRow'
Expand Down Expand Up @@ -99,6 +104,7 @@ type FileUploaderPseudoSelectors =
type InputPseudoSelectors = '_placeholder' | '_disabled' | '_focus' | '_invalid'
type LinkPseudoSelectors = '_hover' | '_active' | '_focus'
type MenuItemPseudoSelectors = '_isSelectable' | '_disabled' | '_hover' | '_focus' | '_active' | '_current' | '&:before'
type OptionPseudoSelectors = '_active' | '_before' | '_disabled' | '_focus' | '_hover' | '_isSelectable' | '_selected'
type RadioPseudoSelectors =
| '_base'
| '_disabled'
Expand Down Expand Up @@ -184,6 +190,8 @@ type ComponentPseudoSelectors<C extends Components = Components> = C extends 'Bu
? LinkPseudoSelectors
: C extends 'MenuItem'
? MenuItemPseudoSelectors
: C extends 'Option'
? OptionPseudoSelectors
: C extends 'Radio'
? RadioPseudoSelectors
: C extends 'Select'
Expand Down

0 comments on commit 44fe319

Please sign in to comment.