@salutejs/plasma-new-hope 0.122.0-canary.1350.10347061390.0 → 0.122.0-canary.1352.10369069691.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) 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/TextArea/TextArea.js +17 -3
  9. package/cjs/components/TextArea/TextArea.js.map +1 -1
  10. package/cjs/components/TextArea/TextArea.styles.js +7 -1
  11. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  12. package/cjs/components/TextArea/{TextArea.styles_1bv40vw.css → TextArea.styles_wt773g.css} +2 -1
  13. package/cjs/components/TextArea/TextArea.tokens.js +8 -1
  14. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  15. package/cjs/components/TextArea/variations/_required/base.js +9 -0
  16. package/cjs/components/TextArea/variations/_required/base.js.map +1 -0
  17. package/cjs/components/TextArea/variations/_required/base_x642ct.css +1 -0
  18. package/cjs/components/TextField/TextField.js +23 -7
  19. package/cjs/components/TextField/TextField.js.map +1 -1
  20. package/cjs/components/TextField/TextField.styles.js +7 -1
  21. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  22. package/{es/components/TextField/TextField.styles_9fkr1l.css → cjs/components/TextField/TextField.styles_x7rboj.css} +2 -1
  23. package/cjs/components/TextField/TextField.tokens.js +8 -1
  24. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  25. package/cjs/components/TextField/TextField_1lzb2r1.css +1 -0
  26. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  27. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  28. package/cjs/components/TextField/variations/_label-placement/base_1ch19bp.css +1 -0
  29. package/cjs/components/TextField/variations/_required/base.js +9 -0
  30. package/cjs/components/TextField/variations/_required/base.js.map +1 -0
  31. package/cjs/components/TextField/variations/_required/base_x642ct.css +1 -0
  32. package/cjs/index.css +20 -18
  33. package/emotion/cjs/components/TextArea/TextArea.js +18 -4
  34. package/emotion/cjs/components/TextArea/TextArea.styles.js +23 -19
  35. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +29 -3
  36. package/emotion/cjs/components/TextArea/TextArea.tokens.js +8 -1
  37. package/emotion/cjs/components/TextArea/variations/_required/base.js +8 -0
  38. package/emotion/cjs/components/TextArea/variations/_required/tokens.json +1 -0
  39. package/emotion/cjs/components/TextArea/variations/_size/tokens.json +7 -1
  40. package/emotion/cjs/components/TextField/TextField.js +27 -11
  41. package/emotion/cjs/components/TextField/TextField.styles.js +33 -21
  42. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +27 -1
  43. package/emotion/cjs/components/TextField/TextField.tokens.js +8 -1
  44. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  45. package/emotion/cjs/components/TextField/variations/_required/base.js +8 -0
  46. package/emotion/cjs/components/TextField/variations/_required/tokens.json +1 -0
  47. package/emotion/cjs/components/TextField/variations/_size/tokens.json +6 -0
  48. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +12 -9
  49. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  50. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +15 -12
  51. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  52. package/emotion/es/components/TextArea/TextArea.js +19 -5
  53. package/emotion/es/components/TextArea/TextArea.styles.js +22 -18
  54. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +29 -3
  55. package/emotion/es/components/TextArea/TextArea.tokens.js +8 -1
  56. package/emotion/es/components/TextArea/variations/_required/base.js +2 -0
  57. package/emotion/es/components/TextArea/variations/_required/tokens.json +1 -0
  58. package/emotion/es/components/TextArea/variations/_size/tokens.json +7 -1
  59. package/emotion/es/components/TextField/TextField.js +26 -10
  60. package/emotion/es/components/TextField/TextField.styles.js +32 -20
  61. package/emotion/es/components/TextField/TextField.template-doc.mdx +27 -1
  62. package/emotion/es/components/TextField/TextField.tokens.js +8 -1
  63. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  64. package/emotion/es/components/TextField/variations/_required/base.js +2 -0
  65. package/emotion/es/components/TextField/variations/_required/tokens.json +1 -0
  66. package/emotion/es/components/TextField/variations/_size/tokens.json +6 -0
  67. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +12 -9
  68. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  69. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +15 -12
  70. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  71. package/es/components/Autocomplete/Autocomplete.css +10 -9
  72. package/es/components/DatePicker/RangeDate/RangeDate.css +10 -9
  73. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +10 -9
  74. package/es/components/DatePicker/SingleDate/SingleDate.css +10 -9
  75. package/es/components/Range/Range.css +10 -9
  76. package/es/components/Slider/Slider.css +10 -9
  77. package/es/components/Slider/components/Double/Double.css +10 -9
  78. package/es/components/TextArea/TextArea.js +18 -4
  79. package/es/components/TextArea/TextArea.js.map +1 -1
  80. package/es/components/TextArea/TextArea.styles.js +7 -2
  81. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  82. package/es/components/TextArea/{TextArea.styles_1bv40vw.css → TextArea.styles_wt773g.css} +2 -1
  83. package/es/components/TextArea/TextArea.tokens.js +8 -1
  84. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  85. package/es/components/TextArea/variations/_required/base.js +5 -0
  86. package/es/components/TextArea/variations/_required/base.js.map +1 -0
  87. package/es/components/TextArea/variations/_required/base_x642ct.css +1 -0
  88. package/es/components/TextField/TextField.js +24 -8
  89. package/es/components/TextField/TextField.js.map +1 -1
  90. package/es/components/TextField/TextField.styles.js +7 -2
  91. package/es/components/TextField/TextField.styles.js.map +1 -1
  92. package/{cjs/components/TextField/TextField.styles_9fkr1l.css → es/components/TextField/TextField.styles_x7rboj.css} +2 -1
  93. package/es/components/TextField/TextField.tokens.js +8 -1
  94. package/es/components/TextField/TextField.tokens.js.map +1 -1
  95. package/es/components/TextField/TextField_1lzb2r1.css +1 -0
  96. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  97. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  98. package/es/components/TextField/variations/_label-placement/base_1ch19bp.css +1 -0
  99. package/es/components/TextField/variations/_required/base.js +5 -0
  100. package/es/components/TextField/variations/_required/base.js.map +1 -0
  101. package/es/components/TextField/variations/_required/base_x642ct.css +1 -0
  102. package/es/index.css +20 -18
  103. package/package.json +4 -4
  104. package/styled-components/cjs/components/TextArea/TextArea.js +17 -3
  105. package/styled-components/cjs/components/TextArea/TextArea.styles.js +6 -3
  106. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +29 -3
  107. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +8 -1
  108. package/styled-components/cjs/components/TextArea/variations/_required/base.js +8 -0
  109. package/styled-components/cjs/components/TextArea/variations/_required/tokens.json +1 -0
  110. package/styled-components/cjs/components/TextArea/variations/_size/tokens.json +7 -1
  111. package/styled-components/cjs/components/TextField/TextField.js +23 -7
  112. package/styled-components/cjs/components/TextField/TextField.styles.js +6 -3
  113. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +27 -1
  114. package/styled-components/cjs/components/TextField/TextField.tokens.js +8 -1
  115. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  116. package/styled-components/cjs/components/TextField/variations/_required/base.js +8 -0
  117. package/styled-components/cjs/components/TextField/variations/_required/tokens.json +1 -0
  118. package/styled-components/cjs/components/TextField/variations/_size/tokens.json +6 -0
  119. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +7 -4
  120. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  121. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +7 -4
  122. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  123. package/styled-components/es/components/TextArea/TextArea.js +18 -4
  124. package/styled-components/es/components/TextArea/TextArea.styles.js +5 -2
  125. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +29 -3
  126. package/styled-components/es/components/TextArea/TextArea.tokens.js +8 -1
  127. package/styled-components/es/components/TextArea/variations/_required/base.js +2 -0
  128. package/styled-components/es/components/TextArea/variations/_required/tokens.json +1 -0
  129. package/styled-components/es/components/TextArea/variations/_size/tokens.json +7 -1
  130. package/styled-components/es/components/TextField/TextField.js +22 -6
  131. package/styled-components/es/components/TextField/TextField.styles.js +5 -2
  132. package/styled-components/es/components/TextField/TextField.template-doc.mdx +27 -1
  133. package/styled-components/es/components/TextField/TextField.tokens.js +8 -1
  134. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  135. package/styled-components/es/components/TextField/variations/_required/base.js +2 -0
  136. package/styled-components/es/components/TextField/variations/_required/tokens.json +1 -0
  137. package/styled-components/es/components/TextField/variations/_size/tokens.json +6 -0
  138. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +7 -4
  139. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +45 -0
  140. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +7 -4
  141. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +43 -0
  142. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +4 -0
  143. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  144. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +4 -0
  145. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  146. package/types/components/Range/Range.styles.d.ts +4 -0
  147. package/types/components/Range/Range.styles.d.ts.map +1 -1
  148. package/types/components/Slider/components/Double/Double.styles.d.ts +4 -0
  149. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  150. package/types/components/TextArea/TextArea.d.ts +4 -0
  151. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  152. package/types/components/TextArea/TextArea.styles.d.ts +1 -0
  153. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  154. package/types/components/TextArea/TextArea.tokens.d.ts +7 -0
  155. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  156. package/types/components/TextArea/TextArea.types.d.ts +9 -0
  157. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  158. package/types/components/TextArea/variations/_required/base.d.ts +2 -0
  159. package/types/components/TextArea/variations/_required/base.d.ts.map +1 -0
  160. package/types/components/TextField/TextField.d.ts +4 -0
  161. package/types/components/TextField/TextField.d.ts.map +1 -1
  162. package/types/components/TextField/TextField.styles.d.ts +1 -0
  163. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  164. package/types/components/TextField/TextField.tokens.d.ts +7 -0
  165. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  166. package/types/components/TextField/TextField.types.d.ts +9 -0
  167. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  168. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  169. package/types/components/TextField/variations/_required/base.d.ts +2 -0
  170. package/types/components/TextField/variations/_required/base.d.ts.map +1 -0
  171. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -0
  172. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  173. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +3 -0
  174. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  175. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +3 -0
  176. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  177. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +3 -0
  178. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  179. package/types/examples/plasma_web/components/TextField/TextField.d.ts +7 -0
  180. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  181. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +4 -0
  182. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
  183. package/cjs/components/TextField/TextField_wctd2m.css +0 -1
  184. package/cjs/components/TextField/variations/_label-placement/base_qtoism.css +0 -1
  185. package/es/components/TextField/TextField_wctd2m.css +0 -1
  186. package/es/components/TextField/variations/_label-placement/base_qtoism.css +0 -1
@@ -138,6 +138,49 @@ type StoryPropsChips = Omit<
138
138
  enableContentRight: boolean;
139
139
  };
140
140
 
141
+ const StoryRequired = ({ view, ...rest }: StoryPropsDefault) => {
142
+ const [text, setText] = useState('Значение поля');
143
+
144
+ return (
145
+ <div style={{ display: 'grid', gap: '1.5rem' }}>
146
+ <TextField
147
+ {...rest}
148
+ value={text}
149
+ required
150
+ view={view}
151
+ onChange={(e) => {
152
+ setText(e.target.value);
153
+ onChange(e.target.value);
154
+ }}
155
+ onFocus={onFocus}
156
+ onBlur={onBlur}
157
+ onChangeChips={onChipsChange}
158
+ />
159
+ <TextField
160
+ {...rest}
161
+ value={text}
162
+ required
163
+ requiredAlign="right"
164
+ view={view}
165
+ onChange={(e) => {
166
+ setText(e.target.value);
167
+ onChange(e.target.value);
168
+ }}
169
+ onFocus={onFocus}
170
+ onBlur={onBlur}
171
+ onChangeChips={onChipsChange}
172
+ />
173
+ </div>
174
+ );
175
+ };
176
+
177
+ export const Required: StoryObj<StoryPropsDefault> = {
178
+ args: {
179
+ ...Default.args,
180
+ },
181
+ render: (args) => <StoryRequired {...args} />,
182
+ };
183
+
141
184
  const StoryChips = ({ enableContentLeft, enableContentRight, view, ...rest }: StoryPropsChips) => {
142
185
  const [text, setText] = useState('Значение поля');
143
186
 
@@ -12,6 +12,8 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
12
12
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
13
13
  textBefore?: string | undefined;
14
14
  textAfter?: string | undefined;
15
+ required?: boolean | undefined;
16
+ requiredAlign?: "left" | "right" | undefined;
15
17
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
16
18
  } & {
17
19
  chips?: undefined;
@@ -31,6 +33,8 @@ export declare const StyledTextField: import("@linaria/react").StyledMeta & impo
31
33
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
32
34
  textBefore?: string | undefined;
33
35
  textAfter?: string | undefined;
36
+ required?: boolean | undefined;
37
+ requiredAlign?: "left" | "right" | undefined;
34
38
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
35
39
  } & {
36
40
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HA0D3B,CAAC"}
1
+ {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HA0D3B,CAAC"}
@@ -13,6 +13,8 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
13
13
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
14
14
  textBefore?: string | undefined;
15
15
  textAfter?: string | undefined;
16
+ required?: boolean | undefined;
17
+ requiredAlign?: "left" | "right" | undefined;
16
18
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
17
19
  } & {
18
20
  chips?: undefined;
@@ -32,6 +34,8 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
32
34
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
33
35
  textBefore?: string | undefined;
34
36
  textAfter?: string | undefined;
37
+ required?: boolean | undefined;
38
+ requiredAlign?: "left" | "right" | undefined;
35
39
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
36
40
  } & {
37
41
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAuEvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
1
+ {"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAuEvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
@@ -12,6 +12,8 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
12
12
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
13
13
  textBefore?: string | undefined;
14
14
  textAfter?: string | undefined;
15
+ required?: boolean | undefined;
16
+ requiredAlign?: "left" | "right" | undefined;
15
17
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
16
18
  } & {
17
19
  chips?: undefined;
@@ -31,6 +33,8 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
31
33
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
32
34
  textBefore?: string | undefined;
33
35
  textAfter?: string | undefined;
36
+ required?: boolean | undefined;
37
+ requiredAlign?: "left" | "right" | undefined;
34
38
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
35
39
  } & {
36
40
  enumerationType: "chip";
@@ -1 +1 @@
1
- {"version":3,"file":"Range.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HA+DvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC;AAEvC,eAAO,MAAM,cAAc,qKAG1B,CAAC;AAEF,eAAO,MAAM,aAAa,qKAAe,CAAC;AAE1C,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAAe,CAAC"}
1
+ {"version":3,"file":"Range.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Range/Range.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HA+DvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC;AAEvC,eAAO,MAAM,cAAc,qKAG1B,CAAC;AAEF,eAAO,MAAM,aAAa,qKAAe,CAAC;AAE1C,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAAe,CAAC"}
@@ -16,6 +16,8 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
16
16
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
17
17
  textBefore?: string | undefined;
18
18
  textAfter?: string | undefined;
19
+ required?: boolean | undefined;
20
+ requiredAlign?: "left" | "right" | undefined;
19
21
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
20
22
  } & {
21
23
  chips?: undefined;
@@ -35,6 +37,8 @@ export declare const StyledInput: import("@linaria/react").StyledMeta & import("
35
37
  contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
38
  textBefore?: string | undefined;
37
39
  textAfter?: string | undefined;
40
+ required?: boolean | undefined;
41
+ requiredAlign?: "left" | "right" | undefined;
38
42
  onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
39
43
  } & {
40
44
  enumerationType: "chip";
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAiCvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAEzB,CAAC;AAEF,eAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAiCvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAEzB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAAe,CAAC"}
@@ -19,6 +19,10 @@ export declare const textAreaConfig: {
19
19
  css: import("@linaria/core").LinariaClassName;
20
20
  attrs: boolean;
21
21
  };
22
+ required: {
23
+ css: import("@linaria/core").LinariaClassName;
24
+ attrs: boolean;
25
+ };
22
26
  readOnly: {
23
27
  attrs: boolean;
24
28
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAK5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAmBrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA6BtD,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA4B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,aAAa,CAAC,8FAiJ1E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAnJQ,UAAU,mBAAmB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;CA2K/E,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAK5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAqBrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA6BtD,eAAO,MAAM,sBAAsB,UAAW,aAAa,WAAW,OAAO,2BA4B5E,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,UAAU,mBAAmB,EAAE,aAAa,CAAC,8FAgK1E,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAlKQ,UAAU,mBAAmB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA8L/E,CAAC"}
@@ -23,4 +23,5 @@ export declare const StyledRightHelper: import("@linaria/react").StyledMeta & im
23
23
  export declare const StyledPlaceholder: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & {
24
24
  hasContentRight: boolean;
25
25
  }>;
26
+ export declare const StyledIndicator: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
26
27
  //# sourceMappingURL=TextArea.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,WAAW,qKASvB,CAAC;AAEF,eAAO,MAAM,qBAAqB;eACnB,OAAO;EAUrB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAWzB,CAAC;AAEF,eAAO,MAAM,eAAe;WAAuB,MAAM;EAOxD,CAAC;AAEF,eAAO,MAAM,cAAc;eACZ,OAAO;qBACD,OAAO;sBACN,OAAO;;;;EAgF5B,CAAC;AAEF,eAAO,MAAM,aAAa,qKAgBzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,uKAa5B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;EAG7B,CAAC;AAEF,eAAO,MAAM,iBAAiB;qBACT,OAAO;EA2B3B,CAAC"}
1
+ {"version":3,"file":"TextArea.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,WAAW,qKAWvB,CAAC;AAEF,eAAO,MAAM,qBAAqB;eACnB,OAAO;EAUrB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAWzB,CAAC;AAEF,eAAO,MAAM,eAAe;WAAuB,MAAM;EAOxD,CAAC;AAEF,eAAO,MAAM,cAAc;eACZ,OAAO;qBACD,OAAO;sBACN,OAAO;;;;EAgF5B,CAAC;AAEF,eAAO,MAAM,aAAa,qKAgBzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,uKAa5B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;EAG7B,CAAC;AAEF,eAAO,MAAM,iBAAiB;qBACT,OAAO;EA2B3B,CAAC;AAEF,eAAO,MAAM,eAAe,qKAyB3B,CAAC"}
@@ -147,5 +147,12 @@ export declare const tokens: {
147
147
  disabledOpacity: string;
148
148
  /** Цвет текста для элемента textarea в состоянии disabled */
149
149
  inputColorDisabled: string;
150
+ indicatorColor: string;
151
+ indicatorSizeInner: string;
152
+ indicatorSizeOuter: string;
153
+ indicatorLabelPlacementInner: string;
154
+ indicatorLabelPlacementOuter: string;
155
+ indicatorLabelPlacementInnerRight: string;
156
+ indicatorLabelPlacementOuterRight: string;
150
157
  };
151
158
  //# sourceMappingURL=TextArea.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;IAChB,6DAA6D;;IAE7D,kEAAkE;;IAElE,+CAA+C;;IAE/C,6CAA6C;;IAE7C,4CAA4C;;IAE5C,mDAAmD;;IAEnD,+CAA+C;;IAE/C,2CAA2C;;CAE9C,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,sCAAsC;;IAEtC,wDAAwD;;IAExD,yDAAyD;;IAEzD,wDAAwD;;IAExD,0CAA0C;;IAE1C,4DAA4D;;IAE5D,6DAA6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;CAE9C,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,sCAAsC;;IAEtC,wDAAwD;;IAExD,yDAAyD;;IAEzD,wDAAwD;;IAExD,0CAA0C;;IAE1C,4DAA4D;;IAE5D,6DAA6D;;IAE7D,4DAA4D;;IAE5D,yCAAyC;;IAEzC,2DAA2D;;IAE3D,4DAA4D;;IAE5D,2DAA2D;;IAE3D,wCAAwC;;IAExC,0DAA0D;;IAE1D,yCAAyC;;IAEzC,gCAAgC;;IAEhC,kDAAkD;;IAElD,0CAA0C;;IAE1C,2CAA2C;;IAE3C,yCAAyC;;IAEzC,2DAA2D;;IAE3D,2DAA2D;;IAG3D,+BAA+B;;IAE/B,+BAA+B;;IAE/B,2CAA2C;;IAE3C,qCAAqC;;IAErC,+CAA+C;;IAE/C,4FAA4F;;IAE5F,0CAA0C;;IAE1C,0CAA0C;;IAE1C,qEAAqE;;IAErE,yCAAyC;;IAEzC,mEAAmE;;IAEnE,yCAAyC;;IAEzC,uCAAuC;;IAEvC,uCAAuC;;IAEvC,sCAAsC;;IAEtC,sCAAsC;;IAEtC,+FAA+F;;IAE/F,wCAAwC;;IAExC,wCAAwC;;IAExC,6BAA6B;;IAE7B,mEAAmE;;IAEnE,2DAA2D;;IAE3D,mEAAmE;;IAEnE,kEAAkE;;IAElE,uEAAuE;;IAEvE,8EAA8E;;IAE9E,mEAAmE;;IAEnE,qDAAqD;;IAErD,oCAAoC;;IAEpC,kCAAkC;;IAElC,0CAA0C;;IAE1C,yCAAyC;;IAEzC,8CAA8C;;IAE9C,4DAA4D;;IAE5D,iDAAiD;;IAEjD,8CAA8C;;IAE9C,sDAAsD;;IAEtD,qDAAqD;;IAErD,0DAA0D;;IAE1D,iEAAiE;;IAEjE,sDAAsD;;IAGtD,6DAA6D;;IAE7D,6DAA6D;;;;;;;;;CAUhE,CAAC"}
@@ -83,6 +83,15 @@ export interface TextAreaPropsBase {
83
83
  * Вспомогательный текст снизу справа для поля ввода.
84
84
  */
85
85
  rightHelper?: string;
86
+ /**
87
+ * Флаг обязательности поля
88
+ */
89
+ required?: boolean;
90
+ /**
91
+ * Задает выравнивание индикатора обязательности поля
92
+ * @default left
93
+ */
94
+ requiredAlign?: 'left' | 'right';
86
95
  }
87
96
  export interface TextAreaPropsExtends extends TextAreaPropsBase {
88
97
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.types.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,aAAK,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI;KAChB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvB,GACG;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,GACD;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACzB,CAAC;AAEN,aAAK,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpE,oBAAY,uBAAuB,GAAG;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,wBAAwB,GAAG;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,uBAAuB,GAAG,KAAK,CAAC,uBAAuB,EAAE,wBAAwB,EAAE,qBAAqB,CAAC,CAAC;AAEtH,MAAM,WAAW,iBAAiB;IAC9B;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;IACrD;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC3D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAC1F,oBAAoB,GACpB,uBAAuB,CAAC"}
1
+ {"version":3,"file":"TextArea.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.types.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,aAAK,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI;KAChB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAC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IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC;IACrD;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC3D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAC1F,oBAAoB,GACpB,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextArea/variations/_required/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -23,6 +23,10 @@ export declare const textFieldConfig: {
23
23
  css: import("@linaria/core").LinariaClassName;
24
24
  attrs: boolean;
25
25
  };
26
+ required: {
27
+ css: import("@linaria/core").LinariaClassName;
28
+ attrs: boolean;
29
+ };
26
30
  labelPlacement: {
27
31
  css: import("@linaria/core").LinariaClassName;
28
32
  };
@@ -1 +1 @@
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;AAG/C,OAAO,KAAK,EAAuC,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAsB7F,eAAO,MAAM,IAAI,0CAIhB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,4FAiNxE,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBAnNQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA+O5E,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;AAG/C,OAAO,KAAK,EAAuC,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAwB7F,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,4FAyNxE,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBA3NQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2P5E,CAAC"}
@@ -9,4 +9,5 @@ export declare const StyledContentRight: import("@linaria/react").StyledComponen
9
9
  export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
10
  export declare const StyledTextBefore: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
11
11
  export declare const StyledTextAfter: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
12
+ export declare const StyledIndicator: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
12
13
  //# sourceMappingURL=TextField.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY,qKAKxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAoB7B,CAAC;AAEF,eAAO,MAAM,WAAW,qKAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,8KASjB,CAAC;AAEF,eAAO,MAAM,KAAK,8KAAiB,CAAC;AAEpC,eAAO,MAAM,iBAAiB,qKAG7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAG9B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAAe,CAAC;AAEvC,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,eAAe,qKAAe,CAAC"}
1
+ {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY,qKAKxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAoB7B,CAAC;AAEF,eAAO,MAAM,WAAW,qKAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,8KASjB,CAAC;AAEF,eAAO,MAAM,KAAK,8KAEjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAG7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAG9B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAAe,CAAC;AAEvC,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,eAAe,qKAAe,CAAC;AAE5C,eAAO,MAAM,eAAe,qKAyB3B,CAAC"}
@@ -105,5 +105,12 @@ export declare const tokens: {
105
105
  chipClearContentMarginRight: string;
106
106
  chipOpacityReadonly: string;
107
107
  focusColor: string;
108
+ indicatorColor: string;
109
+ indicatorSizeInner: string;
110
+ indicatorSizeOuter: string;
111
+ indicatorLabelPlacementInner: string;
112
+ indicatorLabelPlacementOuter: string;
113
+ indicatorLabelPlacementInnerRight: string;
114
+ indicatorLabelPlacementOuterRight: string;
108
115
  };
109
116
  //# sourceMappingURL=TextField.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;IAWf,oCAAoC;;;;;IAMpC,mBAAmB;;;;;;IAQnB,kCAAkC;;;;;;;;;;;IAelC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCpB,qCAAqC;;;;;IAMrC,6DAA6D;;IAG7D,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCrB,CAAC"}
1
+ {"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;IAWf,oCAAoC;;;;;IAMpC,mBAAmB;;;;;;IAQnB,kCAAkC;;;;;;;;;;;IAelC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCpB,qCAAqC;;;;;IAMrC,6DAA6D;;IAG7D,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CrB,CAAC"}
@@ -71,6 +71,15 @@ export declare type TextFieldPropsBase = {
71
71
  * Слот для вспомогательного текста слева.
72
72
  */
73
73
  textAfter?: string;
74
+ /**
75
+ * Флаг обязательности поля
76
+ */
77
+ required?: boolean;
78
+ /**
79
+ * Задает выравнивание индикатора обязательности поля
80
+ * @default left
81
+ */
82
+ requiredAlign?: 'left' | 'right';
74
83
  /**
75
84
  * Callback по нажатию Enter
76
85
  */
@@ -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,mBAAmB,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE/F,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,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/E,GACD;IACI;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;CACnE,CAAC;AAER,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,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,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC7D"}
1
+ {"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE/F,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,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/E,GACD;IACI;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;CACnE,CAAC;AAER,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC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AAC;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 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA8DhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA+DhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_required/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,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/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"}
@@ -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
- .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{height:auto;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;-webkit-transition:padding 0.1s ease-in-out,height 0s;transition:padding 0.1s ease-in-out,height 0s;height:var(--plasma-textfield-height);padding-top:calc(var(--plasma-textfield-height) / 4);padding-bottom:calc(var(--plasma-textfield-height) / 4);}
@@ -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{height:auto;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;-webkit-transition:padding 0.1s ease-in-out,height 0s;transition:padding 0.1s ease-in-out,height 0s;height:var(--plasma-textfield-height);padding-top:calc(var(--plasma-textfield-height) / 4);padding-bottom:calc(var(--plasma-textfield-height) / 4);}