atomos_next_genesis 0.0.6 → 0.0.9
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/dist/index.cjs +340 -318
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +22 -37
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +8 -30
- package/dist/index.d.ts +8 -30
- package/dist/index.js +308 -285
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -32,7 +32,7 @@ type AccordionContentProps = {
|
|
|
32
32
|
};
|
|
33
33
|
declare function AccordionContent({ children }: AccordionContentProps): React.JSX.Element;
|
|
34
34
|
|
|
35
|
-
interface BaseProps
|
|
35
|
+
interface BaseProps {
|
|
36
36
|
type: "image" | "icon" | "text";
|
|
37
37
|
size?: "sm" | "md" | "lg";
|
|
38
38
|
className?: string;
|
|
@@ -46,16 +46,16 @@ interface BaseProps$1 {
|
|
|
46
46
|
statusIcon?: JSX.Element;
|
|
47
47
|
statusPosition?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
48
48
|
}
|
|
49
|
-
interface ImageProps extends BaseProps
|
|
49
|
+
interface ImageProps extends BaseProps {
|
|
50
50
|
type: "image";
|
|
51
51
|
src: string;
|
|
52
52
|
alt?: string;
|
|
53
53
|
}
|
|
54
|
-
interface IconProps extends BaseProps
|
|
54
|
+
interface IconProps extends BaseProps {
|
|
55
55
|
type: "icon";
|
|
56
56
|
icon: JSX.Element;
|
|
57
57
|
}
|
|
58
|
-
interface TextProps extends BaseProps
|
|
58
|
+
interface TextProps extends BaseProps {
|
|
59
59
|
type: "text";
|
|
60
60
|
text: string;
|
|
61
61
|
}
|
|
@@ -79,7 +79,7 @@ type BreadcrumbsProps = {
|
|
|
79
79
|
};
|
|
80
80
|
declare const Breadcrumbs: ({ children, separator, "aria-label": ariaLabel, containerClasses }: BreadcrumbsProps) => React.JSX.Element;
|
|
81
81
|
|
|
82
|
-
interface ButtonProps
|
|
82
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
83
83
|
children?: ReactNode;
|
|
84
84
|
startIcon?: JSX.Element;
|
|
85
85
|
endIcon?: JSX.Element;
|
|
@@ -92,7 +92,7 @@ declare const buttonVariants: (props?: ({
|
|
|
92
92
|
intent?: "blue" | "indigo" | "orange" | "pink" | "purple" | "violet" | "primary" | "success" | "error" | "warning" | "default" | "bluegray" | "bluelight" | "rose" | "primary-outlined" | "success-outlined" | "error-outlined" | "warning-outlined" | "default-outlined" | "blue-outlined" | "bluegray-outlined" | "bluelight-outlined" | "indigo-outlined" | "purple-outlined" | "violet-outlined" | "pink-outlined" | "rose-outlined" | "orange-outlined" | null | undefined;
|
|
93
93
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
94
94
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
95
|
-
declare const Button: ({ children, className, variant, intent, fullWidth, startIcon, disabled, endIcon, size, type, ...props }: ButtonProps
|
|
95
|
+
declare const Button: ({ children, className, variant, intent, fullWidth, startIcon, disabled, endIcon, size, type, ...props }: ButtonProps) => React.JSX.Element;
|
|
96
96
|
|
|
97
97
|
declare const calloutVariants: (props?: ({
|
|
98
98
|
variant?: "filled" | "outlined" | null | undefined;
|
|
@@ -135,7 +135,7 @@ interface CardFooterProps {
|
|
|
135
135
|
children: React.ReactNode;
|
|
136
136
|
className?: string;
|
|
137
137
|
}
|
|
138
|
-
declare function
|
|
138
|
+
declare function Card({ children, className }: CardProps): React.JSX.Element;
|
|
139
139
|
declare const CardHeader: React.FC<CardHeaderProps>;
|
|
140
140
|
declare const CardTitle: React.FC<CardTitleProps>;
|
|
141
141
|
declare const CardDescription: React.FC<CardDescriptionProps>;
|
|
@@ -352,28 +352,6 @@ declare const labelVariants: (props?: ({
|
|
|
352
352
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
353
353
|
declare const Label: ({ children, htmlFor, size, required, disabled, className, ...props }: LabelProps) => React.JSX.Element;
|
|
354
354
|
|
|
355
|
-
interface BaseProps {
|
|
356
|
-
className?: string;
|
|
357
|
-
children?: React.ReactNode;
|
|
358
|
-
title: string;
|
|
359
|
-
as?: "link" | "button";
|
|
360
|
-
icon?: React.ReactNode;
|
|
361
|
-
}
|
|
362
|
-
type LinkProps = BaseProps & {
|
|
363
|
-
as: "link";
|
|
364
|
-
href: string;
|
|
365
|
-
onClick?: never;
|
|
366
|
-
className?: string;
|
|
367
|
-
};
|
|
368
|
-
type ButtonProps = BaseProps & {
|
|
369
|
-
as: "button";
|
|
370
|
-
href?: never;
|
|
371
|
-
onClick?: () => void;
|
|
372
|
-
className?: string;
|
|
373
|
-
};
|
|
374
|
-
type ListItemProps = LinkProps | ButtonProps;
|
|
375
|
-
declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
376
|
-
|
|
377
355
|
interface ListPaginationProps {
|
|
378
356
|
count: number;
|
|
379
357
|
page: number;
|
|
@@ -768,4 +746,4 @@ declare const typographyVariant: (props?: ({
|
|
|
768
746
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
769
747
|
declare const Typography: ({ as, variant, intent, children, className, ...props }: TypographyProps) => React.JSX.Element;
|
|
770
748
|
|
|
771
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Breadcrumbs as BreadCrumb, Button, Callout,
|
|
749
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Breadcrumbs as BreadCrumb, Button, Callout, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CircularProgressBar as CircularProgress, Divider, Drawer, Dropdown, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownWithIcon, FileSelector, FileUpload, FileUploadPreview, GlobalNavigation, HelperText, ImageUploadControlled, Input, Label, ListPagination, Loading, Modal, Notice, OTPInput, Pagination, ProgressBar, Radio, Sidebar, Skeleton, Slider, Spinner, SplitButton, Stepper, Tab, TabList, TabPanel, Table, TableBody, TableDataCell, TableHead, TableHeadCell, TableRow, TabsContainer, TextInputWithLabel, Textarea, Toggle, Tooltip, TreeView, Typography, defaultGetFileIcon };
|
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ type AccordionContentProps = {
|
|
|
32
32
|
};
|
|
33
33
|
declare function AccordionContent({ children }: AccordionContentProps): React.JSX.Element;
|
|
34
34
|
|
|
35
|
-
interface BaseProps
|
|
35
|
+
interface BaseProps {
|
|
36
36
|
type: "image" | "icon" | "text";
|
|
37
37
|
size?: "sm" | "md" | "lg";
|
|
38
38
|
className?: string;
|
|
@@ -46,16 +46,16 @@ interface BaseProps$1 {
|
|
|
46
46
|
statusIcon?: JSX.Element;
|
|
47
47
|
statusPosition?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
48
48
|
}
|
|
49
|
-
interface ImageProps extends BaseProps
|
|
49
|
+
interface ImageProps extends BaseProps {
|
|
50
50
|
type: "image";
|
|
51
51
|
src: string;
|
|
52
52
|
alt?: string;
|
|
53
53
|
}
|
|
54
|
-
interface IconProps extends BaseProps
|
|
54
|
+
interface IconProps extends BaseProps {
|
|
55
55
|
type: "icon";
|
|
56
56
|
icon: JSX.Element;
|
|
57
57
|
}
|
|
58
|
-
interface TextProps extends BaseProps
|
|
58
|
+
interface TextProps extends BaseProps {
|
|
59
59
|
type: "text";
|
|
60
60
|
text: string;
|
|
61
61
|
}
|
|
@@ -79,7 +79,7 @@ type BreadcrumbsProps = {
|
|
|
79
79
|
};
|
|
80
80
|
declare const Breadcrumbs: ({ children, separator, "aria-label": ariaLabel, containerClasses }: BreadcrumbsProps) => React.JSX.Element;
|
|
81
81
|
|
|
82
|
-
interface ButtonProps
|
|
82
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
83
83
|
children?: ReactNode;
|
|
84
84
|
startIcon?: JSX.Element;
|
|
85
85
|
endIcon?: JSX.Element;
|
|
@@ -92,7 +92,7 @@ declare const buttonVariants: (props?: ({
|
|
|
92
92
|
intent?: "blue" | "indigo" | "orange" | "pink" | "purple" | "violet" | "primary" | "success" | "error" | "warning" | "default" | "bluegray" | "bluelight" | "rose" | "primary-outlined" | "success-outlined" | "error-outlined" | "warning-outlined" | "default-outlined" | "blue-outlined" | "bluegray-outlined" | "bluelight-outlined" | "indigo-outlined" | "purple-outlined" | "violet-outlined" | "pink-outlined" | "rose-outlined" | "orange-outlined" | null | undefined;
|
|
93
93
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
94
94
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
95
|
-
declare const Button: ({ children, className, variant, intent, fullWidth, startIcon, disabled, endIcon, size, type, ...props }: ButtonProps
|
|
95
|
+
declare const Button: ({ children, className, variant, intent, fullWidth, startIcon, disabled, endIcon, size, type, ...props }: ButtonProps) => React.JSX.Element;
|
|
96
96
|
|
|
97
97
|
declare const calloutVariants: (props?: ({
|
|
98
98
|
variant?: "filled" | "outlined" | null | undefined;
|
|
@@ -135,7 +135,7 @@ interface CardFooterProps {
|
|
|
135
135
|
children: React.ReactNode;
|
|
136
136
|
className?: string;
|
|
137
137
|
}
|
|
138
|
-
declare function
|
|
138
|
+
declare function Card({ children, className }: CardProps): React.JSX.Element;
|
|
139
139
|
declare const CardHeader: React.FC<CardHeaderProps>;
|
|
140
140
|
declare const CardTitle: React.FC<CardTitleProps>;
|
|
141
141
|
declare const CardDescription: React.FC<CardDescriptionProps>;
|
|
@@ -352,28 +352,6 @@ declare const labelVariants: (props?: ({
|
|
|
352
352
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
353
353
|
declare const Label: ({ children, htmlFor, size, required, disabled, className, ...props }: LabelProps) => React.JSX.Element;
|
|
354
354
|
|
|
355
|
-
interface BaseProps {
|
|
356
|
-
className?: string;
|
|
357
|
-
children?: React.ReactNode;
|
|
358
|
-
title: string;
|
|
359
|
-
as?: "link" | "button";
|
|
360
|
-
icon?: React.ReactNode;
|
|
361
|
-
}
|
|
362
|
-
type LinkProps = BaseProps & {
|
|
363
|
-
as: "link";
|
|
364
|
-
href: string;
|
|
365
|
-
onClick?: never;
|
|
366
|
-
className?: string;
|
|
367
|
-
};
|
|
368
|
-
type ButtonProps = BaseProps & {
|
|
369
|
-
as: "button";
|
|
370
|
-
href?: never;
|
|
371
|
-
onClick?: () => void;
|
|
372
|
-
className?: string;
|
|
373
|
-
};
|
|
374
|
-
type ListItemProps = LinkProps | ButtonProps;
|
|
375
|
-
declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
376
|
-
|
|
377
355
|
interface ListPaginationProps {
|
|
378
356
|
count: number;
|
|
379
357
|
page: number;
|
|
@@ -768,4 +746,4 @@ declare const typographyVariant: (props?: ({
|
|
|
768
746
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
769
747
|
declare const Typography: ({ as, variant, intent, children, className, ...props }: TypographyProps) => React.JSX.Element;
|
|
770
748
|
|
|
771
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Breadcrumbs as BreadCrumb, Button, Callout,
|
|
749
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Breadcrumbs as BreadCrumb, Button, Callout, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CircularProgressBar as CircularProgress, Divider, Drawer, Dropdown, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownWithIcon, FileSelector, FileUpload, FileUploadPreview, GlobalNavigation, HelperText, ImageUploadControlled, Input, Label, ListPagination, Loading, Modal, Notice, OTPInput, Pagination, ProgressBar, Radio, Sidebar, Skeleton, Slider, Spinner, SplitButton, Stepper, Tab, TabList, TabPanel, Table, TableBody, TableDataCell, TableHead, TableHeadCell, TableRow, TabsContainer, TextInputWithLabel, Textarea, Toggle, Tooltip, TreeView, Typography, defaultGetFileIcon };
|