atomos_next_genesis 0.0.9 → 1.0.2
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 +183 -207
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2 -51
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +12 -18
- package/dist/index.d.ts +12 -18
- package/dist/index.js +182 -206
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -228,30 +228,23 @@ interface DropdownProps$1 {
|
|
|
228
228
|
disabled?: boolean;
|
|
229
229
|
labelTextColor?: string;
|
|
230
230
|
footerAction?: React.ReactNode;
|
|
231
|
+
height?: string;
|
|
231
232
|
}
|
|
232
233
|
declare const Dropdown: React.ForwardRefExoticComponent<DropdownProps$1 & React.RefAttributes<HTMLDivElement>>;
|
|
233
234
|
|
|
234
|
-
|
|
235
|
-
declare function DropdownMenu({ children }: {
|
|
235
|
+
declare function DropdownMenu({ children, }: {
|
|
236
236
|
children: React.ReactNode;
|
|
237
237
|
}): React.JSX.Element;
|
|
238
|
-
declare function DropdownMenuTrigger({ children,
|
|
238
|
+
declare function DropdownMenuTrigger({ children, dropdownProps }: any): React.JSX.Element;
|
|
239
|
+
declare function DropdownMenuContent({ children, align, className, dropdownProps, }: any): React.JSX.Element | null;
|
|
240
|
+
declare function DropdownMenuLabel({ children, }: {
|
|
239
241
|
children: React.ReactNode;
|
|
240
|
-
isOpen?: boolean;
|
|
241
|
-
setIsOpen?: (open: boolean) => void;
|
|
242
242
|
}): 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
243
|
declare function DropdownMenuSeparator(): React.JSX.Element;
|
|
244
|
+
declare function DropdownMenuItem({ children, onClick, disabled, dropdownProps, }: any): React.JSX.Element;
|
|
252
245
|
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;
|
|
246
|
+
declare function DropdownMenuSubTrigger({ children, submenuProps, dropdownProps, }: any): React.JSX.Element;
|
|
247
|
+
declare function DropdownMenuSubContent({ children, submenuProps, }: any): React.JSX.Element;
|
|
255
248
|
|
|
256
249
|
type Option = {
|
|
257
250
|
label: string | number;
|
|
@@ -286,6 +279,7 @@ interface DropdownProps {
|
|
|
286
279
|
disabled?: boolean;
|
|
287
280
|
labelTextColor?: string;
|
|
288
281
|
footerAction?: React.ReactNode;
|
|
282
|
+
height?: string;
|
|
289
283
|
}
|
|
290
284
|
declare const DropdownWithIcon: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
|
|
291
285
|
|
|
@@ -448,7 +442,7 @@ interface UploadItem {
|
|
|
448
442
|
status?: UploadStatus;
|
|
449
443
|
previewUrl?: string;
|
|
450
444
|
}
|
|
451
|
-
interface
|
|
445
|
+
interface FileUploadControlProps {
|
|
452
446
|
items: UploadItem[];
|
|
453
447
|
onAddFiles: (files: File[]) => void;
|
|
454
448
|
onUpdateItem?: (id: string, updates: Partial<UploadItem>) => void;
|
|
@@ -467,7 +461,7 @@ interface ImageUploadControlledProps {
|
|
|
467
461
|
disabled?: boolean;
|
|
468
462
|
}
|
|
469
463
|
declare const defaultGetFileIcon: (fileName: string, fileType: string) => React.JSX.Element;
|
|
470
|
-
declare function
|
|
464
|
+
declare function FileUploadControl({ items, onAddFiles, onUpdateItem, onDelete, onRetry, onPreview, onUpload, multiple, accept, maxSizeMB, className, hintText, showSizeText, getFileIcon, autoUpload, disabled, }: FileUploadControlProps): React.JSX.Element;
|
|
471
465
|
|
|
472
466
|
interface NavItem {
|
|
473
467
|
label: string;
|
|
@@ -746,4 +740,4 @@ declare const typographyVariant: (props?: ({
|
|
|
746
740
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
747
741
|
declare const Typography: ({ as, variant, intent, children, className, ...props }: TypographyProps) => React.JSX.Element;
|
|
748
742
|
|
|
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,
|
|
743
|
+
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
|
@@ -228,30 +228,23 @@ interface DropdownProps$1 {
|
|
|
228
228
|
disabled?: boolean;
|
|
229
229
|
labelTextColor?: string;
|
|
230
230
|
footerAction?: React.ReactNode;
|
|
231
|
+
height?: string;
|
|
231
232
|
}
|
|
232
233
|
declare const Dropdown: React.ForwardRefExoticComponent<DropdownProps$1 & React.RefAttributes<HTMLDivElement>>;
|
|
233
234
|
|
|
234
|
-
|
|
235
|
-
declare function DropdownMenu({ children }: {
|
|
235
|
+
declare function DropdownMenu({ children, }: {
|
|
236
236
|
children: React.ReactNode;
|
|
237
237
|
}): React.JSX.Element;
|
|
238
|
-
declare function DropdownMenuTrigger({ children,
|
|
238
|
+
declare function DropdownMenuTrigger({ children, dropdownProps }: any): React.JSX.Element;
|
|
239
|
+
declare function DropdownMenuContent({ children, align, className, dropdownProps, }: any): React.JSX.Element | null;
|
|
240
|
+
declare function DropdownMenuLabel({ children, }: {
|
|
239
241
|
children: React.ReactNode;
|
|
240
|
-
isOpen?: boolean;
|
|
241
|
-
setIsOpen?: (open: boolean) => void;
|
|
242
242
|
}): 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
243
|
declare function DropdownMenuSeparator(): React.JSX.Element;
|
|
244
|
+
declare function DropdownMenuItem({ children, onClick, disabled, dropdownProps, }: any): React.JSX.Element;
|
|
252
245
|
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;
|
|
246
|
+
declare function DropdownMenuSubTrigger({ children, submenuProps, dropdownProps, }: any): React.JSX.Element;
|
|
247
|
+
declare function DropdownMenuSubContent({ children, submenuProps, }: any): React.JSX.Element;
|
|
255
248
|
|
|
256
249
|
type Option = {
|
|
257
250
|
label: string | number;
|
|
@@ -286,6 +279,7 @@ interface DropdownProps {
|
|
|
286
279
|
disabled?: boolean;
|
|
287
280
|
labelTextColor?: string;
|
|
288
281
|
footerAction?: React.ReactNode;
|
|
282
|
+
height?: string;
|
|
289
283
|
}
|
|
290
284
|
declare const DropdownWithIcon: React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
|
|
291
285
|
|
|
@@ -448,7 +442,7 @@ interface UploadItem {
|
|
|
448
442
|
status?: UploadStatus;
|
|
449
443
|
previewUrl?: string;
|
|
450
444
|
}
|
|
451
|
-
interface
|
|
445
|
+
interface FileUploadControlProps {
|
|
452
446
|
items: UploadItem[];
|
|
453
447
|
onAddFiles: (files: File[]) => void;
|
|
454
448
|
onUpdateItem?: (id: string, updates: Partial<UploadItem>) => void;
|
|
@@ -467,7 +461,7 @@ interface ImageUploadControlledProps {
|
|
|
467
461
|
disabled?: boolean;
|
|
468
462
|
}
|
|
469
463
|
declare const defaultGetFileIcon: (fileName: string, fileType: string) => React.JSX.Element;
|
|
470
|
-
declare function
|
|
464
|
+
declare function FileUploadControl({ items, onAddFiles, onUpdateItem, onDelete, onRetry, onPreview, onUpload, multiple, accept, maxSizeMB, className, hintText, showSizeText, getFileIcon, autoUpload, disabled, }: FileUploadControlProps): React.JSX.Element;
|
|
471
465
|
|
|
472
466
|
interface NavItem {
|
|
473
467
|
label: string;
|
|
@@ -746,4 +740,4 @@ declare const typographyVariant: (props?: ({
|
|
|
746
740
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
747
741
|
declare const Typography: ({ as, variant, intent, children, className, ...props }: TypographyProps) => React.JSX.Element;
|
|
748
742
|
|
|
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,
|
|
743
|
+
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 };
|