pillardash-ui-react 0.1.1 → 0.1.2

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
@@ -14,6 +14,14 @@ interface ButtonProps {
14
14
  }
15
15
  declare const Button: FC<ButtonProps>;
16
16
 
17
+ declare enum ExportFormatEnum {
18
+ PDF = 0,
19
+ CSV = 1,
20
+ EXCEL = 2,
21
+ JSON = 3
22
+ }
23
+ declare function ExportButton(): react_jsx_runtime.JSX.Element;
24
+
17
25
  type CheckBoxProps = {
18
26
  variant?: "check" | "dot" | "toggle";
19
27
  size?: "sm" | "md" | "lg";
@@ -83,5 +91,24 @@ interface TextEditorProps {
83
91
  }
84
92
  declare const TextEditor: React$1.FC<TextEditorProps>;
85
93
 
86
- export { Button, CheckBox, FileUpload, Input, Search, Select, TextEditor };
87
- export type { ButtonProps, CheckBoxProps, FileUploadProps, InputProps, SearchProps, SelectOption, SelectProps, TextEditorProps };
94
+ type SelectButtonOption = {
95
+ value: string;
96
+ label?: string;
97
+ };
98
+ type SelectButtonProps = {
99
+ options: SelectButtonOption[];
100
+ placeholder?: string;
101
+ onChange: (value: string) => void;
102
+ value?: string;
103
+ size?: "sm" | "md";
104
+ className?: string;
105
+ name?: string;
106
+ id?: string;
107
+ disabled?: boolean;
108
+ label?: string;
109
+ required?: boolean;
110
+ };
111
+ declare function SelectButton({ options, placeholder, onChange, value, size, className, name, id, disabled, label, required, }: SelectButtonProps): react_jsx_runtime.JSX.Element;
112
+
113
+ export { Button, CheckBox, ExportButton, ExportFormatEnum, FileUpload, Input, Search, Select, SelectButton, TextEditor };
114
+ export type { ButtonProps, CheckBoxProps, FileUploadProps, InputProps, SearchProps, SelectButtonOption, SelectButtonProps, SelectOption, SelectProps, TextEditorProps };