atomos_next_genesis 0.0.5 → 0.0.8

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.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$1 {
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$1 {
49
+ interface ImageProps extends BaseProps {
50
50
  type: "image";
51
51
  src: string;
52
52
  alt?: string;
53
53
  }
54
- interface IconProps extends BaseProps$1 {
54
+ interface IconProps extends BaseProps {
55
55
  type: "icon";
56
56
  icon: JSX.Element;
57
57
  }
58
- interface TextProps extends BaseProps$1 {
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$1 extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
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$1) => React.JSX.Element;
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;
@@ -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;
@@ -460,7 +438,7 @@ declare const radioVariants: (props?: ({
460
438
  } & class_variance_authority_types.ClassProp) | undefined) => string;
461
439
  declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
462
440
 
463
- type UploadStatus = "idle" | "uploading" | "success" | "error";
441
+ type UploadStatus = 'idle' | 'uploading' | 'success' | 'error';
464
442
  interface UploadItem {
465
443
  id: string;
466
444
  file?: File;
@@ -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, export_default as 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, Input, Label, ListItem, ListPagination, Loading, Modal, Notice, OTPInput, Pagination, ProgressBar, Radio, ImageUploadControlled as RazorPayFileUpload, Sidebar, Skeleton, Slider, Spinner, SplitButton, Stepper, Tab, TabList, TabPanel, Table, TableBody, TableDataCell, TableHead, TableHeadCell, TableRow, TabsContainer, TextInputWithLabel, Textarea, Toggle, Tooltip, TreeView, Typography, defaultGetFileIcon };
749
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Breadcrumbs as BreadCrumb, Button, Callout, export_default as 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$1 {
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$1 {
49
+ interface ImageProps extends BaseProps {
50
50
  type: "image";
51
51
  src: string;
52
52
  alt?: string;
53
53
  }
54
- interface IconProps extends BaseProps$1 {
54
+ interface IconProps extends BaseProps {
55
55
  type: "icon";
56
56
  icon: JSX.Element;
57
57
  }
58
- interface TextProps extends BaseProps$1 {
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$1 extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
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$1) => React.JSX.Element;
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;
@@ -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;
@@ -460,7 +438,7 @@ declare const radioVariants: (props?: ({
460
438
  } & class_variance_authority_types.ClassProp) | undefined) => string;
461
439
  declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
462
440
 
463
- type UploadStatus = "idle" | "uploading" | "success" | "error";
441
+ type UploadStatus = 'idle' | 'uploading' | 'success' | 'error';
464
442
  interface UploadItem {
465
443
  id: string;
466
444
  file?: File;
@@ -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, export_default as 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, Input, Label, ListItem, ListPagination, Loading, Modal, Notice, OTPInput, Pagination, ProgressBar, Radio, ImageUploadControlled as RazorPayFileUpload, Sidebar, Skeleton, Slider, Spinner, SplitButton, Stepper, Tab, TabList, TabPanel, Table, TableBody, TableDataCell, TableHead, TableHeadCell, TableRow, TabsContainer, TextInputWithLabel, Textarea, Toggle, Tooltip, TreeView, Typography, defaultGetFileIcon };
749
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Avatar, AvatarGroup, Breadcrumbs as BreadCrumb, Button, Callout, export_default as 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 };