atomos_next_genesis 1.0.1 → 1.0.3

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
@@ -143,15 +143,12 @@ declare const CardAction: React.FC<CardActionProps>;
143
143
  declare const CardContent: React.FC<CardContentProps>;
144
144
  declare const CardFooter: React.FC<CardFooterProps>;
145
145
 
146
- interface CheckboxProps extends Omit<HTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof checkboxVariant> {
147
- size?: "sm" | "lg" | "xl";
148
- disabled?: boolean;
149
- checked?: boolean;
150
- children?: never;
151
- }
152
146
  declare const checkboxVariant: (props?: ({
153
147
  size?: "sm" | "lg" | "xl" | null | undefined;
154
148
  } & class_variance_authority_types.ClassProp) | undefined) => string;
149
+ interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof checkboxVariant> {
150
+ size?: "sm" | "lg" | "xl";
151
+ }
155
152
  declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
156
153
 
157
154
  interface ChipProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof chipVariants> {
@@ -228,30 +225,23 @@ interface DropdownProps$1 {
228
225
  disabled?: boolean;
229
226
  labelTextColor?: string;
230
227
  footerAction?: React.ReactNode;
228
+ height?: string;
231
229
  }
232
230
  declare const Dropdown: React.ForwardRefExoticComponent<DropdownProps$1 & React.RefAttributes<HTMLDivElement>>;
233
231
 
234
- type DropdownAlignment = "left" | "right" | "top" | "bottom" | "center" | "start" | "end";
235
- declare function DropdownMenu({ children }: {
232
+ declare function DropdownMenu({ children, }: {
236
233
  children: React.ReactNode;
237
234
  }): React.JSX.Element;
238
- declare function DropdownMenuTrigger({ children, isOpen, setIsOpen, }: {
235
+ declare function DropdownMenuTrigger({ children, dropdownProps }: any): React.JSX.Element;
236
+ declare function DropdownMenuContent({ children, align, className, dropdownProps, }: any): React.JSX.Element | null;
237
+ declare function DropdownMenuLabel({ children, }: {
239
238
  children: React.ReactNode;
240
- isOpen?: boolean;
241
- setIsOpen?: (open: boolean) => void;
242
239
  }): React.JSX.Element;
243
- declare function DropdownMenuContent({ children, isOpen, align, className, }: {
244
- children: React.ReactNode;
245
- isOpen?: boolean;
246
- className?: string;
247
- align?: DropdownAlignment;
248
- }): React.JSX.Element | null;
249
- declare function DropdownMenuItem({ children, className, onClick, disabled, shortcut, }: any): React.JSX.Element;
250
- declare function DropdownMenuLabel({ children }: any): React.JSX.Element;
251
240
  declare function DropdownMenuSeparator(): React.JSX.Element;
241
+ declare function DropdownMenuItem({ children, onClick, disabled, dropdownProps, }: any): React.JSX.Element;
252
242
  declare function DropdownMenuSub({ children }: any): React.JSX.Element;
253
- declare function DropdownMenuSubTrigger({ children }: any): React.JSX.Element;
254
- declare function DropdownMenuSubContent({ children }: any): React.JSX.Element;
243
+ declare function DropdownMenuSubTrigger({ children, submenuProps, dropdownProps, }: any): React.JSX.Element;
244
+ declare function DropdownMenuSubContent({ children, submenuProps, }: any): React.JSX.Element;
255
245
 
256
246
  type Option = {
257
247
  label: string | number;
@@ -286,6 +276,7 @@ interface DropdownProps {
286
276
  disabled?: boolean;
287
277
  labelTextColor?: string;
288
278
  footerAction?: React.ReactNode;
279
+ height?: string;
289
280
  }
290
281
  declare const DropdownWithIcon: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
291
282
 
@@ -448,7 +439,7 @@ interface UploadItem {
448
439
  status?: UploadStatus;
449
440
  previewUrl?: string;
450
441
  }
451
- interface ImageUploadControlledProps {
442
+ interface FileUploadControlProps {
452
443
  items: UploadItem[];
453
444
  onAddFiles: (files: File[]) => void;
454
445
  onUpdateItem?: (id: string, updates: Partial<UploadItem>) => void;
@@ -467,7 +458,7 @@ interface ImageUploadControlledProps {
467
458
  disabled?: boolean;
468
459
  }
469
460
  declare const defaultGetFileIcon: (fileName: string, fileType: string) => React.JSX.Element;
470
- declare function ImageUploadControlled({ items, onAddFiles, onUpdateItem, onDelete, onRetry, onPreview, onUpload, multiple, accept, maxSizeMB, className, hintText, showSizeText, getFileIcon, autoUpload, disabled, }: ImageUploadControlledProps): React.JSX.Element;
461
+ declare function FileUploadControl({ items, onAddFiles, onUpdateItem, onDelete, onRetry, onPreview, onUpload, multiple, accept, maxSizeMB, className, hintText, showSizeText, getFileIcon, autoUpload, disabled, }: FileUploadControlProps): React.JSX.Element;
471
462
 
472
463
  interface NavItem {
473
464
  label: string;
@@ -746,4 +737,4 @@ declare const typographyVariant: (props?: ({
746
737
  } & class_variance_authority_types.ClassProp) | undefined) => string;
747
738
  declare const Typography: ({ as, variant, intent, children, className, ...props }: TypographyProps) => React.JSX.Element;
748
739
 
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 };
740
+ 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, FileUploadControl, FileUploadPreview, GlobalNavigation, HelperText, 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
@@ -143,15 +143,12 @@ declare const CardAction: React.FC<CardActionProps>;
143
143
  declare const CardContent: React.FC<CardContentProps>;
144
144
  declare const CardFooter: React.FC<CardFooterProps>;
145
145
 
146
- interface CheckboxProps extends Omit<HTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof checkboxVariant> {
147
- size?: "sm" | "lg" | "xl";
148
- disabled?: boolean;
149
- checked?: boolean;
150
- children?: never;
151
- }
152
146
  declare const checkboxVariant: (props?: ({
153
147
  size?: "sm" | "lg" | "xl" | null | undefined;
154
148
  } & class_variance_authority_types.ClassProp) | undefined) => string;
149
+ interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof checkboxVariant> {
150
+ size?: "sm" | "lg" | "xl";
151
+ }
155
152
  declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
156
153
 
157
154
  interface ChipProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof chipVariants> {
@@ -228,30 +225,23 @@ interface DropdownProps$1 {
228
225
  disabled?: boolean;
229
226
  labelTextColor?: string;
230
227
  footerAction?: React.ReactNode;
228
+ height?: string;
231
229
  }
232
230
  declare const Dropdown: React.ForwardRefExoticComponent<DropdownProps$1 & React.RefAttributes<HTMLDivElement>>;
233
231
 
234
- type DropdownAlignment = "left" | "right" | "top" | "bottom" | "center" | "start" | "end";
235
- declare function DropdownMenu({ children }: {
232
+ declare function DropdownMenu({ children, }: {
236
233
  children: React.ReactNode;
237
234
  }): React.JSX.Element;
238
- declare function DropdownMenuTrigger({ children, isOpen, setIsOpen, }: {
235
+ declare function DropdownMenuTrigger({ children, dropdownProps }: any): React.JSX.Element;
236
+ declare function DropdownMenuContent({ children, align, className, dropdownProps, }: any): React.JSX.Element | null;
237
+ declare function DropdownMenuLabel({ children, }: {
239
238
  children: React.ReactNode;
240
- isOpen?: boolean;
241
- setIsOpen?: (open: boolean) => void;
242
239
  }): React.JSX.Element;
243
- declare function DropdownMenuContent({ children, isOpen, align, className, }: {
244
- children: React.ReactNode;
245
- isOpen?: boolean;
246
- className?: string;
247
- align?: DropdownAlignment;
248
- }): React.JSX.Element | null;
249
- declare function DropdownMenuItem({ children, className, onClick, disabled, shortcut, }: any): React.JSX.Element;
250
- declare function DropdownMenuLabel({ children }: any): React.JSX.Element;
251
240
  declare function DropdownMenuSeparator(): React.JSX.Element;
241
+ declare function DropdownMenuItem({ children, onClick, disabled, dropdownProps, }: any): React.JSX.Element;
252
242
  declare function DropdownMenuSub({ children }: any): React.JSX.Element;
253
- declare function DropdownMenuSubTrigger({ children }: any): React.JSX.Element;
254
- declare function DropdownMenuSubContent({ children }: any): React.JSX.Element;
243
+ declare function DropdownMenuSubTrigger({ children, submenuProps, dropdownProps, }: any): React.JSX.Element;
244
+ declare function DropdownMenuSubContent({ children, submenuProps, }: any): React.JSX.Element;
255
245
 
256
246
  type Option = {
257
247
  label: string | number;
@@ -286,6 +276,7 @@ interface DropdownProps {
286
276
  disabled?: boolean;
287
277
  labelTextColor?: string;
288
278
  footerAction?: React.ReactNode;
279
+ height?: string;
289
280
  }
290
281
  declare const DropdownWithIcon: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
291
282
 
@@ -448,7 +439,7 @@ interface UploadItem {
448
439
  status?: UploadStatus;
449
440
  previewUrl?: string;
450
441
  }
451
- interface ImageUploadControlledProps {
442
+ interface FileUploadControlProps {
452
443
  items: UploadItem[];
453
444
  onAddFiles: (files: File[]) => void;
454
445
  onUpdateItem?: (id: string, updates: Partial<UploadItem>) => void;
@@ -467,7 +458,7 @@ interface ImageUploadControlledProps {
467
458
  disabled?: boolean;
468
459
  }
469
460
  declare const defaultGetFileIcon: (fileName: string, fileType: string) => React.JSX.Element;
470
- declare function ImageUploadControlled({ items, onAddFiles, onUpdateItem, onDelete, onRetry, onPreview, onUpload, multiple, accept, maxSizeMB, className, hintText, showSizeText, getFileIcon, autoUpload, disabled, }: ImageUploadControlledProps): React.JSX.Element;
461
+ declare function FileUploadControl({ items, onAddFiles, onUpdateItem, onDelete, onRetry, onPreview, onUpload, multiple, accept, maxSizeMB, className, hintText, showSizeText, getFileIcon, autoUpload, disabled, }: FileUploadControlProps): React.JSX.Element;
471
462
 
472
463
  interface NavItem {
473
464
  label: string;
@@ -746,4 +737,4 @@ declare const typographyVariant: (props?: ({
746
737
  } & class_variance_authority_types.ClassProp) | undefined) => string;
747
738
  declare const Typography: ({ as, variant, intent, children, className, ...props }: TypographyProps) => React.JSX.Element;
748
739
 
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 };
740
+ 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, FileUploadControl, FileUploadPreview, GlobalNavigation, HelperText, 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 };