pillardash-ui-react 0.1.51 → 0.1.53

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
@@ -84,6 +84,26 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement> & Textar
84
84
  }
85
85
  declare const Input: React$1.FC<InputProps>;
86
86
 
87
+ interface InputWithPrefixProps extends Omit<InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size" | "prefix"> {
88
+ id: string;
89
+ value: string;
90
+ onChange?: (value: React$1.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
91
+ placeholder?: string;
92
+ error?: string;
93
+ label?: string;
94
+ required?: boolean;
95
+ helpText?: string;
96
+ icon?: React$1.ReactNode;
97
+ iconPosition?: "left" | "right";
98
+ rightIcon?: React$1.ReactNode;
99
+ className?: string;
100
+ size?: "sm" | "md" | "lg";
101
+ prefixContent?: React$1.ReactNode;
102
+ prefixClassName?: string;
103
+ onPrefixChange?: (value: any) => void;
104
+ }
105
+ declare const InputWithPrefix: React$1.FC<InputWithPrefixProps>;
106
+
87
107
  interface SearchProps {
88
108
  placeholder?: string;
89
109
  onSearch: (query: string) => void;
@@ -439,5 +459,5 @@ interface BadgeProps {
439
459
  }
440
460
  declare const Badge: React$1.FC<BadgeProps>;
441
461
 
442
- export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, CheckBox, ConfirmationAlert, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, Input, Loading, 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 };
443
- export type { AlertContextProps, AlertItem, AlertProps, AlertType, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonProps, CheckBoxProps, Column, ConfirmationPopupProps, ConfirmationType, EmptyStateProps, FileUploadProps, InputProps, LoadingProps, ModalProps, PaginationProps, SearchProps, SelectButtonOption, SelectButtonProps, SelectOption, SelectProps, SkeletonAnimation, SkeletonLoaderModule, SkeletonLoaderProps, SkeletonSize, SkeletonVariant, TableDropdownProps, TableProps, TextEditorProps, TooltipProps };
462
+ export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, CheckBox, ConfirmationAlert, EmptyStateCard, ExportButton, ExportFormatEnum, FileUpload, Input, InputWithPrefix, Loading, 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 };
463
+ 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 };