pillardash-ui-react 0.1.58 → 0.1.60

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 CHANGED
@@ -64,13 +64,16 @@ declare const CheckBox: ({ variant, size, checked, disabled, onChange, label, la
64
64
  interface FileUploadProps {
65
65
  onFileChange: (file: File | null) => void;
66
66
  direction?: "row" | "col";
67
+ maxFileSize?: string;
68
+ label?: string;
67
69
  }
68
70
  declare const FileUpload: React$1.FC<FileUploadProps>;
69
71
 
72
+ type InputElement = HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement;
70
73
  interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size"> {
71
- id: string;
74
+ id?: string;
72
75
  value: string;
73
- onChange?: (value: React$1.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
76
+ onChange?: (value: React$1.ChangeEvent<InputElement>) => void;
74
77
  placeholder?: string;
75
78
  error?: string;
76
79
  label?: string;
@@ -85,9 +88,9 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement> & Textar
85
88
  declare const Input: React$1.FC<InputProps>;
86
89
 
87
90
  interface InputWithPrefixProps extends Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size" | "prefix"> {
88
- id: string;
91
+ id?: string;
89
92
  value: string;
90
- onChange?: (value: React$1.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
93
+ onChange?: (value: React$1.ChangeEvent<HTMLInputElement>) => void;
91
94
  placeholder?: string;
92
95
  error?: string;
93
96
  label?: string;
@@ -462,4 +465,4 @@ interface BadgeProps {
462
465
  declare const Badge: React$1.FC<BadgeProps>;
463
466
 
464
467
  export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, CheckBox, ConfirmationAlert, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, Input, InputWithPrefix, Loading, LoadingDemo, Modal, ModalExample, Pagination, SKELETON_LOADER_VERSION, SKELETON_PATTERNS, SKELETON_PRESETS, Search, Select, SelectButton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonImage, SkeletonList, SkeletonLoader, SkeletonLoaderExample, SkeletonProfile, SkeletonTable, SkeletonText, Table, TableDropdown, TableSkeleton, TextEditor, Tooltip, alert, useAlert };
465
- export type { AlertContextProps, AlertItem, AlertProps, AlertType, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonProps, CheckBoxProps, Column, ConfirmationPopupProps, ConfirmationType, EmptyStateProps, FileUploadProps, InputProps, InputWithPrefixProps, LoadingProps, ModalProps, PaginationProps, SearchProps, SelectButtonOption, SelectButtonProps, SelectOption, SelectProps, SkeletonAnimation, SkeletonLoaderModule, SkeletonLoaderProps, SkeletonSize, SkeletonVariant, TableDropdownProps, TableProps, TextEditorProps, TooltipProps };
468
+ export type { AlertContextProps, AlertItem, AlertProps, AlertType, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonProps, CheckBoxProps, Column, ConfirmationPopupProps, ConfirmationType, EmptyStateProps, FileUploadProps, InputElement, InputProps, InputWithPrefixProps, LoadingProps, ModalProps, PaginationProps, SearchProps, SelectButtonOption, SelectButtonProps, SelectOption, SelectProps, SkeletonAnimation, SkeletonLoaderModule, SkeletonLoaderProps, SkeletonSize, SkeletonVariant, TableDropdownProps, TableProps, TextEditorProps, TooltipProps };