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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. package/cjs/components/Cell/Cell.css +3 -0
  2. package/cjs/components/Cell/Cell.js +71 -0
  3. package/cjs/components/Cell/Cell.js.map +1 -0
  4. package/cjs/components/Cell/Cell.styles.js +39 -0
  5. package/cjs/components/Cell/Cell.styles.js.map +1 -0
  6. package/cjs/components/Cell/Cell.styles_ygfo1w.css +1 -0
  7. package/cjs/components/Cell/Cell.tokens.js +50 -0
  8. package/cjs/components/Cell/Cell.tokens.js.map +1 -0
  9. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +20 -0
  10. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
  11. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js +13 -0
  12. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
  13. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +13 -0
  14. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
  15. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +13 -0
  16. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
  17. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +13 -0
  18. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
  19. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +13 -0
  20. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
  21. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +13 -0
  22. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
  23. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +13 -0
  24. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
  25. package/cjs/components/{TextField/_view → Cell/variations/_size}/base.js +2 -2
  26. package/cjs/components/Cell/variations/_size/base.js.map +1 -0
  27. package/cjs/components/{TextField/_size → Cell/variations/_view}/base.js +2 -2
  28. package/cjs/components/Cell/variations/_view/base.js.map +1 -0
  29. package/cjs/components/Cell/variations/_view/base_pir0qf.css +1 -0
  30. package/cjs/components/Pagination/Pagination.js +14 -13
  31. package/cjs/components/Pagination/Pagination.js.map +1 -1
  32. package/cjs/components/TextField/TextField.js +155 -29
  33. package/cjs/components/TextField/TextField.js.map +1 -1
  34. package/cjs/components/TextField/TextField.styles.js +27 -11
  35. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  36. package/cjs/components/TextField/TextField.styles_1b1mddp.css +8 -0
  37. package/cjs/components/TextField/TextField.tokens.js +68 -20
  38. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  39. package/cjs/components/TextField/TextField_wctd2m.css +1 -0
  40. package/cjs/components/TextField/hooks/useKeyNavigation.js +133 -0
  41. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -0
  42. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +19 -0
  43. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +38 -0
  44. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -0
  45. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +26 -0
  46. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -0
  47. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +1 -0
  48. package/cjs/components/TextField/variations/_disabled/base.js +9 -0
  49. package/cjs/components/TextField/variations/_disabled/base.js.map +1 -0
  50. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  51. package/cjs/components/TextField/{_label-placement → variations/_label-placement}/base.js +1 -1
  52. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -0
  53. package/cjs/components/TextField/{_label-placement → variations/_label-placement}/inner.js +2 -2
  54. package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -0
  55. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
  56. package/cjs/components/TextField/{_label-placement → variations/_label-placement}/outer.js +2 -2
  57. package/cjs/components/TextField/variations/_label-placement/outer.js.map +1 -0
  58. package/cjs/components/TextField/variations/_label-placement/outer_is41nj.css +1 -0
  59. package/cjs/components/TextField/variations/_read-only/base.js +9 -0
  60. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -0
  61. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  62. package/cjs/components/TextField/variations/_size/base.js +9 -0
  63. package/cjs/components/TextField/variations/_size/base.js.map +1 -0
  64. package/cjs/components/TextField/variations/_size/base_1khzr9t.css +1 -0
  65. package/cjs/components/TextField/{_disabled → variations/_view}/base.js +2 -2
  66. package/cjs/components/TextField/variations/_view/base.js.map +1 -0
  67. package/cjs/components/TextField/variations/_view/base_1qd77x6.css +1 -0
  68. package/cjs/index.css +20 -9
  69. package/cjs/index.js +16 -2
  70. package/cjs/index.js.map +1 -1
  71. package/es/components/Cell/Cell.css +3 -0
  72. package/es/components/Cell/Cell.js +66 -0
  73. package/es/components/Cell/Cell.js.map +1 -0
  74. package/es/components/Cell/Cell.styles.js +31 -0
  75. package/es/components/Cell/Cell.styles.js.map +1 -0
  76. package/es/components/Cell/Cell.styles_ygfo1w.css +1 -0
  77. package/es/components/Cell/Cell.tokens.js +45 -0
  78. package/es/components/Cell/Cell.tokens.js.map +1 -0
  79. package/es/components/Cell/ui/CellTextbox/CellTextbox.js +16 -0
  80. package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
  81. package/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js +9 -0
  82. package/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
  83. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +9 -0
  84. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
  85. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +9 -0
  86. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
  87. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +9 -0
  88. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
  89. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +9 -0
  90. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
  91. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +9 -0
  92. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
  93. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +9 -0
  94. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
  95. package/es/components/{TextField/_view → Cell/variations/_size}/base.js +2 -2
  96. package/es/components/Cell/variations/_size/base.js.map +1 -0
  97. package/es/components/Cell/variations/_size/base_x642ct.css +1 -0
  98. package/es/components/{TextField/_disabled → Cell/variations/_view}/base.js +2 -2
  99. package/es/components/Cell/variations/_view/base.js.map +1 -0
  100. package/es/components/Cell/variations/_view/base_pir0qf.css +1 -0
  101. package/es/components/Pagination/Pagination.js +15 -14
  102. package/es/components/Pagination/Pagination.js.map +1 -1
  103. package/es/components/TextField/TextField.js +158 -33
  104. package/es/components/TextField/TextField.js.map +1 -1
  105. package/es/components/TextField/TextField.styles.js +25 -12
  106. package/es/components/TextField/TextField.styles.js.map +1 -1
  107. package/es/components/TextField/TextField.styles_1b1mddp.css +8 -0
  108. package/es/components/TextField/TextField.tokens.js +68 -21
  109. package/es/components/TextField/TextField.tokens.js.map +1 -1
  110. package/es/components/TextField/TextField_wctd2m.css +1 -0
  111. package/es/components/TextField/hooks/useKeyNavigation.js +128 -0
  112. package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -0
  113. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +19 -0
  114. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +34 -0
  115. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -0
  116. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +22 -0
  117. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -0
  118. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +1 -0
  119. package/es/components/TextField/variations/_disabled/base.js +5 -0
  120. package/es/components/TextField/variations/_disabled/base.js.map +1 -0
  121. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  122. package/es/components/TextField/{_label-placement → variations/_label-placement}/base.js +1 -1
  123. package/es/components/TextField/variations/_label-placement/base.js.map +1 -0
  124. package/es/components/TextField/variations/_label-placement/base_x642ct.css +1 -0
  125. package/es/components/TextField/variations/_label-placement/inner.js +5 -0
  126. package/es/components/TextField/variations/_label-placement/inner.js.map +1 -0
  127. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
  128. package/es/components/TextField/variations/_label-placement/outer.js +5 -0
  129. package/es/components/TextField/variations/_label-placement/outer.js.map +1 -0
  130. package/es/components/TextField/variations/_label-placement/outer_is41nj.css +1 -0
  131. package/es/components/TextField/variations/_read-only/base.js +5 -0
  132. package/es/components/TextField/variations/_read-only/base.js.map +1 -0
  133. package/es/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  134. package/es/components/TextField/variations/_size/base.js +5 -0
  135. package/es/components/TextField/variations/_size/base.js.map +1 -0
  136. package/es/components/TextField/variations/_size/base_1khzr9t.css +1 -0
  137. package/es/components/TextField/{_size → variations/_view}/base.js +2 -2
  138. package/es/components/TextField/variations/_view/base.js.map +1 -0
  139. package/es/components/TextField/variations/_view/base_1qd77x6.css +1 -0
  140. package/es/index.css +20 -9
  141. package/es/index.js +8 -2
  142. package/es/index.js.map +1 -1
  143. package/package.json +4 -4
  144. package/styled-components/cjs/components/Cell/Cell.js +71 -0
  145. package/styled-components/cjs/components/Cell/Cell.styles.js +35 -0
  146. package/styled-components/cjs/components/Cell/Cell.tokens.js +48 -0
  147. package/styled-components/cjs/components/Cell/Cell.types.js +5 -0
  148. package/styled-components/cjs/components/Cell/index.js +59 -0
  149. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +19 -0
  150. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js +12 -0
  151. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.types.js +5 -0
  152. package/styled-components/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +12 -0
  153. package/styled-components/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +12 -0
  154. package/styled-components/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +12 -0
  155. package/styled-components/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +12 -0
  156. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +12 -0
  157. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +12 -0
  158. package/styled-components/cjs/components/{TextField/_disabled → Cell/variations/_size}/base.js +1 -2
  159. package/styled-components/cjs/components/Cell/variations/_size/tokens.json +1 -0
  160. package/styled-components/cjs/components/Cell/variations/_stretching/base.js +9 -0
  161. package/styled-components/cjs/components/Cell/variations/_stretching/tokens.json +1 -0
  162. package/styled-components/cjs/components/Cell/variations/_view/base.js +9 -0
  163. package/styled-components/cjs/components/Cell/variations/_view/tokens.json +1 -0
  164. package/styled-components/cjs/components/Pagination/Pagination.js +14 -13
  165. package/styled-components/cjs/components/TextField/TextField.js +162 -32
  166. package/styled-components/cjs/components/TextField/TextField.styles.js +18 -10
  167. package/styled-components/cjs/components/TextField/TextField.tokens.js +68 -21
  168. package/styled-components/cjs/components/TextField/hooks/index.js +12 -0
  169. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +139 -0
  170. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.types.js +5 -0
  171. package/styled-components/cjs/components/TextField/index.js +2 -2
  172. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +39 -0
  173. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +25 -0
  174. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +5 -0
  175. package/styled-components/cjs/components/TextField/ui/index.js +12 -0
  176. package/styled-components/cjs/components/TextField/variations/_disabled/base.js +10 -0
  177. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +10 -0
  178. package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/outer.js +3 -3
  179. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +10 -0
  180. package/styled-components/cjs/components/TextField/variations/_read-only/tokens.json +1 -0
  181. package/styled-components/cjs/components/TextField/variations/_size/base.js +10 -0
  182. package/styled-components/cjs/components/TextField/variations/_view/base.js +10 -0
  183. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +21 -0
  184. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +35 -0
  185. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +128 -0
  186. package/styled-components/cjs/examples/plasma_b2c/components/Chip/Chip.config.js +1 -2
  187. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +4 -4
  188. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +14 -7
  189. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +43 -0
  190. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.js +11 -0
  191. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +123 -0
  192. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +21 -0
  193. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +35 -0
  194. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +128 -0
  195. package/styled-components/cjs/examples/plasma_web/components/Chip/Chip.config.js +1 -2
  196. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +4 -4
  197. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +14 -7
  198. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +40 -0
  199. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.js +11 -0
  200. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +123 -0
  201. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +43 -0
  202. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +11 -0
  203. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +123 -0
  204. package/styled-components/cjs/index.js +11 -0
  205. package/styled-components/es/components/Cell/Cell.js +62 -0
  206. package/styled-components/es/components/Cell/Cell.styles.js +27 -0
  207. package/styled-components/es/components/Cell/Cell.tokens.js +42 -0
  208. package/styled-components/es/components/Cell/Cell.types.js +1 -0
  209. package/styled-components/es/components/Cell/index.js +6 -0
  210. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +12 -0
  211. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js +5 -0
  212. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.types.js +1 -0
  213. package/styled-components/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +5 -0
  214. package/styled-components/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js +5 -0
  215. package/styled-components/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +5 -0
  216. package/styled-components/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js +5 -0
  217. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +5 -0
  218. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js +5 -0
  219. package/styled-components/es/components/Cell/variations/_size/base.js +2 -0
  220. package/styled-components/es/components/Cell/variations/_size/tokens.json +1 -0
  221. package/styled-components/es/components/Cell/variations/_stretching/base.js +3 -0
  222. package/styled-components/es/components/Cell/variations/_stretching/tokens.json +1 -0
  223. package/styled-components/es/components/Cell/variations/_view/base.js +3 -0
  224. package/styled-components/es/components/Cell/variations/_view/tokens.json +1 -0
  225. package/styled-components/es/components/Pagination/Pagination.js +14 -13
  226. package/styled-components/es/components/TextField/TextField.js +166 -36
  227. package/styled-components/es/components/TextField/TextField.styles.js +17 -9
  228. package/styled-components/es/components/TextField/TextField.tokens.js +67 -20
  229. package/styled-components/es/components/TextField/hooks/index.js +1 -0
  230. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +133 -0
  231. package/styled-components/es/components/TextField/hooks/useKeyNavigation.types.js +1 -0
  232. package/styled-components/es/components/TextField/index.js +2 -2
  233. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +30 -0
  234. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +19 -0
  235. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +1 -0
  236. package/styled-components/es/components/TextField/ui/index.js +1 -0
  237. package/styled-components/es/components/TextField/variations/_disabled/base.js +4 -0
  238. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +4 -0
  239. package/styled-components/es/components/TextField/variations/_label-placement/outer.js +4 -0
  240. package/styled-components/es/components/TextField/variations/_read-only/base.js +4 -0
  241. package/styled-components/es/components/TextField/variations/_read-only/tokens.json +1 -0
  242. package/styled-components/es/components/TextField/variations/_size/base.js +4 -0
  243. package/styled-components/es/components/TextField/variations/_view/base.js +4 -0
  244. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +15 -0
  245. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +6 -0
  246. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +128 -0
  247. package/styled-components/es/examples/plasma_b2c/components/Chip/Chip.config.js +1 -2
  248. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +4 -4
  249. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +14 -7
  250. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +37 -0
  251. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.js +5 -0
  252. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +123 -0
  253. package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +15 -0
  254. package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +6 -0
  255. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +128 -0
  256. package/styled-components/es/examples/plasma_web/components/Chip/Chip.config.js +1 -2
  257. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +4 -4
  258. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +14 -7
  259. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +34 -0
  260. package/styled-components/es/examples/plasma_web/components/TextField/TextField.js +5 -0
  261. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +123 -0
  262. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +37 -0
  263. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +5 -0
  264. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +123 -0
  265. package/styled-components/es/index.js +1 -0
  266. package/types/components/Cell/Cell.d.ts +23 -0
  267. package/types/components/Cell/Cell.d.ts.map +1 -0
  268. package/types/components/Cell/Cell.styles.d.ts +11 -0
  269. package/types/components/Cell/Cell.styles.d.ts.map +1 -0
  270. package/types/components/Cell/Cell.tokens.d.ts +43 -0
  271. package/types/components/Cell/Cell.tokens.d.ts.map +1 -0
  272. package/types/components/Cell/Cell.types.d.ts +51 -0
  273. package/types/components/Cell/Cell.types.d.ts.map +1 -0
  274. package/types/components/Cell/index.d.ts +9 -0
  275. package/types/components/Cell/index.d.ts.map +1 -0
  276. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts +4 -0
  277. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -0
  278. package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts +2 -0
  279. package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
  280. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts +33 -0
  281. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts.map +1 -0
  282. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts +3 -0
  283. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts.map +1 -0
  284. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts +2 -0
  285. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts.map +1 -0
  286. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts +3 -0
  287. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts.map +1 -0
  288. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts +2 -0
  289. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts.map +1 -0
  290. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts +3 -0
  291. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -0
  292. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts +2 -0
  293. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts.map +1 -0
  294. package/types/components/Cell/variations/_size/base.d.ts.map +1 -0
  295. package/types/components/Cell/variations/_stretching/base.d.ts.map +1 -0
  296. package/types/components/Cell/variations/_view/base.d.ts.map +1 -0
  297. package/types/components/Chip/Chip.d.ts +26 -2
  298. package/types/components/Chip/Chip.d.ts.map +1 -1
  299. package/types/components/Chip/Chip.types.d.ts +6 -5
  300. package/types/components/Chip/Chip.types.d.ts.map +1 -1
  301. package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts +13 -1
  302. package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts.map +1 -1
  303. package/types/components/Indicator/Indicator.d.ts +2 -2
  304. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  305. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +13 -1
  306. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +1 -1
  307. package/types/components/TextField/TextField.d.ts +8 -3
  308. package/types/components/TextField/TextField.d.ts.map +1 -1
  309. package/types/components/TextField/TextField.styles.d.ts +6 -3
  310. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  311. package/types/components/TextField/TextField.tokens.d.ts +57 -8
  312. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  313. package/types/components/TextField/TextField.types.d.ts +29 -2
  314. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  315. package/types/components/TextField/hooks/index.d.ts +2 -0
  316. package/types/components/TextField/hooks/index.d.ts.map +1 -0
  317. package/types/components/TextField/hooks/useKeyNavigation.d.ts +17 -0
  318. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -0
  319. package/types/components/TextField/hooks/useKeyNavigation.types.d.ts +18 -0
  320. package/types/components/TextField/hooks/useKeyNavigation.types.d.ts.map +1 -0
  321. package/types/components/TextField/index.d.ts +3 -2
  322. package/types/components/TextField/index.d.ts.map +1 -1
  323. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +7 -0
  324. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -0
  325. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +15 -0
  326. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -0
  327. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +37 -0
  328. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -0
  329. package/types/components/TextField/ui/index.d.ts +2 -0
  330. package/types/components/TextField/ui/index.d.ts.map +1 -0
  331. package/types/components/TextField/variations/_disabled/base.d.ts.map +1 -0
  332. package/types/components/TextField/variations/_label-placement/base.d.ts +2 -0
  333. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -0
  334. package/types/components/TextField/variations/_label-placement/index.d.ts.map +1 -0
  335. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -0
  336. package/types/components/TextField/variations/_label-placement/outer.d.ts.map +1 -0
  337. package/types/components/TextField/variations/_read-only/base.d.ts +2 -0
  338. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -0
  339. package/types/components/TextField/variations/_size/base.d.ts +2 -0
  340. package/types/components/TextField/variations/_size/base.d.ts.map +1 -0
  341. package/types/components/TextField/variations/_view/base.d.ts +2 -0
  342. package/types/components/TextField/variations/_view/base.d.ts.map +1 -0
  343. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +14 -0
  344. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -0
  345. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +45 -0
  346. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -0
  347. package/types/examples/plasma_b2c/components/Chip/Chip.config.d.ts +0 -1
  348. package/types/examples/plasma_b2c/components/Chip/Chip.config.d.ts.map +1 -1
  349. package/types/examples/plasma_b2c/components/Chip/Chip.d.ts +13 -2
  350. package/types/examples/plasma_b2c/components/Chip/Chip.d.ts.map +1 -1
  351. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -2
  352. package/types/examples/plasma_b2c/components/Indicator/Indicator.d.ts +2 -2
  353. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +32 -0
  354. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -0
  355. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +26 -0
  356. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -0
  357. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +14 -0
  358. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -0
  359. package/types/examples/plasma_web/components/Cell/Cell.d.ts +45 -0
  360. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -0
  361. package/types/examples/plasma_web/components/Chip/Chip.config.d.ts +0 -1
  362. package/types/examples/plasma_web/components/Chip/Chip.config.d.ts.map +1 -1
  363. package/types/examples/plasma_web/components/Chip/Chip.d.ts +13 -2
  364. package/types/examples/plasma_web/components/Chip/Chip.d.ts.map +1 -1
  365. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +2 -2
  366. package/types/examples/plasma_web/components/Indicator/Indicator.d.ts +2 -2
  367. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +32 -0
  368. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -0
  369. package/types/examples/plasma_web/components/TextField/TextField.d.ts +26 -0
  370. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -0
  371. package/types/examples/sds_engineer/components/Chip/Chip.d.ts +13 -1
  372. package/types/examples/sds_engineer/components/Chip/Chip.d.ts.map +1 -1
  373. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +32 -0
  374. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +1 -0
  375. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +26 -0
  376. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -0
  377. package/types/index.d.ts +1 -0
  378. package/types/index.d.ts.map +1 -1
  379. package/cjs/components/TextField/TextField.styles_2qw1n8.css +0 -5
  380. package/cjs/components/TextField/TextField_1lzb2r1.css +0 -1
  381. package/cjs/components/TextField/_disabled/base.js.map +0 -1
  382. package/cjs/components/TextField/_disabled/base_so3w81.css +0 -1
  383. package/cjs/components/TextField/_label-placement/base.js.map +0 -1
  384. package/cjs/components/TextField/_label-placement/inner.js.map +0 -1
  385. package/cjs/components/TextField/_label-placement/inner_1tyuicp.css +0 -1
  386. package/cjs/components/TextField/_label-placement/outer.js.map +0 -1
  387. package/cjs/components/TextField/_label-placement/outer_19ekaek.css +0 -1
  388. package/cjs/components/TextField/_size/base.js.map +0 -1
  389. package/cjs/components/TextField/_size/base_b5smyu.css +0 -1
  390. package/cjs/components/TextField/_view/base.js.map +0 -1
  391. package/cjs/components/TextField/_view/base_5bqzed.css +0 -1
  392. package/es/components/TextField/TextField.styles_2qw1n8.css +0 -5
  393. package/es/components/TextField/TextField_1lzb2r1.css +0 -1
  394. package/es/components/TextField/_disabled/base.js.map +0 -1
  395. package/es/components/TextField/_disabled/base_so3w81.css +0 -1
  396. package/es/components/TextField/_label-placement/base.js.map +0 -1
  397. package/es/components/TextField/_label-placement/inner.js +0 -5
  398. package/es/components/TextField/_label-placement/inner.js.map +0 -1
  399. package/es/components/TextField/_label-placement/inner_1tyuicp.css +0 -1
  400. package/es/components/TextField/_label-placement/outer.js +0 -5
  401. package/es/components/TextField/_label-placement/outer.js.map +0 -1
  402. package/es/components/TextField/_label-placement/outer_19ekaek.css +0 -1
  403. package/es/components/TextField/_size/base.js.map +0 -1
  404. package/es/components/TextField/_size/base_b5smyu.css +0 -1
  405. package/es/components/TextField/_view/base.js.map +0 -1
  406. package/es/components/TextField/_view/base_5bqzed.css +0 -1
  407. package/styled-components/cjs/components/TextField/_label-placement/inner.js +0 -10
  408. package/styled-components/cjs/components/TextField/_size/base.js +0 -10
  409. package/styled-components/cjs/components/TextField/_view/base.js +0 -10
  410. package/styled-components/es/components/TextField/_disabled/base.js +0 -3
  411. package/styled-components/es/components/TextField/_label-placement/inner.js +0 -4
  412. package/styled-components/es/components/TextField/_label-placement/outer.js +0 -4
  413. package/styled-components/es/components/TextField/_size/base.js +0 -4
  414. package/styled-components/es/components/TextField/_view/base.js +0 -4
  415. package/types/components/TextField/_disabled/base.d.ts.map +0 -1
  416. package/types/components/TextField/_label-placement/base.d.ts.map +0 -1
  417. package/types/components/TextField/_label-placement/index.d.ts.map +0 -1
  418. package/types/components/TextField/_label-placement/inner.d.ts.map +0 -1
  419. package/types/components/TextField/_label-placement/outer.d.ts.map +0 -1
  420. package/types/components/TextField/_size/base.d.ts.map +0 -1
  421. package/types/components/TextField/_view/base.d.ts.map +0 -1
  422. /package/cjs/components/{TextField/_label-placement → Cell/variations/_size}/base_x642ct.css +0 -0
  423. /package/{es/components/TextField → cjs/components/TextField/variations}/_label-placement/base_x642ct.css +0 -0
  424. /package/styled-components/cjs/components/TextField/{_disabled → variations/_disabled}/tokens.json +0 -0
  425. /package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/base.js +0 -0
  426. /package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/index.js +0 -0
  427. /package/styled-components/cjs/components/TextField/{_size → variations/_size}/tokens.json +0 -0
  428. /package/styled-components/cjs/components/TextField/{_view → variations/_view}/tokens.json +0 -0
  429. /package/styled-components/es/components/TextField/{_disabled → variations/_disabled}/tokens.json +0 -0
  430. /package/styled-components/es/components/TextField/{_label-placement → variations/_label-placement}/base.js +0 -0
  431. /package/styled-components/es/components/TextField/{_label-placement → variations/_label-placement}/index.js +0 -0
  432. /package/styled-components/es/components/TextField/{_size → variations/_size}/tokens.json +0 -0
  433. /package/styled-components/es/components/TextField/{_view → variations/_view}/tokens.json +0 -0
  434. /package/types/components/{TextField/_disabled → Cell/variations/_size}/base.d.ts +0 -0
  435. /package/types/components/{TextField/_label-placement → Cell/variations/_stretching}/base.d.ts +0 -0
  436. /package/types/components/{TextField/_size → Cell/variations/_view}/base.d.ts +0 -0
  437. /package/types/components/TextField/{_view → variations/_disabled}/base.d.ts +0 -0
  438. /package/types/components/TextField/{_label-placement → variations/_label-placement}/index.d.ts +0 -0
  439. /package/types/components/TextField/{_label-placement → variations/_label-placement}/inner.d.ts +0 -0
  440. /package/types/components/TextField/{_label-placement → variations/_label-placement}/outer.d.ts +0 -0
@@ -1,7 +1,10 @@
1
1
  /// <reference types="react" />
2
- export declare const Input: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
3
- export declare const InputLabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
2
  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>>;
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
+ 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>>;
6
9
  export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
10
  //# 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":";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
+ {"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,29 +1,41 @@
1
+ export declare const classes: {
2
+ hasChips: string;
3
+ hasEmptyContentLeft: string;
4
+ hasEmptyContentRight: string;
5
+ };
1
6
  export declare const tokens: {
2
7
  color: string;
3
8
  backgroundColor: string;
4
9
  backgroundColorHover: string;
5
10
  backgroundColorFocus: string;
6
- /** Цвет каретки */
7
- caretColor: string;
8
- placeholderColor: string;
9
11
  borderColor: string;
10
12
  borderColorHover: string;
11
13
  borderColorFocus: string;
14
+ /** Цвета для read-only состояния */
15
+ colorReadOnly: string;
16
+ backgroundColorReadOnly: string;
17
+ borderColorReadOnly: string;
18
+ placeholderColorReadOnly: string;
19
+ /** Цвет каретки */
20
+ caretColor: string;
21
+ placeholderColor: string;
12
22
  height: string;
13
23
  borderWidth: string;
14
24
  borderRadius: string;
15
- /** отступ от границы ТextField */
25
+ /** Отступ от границы ТextField */
16
26
  padding: string;
17
- paddingWithContent: string;
18
- contentOffset: string;
27
+ paddingWithChips: string;
28
+ leftContentMargin: string;
29
+ rightContentMargin: string;
19
30
  fontFamily: string;
20
31
  fontStyle: string;
21
32
  fontSize: string;
22
33
  fontWeight: string;
23
34
  letterSpacing: string;
24
35
  lineHeight: string;
25
- /** Цвет подписи */
36
+ /** Токены лейбла */
26
37
  labelColor: string;
38
+ labelColorReadOnly: string;
27
39
  labelOffset: string;
28
40
  labelFontFamily: string;
29
41
  labelFontStyle: string;
@@ -37,7 +49,10 @@ export declare const tokens: {
37
49
  labelInnerFontWeight: string;
38
50
  labelInnerLetterSpacing: string;
39
51
  labelInnerLineHeight: string;
52
+ labelInnerPadding: string;
53
+ contentLabelInnerPadding: string;
40
54
  leftHelperColor: string;
55
+ leftHelperColorReadOnly: string;
41
56
  leftHelperOffset: string;
42
57
  leftHelperFontFamily: string;
43
58
  leftHelperFontStyle: string;
@@ -45,8 +60,42 @@ export declare const tokens: {
45
60
  leftHelperFontWeight: string;
46
61
  leftHelperLetterSpacing: string;
47
62
  leftHelperLineHeight: string;
48
- contentColor: string;
49
63
  /** Прозрачность для всего компонента в состоянии disabled */
50
64
  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;
51
100
  };
52
101
  //# 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,MAAM;;;;;IAKf,mBAAmB;;;;;;;;;IAUnB,kCAAkC;;;;;;;;;;IAelC,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;IAgCnB,6DAA6D;;CAEhE,CAAC"}
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,5 +1,10 @@
1
1
  import type { InputHTMLAttributes, KeyboardEvent } from 'react';
2
- import type { Filter } from '../../engines/types';
2
+ export declare type TextFieldPrimitiveValue = string | number | boolean;
3
+ export declare type ChipValues = {
4
+ id: string;
5
+ text: TextFieldPrimitiveValue;
6
+ };
7
+ export declare type EnumerationType = 'plain' | 'chip';
3
8
  export interface TextFieldPropsBase {
4
9
  /**
5
10
  * Метка-подпись к элементу
@@ -21,10 +26,23 @@ export interface TextFieldPropsBase {
21
26
  * Слот для контента справа.
22
27
  */
23
28
  contentRight?: React.ReactElement;
29
+ /**
30
+ * Тип перечисления значений.
31
+ * Варианты: plain, chips
32
+ */
33
+ enumerationType?: EnumerationType;
34
+ /**
35
+ * Выбранные значения.
36
+ */
37
+ values?: Array<TextFieldPrimitiveValue>;
24
38
  /**
25
39
  * Callback по нажатию Enter
26
40
  */
27
41
  onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
42
+ /**
43
+ * Обработчик изменения выбранных значений.
44
+ */
45
+ onChangeChips?: (value: Array<TextFieldPrimitiveValue>) => void;
28
46
  }
29
47
  export interface TextFieldPropsVariations extends TextFieldPropsBase {
30
48
  /**
@@ -35,6 +53,15 @@ export interface TextFieldPropsVariations extends TextFieldPropsBase {
35
53
  * Вид контрола.
36
54
  */
37
55
  view?: string;
56
+ /**
57
+ * Компонент доступен только для чтения.
58
+ */
59
+ readOnly?: boolean;
60
+ /**
61
+ * Компонент неактивен.
62
+ */
63
+ disabled?: boolean;
64
+ }
65
+ export interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, TextFieldPropsVariations {
38
66
  }
39
- export declare type TextFieldProps = Filter<InputHTMLAttributes<HTMLInputElement>, 'size'> & TextFieldPropsVariations;
40
67
  //# sourceMappingURL=TextField.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/E;AAED,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB;IAChE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,wBAAwB,CAAC"}
1
+ {"version":3,"file":"TextField.types.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEhE,oBAAY,uBAAuB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEhE,oBAAY,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,oBAAY,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5E;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;CACnE;AAED,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB;IAChE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,wBAAwB;CAAG"}
@@ -0,0 +1,2 @@
1
+ export { useKeyNavigation } from './useKeyNavigation';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { ChangeEvent, KeyboardEvent } from 'react';
2
+ import type { UseKeyNavigationProps } from './useKeyNavigation.types';
3
+ export declare const Keys: {
4
+ Enter: string;
5
+ Tab: string;
6
+ Escape: string;
7
+ ArrowLeft: string;
8
+ ArrowRight: string;
9
+ Backspace: string;
10
+ };
11
+ export declare const useKeyNavigation: ({ controlledRefs: { chipsRefs, contentRef, inputRef }, disabled, readOnly, chips, enumerationType, updateChips, onChange, onSearch, }: UseKeyNavigationProps) => {
12
+ readonly handleInputKeydown: (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => void;
13
+ readonly handleChipKeyDown: (event: KeyboardEvent<HTMLButtonElement>, chipId: string) => void;
14
+ readonly onChipClear: (clearId: string) => void;
15
+ readonly handleContentKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
16
+ };
17
+ //# sourceMappingURL=useKeyNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKeyNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/useKeyNavigation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEtE,eAAO,MAAM,IAAI;;;;;;;CAOhB,CAAC;AAEF,eAAO,MAAM,gBAAgB,0IAS1B,qBAAqB;yCAGe,YAAY,gBAAgB,CAAC,GAAG,cAAc,gBAAgB,CAAC;wCA8ChE,cAAc,iBAAiB,CAAC,UAAU,MAAM;oCAXpD,MAAM;2CAqBC,cAAc,cAAc,CAAC;CAkDrE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { MutableRefObject, KeyboardEvent, ChangeEvent } from 'react';
2
+ import type { ChipValues, EnumerationType, TextFieldPrimitiveValue } from '../TextField.types';
3
+ export interface ControlledRefs {
4
+ chipsRefs: MutableRefObject<Array<HTMLButtonElement>>;
5
+ inputRef?: MutableRefObject<HTMLInputElement | null>;
6
+ contentRef?: MutableRefObject<HTMLDivElement | null>;
7
+ }
8
+ export interface UseKeyNavigationProps {
9
+ controlledRefs: ControlledRefs;
10
+ disabled: boolean;
11
+ readOnly: boolean;
12
+ chips: Array<ChipValues>;
13
+ enumerationType: EnumerationType;
14
+ updateChips: (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => void;
15
+ onSearch?: (value: string, event?: KeyboardEvent<HTMLInputElement>) => void;
16
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
17
+ }
18
+ //# sourceMappingURL=useKeyNavigation.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKeyNavigation.types.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/useKeyNavigation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE1E,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE/F,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;IAC9F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC7D"}
@@ -1,5 +1,6 @@
1
- export { labelPlacement_inner as textField_labelPlacement_inner } from './_label-placement/inner';
2
- export { labelPlacement_outer as textField_labelPlacement_outer } from './_label-placement/outer';
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';
3
3
  export { textFieldRoot, textFieldConfig } from './TextField';
4
4
  export { tokens as textFieldTokens } from './TextField.tokens';
5
+ export type { TextFieldProps } from './TextField.types';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAClG,OAAO,EAAE,oBAAoB,IAAI,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAElG,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC7G,OAAO,EAAE,oBAAoB,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE7G,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC/D,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { TextFieldChipProps } from './TextFieldChip.types';
3
+ /**
4
+ * Чип, отображающий выбранный элемент
5
+ */
6
+ export declare const TextFieldChip: React.ForwardRefExoticComponent<TextFieldChipProps & React.RefAttributes<HTMLButtonElement>>;
7
+ //# sourceMappingURL=TextFieldChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextFieldChip.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,aAAa,8FAqBzB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
3
+ text?: string | undefined;
4
+ contentLeft?: import("react").ReactNode;
5
+ contentRight?: import("react").ReactNode;
6
+ contentClearButton?: import("react").ReactNode;
7
+ disabled?: boolean | undefined;
8
+ readOnly?: boolean | undefined;
9
+ size?: ("m" | "s" | "xs" | "l") | undefined;
10
+ view?: ("secondary" | "default" | "positive") | undefined;
11
+ onClear?: (() => void) | undefined;
12
+ } & {
13
+ children?: import("react").ReactNode;
14
+ } & import("react").RefAttributes<HTMLButtonElement>>;
15
+ //# sourceMappingURL=TextFieldChip.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextFieldChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDA2CtB,CAAC"}
@@ -0,0 +1,37 @@
1
+ /// <reference types="react" />
2
+ import type { TextFieldPrimitiveValue } from '../../TextField.types';
3
+ export interface TextFieldChipProps {
4
+ /**
5
+ * ID для чипа.
6
+ */
7
+ chipId: string;
8
+ /**
9
+ * Отображаемый текст.
10
+ */
11
+ text: TextFieldPrimitiveValue;
12
+ /**
13
+ * Выбранное значение.
14
+ */
15
+ value: TextFieldPrimitiveValue;
16
+ /**
17
+ * Компонент неактивен
18
+ */
19
+ disabled?: boolean;
20
+ /**
21
+ * Элемент формы не может изменяться пользователем
22
+ */
23
+ readOnly?: boolean;
24
+ /**
25
+ * Обработчик удаления выбранного значения.
26
+ */
27
+ onClear: (id: string) => void;
28
+ /**
29
+ * Обработчик клика на выбранное значение.
30
+ */
31
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
32
+ /**
33
+ * Обработчик нажатия клавиши.
34
+ */
35
+ onKeyDown?: (event: React.KeyboardEvent<HTMLButtonElement>, chipId: string) => void;
36
+ }
37
+ //# sourceMappingURL=TextFieldChip.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextFieldChip.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACvF"}
@@ -0,0 +1,2 @@
1
+ export { TextFieldChip } from './TextFieldChip/TextFieldChip';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_disabled/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/base.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/inner.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CA4ChC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outer.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/outer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CAMhC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_read-only/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA8BhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAgDhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAmChB,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const config: {
2
+ variations: {
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ };
6
+ size: {
7
+ l: import("@linaria/core").LinariaClassName;
8
+ m: import("@linaria/core").LinariaClassName;
9
+ s: import("@linaria/core").LinariaClassName;
10
+ xs: import("@linaria/core").LinariaClassName;
11
+ };
12
+ };
13
+ };
14
+ //# sourceMappingURL=Cell.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;CA8IlB,CAAC"}
@@ -0,0 +1,45 @@
1
+ /// <reference types="react" />
2
+ import { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } from '../../../../components/Cell';
3
+ export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
+ view: {
5
+ default: import("@linaria/core").LinariaClassName;
6
+ };
7
+ size: {
8
+ l: import("@linaria/core").LinariaClassName;
9
+ m: import("@linaria/core").LinariaClassName;
10
+ s: import("@linaria/core").LinariaClassName;
11
+ xs: import("@linaria/core").LinariaClassName;
12
+ };
13
+ }> & (({
14
+ size?: string | undefined;
15
+ view: string;
16
+ contentLeft?: import("react").ReactNode;
17
+ contentRight?: import("react").ReactNode;
18
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
19
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
+ stretching?: "fixed" | "auto" | "filled" | undefined;
21
+ content?: import("react").ReactNode;
22
+ description?: string | undefined;
23
+ } & {
24
+ title?: string | undefined;
25
+ subtitle?: string | undefined;
26
+ label?: string | undefined;
27
+ children?: undefined;
28
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
29
+ size?: string | undefined;
30
+ view: string;
31
+ contentLeft?: import("react").ReactNode;
32
+ contentRight?: import("react").ReactNode;
33
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
+ stretching?: "fixed" | "auto" | "filled" | undefined;
36
+ content?: import("react").ReactNode;
37
+ description?: string | undefined;
38
+ } & {
39
+ title?: undefined;
40
+ subtitle?: undefined;
41
+ label?: undefined;
42
+ children?: import("react").ReactNode;
43
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
44
+ export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
45
+ //# sourceMappingURL=Cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -6,7 +6,6 @@ export declare const config: {
6
6
  };
7
7
  variations: {
8
8
  view: {
9
- default: import("@linaria/core").LinariaClassName;
10
9
  primary: import("@linaria/core").LinariaClassName;
11
10
  secondary: import("@linaria/core").LinariaClassName;
12
11
  positive: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CAkMlB,CAAC"}
1
+ {"version":3,"file":"Chip.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CA8KlB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Chip: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  view: {
4
- default: import("@linaria/core").LinariaClassName;
5
4
  primary: import("@linaria/core").LinariaClassName;
6
5
  secondary: import("@linaria/core").LinariaClassName;
7
6
  positive: import("@linaria/core").LinariaClassName;
@@ -18,5 +17,17 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
18
17
  focused: {
19
18
  true: import("@linaria/core").LinariaClassName;
20
19
  };
21
- }> & import("../../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
20
+ }> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
21
+ text?: string | undefined;
22
+ contentLeft?: import("react").ReactNode;
23
+ contentRight?: import("react").ReactNode;
24
+ contentClearButton?: import("react").ReactNode;
25
+ disabled?: boolean | undefined;
26
+ readOnly?: boolean | undefined;
27
+ size?: ("m" | "s" | "xs" | "l") | undefined;
28
+ view?: ("secondary" | "default" | "positive") | undefined;
29
+ onClear?: (() => void) | undefined;
30
+ } & {
31
+ children?: import("react").ReactNode;
32
+ } & import("react").RefAttributes<HTMLButtonElement>>;
22
33
  //# sourceMappingURL=Chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;wGAA0B,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,CAAC"}
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
12
+ }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
13
13
  valueType?: "single" | undefined;
14
14
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
15
15
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
16
- } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
16
+ } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
17
17
  valueType: "multiple";
18
18
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
19
19
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
@@ -33,7 +33,7 @@ declare const mergedConfig: import("../../../../engines").ComponentConfig<string
33
33
  };
34
34
  }>, import("react").HTMLAttributes<HTMLDivElement> & {
35
35
  size: "m" | "s" | "l";
36
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
36
+ view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
37
37
  } & import("react").RefAttributes<HTMLDivElement>>;
38
38
  declare const Indicator: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
39
39
  view: {
@@ -53,7 +53,7 @@ declare const Indicator: import("react").FunctionComponent<import("../../../../e
53
53
  };
54
54
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
55
55
  size: "m" | "s" | "l";
56
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
56
+ view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
57
57
  } & import("react").RefAttributes<HTMLDivElement>>;
58
58
  export { Indicator, mergedConfig };
59
59
  //# sourceMappingURL=Indicator.d.ts.map
@@ -0,0 +1,32 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ labelPlacement: string;
6
+ };
7
+ variations: {
8
+ view: {
9
+ default: import("@linaria/core").LinariaClassName;
10
+ positive: import("@linaria/core").LinariaClassName;
11
+ warning: import("@linaria/core").LinariaClassName;
12
+ negative: import("@linaria/core").LinariaClassName;
13
+ };
14
+ size: {
15
+ l: import("@linaria/core").LinariaClassName;
16
+ m: import("@linaria/core").LinariaClassName;
17
+ s: import("@linaria/core").LinariaClassName;
18
+ xs: import("@linaria/core").LinariaClassName;
19
+ };
20
+ labelPlacement: {
21
+ inner: import("@linaria/core").LinariaClassName[];
22
+ outer: import("@linaria/core").LinariaClassName[];
23
+ };
24
+ disabled: {
25
+ true: import("@linaria/core").LinariaClassName;
26
+ };
27
+ readOnly: {
28
+ true: import("@linaria/core").LinariaClassName;
29
+ };
30
+ };
31
+ };
32
+ //# sourceMappingURL=TextField.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiWlB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ export declare const TextField: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ positive: import("@linaria/core").LinariaClassName;
6
+ warning: import("@linaria/core").LinariaClassName;
7
+ negative: import("@linaria/core").LinariaClassName;
8
+ };
9
+ size: {
10
+ l: import("@linaria/core").LinariaClassName;
11
+ m: import("@linaria/core").LinariaClassName;
12
+ s: import("@linaria/core").LinariaClassName;
13
+ xs: import("@linaria/core").LinariaClassName;
14
+ };
15
+ labelPlacement: {
16
+ inner: import("@linaria/core").LinariaClassName[];
17
+ outer: import("@linaria/core").LinariaClassName[];
18
+ };
19
+ disabled: {
20
+ true: import("@linaria/core").LinariaClassName;
21
+ };
22
+ readOnly: {
23
+ true: import("@linaria/core").LinariaClassName;
24
+ };
25
+ }> & import("../../../../components/TextField").TextFieldProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ //# sourceMappingURL=TextField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;+GAA0B,CAAC"}