pillardash-ui-react 0.1.89 → 0.1.91
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 +31 -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
|
@@ -90,8 +90,37 @@ declare const CheckBox: ({ variant, size, checked, disabled, onChange, label, la
|
|
|
90
90
|
declare const RadioGroup: ({ name, value, onChange, options, size, className, error, helperText, required, label, direction, }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
|
|
91
91
|
declare function CheckBoxDemo(): react_jsx_runtime.JSX.Element;
|
|
92
92
|
|
|
93
|
+
interface FileItem {
|
|
94
|
+
id?: string;
|
|
95
|
+
name: string;
|
|
96
|
+
size: number;
|
|
97
|
+
type: string;
|
|
98
|
+
url?: string;
|
|
99
|
+
file?: File;
|
|
100
|
+
uploadProgress?: number;
|
|
101
|
+
}
|
|
102
|
+
interface FileViewProps {
|
|
103
|
+
files: FileItem[];
|
|
104
|
+
onDelete?: (index: number) => void;
|
|
105
|
+
onUpdate?: (index: number) => void;
|
|
106
|
+
onView?: (index: number) => void;
|
|
107
|
+
onDownload?: (index: number) => void;
|
|
108
|
+
showActions?: boolean;
|
|
109
|
+
showDelete?: boolean;
|
|
110
|
+
showUpdate?: boolean;
|
|
111
|
+
showView?: boolean;
|
|
112
|
+
showDownload?: boolean;
|
|
113
|
+
layout?: "grid" | "list";
|
|
114
|
+
maxPreviewSize?: number;
|
|
115
|
+
className?: string;
|
|
116
|
+
}
|
|
117
|
+
declare const FileView: React$1.FC<FileViewProps>;
|
|
118
|
+
|
|
119
|
+
declare const FileViewSystemDemo: () => react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
93
121
|
interface FileUploadProps {
|
|
94
122
|
onFileChange: (files: File[] | null) => void;
|
|
123
|
+
existingFiles?: FileItem[];
|
|
95
124
|
direction?: "row" | "col";
|
|
96
125
|
maxFileSize?: string;
|
|
97
126
|
label?: string;
|
|
@@ -562,5 +591,5 @@ interface BadgeProps {
|
|
|
562
591
|
}
|
|
563
592
|
declare const Badge: React$1.FC<BadgeProps>;
|
|
564
593
|
|
|
565
|
-
export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, CardStatsSkeleton, CheckBox, CheckBoxDemo, ConfirmationAlert, DateTimePicker, DateTimePickerDemo, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, 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 };
|
|
566
|
-
export type { AlertContextProps, AlertItem, AlertProps, AlertType, BadgeProps, BadgeVariant, BreadcrumbItem, BreadcrumbProps, ButtonProps, CheckBoxProps, Column, ConfirmationPopupProps, ConfirmationType, DateTimePickerProps, DateTimeValue, EmptyStateProps, FileUploadProps, InputElement, InputProps, InputWithPrefixProps, LoadingProps, ModalProps, PaginationProps, RadioGroupProps, SearchProps, SelectButtonOption, SelectButtonProps, SelectOption, SelectProps, SkeletonAnimation, SkeletonLoaderModule, SkeletonLoaderProps, SkeletonSize, SkeletonVariant, TableDropdownProps, TableProps, Tag, TagInputProps, TextEditorProps, TooltipProps };
|
|
594
|
+
export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, CardStatsSkeleton, CheckBox, CheckBoxDemo, ConfirmationAlert, DateTimePicker, DateTimePickerDemo, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, FileView, FileViewSystemDemo, 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 };
|
|
595
|
+
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 };
|