@salutejs/plasma-new-hope 0.72.0-canary.1160.8617165473.0 → 0.72.0-canary.1161.8613778758.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (434) hide show
  1. package/cjs/components/Cell/Cell.js +0 -2
  2. package/cjs/components/Cell/Cell.js.map +1 -1
  3. package/cjs/components/Combobox/Combobox.css +10 -10
  4. package/cjs/components/Combobox/Combobox.styles.js +5 -5
  5. package/cjs/components/Combobox/Combobox.styles.js.map +1 -1
  6. package/cjs/components/Combobox/{Combobox.styles_17ei5vn.css → Combobox.styles_dw6hnk.css} +1 -1
  7. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  8. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  9. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  10. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  11. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  12. package/cjs/components/Dropdown/Dropdown.css +4 -4
  13. package/cjs/components/Dropdown/Dropdown.js +0 -1
  14. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  15. package/cjs/components/Pagination/Pagination.css +4 -4
  16. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  17. package/cjs/components/Popover/Popover.css +4 -4
  18. package/cjs/components/Popover/Popover.js +33 -43
  19. package/cjs/components/Popover/Popover.js.map +1 -1
  20. package/cjs/components/Popover/Popover.styles.js +1 -1
  21. package/cjs/components/Popover/Popover.styles.js.map +1 -1
  22. package/{es/components/Popover/Popover.styles_1rk9t6z.css → cjs/components/Popover/Popover.styles_1ggb66y.css} +1 -1
  23. package/cjs/components/Select/Select.css +4 -4
  24. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
  25. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +40 -0
  26. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  27. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
  28. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  29. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  30. package/cjs/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
  31. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  32. package/cjs/components/{TextField/variations/_read-only → Select/ui/SelectDivider/variations/_view}/base.js +2 -2
  33. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  34. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
  35. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +40 -0
  36. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  37. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
  38. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  39. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  40. package/cjs/components/{TextField → Select/ui/SelectFooter}/variations/_size/base.js +2 -2
  41. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  42. package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  43. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +9 -0
  44. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  45. package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  46. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
  47. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +40 -0
  48. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  49. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
  50. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  51. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  52. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +9 -0
  53. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  54. package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  55. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +9 -0
  56. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  57. package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  58. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
  59. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +40 -0
  60. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  61. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
  62. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  63. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  64. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +9 -0
  65. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  66. package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  67. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +9 -0
  68. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  69. package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  70. package/cjs/components/Select/ui/SelectItem/SelectItem.css +4 -4
  71. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  72. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  73. package/cjs/components/TextField/TextField.js +40 -166
  74. package/cjs/components/TextField/TextField.js.map +1 -1
  75. package/cjs/components/TextField/TextField.styles.js +11 -27
  76. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  77. package/cjs/components/TextField/TextField.styles_2qw1n8.css +5 -0
  78. package/cjs/components/TextField/TextField.tokens.js +20 -68
  79. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  80. package/cjs/components/TextField/TextField_1lzb2r1.css +1 -0
  81. package/cjs/components/TextField/{variations/_disabled → _disabled}/base.js +2 -2
  82. package/cjs/components/TextField/_disabled/base.js.map +1 -0
  83. package/cjs/components/TextField/_disabled/base_so3w81.css +1 -0
  84. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
  85. package/cjs/components/TextField/_label-placement/base.js.map +1 -0
  86. package/cjs/components/TextField/_label-placement/base_x642ct.css +1 -0
  87. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/inner.js +2 -2
  88. package/cjs/components/TextField/_label-placement/inner.js.map +1 -0
  89. package/cjs/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
  90. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +2 -2
  91. package/cjs/components/TextField/_label-placement/outer.js.map +1 -0
  92. package/cjs/components/TextField/_label-placement/outer_19ekaek.css +1 -0
  93. package/cjs/components/TextField/_size/base.js +9 -0
  94. package/cjs/components/TextField/_size/base.js.map +1 -0
  95. package/cjs/components/TextField/_size/base_b5smyu.css +1 -0
  96. package/cjs/components/TextField/_view/base.js +9 -0
  97. package/cjs/components/TextField/_view/base.js.map +1 -0
  98. package/cjs/components/TextField/_view/base_5bqzed.css +1 -0
  99. package/cjs/index.css +42 -49
  100. package/cjs/index.js +41 -6
  101. package/cjs/index.js.map +1 -1
  102. package/cjs/utils/index.js +13 -1
  103. package/cjs/utils/index.js.map +1 -1
  104. package/cjs/utils/react.js +12 -2
  105. package/cjs/utils/react.js.map +1 -1
  106. package/es/components/Cell/Cell.js +0 -2
  107. package/es/components/Cell/Cell.js.map +1 -1
  108. package/es/components/Combobox/Combobox.css +10 -10
  109. package/es/components/Combobox/Combobox.styles.js +5 -5
  110. package/es/components/Combobox/Combobox.styles.js.map +1 -1
  111. package/es/components/Combobox/{Combobox.styles_17ei5vn.css → Combobox.styles_dw6hnk.css} +1 -1
  112. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  113. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  114. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  115. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  116. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  117. package/es/components/Dropdown/Dropdown.css +4 -4
  118. package/es/components/Dropdown/Dropdown.js +0 -1
  119. package/es/components/Dropdown/Dropdown.js.map +1 -1
  120. package/es/components/Pagination/Pagination.css +4 -4
  121. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  122. package/es/components/Popover/Popover.css +4 -4
  123. package/es/components/Popover/Popover.js +33 -43
  124. package/es/components/Popover/Popover.js.map +1 -1
  125. package/es/components/Popover/Popover.styles.js +1 -1
  126. package/es/components/Popover/Popover.styles.js.map +1 -1
  127. package/{cjs/components/Popover/Popover.styles_1rk9t6z.css → es/components/Popover/Popover.styles_1ggb66y.css} +1 -1
  128. package/es/components/Select/Select.css +4 -4
  129. package/es/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
  130. package/es/components/Select/ui/SelectDivider/SelectDivider.js +35 -0
  131. package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  132. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
  133. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  134. package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  135. package/es/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
  136. package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  137. package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
  138. package/es/components/Select/ui/SelectDivider/variations/_view/base.js +5 -0
  139. package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  140. package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
  141. package/es/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
  142. package/es/components/Select/ui/SelectFooter/SelectFooter.js +35 -0
  143. package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  144. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
  145. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  146. package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  147. package/es/components/Select/ui/SelectFooter/variations/_size/base.js +5 -0
  148. package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  149. package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  150. package/es/components/Select/ui/SelectFooter/variations/_view/base.js +5 -0
  151. package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  152. package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  153. package/es/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
  154. package/es/components/Select/ui/SelectGroup/SelectGroup.js +35 -0
  155. package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  156. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
  157. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  158. package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  159. package/es/components/Select/ui/SelectGroup/variations/_size/base.js +5 -0
  160. package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  161. package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  162. package/es/components/Select/ui/SelectGroup/variations/_view/base.js +5 -0
  163. package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  164. package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  165. package/es/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
  166. package/es/components/Select/ui/SelectHeader/SelectHeader.js +35 -0
  167. package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  168. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
  169. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  170. package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  171. package/es/components/Select/ui/SelectHeader/variations/_size/base.js +5 -0
  172. package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  173. package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  174. package/es/components/Select/ui/SelectHeader/variations/_view/base.js +5 -0
  175. package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  176. package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  177. package/es/components/Select/ui/SelectItem/SelectItem.css +4 -4
  178. package/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  179. package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  180. package/es/components/TextField/TextField.js +44 -169
  181. package/es/components/TextField/TextField.js.map +1 -1
  182. package/es/components/TextField/TextField.styles.js +12 -25
  183. package/es/components/TextField/TextField.styles.js.map +1 -1
  184. package/es/components/TextField/TextField.styles_2qw1n8.css +5 -0
  185. package/es/components/TextField/TextField.tokens.js +21 -68
  186. package/es/components/TextField/TextField.tokens.js.map +1 -1
  187. package/es/components/TextField/TextField_1lzb2r1.css +1 -0
  188. package/es/components/TextField/_disabled/base.js +5 -0
  189. package/es/components/TextField/_disabled/base.js.map +1 -0
  190. package/es/components/TextField/_disabled/base_so3w81.css +1 -0
  191. package/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
  192. package/es/components/TextField/_label-placement/base.js.map +1 -0
  193. package/es/components/TextField/_label-placement/base_x642ct.css +1 -0
  194. package/es/components/TextField/_label-placement/inner.js +5 -0
  195. package/es/components/TextField/_label-placement/inner.js.map +1 -0
  196. package/es/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
  197. package/es/components/TextField/_label-placement/outer.js +5 -0
  198. package/es/components/TextField/_label-placement/outer.js.map +1 -0
  199. package/es/components/TextField/_label-placement/outer_19ekaek.css +1 -0
  200. package/es/components/TextField/_size/base.js +5 -0
  201. package/es/components/TextField/_size/base.js.map +1 -0
  202. package/es/components/TextField/_size/base_b5smyu.css +1 -0
  203. package/es/components/TextField/_view/base.js +5 -0
  204. package/es/components/TextField/_view/base.js.map +1 -0
  205. package/es/components/TextField/_view/base_5bqzed.css +1 -0
  206. package/es/index.css +42 -49
  207. package/es/index.js +15 -2
  208. package/es/index.js.map +1 -1
  209. package/es/utils/index.js +11 -2
  210. package/es/utils/index.js.map +1 -1
  211. package/es/utils/react.js +9 -2
  212. package/es/utils/react.js.map +1 -1
  213. package/package.json +2 -2
  214. package/styled-components/cjs/components/Cell/Cell.js +0 -2
  215. package/styled-components/cjs/components/Combobox/Combobox.styles.js +1 -1
  216. package/styled-components/cjs/components/Dropdown/Dropdown.js +0 -1
  217. package/styled-components/cjs/components/Popover/Popover.js +33 -43
  218. package/styled-components/cjs/components/Popover/Popover.styles.js +1 -1
  219. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  220. package/styled-components/cjs/components/TextField/TextField.js +43 -173
  221. package/styled-components/cjs/components/TextField/TextField.styles.js +10 -18
  222. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +0 -24
  223. package/styled-components/cjs/components/TextField/TextField.tokens.js +21 -68
  224. package/styled-components/cjs/components/TextField/_disabled/base.js +9 -0
  225. package/styled-components/cjs/components/TextField/_label-placement/inner.js +10 -0
  226. package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +3 -3
  227. package/styled-components/cjs/components/TextField/_size/base.js +10 -0
  228. package/styled-components/cjs/components/TextField/_view/base.js +10 -0
  229. package/styled-components/cjs/components/TextField/index.js +2 -2
  230. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  231. package/styled-components/cjs/index.js +22 -0
  232. package/styled-components/es/components/Cell/Cell.js +0 -2
  233. package/styled-components/es/components/Combobox/Combobox.styles.js +1 -1
  234. package/styled-components/es/components/Dropdown/Dropdown.js +0 -1
  235. package/styled-components/es/components/Popover/Popover.js +33 -43
  236. package/styled-components/es/components/Popover/Popover.styles.js +1 -1
  237. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  238. package/styled-components/es/components/TextField/TextField.js +47 -177
  239. package/styled-components/es/components/TextField/TextField.styles.js +9 -17
  240. package/styled-components/es/components/TextField/TextField.template-doc.mdx +0 -24
  241. package/styled-components/es/components/TextField/TextField.tokens.js +20 -67
  242. package/styled-components/es/components/TextField/_disabled/base.js +3 -0
  243. package/styled-components/es/components/TextField/_label-placement/inner.js +4 -0
  244. package/styled-components/es/components/TextField/_label-placement/outer.js +4 -0
  245. package/styled-components/es/components/TextField/_size/base.js +4 -0
  246. package/styled-components/es/components/TextField/_view/base.js +4 -0
  247. package/styled-components/es/components/TextField/index.js +2 -2
  248. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  249. package/styled-components/es/index.js +2 -0
  250. package/types/components/Cell/Cell.d.ts.map +1 -1
  251. package/types/components/Combobox/Combobox.styles.d.ts +2 -8
  252. package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
  253. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  254. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -7
  255. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  256. package/types/components/Popover/Popover.d.ts +2 -2
  257. package/types/components/Popover/Popover.d.ts.map +1 -1
  258. package/types/components/Popover/Popover.styles.d.ts.map +1 -1
  259. package/types/components/Popover/Popover.types.d.ts +12 -19
  260. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  261. package/types/components/Select/Select.styles.d.ts +2 -8
  262. package/types/components/Select/Select.styles.d.ts.map +1 -1
  263. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +1 -1
  264. package/types/components/TextField/TextField.d.ts +3 -8
  265. package/types/components/TextField/TextField.d.ts.map +1 -1
  266. package/types/components/TextField/TextField.styles.d.ts +3 -6
  267. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  268. package/types/components/TextField/TextField.tokens.d.ts +8 -57
  269. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  270. package/types/components/TextField/TextField.types.d.ts +6 -71
  271. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  272. package/types/components/TextField/_disabled/base.d.ts.map +1 -0
  273. package/types/components/TextField/_label-placement/base.d.ts.map +1 -0
  274. package/types/components/TextField/_label-placement/index.d.ts.map +1 -0
  275. package/types/components/TextField/_label-placement/inner.d.ts.map +1 -0
  276. package/types/components/TextField/_label-placement/outer.d.ts.map +1 -0
  277. package/types/components/TextField/_size/base.d.ts.map +1 -0
  278. package/types/components/TextField/_view/base.d.ts.map +1 -0
  279. package/types/components/TextField/index.d.ts +2 -3
  280. package/types/components/TextField/index.d.ts.map +1 -1
  281. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +1 -7
  282. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
  283. package/types/examples/plasma_web/components/Popover/Popover.d.ts +1 -7
  284. package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
  285. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +1 -7
  286. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
  287. package/types/index.d.ts +2 -0
  288. package/types/index.d.ts.map +1 -1
  289. package/cjs/components/TextField/TextField.styles_1b1mddp.css +0 -8
  290. package/cjs/components/TextField/TextField_wctd2m.css +0 -1
  291. package/cjs/components/TextField/hooks/useKeyNavigation.js +0 -132
  292. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +0 -1
  293. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
  294. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -38
  295. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
  296. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -26
  297. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
  298. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css +0 -1
  299. package/cjs/components/TextField/variations/_disabled/base.js.map +0 -1
  300. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  301. package/cjs/components/TextField/variations/_label-placement/base.js.map +0 -1
  302. package/cjs/components/TextField/variations/_label-placement/inner.js.map +0 -1
  303. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  304. package/cjs/components/TextField/variations/_label-placement/outer.js.map +0 -1
  305. package/cjs/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
  306. package/cjs/components/TextField/variations/_read-only/base.js.map +0 -1
  307. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  308. package/cjs/components/TextField/variations/_size/base.js.map +0 -1
  309. package/cjs/components/TextField/variations/_size/base_1khzr9t.css +0 -1
  310. package/cjs/components/TextField/variations/_view/base.js.map +0 -1
  311. package/cjs/components/TextField/variations/_view/base_1qd77x6.css +0 -1
  312. package/es/components/TextField/TextField.styles_1b1mddp.css +0 -8
  313. package/es/components/TextField/TextField_wctd2m.css +0 -1
  314. package/es/components/TextField/hooks/useKeyNavigation.js +0 -127
  315. package/es/components/TextField/hooks/useKeyNavigation.js.map +0 -1
  316. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
  317. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -34
  318. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
  319. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -22
  320. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
  321. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css +0 -1
  322. package/es/components/TextField/variations/_disabled/base.js +0 -5
  323. package/es/components/TextField/variations/_disabled/base.js.map +0 -1
  324. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  325. package/es/components/TextField/variations/_label-placement/base.js.map +0 -1
  326. package/es/components/TextField/variations/_label-placement/inner.js +0 -5
  327. package/es/components/TextField/variations/_label-placement/inner.js.map +0 -1
  328. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  329. package/es/components/TextField/variations/_label-placement/outer.js +0 -5
  330. package/es/components/TextField/variations/_label-placement/outer.js.map +0 -1
  331. package/es/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
  332. package/es/components/TextField/variations/_read-only/base.js +0 -5
  333. package/es/components/TextField/variations/_read-only/base.js.map +0 -1
  334. package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  335. package/es/components/TextField/variations/_size/base.js +0 -5
  336. package/es/components/TextField/variations/_size/base.js.map +0 -1
  337. package/es/components/TextField/variations/_size/base_1khzr9t.css +0 -1
  338. package/es/components/TextField/variations/_view/base.js.map +0 -1
  339. package/es/components/TextField/variations/_view/base_1qd77x6.css +0 -1
  340. package/styled-components/cjs/components/TextField/hooks/index.js +0 -12
  341. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +0 -138
  342. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -39
  343. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -25
  344. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -5
  345. package/styled-components/cjs/components/TextField/ui/index.js +0 -12
  346. package/styled-components/cjs/components/TextField/variations/_disabled/base.js +0 -10
  347. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +0 -10
  348. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +0 -10
  349. package/styled-components/cjs/components/TextField/variations/_read-only/tokens.json +0 -1
  350. package/styled-components/cjs/components/TextField/variations/_size/base.js +0 -10
  351. package/styled-components/cjs/components/TextField/variations/_view/base.js +0 -10
  352. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +0 -43
  353. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.js +0 -11
  354. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -181
  355. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +0 -40
  356. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.js +0 -11
  357. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -181
  358. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +0 -43
  359. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +0 -11
  360. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -181
  361. package/styled-components/es/components/TextField/hooks/index.js +0 -1
  362. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +0 -132
  363. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -30
  364. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -19
  365. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -1
  366. package/styled-components/es/components/TextField/ui/index.js +0 -1
  367. package/styled-components/es/components/TextField/variations/_disabled/base.js +0 -4
  368. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +0 -4
  369. package/styled-components/es/components/TextField/variations/_label-placement/outer.js +0 -4
  370. package/styled-components/es/components/TextField/variations/_read-only/base.js +0 -4
  371. package/styled-components/es/components/TextField/variations/_read-only/tokens.json +0 -1
  372. package/styled-components/es/components/TextField/variations/_size/base.js +0 -4
  373. package/styled-components/es/components/TextField/variations/_view/base.js +0 -4
  374. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +0 -37
  375. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.js +0 -5
  376. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -181
  377. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +0 -34
  378. package/styled-components/es/examples/plasma_web/components/TextField/TextField.js +0 -5
  379. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -181
  380. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +0 -37
  381. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +0 -5
  382. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -181
  383. package/types/components/TextField/hooks/index.d.ts +0 -2
  384. package/types/components/TextField/hooks/index.d.ts.map +0 -1
  385. package/types/components/TextField/hooks/useKeyNavigation.d.ts +0 -17
  386. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +0 -1
  387. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +0 -7
  388. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +0 -1
  389. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -3
  390. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +0 -1
  391. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +0 -37
  392. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +0 -1
  393. package/types/components/TextField/ui/index.d.ts +0 -2
  394. package/types/components/TextField/ui/index.d.ts.map +0 -1
  395. package/types/components/TextField/variations/_disabled/base.d.ts.map +0 -1
  396. package/types/components/TextField/variations/_label-placement/base.d.ts.map +0 -1
  397. package/types/components/TextField/variations/_label-placement/index.d.ts.map +0 -1
  398. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +0 -1
  399. package/types/components/TextField/variations/_label-placement/outer.d.ts.map +0 -1
  400. package/types/components/TextField/variations/_read-only/base.d.ts.map +0 -1
  401. package/types/components/TextField/variations/_size/base.d.ts.map +0 -1
  402. package/types/components/TextField/variations/_view/base.d.ts +0 -2
  403. package/types/components/TextField/variations/_view/base.d.ts.map +0 -1
  404. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -32
  405. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +0 -1
  406. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -60
  407. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +0 -1
  408. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -32
  409. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +0 -1
  410. package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -60
  411. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +0 -1
  412. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +0 -32
  413. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +0 -1
  414. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +0 -60
  415. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +0 -1
  416. /package/cjs/components/{TextField/variations/_label-placement → Select/ui/SelectDivider/variations/_size}/base_x642ct.css +0 -0
  417. /package/{es/components/TextField/variations/_label-placement → cjs/components/Select/ui/SelectDivider/variations/_view}/base_x642ct.css +0 -0
  418. /package/styled-components/cjs/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
  419. /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
  420. /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
  421. /package/styled-components/cjs/components/TextField/{variations/_size → _size}/tokens.json +0 -0
  422. /package/styled-components/cjs/components/TextField/{variations/_view → _view}/tokens.json +0 -0
  423. /package/styled-components/es/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
  424. /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
  425. /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
  426. /package/styled-components/es/components/TextField/{variations/_size → _size}/tokens.json +0 -0
  427. /package/styled-components/es/components/TextField/{variations/_view → _view}/tokens.json +0 -0
  428. /package/types/components/TextField/{variations/_disabled → _disabled}/base.d.ts +0 -0
  429. /package/types/components/TextField/{variations/_label-placement → _label-placement}/base.d.ts +0 -0
  430. /package/types/components/TextField/{variations/_label-placement → _label-placement}/index.d.ts +0 -0
  431. /package/types/components/TextField/{variations/_label-placement → _label-placement}/inner.d.ts +0 -0
  432. /package/types/components/TextField/{variations/_label-placement → _label-placement}/outer.d.ts +0 -0
  433. /package/types/components/TextField/{variations/_read-only → _size}/base.d.ts +0 -0
  434. /package/types/components/TextField/{variations/_size → _view}/base.d.ts +0 -0
@@ -1,42 +1,31 @@
1
- export var classes = {
2
- hasChips: 'has-chips',
3
- hasEmptyContentLeft: 'has-empty-content-left',
4
- hasEmptyContentRight: 'has-empty-content-right'
5
- };
6
1
  export var tokens = {
7
2
  color: '--plasma-textfield-color',
8
3
  backgroundColor: '--plasma-textfield-bg-color',
9
4
  backgroundColorHover: '--plasma-textfield-bg-color-hover',
10
5
  backgroundColorFocus: '--plasma-textfield-bg-color-focus',
11
- borderColor: '--plasma-textfield-border-color',
12
- borderColorHover: '--plasma-textfield-border-color-hover',
13
- borderColorFocus: '--plasma-textfield-border-color-focus',
14
- /** Цвета для read-only состояния */
15
- colorReadOnly: '--plasma-textfield-color-readonly',
16
- backgroundColorReadOnly: '--plasma-textfield-bg-color-readonly',
17
- borderColorReadOnly: '--plasma-textfield-border-color-readonly',
18
- placeholderColorReadOnly: '--plasma-textfield__placeholder-color-readonly',
19
6
  /** Цвет каретки */
20
7
  caretColor: '--plasma-textfield__caret-color',
21
8
  placeholderColor: '--plasma-textfield__placeholder-color',
9
+ borderColor: '--plasma-textfield-border-color',
10
+ borderColorHover: '--plasma-textfield-border-color-hover',
11
+ borderColorFocus: '--plasma-textfield-border-color-focus',
22
12
  height: '--plasma-textfield-height',
23
13
  borderWidth: '--plasmas-textfield-border-width',
24
14
  borderRadius: '--plasma-textfield-border-radius',
25
- /** Отступ от границы ТextField */
15
+ /** отступ от границы ТextField */
26
16
  padding: '--plasma-textfield-padding',
27
- paddingWithChips: '--plasma-textfield-padding-with-chips',
28
- /* Токены для инпута */
29
- leftContentMargin: '--plasma-textfield__left-content-margin',
30
- rightContentMargin: '--plasma-textfield__right-content-margin',
17
+ paddingWithContent: '--plasma-textfield-padding-with-content',
18
+ /* Отступ между Иконками и текстом Инпута */
19
+ /* Отступ при отсутствии Иконок сохраняется */
20
+ contentOffset: '--plasma-textfield__content-offset',
31
21
  fontFamily: '--plasma-textfield-font-family',
32
22
  fontStyle: '--plasma-textfield-font-style',
33
23
  fontSize: '--plasma-textfield-font-size',
34
24
  fontWeight: '--plasma-textfield-font-weight',
35
25
  letterSpacing: '--plasma-textfield-letter-spacing',
36
26
  lineHeight: '--plasma-textfield-line-height',
37
- /** Токены лейбла */
27
+ /** Цвет подписи */
38
28
  labelColor: '--plasma-textfield__label-color',
39
- labelColorReadOnly: '--plasma-textfield__label-color-readonly',
40
29
  labelOffset: '--plasma-textfield__label-offset',
41
30
  labelFontFamily: '--plasma-textfield__label-font-family',
42
31
  labelFontStyle: '--plasma-textfield__label-font-style',
@@ -51,52 +40,16 @@ export var tokens = {
51
40
  labelInnerFontWeight: '--plasma-textfield-placement_inner__label-font-weight',
52
41
  labelInnerLetterSpacing: '--plasma-textfield-placement_inner__label-letter-spacing',
53
42
  labelInnerLineHeight: '--plasma-textfield-placement_inner__label-line-height',
54
- labelInnerPadding: '--plasma-textfield-placement_inner__label-padding',
55
- contentLabelInnerPadding: '--plasma-textfield-placement_inner__content-padding',
56
- leftHelperColor: '--plasma-textfield__left-helper-color',
57
- leftHelperColorReadOnly: '--plasma-textfield__left-helper-color-readonly',
58
- leftHelperOffset: '--plasma-textfield__left-helper-offset',
59
- leftHelperFontFamily: '--plasma-textfield__left-helper-font-family',
60
- leftHelperFontStyle: '--plasma-textfield__left-helper-font-style',
61
- leftHelperFontSize: '--plasma-textfield__left-helper-font-size',
62
- leftHelperFontWeight: '--plasma-textfield__left-helper-font-weight',
63
- leftHelperLetterSpacing: '--plasma-textfield__left-helper-letter-spacing',
64
- leftHelperLineHeight: '--plasma-textfield__left-helper-line-height',
43
+ leftHelperColor: '--plasma-textfield__leftHelper-color',
44
+ leftHelperOffset: '--plasma-textfield__leftHelper-offset',
45
+ leftHelperFontFamily: '--plasma-textfield__leftHelper-font-family',
46
+ leftHelperFontStyle: '--plasma-textfield__leftHelper-font-style',
47
+ leftHelperFontSize: '--plasma-textfield__leftHelper-font-size',
48
+ leftHelperFontWeight: '--plasma-textfield__leftHelper-font-weight',
49
+ leftHelperLetterSpacing: '--plasma-textfield__leftHelper-letter-spacing',
50
+ leftHelperLineHeight: '--plasma-textfield__leftHelper-line-height',
51
+ /* Дополнительный цвет который можно использовать в <Icon color="inheit" /> */
52
+ contentColor: '--plasma-textfield__content-color',
65
53
  /** Прозрачность для всего компонента в состоянии disabled */
66
- disabledOpacity: '--plasma-textfield-disabled-opacity',
67
- /** Токены чипа */
68
- chipHeight: '--plasma-textfield__chip-height',
69
- chipBorderRadius: '--plasma-textfield__chip-border-radius',
70
- chipGap: '--plasma-textfield__chip-gap',
71
- chipBackground: '--plasma-textfield__chip-background',
72
- chipColor: '--plasma-textfield__chip-color',
73
- chipBackgroundHover: '--plasma-textfield__chip-background-hover',
74
- chipColorHover: '--plasma-textfield__chip-color-hover',
75
- chipScaleHover: '--plasma-textfield__chip-scale-hover',
76
- chipBackgroundReadOnly: '--plasma-textfield__chip-background-readonly',
77
- chipColorReadOnly: '--plasma-textfield__chip-color-readonly',
78
- chipBackgroundReadOnlyHover: '--plasma-textfield__chip-background-readonly-hover',
79
- chipColorReadOnlyHover: '--plasma-textfield__chip-color-readonly-hover',
80
- chipBackgroundActive: '--plasma-textfield__chip-background-active',
81
- chipColorActive: '--plasma-textfield__chip-color-active',
82
- chipScaleActive: '--plasma-textfield__chip-scale-active',
83
- chipFocusColor: '--plasma-textfield__chip-focus-color',
84
- chipCloseIconColor: '--plasma-textfield__chip-close-icon-color',
85
- chipOutlineSize: '--plasma-textfield__chip-outline-size',
86
- chipWidth: '--plasma-textfield__chip-width',
87
- chipPaddingTop: '--plasma-textfield__chip-padding-top',
88
- chipPaddingRight: '--plasma-textfield__chip-padding-right',
89
- chipPaddingBottom: '--plasma-textfield__chip-padding-bottom',
90
- chipPaddingLeft: '--plasma-textfield__chip-padding-left',
91
- chipCloseIconSize: '--plasma-textfield__chip-close-icon-size',
92
- chipFontFamily: '--plasma-textfield__chip-font-family',
93
- chipFontSize: '--plasma-textfield__chip-font-size',
94
- chipFontStyle: '--plasma-textfield__chip-font-style',
95
- chipFontWeight: '--plasma-textfield__chip-font-weight',
96
- chipLetterSpacing: '--plasma-textfield__chip-letter-spacing',
97
- chipLineHeight: '--plasma-textfield__chip-line-height',
98
- chipClearContentMarginLeft: '--plasma-textfield__chip-clear-content-margin-left',
99
- chipClearContentMarginRight: '--plasma-textfield__chip-clear-content-margin-right',
100
- chipOpacityReadonly: '--plasma-textfield__chip-opacity-readonly',
101
- focusColor: '--plasma-textfield-focus-color'
54
+ disabledOpacity: '--plasma-textfield-disabled-opacity'
102
55
  };
@@ -0,0 +1,3 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../TextField.tokens';
3
+ export var base = /*#__PURE__*/css(["&[disabled]{opacity:var(", ");cursor:not-allowed;input{cursor:not-allowed;}}"], tokens.disabledOpacity);
@@ -0,0 +1,4 @@
1
+ import { css } from 'styled-components';
2
+ import { Input, Label } from '../TextField.styles';
3
+ import { tokens } from '../TextField.tokens';
4
+ export var labelPlacement_inner = /*#__PURE__*/css(["", "{padding-top:calc(var(", ") + var(", "));padding-bottom:var(", ");}", ":focus ~ ", ",", ":not(:placeholder-shown) ~ ", "{height:auto;padding-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", ":not(:focus)::placeholder{color:transparent;}", ":focus::placeholder{color:transparent;}", "{color:var(", ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;transition:all 0.1s ease-in-out 0s;height:var(", ");padding-top:calc(var(", ") / 4);padding-bottom:calc(var(", ") / 4);}"], Input, tokens.labelOffset, tokens.labelInnerLineHeight, tokens.labelOffset, Input, Label, Input, Label, tokens.labelOffset, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, Input, Input, Label, tokens.placeholderColor, tokens.height, tokens.height, tokens.height);
@@ -0,0 +1,4 @@
1
+ import { css } from 'styled-components';
2
+ import { Label } from '../TextField.styles';
3
+ import { tokens } from '../TextField.tokens';
4
+ export var labelPlacement_outer = /*#__PURE__*/css(["", "{display:block;margin-bottom:var(", ");}"], Label, tokens.labelOffset);
@@ -0,0 +1,4 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../TextField.tokens';
3
+ import { Input, InputLabelWrapper, InputWrapper, Label, LeftHelper } from '../TextField.styles';
4
+ export var base = /*#__PURE__*/css(["--plasma_private-textfield-br:var(", ",calc(var(", ") / 4));--plasma_private-textfield-padding:var(", ",calc(var(", ") * 1.618 / 4));--plasma_private-textfield-border-width:var(", ");", "{height:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{border-radius:var(--plasma_private-textfield-br);gap:var(", ");}", " > ", ":first-child{margin-left:var(--plasma_private-textfield-padding);}", " >:not(", "):first-child{margin-left:var(", ",var(--plasma_private-textfield-padding));}", " > ", ":last-child{margin-right:var(--plasma_private-textfield-padding);}", " >:not(", "):last-child{margin-right:var(", ",var(--plasma_private-textfield-padding));}", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}"], tokens.borderRadius, tokens.height, tokens.padding, tokens.height, tokens.borderWidth, Input, tokens.height, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, InputWrapper, tokens.contentOffset, InputWrapper, InputLabelWrapper, InputWrapper, InputLabelWrapper, tokens.paddingWithContent, InputWrapper, InputLabelWrapper, InputWrapper, InputLabelWrapper, tokens.paddingWithContent, Label, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, LeftHelper, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight);
@@ -0,0 +1,4 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../TextField.tokens';
3
+ import { Input, InputWrapper, LeftHelper } from '../TextField.styles';
4
+ export var base = /*#__PURE__*/css(["", "{color:var(", ",var(", "));background-color:var(", ");caret-color:var(", ");--plasma_private-textfield-border-color:var(", ");transition:box-shadow 0.1s ease-in,background-color 0.1s ease-in,color 0.1s ease-in;}", ":hover{--plasma_private-textfield-border-color:var(", ");background-color:var(", ",var(", "));}", ":focus-within{--plasma_private-textfield-border-color:var(", ");background-color:var(", ",var(", "));}", "::placeholder{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}"], InputWrapper, tokens.contentColor, tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.borderColor, InputWrapper, tokens.borderColorHover, tokens.backgroundColorHover, tokens.backgroundColor, InputWrapper, tokens.borderColorFocus, tokens.backgroundColorFocus, tokens.backgroundColor, Input, tokens.placeholderColor, Input, tokens.color, LeftHelper, tokens.leftHelperColor);
@@ -1,4 +1,4 @@
1
- export { labelPlacement_inner as textField_labelPlacement_inner } from './variations/_label-placement/inner';
2
- export { labelPlacement_outer as textField_labelPlacement_outer } from './variations/_label-placement/outer';
1
+ export { labelPlacement_inner as textField_labelPlacement_inner } from './_label-placement/inner';
2
+ export { labelPlacement_outer as textField_labelPlacement_outer } from './_label-placement/outer';
3
3
  export { textFieldRoot, textFieldConfig } from './TextField';
4
4
  export { tokens as textFieldTokens } from './TextField.tokens';
@@ -33,12 +33,6 @@ const meta: Meta<typeof Popover> = {
33
33
  },
34
34
  table: { defaultValue: { summary: true } },
35
35
  },
36
- closeOnBeyondTargetHover: {
37
- control: {
38
- type: 'boolean',
39
- },
40
- table: { defaultValue: { summary: true } },
41
- },
42
36
  closeOnEsc: {
43
37
  control: {
44
38
  type: 'boolean',
@@ -68,7 +62,6 @@ const meta: Meta<typeof Popover> = {
68
62
  placement: 'bottom',
69
63
  trigger: 'click',
70
64
  closeOnOverlayClick: true,
71
- closeOnBeyondTargetHover: true,
72
65
  closeOnEsc: true,
73
66
  isFocusTrapped: true,
74
67
  skidding: 0,
@@ -3,6 +3,7 @@
3
3
  export * from './mixins';
4
4
  export * from './engines';
5
5
  export * from './hooks';
6
+ export * from './utils';
6
7
  export * from './components/Button';
7
8
  export * from './components/ButtonGroup';
8
9
  export * from './components/Chip';
@@ -42,5 +43,6 @@ export * from './components/Indicator';
42
43
  export * from './components/ButtonBase';
43
44
  export * from './components/Grid';
44
45
  export * from './components/Progress';
46
+ export * from './components/Select';
45
47
  export * from './components/Divider';
46
48
  export * from './components/Toolbar';
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,cAAc,EAAE,SAAS,CAAC,qFA0C9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA5CQ,UAAU,cAAc,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA6DlE,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,cAAc,EAAE,SAAS,CAAC,qFAwC9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA1CQ,UAAU,cAAc,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA2DlE,CAAC"}
@@ -3,17 +3,11 @@ export declare const StyledRoot: import("@linaria/react").StyledComponent<import
3
3
  export declare const StyledCombobox: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
4
  export declare const StyledPopover: import("@linaria/react").StyledComponent<{
5
5
  selectWidth?: number | undefined;
6
- } & (import("../../engines/types").PropsType<{
6
+ } & import("../../engines/types").PropsType<{
7
7
  view: {
8
8
  css: import("@linaria/core").LinariaClassName;
9
9
  };
10
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
11
- trigger?: "click" | undefined;
12
- closeOnOverlayClick?: boolean | undefined;
13
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
14
- trigger?: "hover" | undefined;
15
- closeOnBeyondTargetHover?: boolean | undefined;
16
- } & import("react").RefAttributes<HTMLDivElement>)))>;
10
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
17
11
  export declare const ComboboxItemNotFound: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
18
12
  export declare const StyledNativeSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
19
13
  //# sourceMappingURL=Combobox.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,UAAU,qKAGtB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;;;;;;;qDAMzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKAUhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAY9B,CAAC"}
1
+ {"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;4JAMzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKAUhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAY9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,aAAa,CAAC,iKA8DtE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBAhEQ,UAAU,cAAc,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAiF1E,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,aAAa,CAAC,iKA6DtE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA/DQ,UAAU,cAAc,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAgF1E,CAAC"}
@@ -3,12 +3,6 @@ export declare const StyledPopover: import("@linaria/react").StyledMeta & import
3
3
  view: {
4
4
  css: import("@linaria/core").LinariaClassName;
5
5
  };
6
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
7
- trigger?: "click" | undefined;
8
- closeOnOverlayClick?: boolean | undefined;
9
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
10
- trigger?: "hover" | undefined;
11
- closeOnBeyondTargetHover?: boolean | undefined;
12
- } & import("react").RefAttributes<HTMLDivElement>))>;
6
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
13
7
  export declare const StyledDropdown: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
14
8
  //# sourceMappingURL=Dropdown.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,aAAa;;;;;;;;;;oDAIzB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC"}
1
+ {"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,aAAa;;;;4JAIzB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC"}
@@ -7,11 +7,11 @@ export declare const POPOVER_PORTAL_ID = "plasma-popover-root";
7
7
  * Всплывающее окно с возможностью позиционирования
8
8
  * и вызова по клику либо ховеру.
9
9
  */
10
- export declare const popoverRoot: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
10
+ export declare const popoverRoot: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Popover.types").CustomPopoverProps & React.RefAttributes<HTMLDivElement>>;
11
11
  export declare const popoverConfig: {
12
12
  name: string;
13
13
  tag: string;
14
- layout: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
14
+ layout: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Popover.types").CustomPopoverProps & React.RefAttributes<HTMLDivElement>>;
15
15
  base: string;
16
16
  variations: {
17
17
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAMpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,UAAU,cAAc,EAAE,YAAY,CAAC,wFAsQnE,CAAC;AAEP,eAAO,MAAM,aAAa;;;mBAxQQ,UAAU,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CAqRxE,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAMpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,UAAU,cAAc,EAAE,YAAY,CAAC,+JAwPpE,CAAC;AAEN,eAAO,MAAM,aAAa;;;mBA1PQ,UAAU,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CAuQxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,aAAa,qKAAe,CAAC;AAC1C,eAAO,MAAM,UAAU,qKAItB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAcvB,CAAC;AAEF,eAAO,MAAM,aAAa,2KA8DzB,CAAC"}
1
+ {"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,aAAa,qKAEzB,CAAC;AAEF,eAAO,MAAM,UAAU,qKAItB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAcvB,CAAC;AAEF,eAAO,MAAM,aAAa,2KA8DzB,CAAC"}
@@ -2,11 +2,18 @@ import { Placement, ComputedPlacement } from '@popperjs/core';
2
2
  import type { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
3
3
  export declare type PopoverPlacementBasic = ComputedPlacement;
4
4
  export declare type PopoverPlacement = Placement;
5
+ export declare type PopoverTrigger = 'hover' | 'click';
5
6
  export declare type CustomPopoverProps = {
6
7
  /**
7
8
  * Всплывающее окно раскрыто или нет.
8
9
  */
9
10
  isOpen?: boolean;
11
+ /**
12
+ * Способ открытия всплывающего окна - наведение или клик мышью.
13
+ * @default
14
+ * click
15
+ */
16
+ trigger?: PopoverTrigger;
10
17
  /**
11
18
  * Сторона открытия окна относительно target элемента.
12
19
  * @default
@@ -59,6 +66,10 @@ export declare type CustomPopoverProps = {
59
66
  * true
60
67
  */
61
68
  closeOnEsc?: boolean;
69
+ /**
70
+ * Закрывать окно при нажатии вне области окна. (Если trigger === 'click')
71
+ */
72
+ closeOnOverlayClick?: boolean;
62
73
  /**
63
74
  * Находится ли в портале.
64
75
  * @default
@@ -67,23 +78,5 @@ export declare type CustomPopoverProps = {
67
78
  usePortal?: boolean;
68
79
  view?: string;
69
80
  };
70
- export declare type PopoverTrigger = {
71
- /**
72
- * Способ открытия всплывающего окна - наведение или клик мышью.
73
- * @default
74
- * click
75
- */
76
- trigger?: 'click';
77
- /**
78
- * Закрывать окно при нажатии вне области окна. (Если trigger === 'click')
79
- */
80
- closeOnOverlayClick?: boolean;
81
- } | {
82
- trigger?: 'hover';
83
- /**
84
- * Закрывать окно при наведении вне области target-элемента. (Если trigger === 'hover')
85
- */
86
- closeOnBeyondTargetHover?: boolean;
87
- };
88
- export declare type PopoverProps = HTMLAttributes<HTMLDivElement> & CustomPopoverProps & PopoverTrigger;
81
+ export declare type PopoverProps = HTMLAttributes<HTMLDivElement> & CustomPopoverProps;
89
82
  //# sourceMappingURL=Popover.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;AACtD,oBAAY,gBAAgB,GAAG,SAAS,CAAC;AAEzC,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,cAAc,GACpB;IACI;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC,GACD;IACI,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAER,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;AACtD,oBAAY,gBAAgB,GAAG,SAAS,CAAC;AAEzC,oBAAY,cAAc,GAAG,OAAO,GAAG,OAAO,CAAC;AAE/C,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
@@ -3,16 +3,10 @@ export declare const StyledRoot: import("@linaria/react").StyledComponent<import
3
3
  export declare const StyledSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
4
  export declare const StyledPopover: import("@linaria/react").StyledComponent<{
5
5
  selectWidth?: number | undefined;
6
- } & (import("../../engines/types").PropsType<{
6
+ } & import("../../engines/types").PropsType<{
7
7
  view: {
8
8
  css: import("@linaria/core").LinariaClassName;
9
9
  };
10
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
11
- trigger?: "click" | undefined;
12
- closeOnOverlayClick?: boolean | undefined;
13
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
14
- trigger?: "hover" | undefined;
15
- closeOnBeyondTargetHover?: boolean | undefined;
16
- } & import("react").RefAttributes<HTMLDivElement>)))>;
10
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
17
11
  export declare const StyledNativeSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
18
12
  //# sourceMappingURL=Select.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;;;;;;;qDAMzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAwB9B,CAAC"}
1
+ {"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;4JAMzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAwB9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectTarget/SelectTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAgB/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAa9D;;GAEG;AACH,eAAO,MAAM,YAAY,6FAuIxB,CAAC"}
1
+ {"version":3,"file":"SelectTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectTarget/SelectTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAgB/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAa9D;;GAEG;AACH,eAAO,MAAM,YAAY,6FAwIxB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
+ import type { LabelHTMLAttributes } from 'react';
2
3
  import type { RootProps } from '../../engines';
3
4
  import type { TextFieldProps } from './TextField.types';
4
- export declare const base: import("@linaria/core").LinariaClassName;
5
- export declare const textFieldRoot: (Root: RootProps<HTMLDivElement, TextFieldProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLDivElement>>;
5
+ export declare const textFieldRoot: (Root: RootProps<HTMLInputElement, TextFieldProps & LabelHTMLAttributes<HTMLLabelElement>>) => React.ForwardRefExoticComponent<import("../../engines/types").Filter<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("./TextField.types").TextFieldPropsVariations & React.RefAttributes<HTMLInputElement>>;
6
6
  export declare const textFieldConfig: {
7
7
  name: string;
8
8
  tag: string;
9
- layout: (Root: RootProps<HTMLDivElement, TextFieldProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLDivElement>>;
9
+ layout: (Root: RootProps<HTMLInputElement, TextFieldProps & LabelHTMLAttributes<HTMLLabelElement>>) => React.ForwardRefExoticComponent<import("../../engines/types").Filter<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("./TextField.types").TextFieldPropsVariations & React.RefAttributes<HTMLInputElement>>;
10
10
  base: import("@linaria/core").LinariaClassName;
11
11
  variations: {
12
12
  view: {
@@ -19,17 +19,12 @@ export declare const textFieldConfig: {
19
19
  css: import("@linaria/core").LinariaClassName;
20
20
  attrs: boolean;
21
21
  };
22
- readOnly: {
23
- css: import("@linaria/core").LinariaClassName;
24
- attrs: boolean;
25
- };
26
22
  labelPlacement: {
27
23
  css: import("@linaria/core").LinariaClassName;
28
24
  };
29
25
  };
30
26
  defaults: {
31
27
  size: string;
32
- view: string;
33
28
  };
34
29
  };
35
30
  //# sourceMappingURL=TextField.d.ts.map
@@ -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;AAoB7F,eAAO,MAAM,IAAI,0CAIhB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,0FAgMxE,CAAC;AAEN,eAAO,MAAM,eAAe;;;mBAlMQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA8N5E,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAA4C,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAI3F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAYxD,eAAO,MAAM,aAAa,SAChB,UAAU,gBAAgB,EAAE,cAAc,GAAG,oBAAoB,gBAAgB,CAAC,CAAC,8NAoEvF,CAAC;AAEP,eAAO,MAAM,eAAe;;;mBAtElB,UAAU,gBAAgB,EAAE,cAAc,GAAG,oBAAoB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;CA6F5F,CAAC"}
@@ -1,10 +1,7 @@
1
1
  /// <reference types="react" />
2
- export declare const InputWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const InputLabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const StyledChips: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
2
  export declare const Input: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
6
- export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
7
- export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const InputLabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const InputWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
6
  export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
7
  //# 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,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAE9B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAAe,CAAC"}
1
+ {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAGF,eAAO,MAAM,YAAY,qKAUxB,CAAC;AAEF,eAAO,MAAM,KAAK,qKAAe,CAAC;AAElC,eAAO,MAAM,UAAU,qKAAe,CAAC"}
@@ -1,41 +1,29 @@
1
- export declare const classes: {
2
- hasChips: string;
3
- hasEmptyContentLeft: string;
4
- hasEmptyContentRight: string;
5
- };
6
1
  export declare const tokens: {
7
2
  color: string;
8
3
  backgroundColor: string;
9
4
  backgroundColorHover: string;
10
5
  backgroundColorFocus: string;
11
- borderColor: string;
12
- borderColorHover: string;
13
- borderColorFocus: string;
14
- /** Цвета для read-only состояния */
15
- colorReadOnly: string;
16
- backgroundColorReadOnly: string;
17
- borderColorReadOnly: string;
18
- placeholderColorReadOnly: string;
19
6
  /** Цвет каретки */
20
7
  caretColor: string;
21
8
  placeholderColor: string;
9
+ borderColor: string;
10
+ borderColorHover: string;
11
+ borderColorFocus: string;
22
12
  height: string;
23
13
  borderWidth: string;
24
14
  borderRadius: string;
25
- /** Отступ от границы ТextField */
15
+ /** отступ от границы ТextField */
26
16
  padding: string;
27
- paddingWithChips: string;
28
- leftContentMargin: string;
29
- rightContentMargin: string;
17
+ paddingWithContent: string;
18
+ contentOffset: string;
30
19
  fontFamily: string;
31
20
  fontStyle: string;
32
21
  fontSize: string;
33
22
  fontWeight: string;
34
23
  letterSpacing: string;
35
24
  lineHeight: string;
36
- /** Токены лейбла */
25
+ /** Цвет подписи */
37
26
  labelColor: string;
38
- labelColorReadOnly: string;
39
27
  labelOffset: string;
40
28
  labelFontFamily: string;
41
29
  labelFontStyle: string;
@@ -49,10 +37,7 @@ export declare const tokens: {
49
37
  labelInnerFontWeight: string;
50
38
  labelInnerLetterSpacing: string;
51
39
  labelInnerLineHeight: string;
52
- labelInnerPadding: string;
53
- contentLabelInnerPadding: string;
54
40
  leftHelperColor: string;
55
- leftHelperColorReadOnly: string;
56
41
  leftHelperOffset: string;
57
42
  leftHelperFontFamily: string;
58
43
  leftHelperFontStyle: string;
@@ -60,42 +45,8 @@ export declare const tokens: {
60
45
  leftHelperFontWeight: string;
61
46
  leftHelperLetterSpacing: string;
62
47
  leftHelperLineHeight: string;
48
+ contentColor: string;
63
49
  /** Прозрачность для всего компонента в состоянии disabled */
64
50
  disabledOpacity: string;
65
- /** Токены чипа */
66
- chipHeight: string;
67
- chipBorderRadius: string;
68
- chipGap: string;
69
- chipBackground: string;
70
- chipColor: string;
71
- chipBackgroundHover: string;
72
- chipColorHover: string;
73
- chipScaleHover: string;
74
- chipBackgroundReadOnly: string;
75
- chipColorReadOnly: string;
76
- chipBackgroundReadOnlyHover: string;
77
- chipColorReadOnlyHover: string;
78
- chipBackgroundActive: string;
79
- chipColorActive: string;
80
- chipScaleActive: string;
81
- chipFocusColor: string;
82
- chipCloseIconColor: string;
83
- chipOutlineSize: string;
84
- chipWidth: string;
85
- chipPaddingTop: string;
86
- chipPaddingRight: string;
87
- chipPaddingBottom: string;
88
- chipPaddingLeft: string;
89
- chipCloseIconSize: string;
90
- chipFontFamily: string;
91
- chipFontSize: string;
92
- chipFontStyle: string;
93
- chipFontWeight: string;
94
- chipLetterSpacing: string;
95
- chipLineHeight: string;
96
- chipClearContentMarginLeft: string;
97
- chipClearContentMarginRight: string;
98
- chipOpacityReadonly: string;
99
- focusColor: string;
100
51
  };
101
52
  //# 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;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;IAWf,oCAAoC;;;;;IAMpC,mBAAmB;;;;;;IAQnB,kCAAkC;;;;;;;;;;;IAelC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCpB,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,MAAM;;;;;IAKf,mBAAmB;;;;;;;;;IAUnB,kCAAkC;;;;;;;;;;IAelC,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;IAgCnB,6DAA6D;;CAEhE,CAAC"}