pillardash-ui-react 0.1.67 → 0.1.69
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 +26 -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,30 @@ 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 TagInputDemo: () => react_jsx_runtime.JSX.Element;
|
|
172
|
+
|
|
149
173
|
interface SearchProps {
|
|
150
174
|
placeholder?: string;
|
|
151
175
|
onSearch: (query: string) => void;
|
|
@@ -505,5 +529,5 @@ interface BadgeProps {
|
|
|
505
529
|
}
|
|
506
530
|
declare const Badge: React$1.FC<BadgeProps>;
|
|
507
531
|
|
|
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 };
|
|
532
|
+
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, TagInputDemo, TextEditor, Tooltip, alert, useAlert };
|
|
533
|
+
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 };
|