@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
@@ -0,0 +1,123 @@
1
+ import React, { ComponentProps, useState } from 'react';
2
+ import type { StoryObj, Meta } from '@storybook/react';
3
+ import { action } from '@storybook/addon-actions';
4
+ import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
5
+
6
+ import { WithTheme } from '../../../_helpers';
7
+
8
+ import { TextField } from './TextField';
9
+
10
+ const onChange = action('onChange');
11
+ const onFocus = action('onFocus');
12
+ const onBlur = action('onBlur');
13
+ const onSearch = action('onSearch');
14
+
15
+ const sizes = ['l', 'm', 's', 'xs'];
16
+ const views = ['default', 'positive', 'warning', 'negative'];
17
+ const enumerationTypes = ['plain', 'chip'];
18
+
19
+ const meta: Meta<typeof TextField> = {
20
+ title: 'sds_engineer/TextField',
21
+ component: TextField,
22
+ decorators: [WithTheme],
23
+ argTypes: {
24
+ view: {
25
+ options: views,
26
+ control: {
27
+ type: 'select',
28
+ },
29
+ },
30
+ maxLength: {
31
+ control: {
32
+ type: 'number',
33
+ },
34
+ },
35
+ enumerationType: {
36
+ options: enumerationTypes,
37
+ control: {
38
+ type: 'select',
39
+ },
40
+ },
41
+ size: {
42
+ options: sizes,
43
+ control: {
44
+ type: 'inline-radio',
45
+ },
46
+ },
47
+ },
48
+ };
49
+
50
+ export default meta;
51
+
52
+ type StoryPropsDefault = Omit<
53
+ ComponentProps<typeof TextField>,
54
+ | 'helperBlock'
55
+ | 'contentLeft'
56
+ | 'htmlSize'
57
+ | 'contentRight'
58
+ | 'type'
59
+ | 'name'
60
+ | 'onFocus'
61
+ | 'onBlur'
62
+ | 'onChange'
63
+ | 'value'
64
+ | 'checked'
65
+ | 'maxLength'
66
+ | 'minLength'
67
+ | 'required'
68
+ > & {
69
+ 'storybook:contentLeft': boolean;
70
+ 'storybook:contentRight': boolean;
71
+ };
72
+
73
+ const StoryDefault = ({
74
+ 'storybook:contentLeft': enableContentLeft,
75
+ 'storybook:contentRight': enableContentRight,
76
+ view,
77
+ ...rest
78
+ }: StoryPropsDefault) => {
79
+ const [text, setText] = useState('Значение поля');
80
+
81
+ return (
82
+ <TextField
83
+ {...rest}
84
+ value={text}
85
+ contentLeft={enableContentLeft ? <IconPlaceholder /> : undefined}
86
+ contentRight={enableContentRight ? <IconPlaceholder /> : undefined}
87
+ view={view}
88
+ onChange={(_, value) => {
89
+ setText(value);
90
+ onChange(value);
91
+ }}
92
+ onFocus={onFocus}
93
+ onBlur={onBlur}
94
+ onSearch={onSearch}
95
+ />
96
+ );
97
+ };
98
+
99
+ export const Default: StoryObj<StoryPropsDefault> = {
100
+ argTypes: {
101
+ labelPlacement: {
102
+ options: ['outer', 'inner'],
103
+ control: {
104
+ type: 'inline-radio',
105
+ },
106
+ },
107
+ },
108
+ args: {
109
+ id: 'example-text-field',
110
+ size: 'l',
111
+ view: 'default',
112
+ label: 'Лейбл',
113
+ labelPlacement: 'outer',
114
+ placeholder: 'Заполните поле',
115
+ leftHelper: 'Подсказка к полю',
116
+ enumerationType: 'plain',
117
+ disabled: false,
118
+ readOnly: false,
119
+ 'storybook:contentLeft': true,
120
+ 'storybook:contentRight': true,
121
+ },
122
+ render: (args) => <StoryDefault {...args} />,
123
+ };
@@ -6,6 +6,7 @@ export * from './hooks';
6
6
  export * from './components/Button';
7
7
  export * from './components/ButtonGroup';
8
8
  export * from './components/Chip';
9
+ export * from './components/Cell';
9
10
  export * from './components/Link';
10
11
  export * from './components/Spinner';
11
12
  export * from './components/Checkbox';
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { RootProps } from '../../engines';
3
+ import type { CellProps } from './Cell.types';
4
+ export declare const cellRoot: (Root: RootProps<HTMLDivElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLDivElement>>;
5
+ export declare const cellConfig: {
6
+ name: string;
7
+ tag: string;
8
+ layout: (Root: RootProps<HTMLDivElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLDivElement>>;
9
+ base: import("@linaria/core").LinariaClassName;
10
+ variations: {
11
+ view: {
12
+ css: import("@linaria/core").LinariaClassName;
13
+ };
14
+ size: {
15
+ css: import("@linaria/core").LinariaClassName;
16
+ };
17
+ };
18
+ defaults: {
19
+ view: string;
20
+ size: string;
21
+ };
22
+ };
23
+ //# sourceMappingURL=Cell.d.ts.map
@@ -0,0 +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,qFAwC9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA1CQ,UAAU,cAAc,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA2DlE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { AlignProp } from './Cell.types';
2
+ export declare const base: import("@linaria/core").LinariaClassName;
3
+ export declare const CellContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const CellContent: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const CellLeft: import("styled-components").StyledComponent<"div", any, {
6
+ align: AlignProp;
7
+ }, never>;
8
+ export declare const CellRight: import("styled-components").StyledComponent<"div", any, {
9
+ align: AlignProp;
10
+ }, never>;
11
+ //# sourceMappingURL=Cell.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.styles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAS9C,eAAO,MAAM,IAAI,0CAUhB,CAAC;AAEF,eAAO,MAAM,kBAAkB,oEAO9B,CAAC;AAEF,eAAO,MAAM,WAAW,oEAIvB,CAAC;AAEF,eAAO,MAAM,QAAQ;WAAuB,SAAS;SAGpD,CAAC;AAEF,eAAO,MAAM,SAAS;WAAuB,SAAS;SAIrD,CAAC"}
@@ -0,0 +1,43 @@
1
+ export declare const tokens: {
2
+ cellColor: string;
3
+ cellBackgroundColor: string;
4
+ cellPadding: string;
5
+ cellPaddingLeftContent: string;
6
+ cellPaddingContent: string;
7
+ cellPaddingRightContent: string;
8
+ cellTextboxGap: string;
9
+ cellGap: string;
10
+ cellWidth: string;
11
+ cellLabelColor: string;
12
+ cellLabelFontFamily: string;
13
+ cellLabelFontSize: string;
14
+ cellLabelFontStyle: string;
15
+ cellLabelFontWeight: string;
16
+ cellLabelLetterSpacing: string;
17
+ cellLabelLineHeight: string;
18
+ cellTitleColor: string;
19
+ cellTitleFontFamily: string;
20
+ cellTitleFontSize: string;
21
+ cellTitleFontStyle: string;
22
+ cellTitleFontWeight: string;
23
+ cellTitleLetterSpacing: string;
24
+ cellTitleLineHeight: string;
25
+ cellSubtitleColor: string;
26
+ cellSubtitleFontFamily: string;
27
+ cellSubtitleFontSize: string;
28
+ cellSubtitleFontStyle: string;
29
+ cellSubtitleFontWeight: string;
30
+ cellSubtitleLetterSpacing: string;
31
+ cellSubtitleLineHeight: string;
32
+ };
33
+ export declare const classes: {
34
+ autoStretching: string;
35
+ filledStretching: string;
36
+ fixedStretching: string;
37
+ cellWrapper: string;
38
+ cellRoot: string;
39
+ cellContent: string;
40
+ cellLeftContent: string;
41
+ cellRightContent: string;
42
+ };
43
+ //# sourceMappingURL=Cell.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;CAUnB,CAAC"}
@@ -0,0 +1,51 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { CellTextboxProps } from './ui/CellTextbox/CellTextbox.types';
3
+ export declare type AlignProp = 'center' | 'top' | 'bottom';
4
+ declare type CustomCellProps = {
5
+ /**
6
+ * Размер
7
+ */
8
+ size?: string;
9
+ /**
10
+ * Размер
11
+ */
12
+ view: string;
13
+ /**
14
+ * Слот для контента слева, например `Icon`
15
+ */
16
+ contentLeft?: ReactNode;
17
+ /**
18
+ * Слот для контента спарва, например `Icon`
19
+ */
20
+ contentRight?: ReactNode;
21
+ /**
22
+ * Вертикальное выравнивание контента слева.
23
+ */
24
+ alignContentLeft?: AlignProp;
25
+ /**
26
+ * Вертикальное выравнивание контента справа.
27
+ */
28
+ alignContentRight?: AlignProp;
29
+ /**
30
+ * Ширина cell
31
+ * @description
32
+ * Может принимать три значения:
33
+ * fixed - кнопка фиксированной ширины;
34
+ * filled - кнопка занимает всю доступную ширину
35
+ * auto - кнопка растягивается в зависимости от контента
36
+ */
37
+ stretching?: 'fixed' | 'filled' | 'auto';
38
+ /**
39
+ * Свойство устарело, вместо этого нужно использовать contentLeft
40
+ * @deprecated
41
+ */
42
+ content?: ReactNode;
43
+ /**
44
+ * Свойство устарело, вместо этого нужно использовать title
45
+ * @deprecated
46
+ */
47
+ description?: string;
48
+ };
49
+ export declare type CellProps = CustomCellProps & CellTextboxProps;
50
+ export {};
51
+ //# sourceMappingURL=Cell.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.types.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,oBAAY,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAE9B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { CellTextboxLabel } from './ui/CellTextboxLabel/CellTextboxLabel';
2
+ export { CellTextboxTitle } from './ui/CellTextboxTitle/CellTextboxTitle';
3
+ export { CellTextboxSubtitle } from './ui/CellTextboxSubtitle/CellTextboxSubtitle';
4
+ export { cellRoot, cellConfig } from './Cell';
5
+ export type { CellProps } from './Cell.types';
6
+ export { tokens as cellTokens, classes as cellClasses } from './Cell.tokens';
7
+ export { CellTextbox } from './ui/CellTextbox/CellTextbox';
8
+ export type { CellTextboxProps } from './ui/CellTextbox/CellTextbox.types';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import type { CellTextboxProps } from './CellTextbox.types';
3
+ export declare const CellTextbox: React.FC<HTMLAttributes<HTMLDivElement> & CellTextboxProps>;
4
+ //# sourceMappingURL=CellTextbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAmBnF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const CellTextboxStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextbox.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oEAI7B,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ declare type CustomTextboxProps = {
3
+ /**
4
+ * Слот для Title
5
+ */
6
+ title?: string;
7
+ /**
8
+ * Слот для Subtitle
9
+ */
10
+ subtitle?: string;
11
+ /**
12
+ * Слот для Label
13
+ */
14
+ label?: string;
15
+ children?: never;
16
+ } | {
17
+ /**
18
+ * Слот для Title
19
+ */
20
+ title?: never;
21
+ /**
22
+ * Слот для Subtitle
23
+ */
24
+ subtitle?: never;
25
+ /**
26
+ * Слот для Label
27
+ */
28
+ label?: never;
29
+ children?: ReactNode;
30
+ };
31
+ export declare type CellTextboxProps = CustomTextboxProps & HTMLAttributes<HTMLDivElement>;
32
+ export {};
33
+ //# sourceMappingURL=CellTextbox.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,gBAAgB,GAAG,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=CellTextboxLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAErE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const StyledTextboxLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextboxLabel.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oEAQ9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=CellTextboxSubtitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAExE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const StyledTextboxSubtitle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextboxSubtitle.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,oEAQjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=CellTextboxTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAErE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const StyledTextboxTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextboxTitle.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oEAQ9B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_stretching/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAYhB,CAAC"}
@@ -1,11 +1,35 @@
1
1
  import React from 'react';
2
2
  import type { RootProps } from '../../engines';
3
3
  import type { ChipProps } from './Chip.types';
4
- export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLButtonElement>>;
4
+ export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
5
+ text?: string | undefined;
6
+ contentLeft?: React.ReactNode;
7
+ contentRight?: React.ReactNode;
8
+ contentClearButton?: React.ReactNode;
9
+ disabled?: boolean | undefined;
10
+ readOnly?: boolean | undefined;
11
+ size?: ("m" | "s" | "xs" | "l") | undefined;
12
+ view?: ("secondary" | "default" | "positive") | undefined;
13
+ onClear?: (() => void) | undefined;
14
+ } & {
15
+ children?: React.ReactNode;
16
+ } & React.RefAttributes<HTMLButtonElement>>;
5
17
  export declare const chipConfig: {
6
18
  name: string;
7
19
  tag: string;
8
- layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLButtonElement>>;
20
+ layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
21
+ text?: string | undefined;
22
+ contentLeft?: React.ReactNode;
23
+ contentRight?: React.ReactNode;
24
+ contentClearButton?: 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?: React.ReactNode;
32
+ } & React.RefAttributes<HTMLButtonElement>>;
9
33
  base: import("@linaria/core").LinariaClassName;
10
34
  variations: {
11
35
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC,wFAsDhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAxDQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAoFrE,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;2CAsDhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAxDQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFrE,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import type { ButtonHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
2
+ declare type ChipSize = 'l' | 'm' | 's' | 'xs';
3
+ declare type ChipView = 'default' | 'secondary' | 'positive';
2
4
  declare type CustomChipProps = {
3
5
  /**
4
6
  * Текстовая надпись
@@ -33,19 +35,18 @@ declare type CustomChipProps = {
33
35
  * @default
34
36
  * m
35
37
  */
36
- size?: string;
38
+ size?: ChipSize;
37
39
  /**
38
40
  * Вид Chip
39
41
  * @default
40
- * primary
42
+ * default
41
43
  */
42
- view?: string;
44
+ view?: ChipView;
43
45
  /**
44
46
  * Коллбек при взаимодействии с элементом
45
47
  */
46
48
  onClear?: () => void;
47
49
  } & PropsWithChildren;
48
- export interface ChipProps extends ButtonHTMLAttributes<HTMLButtonElement>, CustomChipProps {
49
- }
50
+ export declare type ChipProps = ButtonHTMLAttributes<HTMLButtonElement> & CustomChipProps;
50
51
  export {};
51
52
  //# sourceMappingURL=Chip.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,iBAAiB,CAAC;AAEtB,MAAM,WAAW,SAAU,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,eAAe;CAAG"}
1
+ {"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AACvC,aAAK,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAErD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,iBAAiB,CAAC;AAEtB,oBAAY,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAC"}
@@ -1,3 +1,15 @@
1
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("../../../Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
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>>;
3
15
  //# sourceMappingURL=ComboboxChip.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,6PAwCtB,CAAC"}
1
+ {"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDAwCtB,CAAC"}
@@ -3,14 +3,14 @@ import { RootProps } from '../../engines';
3
3
  import { IndicatorProps } from './Indicator.types';
4
4
  export declare const indicatorRoot: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
5
5
  size: "m" | "s" | "l";
6
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
6
+ view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
7
7
  } & React.RefAttributes<HTMLDivElement>>;
8
8
  export declare const indicatorConfig: {
9
9
  name: string;
10
10
  tag: string;
11
11
  layout: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
12
12
  size: "m" | "s" | "l";
13
- view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
13
+ view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
14
14
  } & React.RefAttributes<HTMLDivElement>>;
15
15
  base: import("@linaria/core").LinariaClassName;
16
16
  variations: {
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,2FAiK1E,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBAnKQ,UAAU,cAAc,EAAE,eAAe,CAAC;;;;;;;;;;;;;;;;;CAuL9E,CAAC"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,2FAoK1E,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBAtKQ,UAAU,cAAc,EAAE,eAAe,CAAC;;;;;;;;;;;;;;;;;CA0L9E,CAAC"}
@@ -1,3 +1,15 @@
1
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("../../../Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
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>>;
3
15
  //# sourceMappingURL=SelectChip.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,6PAwCtB,CAAC"}
1
+ {"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDAwCtB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- import type { LabelHTMLAttributes } from 'react';
3
2
  import type { RootProps } from '../../engines';
4
3
  import type { TextFieldProps } from './TextField.types';
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>>;
4
+ export declare const base: import("@linaria/core").LinariaClassName;
5
+ export declare const textFieldRoot: (Root: RootProps<HTMLDivElement, TextFieldProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLDivElement>>;
6
6
  export declare const textFieldConfig: {
7
7
  name: string;
8
8
  tag: string;
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>>;
9
+ layout: (Root: RootProps<HTMLDivElement, TextFieldProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLDivElement>>;
10
10
  base: import("@linaria/core").LinariaClassName;
11
11
  variations: {
12
12
  view: {
@@ -19,12 +19,17 @@ 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
+ };
22
26
  labelPlacement: {
23
27
  css: import("@linaria/core").LinariaClassName;
24
28
  };
25
29
  };
26
30
  defaults: {
27
31
  size: string;
32
+ view: string;
28
33
  };
29
34
  };
30
35
  //# 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,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
+ {"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,0FA4LvE,CAAC;AAEP,eAAO,MAAM,eAAe;;;mBA9LQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA0N5E,CAAC"}