@apolitical/component-library 3.0.1-SW.0 → 3.0.1
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.
|
@@ -5,7 +5,7 @@ import { IntlShape } from 'react-intl';
|
|
|
5
5
|
export type InputValues = string | number | boolean | null;
|
|
6
6
|
export type MultipleInputValues = InputValues[];
|
|
7
7
|
export type FormValues = InputValues | MultipleInputValues | undefined;
|
|
8
|
-
export type InputTypes = 'text' | 'textarea' | 'email' | 'checkbox' | 'select' | 'radio' | 'password' | 'autocomplete';
|
|
8
|
+
export type InputTypes = 'text' | 'textarea' | 'email' | 'checkbox' | 'select' | 'radio' | 'password' | 'autocomplete' | 'number';
|
|
9
9
|
export interface ILabel {
|
|
10
10
|
/** The element to be used, defaulting to `label` */
|
|
11
11
|
element?: string;
|