pillardash-ui-react 0.1.88 → 0.1.90
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.ts +28 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -562,5 +562,31 @@ interface BadgeProps {
|
|
|
562
562
|
}
|
|
563
563
|
declare const Badge: React$1.FC<BadgeProps>;
|
|
564
564
|
|
|
565
|
-
|
|
566
|
-
|
|
565
|
+
interface FileItem {
|
|
566
|
+
id?: string;
|
|
567
|
+
name: string;
|
|
568
|
+
size: number;
|
|
569
|
+
type: string;
|
|
570
|
+
url?: string;
|
|
571
|
+
file?: File;
|
|
572
|
+
uploadProgress?: number;
|
|
573
|
+
}
|
|
574
|
+
interface FileViewProps {
|
|
575
|
+
files: FileItem[];
|
|
576
|
+
onDelete?: (index: number) => void;
|
|
577
|
+
onUpdate?: (index: number) => void;
|
|
578
|
+
onView?: (index: number) => void;
|
|
579
|
+
onDownload?: (index: number) => void;
|
|
580
|
+
showActions?: boolean;
|
|
581
|
+
showDelete?: boolean;
|
|
582
|
+
showUpdate?: boolean;
|
|
583
|
+
showView?: boolean;
|
|
584
|
+
showDownload?: boolean;
|
|
585
|
+
layout?: "grid" | "list";
|
|
586
|
+
maxPreviewSize?: number;
|
|
587
|
+
className?: string;
|
|
588
|
+
}
|
|
589
|
+
declare const FileView: React$1.FC<FileViewProps>;
|
|
590
|
+
|
|
591
|
+
export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, CardStatsSkeleton, CheckBox, CheckBoxDemo, ConfirmationAlert, DateTimePicker, DateTimePickerDemo, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, FileView, Input, InputWithPrefix, Loading, LoadingDemo, Modal, ModalExample, Pagination, RadioGroup, SKELETON_LOADER_VERSION, SKELETON_PATTERNS, SKELETON_PRESETS, Search, Select, SelectButton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonImage, SkeletonList, SkeletonLoader, SkeletonLoaderExample, SkeletonProfile, SkeletonTable, SkeletonText, Table, TableDropdown, TableSkeleton, TagInput, TagInputDemo, TextEditor, Tooltip, alert, useAlert };
|
|
592
|
+
export type { AlertContextProps, AlertItem, AlertProps, AlertType, BadgeProps, BadgeVariant, BreadcrumbItem, BreadcrumbProps, ButtonProps, CheckBoxProps, Column, ConfirmationPopupProps, ConfirmationType, DateTimePickerProps, DateTimeValue, EmptyStateProps, FileItem, FileUploadProps, FileViewProps, InputElement, InputProps, InputWithPrefixProps, LoadingProps, ModalProps, PaginationProps, RadioGroupProps, SearchProps, SelectButtonOption, SelectButtonProps, SelectOption, SelectProps, SkeletonAnimation, SkeletonLoaderModule, SkeletonLoaderProps, SkeletonSize, SkeletonVariant, TableDropdownProps, TableProps, Tag, TagInputProps, TextEditorProps, TooltipProps };
|