@salutejs/plasma-new-hope 0.194.0-canary.1565.11870784206.0 → 0.194.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/cjs/components/Switch/Switch.css +2 -2
  2. package/cjs/components/Switch/Switch.tokens.js +7 -1
  3. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  4. package/cjs/components/Switch/_toggleSize/base.js +1 -1
  5. package/cjs/components/Switch/_toggleSize/base.js.map +1 -1
  6. package/cjs/components/Switch/_toggleSize/base_1d0b3t4.css +1 -0
  7. package/cjs/components/Switch/_view/base.js +1 -1
  8. package/cjs/components/Switch/_view/base.js.map +1 -1
  9. package/cjs/components/Switch/_view/base_15atbyp.css +1 -0
  10. package/cjs/components/TextField/TextField.js +3 -27
  11. package/cjs/components/TextField/TextField.js.map +1 -1
  12. package/cjs/index.css +2 -2
  13. package/cjs/utils/constants.js +0 -4
  14. package/cjs/utils/constants.js.map +1 -1
  15. package/emotion/cjs/components/Switch/Switch.tokens.js +7 -1
  16. package/emotion/cjs/components/Switch/_toggleSize/base.js +1 -1
  17. package/emotion/cjs/components/Switch/_view/base.js +1 -1
  18. package/emotion/cjs/components/TextField/TextField.js +4 -27
  19. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +0 -330
  20. package/emotion/cjs/components/TextField/hooks/index.js +1 -8
  21. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
  22. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
  23. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
  24. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  25. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
  26. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +8 -8
  27. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
  28. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
  29. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  30. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
  31. package/emotion/cjs/utils/constants.js +2 -4
  32. package/emotion/es/components/Switch/Switch.tokens.js +7 -1
  33. package/emotion/es/components/Switch/_toggleSize/base.js +1 -1
  34. package/emotion/es/components/Switch/_view/base.js +1 -1
  35. package/emotion/es/components/TextField/TextField.js +5 -28
  36. package/emotion/es/components/TextField/TextField.template-doc.mdx +0 -330
  37. package/emotion/es/components/TextField/hooks/index.js +1 -2
  38. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
  39. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
  40. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
  41. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  42. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
  43. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +8 -8
  44. package/emotion/es/examples/plasma_web/components/Switch/Switch.js +4 -1
  45. package/emotion/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
  46. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  47. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
  48. package/emotion/es/utils/constants.js +1 -3
  49. package/es/components/Switch/Switch.css +2 -2
  50. package/es/components/Switch/Switch.tokens.js +7 -1
  51. package/es/components/Switch/Switch.tokens.js.map +1 -1
  52. package/es/components/Switch/_toggleSize/base.js +1 -1
  53. package/es/components/Switch/_toggleSize/base.js.map +1 -1
  54. package/es/components/Switch/_toggleSize/base_1d0b3t4.css +1 -0
  55. package/es/components/Switch/_view/base.js +1 -1
  56. package/es/components/Switch/_view/base.js.map +1 -1
  57. package/es/components/Switch/_view/base_15atbyp.css +1 -0
  58. package/es/components/TextField/TextField.js +3 -27
  59. package/es/components/TextField/TextField.js.map +1 -1
  60. package/es/index.css +2 -2
  61. package/es/utils/constants.js +1 -3
  62. package/es/utils/constants.js.map +1 -1
  63. package/package.json +2 -2
  64. package/styled-components/cjs/components/Switch/Switch.tokens.js +7 -1
  65. package/styled-components/cjs/components/Switch/_toggleSize/base.js +1 -1
  66. package/styled-components/cjs/components/Switch/_view/base.js +1 -1
  67. package/styled-components/cjs/components/TextField/TextField.js +3 -26
  68. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +0 -330
  69. package/styled-components/cjs/components/TextField/hooks/index.js +1 -8
  70. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
  71. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
  72. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
  73. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  74. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
  75. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +1 -1
  76. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
  77. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
  78. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  79. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
  80. package/styled-components/cjs/utils/constants.js +2 -4
  81. package/styled-components/es/components/Switch/Switch.tokens.js +7 -1
  82. package/styled-components/es/components/Switch/_toggleSize/base.js +1 -1
  83. package/styled-components/es/components/Switch/_view/base.js +1 -1
  84. package/styled-components/es/components/TextField/TextField.js +4 -27
  85. package/styled-components/es/components/TextField/TextField.template-doc.mdx +0 -330
  86. package/styled-components/es/components/TextField/hooks/index.js +1 -2
  87. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
  88. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
  89. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
  90. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  91. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -253
  92. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +1 -1
  93. package/styled-components/es/examples/plasma_web/components/Switch/Switch.js +4 -1
  94. package/styled-components/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
  95. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  96. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -252
  97. package/styled-components/es/utils/constants.js +1 -3
  98. package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -2
  99. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  100. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +92 -1676
  101. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  102. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +92 -1676
  103. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  104. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +92 -1676
  105. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  106. package/types/components/Range/Range.styles.d.ts +92 -1676
  107. package/types/components/Range/Range.styles.d.ts.map +1 -1
  108. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +92 -1676
  109. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  110. package/types/components/Slider/components/Double/Double.styles.d.ts +92 -1676
  111. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  112. package/types/components/Switch/Switch.tokens.d.ts +7 -1
  113. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  114. package/types/components/Switch/_toggleSize/base.d.ts.map +1 -1
  115. package/types/components/Switch/_view/base.d.ts.map +1 -1
  116. package/types/components/TextField/TextField.d.ts.map +1 -1
  117. package/types/components/TextField/TextField.types.d.ts +1 -51
  118. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  119. package/types/components/TextField/hooks/index.d.ts +0 -1
  120. package/types/components/TextField/hooks/index.d.ts.map +1 -1
  121. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +2 -64
  122. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  123. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +92 -2732
  124. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  125. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  126. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +20 -0
  127. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
  128. package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts +30 -0
  129. package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts.map +1 -0
  130. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +92 -1676
  131. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  132. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +2 -64
  133. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  134. package/types/examples/plasma_web/components/Mask/Mask.d.ts +92 -2732
  135. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  136. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  137. package/types/examples/plasma_web/components/Switch/Switch.d.ts +20 -0
  138. package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
  139. package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts +30 -0
  140. package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts.map +1 -0
  141. package/types/examples/plasma_web/components/TextField/TextField.d.ts +92 -1676
  142. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  143. package/types/utils/constants.d.ts +0 -2
  144. package/types/utils/constants.d.ts.map +1 -1
  145. package/cjs/components/Switch/_toggleSize/base_6i0904.css +0 -1
  146. package/cjs/components/Switch/_view/base_yxkf3s.css +0 -1
  147. package/cjs/components/TextField/hooks/useValidation.js +0 -273
  148. package/cjs/components/TextField/hooks/useValidation.js.map +0 -1
  149. package/emotion/cjs/components/TextField/hooks/useValidation.js +0 -276
  150. package/emotion/es/components/TextField/hooks/useValidation.js +0 -270
  151. package/es/components/Switch/_toggleSize/base_6i0904.css +0 -1
  152. package/es/components/Switch/_view/base_yxkf3s.css +0 -1
  153. package/es/components/TextField/hooks/useValidation.js +0 -269
  154. package/es/components/TextField/hooks/useValidation.js.map +0 -1
  155. package/styled-components/cjs/components/TextField/hooks/useValidation.js +0 -276
  156. package/styled-components/es/components/TextField/hooks/useValidation.js +0 -270
  157. package/types/components/TextField/hooks/useValidation.d.ts +0 -7
  158. package/types/components/TextField/hooks/useValidation.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Double.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Double/Double.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY,qKAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAIzB,CAAC;AAGF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,aAAa,qKAAe,CAAC"}
1
+ {"version":3,"file":"Double.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Double/Double.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY,qKAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAIzB,CAAC;AAGF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IAiCvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAEzB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAAe,CAAC"}
@@ -20,6 +20,11 @@ export declare const tokens: {
20
20
  verticalGap: string;
21
21
  trackWidth: string;
22
22
  trackHeight: string;
23
+ trackBorderWidth: string;
24
+ trackBorderColorOn: string;
25
+ trackBorderColorOnHover: string;
26
+ trackBorderColorOff: string;
27
+ trackBorderColorOffHover: string;
23
28
  trackBorderRadius: string;
24
29
  trackBackgroundColorOn: string;
25
30
  trackBackgroundColorOnHover: string;
@@ -30,7 +35,8 @@ export declare const tokens: {
30
35
  thumbOffset: string;
31
36
  thumbBorderRadius: string;
32
37
  thumbPressScale: string;
33
- thumbBackgroundColor: string;
38
+ thumbBackgroundColorOn: string;
39
+ thumbBackgroundColorOff: string;
34
40
  thumbBoxShadow: string;
35
41
  thumbBoxShadowOn: string;
36
42
  labelOffsetPrivate: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;IAwBf,6DAA6D;;;;;;;;;;;;;;;;;;;CA0BhE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
1
+ {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;IAwBf,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;CAiChE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAkBhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAuBhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAiChB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAsChB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAYvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAuC,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAoCjH,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,kBAAkB,CAAC,4FA0a5E,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBA5aQ,UAAU,cAAc,EAAE,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkdhF,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAuC,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAoCjH,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,kBAAkB,CAAC,4FAgZ5E,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBAlZQ,UAAU,cAAc,EAAE,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwbhF,CAAC"}
@@ -7,51 +7,6 @@ export declare type ChipValues = {
7
7
  text: TextFieldPrimitiveValue;
8
8
  };
9
9
  export declare type EnumerationType = 'plain' | 'chip';
10
- declare type ValidationOption<T> = {
11
- value?: T;
12
- errorMessage?: string;
13
- };
14
- export declare type PasswordValidationOptions = {
15
- minLength?: ValidationOption<number>;
16
- maxLength?: ValidationOption<number>;
17
- includeUppercase?: ValidationOption<boolean>;
18
- includeLowercase?: ValidationOption<boolean>;
19
- includeDigits?: ValidationOption<boolean>;
20
- includeSpecialSymbols?: ValidationOption<boolean>;
21
- };
22
- export declare type EmailValidationOptions = {
23
- customEmailRegex?: ValidationOption<RegExp>;
24
- minLength?: ValidationOption<number>;
25
- maxLength?: ValidationOption<number>;
26
- minHostLength?: ValidationOption<number>;
27
- maxHostLength?: ValidationOption<number>;
28
- minDomainLength?: ValidationOption<number>;
29
- maxDomainLength?: ValidationOption<number>;
30
- minZoneLength?: ValidationOption<number>;
31
- maxZoneLength?: ValidationOption<number>;
32
- whitelistDomains?: ValidationOption<string[]>;
33
- blacklistDomains?: ValidationOption<string[]>;
34
- };
35
- declare type OnValidateArgs = {
36
- isValid: boolean;
37
- errorMessage?: string;
38
- };
39
- export declare type ValidationProps = {
40
- validationType?: never;
41
- options?: never;
42
- passwordHidden?: never;
43
- onValidate?: never;
44
- } | {
45
- validationType: 'password';
46
- options?: PasswordValidationOptions;
47
- passwordHidden?: boolean;
48
- onValidate?: (args: OnValidateArgs) => void;
49
- } | {
50
- validationType: 'email';
51
- options?: EmailValidationOptions;
52
- passwordHidden?: never;
53
- onValidate?: (args: OnValidateArgs) => void;
54
- };
55
10
  declare type TextFieldChipProps = {
56
11
  /**
57
12
  * Выбранные значения.
@@ -226,7 +181,7 @@ export declare type TextFieldPropsBase = {
226
181
  * Callback по нажатию Enter
227
182
  */
228
183
  onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
229
- } & RequiredProps & ClearProps & HintProps & TextFieldChipProps & ValidationProps;
184
+ } & RequiredProps & ClearProps & HintProps & TextFieldChipProps;
230
185
  export declare type TextFieldProps = {
231
186
  /**
232
187
  * Размер контрола.
@@ -270,10 +225,5 @@ export interface UseKeyNavigationProps {
270
225
  onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
271
226
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
272
227
  }
273
- export declare type UseValidationArgs = {
274
- validationType?: 'password' | 'email';
275
- options?: PasswordValidationOptions | EmailValidationOptions;
276
- onValidate?: (args: OnValidateArgs) => void;
277
- };
278
228
  export {};
279
229
  //# sourceMappingURL=TextField.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE1E,oBAAY,uBAAuB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEhE,oBAAY,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,aAAK,gBAAgB,CAAC,CAAC,IAAI;IACvB,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACpC,SAAS,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACrC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC7C,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC7C,aAAa,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AC;IACnB,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CACtC,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAErE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;IAC9F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC7D"}
@@ -1,3 +1,2 @@
1
1
  export { useKeyNavigation } from './useKeyNavigation';
2
- export { useValidation } from './useValidation';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -27,72 +27,10 @@ export declare const Autocomplete: import("react").FunctionComponent<import("../
27
27
  } & {
28
28
  required: true;
29
29
  optional?: false | undefined;
30
- } & {
31
- validationType?: undefined;
32
- options?: undefined;
33
- passwordHidden?: undefined;
34
- onValidate?: undefined;
35
- } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
36
- requiredPlacement?: "left" | "right" | undefined;
37
- } & {
38
- required: true;
39
- optional?: false | undefined;
40
- } & {
41
- validationType: "password";
42
- options?: import("../../../../components/TextField/TextField.types").PasswordValidationOptions | undefined;
43
- passwordHidden?: boolean | undefined;
44
- onValidate?: ((args: {
45
- isValid: boolean;
46
- errorMessage?: string | undefined;
47
- }) => void) | undefined;
48
- } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
49
- requiredPlacement?: "left" | "right" | undefined;
50
- } & {
51
- required: true;
52
- optional?: false | undefined;
53
- } & {
54
- validationType: "email";
55
- options?: import("../../../../components/TextField/TextField.types").EmailValidationOptions | undefined;
56
- passwordHidden?: undefined;
57
- onValidate?: ((args: {
58
- isValid: boolean;
59
- errorMessage?: string | undefined;
60
- }) => void) | undefined;
61
- } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
30
+ } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
62
31
  requiredPlacement?: "left" | "right" | undefined;
63
32
  } & {
64
33
  optional?: true | undefined;
65
34
  required?: false | undefined;
66
- } & {
67
- validationType?: undefined;
68
- options?: undefined;
69
- passwordHidden?: undefined;
70
- onValidate?: undefined;
71
- } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
72
- requiredPlacement?: "left" | "right" | undefined;
73
- } & {
74
- optional?: true | undefined;
75
- required?: false | undefined;
76
- } & {
77
- validationType: "password";
78
- options?: import("../../../../components/TextField/TextField.types").PasswordValidationOptions | undefined;
79
- passwordHidden?: boolean | undefined;
80
- onValidate?: ((args: {
81
- isValid: boolean;
82
- errorMessage?: string | undefined;
83
- }) => void) | undefined;
84
- } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Autocomplete/Autocomplete.types").BaseProps & {
85
- requiredPlacement?: "left" | "right" | undefined;
86
- } & {
87
- optional?: true | undefined;
88
- required?: false | undefined;
89
- } & {
90
- validationType: "email";
91
- options?: import("../../../../components/TextField/TextField.types").EmailValidationOptions | undefined;
92
- passwordHidden?: undefined;
93
- onValidate?: ((args: {
94
- isValid: boolean;
95
- errorMessage?: string | undefined;
96
- }) => void) | undefined;
97
- } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "options" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "validationType" | "onValidate" | "passwordHidden" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
35
+ } & Omit<import("../../../../components/TextField/TextField.types").TextFieldPropsBase, "required" | "optional" | "requiredPlacement" | "chips" | "enumerationType" | "onChangeChips"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
98
36
  //# sourceMappingURL=Autocomplete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Autocomplete/Autocomplete.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+XAA0B,CAAC"}
1
+ {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Autocomplete/Autocomplete.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8TAA0B,CAAC"}