pillardash-ui-react 0.1.68 → 0.1.70
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 +27 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -146,6 +146,31 @@ interface InputWithPrefixProps extends Omit<InputHTMLAttributes<HTMLInputElement
|
|
|
146
146
|
}
|
|
147
147
|
declare const InputWithPrefix: React$1.FC<InputWithPrefixProps>;
|
|
148
148
|
|
|
149
|
+
interface Tag {
|
|
150
|
+
value: string;
|
|
151
|
+
label: string;
|
|
152
|
+
}
|
|
153
|
+
interface TagInputProps {
|
|
154
|
+
id?: string;
|
|
155
|
+
label?: string;
|
|
156
|
+
value: Tag[];
|
|
157
|
+
onChange?: (tags: Tag[]) => void;
|
|
158
|
+
placeholder?: string;
|
|
159
|
+
error?: string;
|
|
160
|
+
required?: boolean;
|
|
161
|
+
helpText?: string;
|
|
162
|
+
className?: string;
|
|
163
|
+
size?: "sm" | "md" | "lg";
|
|
164
|
+
disabled?: boolean;
|
|
165
|
+
predefinedTags?: Tag[];
|
|
166
|
+
tagBackgroundColor?: string;
|
|
167
|
+
tagTextColor?: string;
|
|
168
|
+
maxTags?: number;
|
|
169
|
+
allowCustomTags?: boolean;
|
|
170
|
+
}
|
|
171
|
+
declare const TagInput: React$1.FC<TagInputProps>;
|
|
172
|
+
declare const TagInputDemo: () => react_jsx_runtime.JSX.Element;
|
|
173
|
+
|
|
149
174
|
interface SearchProps {
|
|
150
175
|
placeholder?: string;
|
|
151
176
|
onSearch: (query: string) => void;
|
|
@@ -505,5 +530,5 @@ interface BadgeProps {
|
|
|
505
530
|
}
|
|
506
531
|
declare const Badge: React$1.FC<BadgeProps>;
|
|
507
532
|
|
|
508
|
-
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, TextEditor, Tooltip, alert, useAlert };
|
|
509
|
-
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, TextEditorProps, TooltipProps };
|
|
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 };
|