Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
134 additions
and
159 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
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
63 changes: 28 additions & 35 deletions
63
src/components/ProviderExpandedInfo/components/ProviderBilling/ProviderBilling.jsx
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
11 changes: 0 additions & 11 deletions
11
src/components/ProviderExpandedInfo/components/ProviderBilling/ProviderBilling.styles.js
This file was deleted.
Oops, something went wrong.
5 changes: 1 addition & 4 deletions
5
src/components/ProviderExpandedInfo/components/ProviderInfo/ProviderInfo.jsx
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
31 changes: 7 additions & 24 deletions
31
src/components/TotalsReportBoxes/components/TotalsReportBox.jsx
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import { cn } from 'utils' | ||
import { forwardRef } from 'react' | ||
|
||
const Card = forwardRef(({ className, ...props }, ref) => ( | ||
<div | ||
ref={ref} | ||
className={cn('rounded-lg border bg-card text-card-foreground shadow-sm', className)} | ||
{...props} | ||
/> | ||
)) | ||
Card.displayName = 'Card' | ||
|
||
const CardHeader = forwardRef(({ className, title, action, ...props }, ref) => ( | ||
<div | ||
ref={ref} | ||
className={cn('flex flex-row p-2 px-4 items-center', className)} | ||
{...props} | ||
> | ||
{title && <CardTitle className='py-2'>{title}</CardTitle>} | ||
{action && <div className='ml-auto py-1'>{action}</div>} | ||
</div> | ||
)) | ||
CardHeader.displayName = 'CardHeader' | ||
|
||
const CardTitle = forwardRef(({ className, ...props }, ref) => ( | ||
<h3 | ||
ref={ref} | ||
className={cn('font-semibold leading-none tracking-tight', className)} | ||
{...props} | ||
/> | ||
)) | ||
CardTitle.displayName = 'CardTitle' | ||
|
||
const CardDescription = forwardRef(({ className, ...props }, ref) => ( | ||
<p | ||
ref={ref} | ||
className={cn('text-sm text-muted-foreground', className)} | ||
{...props} | ||
/> | ||
)) | ||
CardDescription.displayName = 'CardDescription' | ||
|
||
const CardContent = forwardRef(({ className, ...props }, ref) => ( | ||
<div ref={ref} className={cn('p-4 pt-4', className)} {...props} /> | ||
)) | ||
CardContent.displayName = 'CardContent' | ||
|
||
const CardActions = forwardRef(({ className, ...props }, ref) => ( | ||
<div | ||
ref={ref} | ||
className={cn('flex items-center p-2', className)} | ||
{...props} | ||
/> | ||
)) | ||
CardActions.displayName = 'CardActions' | ||
|
||
export { Card, CardHeader, CardActions, CardTitle, CardDescription, CardContent } |
Oops, something went wrong.