generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from layer5io/feat/218-components-tsup
fix(components): refactor components
- Loading branch information
Showing
87 changed files
with
489 additions
and
820 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,28 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [0.8.1-beta.10](https://github.com/layer5io/sistent/compare/@layer5/[email protected]...@layer5/[email protected]) (2023-11-04) | ||
|
||
**Note:** Version bump only for package @layer5/sistent-components | ||
|
||
## [0.8.1-beta.9](https://github.com/layer5io/sistent/compare/@layer5/[email protected]...@layer5/[email protected]) (2023-11-04) | ||
|
||
### Bug Fixes | ||
|
||
- redo const to function ([056f675](https://github.com/layer5io/sistent/commit/056f675fdbd4c964ab07f4ce06b266d7dab53112)) | ||
|
||
## [0.8.1-beta.8](https://github.com/layer5io/sistent/compare/@layer5/[email protected]...@layer5/[email protected]) (2023-11-03) | ||
|
||
### Bug Fixes | ||
|
||
- remove react-error-boundary package ([6ea9422](https://github.com/layer5io/sistent/commit/6ea9422a8125b67d1241dd6a1c323f8830a509a3)) | ||
|
||
## [0.8.1-beta.7](https://github.com/layer5io/sistent/compare/@layer5/[email protected]...@layer5/[email protected]) (2023-11-03) | ||
|
||
### Bug Fixes | ||
|
||
- **components:** refactor components ([5b90831](https://github.com/layer5io/sistent/commit/5b90831f02644bbaa16de6e59a11a3ea50f17e58)) | ||
|
||
## [0.8.1-beta.6](https://github.com/layer5io/sistent/compare/@layer5/[email protected]...@layer5/[email protected]) (2023-11-02) | ||
|
||
**Note:** Version bump only for package @layer5/sistent-components | ||
|
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,4 +1,4 @@ | ||
import { Accordion as MuiAccordion, type AccordionProps } from '@mui/material'; | ||
export function Accordion(props: AccordionProps) { | ||
export function Accordion(props: AccordionProps): JSX.Element { | ||
return <MuiAccordion {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AccordionActions as MuiAccordionActions, type AccordionActionsProps } from '@mui/material'; | ||
|
||
export function AccordionActions(props: AccordionActionsProps) { | ||
export function AccordionActions(props: AccordionActionsProps): JSX.Element { | ||
return <MuiAccordionActions {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AccordionDetails as MuiAccordionDetails, type AccordionDetailsProps } from '@mui/material'; | ||
|
||
export function AccordionDetails(props: AccordionDetailsProps) { | ||
export function AccordionDetails(props: AccordionDetailsProps): JSX.Element { | ||
return <MuiAccordionDetails {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AccordionSummary as MuiAccordionSummary, type AccordionSummaryProps } from '@mui/material'; | ||
|
||
export function AccordionSummary(props: AccordionSummaryProps) { | ||
export function AccordionSummary(props: AccordionSummaryProps): JSX.Element { | ||
return <MuiAccordionSummary {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AppBar as MuiAppBar, type AppBarProps } from '@mui/material'; | ||
|
||
export function AppBar(props: AppBarProps) { | ||
export function AppBar(props: AppBarProps): JSX.Element { | ||
return <MuiAppBar {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Avatar as MuiAvatar, type AvatarProps } from '@mui/material'; | ||
|
||
export function Avatar(props: AvatarProps) { | ||
export function Avatar(props: AvatarProps): JSX.Element { | ||
return <MuiAvatar {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AvatarGroup as MuiAvatarGroup, type AvatarGroupProps } from '@mui/material'; | ||
|
||
export function AvatarGroup(props: AvatarGroupProps) { | ||
export function AvatarGroup(props: AvatarGroupProps): JSX.Element { | ||
return <MuiAvatarGroup {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Badge as MuiBadge, type BadgeProps } from '@mui/material'; | ||
|
||
export function Badge(props: BadgeProps) { | ||
export function Badge(props: BadgeProps): JSX.Element { | ||
return <MuiBadge {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Box as MuiBox, type BoxProps } from '@mui/material'; | ||
|
||
export function Box(props: BoxProps) { | ||
export function Box(props: BoxProps): JSX.Element { | ||
return <MuiBox {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { ButtonGroup as MuiButtonGroup, type ButtonGroupProps } from '@mui/material'; | ||
|
||
export function ButtonGroup(props: ButtonGroupProps) { | ||
export function ButtonGroup(props: ButtonGroupProps): JSX.Element { | ||
return <MuiButtonGroup {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { IconButton as MuiIconButton, type IconButtonProps } from '@mui/material'; | ||
|
||
export function IconButton(props: IconButtonProps) { | ||
export function IconButton(props: IconButtonProps): JSX.Element { | ||
return <MuiIconButton {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Card as MuiCard, type CardProps } from '@mui/material'; | ||
|
||
export function Card(props: CardProps) { | ||
export function Card(props: CardProps): JSX.Element { | ||
return <MuiCard {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { CardActions as MuiCardActions, type CardActionsProps } from '@mui/material'; | ||
|
||
export function CardActions(props: CardActionsProps) { | ||
export function CardActions(props: CardActionsProps): JSX.Element { | ||
return <MuiCardActions {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { CardContent as MuiCardContent, type CardContentProps } from '@mui/material'; | ||
|
||
export function CardContent(props: CardContentProps) { | ||
export function CardContent(props: CardContentProps): JSX.Element { | ||
return <MuiCardContent {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Checkbox as MuiCheckbox, type CheckboxProps } from '@mui/material'; | ||
|
||
export function Checkbox(props: CheckboxProps) { | ||
export function Checkbox(props: CheckboxProps): JSX.Element { | ||
return <MuiCheckbox {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Chip as MuiChip, type ChipProps } from '@mui/material'; | ||
|
||
export function Chip(props: ChipProps) { | ||
export function Chip(props: ChipProps): JSX.Element { | ||
return <MuiChip {...props} />; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Backdrop as MuiBackdrop, type BackdropProps } from '@mui/material'; | ||
|
||
export function Backdrop(props: BackdropProps) { | ||
export function Backdrop(props: BackdropProps): JSX.Element { | ||
return <MuiBackdrop {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Dialog as MuiDialog, type DialogProps } from '@mui/material'; | ||
|
||
export function Dialog(props: DialogProps) { | ||
export function Dialog(props: DialogProps): JSX.Element { | ||
return <MuiDialog {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { DialogActions as MuiDialogActions, type DialogActionsProps } from '@mui/material'; | ||
|
||
export function DialogActions(props: DialogActionsProps) { | ||
export function DialogActions(props: DialogActionsProps): JSX.Element { | ||
return <MuiDialogActions {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { DialogContent as MuiDialogContent, type DialogContentProps } from '@mui/material'; | ||
|
||
export function DialogContent(props: DialogContentProps) { | ||
export function DialogContent(props: DialogContentProps): JSX.Element { | ||
return <MuiDialogContent {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { DialogTitle as MuiDialogTitle, type DialogTitleProps } from '@mui/material'; | ||
|
||
export function DialogTitle(props: DialogTitleProps) { | ||
export function DialogTitle(props: DialogTitleProps): JSX.Element { | ||
return <MuiDialogTitle {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Divider as MuiDivider, type DividerProps } from '@mui/material'; | ||
|
||
export function Divider(props: DividerProps) { | ||
export function Divider(props: DividerProps): JSX.Element { | ||
return <MuiDivider {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Drawer as MuiDrawer, type DrawerProps } from '@mui/material'; | ||
|
||
export function Drawer(props: DrawerProps) { | ||
export function Drawer(props: DrawerProps): JSX.Element { | ||
return <MuiDrawer {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { FormControlLabel as MuiFormControlLabel, type FormControlLabelProps } from '@mui/material'; | ||
|
||
export function FormControlLabel(props: FormControlLabelProps) { | ||
export function FormControlLabel(props: FormControlLabelProps): JSX.Element { | ||
return <MuiFormControlLabel {...props} />; | ||
} |
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,5 @@ | ||
import { Grid as MuiGrid, GridProps as MuiGridProps } from '@mui/material'; | ||
|
||
export function Grid(props: MuiGridProps): JSX.Element { | ||
return <MuiGrid {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { List as MuiList, type ListProps } from '@mui/material'; | ||
|
||
export const List = (props: ListProps) => { | ||
export function List(props: ListProps): JSX.Element { | ||
return <MuiList {...props} />; | ||
}; | ||
} |
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,5 +1,5 @@ | ||
import { Menu as MuiMenu, type MenuProps } from '@mui/material'; | ||
|
||
export function Menu(props: MenuProps) { | ||
export function Menu(props: MenuProps): JSX.Element { | ||
return <MuiMenu {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { MenuItem as MuiMenuItem, type MenuItemProps } from '@mui/material'; | ||
|
||
export function MenuItem(props: MenuItemProps) { | ||
export function MenuItem(props: MenuItemProps): JSX.Element { | ||
return <MuiMenuItem {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Paper as MuiPaper, type PaperProps } from '@mui/material'; | ||
|
||
export function Paper(props: PaperProps) { | ||
export function Paper(props: PaperProps): JSX.Element { | ||
return <MuiPaper {...props}>{props.children}</MuiPaper>; | ||
} |
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,5 +1,5 @@ | ||
import { Popper as MuiPopper, type PopperProps } from '@mui/material'; | ||
|
||
export function Popper(props: PopperProps) { | ||
export function Popper(props: PopperProps): JSX.Element { | ||
return <MuiPopper {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { RadioGroup as MuiRadioGroup, type RadioGroupProps } from '@mui/material'; | ||
|
||
export function RadioGroup(props: RadioGroupProps) { | ||
export function RadioGroup(props: RadioGroupProps): JSX.Element { | ||
return <MuiRadioGroup {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Select as MuiSelect, type SelectProps } from '@mui/material'; | ||
|
||
export const Select = (props: SelectProps) => { | ||
export function Select(props: SelectProps): JSX.Element { | ||
return <MuiSelect {...props} />; | ||
}; | ||
} |
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,5 +1,5 @@ | ||
import { Slide as MuiSlide, type SlideProps } from '@mui/material'; | ||
|
||
export function Slide(props: SlideProps) { | ||
export function Slide(props: SlideProps): JSX.Element { | ||
return <MuiSlide {...props} />; | ||
} |
Oops, something went wrong.