@salutejs/plasma-new-hope 0.70.0-canary.1160.8541256541.0 → 0.70.0-canary.1161.8546427267.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (421) hide show
  1. package/cjs/components/Combobox/Combobox.css +4 -4
  2. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  3. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  4. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  5. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  6. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  7. package/cjs/components/Dropdown/Dropdown.css +4 -4
  8. package/cjs/components/Dropdown/Dropdown.js +0 -1
  9. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  10. package/cjs/components/Pagination/Pagination.css +4 -4
  11. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  12. package/cjs/components/Popover/Popover.css +4 -4
  13. package/cjs/components/Popover/Popover.js +7 -18
  14. package/cjs/components/Popover/Popover.js.map +1 -1
  15. package/cjs/components/Popover/Popover.styles.js +1 -1
  16. package/cjs/components/Popover/Popover.styles.js.map +1 -1
  17. package/cjs/components/Popover/{Popover.styles_1rk9t6z.css → Popover.styles_1ggb66y.css} +1 -1
  18. package/cjs/components/Select/Select.css +4 -4
  19. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
  20. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +40 -0
  21. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  22. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
  23. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  24. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  25. package/cjs/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
  26. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  27. package/cjs/components/{TextField/variations/_read-only → Select/ui/SelectDivider/variations/_view}/base.js +2 -2
  28. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  29. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
  30. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +40 -0
  31. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  32. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
  33. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  34. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  35. package/cjs/components/{TextField → Select/ui/SelectFooter}/variations/_size/base.js +2 -2
  36. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  37. package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  38. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +9 -0
  39. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  40. package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  41. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
  42. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +40 -0
  43. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  44. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
  45. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  46. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  47. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +9 -0
  48. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  49. package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  50. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +9 -0
  51. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  52. package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  53. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
  54. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +40 -0
  55. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  56. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
  57. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  58. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  59. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +9 -0
  60. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  61. package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  62. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +9 -0
  63. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  64. package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  65. package/cjs/components/Select/ui/SelectItem/SelectItem.css +4 -4
  66. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  67. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  68. package/cjs/components/TextField/TextField.js +29 -155
  69. package/cjs/components/TextField/TextField.js.map +1 -1
  70. package/cjs/components/TextField/TextField.styles.js +11 -27
  71. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  72. package/cjs/components/TextField/TextField.styles_2qw1n8.css +5 -0
  73. package/cjs/components/TextField/TextField.tokens.js +20 -68
  74. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  75. package/cjs/components/TextField/TextField_1lzb2r1.css +1 -0
  76. package/cjs/components/TextField/{variations/_disabled → _disabled}/base.js +2 -2
  77. package/cjs/components/TextField/_disabled/base.js.map +1 -0
  78. package/cjs/components/TextField/_disabled/base_so3w81.css +1 -0
  79. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
  80. package/cjs/components/TextField/_label-placement/base.js.map +1 -0
  81. package/cjs/components/TextField/_label-placement/base_x642ct.css +1 -0
  82. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/inner.js +2 -2
  83. package/cjs/components/TextField/_label-placement/inner.js.map +1 -0
  84. package/cjs/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
  85. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +2 -2
  86. package/cjs/components/TextField/_label-placement/outer.js.map +1 -0
  87. package/cjs/components/TextField/_label-placement/outer_19ekaek.css +1 -0
  88. package/cjs/components/TextField/_size/base.js +9 -0
  89. package/cjs/components/TextField/_size/base.js.map +1 -0
  90. package/cjs/components/TextField/_size/base_b5smyu.css +1 -0
  91. package/cjs/components/TextField/_view/base.js +9 -0
  92. package/cjs/components/TextField/_view/base.js.map +1 -0
  93. package/cjs/components/TextField/_view/base_5bqzed.css +1 -0
  94. package/cjs/index.css +37 -44
  95. package/cjs/index.js +41 -6
  96. package/cjs/index.js.map +1 -1
  97. package/cjs/utils/index.js +13 -1
  98. package/cjs/utils/index.js.map +1 -1
  99. package/cjs/utils/react.js +12 -2
  100. package/cjs/utils/react.js.map +1 -1
  101. package/es/components/Combobox/Combobox.css +4 -4
  102. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  103. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  104. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  105. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  106. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  107. package/es/components/Dropdown/Dropdown.css +4 -4
  108. package/es/components/Dropdown/Dropdown.js +0 -1
  109. package/es/components/Dropdown/Dropdown.js.map +1 -1
  110. package/es/components/Pagination/Pagination.css +4 -4
  111. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  112. package/es/components/Popover/Popover.css +4 -4
  113. package/es/components/Popover/Popover.js +7 -18
  114. package/es/components/Popover/Popover.js.map +1 -1
  115. package/es/components/Popover/Popover.styles.js +1 -1
  116. package/es/components/Popover/Popover.styles.js.map +1 -1
  117. package/es/components/Popover/{Popover.styles_1rk9t6z.css → Popover.styles_1ggb66y.css} +1 -1
  118. package/es/components/Select/Select.css +4 -4
  119. package/es/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
  120. package/es/components/Select/ui/SelectDivider/SelectDivider.js +35 -0
  121. package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  122. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
  123. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  124. package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  125. package/es/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
  126. package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  127. package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
  128. package/es/components/Select/ui/SelectDivider/variations/_view/base.js +5 -0
  129. package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  130. package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
  131. package/es/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
  132. package/es/components/Select/ui/SelectFooter/SelectFooter.js +35 -0
  133. package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  134. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
  135. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  136. package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  137. package/es/components/Select/ui/SelectFooter/variations/_size/base.js +5 -0
  138. package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  139. package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  140. package/es/components/Select/ui/SelectFooter/variations/_view/base.js +5 -0
  141. package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  142. package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  143. package/es/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
  144. package/es/components/Select/ui/SelectGroup/SelectGroup.js +35 -0
  145. package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  146. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
  147. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  148. package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  149. package/es/components/Select/ui/SelectGroup/variations/_size/base.js +5 -0
  150. package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  151. package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  152. package/es/components/Select/ui/SelectGroup/variations/_view/base.js +5 -0
  153. package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  154. package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  155. package/es/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
  156. package/es/components/Select/ui/SelectHeader/SelectHeader.js +35 -0
  157. package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  158. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
  159. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  160. package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  161. package/es/components/Select/ui/SelectHeader/variations/_size/base.js +5 -0
  162. package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  163. package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  164. package/es/components/Select/ui/SelectHeader/variations/_view/base.js +5 -0
  165. package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  166. package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  167. package/es/components/Select/ui/SelectItem/SelectItem.css +4 -4
  168. package/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  169. package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  170. package/es/components/TextField/TextField.js +33 -158
  171. package/es/components/TextField/TextField.js.map +1 -1
  172. package/es/components/TextField/TextField.styles.js +12 -25
  173. package/es/components/TextField/TextField.styles.js.map +1 -1
  174. package/es/components/TextField/TextField.styles_2qw1n8.css +5 -0
  175. package/es/components/TextField/TextField.tokens.js +21 -68
  176. package/es/components/TextField/TextField.tokens.js.map +1 -1
  177. package/es/components/TextField/TextField_1lzb2r1.css +1 -0
  178. package/es/components/TextField/_disabled/base.js +5 -0
  179. package/es/components/TextField/_disabled/base.js.map +1 -0
  180. package/es/components/TextField/_disabled/base_so3w81.css +1 -0
  181. package/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
  182. package/es/components/TextField/_label-placement/base.js.map +1 -0
  183. package/es/components/TextField/_label-placement/base_x642ct.css +1 -0
  184. package/es/components/TextField/_label-placement/inner.js +5 -0
  185. package/es/components/TextField/_label-placement/inner.js.map +1 -0
  186. package/es/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
  187. package/es/components/TextField/_label-placement/outer.js +5 -0
  188. package/es/components/TextField/_label-placement/outer.js.map +1 -0
  189. package/es/components/TextField/_label-placement/outer_19ekaek.css +1 -0
  190. package/es/components/TextField/_size/base.js +5 -0
  191. package/es/components/TextField/_size/base.js.map +1 -0
  192. package/es/components/TextField/_size/base_b5smyu.css +1 -0
  193. package/es/components/TextField/_view/base.js +5 -0
  194. package/es/components/TextField/_view/base.js.map +1 -0
  195. package/es/components/TextField/_view/base_5bqzed.css +1 -0
  196. package/es/index.css +37 -44
  197. package/es/index.js +15 -2
  198. package/es/index.js.map +1 -1
  199. package/es/utils/index.js +11 -2
  200. package/es/utils/index.js.map +1 -1
  201. package/es/utils/react.js +9 -2
  202. package/es/utils/react.js.map +1 -1
  203. package/package.json +2 -2
  204. package/styled-components/cjs/components/Dropdown/Dropdown.js +0 -1
  205. package/styled-components/cjs/components/Popover/Popover.js +7 -18
  206. package/styled-components/cjs/components/Popover/Popover.styles.js +1 -1
  207. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  208. package/styled-components/cjs/components/TextField/TextField.js +32 -162
  209. package/styled-components/cjs/components/TextField/TextField.styles.js +10 -18
  210. package/styled-components/cjs/components/TextField/TextField.tokens.js +21 -68
  211. package/styled-components/cjs/components/TextField/_disabled/base.js +9 -0
  212. package/styled-components/cjs/components/TextField/_label-placement/inner.js +10 -0
  213. package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +3 -3
  214. package/styled-components/cjs/components/TextField/_size/base.js +10 -0
  215. package/styled-components/cjs/components/TextField/_view/base.js +10 -0
  216. package/styled-components/cjs/components/TextField/index.js +2 -2
  217. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  218. package/styled-components/cjs/index.js +22 -0
  219. package/styled-components/es/components/Dropdown/Dropdown.js +0 -1
  220. package/styled-components/es/components/Popover/Popover.js +7 -18
  221. package/styled-components/es/components/Popover/Popover.styles.js +1 -1
  222. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  223. package/styled-components/es/components/TextField/TextField.js +36 -166
  224. package/styled-components/es/components/TextField/TextField.styles.js +9 -17
  225. package/styled-components/es/components/TextField/TextField.tokens.js +20 -67
  226. package/styled-components/es/components/TextField/_disabled/base.js +3 -0
  227. package/styled-components/es/components/TextField/_label-placement/inner.js +4 -0
  228. package/styled-components/es/components/TextField/_label-placement/outer.js +4 -0
  229. package/styled-components/es/components/TextField/_size/base.js +4 -0
  230. package/styled-components/es/components/TextField/_view/base.js +4 -0
  231. package/styled-components/es/components/TextField/index.js +2 -2
  232. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  233. package/styled-components/es/index.js +2 -0
  234. package/types/components/Combobox/Combobox.styles.d.ts +2 -8
  235. package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
  236. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  237. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -7
  238. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  239. package/types/components/Popover/Popover.d.ts +2 -2
  240. package/types/components/Popover/Popover.d.ts.map +1 -1
  241. package/types/components/Popover/Popover.styles.d.ts.map +1 -1
  242. package/types/components/Popover/Popover.types.d.ts +12 -19
  243. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  244. package/types/components/Select/Select.styles.d.ts +2 -8
  245. package/types/components/Select/Select.styles.d.ts.map +1 -1
  246. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +1 -1
  247. package/types/components/TextField/TextField.d.ts +3 -8
  248. package/types/components/TextField/TextField.d.ts.map +1 -1
  249. package/types/components/TextField/TextField.styles.d.ts +3 -6
  250. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  251. package/types/components/TextField/TextField.tokens.d.ts +8 -57
  252. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  253. package/types/components/TextField/TextField.types.d.ts +2 -29
  254. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  255. package/types/components/TextField/_disabled/base.d.ts.map +1 -0
  256. package/types/components/TextField/_label-placement/base.d.ts.map +1 -0
  257. package/types/components/TextField/_label-placement/index.d.ts.map +1 -0
  258. package/types/components/TextField/_label-placement/inner.d.ts.map +1 -0
  259. package/types/components/TextField/_label-placement/outer.d.ts.map +1 -0
  260. package/types/components/TextField/_size/base.d.ts.map +1 -0
  261. package/types/components/TextField/_view/base.d.ts.map +1 -0
  262. package/types/components/TextField/index.d.ts +2 -3
  263. package/types/components/TextField/index.d.ts.map +1 -1
  264. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +1 -7
  265. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
  266. package/types/examples/plasma_web/components/Popover/Popover.d.ts +1 -7
  267. package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
  268. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +1 -7
  269. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
  270. package/types/index.d.ts +2 -0
  271. package/types/index.d.ts.map +1 -1
  272. package/cjs/components/TextField/TextField.styles_1b1mddp.css +0 -8
  273. package/cjs/components/TextField/TextField_wctd2m.css +0 -1
  274. package/cjs/components/TextField/hooks/useKeyNavigation.js +0 -133
  275. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +0 -1
  276. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
  277. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -38
  278. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
  279. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -26
  280. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
  281. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +0 -1
  282. package/cjs/components/TextField/variations/_disabled/base.js.map +0 -1
  283. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  284. package/cjs/components/TextField/variations/_label-placement/base.js.map +0 -1
  285. package/cjs/components/TextField/variations/_label-placement/inner.js.map +0 -1
  286. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  287. package/cjs/components/TextField/variations/_label-placement/outer.js.map +0 -1
  288. package/cjs/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
  289. package/cjs/components/TextField/variations/_read-only/base.js.map +0 -1
  290. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  291. package/cjs/components/TextField/variations/_size/base.js.map +0 -1
  292. package/cjs/components/TextField/variations/_size/base_1khzr9t.css +0 -1
  293. package/cjs/components/TextField/variations/_view/base.js.map +0 -1
  294. package/cjs/components/TextField/variations/_view/base_1qd77x6.css +0 -1
  295. package/es/components/TextField/TextField.styles_1b1mddp.css +0 -8
  296. package/es/components/TextField/TextField_wctd2m.css +0 -1
  297. package/es/components/TextField/hooks/useKeyNavigation.js +0 -128
  298. package/es/components/TextField/hooks/useKeyNavigation.js.map +0 -1
  299. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
  300. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -34
  301. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
  302. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -22
  303. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
  304. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +0 -1
  305. package/es/components/TextField/variations/_disabled/base.js +0 -5
  306. package/es/components/TextField/variations/_disabled/base.js.map +0 -1
  307. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  308. package/es/components/TextField/variations/_label-placement/base.js.map +0 -1
  309. package/es/components/TextField/variations/_label-placement/inner.js +0 -5
  310. package/es/components/TextField/variations/_label-placement/inner.js.map +0 -1
  311. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  312. package/es/components/TextField/variations/_label-placement/outer.js +0 -5
  313. package/es/components/TextField/variations/_label-placement/outer.js.map +0 -1
  314. package/es/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
  315. package/es/components/TextField/variations/_read-only/base.js +0 -5
  316. package/es/components/TextField/variations/_read-only/base.js.map +0 -1
  317. package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  318. package/es/components/TextField/variations/_size/base.js +0 -5
  319. package/es/components/TextField/variations/_size/base.js.map +0 -1
  320. package/es/components/TextField/variations/_size/base_1khzr9t.css +0 -1
  321. package/es/components/TextField/variations/_view/base.js.map +0 -1
  322. package/es/components/TextField/variations/_view/base_1qd77x6.css +0 -1
  323. package/styled-components/cjs/components/TextField/hooks/index.js +0 -12
  324. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +0 -139
  325. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.types.js +0 -5
  326. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -39
  327. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -25
  328. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -5
  329. package/styled-components/cjs/components/TextField/ui/index.js +0 -12
  330. package/styled-components/cjs/components/TextField/variations/_disabled/base.js +0 -10
  331. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +0 -10
  332. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +0 -10
  333. package/styled-components/cjs/components/TextField/variations/_read-only/tokens.json +0 -1
  334. package/styled-components/cjs/components/TextField/variations/_size/base.js +0 -10
  335. package/styled-components/cjs/components/TextField/variations/_view/base.js +0 -10
  336. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +0 -43
  337. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.js +0 -11
  338. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -123
  339. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +0 -40
  340. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.js +0 -11
  341. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -123
  342. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +0 -43
  343. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +0 -11
  344. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -123
  345. package/styled-components/es/components/TextField/hooks/index.js +0 -1
  346. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +0 -133
  347. package/styled-components/es/components/TextField/hooks/useKeyNavigation.types.js +0 -1
  348. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -30
  349. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -19
  350. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -1
  351. package/styled-components/es/components/TextField/ui/index.js +0 -1
  352. package/styled-components/es/components/TextField/variations/_disabled/base.js +0 -4
  353. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +0 -4
  354. package/styled-components/es/components/TextField/variations/_label-placement/outer.js +0 -4
  355. package/styled-components/es/components/TextField/variations/_read-only/base.js +0 -4
  356. package/styled-components/es/components/TextField/variations/_read-only/tokens.json +0 -1
  357. package/styled-components/es/components/TextField/variations/_size/base.js +0 -4
  358. package/styled-components/es/components/TextField/variations/_view/base.js +0 -4
  359. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +0 -37
  360. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.js +0 -5
  361. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -123
  362. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +0 -34
  363. package/styled-components/es/examples/plasma_web/components/TextField/TextField.js +0 -5
  364. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -123
  365. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +0 -37
  366. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +0 -5
  367. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -123
  368. package/types/components/TextField/hooks/index.d.ts +0 -2
  369. package/types/components/TextField/hooks/index.d.ts.map +0 -1
  370. package/types/components/TextField/hooks/useKeyNavigation.d.ts +0 -17
  371. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +0 -1
  372. package/types/components/TextField/hooks/useKeyNavigation.types.d.ts +0 -18
  373. package/types/components/TextField/hooks/useKeyNavigation.types.d.ts.map +0 -1
  374. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +0 -7
  375. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +0 -1
  376. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -15
  377. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +0 -1
  378. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +0 -37
  379. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +0 -1
  380. package/types/components/TextField/ui/index.d.ts +0 -2
  381. package/types/components/TextField/ui/index.d.ts.map +0 -1
  382. package/types/components/TextField/variations/_disabled/base.d.ts.map +0 -1
  383. package/types/components/TextField/variations/_label-placement/base.d.ts.map +0 -1
  384. package/types/components/TextField/variations/_label-placement/index.d.ts.map +0 -1
  385. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +0 -1
  386. package/types/components/TextField/variations/_label-placement/outer.d.ts.map +0 -1
  387. package/types/components/TextField/variations/_read-only/base.d.ts.map +0 -1
  388. package/types/components/TextField/variations/_size/base.d.ts.map +0 -1
  389. package/types/components/TextField/variations/_view/base.d.ts +0 -2
  390. package/types/components/TextField/variations/_view/base.d.ts.map +0 -1
  391. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -32
  392. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +0 -1
  393. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -26
  394. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +0 -1
  395. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -32
  396. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +0 -1
  397. package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -26
  398. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +0 -1
  399. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +0 -32
  400. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +0 -1
  401. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +0 -26
  402. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +0 -1
  403. /package/cjs/components/{TextField/variations/_label-placement → Select/ui/SelectDivider/variations/_size}/base_x642ct.css +0 -0
  404. /package/{es/components/TextField/variations/_label-placement → cjs/components/Select/ui/SelectDivider/variations/_view}/base_x642ct.css +0 -0
  405. /package/styled-components/cjs/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
  406. /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
  407. /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
  408. /package/styled-components/cjs/components/TextField/{variations/_size → _size}/tokens.json +0 -0
  409. /package/styled-components/cjs/components/TextField/{variations/_view → _view}/tokens.json +0 -0
  410. /package/styled-components/es/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
  411. /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
  412. /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
  413. /package/styled-components/es/components/TextField/{variations/_size → _size}/tokens.json +0 -0
  414. /package/styled-components/es/components/TextField/{variations/_view → _view}/tokens.json +0 -0
  415. /package/types/components/TextField/{variations/_disabled → _disabled}/base.d.ts +0 -0
  416. /package/types/components/TextField/{variations/_label-placement → _label-placement}/base.d.ts +0 -0
  417. /package/types/components/TextField/{variations/_label-placement → _label-placement}/index.d.ts +0 -0
  418. /package/types/components/TextField/{variations/_label-placement → _label-placement}/inner.d.ts +0 -0
  419. /package/types/components/TextField/{variations/_label-placement → _label-placement}/outer.d.ts +0 -0
  420. /package/types/components/TextField/{variations/_read-only → _size}/base.d.ts +0 -0
  421. /package/types/components/TextField/{variations/_size → _view}/base.d.ts +0 -0
@@ -1,12 +1,12 @@
1
- import './TextField.styles_1b1mddp.css';
1
+ import './TextField.styles_2qw1n8.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
7
 
8
- var InputWrapper = /*#__PURE__*/react.styled('div')({
9
- name: "InputWrapper",
8
+ var Input = /*#__PURE__*/react.styled('input')({
9
+ name: "Input",
10
10
  "class": "iq39zt5",
11
11
  propsAsIs: false
12
12
  });
@@ -15,34 +15,21 @@ var InputLabelWrapper = /*#__PURE__*/react.styled('div')({
15
15
  "class": "i1j28rg8",
16
16
  propsAsIs: false
17
17
  });
18
- var StyledChips = /*#__PURE__*/react.styled('div')({
19
- name: "StyledChips",
20
- "class": "s13zudoe",
21
- propsAsIs: false
22
- });
23
- var Input = /*#__PURE__*/react.styled('input')({
24
- name: "Input",
25
- "class": "io4bpie",
18
+
19
+ // NOTE: border-width is used in size border-color is used in view
20
+ var InputWrapper = /*#__PURE__*/react.styled('div')({
21
+ name: "InputWrapper",
22
+ "class": "i13zudoe",
26
23
  propsAsIs: false
27
24
  });
28
- var Label = /*#__PURE__*/react.styled('label')({
25
+ var Label = /*#__PURE__*/react.styled('div')({
29
26
  name: "Label",
30
- "class": "l13qvwoy",
31
- propsAsIs: false
32
- });
33
- var StyledContentLeft = /*#__PURE__*/react.styled('div')({
34
- name: "StyledContentLeft",
35
- "class": "s19ry60d",
36
- propsAsIs: false
37
- });
38
- var StyledContentRight = /*#__PURE__*/react.styled('div')({
39
- name: "StyledContentRight",
40
- "class": "sbt1ohz",
27
+ "class": "lo4bpie",
41
28
  propsAsIs: false
42
29
  });
43
30
  var LeftHelper = /*#__PURE__*/react.styled('div')({
44
31
  name: "LeftHelper",
45
- "class": "llv9av6",
32
+ "class": "l13qvwoy",
46
33
  propsAsIs: false
47
34
  });
48
35
 
@@ -51,7 +38,4 @@ exports.InputLabelWrapper = InputLabelWrapper;
51
38
  exports.InputWrapper = InputWrapper;
52
39
  exports.Label = Label;
53
40
  exports.LeftHelper = LeftHelper;
54
- exports.StyledChips = StyledChips;
55
- exports.StyledContentLeft = StyledContentLeft;
56
- exports.StyledContentRight = StyledContentRight;
57
41
  //# sourceMappingURL=TextField.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.styles.js","sources":["../../../src/components/TextField/TextField.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { classes, tokens } from './TextField.tokens';\n\nexport const InputWrapper = styled.div`\n position: relative;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n`;\n\nexport const InputLabelWrapper = styled.div`\n flex: 1;\n overflow: scroll;\n position: relative;\n width: 100%;\n display: inline-flex;\n align-items: center;\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n scrollbar-width: none;\n\n overscroll-behavior: contain;\n\n &.${String(classes.hasChips)} {\n height: var(${tokens.chipHeight});\n border-radius: var(${tokens.chipBorderRadius});\n }\n`;\n\nexport const StyledChips = styled.div`\n display: flex;\n gap: var(${tokens.chipGap});\n margin-right: var(${tokens.chipGap});\n user-select: none;\n`;\n\nexport const Input = styled.input`\n box-sizing: border-box;\n appearance: none;\n border: 0;\n padding: 0;\n background-color: transparent;\n outline: none;\n flex: 1;\n min-width: 60%;\n`;\n\nexport const Label = styled.label``;\n\nexport const StyledContentLeft = styled.div`\n margin: var(${tokens.leftContentMargin});\n`;\n\nexport const StyledContentRight = styled.div`\n margin: var(${tokens.rightContentMargin});\n`;\n\nexport const LeftHelper = styled.div``;\n"],"names":["InputWrapper","styled","name","class","propsAsIs","InputLabelWrapper","StyledChips","Input","Label","StyledContentLeft","StyledContentRight","LeftHelper"],"mappings":";;;;;;AAIO,IAAMA,YAAY,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKjC,EAAA;AAEM,IAAMC,iBAAiB,gBAAGJ,YAAM,CAAA,KAAA,CAA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../../src/components/TextField/TextField.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nexport const Input = styled.input`\n box-sizing: border-box;\n appearance: none;\n border: 0;\n padding: 0;\n background-color: transparent;\n outline: none;\n`;\n\nexport const InputLabelWrapper = styled.div`\n ${Input} {\n width: 100%;\n }\n`;\n\n// NOTE: border-width is used in size border-color is used in view\nexport const InputWrapper = styled.div`\n position: relative;\n display: flex;\n align-items: center;\n\n box-shadow: inset 0 0 0 var(--plasma_private-textfield-border-width) var(--plasma_private-textfield-border-color);\n\n ${InputLabelWrapper} {\n flex-grow: 1;\n }\n`;\n\nexport const Label = styled.div``;\n\nexport const LeftHelper = styled.div``;\n"],"names":["Input","styled","name","class","propsAsIs","InputLabelWrapper","InputWrapper","Label","LeftHelper"],"mappings":";;;;;;AAEO,IAAMA,KAAK,gBAAGC,YAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,OAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO1B,EAAA;AAEM,IAAMC,iBAAiB,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;;AAED;AACO,IAAME,YAAY,gBAAGL,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAUjC,EAAA;AAEM,IAAMG,KAAK,gBAAGN,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,OAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM,EAAA;AAE1B,IAAMI,UAAU,gBAAGP,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;;;;;"}
@@ -0,0 +1,5 @@
1
+ .iq39zt5{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;}
2
+ .i1j28rg8 .iq39zt5{width:100%;}
3
+ .i13zudoe{position:relative;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-shadow:inset 0 0 0 var(--plasma_private-textfield-border-width) var(--plasma_private-textfield-border-color);}.i13zudoe .i1j28rg8{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
4
+
5
+
@@ -2,45 +2,34 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var classes = {
6
- hasChips: 'has-chips',
7
- hasEmptyContentLeft: 'has-empty-content-left',
8
- hasEmptyContentRight: 'has-empty-content-right'
9
- };
10
5
  var tokens = {
11
6
  color: '--plasma-textfield-color',
12
7
  backgroundColor: '--plasma-textfield-bg-color',
13
8
  backgroundColorHover: '--plasma-textfield-bg-color-hover',
14
9
  backgroundColorFocus: '--plasma-textfield-bg-color-focus',
15
- borderColor: '--plasma-textfield-border-color',
16
- borderColorHover: '--plasma-textfield-border-color-hover',
17
- borderColorFocus: '--plasma-textfield-border-color-focus',
18
- /** Цвета для read-only состояния */
19
- colorReadOnly: '--plasma-textfield-color-readonly',
20
- backgroundColorReadOnly: '--plasma-textfield-bg-color-readonly',
21
- borderColorReadOnly: '--plasma-textfield-border-color-readonly',
22
- placeholderColorReadOnly: '--plasma-textfield__placeholder-color-readonly',
23
10
  /** Цвет каретки */
24
11
  caretColor: '--plasma-textfield__caret-color',
25
12
  placeholderColor: '--plasma-textfield__placeholder-color',
13
+ borderColor: '--plasma-textfield-border-color',
14
+ borderColorHover: '--plasma-textfield-border-color-hover',
15
+ borderColorFocus: '--plasma-textfield-border-color-focus',
26
16
  height: '--plasma-textfield-height',
27
17
  borderWidth: '--plasmas-textfield-border-width',
28
18
  borderRadius: '--plasma-textfield-border-radius',
29
- /** Отступ от границы ТextField */
19
+ /** отступ от границы ТextField */
30
20
  padding: '--plasma-textfield-padding',
31
- paddingWithChips: '--plasma-textfield-padding-with-chips',
32
- /* Токены для инпута */
33
- leftContentMargin: '--plasma-textfield__left-content-margin',
34
- rightContentMargin: '--plasma-textfield__right-content-margin',
21
+ paddingWithContent: '--plasma-textfield-padding-with-content',
22
+ /* Отступ между Иконками и текстом Инпута */
23
+ /* Отступ при отсутствии Иконок сохраняется */
24
+ contentOffset: '--plasma-textfield__content-offset',
35
25
  fontFamily: '--plasma-textfield-font-family',
36
26
  fontStyle: '--plasma-textfield-font-style',
37
27
  fontSize: '--plasma-textfield-font-size',
38
28
  fontWeight: '--plasma-textfield-font-weight',
39
29
  letterSpacing: '--plasma-textfield-letter-spacing',
40
30
  lineHeight: '--plasma-textfield-line-height',
41
- /** Токены лейбла */
31
+ /** Цвет подписи */
42
32
  labelColor: '--plasma-textfield__label-color',
43
- labelColorReadOnly: '--plasma-textfield__label-color-readonly',
44
33
  labelOffset: '--plasma-textfield__label-offset',
45
34
  labelFontFamily: '--plasma-textfield__label-font-family',
46
35
  labelFontStyle: '--plasma-textfield__label-font-style',
@@ -55,56 +44,19 @@ var tokens = {
55
44
  labelInnerFontWeight: '--plasma-textfield-placement_inner__label-font-weight',
56
45
  labelInnerLetterSpacing: '--plasma-textfield-placement_inner__label-letter-spacing',
57
46
  labelInnerLineHeight: '--plasma-textfield-placement_inner__label-line-height',
58
- labelInnerPadding: '--plasma-textfield-placement_inner__label-padding',
59
- contentLabelInnerPadding: '--plasma-textfield-placement_inner__content-padding',
60
- leftHelperColor: '--plasma-textfield__left-helper-color',
61
- leftHelperColorReadOnly: '--plasma-textfield__left-helper-color-readonly',
62
- leftHelperOffset: '--plasma-textfield__left-helper-offset',
63
- leftHelperFontFamily: '--plasma-textfield__left-helper-font-family',
64
- leftHelperFontStyle: '--plasma-textfield__left-helper-font-style',
65
- leftHelperFontSize: '--plasma-textfield__left-helper-font-size',
66
- leftHelperFontWeight: '--plasma-textfield__left-helper-font-weight',
67
- leftHelperLetterSpacing: '--plasma-textfield__left-helper-letter-spacing',
68
- leftHelperLineHeight: '--plasma-textfield__left-helper-line-height',
47
+ leftHelperColor: '--plasma-textfield__leftHelper-color',
48
+ leftHelperOffset: '--plasma-textfield__leftHelper-offset',
49
+ leftHelperFontFamily: '--plasma-textfield__leftHelper-font-family',
50
+ leftHelperFontStyle: '--plasma-textfield__leftHelper-font-style',
51
+ leftHelperFontSize: '--plasma-textfield__leftHelper-font-size',
52
+ leftHelperFontWeight: '--plasma-textfield__leftHelper-font-weight',
53
+ leftHelperLetterSpacing: '--plasma-textfield__leftHelper-letter-spacing',
54
+ leftHelperLineHeight: '--plasma-textfield__leftHelper-line-height',
55
+ /* Дополнительный цвет который можно использовать в <Icon color="inheit" /> */
56
+ contentColor: '--plasma-textfield__content-color',
69
57
  /** Прозрачность для всего компонента в состоянии disabled */
70
- disabledOpacity: '--plasma-textfield-disabled-opacity',
71
- /** Токены чипа */
72
- chipHeight: '--plasma-textfield__chip-height',
73
- chipBorderRadius: '--plasma-textfield__chip-border-radius',
74
- chipGap: '--plasma-textfield__chip-gap',
75
- chipBackground: '--plasma-textfield__chip-background',
76
- chipColor: '--plasma-textfield__chip-color',
77
- chipBackgroundHover: '--plasma-textfield__chip-background-hover',
78
- chipColorHover: '--plasma-textfield__chip-color-hover',
79
- chipScaleHover: '--plasma-textfield__chip-scale-hover',
80
- chipBackgroundReadOnly: '--plasma-textfield__chip-background-readonly',
81
- chipColorReadOnly: '--plasma-textfield__chip-color-readonly',
82
- chipBackgroundReadOnlyHover: '--plasma-textfield__chip-background-readonly-hover',
83
- chipColorReadOnlyHover: '--plasma-textfield__chip-color-readonly-hover',
84
- chipBackgroundActive: '--plasma-textfield__chip-background-active',
85
- chipColorActive: '--plasma-textfield__chip-color-active',
86
- chipScaleActive: '--plasma-textfield__chip-scale-active',
87
- chipFocusColor: '--plasma-textfield__chip-focus-color',
88
- chipCloseIconColor: '--plasma-textfield__chip-close-icon-color',
89
- chipOutlineSize: '--plasma-textfield__chip-outline-size',
90
- chipWidth: '--plasma-textfield__chip-width',
91
- chipPaddingTop: '--plasma-textfield__chip-padding-top',
92
- chipPaddingRight: '--plasma-textfield__chip-padding-right',
93
- chipPaddingBottom: '--plasma-textfield__chip-padding-bottom',
94
- chipPaddingLeft: '--plasma-textfield__chip-padding-left',
95
- chipCloseIconSize: '--plasma-textfield__chip-close-icon-size',
96
- chipFontFamily: '--plasma-textfield__chip-font-family',
97
- chipFontSize: '--plasma-textfield__chip-font-size',
98
- chipFontStyle: '--plasma-textfield__chip-font-style',
99
- chipFontWeight: '--plasma-textfield__chip-font-weight',
100
- chipLetterSpacing: '--plasma-textfield__chip-letter-spacing',
101
- chipLineHeight: '--plasma-textfield__chip-line-height',
102
- chipClearContentMarginLeft: '--plasma-textfield__chip-clear-content-margin-left',
103
- chipClearContentMarginRight: '--plasma-textfield__chip-clear-content-margin-right',
104
- chipOpacityReadonly: '--plasma-textfield__chip-opacity-readonly',
105
- focusColor: '--plasma-textfield-focus-color'
58
+ disabledOpacity: '--plasma-textfield-disabled-opacity'
106
59
  };
107
60
 
108
- exports.classes = classes;
109
61
  exports.tokens = tokens;
110
62
  //# sourceMappingURL=TextField.tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.tokens.js","sources":["../../../src/components/TextField/TextField.tokens.ts"],"sourcesContent":["export const classes = {\n hasChips: 'has-chips',\n hasEmptyContentLeft: 'has-empty-content-left',\n hasEmptyContentRight: 'has-empty-content-right',\n};\n\nexport const tokens = {\n color: '--plasma-textfield-color',\n\n backgroundColor: '--plasma-textfield-bg-color',\n backgroundColorHover: '--plasma-textfield-bg-color-hover',\n backgroundColorFocus: '--plasma-textfield-bg-color-focus',\n\n borderColor: '--plasma-textfield-border-color',\n borderColorHover: '--plasma-textfield-border-color-hover',\n borderColorFocus: '--plasma-textfield-border-color-focus',\n\n /** Цвета для read-only состояния */\n colorReadOnly: '--plasma-textfield-color-readonly',\n backgroundColorReadOnly: '--plasma-textfield-bg-color-readonly',\n borderColorReadOnly: '--plasma-textfield-border-color-readonly',\n placeholderColorReadOnly: '--plasma-textfield__placeholder-color-readonly',\n\n /** Цвет каретки */\n caretColor: '--plasma-textfield__caret-color',\n placeholderColor: '--plasma-textfield__placeholder-color',\n\n height: '--plasma-textfield-height',\n borderWidth: '--plasmas-textfield-border-width',\n borderRadius: '--plasma-textfield-border-radius',\n\n /** Отступ от границы ТextField */\n padding: '--plasma-textfield-padding',\n paddingWithChips: '--plasma-textfield-padding-with-chips',\n\n /* Токены для инпута */\n leftContentMargin: '--plasma-textfield__left-content-margin',\n rightContentMargin: '--plasma-textfield__right-content-margin',\n\n fontFamily: '--plasma-textfield-font-family',\n fontStyle: '--plasma-textfield-font-style',\n fontSize: '--plasma-textfield-font-size',\n fontWeight: '--plasma-textfield-font-weight',\n letterSpacing: '--plasma-textfield-letter-spacing',\n lineHeight: '--plasma-textfield-line-height',\n\n /** Токены лейбла */\n labelColor: '--plasma-textfield__label-color',\n labelColorReadOnly: '--plasma-textfield__label-color-readonly',\n labelOffset: '--plasma-textfield__label-offset',\n\n labelFontFamily: '--plasma-textfield__label-font-family',\n labelFontStyle: '--plasma-textfield__label-font-style',\n labelFontSize: '--plasma-textfield__label-font-size',\n labelFontWeight: '--plasma-textfield__label-font-weight',\n labelLetterSpacing: '--plasma-textfield__label-letter-spacing',\n labelLineHeight: '--plasma-textfield__label-line-height',\n\n /* label-placement-inner */\n labelInnerFontFamily: '--plasma-textfield-placement_inner__label-font-family',\n labelInnerFontStyle: '--plasma-textfield-placement_inner__label-font-style',\n labelInnerFontSize: '--plasma-textfield-placement_inner__label-font-size',\n labelInnerFontWeight: '--plasma-textfield-placement_inner__label-font-weight',\n labelInnerLetterSpacing: '--plasma-textfield-placement_inner__label-letter-spacing',\n labelInnerLineHeight: '--plasma-textfield-placement_inner__label-line-height',\n\n labelInnerPadding: '--plasma-textfield-placement_inner__label-padding',\n contentLabelInnerPadding: '--plasma-textfield-placement_inner__content-padding',\n\n leftHelperColor: '--plasma-textfield__left-helper-color',\n leftHelperColorReadOnly: '--plasma-textfield__left-helper-color-readonly',\n leftHelperOffset: '--plasma-textfield__left-helper-offset',\n\n leftHelperFontFamily: '--plasma-textfield__left-helper-font-family',\n leftHelperFontStyle: '--plasma-textfield__left-helper-font-style',\n leftHelperFontSize: '--plasma-textfield__left-helper-font-size',\n leftHelperFontWeight: '--plasma-textfield__left-helper-font-weight',\n leftHelperLetterSpacing: '--plasma-textfield__left-helper-letter-spacing',\n leftHelperLineHeight: '--plasma-textfield__left-helper-line-height',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-textfield-disabled-opacity',\n\n /** Токены чипа */\n chipHeight: '--plasma-textfield__chip-height',\n chipBorderRadius: '--plasma-textfield__chip-border-radius',\n chipGap: '--plasma-textfield__chip-gap',\n chipBackground: '--plasma-textfield__chip-background',\n chipColor: '--plasma-textfield__chip-color',\n chipBackgroundHover: '--plasma-textfield__chip-background-hover',\n chipColorHover: '--plasma-textfield__chip-color-hover',\n chipScaleHover: '--plasma-textfield__chip-scale-hover',\n chipBackgroundReadOnly: '--plasma-textfield__chip-background-readonly',\n chipColorReadOnly: '--plasma-textfield__chip-color-readonly',\n chipBackgroundReadOnlyHover: '--plasma-textfield__chip-background-readonly-hover',\n chipColorReadOnlyHover: '--plasma-textfield__chip-color-readonly-hover',\n chipBackgroundActive: '--plasma-textfield__chip-background-active',\n chipColorActive: '--plasma-textfield__chip-color-active',\n chipScaleActive: '--plasma-textfield__chip-scale-active',\n chipFocusColor: '--plasma-textfield__chip-focus-color',\n chipCloseIconColor: '--plasma-textfield__chip-close-icon-color',\n chipOutlineSize: '--plasma-textfield__chip-outline-size',\n chipWidth: '--plasma-textfield__chip-width',\n chipPaddingTop: '--plasma-textfield__chip-padding-top',\n chipPaddingRight: '--plasma-textfield__chip-padding-right',\n chipPaddingBottom: '--plasma-textfield__chip-padding-bottom',\n chipPaddingLeft: '--plasma-textfield__chip-padding-left',\n chipCloseIconSize: '--plasma-textfield__chip-close-icon-size',\n chipFontFamily: '--plasma-textfield__chip-font-family',\n chipFontSize: '--plasma-textfield__chip-font-size',\n chipFontStyle: '--plasma-textfield__chip-font-style',\n chipFontWeight: '--plasma-textfield__chip-font-weight',\n chipLetterSpacing: '--plasma-textfield__chip-letter-spacing',\n chipLineHeight: '--plasma-textfield__chip-line-height',\n chipClearContentMarginLeft: '--plasma-textfield__chip-clear-content-margin-left',\n chipClearContentMarginRight: '--plasma-textfield__chip-clear-content-margin-right',\n chipOpacityReadonly: '--plasma-textfield__chip-opacity-readonly',\n\n focusColor: '--plasma-textfield-focus-color',\n};\n"],"names":["classes","hasChips","hasEmptyContentLeft","hasEmptyContentRight","tokens","color","backgroundColor","backgroundColorHover","backgroundColorFocus","borderColor","borderColorHover","borderColorFocus","colorReadOnly","backgroundColorReadOnly","borderColorReadOnly","placeholderColorReadOnly","caretColor","placeholderColor","height","borderWidth","borderRadius","padding","paddingWithChips","leftContentMargin","rightContentMargin","fontFamily","fontStyle","fontSize","fontWeight","letterSpacing","lineHeight","labelColor","labelColorReadOnly","labelOffset","labelFontFamily","labelFontStyle","labelFontSize","labelFontWeight","labelLetterSpacing","labelLineHeight","labelInnerFontFamily","labelInnerFontStyle","labelInnerFontSize","labelInnerFontWeight","labelInnerLetterSpacing","labelInnerLineHeight","labelInnerPadding","contentLabelInnerPadding","leftHelperColor","leftHelperColorReadOnly","leftHelperOffset","leftHelperFontFamily","leftHelperFontStyle","leftHelperFontSize","leftHelperFontWeight","leftHelperLetterSpacing","leftHelperLineHeight","disabledOpacity","chipHeight","chipBorderRadius","chipGap","chipBackground","chipColor","chipBackgroundHover","chipColorHover","chipScaleHover","chipBackgroundReadOnly","chipColorReadOnly","chipBackgroundReadOnlyHover","chipColorReadOnlyHover","chipBackgroundActive","chipColorActive","chipScaleActive","chipFocusColor","chipCloseIconColor","chipOutlineSize","chipWidth","chipPaddingTop","chipPaddingRight","chipPaddingBottom","chipPaddingLeft","chipCloseIconSize","chipFontFamily","chipFontSize","chipFontStyle","chipFontWeight","chipLetterSpacing","chipLineHeight","chipClearContentMarginLeft","chipClearContentMarginRight","chipOpacityReadonly","focusColor"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,QAAQ,EAAE,WAAW;AACrBC,EAAAA,mBAAmB,EAAE,wBAAwB;AAC7CC,EAAAA,oBAAoB,EAAE,yBAAA;AAC1B,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,KAAK,EAAE,0BAA0B;AAEjCC,EAAAA,eAAe,EAAE,6BAA6B;AAC9CC,EAAAA,oBAAoB,EAAE,mCAAmC;AACzDC,EAAAA,oBAAoB,EAAE,mCAAmC;AAEzDC,EAAAA,WAAW,EAAE,iCAAiC;AAC9CC,EAAAA,gBAAgB,EAAE,uCAAuC;AACzDC,EAAAA,gBAAgB,EAAE,uCAAuC;AAEzD;AACAC,EAAAA,aAAa,EAAE,mCAAmC;AAClDC,EAAAA,uBAAuB,EAAE,sCAAsC;AAC/DC,EAAAA,mBAAmB,EAAE,0CAA0C;AAC/DC,EAAAA,wBAAwB,EAAE,gDAAgD;AAE1E;AACAC,EAAAA,UAAU,EAAE,iCAAiC;AAC7CC,EAAAA,gBAAgB,EAAE,uCAAuC;AAEzDC,EAAAA,MAAM,EAAE,2BAA2B;AACnCC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,YAAY,EAAE,kCAAkC;AAEhD;AACAC,EAAAA,OAAO,EAAE,4BAA4B;AACrCC,EAAAA,gBAAgB,EAAE,uCAAuC;AAEzD;AACAC,EAAAA,iBAA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AAAA,mBAAmB,EAAE,2CAA2C;AAEhEC,EAAAA,UAAU,EAAE,gCAAA;AAChB;;;;;"}
1
+ {"version":3,"file":"TextField.tokens.js","sources":["../../../src/components/TextField/TextField.tokens.ts"],"sourcesContent":["export const tokens = {\n color: '--plasma-textfield-color',\n backgroundColor: '--plasma-textfield-bg-color',\n backgroundColorHover: '--plasma-textfield-bg-color-hover',\n backgroundColorFocus: '--plasma-textfield-bg-color-focus',\n /** Цвет каретки */\n caretColor: '--plasma-textfield__caret-color',\n placeholderColor: '--plasma-textfield__placeholder-color',\n borderColor: '--plasma-textfield-border-color',\n borderColorHover: '--plasma-textfield-border-color-hover',\n borderColorFocus: '--plasma-textfield-border-color-focus',\n\n height: '--plasma-textfield-height',\n borderWidth: '--plasmas-textfield-border-width',\n borderRadius: '--plasma-textfield-border-radius',\n /** отступ от границы ТextField */\n padding: '--plasma-textfield-padding',\n paddingWithContent: '--plasma-textfield-padding-with-content',\n\n /* Отступ между Иконками и текстом Инпута */\n /* Отступ при отсутствии Иконок сохраняется */\n contentOffset: '--plasma-textfield__content-offset',\n\n fontFamily: '--plasma-textfield-font-family',\n fontStyle: '--plasma-textfield-font-style',\n fontSize: '--plasma-textfield-font-size',\n fontWeight: '--plasma-textfield-font-weight',\n letterSpacing: '--plasma-textfield-letter-spacing',\n lineHeight: '--plasma-textfield-line-height',\n\n /** Цвет подписи */\n labelColor: '--plasma-textfield__label-color',\n labelOffset: '--plasma-textfield__label-offset',\n\n labelFontFamily: '--plasma-textfield__label-font-family',\n labelFontStyle: '--plasma-textfield__label-font-style',\n labelFontSize: '--plasma-textfield__label-font-size',\n labelFontWeight: '--plasma-textfield__label-font-weight',\n labelLetterSpacing: '--plasma-textfield__label-letter-spacing',\n labelLineHeight: '--plasma-textfield__label-line-height',\n\n /* label-placement-inner */\n labelInnerFontFamily: '--plasma-textfield-placement_inner__label-font-family',\n labelInnerFontStyle: '--plasma-textfield-placement_inner__label-font-style',\n labelInnerFontSize: '--plasma-textfield-placement_inner__label-font-size',\n labelInnerFontWeight: '--plasma-textfield-placement_inner__label-font-weight',\n labelInnerLetterSpacing: '--plasma-textfield-placement_inner__label-letter-spacing',\n labelInnerLineHeight: '--plasma-textfield-placement_inner__label-line-height',\n\n leftHelperColor: '--plasma-textfield__leftHelper-color',\n leftHelperOffset: '--plasma-textfield__leftHelper-offset',\n\n leftHelperFontFamily: '--plasma-textfield__leftHelper-font-family',\n leftHelperFontStyle: '--plasma-textfield__leftHelper-font-style',\n leftHelperFontSize: '--plasma-textfield__leftHelper-font-size',\n leftHelperFontWeight: '--plasma-textfield__leftHelper-font-weight',\n leftHelperLetterSpacing: '--plasma-textfield__leftHelper-letter-spacing',\n leftHelperLineHeight: '--plasma-textfield__leftHelper-line-height',\n\n /* Дополнительный цвет который можно использовать в <Icon color=\"inheit\" /> */\n contentColor: '--plasma-textfield__content-color',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-textfield-disabled-opacity',\n};\n"],"names":["tokens","color","backgroundColor","backgroundColorHover","backgroundColorFocus","caretColor","placeholderColor","borderColor","borderColorHover","borderColorFocus","height","borderWidth","borderRadius","padding","paddingWithContent","contentOffset","fontFamily","fontStyle","fontSize","fontWeight","letterSpacing","lineHeight","labelColor","labelOffset","labelFontFamily","labelFontStyle","labelFontSize","labelFontWeight","labelLetterSpacing","labelLineHeight","labelInnerFontFamily","labelInnerFontStyle","labelInnerFontSize","labelInnerFontWeight","labelInnerLetterSpacing","labelInnerLineHeight","leftHelperColor","leftHelperOffset","leftHelperFontFamily","leftHelperFontStyle","leftHelperFontSize","leftHelperFontWeight","leftHelperLetterSpacing","leftHelperLineHeight","contentColor","disabledOpacity"],"mappings":";;;;AAAO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,KAAK,EAAE,0BAA0B;AACjCC,EAAAA,eAAe,EAAE,6BAA6B;AAC9CC,EAAAA,oBAAoB,EAAE,mCAAmC;AACzDC,EAAAA,oBAAoB,EAAE,mCAAmC;AACz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DC,EAAAA,oBAAoB,EAAE,4CAA4C;AAClEC,EAAAA,mBAAmB,EAAE,2CAA2C;AAChEC,EAAAA,kBAAkB,EAAE,0CAA0C;AAC9DC,EAAAA,oBAAoB,EAAE,4CAA4C;AAClEC,EAAAA,uBAAuB,EAAE,+CAA+C;AACxEC,EAAAA,oBAAoB,EAAE,4CAA4C;AAElE;AACAC,EAAAA,YAAY,EAAE,mCAAmC;AAEjD;AACAC,EAAAA,eAAe,EAAE,qCAAA;AACrB;;;;"}
@@ -0,0 +1 @@
1
+ .bpunezx{display:block;}
@@ -1,9 +1,9 @@
1
- import './base_1tnjoy9.css';
1
+ import './base_so3w81.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var base = "b15zsg4z";
6
+ var base = "b1rdxrik";
7
7
 
8
8
  exports.base = base;
9
9
  //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../src/components/TextField/_disabled/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../TextField.tokens';\n\nexport const base = css`\n &[disabled] {\n opacity: var(${tokens.disabledOpacity});\n cursor: not-allowed;\n\n input {\n cursor: not-allowed;\n }\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAShB;;;;"}
@@ -0,0 +1 @@
1
+ .b1rdxrik[disabled]{opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.b1rdxrik[disabled] input{cursor:not-allowed;}
@@ -4,7 +4,7 @@ import './base_x642ct.css';
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  // TODO: REMOVE IT
7
- var base = "b15d3bnf";
7
+ var base = "brbzvo9";
8
8
 
9
9
  exports.base = base;
10
10
  //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../src/components/TextField/_label-placement/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\n// TODO: REMOVE IT\nexport const base = css``;\n"],"names":["base"],"mappings":";;;;AAEA;AACO,IAAMA,IAAI,GAAQ;;;;"}
@@ -1,9 +1,9 @@
1
- import './inner_gqlcj2.css';
1
+ import './inner_1tyuicp.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var labelPlacement_inner = "l8oinlg";
6
+ var labelPlacement_inner = "l1mtiqfm";
7
7
 
8
8
  exports.labelPlacement_inner = labelPlacement_inner;
9
9
  //# sourceMappingURL=inner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inner.js","sources":["../../../../src/components/TextField/_label-placement/inner.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { Input, Label } from '../TextField.styles';\nimport { tokens } from '../TextField.tokens';\n\nexport const labelPlacement_inner = css`\n ${Input} {\n padding-top: calc(var(${tokens.labelOffset}) + var(${tokens.labelInnerLineHeight}));\n padding-bottom: var(${tokens.labelOffset});\n }\n\n ${Input}:focus ~ ${Label}, ${Input}:not(:placeholder-shown) ~ ${Label} {\n height: auto;\n padding-top: var(${tokens.labelOffset});\n\n font-family: var(${tokens.labelInnerFontFamily});\n font-size: var(${tokens.labelInnerFontSize});\n font-style: var(${tokens.labelInnerFontStyle});\n font-weight: var(${tokens.labelInnerFontWeight});\n letter-spacing: var(${tokens.labelInnerLetterSpacing});\n line-height: var(${tokens.labelInnerLineHeight});\n }\n\n ${Input}:not(:focus)::placeholder {\n color: transparent;\n }\n\n ${Input}:focus::placeholder {\n color: transparent;\n }\n\n ${Label} {\n color: var(${tokens.placeholderColor});\n\n pointer-events: none;\n position: absolute;\n top: 0;\n\n display: flex;\n align-items: center;\n\n box-sizing: border-box;\n\n transition: all 0.1s ease-in-out 0s;\n\n height: var(${tokens.height});\n\n padding-top: calc(var(${tokens.height}) / 4);\n padding-bottom: calc(var(${tokens.height}) / 4);\n }\n`;\n"],"names":["labelPlacement_inner"],"mappings":";;;;AAKO,IAAMA,oBAAoB,GA6ChC;;;;"}
@@ -0,0 +1 @@
1
+ .l1mtiqfm .iq39zt5{padding-top:calc(var(--plasma-textfield__label-offset) + var(--plasma-textfield-placement_inner__label-line-height));padding-bottom:var(--plasma-textfield__label-offset);}.l1mtiqfm .iq39zt5:focus ~ .lo4bpie,.l1mtiqfm .iq39zt5:not(:placeholder-shown) ~ .lo4bpie{height:auto;padding-top:var(--plasma-textfield__label-offset);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);}.l1mtiqfm .iq39zt5:not(:focus)::-webkit-input-placeholder{color:transparent;}.l1mtiqfm .iq39zt5:not(:focus)::-moz-placeholder{color:transparent;}.l1mtiqfm .iq39zt5:not(:focus):-ms-input-placeholder{color:transparent;}.l1mtiqfm .iq39zt5:not(:focus)::placeholder{color:transparent;}.l1mtiqfm .iq39zt5:focus::-webkit-input-placeholder{color:transparent;}.l1mtiqfm .iq39zt5:focus::-moz-placeholder{color:transparent;}.l1mtiqfm .iq39zt5:focus:-ms-input-placeholder{color:transparent;}.l1mtiqfm .iq39zt5:focus::placeholder{color:transparent;}.l1mtiqfm .lo4bpie{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:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s;height:var(--plasma-textfield-height);padding-top:calc(var(--plasma-textfield-height) / 4);padding-bottom:calc(var(--plasma-textfield-height) / 4);}
@@ -1,9 +1,9 @@
1
- import './outer_is41nj.css';
1
+ import './outer_19ekaek.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var labelPlacement_outer = "la46t0i";
6
+ var labelPlacement_outer = "l1fhg6i1";
7
7
 
8
8
  exports.labelPlacement_outer = labelPlacement_outer;
9
9
  //# sourceMappingURL=outer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outer.js","sources":["../../../../src/components/TextField/_label-placement/outer.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { Label } from '../TextField.styles';\nimport { tokens } from '../TextField.tokens';\n\nexport const labelPlacement_outer = css`\n ${Label} {\n display: block;\n margin-bottom: var(${tokens.labelOffset});\n }\n`;\n"],"names":["labelPlacement_outer"],"mappings":";;;;AAKO,IAAMA,oBAAoB,GAKhC;;;;"}
@@ -0,0 +1 @@
1
+ .l1fhg6i1 .lo4bpie{display:block;margin-bottom:var(--plasma-textfield__label-offset);}
@@ -0,0 +1,9 @@
1
+ import './base_b5smyu.css';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var base = "b170l0h9";
7
+
8
+ exports.base = base;
9
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../src/components/TextField/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../TextField.tokens';\nimport { Input, InputLabelWrapper, InputWrapper, Label, LeftHelper } from '../TextField.styles';\n\nexport const base = css`\n --plasma_private-textfield-br: var(${tokens.borderRadius}, calc(var(${tokens.height}) / 4));\n --plasma_private-textfield-padding: var(${tokens.padding}, calc(var(${tokens.height}) * 1.618 / 4));\n --plasma_private-textfield-border-width: var(${tokens.borderWidth});\n\n ${Input} {\n height: var(${tokens.height});\n\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n }\n \n ${InputWrapper} {\n border-radius: var(--plasma_private-textfield-br);\n /** offset between Icon And Input */\n gap: var(${tokens.contentOffset});\n }\n\n ${InputWrapper} > ${InputLabelWrapper}:first-child {\n /** offset without Icon(LeftContent) */\n margin-left: var(--plasma_private-textfield-padding);\n }\n ${InputWrapper} > :not(${InputLabelWrapper}):first-child {\n /** offset with Icon(LeftContent) */\n margin-left: var(${tokens.paddingWithContent}, var(--plasma_private-textfield-padding));\n }\n ${InputWrapper} > ${InputLabelWrapper}:last-child {\n margin-right: var(--plasma_private-textfield-padding);\n }\n ${InputWrapper} > :not(${InputLabelWrapper}):last-child {\n margin-right: var(${tokens.paddingWithContent}, var(--plasma_private-textfield-padding));\n }\n\n ${Label} {\n font-family: var(${tokens.labelFontFamily});\n font-size: var(${tokens.labelFontSize});\n font-style: var(${tokens.labelFontStyle});\n font-weight: var(${tokens.labelFontWeight});\n letter-spacing: var(${tokens.labelLetterSpacing});\n line-height: var(${tokens.labelLineHeight});\n }\n\n ${LeftHelper} {\n margin-top: var(${tokens.leftHelperOffset});\n\n font-family: var(${tokens.leftHelperFontFamily});\n font-size: var(${tokens.leftHelperFontSize});\n font-style: var(${tokens.leftHelperFontStyle});\n font-weight: var(${tokens.leftHelperFontWeight});\n letter-spacing: var(${tokens.leftHelperLetterSpacing});\n line-height: var(${tokens.leftHelperLineHeight});\n }\n`;\n"],"names":["base"],"mappings":";;;;AAKO,IAAMA,IAAI,GAwDhB;;;;"}
@@ -0,0 +1 @@
1
+ .b170l0h9{--plasma_private-textfield-br:var(--plasma-textfield-border-radius,calc(var(--plasma-textfield-height) / 4));--plasma_private-textfield-padding:var(--plasma-textfield-padding,calc(var(--plasma-textfield-height) * 1.618 / 4));--plasma_private-textfield-border-width:var(--plasmas-textfield-border-width);}.b170l0h9 .iq39zt5{height:var(--plasma-textfield-height);font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.b170l0h9 .i13zudoe{border-radius:var(--plasma_private-textfield-br);gap:var(--plasma-textfield__content-offset);}.b170l0h9 .i13zudoe > .i1j28rg8:first-child{margin-left:var(--plasma_private-textfield-padding);}.b170l0h9 .i13zudoe > :not(.i1j28rg8):first-child{margin-left:var(--plasma-textfield-padding-with-content,var(--plasma_private-textfield-padding));}.b170l0h9 .i13zudoe > .i1j28rg8:last-child{margin-right:var(--plasma_private-textfield-padding);}.b170l0h9 .i13zudoe > :not(.i1j28rg8):last-child{margin-right:var(--plasma-textfield-padding-with-content,var(--plasma_private-textfield-padding));}.b170l0h9 .lo4bpie{font-family:var(--plasma-textfield__label-font-family);font-size:var(--plasma-textfield__label-font-size);font-style:var(--plasma-textfield__label-font-style);font-weight:var(--plasma-textfield__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__label-letter-spacing);letter-spacing:var(--plasma-textfield__label-letter-spacing);line-height:var(--plasma-textfield__label-line-height);}.b170l0h9 .l13qvwoy{margin-top:var(--plasma-textfield__leftHelper-offset);font-family:var(--plasma-textfield__leftHelper-font-family);font-size:var(--plasma-textfield__leftHelper-font-size);font-style:var(--plasma-textfield__leftHelper-font-style);font-weight:var(--plasma-textfield__leftHelper-font-weight);-webkit-letter-spacing:var(--plasma-textfield__leftHelper-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__leftHelper-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__leftHelper-letter-spacing);letter-spacing:var(--plasma-textfield__leftHelper-letter-spacing);line-height:var(--plasma-textfield__leftHelper-line-height);}
@@ -0,0 +1,9 @@
1
+ import './base_5bqzed.css';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var base = "bkf0zs";
7
+
8
+ exports.base = base;
9
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../src/components/TextField/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../TextField.tokens';\nimport { Input, InputWrapper, LeftHelper } from '../TextField.styles';\n\nexport const base = css`\n ${InputWrapper} {\n color: var(${tokens.contentColor}, var(${tokens.color}));\n background-color: var(${tokens.backgroundColor});\n caret-color: var(${tokens.caretColor});\n\n --plasma_private-textfield-border-color: var(${tokens.borderColor});\n transition: box-shadow 0.1s ease-in, background-color 0.1s ease-in, color 0.1s ease-in;\n }\n ${InputWrapper}:hover {\n --plasma_private-textfield-border-color: var(${tokens.borderColorHover});\n background-color: var(${tokens.backgroundColorHover}, var(${tokens.backgroundColor}));\n }\n ${InputWrapper}:focus-within {\n --plasma_private-textfield-border-color: var(${tokens.borderColorFocus});\n background-color: var(${tokens.backgroundColorFocus}, var(${tokens.backgroundColor}));\n }\n ${Input}::placeholder {\n color: var(${tokens.placeholderColor});\n }\n ${Input} {\n color: var(${tokens.color});\n }\n ${LeftHelper} {\n color: var(${tokens.leftHelperColor});\n }\n`;\n"],"names":["base"],"mappings":";;;;AAKO,IAAMA,IAAI,GA0BhB;;;;"}
@@ -0,0 +1 @@
1
+ .bkf0zs .i13zudoe{color:var(--plasma-textfield__content-color,var(--plasma-textfield-color));background-color:var(--plasma-textfield-bg-color);caret-color:var(--plasma-textfield__caret-color);--plasma_private-textfield-border-color:var(--plasma-textfield-border-color);-webkit-transition:box-shadow 0.1s ease-in,background-color 0.1s ease-in,color 0.1s ease-in;transition:box-shadow 0.1s ease-in,background-color 0.1s ease-in,color 0.1s ease-in;}.bkf0zs .i13zudoe:hover{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-hover);background-color:var(--plasma-textfield-bg-color-hover,var(--plasma-textfield-bg-color));}.bkf0zs .i13zudoe:focus-within{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-focus);background-color:var(--plasma-textfield-bg-color-focus,var(--plasma-textfield-bg-color));}.bkf0zs .iq39zt5::-webkit-input-placeholder{color:var(--plasma-textfield__placeholder-color);}.bkf0zs .iq39zt5::-moz-placeholder{color:var(--plasma-textfield__placeholder-color);}.bkf0zs .iq39zt5:-ms-input-placeholder{color:var(--plasma-textfield__placeholder-color);}.bkf0zs .iq39zt5::placeholder{color:var(--plasma-textfield__placeholder-color);}.bkf0zs .iq39zt5{color:var(--plasma-textfield-color);}.bkf0zs .l13qvwoy{color:var(--plasma-textfield__leftHelper-color);}