@frontify/fondue 12.0.0-beta.424 → 12.0.0-beta.426

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/index.d.ts CHANGED
@@ -13579,23 +13579,35 @@ export declare type TextInputExtraAction = {
13579
13579
  disabled?: boolean;
13580
13580
  };
13581
13581
 
13582
- export declare type TextInputProps = ({
13583
- type?: TextInputType.Text;
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
- } & TextInputBaseProps) | ({
13586
+ obfuscated?: false;
13587
+ };
13588
+
13589
+ declare type TextInputPasswordProps = TextInputBaseProps & {
13591
13590
  type: TextInputType.Password;
13592
13591
  obfuscated?: boolean;
13593
- } & TextInputBaseProps);
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 = {
@@ -14251,12 +14263,12 @@ declare namespace PatternImagery {
14251
14263
  }
14252
14264
 
14253
14265
 
14254
- declare namespace PatternTypography {
14266
+ declare namespace PatternSound {
14255
14267
  var displayName: string;
14256
14268
  }
14257
14269
 
14258
14270
 
14259
- declare namespace PatternSound {
14271
+ declare namespace PatternTypography {
14260
14272
  var displayName: string;
14261
14273
  }
14262
14274