Skip to content

Commit

Permalink
chore(ui): Add <Card /> descriptors (#4365)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcarpenter authored Oct 18, 2024
1 parent 98720c4 commit 2f5ee61
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 91 deletions.
2 changes: 2 additions & 0 deletions .changeset/empty-mangos-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
20 changes: 19 additions & 1 deletion packages/ui/src/contexts/AppearanceContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,25 @@ type ButtonDescriptorIdentifier =
type ConnectionDescriptorIdentifier = 'connectionList' | 'connectionListItem';
type SeparatorDescriptorIdentifier = 'separator';
type SpinnerDescriptorIdentifier = 'spinner';
type CardDescriptorIdentifier = 'logoBox' | 'logoLink' | 'logoImage';
type CardDescriptorIdentifier =
| 'cardRoot'
| 'cardRootDefault'
| 'cardRootInner'
| 'cardHeader'
| 'cardContent'
| 'cardTitle'
| 'cardDescription'
| 'cardBody'
| 'cardActions'
| 'cardFooter'
| 'cardFooterAction'
| 'cardFooterActionText'
| 'cardFooterActionLink'
| 'cardFooterActionButton'
| 'cardFooterActionPageLink'
| 'cardLogoBox'
| 'cardLogoLink'
| 'cardLogoImage';

/**
* Union of all valid descriptors used throughout the components.
Expand Down
Loading

0 comments on commit 2f5ee61

Please sign in to comment.