pillardash-ui-react 0.1.61 → 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 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;
@@ -476,5 +503,5 @@ interface BadgeProps {
476
503
  }
477
504
  declare const Badge: React$1.FC<BadgeProps>;
478
505
 
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 };
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 };