@bigbinary/neetoui 4.1.22 → 4.1.24
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/CHANGELOG.md +5 -1
- package/formik.js +4 -4
- package/index.css +1 -1
- package/index.d.ts +9 -0
- package/index.js +3 -3
- package/layouts.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export interface RadioProps {
|
|
|
60
60
|
error?: string;
|
|
61
61
|
id?: any;
|
|
62
62
|
value?: any;
|
|
63
|
+
labelProps?: LabelProps;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
export type RadioItemProps = { label: string } & React.DetailedHTMLProps<
|
|
@@ -165,6 +166,7 @@ export type CheckboxProps = {
|
|
|
165
166
|
className?: string;
|
|
166
167
|
required?: false;
|
|
167
168
|
id?: string;
|
|
169
|
+
labelProps?: LabelProps;
|
|
168
170
|
} & React.DetailedHTMLProps<
|
|
169
171
|
React.InputHTMLAttributes<HTMLInputElement>,
|
|
170
172
|
HTMLInputElement
|
|
@@ -188,6 +190,7 @@ export type DatePickerProps = {
|
|
|
188
190
|
error?: string;
|
|
189
191
|
id?: string;
|
|
190
192
|
disabled?: boolean;
|
|
193
|
+
labelProps?: LabelProps;
|
|
191
194
|
[key: string]: any;
|
|
192
195
|
};
|
|
193
196
|
|
|
@@ -254,6 +257,7 @@ export interface MultiEmailInputProps {
|
|
|
254
257
|
counter?: boolean | { label: string; startFrom: number };
|
|
255
258
|
disabled?: boolean;
|
|
256
259
|
maxHeight?: number;
|
|
260
|
+
labelProps?: LabelProps;
|
|
257
261
|
[key: string]: any;
|
|
258
262
|
}
|
|
259
263
|
|
|
@@ -274,6 +278,7 @@ export interface InputProps
|
|
|
274
278
|
nakedInput?: boolean;
|
|
275
279
|
contentSize?: number;
|
|
276
280
|
required?: boolean;
|
|
281
|
+
labelProps?: LabelProps;
|
|
277
282
|
}
|
|
278
283
|
|
|
279
284
|
export type LabelProps = {
|
|
@@ -316,6 +321,7 @@ export type SelectProps = {
|
|
|
316
321
|
strategy?: "default" | "fixed";
|
|
317
322
|
id?: string;
|
|
318
323
|
loadOptions?: boolean;
|
|
324
|
+
labelProps?: LabelProps;
|
|
319
325
|
[key: string]: any;
|
|
320
326
|
};
|
|
321
327
|
|
|
@@ -332,6 +338,7 @@ export type SwitchProps = {
|
|
|
332
338
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
333
339
|
checked?: boolean;
|
|
334
340
|
disabled?: boolean;
|
|
341
|
+
labelProps?: LabelProps;
|
|
335
342
|
} & React.DetailedHTMLProps<
|
|
336
343
|
React.InputHTMLAttributes<HTMLInputElement>,
|
|
337
344
|
HTMLInputElement
|
|
@@ -398,6 +405,7 @@ export type TextareaProps = {
|
|
|
398
405
|
label?: string;
|
|
399
406
|
className?: string;
|
|
400
407
|
maxLength?: number;
|
|
408
|
+
labelProps?: LabelProps;
|
|
401
409
|
} & React.DetailedHTMLProps<
|
|
402
410
|
React.TextareaHTMLAttributes<HTMLTextAreaElement>,
|
|
403
411
|
HTMLTextAreaElement
|
|
@@ -421,6 +429,7 @@ export type TimePickerProps = {
|
|
|
421
429
|
defaultValue?: any;
|
|
422
430
|
value?: any;
|
|
423
431
|
id?: string;
|
|
432
|
+
labelProps?: LabelProps;
|
|
424
433
|
[key: string]: any;
|
|
425
434
|
};
|
|
426
435
|
|