pillardash-ui-react 0.1.61 → 0.1.63
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 +33 -4
- 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,8 +58,35 @@ 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;
|
|
@@ -429,11 +456,13 @@ declare const SKELETON_PATTERNS: {
|
|
|
429
456
|
|
|
430
457
|
interface LoadingProps {
|
|
431
458
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
432
|
-
variant?: 'spinner' | 'dots' | 'pulse' | 'bars' | 'ripple';
|
|
459
|
+
variant?: 'spinner' | 'dots' | 'pulse' | 'bars' | 'ripple' | 'image';
|
|
433
460
|
color?: string;
|
|
434
461
|
fullScreen?: boolean;
|
|
435
462
|
text?: string;
|
|
436
463
|
className?: string;
|
|
464
|
+
image?: string;
|
|
465
|
+
imageEffect?: 'pulse' | 'bounce' | 'spin' | 'float' | 'heartbeat';
|
|
437
466
|
}
|
|
438
467
|
declare const Loading: React$1.FC<LoadingProps>;
|
|
439
468
|
|
|
@@ -476,5 +505,5 @@ interface BadgeProps {
|
|
|
476
505
|
}
|
|
477
506
|
declare const Badge: React$1.FC<BadgeProps>;
|
|
478
507
|
|
|
479
|
-
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 };
|
|
480
|
-
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 };
|
|
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 };
|