pillardash-ui-react 0.1.60 → 0.1.62
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 +42 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -58,14 +58,53 @@ type CheckBoxProps = {
|
|
|
58
58
|
onChange?: (checked: boolean) => void;
|
|
59
59
|
label?: string | ReactNode;
|
|
60
60
|
labelPosition?: "left" | "right";
|
|
61
|
+
name?: string;
|
|
62
|
+
value?: string;
|
|
63
|
+
id?: string;
|
|
64
|
+
className?: string;
|
|
65
|
+
error?: string;
|
|
66
|
+
helperText?: string;
|
|
67
|
+
required?: boolean;
|
|
68
|
+
indeterminate?: boolean;
|
|
69
|
+
};
|
|
70
|
+
type RadioGroupProps = {
|
|
71
|
+
name: string;
|
|
72
|
+
value?: string;
|
|
73
|
+
onChange?: (value: string) => void;
|
|
74
|
+
options: Array<{
|
|
75
|
+
value: string;
|
|
76
|
+
label: string | ReactNode;
|
|
77
|
+
disabled?: boolean;
|
|
78
|
+
}>;
|
|
79
|
+
size?: "sm" | "md" | "lg";
|
|
80
|
+
className?: string;
|
|
81
|
+
error?: string;
|
|
82
|
+
helperText?: string;
|
|
83
|
+
required?: boolean;
|
|
84
|
+
label?: string;
|
|
85
|
+
direction?: "horizontal" | "vertical";
|
|
61
86
|
};
|
|
62
|
-
declare const CheckBox: ({ variant, size, checked, disabled, onChange, label, labelPosition }: CheckBoxProps) => react_jsx_runtime.JSX.Element;
|
|
87
|
+
declare const CheckBox: ({ variant, size, checked, disabled, onChange, label, labelPosition, name, value, id, className, error, helperText, required, indeterminate, }: CheckBoxProps) => react_jsx_runtime.JSX.Element;
|
|
88
|
+
declare const RadioGroup: ({ name, value, onChange, options, size, className, error, helperText, required, label, direction, }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare function CheckBoxDemo(): react_jsx_runtime.JSX.Element;
|
|
63
90
|
|
|
64
91
|
interface FileUploadProps {
|
|
65
92
|
onFileChange: (file: File | null) => void;
|
|
66
93
|
direction?: "row" | "col";
|
|
67
94
|
maxFileSize?: string;
|
|
68
95
|
label?: string;
|
|
96
|
+
description?: string;
|
|
97
|
+
helperText?: string;
|
|
98
|
+
error?: string;
|
|
99
|
+
success?: string;
|
|
100
|
+
disabled?: boolean;
|
|
101
|
+
required?: boolean;
|
|
102
|
+
accept?: string;
|
|
103
|
+
multiple?: boolean;
|
|
104
|
+
placeholder?: string;
|
|
105
|
+
showProgress?: boolean;
|
|
106
|
+
className?: string;
|
|
107
|
+
id?: string;
|
|
69
108
|
}
|
|
70
109
|
declare const FileUpload: React$1.FC<FileUploadProps>;
|
|
71
110
|
|
|
@@ -464,5 +503,5 @@ interface BadgeProps {
|
|
|
464
503
|
}
|
|
465
504
|
declare const Badge: React$1.FC<BadgeProps>;
|
|
466
505
|
|
|
467
|
-
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 };
|
|
468
|
-
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 };
|
|
506
|
+
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 };
|
|
507
|
+
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 };
|