@foris/avocado-suite 0.21.0 → 0.22.0
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/avocado-suite.es.js +299 -290
- package/dist/avocado-suite.umd.js +23 -23
- package/dist/components/text-field/TextField.d.ts +5 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -1,9 +1,12 @@
|
|
1
1
|
import { DetailedHTMLProps, InputHTMLAttributes, FC } from 'react';
|
2
|
+
import type { IconTypes } from '../../../../avocado-icons';
|
2
3
|
export interface TextFieldProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
3
|
-
/** Overwrite className */
|
4
|
-
className?: string;
|
5
4
|
/** If allow to remove input content with clear icon */
|
6
5
|
allowClear?: boolean;
|
6
|
+
/** Overwrite className */
|
7
|
+
className?: string;
|
8
|
+
/** Set the icon */
|
9
|
+
icon?: IconTypes;
|
7
10
|
/** Set top label */
|
8
11
|
label?: string;
|
9
12
|
/** Set validation status */
|