pillardash-ui-react 0.1.58 → 0.1.59

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
@@ -67,10 +67,11 @@ interface FileUploadProps {
67
67
  }
68
68
  declare const FileUpload: React$1.FC<FileUploadProps>;
69
69
 
70
+ type InputElement = HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement;
70
71
  interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size"> {
71
- id: string;
72
+ id?: string;
72
73
  value: string;
73
- onChange?: (value: React$1.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
74
+ onChange?: (value: React$1.ChangeEvent<InputElement>) => void;
74
75
  placeholder?: string;
75
76
  error?: string;
76
77
  label?: string;
@@ -462,4 +463,4 @@ interface BadgeProps {
462
463
  declare const Badge: React$1.FC<BadgeProps>;
463
464
 
464
465
  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 };
466
+ 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 };