@omni-design/components 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/ScanComponents.md +26 -0
- package/.claude/commands/ShareComponent.md +128 -0
- package/.cursorrules +21 -0
- package/CLAUDE.md +1046 -0
- package/README.md +70 -0
- package/dist/OmniDesignProvider.esm.js +2 -0
- package/dist/OmniDesignProvider.esm.js.map +1 -0
- package/dist/OmniDesignProvider.js +2 -0
- package/dist/OmniDesignProvider.js.map +1 -0
- package/dist/index.esm.js +42 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +42 -0
- package/dist/index.js.map +1 -0
- package/dist/types/OmniDesignProvider.d.ts +158 -0
- package/dist/types/components/Accordion/Accordion.d.ts +42 -0
- package/dist/types/components/Accordion/AccordionShowcase.d.ts +2 -0
- package/dist/types/components/Accordion/index.d.ts +2 -0
- package/dist/types/components/Alert/Alert.d.ts +14 -0
- package/dist/types/components/Alert/AlertShowcase.d.ts +2 -0
- package/dist/types/components/Alert/index.d.ts +2 -0
- package/dist/types/components/AppBar/AppBar.d.ts +43 -0
- package/dist/types/components/AppBar/AppBarShowcase.d.ts +2 -0
- package/dist/types/components/AppBar/index.d.ts +2 -0
- package/dist/types/components/Autocomplete/Autocomplete.d.ts +26 -0
- package/dist/types/components/Autocomplete/AutocompleteShowcase.d.ts +2 -0
- package/dist/types/components/Autocomplete/index.d.ts +2 -0
- package/dist/types/components/Avatar/Avatar.d.ts +29 -0
- package/dist/types/components/Avatar/AvatarShowcase.d.ts +2 -0
- package/dist/types/components/Avatar/defaultAvatar.d.ts +2 -0
- package/dist/types/components/Avatar/index.d.ts +3 -0
- package/dist/types/components/BackgroundPicker.d.ts +12 -0
- package/dist/types/components/Badge/Badge.d.ts +43 -0
- package/dist/types/components/Badge/BadgeShowcase.d.ts +1 -0
- package/dist/types/components/Badge/index.d.ts +2 -0
- package/dist/types/components/BevelText/BevelText.d.ts +15 -0
- package/dist/types/components/BevelText/BevelTextShowcase.d.ts +2 -0
- package/dist/types/components/BevelText/index.d.ts +2 -0
- package/dist/types/components/BottomNavigation/BottomNavigation.d.ts +15 -0
- package/dist/types/components/BottomNavigation/BottomNavigationShowcase.d.ts +2 -0
- package/dist/types/components/BottomNavigation/index.d.ts +2 -0
- package/dist/types/components/Box/Box.d.ts +36 -0
- package/dist/types/components/Box/BoxShowcase.d.ts +2 -0
- package/dist/types/components/Box/index.d.ts +2 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +22 -0
- package/dist/types/components/Breadcrumbs/BreadcrumbsShowcase.d.ts +2 -0
- package/dist/types/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/types/components/Button/Button.d.ts +66 -0
- package/dist/types/components/Button/index.d.ts +2 -0
- package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +41 -0
- package/dist/types/components/ButtonGroup/index.d.ts +2 -0
- package/dist/types/components/Card/Card.d.ts +54 -0
- package/dist/types/components/Card/CardShowcase.d.ts +2 -0
- package/dist/types/components/Card/index.d.ts +2 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +51 -0
- package/dist/types/components/Checkbox/index.d.ts +2 -0
- package/dist/types/components/Chip/Chip.d.ts +42 -0
- package/dist/types/components/Chip/ChipShowcase.d.ts +2 -0
- package/dist/types/components/Chip/index.d.ts +2 -0
- package/dist/types/components/CircularProgress/CircularProgress.d.ts +12 -0
- package/dist/types/components/CircularProgress/CircularProgressShowcase.d.ts +2 -0
- package/dist/types/components/CircularProgress/index.d.ts +2 -0
- package/dist/types/components/CodeBlock/CodeBlock.d.ts +35 -0
- package/dist/types/components/Colors/Colors.d.ts +7 -0
- package/dist/types/components/Colors/index.d.ts +1 -0
- package/dist/types/components/Container/Container.d.ts +70 -0
- package/dist/types/components/Container/index.d.ts +1 -0
- package/dist/types/components/Copyright/Copyright.d.ts +11 -0
- package/dist/types/components/Copyright/CopyrightShowcase.d.ts +2 -0
- package/dist/types/components/Copyright/index.d.ts +2 -0
- package/dist/types/components/CurvedText/CurvedText.d.ts +23 -0
- package/dist/types/components/CurvedText/CurvedTextShowcase.d.ts +2 -0
- package/dist/types/components/CurvedText/index.d.ts +2 -0
- package/dist/types/components/Dialog/Dialog.d.ts +82 -0
- package/dist/types/components/Dialog/DialogShowcase.d.ts +2 -0
- package/dist/types/components/Dialog/index.d.ts +2 -0
- package/dist/types/components/Divider/Divider.d.ts +22 -0
- package/dist/types/components/Divider/DividerShowcase.d.ts +2 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/Drawer/Drawer.d.ts +30 -0
- package/dist/types/components/Drawer/DrawerShowcase.d.ts +2 -0
- package/dist/types/components/Drawer/index.d.ts +2 -0
- package/dist/types/components/DropZone/DropZone.d.ts +15 -0
- package/dist/types/components/DropZone/index.d.ts +2 -0
- package/dist/types/components/Fab/Fab.d.ts +17 -0
- package/dist/types/components/Fab/FabShowcase.d.ts +2 -0
- package/dist/types/components/Fab/index.d.ts +2 -0
- package/dist/types/components/Footer/Footer.d.ts +14 -0
- package/dist/types/components/Footer/FooterShowcase.d.ts +2 -0
- package/dist/types/components/Footer/index.d.ts +2 -0
- package/dist/types/components/Gradient/Gradient.d.ts +38 -0
- package/dist/types/components/Gradient/GradientShowcase.d.ts +2 -0
- package/dist/types/components/Gradient/gradientUtils.d.ts +185 -0
- package/dist/types/components/Gradient/index.d.ts +3 -0
- package/dist/types/components/Grid/Grid.d.ts +112 -0
- package/dist/types/components/Grid/index.d.ts +1 -0
- package/dist/types/components/Header/Header.d.ts +53 -0
- package/dist/types/components/Header/index.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +19 -0
- package/dist/types/components/Icon/IconShowcase.d.ts +2 -0
- package/dist/types/components/Icon/index.d.ts +2 -0
- package/dist/types/components/IconBadge/IconBadge.d.ts +10 -0
- package/dist/types/components/IconBadge/IconBadgeShowcase.d.ts +2 -0
- package/dist/types/components/IconBadge/index.d.ts +2 -0
- package/dist/types/components/Input/Input.d.ts +47 -0
- package/dist/types/components/Input/index.d.ts +2 -0
- package/dist/types/components/LinearProgress/LinearProgress.d.ts +9 -0
- package/dist/types/components/LinearProgress/LinearProgressShowcase.d.ts +2 -0
- package/dist/types/components/LinearProgress/index.d.ts +2 -0
- package/dist/types/components/Link/Link.d.ts +16 -0
- package/dist/types/components/Link/LinkShowcase.d.ts +2 -0
- package/dist/types/components/Link/index.d.ts +2 -0
- package/dist/types/components/List/List.d.ts +55 -0
- package/dist/types/components/List/ListShowcase.d.ts +2 -0
- package/dist/types/components/List/index.d.ts +2 -0
- package/dist/types/components/MainLayout/MainLayout.d.ts +28 -0
- package/dist/types/components/MainLayout/index.d.ts +1 -0
- package/dist/types/components/Menu/Menu.d.ts +37 -0
- package/dist/types/components/Menu/MenuShowcase.d.ts +2 -0
- package/dist/types/components/Menu/index.d.ts +2 -0
- package/dist/types/components/Modal/Modal.d.ts +18 -0
- package/dist/types/components/Modal/ModalShowcase.d.ts +2 -0
- package/dist/types/components/Modal/index.d.ts +2 -0
- package/dist/types/components/NumberField/NumberField.d.ts +22 -0
- package/dist/types/components/NumberField/NumberFieldShowcase.d.ts +2 -0
- package/dist/types/components/NumberField/index.d.ts +2 -0
- package/dist/types/components/Pagination/Pagination.d.ts +17 -0
- package/dist/types/components/Pagination/PaginationShowcase.d.ts +2 -0
- package/dist/types/components/Pagination/index.d.ts +2 -0
- package/dist/types/components/Paper/Paper.d.ts +111 -0
- package/dist/types/components/Paper/index.d.ts +1 -0
- package/dist/types/components/Popover/Popover.d.ts +31 -0
- package/dist/types/components/Popover/index.d.ts +1 -0
- package/dist/types/components/PreviewSurface.d.ts +18 -0
- package/dist/types/components/Radio/Radio.d.ts +55 -0
- package/dist/types/components/Radio/RadioShowcase.d.ts +2 -0
- package/dist/types/components/Radio/index.d.ts +2 -0
- package/dist/types/components/Rail/Rail.d.ts +15 -0
- package/dist/types/components/Rail/RailShowcase.d.ts +2 -0
- package/dist/types/components/Rail/index.d.ts +2 -0
- package/dist/types/components/Rating/Rating.d.ts +16 -0
- package/dist/types/components/Rating/RatingShowcase.d.ts +2 -0
- package/dist/types/components/Rating/index.d.ts +2 -0
- package/dist/types/components/Ratio/Ratio.d.ts +20 -0
- package/dist/types/components/Ratio/RatioShowcase.d.ts +2 -0
- package/dist/types/components/Ratio/index.d.ts +2 -0
- package/dist/types/components/SearchField/SearchField.d.ts +19 -0
- package/dist/types/components/SearchField/SearchFieldShowcase.d.ts +2 -0
- package/dist/types/components/SearchField/index.d.ts +2 -0
- package/dist/types/components/Section/Section.d.ts +44 -0
- package/dist/types/components/Section/SectionShowcase.d.ts +2 -0
- package/dist/types/components/Section/index.d.ts +2 -0
- package/dist/types/components/Select/Select.d.ts +23 -0
- package/dist/types/components/Select/SelectShowcase.d.ts +2 -0
- package/dist/types/components/Select/index.d.ts +2 -0
- package/dist/types/components/SettingsPanel.d.ts +2 -0
- package/dist/types/components/Sidebar/Sidebar.d.ts +53 -0
- package/dist/types/components/Sidebar/index.d.ts +1 -0
- package/dist/types/components/Slider/Slider.d.ts +79 -0
- package/dist/types/components/Slider/SliderShowcase.d.ts +2 -0
- package/dist/types/components/Slider/index.d.ts +2 -0
- package/dist/types/components/Snackbar/Snackbar.d.ts +17 -0
- package/dist/types/components/Snackbar/SnackbarShowcase.d.ts +2 -0
- package/dist/types/components/Snackbar/index.d.ts +2 -0
- package/dist/types/components/Spacing/Spacing.d.ts +16 -0
- package/dist/types/components/Spacing/index.d.ts +1 -0
- package/dist/types/components/SpeedDial/SpeedDial.d.ts +17 -0
- package/dist/types/components/SpeedDial/SpeedDialShowcase.d.ts +2 -0
- package/dist/types/components/SpeedDial/index.d.ts +2 -0
- package/dist/types/components/Stack/Stack.d.ts +52 -0
- package/dist/types/components/Stack/StackShowcase.d.ts +2 -0
- package/dist/types/components/Stack/index.d.ts +2 -0
- package/dist/types/components/Stepper/Stepper.d.ts +33 -0
- package/dist/types/components/Stepper/StepperShowcase.d.ts +2 -0
- package/dist/types/components/Stepper/index.d.ts +2 -0
- package/dist/types/components/Switch/Switch.d.ts +65 -0
- package/dist/types/components/Switch/SwitchShowcase.d.ts +2 -0
- package/dist/types/components/Switch/index.d.ts +2 -0
- package/dist/types/components/Table/Table.d.ts +20 -0
- package/dist/types/components/Table/TableShowcase.d.ts +2 -0
- package/dist/types/components/Table/index.d.ts +2 -0
- package/dist/types/components/Tabs/Tabs.d.ts +51 -0
- package/dist/types/components/Tabs/TabsShowcase.d.ts +2 -0
- package/dist/types/components/Tabs/index.d.ts +2 -0
- package/dist/types/components/Tag/Tag.d.ts +57 -0
- package/dist/types/components/Tag/TagShowcase.d.ts +2 -0
- package/dist/types/components/Tag/index.d.ts +2 -0
- package/dist/types/components/TextField/TextField.d.ts +105 -0
- package/dist/types/components/TextField/index.d.ts +1 -0
- package/dist/types/components/ToggleButton/ToggleButton.d.ts +94 -0
- package/dist/types/components/ToggleButton/index.d.ts +1 -0
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +48 -0
- package/dist/types/components/Toolbar/Toolbar.d.ts +14 -0
- package/dist/types/components/Toolbar/ToolbarShowcase.d.ts +2 -0
- package/dist/types/components/Toolbar/index.d.ts +2 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +20 -0
- package/dist/types/components/Tooltip/TooltipShowcase.d.ts +2 -0
- package/dist/types/components/Tooltip/index.d.ts +2 -0
- package/dist/types/components/TreeView/TreeBranch.d.ts +14 -0
- package/dist/types/components/TreeView/TreeView.d.ts +82 -0
- package/dist/types/components/TreeView/TreeViewShowcase.d.ts +2 -0
- package/dist/types/components/TreeView/index.d.ts +3 -0
- package/dist/types/components/Typography/Typography.d.ts +492 -0
- package/dist/types/components/Typography/TypographyShowcase.d.ts +2 -0
- package/dist/types/components/Typography/index.d.ts +2 -0
- package/dist/types/components/_a11y/ContrastCheck.d.ts +15 -0
- package/dist/types/components/_bevelPresets.d.ts +92 -0
- package/dist/types/components/_shadows.d.ts +32 -0
- package/dist/types/components/index.d.ts +74 -0
- package/dist/types/theme/useThemeMode.d.ts +4 -0
- package/docs/components.md +797 -0
- package/docs/getting-started.md +409 -0
- package/docs/token-system.md +468 -0
- package/package.json +126 -0
- package/public/styles/Dark-Mode.css +13867 -0
- package/public/styles/Light-Mode.css +14091 -0
- package/public/styles/README.md +93 -0
- package/public/styles/base.css +261 -0
- package/public/styles/core.css +378 -0
- package/public/styles/foundation.css +72 -0
- package/public/styles/styles.css +6 -0
- package/public/styles/theme.js +234 -0
- package/public/styles/theme.json +12 -0
- package/public/styles/typography-tokens.css +720 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export function Button({ variant, size, elevated, selected, fullWidth, disabled, iconOnly, letterNumber, avatar, swatch, swatchColor, startIcon, endIcon, startDecorator, endDecorator, badge, badgeContent, badgeVariant, badgeSize, badgeDot, badgeMax, badgeAnchorOrigin, children, className, sx, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
variant?: string;
|
|
4
|
+
size?: string;
|
|
5
|
+
elevated?: boolean;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
fullWidth?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
iconOnly?: boolean;
|
|
10
|
+
letterNumber?: boolean;
|
|
11
|
+
avatar?: boolean;
|
|
12
|
+
swatch?: boolean;
|
|
13
|
+
swatchColor: any;
|
|
14
|
+
startIcon: any;
|
|
15
|
+
endIcon: any;
|
|
16
|
+
startDecorator: any;
|
|
17
|
+
endDecorator: any;
|
|
18
|
+
badge?: boolean;
|
|
19
|
+
badgeContent: any;
|
|
20
|
+
badgeVariant?: string;
|
|
21
|
+
badgeSize: any;
|
|
22
|
+
badgeDot?: boolean;
|
|
23
|
+
badgeMax?: number;
|
|
24
|
+
badgeAnchorOrigin?: {
|
|
25
|
+
vertical: string;
|
|
26
|
+
horizontal: string;
|
|
27
|
+
};
|
|
28
|
+
children: any;
|
|
29
|
+
className?: string;
|
|
30
|
+
sx?: {};
|
|
31
|
+
}): JSX.Element;
|
|
32
|
+
export function DefaultButton(p: any): JSX.Element;
|
|
33
|
+
export function DefaultOutlineButton(p: any): JSX.Element;
|
|
34
|
+
export function PrimaryButton(p: any): JSX.Element;
|
|
35
|
+
export function SecondaryButton(p: any): JSX.Element;
|
|
36
|
+
export function TertiaryButton(p: any): JSX.Element;
|
|
37
|
+
export function NeutralButton(p: any): JSX.Element;
|
|
38
|
+
export function InfoButton(p: any): JSX.Element;
|
|
39
|
+
export function SuccessButton(p: any): JSX.Element;
|
|
40
|
+
export function WarningButton(p: any): JSX.Element;
|
|
41
|
+
export function ErrorButton(p: any): JSX.Element;
|
|
42
|
+
export function DangerButton(p: any): JSX.Element;
|
|
43
|
+
export function PrimaryOutlineButton(p: any): JSX.Element;
|
|
44
|
+
export function SecondaryOutlineButton(p: any): JSX.Element;
|
|
45
|
+
export function TertiaryOutlineButton(p: any): JSX.Element;
|
|
46
|
+
export function NeutralOutlineButton(p: any): JSX.Element;
|
|
47
|
+
export function InfoOutlineButton(p: any): JSX.Element;
|
|
48
|
+
export function SuccessOutlineButton(p: any): JSX.Element;
|
|
49
|
+
export function WarningOutlineButton(p: any): JSX.Element;
|
|
50
|
+
export function ErrorOutlineButton(p: any): JSX.Element;
|
|
51
|
+
export function PrimaryLightButton(p: any): JSX.Element;
|
|
52
|
+
export function SecondaryLightButton(p: any): JSX.Element;
|
|
53
|
+
export function TertiaryLightButton(p: any): JSX.Element;
|
|
54
|
+
export function NeutralLightButton(p: any): JSX.Element;
|
|
55
|
+
export function InfoLightButton(p: any): JSX.Element;
|
|
56
|
+
export function SuccessLightButton(p: any): JSX.Element;
|
|
57
|
+
export function WarningLightButton(p: any): JSX.Element;
|
|
58
|
+
export function ErrorLightButton(p: any): JSX.Element;
|
|
59
|
+
export function GhostButton(p: any): JSX.Element;
|
|
60
|
+
export function TextButton(p: any): JSX.Element;
|
|
61
|
+
export function OutlineButton(p: any): JSX.Element;
|
|
62
|
+
export function IconButton(p: any): JSX.Element;
|
|
63
|
+
export function LetterButton(p: any): JSX.Element;
|
|
64
|
+
export function AvatarButton(p: any): JSX.Element;
|
|
65
|
+
export function SwatchButton(p: any): JSX.Element;
|
|
66
|
+
export default Button;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export function ButtonGroup({ variant, color, size, disabled, orientation, spacing, fit, fullWidth, equalWidth, value: controlledValue, defaultValue, onChange, children, className, sx, "aria-label": ariaLabel, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
variant?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
size?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
orientation?: string;
|
|
8
|
+
spacing?: number;
|
|
9
|
+
fit: any;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
equalWidth?: boolean;
|
|
12
|
+
value: any;
|
|
13
|
+
defaultValue: any;
|
|
14
|
+
onChange: any;
|
|
15
|
+
children: any;
|
|
16
|
+
className?: string;
|
|
17
|
+
sx?: {};
|
|
18
|
+
"aria-label": any;
|
|
19
|
+
}): JSX.Element;
|
|
20
|
+
export function DefaultOutlineButtonGroup(p: any): JSX.Element;
|
|
21
|
+
export function PrimaryOutlineButtonGroup(p: any): JSX.Element;
|
|
22
|
+
export function SecondaryOutlineButtonGroup(p: any): JSX.Element;
|
|
23
|
+
export function TertiaryOutlineButtonGroup(p: any): JSX.Element;
|
|
24
|
+
export function NeutralOutlineButtonGroup(p: any): JSX.Element;
|
|
25
|
+
export function InfoOutlineButtonGroup(p: any): JSX.Element;
|
|
26
|
+
export function SuccessOutlineButtonGroup(p: any): JSX.Element;
|
|
27
|
+
export function WarningOutlineButtonGroup(p: any): JSX.Element;
|
|
28
|
+
export function ErrorOutlineButtonGroup(p: any): JSX.Element;
|
|
29
|
+
export function DefaultLightButtonGroup(p: any): JSX.Element;
|
|
30
|
+
export function PrimaryLightButtonGroup(p: any): JSX.Element;
|
|
31
|
+
export function SecondaryLightButtonGroup(p: any): JSX.Element;
|
|
32
|
+
export function TertiaryLightButtonGroup(p: any): JSX.Element;
|
|
33
|
+
export function NeutralLightButtonGroup(p: any): JSX.Element;
|
|
34
|
+
export function InfoLightButtonGroup(p: any): JSX.Element;
|
|
35
|
+
export function SuccessLightButtonGroup(p: any): JSX.Element;
|
|
36
|
+
export function WarningLightButtonGroup(p: any): JSX.Element;
|
|
37
|
+
export function ErrorLightButtonGroup(p: any): JSX.Element;
|
|
38
|
+
export function GhostButtonGroup(p: any): JSX.Element;
|
|
39
|
+
export function PrimaryButtonGroup(p: any): JSX.Element;
|
|
40
|
+
export function OutlineButtonGroup(p: any): JSX.Element;
|
|
41
|
+
export default ButtonGroup;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export function Card({ children, variant, color, surface, size, orientation, clickable, selected, elevated, draggable: draggableProp, onClick, href, className, sx, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
children: any;
|
|
4
|
+
variant?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
surface: any;
|
|
7
|
+
size?: string;
|
|
8
|
+
orientation?: string;
|
|
9
|
+
clickable?: boolean;
|
|
10
|
+
selected?: boolean;
|
|
11
|
+
elevated?: boolean;
|
|
12
|
+
draggable?: boolean;
|
|
13
|
+
onClick: any;
|
|
14
|
+
href: any;
|
|
15
|
+
className?: string;
|
|
16
|
+
sx?: {};
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
export function CardContent({ children, className, sx, ...props }: {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
children: any;
|
|
21
|
+
className?: string;
|
|
22
|
+
sx?: {};
|
|
23
|
+
}): JSX.Element;
|
|
24
|
+
export function CardOverflow({ children, className, sx, ...props }: {
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
children: any;
|
|
27
|
+
className?: string;
|
|
28
|
+
sx?: {};
|
|
29
|
+
}): JSX.Element;
|
|
30
|
+
export function CardCover({ children, className, sx, ...props }: {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
children: any;
|
|
33
|
+
className?: string;
|
|
34
|
+
sx?: {};
|
|
35
|
+
}): JSX.Element;
|
|
36
|
+
export function CardActions({ children, className, sx, ...props }: {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
children: any;
|
|
39
|
+
className?: string;
|
|
40
|
+
sx?: {};
|
|
41
|
+
}): JSX.Element;
|
|
42
|
+
export function useCardContext(): {
|
|
43
|
+
variant: string;
|
|
44
|
+
color: string;
|
|
45
|
+
size: string;
|
|
46
|
+
orientation: string;
|
|
47
|
+
};
|
|
48
|
+
export function DefaultCard(p: any): JSX.Element;
|
|
49
|
+
export function SolidCard(p: any): JSX.Element;
|
|
50
|
+
export function LightCard(p: any): JSX.Element;
|
|
51
|
+
export function DarkCard(p: any): JSX.Element;
|
|
52
|
+
export function SelectableCard(p: any): JSX.Element;
|
|
53
|
+
export function StaticCard(p: any): JSX.Element;
|
|
54
|
+
export default Card;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export function Checkbox({ variant, size, label, checked, defaultChecked, indeterminate, disabled, onChange, name, value, className, sx, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, inputProps: inputPropsProp, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
variant?: string;
|
|
4
|
+
size?: string;
|
|
5
|
+
label: any;
|
|
6
|
+
checked: any;
|
|
7
|
+
defaultChecked: any;
|
|
8
|
+
indeterminate?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
onChange: any;
|
|
11
|
+
name: any;
|
|
12
|
+
value: any;
|
|
13
|
+
className?: string;
|
|
14
|
+
sx?: {};
|
|
15
|
+
"aria-label": any;
|
|
16
|
+
"aria-labelledby": any;
|
|
17
|
+
"aria-describedby": any;
|
|
18
|
+
inputProps?: {};
|
|
19
|
+
}): JSX.Element;
|
|
20
|
+
export function DefaultCheckbox(p: any): JSX.Element;
|
|
21
|
+
export function DefaultSolidCheckbox(p: any): JSX.Element;
|
|
22
|
+
export function DefaultOutlineCheckbox(p: any): JSX.Element;
|
|
23
|
+
export function DefaultLightCheckbox(p: any): JSX.Element;
|
|
24
|
+
export function PrimaryCheckbox(p: any): JSX.Element;
|
|
25
|
+
export function PrimarySolidCheckbox(p: any): JSX.Element;
|
|
26
|
+
export function PrimaryOutlineCheckbox(p: any): JSX.Element;
|
|
27
|
+
export function SecondaryOutlineCheckbox(p: any): JSX.Element;
|
|
28
|
+
export function TertiaryOutlineCheckbox(p: any): JSX.Element;
|
|
29
|
+
export function NeutralOutlineCheckbox(p: any): JSX.Element;
|
|
30
|
+
export function InfoOutlineCheckbox(p: any): JSX.Element;
|
|
31
|
+
export function SuccessOutlineCheckbox(p: any): JSX.Element;
|
|
32
|
+
export function WarningOutlineCheckbox(p: any): JSX.Element;
|
|
33
|
+
export function ErrorOutlineCheckbox(p: any): JSX.Element;
|
|
34
|
+
export function SecondarySolidCheckbox(p: any): JSX.Element;
|
|
35
|
+
export function TertiarySolidCheckbox(p: any): JSX.Element;
|
|
36
|
+
export function NeutralSolidCheckbox(p: any): JSX.Element;
|
|
37
|
+
export function InfoSolidCheckbox(p: any): JSX.Element;
|
|
38
|
+
export function SuccessSolidCheckbox(p: any): JSX.Element;
|
|
39
|
+
export function WarningSolidCheckbox(p: any): JSX.Element;
|
|
40
|
+
export function ErrorSolidCheckbox(p: any): JSX.Element;
|
|
41
|
+
export function PrimaryLightCheckbox(p: any): JSX.Element;
|
|
42
|
+
export function SecondaryLightCheckbox(p: any): JSX.Element;
|
|
43
|
+
export function TertiaryLightCheckbox(p: any): JSX.Element;
|
|
44
|
+
export function NeutralLightCheckbox(p: any): JSX.Element;
|
|
45
|
+
export function InfoLightCheckbox(p: any): JSX.Element;
|
|
46
|
+
export function SuccessLightCheckbox(p: any): JSX.Element;
|
|
47
|
+
export function WarningLightCheckbox(p: any): JSX.Element;
|
|
48
|
+
export function ErrorLightCheckbox(p: any): JSX.Element;
|
|
49
|
+
export function OutlineCheckbox(p: any): JSX.Element;
|
|
50
|
+
export function SolidCheckbox(p: any): JSX.Element;
|
|
51
|
+
export default Checkbox;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export function Chip({ variant, size: sizeProp, label, clickable, disabled, selected, selectionMode, onDelete, onClick, startDecorator, endDecorator, children, className, sx, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
variant?: string;
|
|
4
|
+
size?: string;
|
|
5
|
+
label: any;
|
|
6
|
+
clickable?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
selectionMode: any;
|
|
10
|
+
onDelete: any;
|
|
11
|
+
onClick: any;
|
|
12
|
+
startDecorator: any;
|
|
13
|
+
endDecorator: any;
|
|
14
|
+
children: any;
|
|
15
|
+
className?: string;
|
|
16
|
+
sx?: {};
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
export function PrimaryChip(p: any): JSX.Element;
|
|
19
|
+
export function SecondaryChip(p: any): JSX.Element;
|
|
20
|
+
export function TertiaryChip(p: any): JSX.Element;
|
|
21
|
+
export function NeutralChip(p: any): JSX.Element;
|
|
22
|
+
export function InfoChip(p: any): JSX.Element;
|
|
23
|
+
export function SuccessChip(p: any): JSX.Element;
|
|
24
|
+
export function WarningChip(p: any): JSX.Element;
|
|
25
|
+
export function ErrorChip(p: any): JSX.Element;
|
|
26
|
+
export function PrimaryOutlineChip(p: any): JSX.Element;
|
|
27
|
+
export function SecondaryOutlineChip(p: any): JSX.Element;
|
|
28
|
+
export function TertiaryOutlineChip(p: any): JSX.Element;
|
|
29
|
+
export function NeutralOutlineChip(p: any): JSX.Element;
|
|
30
|
+
export function InfoOutlineChip(p: any): JSX.Element;
|
|
31
|
+
export function SuccessOutlineChip(p: any): JSX.Element;
|
|
32
|
+
export function WarningOutlineChip(p: any): JSX.Element;
|
|
33
|
+
export function ErrorOutlineChip(p: any): JSX.Element;
|
|
34
|
+
export function PrimaryLightChip(p: any): JSX.Element;
|
|
35
|
+
export function SecondaryLightChip(p: any): JSX.Element;
|
|
36
|
+
export function TertiaryLightChip(p: any): JSX.Element;
|
|
37
|
+
export function NeutralLightChip(p: any): JSX.Element;
|
|
38
|
+
export function InfoLightChip(p: any): JSX.Element;
|
|
39
|
+
export function SuccessLightChip(p: any): JSX.Element;
|
|
40
|
+
export function WarningLightChip(p: any): JSX.Element;
|
|
41
|
+
export function ErrorLightChip(p: any): JSX.Element;
|
|
42
|
+
export default Chip;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { ChipShowcase } from "./ChipShowcase";
|
|
2
|
+
export { Chip, PrimaryChip, SecondaryChip, TertiaryChip, NeutralChip, InfoChip, SuccessChip, WarningChip, ErrorChip, PrimaryOutlineChip, SecondaryOutlineChip, TertiaryOutlineChip, NeutralOutlineChip, InfoOutlineChip, SuccessOutlineChip, WarningOutlineChip, ErrorOutlineChip, PrimaryLightChip, SecondaryLightChip, TertiaryLightChip, NeutralLightChip, InfoLightChip, SuccessLightChip, WarningLightChip, ErrorLightChip, default } from "./Chip";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function CircularProgress({ value, color, size, thickness: thicknessOverride, showValue, children, className, sx, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
value: any;
|
|
4
|
+
color?: string;
|
|
5
|
+
size?: string;
|
|
6
|
+
thickness: any;
|
|
7
|
+
showValue?: boolean;
|
|
8
|
+
children: any;
|
|
9
|
+
className?: string;
|
|
10
|
+
sx?: {};
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
export default CircularProgress;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export function CodeBlock({ code, language, showCopy, showHeader, maxHeight, wrap, sx, ...rest }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
code?: string;
|
|
4
|
+
language?: string;
|
|
5
|
+
showCopy?: boolean;
|
|
6
|
+
showHeader?: boolean;
|
|
7
|
+
maxHeight: any;
|
|
8
|
+
wrap?: boolean;
|
|
9
|
+
sx?: {};
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
export namespace CodeBlock {
|
|
12
|
+
namespace propTypes {
|
|
13
|
+
let code: any;
|
|
14
|
+
let language: any;
|
|
15
|
+
let showCopy: any;
|
|
16
|
+
let showHeader: any;
|
|
17
|
+
let maxHeight: any;
|
|
18
|
+
let wrap: any;
|
|
19
|
+
let sx: any;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export default CodeBlock;
|
|
23
|
+
/** Copy-to-clipboard control. Confirms for two seconds, then resets. */
|
|
24
|
+
export function CopyButton({ code, label }: {
|
|
25
|
+
code: any;
|
|
26
|
+
label?: string;
|
|
27
|
+
}): JSX.Element;
|
|
28
|
+
export namespace CopyButton {
|
|
29
|
+
export namespace propTypes_1 {
|
|
30
|
+
let code_1: any;
|
|
31
|
+
export { code_1 as code };
|
|
32
|
+
export let label: any;
|
|
33
|
+
}
|
|
34
|
+
export { propTypes_1 as propTypes };
|
|
35
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors component - Displays the design system color palette
|
|
3
|
+
* Shows Primary, Secondary, Tertiary colors and their background variants
|
|
4
|
+
* Explains dynamic color system based on mode, background, and surface
|
|
5
|
+
*/
|
|
6
|
+
export function Colors(): JSX.Element;
|
|
7
|
+
export default Colors;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Colors, default } from "./Colors";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Container Component
|
|
3
|
+
* Wrapper component that centers content and constrains max-width
|
|
4
|
+
* Uses design system variables for spacing and responsive behavior
|
|
5
|
+
*
|
|
6
|
+
* @param {ReactNode} children - Content to wrap
|
|
7
|
+
* @param {string} maxWidth - Max width: xs, sm, md, lg, xl (default: lg)
|
|
8
|
+
* @param {boolean} disableGutters - Remove padding on sides (default: false)
|
|
9
|
+
* @param {string} sx - Additional MUI sx props
|
|
10
|
+
* @param {object} ...props - Other MUI Container props
|
|
11
|
+
*/
|
|
12
|
+
export function Container({ children, maxWidth, disableGutters, sx, ...props }: ReactNode): JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* Centered Container Component
|
|
15
|
+
* Container with centered content alignment
|
|
16
|
+
*
|
|
17
|
+
* @param {ReactNode} children - Content to wrap
|
|
18
|
+
* @param {string} maxWidth - Max width constraint
|
|
19
|
+
* @param {object} props - Additional props
|
|
20
|
+
*/
|
|
21
|
+
export function CenteredContainer({ children, maxWidth, sx, ...props }: ReactNode): JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* Fluid Container Component
|
|
24
|
+
* Container that takes full width with side padding
|
|
25
|
+
*
|
|
26
|
+
* @param {ReactNode} children - Content to wrap
|
|
27
|
+
* @param {string} padding - Padding size: small, medium, large
|
|
28
|
+
* @param {object} props - Additional props
|
|
29
|
+
*/
|
|
30
|
+
export function FluidContainer({ children, padding, sx, ...props }: ReactNode): JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* Constrained Container Component
|
|
33
|
+
* Container with max-width and centered margins
|
|
34
|
+
*
|
|
35
|
+
* @param {ReactNode} children - Content to wrap
|
|
36
|
+
* @param {string} size - Size: compact, standard, wide, full
|
|
37
|
+
* @param {object} props - Additional props
|
|
38
|
+
*/
|
|
39
|
+
export function ConstrainedContainer({ children, size, sx, ...props }: ReactNode): JSX.Element;
|
|
40
|
+
/**
|
|
41
|
+
* Layout Container Component
|
|
42
|
+
* Container for page layouts with header, content, and footer
|
|
43
|
+
*
|
|
44
|
+
* @param {ReactNode} children - Content to wrap
|
|
45
|
+
* @param {boolean} fullHeight - Take full viewport height
|
|
46
|
+
* @param {object} props - Additional props
|
|
47
|
+
*/
|
|
48
|
+
export function LayoutContainer({ children, fullHeight, sx, ...props }: ReactNode): JSX.Element;
|
|
49
|
+
/**
|
|
50
|
+
* Grid Container Component
|
|
51
|
+
* Container with grid layout support
|
|
52
|
+
*
|
|
53
|
+
* @param {ReactNode} children - Content to wrap
|
|
54
|
+
* @param {number} columns - Number of columns: 1, 2, 3, 4, 6, 12
|
|
55
|
+
* @param {string} gap - Gap between items: small, medium, large
|
|
56
|
+
* @param {object} props - Additional props
|
|
57
|
+
*/
|
|
58
|
+
export function GridContainer({ children, columns, gap, sx, ...props }: ReactNode): JSX.Element;
|
|
59
|
+
/**
|
|
60
|
+
* Stack Container Component
|
|
61
|
+
* Container with flex stack layout
|
|
62
|
+
*
|
|
63
|
+
* @param {ReactNode} children - Content to wrap
|
|
64
|
+
* @param {string} direction - Direction: row, column
|
|
65
|
+
* @param {string} spacing - Spacing between items: small, medium, large
|
|
66
|
+
* @param {string} align - Alignment: flex-start, center, flex-end, stretch
|
|
67
|
+
* @param {object} props - Additional props
|
|
68
|
+
*/
|
|
69
|
+
export function StackContainer({ children, direction, spacing, align, sx, ...props }: ReactNode): JSX.Element;
|
|
70
|
+
export default Container;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Container, CenteredContainer, FluidContainer, ConstrainedContainer, LayoutContainer, GridContainer, StackContainer, default } from "./Container";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function Copyright({ color, companyName, year, rights, children, className, style, ...rest }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
color?: string;
|
|
4
|
+
companyName?: string;
|
|
5
|
+
year?: number;
|
|
6
|
+
rights?: string;
|
|
7
|
+
children: any;
|
|
8
|
+
className: any;
|
|
9
|
+
style: any;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
export default Copyright;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export function CurvedText({ text, curves, arc, radius, direction, rotation, autoCrop, textStyle, fontSize, fontFamily, fontWeight, letterSpacing, color, bevel, bevelTheme, bevelPreset, bevelCustom, className, style, ...rest }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
text?: string;
|
|
4
|
+
curves: any;
|
|
5
|
+
arc?: number;
|
|
6
|
+
radius?: number;
|
|
7
|
+
direction?: string;
|
|
8
|
+
rotation?: number;
|
|
9
|
+
autoCrop?: boolean;
|
|
10
|
+
textStyle?: string;
|
|
11
|
+
fontSize: any;
|
|
12
|
+
fontFamily: any;
|
|
13
|
+
fontWeight: any;
|
|
14
|
+
letterSpacing: any;
|
|
15
|
+
color?: string;
|
|
16
|
+
bevel?: boolean;
|
|
17
|
+
bevelTheme?: string;
|
|
18
|
+
bevelPreset: any;
|
|
19
|
+
bevelCustom: any;
|
|
20
|
+
className: any;
|
|
21
|
+
style: any;
|
|
22
|
+
}): JSX.Element;
|
|
23
|
+
export default CurvedText;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export function Dialog({ open, onClose, title, children, actions, maxWidth, fullScreen, scroll, alert, nonModal, transition, transitionDuration, titleId, contentId, className, sx, PaperProps, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
open?: boolean;
|
|
4
|
+
onClose: any;
|
|
5
|
+
title: any;
|
|
6
|
+
children: any;
|
|
7
|
+
actions: any;
|
|
8
|
+
maxWidth?: string;
|
|
9
|
+
fullScreen?: boolean;
|
|
10
|
+
scroll?: string;
|
|
11
|
+
alert?: boolean;
|
|
12
|
+
nonModal?: boolean;
|
|
13
|
+
transition: any;
|
|
14
|
+
transitionDuration?: number;
|
|
15
|
+
titleId?: string;
|
|
16
|
+
contentId?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
sx?: {};
|
|
19
|
+
PaperProps?: {};
|
|
20
|
+
}): JSX.Element;
|
|
21
|
+
export function AlertDialog({ open, onClose, title, children, confirmText, cancelText, onConfirm, onCancel, ...rest }: {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
open: any;
|
|
24
|
+
onClose: any;
|
|
25
|
+
title: any;
|
|
26
|
+
children: any;
|
|
27
|
+
confirmText?: string;
|
|
28
|
+
cancelText?: string;
|
|
29
|
+
onConfirm: any;
|
|
30
|
+
onCancel: any;
|
|
31
|
+
}): JSX.Element;
|
|
32
|
+
export function FormDialog({ open, onClose, title, children, submitText, cancelText, onSubmit, ...rest }: {
|
|
33
|
+
[x: string]: any;
|
|
34
|
+
open: any;
|
|
35
|
+
onClose: any;
|
|
36
|
+
title: any;
|
|
37
|
+
children: any;
|
|
38
|
+
submitText?: string;
|
|
39
|
+
cancelText?: string;
|
|
40
|
+
onSubmit: any;
|
|
41
|
+
}): JSX.Element;
|
|
42
|
+
export namespace dialogButtonStyles {
|
|
43
|
+
let primary: {
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
color: string;
|
|
46
|
+
border: string;
|
|
47
|
+
'&:hover': {
|
|
48
|
+
backgroundColor: string;
|
|
49
|
+
};
|
|
50
|
+
fontFamily: string;
|
|
51
|
+
fontWeight: number;
|
|
52
|
+
fontSize: string;
|
|
53
|
+
borderRadius: string;
|
|
54
|
+
padding: string;
|
|
55
|
+
cursor: string;
|
|
56
|
+
transition: string;
|
|
57
|
+
'&:focus-visible': {
|
|
58
|
+
outline: string;
|
|
59
|
+
outlineOffset: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
let outline: {
|
|
63
|
+
backgroundColor: string;
|
|
64
|
+
color: string;
|
|
65
|
+
border: string;
|
|
66
|
+
'&:hover': {
|
|
67
|
+
backgroundColor: string;
|
|
68
|
+
};
|
|
69
|
+
fontFamily: string;
|
|
70
|
+
fontWeight: number;
|
|
71
|
+
fontSize: string;
|
|
72
|
+
borderRadius: string;
|
|
73
|
+
padding: string;
|
|
74
|
+
cursor: string;
|
|
75
|
+
transition: string;
|
|
76
|
+
'&:focus-visible': {
|
|
77
|
+
outline: string;
|
|
78
|
+
outlineOffset: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export default Dialog;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export function Divider({ color, orientation, size, children, indicatorText, indicatorStyle, textAlign, className, sx, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
color?: string;
|
|
4
|
+
orientation?: string;
|
|
5
|
+
size?: string;
|
|
6
|
+
children: any;
|
|
7
|
+
indicatorText: any;
|
|
8
|
+
indicatorStyle?: string;
|
|
9
|
+
textAlign?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
sx?: {};
|
|
12
|
+
}): JSX.Element;
|
|
13
|
+
export function DefaultDivider(p: any): JSX.Element;
|
|
14
|
+
export function PrimaryDivider(p: any): JSX.Element;
|
|
15
|
+
export function SecondaryDivider(p: any): JSX.Element;
|
|
16
|
+
export function TertiaryDivider(p: any): JSX.Element;
|
|
17
|
+
export function NeutralDivider(p: any): JSX.Element;
|
|
18
|
+
export function InfoDivider(p: any): JSX.Element;
|
|
19
|
+
export function SuccessDivider(p: any): JSX.Element;
|
|
20
|
+
export function WarningDivider(p: any): JSX.Element;
|
|
21
|
+
export function ErrorDivider(p: any): JSX.Element;
|
|
22
|
+
export default Divider;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function Drawer({ children, open, onClose, size, anchor, hideBackdrop, className, sx, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
children: any;
|
|
4
|
+
open?: boolean;
|
|
5
|
+
onClose: any;
|
|
6
|
+
size?: string;
|
|
7
|
+
anchor?: string;
|
|
8
|
+
hideBackdrop?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
sx?: {};
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
export function DrawerClose({ onClick, className, sx, ...props }: {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
onClick: any;
|
|
15
|
+
className?: string;
|
|
16
|
+
sx?: {};
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
export function DrawerHeader({ children, className, sx, ...props }: {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
children: any;
|
|
21
|
+
className?: string;
|
|
22
|
+
sx?: {};
|
|
23
|
+
}): JSX.Element;
|
|
24
|
+
export function DrawerContent({ children, className, sx, ...props }: {
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
children: any;
|
|
27
|
+
className?: string;
|
|
28
|
+
sx?: {};
|
|
29
|
+
}): JSX.Element;
|
|
30
|
+
export default Drawer;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function DropZone({ onFiles, accept, multiple, size, disabled, icon, label, sublabel, children, className, sx, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
onFiles: any;
|
|
4
|
+
accept: any;
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
size?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
icon: any;
|
|
9
|
+
label: any;
|
|
10
|
+
sublabel: any;
|
|
11
|
+
children: any;
|
|
12
|
+
className?: string;
|
|
13
|
+
sx?: {};
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
export default DropZone;
|