pillardash-ui-react 0.1.70 → 0.1.72

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
@@ -153,8 +153,8 @@ interface Tag {
153
153
  interface TagInputProps {
154
154
  id?: string;
155
155
  label?: string;
156
- value: Tag[];
157
- onChange?: (tags: Tag[]) => void;
156
+ value: string[];
157
+ onChange?: (tags: string[]) => void;
158
158
  placeholder?: string;
159
159
  error?: string;
160
160
  required?: boolean;
@@ -171,6 +171,33 @@ interface TagInputProps {
171
171
  declare const TagInput: React$1.FC<TagInputProps>;
172
172
  declare const TagInputDemo: () => react_jsx_runtime.JSX.Element;
173
173
 
174
+ interface DateTimeValue {
175
+ startDate?: Date;
176
+ endDate?: Date;
177
+ time?: string;
178
+ }
179
+ interface DateTimePickerProps {
180
+ id?: string;
181
+ label?: string;
182
+ value?: DateTimeValue;
183
+ onChange?: (value: DateTimeValue) => void;
184
+ placeholder?: string;
185
+ error?: string;
186
+ required?: boolean;
187
+ helpText?: string;
188
+ className?: string;
189
+ size?: "sm" | "md" | "lg";
190
+ disabled?: boolean;
191
+ mode?: "date" | "datetime" | "daterange" | "datetimerange";
192
+ minDate?: Date;
193
+ maxDate?: Date;
194
+ format?: string;
195
+ showWeekNumbers?: boolean;
196
+ firstDayOfWeek?: 0 | 1;
197
+ }
198
+ declare const DateTimePicker: React$1.FC<DateTimePickerProps>;
199
+ declare const DateTimePickerDemo: () => react_jsx_runtime.JSX.Element;
200
+
174
201
  interface SearchProps {
175
202
  placeholder?: string;
176
203
  onSearch: (query: string) => void;
@@ -530,5 +557,5 @@ interface BadgeProps {
530
557
  }
531
558
  declare const Badge: React$1.FC<BadgeProps>;
532
559
 
533
- export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, CheckBox, CheckBoxDemo, ConfirmationAlert, 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 };
534
- export type { AlertContextProps, AlertItem, AlertProps, AlertType, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonProps, CheckBoxProps, Column, ConfirmationPopupProps, ConfirmationType, 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 };
560
+ export { AlertContext, AlertProvider, Badge, Breadcrumb, Button, Card, 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 };
561
+ export type { AlertContextProps, AlertItem, AlertProps, AlertType, BadgeProps, 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 };