@frontify/fondue 12.0.0-beta.425 → 12.0.0-beta.427
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/components/TextInput/TextInput.es.js +23 -23
- package/dist/components/TextInput/TextInput.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +21 -9
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +23 -22
package/dist/index.d.ts
CHANGED
|
@@ -13579,23 +13579,35 @@ export declare type TextInputExtraAction = {
|
|
|
13579
13579
|
disabled?: boolean;
|
|
13580
13580
|
};
|
|
13581
13581
|
|
|
13582
|
-
|
|
13583
|
-
type
|
|
13584
|
-
obfuscated?: false;
|
|
13585
|
-
} & TextInputBaseProps) | ({
|
|
13586
|
-
type?: TextInputType.Number;
|
|
13587
|
-
obfuscated?: false;
|
|
13582
|
+
declare type TextInputNumberProps = TextInputBaseProps & {
|
|
13583
|
+
type: TextInputType.Number;
|
|
13588
13584
|
min?: number;
|
|
13589
13585
|
max?: number;
|
|
13590
|
-
|
|
13586
|
+
obfuscated?: false;
|
|
13587
|
+
};
|
|
13588
|
+
|
|
13589
|
+
declare type TextInputPasswordProps = TextInputBaseProps & {
|
|
13591
13590
|
type: TextInputType.Password;
|
|
13592
13591
|
obfuscated?: boolean;
|
|
13593
|
-
}
|
|
13592
|
+
};
|
|
13593
|
+
|
|
13594
|
+
export declare type TextInputProps = TextInputTextProps | TextInputNumberProps | TextInputPasswordProps | TextInputSearchProps;
|
|
13595
|
+
|
|
13596
|
+
declare type TextInputSearchProps = TextInputBaseProps & {
|
|
13597
|
+
type: TextInputType.Search;
|
|
13598
|
+
obfuscated?: false;
|
|
13599
|
+
};
|
|
13600
|
+
|
|
13601
|
+
declare type TextInputTextProps = TextInputBaseProps & {
|
|
13602
|
+
type?: TextInputType.Text;
|
|
13603
|
+
obfuscated?: false;
|
|
13604
|
+
};
|
|
13594
13605
|
|
|
13595
13606
|
export declare enum TextInputType {
|
|
13596
13607
|
Text = "text",
|
|
13597
13608
|
Password = "password",
|
|
13598
|
-
Number = "number"
|
|
13609
|
+
Number = "number",
|
|
13610
|
+
Search = "search"
|
|
13599
13611
|
}
|
|
13600
13612
|
|
|
13601
13613
|
export declare type TextOrNumberItem = {
|