@salutejs/plasma-new-hope 0.133.1-dev.0 → 0.134.0-canary.1352.10591857563.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +10 -9
  2. package/cjs/components/DatePicker/RangeDate/RangeDate.css +10 -9
  3. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +10 -9
  4. package/cjs/components/DatePicker/SingleDate/SingleDate.css +10 -9
  5. package/cjs/components/Range/Range.css +10 -9
  6. package/cjs/components/Slider/Slider.css +10 -9
  7. package/cjs/components/Slider/components/Double/Double.css +10 -9
  8. package/cjs/components/Switch/Switch.tokens.js +1 -1
  9. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  10. package/cjs/components/Switch/_size/base.js +1 -1
  11. package/cjs/components/Switch/_size/base.js.map +1 -1
  12. package/cjs/components/Switch/_size/{base_1sjw39x.css → base_9sphki.css} +1 -1
  13. package/cjs/components/Switch/_view/base.js +1 -1
  14. package/cjs/components/Switch/_view/base.js.map +1 -1
  15. package/cjs/components/Switch/_view/base_b0jyco.css +1 -0
  16. package/cjs/components/TextArea/TextArea.js +17 -3
  17. package/cjs/components/TextArea/TextArea.js.map +1 -1
  18. package/cjs/components/TextArea/TextArea.styles.js +7 -1
  19. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  20. package/{es/components/TextArea/TextArea.styles_1bv40vw.css → cjs/components/TextArea/TextArea.styles_wt773g.css} +2 -1
  21. package/cjs/components/TextArea/TextArea.tokens.js +8 -1
  22. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  23. package/cjs/components/TextArea/variations/_required/base.js +9 -0
  24. package/cjs/components/TextArea/variations/_required/base.js.map +1 -0
  25. package/cjs/components/TextArea/variations/_required/base_x642ct.css +1 -0
  26. package/cjs/components/TextField/TextField.js +23 -7
  27. package/cjs/components/TextField/TextField.js.map +1 -1
  28. package/cjs/components/TextField/TextField.styles.js +7 -1
  29. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  30. package/{es/components/TextField/TextField.styles_9fkr1l.css → cjs/components/TextField/TextField.styles_x7rboj.css} +2 -1
  31. package/cjs/components/TextField/TextField.tokens.js +8 -1
  32. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  33. package/cjs/components/TextField/TextField_1lzb2r1.css +1 -0
  34. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  35. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  36. package/cjs/components/TextField/variations/_label-placement/base_1yaoy2k.css +1 -0
  37. package/cjs/components/TextField/variations/_required/base.js +9 -0
  38. package/cjs/components/TextField/variations/_required/base.js.map +1 -0
  39. package/cjs/components/TextField/variations/_required/base_x642ct.css +1 -0
  40. package/cjs/index.css +22 -20
  41. package/emotion/cjs/components/Switch/Switch.tokens.js +1 -1
  42. package/emotion/cjs/components/Switch/_size/base.js +1 -1
  43. package/emotion/cjs/components/Switch/_view/base.js +1 -1
  44. package/emotion/cjs/components/TextArea/TextArea.js +18 -4
  45. package/emotion/cjs/components/TextArea/TextArea.styles.js +23 -19
  46. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +29 -3
  47. package/emotion/cjs/components/TextArea/TextArea.tokens.js +8 -1
  48. package/emotion/cjs/components/TextArea/variations/_required/base.js +8 -0
  49. package/emotion/cjs/components/TextArea/variations/_required/tokens.json +1 -0
  50. package/emotion/cjs/components/TextArea/variations/_size/tokens.json +7 -1
  51. package/emotion/cjs/components/TextField/TextField.js +27 -11
  52. package/emotion/cjs/components/TextField/TextField.styles.js +33 -21
  53. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +27 -1
  54. package/emotion/cjs/components/TextField/TextField.tokens.js +8 -1
  55. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  56. package/emotion/cjs/components/TextField/variations/_required/base.js +8 -0
  57. package/emotion/cjs/components/TextField/variations/_required/tokens.json +1 -0
  58. package/emotion/cjs/components/TextField/variations/_size/tokens.json +6 -0
  59. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +4 -4
  60. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +4 -4
  61. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +12 -9
  62. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  63. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +15 -12
  64. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  65. package/emotion/es/components/Switch/Switch.tokens.js +1 -1
  66. package/emotion/es/components/Switch/_size/base.js +1 -1
  67. package/emotion/es/components/Switch/_view/base.js +1 -1
  68. package/emotion/es/components/TextArea/TextArea.js +19 -5
  69. package/emotion/es/components/TextArea/TextArea.styles.js +22 -18
  70. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +29 -3
  71. package/emotion/es/components/TextArea/TextArea.tokens.js +8 -1
  72. package/emotion/es/components/TextArea/variations/_required/base.js +2 -0
  73. package/emotion/es/components/TextArea/variations/_required/tokens.json +1 -0
  74. package/emotion/es/components/TextArea/variations/_size/tokens.json +7 -1
  75. package/emotion/es/components/TextField/TextField.js +26 -10
  76. package/emotion/es/components/TextField/TextField.styles.js +32 -20
  77. package/emotion/es/components/TextField/TextField.template-doc.mdx +27 -1
  78. package/emotion/es/components/TextField/TextField.tokens.js +8 -1
  79. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  80. package/emotion/es/components/TextField/variations/_required/base.js +2 -0
  81. package/emotion/es/components/TextField/variations/_required/tokens.json +1 -0
  82. package/emotion/es/components/TextField/variations/_size/tokens.json +6 -0
  83. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +4 -4
  84. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +4 -4
  85. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +12 -9
  86. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  87. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +15 -12
  88. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  89. package/es/components/Autocomplete/Autocomplete.css +10 -9
  90. package/es/components/DatePicker/RangeDate/RangeDate.css +10 -9
  91. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +10 -9
  92. package/es/components/DatePicker/SingleDate/SingleDate.css +10 -9
  93. package/es/components/Range/Range.css +10 -9
  94. package/es/components/Slider/Slider.css +10 -9
  95. package/es/components/Slider/components/Double/Double.css +10 -9
  96. package/es/components/Switch/Switch.tokens.js +1 -1
  97. package/es/components/Switch/Switch.tokens.js.map +1 -1
  98. package/es/components/Switch/_size/base.js +1 -1
  99. package/es/components/Switch/_size/base.js.map +1 -1
  100. package/es/components/Switch/_size/{base_1sjw39x.css → base_9sphki.css} +1 -1
  101. package/es/components/Switch/_view/base.js +1 -1
  102. package/es/components/Switch/_view/base.js.map +1 -1
  103. package/es/components/Switch/_view/base_b0jyco.css +1 -0
  104. package/es/components/TextArea/TextArea.js +18 -4
  105. package/es/components/TextArea/TextArea.js.map +1 -1
  106. package/es/components/TextArea/TextArea.styles.js +7 -2
  107. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  108. package/{cjs/components/TextArea/TextArea.styles_1bv40vw.css → es/components/TextArea/TextArea.styles_wt773g.css} +2 -1
  109. package/es/components/TextArea/TextArea.tokens.js +8 -1
  110. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  111. package/es/components/TextArea/variations/_required/base.js +5 -0
  112. package/es/components/TextArea/variations/_required/base.js.map +1 -0
  113. package/es/components/TextArea/variations/_required/base_x642ct.css +1 -0
  114. package/es/components/TextField/TextField.js +24 -8
  115. package/es/components/TextField/TextField.js.map +1 -1
  116. package/es/components/TextField/TextField.styles.js +7 -2
  117. package/es/components/TextField/TextField.styles.js.map +1 -1
  118. package/{cjs/components/TextField/TextField.styles_9fkr1l.css → es/components/TextField/TextField.styles_x7rboj.css} +2 -1
  119. package/es/components/TextField/TextField.tokens.js +8 -1
  120. package/es/components/TextField/TextField.tokens.js.map +1 -1
  121. package/es/components/TextField/TextField_1lzb2r1.css +1 -0
  122. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  123. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  124. package/es/components/TextField/variations/_label-placement/base_1yaoy2k.css +1 -0
  125. package/es/components/TextField/variations/_required/base.js +5 -0
  126. package/es/components/TextField/variations/_required/base.js.map +1 -0
  127. package/es/components/TextField/variations/_required/base_x642ct.css +1 -0
  128. package/es/index.css +22 -20
  129. package/package.json +4 -4
  130. package/styled-components/cjs/components/Switch/Switch.tokens.js +1 -1
  131. package/styled-components/cjs/components/Switch/_size/base.js +1 -1
  132. package/styled-components/cjs/components/Switch/_view/base.js +1 -1
  133. package/styled-components/cjs/components/TextArea/TextArea.js +17 -3
  134. package/styled-components/cjs/components/TextArea/TextArea.styles.js +6 -3
  135. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +29 -3
  136. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +8 -1
  137. package/styled-components/cjs/components/TextArea/variations/_required/base.js +8 -0
  138. package/styled-components/cjs/components/TextArea/variations/_required/tokens.json +1 -0
  139. package/styled-components/cjs/components/TextArea/variations/_size/tokens.json +7 -1
  140. package/styled-components/cjs/components/TextField/TextField.js +23 -7
  141. package/styled-components/cjs/components/TextField/TextField.styles.js +6 -3
  142. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +27 -1
  143. package/styled-components/cjs/components/TextField/TextField.tokens.js +8 -1
  144. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  145. package/styled-components/cjs/components/TextField/variations/_required/base.js +8 -0
  146. package/styled-components/cjs/components/TextField/variations/_required/tokens.json +1 -0
  147. package/styled-components/cjs/components/TextField/variations/_size/tokens.json +6 -0
  148. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
  149. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +1 -1
  150. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +7 -4
  151. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  152. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +7 -4
  153. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  154. package/styled-components/es/components/Switch/Switch.tokens.js +1 -1
  155. package/styled-components/es/components/Switch/_size/base.js +1 -1
  156. package/styled-components/es/components/Switch/_view/base.js +1 -1
  157. package/styled-components/es/components/TextArea/TextArea.js +18 -4
  158. package/styled-components/es/components/TextArea/TextArea.styles.js +5 -2
  159. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +29 -3
  160. package/styled-components/es/components/TextArea/TextArea.tokens.js +8 -1
  161. package/styled-components/es/components/TextArea/variations/_required/base.js +2 -0
  162. package/styled-components/es/components/TextArea/variations/_required/tokens.json +1 -0
  163. package/styled-components/es/components/TextArea/variations/_size/tokens.json +7 -1
  164. package/styled-components/es/components/TextField/TextField.js +22 -6
  165. package/styled-components/es/components/TextField/TextField.styles.js +5 -2
  166. package/styled-components/es/components/TextField/TextField.template-doc.mdx +27 -1
  167. package/styled-components/es/components/TextField/TextField.tokens.js +8 -1
  168. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  169. package/styled-components/es/components/TextField/variations/_required/base.js +2 -0
  170. package/styled-components/es/components/TextField/variations/_required/tokens.json +1 -0
  171. package/styled-components/es/components/TextField/variations/_size/tokens.json +6 -0
  172. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
  173. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +1 -1
  174. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +7 -4
  175. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  176. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +7 -4
  177. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  178. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +4 -0
  179. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  180. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +4 -0
  181. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  182. package/types/components/Range/Range.styles.d.ts +4 -0
  183. package/types/components/Range/Range.styles.d.ts.map +1 -1
  184. package/types/components/Slider/components/Double/Double.styles.d.ts +4 -0
  185. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  186. package/types/components/TextArea/TextArea.d.ts +4 -0
  187. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  188. package/types/components/TextArea/TextArea.styles.d.ts +1 -0
  189. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  190. package/types/components/TextArea/TextArea.tokens.d.ts +7 -0
  191. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  192. package/types/components/TextArea/TextArea.types.d.ts +9 -0
  193. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  194. package/types/components/TextArea/variations/_required/base.d.ts +2 -0
  195. package/types/components/TextArea/variations/_required/base.d.ts.map +1 -0
  196. package/types/components/TextField/TextField.d.ts +4 -0
  197. package/types/components/TextField/TextField.d.ts.map +1 -1
  198. package/types/components/TextField/TextField.styles.d.ts +1 -0
  199. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  200. package/types/components/TextField/TextField.tokens.d.ts +7 -0
  201. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  202. package/types/components/TextField/TextField.types.d.ts +9 -0
  203. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  204. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  205. package/types/components/TextField/variations/_required/base.d.ts +2 -0
  206. package/types/components/TextField/variations/_required/base.d.ts.map +1 -0
  207. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  208. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -0
  209. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  210. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  211. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +3 -0
  212. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  213. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +3 -0
  214. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  215. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +3 -0
  216. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  217. package/types/examples/plasma_web/components/TextField/TextField.d.ts +7 -0
  218. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  219. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +4 -0
  220. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
  221. package/cjs/components/Switch/_view/base_d10e49.css +0 -1
  222. package/cjs/components/TextField/TextField_wctd2m.css +0 -1
  223. package/cjs/components/TextField/variations/_label-placement/base_170eaex.css +0 -1
  224. package/es/components/Switch/_view/base_d10e49.css +0 -1
  225. package/es/components/TextField/TextField_wctd2m.css +0 -1
  226. package/es/components/TextField/variations/_label-placement/base_170eaex.css +0 -1
@@ -35,6 +35,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
35
35
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
36
  textBefore?: string | undefined;
37
37
  textAfter?: string | undefined;
38
+ required?: boolean | undefined;
39
+ requiredAlign?: "left" | "right" | undefined;
38
40
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
39
41
  } & {
40
42
  chips?: undefined;
@@ -54,6 +56,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
54
56
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
55
57
  textBefore?: string | undefined;
56
58
  textAfter?: string | undefined;
59
+ required?: boolean | undefined;
60
+ requiredAlign?: "left" | "right" | undefined;
57
61
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
58
62
  } & {
59
63
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CAoDlB,CAAC"}
1
+ {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CAkDlB,CAAC"}
@@ -19,6 +19,9 @@ export declare const config: {
19
19
  disabled: {
20
20
  true: import("@linaria/core").LinariaClassName;
21
21
  };
22
+ required: {
23
+ true: import("@linaria/core").LinariaClassName;
24
+ };
22
25
  };
23
26
  };
24
27
  //# sourceMappingURL=TextArea.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CA6OlB,CAAC"}
1
+ {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CA4QlB,CAAC"}
@@ -15,6 +15,9 @@ export declare const TextArea: import("react").FunctionComponent<import("../../.
15
15
  disabled: {
16
16
  true: import("@linaria/core").LinariaClassName;
17
17
  };
18
+ required: {
19
+ true: import("@linaria/core").LinariaClassName;
20
+ };
18
21
  }> & ((Omit<import("../../../../types").TextareaHTMLAttributes<HTMLTextAreaElement>, "rows" | "cols"> & import("../../../../components/TextArea/TextArea.types").TextAreaPropsExtends & {
19
22
  autoResize?: boolean | undefined;
20
23
  maxAuto?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAA0B,CAAC"}
@@ -24,6 +24,9 @@ export declare const config: {
24
24
  disabled: {
25
25
  true: import("@linaria/core").LinariaClassName;
26
26
  };
27
+ required: {
28
+ true: import("@linaria/core").LinariaClassName;
29
+ };
27
30
  readOnly: {
28
31
  true: import("@linaria/core").LinariaClassName;
29
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmWlB,CAAC"}
1
+ {"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoYlB,CAAC"}
@@ -19,6 +19,9 @@ export declare const TextField: import("react").FunctionComponent<import("../../
19
19
  disabled: {
20
20
  true: import("@linaria/core").LinariaClassName;
21
21
  };
22
+ required: {
23
+ true: import("@linaria/core").LinariaClassName;
24
+ };
22
25
  readOnly: {
23
26
  true: import("@linaria/core").LinariaClassName;
24
27
  };
@@ -35,6 +38,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
35
38
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
39
  textBefore?: string | undefined;
37
40
  textAfter?: string | undefined;
41
+ required?: boolean | undefined;
42
+ requiredAlign?: "left" | "right" | undefined;
38
43
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
39
44
  } & {
40
45
  chips?: undefined;
@@ -54,6 +59,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
54
59
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
55
60
  textBefore?: string | undefined;
56
61
  textAfter?: string | undefined;
62
+ required?: boolean | undefined;
63
+ requiredAlign?: "left" | "right" | undefined;
57
64
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
58
65
  } & {
59
66
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
@@ -35,6 +35,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
35
35
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
36
  textBefore?: string | undefined;
37
37
  textAfter?: string | undefined;
38
+ required?: boolean | undefined;
39
+ requiredAlign?: "left" | "right" | undefined;
38
40
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
39
41
  } & {
40
42
  chips?: undefined;
@@ -54,6 +56,8 @@ export declare const TextField: import("react").FunctionComponent<import("../../
54
56
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
55
57
  textBefore?: string | undefined;
56
58
  textAfter?: string | undefined;
59
+ required?: boolean | undefined;
60
+ requiredAlign?: "left" | "right" | undefined;
57
61
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
58
62
  } & {
59
63
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAA0B,CAAC"}
@@ -1 +0,0 @@
1
- .b1g0jmh3 .sdjnckq{background-color:var(--plasma-switch__track_checked_false-bg-color);}.b1g0jmh3 .s1fcyfkl:not([disabled]) ~ .sdjnckq:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));}.b1g0jmh3 .s1fcyfkl:checked ~ .sdjnckq{background-color:var(--plasma-switch__track_checked_true-bg-color);}.b1g0jmh3 .s1fcyfkl:checked:not([disabled]) ~ .sdjnckq:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));}.b1g0jmh3 .sdjnckq::after{background-color:var(--plasma-switch__thumb-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.b1g0jmh3 .s1fcyfkl:checked ~ .sdjnckq::after{box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}
@@ -1 +0,0 @@
1
- .bpunezx{display:block;overflow:hidden;}
@@ -1 +0,0 @@
1
- .b15d3bnf.label-placement-outer .l13qvwoy{display:block;margin-bottom:var(--plasma-textfield__label-offset);color:var(--plasma-textfield__label-color);}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner:not(.hide-label) .suk2zst,.b15d3bnf.label-placement-inner:not(.hide-label) .s600610{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .io4bpie:focus ~ .l13qvwoy,.b15d3bnf.label-placement-inner .io4bpie:not(:placeholder-shown) ~ .l13qvwoy{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus)::-webkit-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus)::-moz-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus):-ms-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus)::placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus::-webkit-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus::-moz-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus:-ms-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus::placeholder{color:transparent;}.b15d3bnf.label-placement-inner .l13qvwoy{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}
@@ -1 +0,0 @@
1
- .b1g0jmh3 .sdjnckq{background-color:var(--plasma-switch__track_checked_false-bg-color);}.b1g0jmh3 .s1fcyfkl:not([disabled]) ~ .sdjnckq:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));}.b1g0jmh3 .s1fcyfkl:checked ~ .sdjnckq{background-color:var(--plasma-switch__track_checked_true-bg-color);}.b1g0jmh3 .s1fcyfkl:checked:not([disabled]) ~ .sdjnckq:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));}.b1g0jmh3 .sdjnckq::after{background-color:var(--plasma-switch__thumb-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.b1g0jmh3 .s1fcyfkl:checked ~ .sdjnckq::after{box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}
@@ -1 +0,0 @@
1
- .bpunezx{display:block;overflow:hidden;}
@@ -1 +0,0 @@
1
- .b15d3bnf.label-placement-outer .l13qvwoy{display:block;margin-bottom:var(--plasma-textfield__label-offset);color:var(--plasma-textfield__label-color);}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner:not(.hide-label) .suk2zst,.b15d3bnf.label-placement-inner:not(.hide-label) .s600610{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .io4bpie:focus ~ .l13qvwoy,.b15d3bnf.label-placement-inner .io4bpie:not(:placeholder-shown) ~ .l13qvwoy{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus)::-webkit-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus)::-moz-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus):-ms-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:not(:focus)::placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus::-webkit-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus::-moz-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus:-ms-input-placeholder{color:transparent;}.b15d3bnf.label-placement-inner:not(.hide-label) .io4bpie:focus::placeholder{color:transparent;}.b15d3bnf.label-placement-inner .l13qvwoy{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}