powell-react 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/dist/cjs/index.js +40024 -8984
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/AutoComplete/AutoComplete.d.ts +1 -1
  4. package/dist/cjs/types/components/CascadeSelect/CascadeSelect.d.ts +1 -1
  5. package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +1 -1
  6. package/dist/cjs/types/components/Chips/Chips.d.ts +1 -1
  7. package/dist/cjs/types/components/ColorPicker/ColorPicker.d.ts +1 -1
  8. package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +1 -1
  9. package/dist/cjs/types/components/Editor/Editor.d.ts +1 -1
  10. package/dist/cjs/types/components/InputMask/InputMask.d.ts +1 -1
  11. package/dist/cjs/types/components/InputNumber/InputNumber.d.ts +1 -1
  12. package/dist/cjs/types/components/InputOtp/InputOtp.d.ts +1 -1
  13. package/dist/cjs/types/components/InputPassword/InputPassword.d.ts +1 -1
  14. package/dist/cjs/types/components/InputSwitch/InputSwitch.d.ts +1 -1
  15. package/dist/cjs/types/components/InputText/InputText.d.ts +1 -1
  16. package/dist/cjs/types/components/InputTextarea/InputTextarea.d.ts +1 -1
  17. package/dist/cjs/types/components/Knob/Knob.d.ts +1 -1
  18. package/dist/cjs/types/components/ListBox/ListBox.d.ts +1 -1
  19. package/dist/cjs/types/components/Mention/Mention.d.ts +1 -1
  20. package/dist/cjs/types/components/MultiSelect/MultiSelect.d.ts +1 -1
  21. package/dist/cjs/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -1
  22. package/dist/cjs/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  23. package/dist/cjs/types/components/Rating/Rating.d.ts +1 -1
  24. package/dist/cjs/types/components/SelectButton/SelectButton.d.ts +1 -1
  25. package/dist/cjs/types/components/Slider/Slider.d.ts +1 -1
  26. package/dist/cjs/types/components/ToggleButton/ToggleButton.d.ts +1 -1
  27. package/dist/cjs/types/components/TreeSelect/TreeSelect.d.ts +1 -1
  28. package/dist/cjs/types/components/TriStateCheckbox/TriStateCheckbox.d.ts +1 -1
  29. package/dist/cjs/types/index.d.ts +28 -1
  30. package/dist/esm/index.js +39997 -8984
  31. package/dist/esm/index.js.map +1 -1
  32. package/dist/esm/types/components/AutoComplete/AutoComplete.d.ts +1 -1
  33. package/dist/esm/types/components/CascadeSelect/CascadeSelect.d.ts +1 -1
  34. package/dist/esm/types/components/Checkbox/Checkbox.d.ts +1 -1
  35. package/dist/esm/types/components/Chips/Chips.d.ts +1 -1
  36. package/dist/esm/types/components/ColorPicker/ColorPicker.d.ts +1 -1
  37. package/dist/esm/types/components/Dropdown/Dropdown.d.ts +1 -1
  38. package/dist/esm/types/components/Editor/Editor.d.ts +1 -1
  39. package/dist/esm/types/components/InputMask/InputMask.d.ts +1 -1
  40. package/dist/esm/types/components/InputNumber/InputNumber.d.ts +1 -1
  41. package/dist/esm/types/components/InputOtp/InputOtp.d.ts +1 -1
  42. package/dist/esm/types/components/InputPassword/InputPassword.d.ts +1 -1
  43. package/dist/esm/types/components/InputSwitch/InputSwitch.d.ts +1 -1
  44. package/dist/esm/types/components/InputText/InputText.d.ts +1 -1
  45. package/dist/esm/types/components/InputTextarea/InputTextarea.d.ts +1 -1
  46. package/dist/esm/types/components/Knob/Knob.d.ts +1 -1
  47. package/dist/esm/types/components/ListBox/ListBox.d.ts +1 -1
  48. package/dist/esm/types/components/Mention/Mention.d.ts +1 -1
  49. package/dist/esm/types/components/MultiSelect/MultiSelect.d.ts +1 -1
  50. package/dist/esm/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -1
  51. package/dist/esm/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  52. package/dist/esm/types/components/Rating/Rating.d.ts +1 -1
  53. package/dist/esm/types/components/SelectButton/SelectButton.d.ts +1 -1
  54. package/dist/esm/types/components/Slider/Slider.d.ts +1 -1
  55. package/dist/esm/types/components/ToggleButton/ToggleButton.d.ts +1 -1
  56. package/dist/esm/types/components/TreeSelect/TreeSelect.d.ts +1 -1
  57. package/dist/esm/types/components/TriStateCheckbox/TriStateCheckbox.d.ts +1 -1
  58. package/dist/esm/types/index.d.ts +28 -1
  59. package/dist/index.d.ts +473 -8
  60. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -1,8 +1,31 @@
1
- import * as react from 'react';
2
- import { MouseEvent, PropsWithChildren } from 'react';
3
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { $ButtonProps } from '@api';
5
- import { ButtonAppearance, PowellConfig } from '@models';
2
+ import * as react from 'react';
3
+ import { PropsWithChildren, ReactNode, ChangeEvent, MouseEvent } from 'react';
4
+ import { PowellConfig, SafeAny, Addon, Size, LabelPosition, ButtonAppearance, FixLabelPosition } from '@models';
5
+ import { $AutoCompleteProps, $IconFieldProps, $ButtonProps, $CascadeSelectProps, $CheckboxProps, $ChipsProps, $ChipsChangeEvent, $ColorPickerProps, $DropdownProps, $EditorProps, $FormikValues, $FormikConfig, $FormikContextType, $InputMaskProps, $InputNumberProps, $InputOtpProps, $PasswordProps, $InputSwitchProps, $InputTextProps, $InputTextareaProps, $KnobProps, $ListBoxProps, $MentionProps, $MultiSelectProps, $MultiStateCheckboxProps, $RadioButtonProps, $RatingProps, $SelectButtonProps, $SliderProps, $ToggleButtonProps, $TreeSelectProps, $TriStateCheckboxProps } from '@api';
6
+
7
+ declare const PowellProvider: (props: PropsWithChildren<{
8
+ config?: PowellConfig;
9
+ }>) => react_jsx_runtime.JSX.Element;
10
+
11
+ interface AutoCompleteProps extends $AutoCompleteProps {
12
+ name?: string;
13
+ parseError?: (error: string) => ReactNode;
14
+ transform?: {
15
+ input?: (value: SafeAny) => string;
16
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
17
+ };
18
+ showRequiredStar?: boolean;
19
+ rtl?: boolean;
20
+ label?: string;
21
+ icon?: string | ReactNode;
22
+ hint?: string;
23
+ addon?: Addon;
24
+ inputSize?: Size;
25
+ iconPosition?: $IconFieldProps["iconPosition"];
26
+ labelPosition?: LabelPosition;
27
+ }
28
+ declare const AutoComplete: (props: AutoCompleteProps) => react_jsx_runtime.JSX.Element;
6
29
 
7
30
  type ButtonState = 'default' | 'loading' | 'next';
8
31
  interface ButtonOnClickAsyncEvent {
@@ -23,8 +46,450 @@ interface ButtonProps extends Omit<$ButtonProps, "loading" | "link" | "text" | "
23
46
  }
24
47
  declare const Button: react.MemoExoticComponent<(props: ButtonProps) => react_jsx_runtime.JSX.Element>;
25
48
 
26
- declare const PowellProvider: (props: PropsWithChildren<{
27
- config?: PowellConfig;
28
- }>) => react_jsx_runtime.JSX.Element;
49
+ interface CascadeSelectProps extends $CascadeSelectProps {
50
+ name?: string;
51
+ parseError?: (error: string) => ReactNode;
52
+ transform?: {
53
+ input?: (value: SafeAny) => string;
54
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
55
+ };
56
+ showRequiredStar?: boolean;
57
+ rtl?: boolean;
58
+ label?: string;
59
+ icon?: string | ReactNode;
60
+ hint?: string;
61
+ addon?: Addon;
62
+ inputSize?: Size;
63
+ iconPosition?: $IconFieldProps["iconPosition"];
64
+ labelPosition?: LabelPosition;
65
+ }
66
+ declare const CascadeSelect: (props: CascadeSelectProps) => react_jsx_runtime.JSX.Element;
67
+
68
+ interface CheckboxProps extends Omit<$CheckboxProps, 'checked'> {
69
+ checked?: boolean;
70
+ name?: string;
71
+ parseError?: (error: string) => ReactNode;
72
+ transform?: {
73
+ input?: (value: SafeAny) => string;
74
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
75
+ };
76
+ showRequiredStar?: boolean;
77
+ rtl?: boolean;
78
+ label?: string;
79
+ hint?: string;
80
+ labelPosition?: FixLabelPosition;
81
+ }
82
+ declare const Checkbox: (props: CheckboxProps) => react_jsx_runtime.JSX.Element;
83
+
84
+ interface ChipsProps extends $ChipsProps {
85
+ name?: string;
86
+ parseError?: (error: string) => ReactNode;
87
+ transform?: {
88
+ input?: (value: SafeAny) => string;
89
+ output?: (event: $ChipsChangeEvent) => SafeAny;
90
+ };
91
+ showRequiredStar?: boolean;
92
+ rtl?: boolean;
93
+ label?: string;
94
+ icon?: string | ReactNode;
95
+ hint?: string;
96
+ inputSize?: Size;
97
+ addon?: Addon;
98
+ iconPosition?: $IconFieldProps["iconPosition"];
99
+ labelPosition?: LabelPosition;
100
+ }
101
+ declare const Chips: (props: ChipsProps) => react_jsx_runtime.JSX.Element;
102
+
103
+ interface ColorPickerProps extends $ColorPickerProps {
104
+ name?: string;
105
+ parseError?: (error: string) => ReactNode;
106
+ transform?: {
107
+ input?: (value: SafeAny) => string;
108
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
109
+ };
110
+ showRequiredStar?: boolean;
111
+ rtl?: boolean;
112
+ label?: string;
113
+ icon?: string | ReactNode;
114
+ hint?: string;
115
+ inputSize?: Size;
116
+ addon?: Addon;
117
+ iconPosition?: $IconFieldProps["iconPosition"];
118
+ labelPosition?: LabelPosition;
119
+ }
120
+ declare const ColorPicker: (props: ColorPickerProps) => react_jsx_runtime.JSX.Element;
121
+
122
+ interface DropdownProps extends $DropdownProps {
123
+ name?: string;
124
+ parseError?: (error: string) => ReactNode;
125
+ transform?: {
126
+ input?: (value: SafeAny) => string;
127
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
128
+ };
129
+ showRequiredStar?: boolean;
130
+ rtl?: boolean;
131
+ label?: string;
132
+ icon?: string | ReactNode;
133
+ hint?: string;
134
+ inputSize?: Size;
135
+ addon?: Addon;
136
+ iconPosition?: $IconFieldProps["iconPosition"];
137
+ labelPosition?: LabelPosition;
138
+ }
139
+ declare const Dropdown: (props: DropdownProps) => react_jsx_runtime.JSX.Element;
140
+
141
+ interface EditorProps extends $EditorProps {
142
+ name?: string;
143
+ parseError?: (error: string) => ReactNode;
144
+ transform?: {
145
+ input?: (value: SafeAny) => string;
146
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
147
+ };
148
+ showRequiredStar?: boolean;
149
+ rtl?: boolean;
150
+ label?: string;
151
+ icon?: string | ReactNode;
152
+ hint?: string;
153
+ addon?: Addon;
154
+ iconPosition?: $IconFieldProps["iconPosition"];
155
+ labelPosition?: LabelPosition;
156
+ }
157
+ declare const Editor: (props: EditorProps) => react_jsx_runtime.JSX.Element;
158
+
159
+ interface FormContainerProps<T extends $FormikValues> extends $FormikConfig<T> {
160
+ onInit?: (context: $FormikContextType<T>) => void;
161
+ className?: string;
162
+ }
163
+ declare const FormContainer: react.ForwardRefExoticComponent<FormContainerProps<$FormikValues> & react.RefAttributes<HTMLFormElement>>;
164
+
165
+ interface InputMaskProps extends $InputMaskProps {
166
+ name?: string;
167
+ parseError?: (error: string) => ReactNode;
168
+ transform?: {
169
+ input?: (value: SafeAny) => string;
170
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
171
+ };
172
+ showRequiredStar?: boolean;
173
+ rtl?: boolean;
174
+ label?: string;
175
+ icon?: string | ReactNode;
176
+ hint?: string;
177
+ inputSize?: Size;
178
+ addon?: Addon;
179
+ iconPosition?: $IconFieldProps["iconPosition"];
180
+ labelPosition?: LabelPosition;
181
+ }
182
+ declare const InputMask: (props: InputMaskProps) => react_jsx_runtime.JSX.Element;
183
+
184
+ interface InputNumberProps extends $InputNumberProps {
185
+ name?: string;
186
+ parseError?: (error: string) => ReactNode;
187
+ transform?: {
188
+ input?: (value: SafeAny) => string;
189
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
190
+ };
191
+ showRequiredStar?: boolean;
192
+ rtl?: boolean;
193
+ label?: string;
194
+ icon?: string | ReactNode;
195
+ hint?: string;
196
+ inputSize?: Size;
197
+ addon?: Addon;
198
+ iconPosition?: $IconFieldProps["iconPosition"];
199
+ labelPosition?: LabelPosition;
200
+ }
201
+ declare const InputNumber: (props: InputNumberProps) => react_jsx_runtime.JSX.Element;
202
+
203
+ interface InputOtpProps extends $InputOtpProps {
204
+ name?: string;
205
+ parseError?: (error: string) => ReactNode;
206
+ transform?: {
207
+ input?: (value: SafeAny) => string;
208
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
209
+ };
210
+ showRequiredStar?: boolean;
211
+ rtl?: boolean;
212
+ label?: string;
213
+ hint?: string;
214
+ inputSize?: Size;
215
+ labelPosition?: FixLabelPosition;
216
+ }
217
+ declare const InputOtp: (props: InputOtpProps) => react_jsx_runtime.JSX.Element;
218
+
219
+ interface InputPasswordProps extends $PasswordProps {
220
+ name?: string;
221
+ parseError?: (error: string) => ReactNode;
222
+ transform?: {
223
+ input?: (value: SafeAny) => string;
224
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
225
+ };
226
+ showRequiredStar?: boolean;
227
+ rtl?: boolean;
228
+ label?: string;
229
+ icon?: string | ReactNode;
230
+ hint?: string;
231
+ inputSize?: Size;
232
+ addon?: Addon;
233
+ iconPosition?: $IconFieldProps["iconPosition"];
234
+ labelPosition?: LabelPosition;
235
+ }
236
+ declare const InputPassword: (props: InputPasswordProps) => react_jsx_runtime.JSX.Element;
237
+
238
+ interface InputSwitchProps extends Omit<$InputSwitchProps, 'checked'> {
239
+ checked?: boolean;
240
+ name?: string;
241
+ parseError?: (error: string) => ReactNode;
242
+ transform?: {
243
+ input?: (value: SafeAny) => string;
244
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
245
+ };
246
+ showRequiredStar?: boolean;
247
+ rtl?: boolean;
248
+ label?: string;
249
+ hint?: string;
250
+ labelPosition?: FixLabelPosition;
251
+ }
252
+ declare const InputSwitch: (props: InputSwitchProps) => react_jsx_runtime.JSX.Element;
253
+
254
+ interface InputTextProps extends $InputTextProps {
255
+ name?: string;
256
+ parseError?: (error: string) => ReactNode;
257
+ transform?: {
258
+ input?: (value: SafeAny) => string;
259
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
260
+ };
261
+ showRequiredStar?: boolean;
262
+ rtl?: boolean;
263
+ label?: string;
264
+ icon?: string | ReactNode;
265
+ hint?: string;
266
+ inputSize?: Size;
267
+ addon?: Addon;
268
+ iconPosition?: $IconFieldProps["iconPosition"];
269
+ labelPosition?: LabelPosition;
270
+ }
271
+ declare const InputText: (props: InputTextProps) => react_jsx_runtime.JSX.Element;
272
+
273
+ interface InputTextareaProps extends $InputTextareaProps {
274
+ name?: string;
275
+ parseError?: (error: string) => ReactNode;
276
+ transform?: {
277
+ input?: (value: SafeAny) => string;
278
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
279
+ };
280
+ showRequiredStar?: boolean;
281
+ rtl?: boolean;
282
+ label?: string;
283
+ icon?: string | ReactNode;
284
+ hint?: string;
285
+ addon?: Addon;
286
+ iconPosition?: $IconFieldProps["iconPosition"];
287
+ labelPosition?: LabelPosition;
288
+ }
289
+ declare const InputTextarea: (props: InputTextareaProps) => react_jsx_runtime.JSX.Element;
290
+
291
+ interface KnobProps extends Omit<$KnobProps, 'checked'> {
292
+ checked?: boolean;
293
+ name?: string;
294
+ parseError?: (error: string) => ReactNode;
295
+ transform?: {
296
+ input?: (value: SafeAny) => string;
297
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
298
+ };
299
+ showRequiredStar?: boolean;
300
+ rtl?: boolean;
301
+ label?: string;
302
+ hint?: string;
303
+ labelPosition?: FixLabelPosition;
304
+ }
305
+ declare const Knob: (props: KnobProps) => react_jsx_runtime.JSX.Element;
306
+
307
+ interface ListBoxProps extends Omit<$ListBoxProps, 'checked'> {
308
+ checked?: boolean;
309
+ name?: string;
310
+ parseError?: (error: string) => ReactNode;
311
+ transform?: {
312
+ input?: (value: SafeAny) => string;
313
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
314
+ };
315
+ showRequiredStar?: boolean;
316
+ rtl?: boolean;
317
+ label?: string;
318
+ hint?: string;
319
+ labelPosition?: FixLabelPosition;
320
+ }
321
+ declare const ListBox: (props: ListBoxProps) => react_jsx_runtime.JSX.Element;
322
+
323
+ interface MentionProps extends $MentionProps {
324
+ name?: string;
325
+ parseError?: (error: string) => ReactNode;
326
+ transform?: {
327
+ input?: (value: SafeAny) => string;
328
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
329
+ };
330
+ showRequiredStar?: boolean;
331
+ rtl?: boolean;
332
+ label?: string;
333
+ icon?: string | ReactNode;
334
+ hint?: string;
335
+ inputSize?: Size;
336
+ addon?: Addon;
337
+ iconPosition?: $IconFieldProps["iconPosition"];
338
+ labelPosition?: LabelPosition;
339
+ }
340
+ declare const Mention: (props: MentionProps) => react_jsx_runtime.JSX.Element;
341
+
342
+ interface MultiSelectProps extends $MultiSelectProps {
343
+ name?: string;
344
+ parseError?: (error: string) => ReactNode;
345
+ transform?: {
346
+ input?: (value: SafeAny) => string;
347
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
348
+ };
349
+ showRequiredStar?: boolean;
350
+ rtl?: boolean;
351
+ label?: string;
352
+ icon?: string | ReactNode;
353
+ hint?: string;
354
+ inputSize?: Size;
355
+ addon?: Addon;
356
+ iconPosition?: $IconFieldProps["iconPosition"];
357
+ labelPosition?: LabelPosition;
358
+ }
359
+ declare const MultiSelect: (props: MultiSelectProps) => react_jsx_runtime.JSX.Element;
360
+
361
+ interface MultiStateCheckboxProps extends Omit<$MultiStateCheckboxProps, 'checked'> {
362
+ checked?: boolean;
363
+ name?: string;
364
+ parseError?: (error: string) => ReactNode;
365
+ transform?: {
366
+ input?: (value: SafeAny) => string;
367
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
368
+ };
369
+ showRequiredStar?: boolean;
370
+ rtl?: boolean;
371
+ label?: string;
372
+ hint?: string;
373
+ labelPosition?: FixLabelPosition;
374
+ }
375
+ declare const MultiStateCheckbox: (props: MultiStateCheckboxProps) => react_jsx_runtime.JSX.Element;
376
+
377
+ interface RadioGroupProps extends Omit<$RadioButtonProps, 'checked'> {
378
+ checked?: boolean;
379
+ name: string;
380
+ parseError?: (error: string) => ReactNode;
381
+ transform?: {
382
+ input?: (value: SafeAny) => string;
383
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
384
+ };
385
+ showRequiredStar?: boolean;
386
+ rtl?: boolean;
387
+ label?: string;
388
+ hint?: string;
389
+ labelPosition?: FixLabelPosition;
390
+ options: SafeAny[];
391
+ optionLabel?: string;
392
+ optionValue?: string;
393
+ }
394
+ declare const RadioGroup: (props: RadioGroupProps) => react_jsx_runtime.JSX.Element;
395
+
396
+ interface RatingProps extends Omit<$RatingProps, 'checked'> {
397
+ checked?: boolean;
398
+ name?: string;
399
+ parseError?: (error: string) => ReactNode;
400
+ transform?: {
401
+ input?: (value: SafeAny) => string;
402
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
403
+ };
404
+ showRequiredStar?: boolean;
405
+ rtl?: boolean;
406
+ label?: string;
407
+ hint?: string;
408
+ labelPosition?: FixLabelPosition;
409
+ }
410
+ declare const Rating: (props: RatingProps) => react_jsx_runtime.JSX.Element;
411
+
412
+ interface SelectButtonProps extends Omit<$SelectButtonProps, 'checked'> {
413
+ checked?: boolean;
414
+ name?: string;
415
+ parseError?: (error: string) => ReactNode;
416
+ transform?: {
417
+ input?: (value: SafeAny) => string;
418
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
419
+ };
420
+ showRequiredStar?: boolean;
421
+ rtl?: boolean;
422
+ label?: string;
423
+ hint?: string;
424
+ labelPosition?: FixLabelPosition;
425
+ }
426
+ declare const SelectButton: (props: SelectButtonProps) => react_jsx_runtime.JSX.Element;
427
+
428
+ interface SliderProps extends Omit<$SliderProps, 'checked'> {
429
+ checked?: boolean;
430
+ name?: string;
431
+ parseError?: (error: string) => ReactNode;
432
+ transform?: {
433
+ input?: (value: SafeAny) => string;
434
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
435
+ };
436
+ showRequiredStar?: boolean;
437
+ rtl?: boolean;
438
+ label?: string;
439
+ hint?: string;
440
+ labelPosition?: FixLabelPosition;
441
+ }
442
+ declare const Slider: (props: SliderProps) => react_jsx_runtime.JSX.Element;
443
+
444
+ interface ToggleButtonProps extends Omit<$ToggleButtonProps, 'checked'> {
445
+ checked?: boolean;
446
+ name?: string;
447
+ parseError?: (error: string) => ReactNode;
448
+ transform?: {
449
+ input?: (value: SafeAny) => string;
450
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
451
+ };
452
+ showRequiredStar?: boolean;
453
+ rtl?: boolean;
454
+ label?: string;
455
+ hint?: string;
456
+ labelPosition?: FixLabelPosition;
457
+ }
458
+ declare const ToggleButton: (props: ToggleButtonProps) => react_jsx_runtime.JSX.Element;
459
+
460
+ interface TreeSelectProps extends $TreeSelectProps {
461
+ name?: string;
462
+ parseError?: (error: string) => ReactNode;
463
+ transform?: {
464
+ input?: (value: SafeAny) => string;
465
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
466
+ };
467
+ showRequiredStar?: boolean;
468
+ rtl?: boolean;
469
+ label?: string;
470
+ icon?: string | ReactNode;
471
+ hint?: string;
472
+ inputSize?: Size;
473
+ addon?: Addon;
474
+ iconPosition?: $IconFieldProps["iconPosition"];
475
+ labelPosition?: LabelPosition;
476
+ }
477
+ declare const TreeSelect: (props: TreeSelectProps) => react_jsx_runtime.JSX.Element;
478
+
479
+ interface TriStateCheckboxProps extends Omit<$TriStateCheckboxProps, 'checked'> {
480
+ checked?: boolean;
481
+ name?: string;
482
+ parseError?: (error: string) => ReactNode;
483
+ transform?: {
484
+ input?: (value: SafeAny) => string;
485
+ output?: (event: ChangeEvent<HTMLInputElement>) => SafeAny;
486
+ };
487
+ showRequiredStar?: boolean;
488
+ rtl?: boolean;
489
+ label?: string;
490
+ hint?: string;
491
+ labelPosition?: FixLabelPosition;
492
+ }
493
+ declare const TriStateCheckbox: (props: TriStateCheckboxProps) => react_jsx_runtime.JSX.Element;
29
494
 
30
- export { Button, PowellProvider };
495
+ export { AutoComplete, Button, CascadeSelect, Checkbox, Chips, ColorPicker, Dropdown, Editor, FormContainer, InputMask, InputNumber, InputOtp, InputPassword, InputSwitch, InputText, InputTextarea, Knob, ListBox, Mention, MultiSelect, MultiStateCheckbox, PowellProvider, RadioGroup, Rating, SelectButton, Slider, ToggleButton, TreeSelect, TriStateCheckbox };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powell-react",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -75,6 +75,7 @@
75
75
  "formik": "^2.4.6",
76
76
  "primeicons": "^7.0.0",
77
77
  "primereact": "^10.8.4",
78
+ "sass": "^1.80.6",
78
79
  "yup": "^1.4.0"
79
80
  }
80
81
  }