@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,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyledChip = void 0;
7
+ var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
+ var _Chip = /*#__PURE__*/require("../../../Chip");
9
+ var _engines = /*#__PURE__*/require("../../../../engines");
10
+ var _TextField = /*#__PURE__*/require("../../TextField.tokens");
11
+ var _mixins = /*#__PURE__*/require("../../../../mixins");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ // issue #823
14
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Chip.chipConfig);
15
+ var Chip = /*#__PURE__*/(0, _engines.component)(mergedConfig);
16
+
17
+ // NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части
18
+ var StyledChip = exports.StyledChip = /*#__PURE__*/(0, _styledComponents["default"])(Chip).withConfig({
19
+ componentId: "plasma-new-hope__sc-1mypbcr-0"
20
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");scroll-snap-align:center;scroll-snap-stop:normal;", " &[readonly]{opacity:var(", ");}"], _Chip.chipTokens.color, _TextField.tokens.chipColor, _Chip.chipTokens.background, _TextField.tokens.chipBackground, _Chip.chipTokens.colorHover, _TextField.tokens.chipColorHover, _Chip.chipTokens.backgroundHover, _TextField.tokens.chipBackgroundHover, _Chip.chipTokens.colorActive, _TextField.tokens.chipColorActive, _Chip.chipTokens.backgroundActive, _TextField.tokens.chipBackgroundActive, _Chip.chipTokens.backgroundReadOnly, _TextField.tokens.chipBackgroundReadOnly, _Chip.chipTokens.colorReadOnly, _TextField.tokens.chipColorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _TextField.tokens.chipBackgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover, _TextField.tokens.chipColorReadOnlyHover, _Chip.chipTokens.borderRadius, _TextField.tokens.chipBorderRadius, _Chip.chipTokens.width, _TextField.tokens.chipWidth, _Chip.chipTokens.height, _TextField.tokens.chipHeight, _Chip.chipTokens.paddingRight, _TextField.tokens.chipPaddingRight, _Chip.chipTokens.paddingLeft, _TextField.tokens.chipPaddingLeft, _Chip.chipTokens.fontFamily, _TextField.tokens.chipFontFamily, _Chip.chipTokens.fontSize, _TextField.tokens.chipFontSize, _Chip.chipTokens.fontStyle, _TextField.tokens.chipFontStyle, _Chip.chipTokens.fontWeight, _TextField.tokens.chipFontWeight, _Chip.chipTokens.letterSpacing, _TextField.tokens.chipLetterSpacing, _Chip.chipTokens.lineHeight, _TextField.tokens.chipLineHeight, _Chip.chipTokens.clearContentMarginLeft, _TextField.tokens.chipClearContentMarginLeft, _Chip.chipTokens.clearContentMarginRight, _TextField.tokens.chipClearContentMarginRight, _Chip.chipTokens.scaleHover, _TextField.tokens.chipScaleHover, _Chip.chipTokens.scaleActive, _TextField.tokens.chipScaleActive, _Chip.chipTokens.closeIconSize, _TextField.tokens.chipCloseIconSize, _Chip.chipTokens.closeIconColor, _TextField.tokens.chipCloseIconColor, _Chip.chipTokens.focusColor, _TextField.tokens.focusColor, /*#__PURE__*/(0, _mixins.addFocus)({
21
+ outlineOffset: '0.125rem',
22
+ outlineSize: '0.0625rem',
23
+ outlineRadius: /*#__PURE__*/"calc(var(".concat(_TextField.tokens.chipBorderRadius, ") - 0.1rem)"),
24
+ outlineColor: /*#__PURE__*/"var(".concat(_TextField.tokens.focusColor, ")")
25
+ }), _TextField.tokens.chipOpacityReadonly);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "TextFieldChip", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _TextFieldChip.TextFieldChip;
10
+ }
11
+ });
12
+ var _TextFieldChip = /*#__PURE__*/require("./TextFieldChip/TextFieldChip");
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _TextField = /*#__PURE__*/require("../../TextField.tokens");
9
+ var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[disabled]{opacity:var(", ");cursor:not-allowed;", "{cursor:not-allowed;min-width:unset;}}"], _TextField.tokens.disabledOpacity, _TextField2.Input);
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.labelPlacement_inner = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _TextField = /*#__PURE__*/require("../../TextField.styles");
9
+ var _TextField2 = /*#__PURE__*/require("../../TextField.tokens");
10
+ var labelPlacement_inner = exports.labelPlacement_inner = /*#__PURE__*/(0, _styledComponents.css)(["", "{padding:var(", ");}", ":focus ~ ", ",", ":not(:placeholder-shown) ~ ", "{height:auto;padding:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", ":not(:focus)::placeholder{color:transparent;}", ":focus::placeholder{color:transparent;}", "{color:var(", ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;transition:padding 0.1s ease-in-out,height 0s;height:var(", ");padding-top:calc(var(", ") / 4);padding-bottom:calc(var(", ") / 4);}"], _TextField.Input, _TextField2.tokens.contentLabelInnerPadding, _TextField.Input, _TextField.Label, _TextField.Input, _TextField.Label, _TextField2.tokens.labelInnerPadding, _TextField2.tokens.labelInnerFontFamily, _TextField2.tokens.labelInnerFontSize, _TextField2.tokens.labelInnerFontStyle, _TextField2.tokens.labelInnerFontWeight, _TextField2.tokens.labelInnerLetterSpacing, _TextField2.tokens.labelInnerLineHeight, _TextField.Input, _TextField.Input, _TextField.Label, _TextField2.tokens.placeholderColor, _TextField2.tokens.height, _TextField2.tokens.height, _TextField2.tokens.height);
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.labelPlacement_outer = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _TextField = /*#__PURE__*/require("../TextField.styles");
9
- var _TextField2 = /*#__PURE__*/require("../TextField.tokens");
10
- var labelPlacement_outer = exports.labelPlacement_outer = /*#__PURE__*/(0, _styledComponents.css)(["", "{display:block;margin-bottom:var(", ");}"], _TextField.Label, _TextField2.tokens.labelOffset);
8
+ var _TextField = /*#__PURE__*/require("../../TextField.styles");
9
+ var _TextField2 = /*#__PURE__*/require("../../TextField.tokens");
10
+ var labelPlacement_outer = exports.labelPlacement_outer = /*#__PURE__*/(0, _styledComponents.css)(["", "{display:block;margin-bottom:var(", ");color:var(", ");}"], _TextField.Label, _TextField2.tokens.labelOffset, _TextField2.tokens.labelColor);
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _TextField = /*#__PURE__*/require("../../TextField.tokens");
9
+ var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[readonly]{", "{color:var(", ");background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}", ":hover{background-color:var(", ");}", "::placeholder{color:var(", ");}", "{color:var(", ");cursor:default;min-width:unset;}", "{color:var(", ");}", "{color:var(", ");}}"], _TextField2.InputWrapper, _TextField.tokens.colorReadOnly, /*#__PURE__*/String(_TextField.tokens.backgroundColorReadOnly), /*#__PURE__*/String(_TextField.tokens.borderWidth), /*#__PURE__*/String(_TextField.tokens.borderColorReadOnly), _TextField2.InputWrapper, _TextField.tokens.backgroundColorReadOnly, _TextField2.Input, _TextField.tokens.placeholderColorReadOnly, _TextField2.Input, _TextField.tokens.colorReadOnly, _TextField2.LeftHelper, _TextField.tokens.leftHelperColorReadOnly, _TextField2.Label, _TextField.tokens.labelColorReadOnly);
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _TextField = /*#__PURE__*/require("../../TextField.tokens");
9
+ var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{height:var(", ");border-radius:var(", ");padding:var(", ");&.", "{padding-top:var(", ");padding-bottom:var(", ");}&.", "{padding-left:var(", ");}&.", "{padding-right:var(", ");}}", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}"], _TextField2.Input, _TextField.tokens.fontFamily, _TextField.tokens.fontSize, _TextField.tokens.fontStyle, _TextField.tokens.fontWeight, _TextField.tokens.letterSpacing, _TextField.tokens.lineHeight, _TextField2.InputWrapper, _TextField.tokens.height, _TextField.tokens.borderRadius, _TextField.tokens.padding, _TextField.classes.hasChips, _TextField.tokens.paddingWithChips, _TextField.tokens.paddingWithChips, _TextField.classes.hasEmptyContentLeft, _TextField.tokens.paddingWithChips, _TextField.classes.hasEmptyContentRight, _TextField.tokens.paddingWithChips, _TextField2.Label, _TextField.tokens.labelFontFamily, _TextField.tokens.labelFontSize, _TextField.tokens.labelFontStyle, _TextField.tokens.labelFontWeight, _TextField.tokens.labelLetterSpacing, _TextField.tokens.labelLineHeight, _TextField2.LeftHelper, _TextField.tokens.leftHelperOffset, _TextField.tokens.leftHelperFontFamily, _TextField.tokens.leftHelperFontSize, _TextField.tokens.leftHelperFontStyle, _TextField.tokens.leftHelperFontWeight, _TextField.tokens.leftHelperLetterSpacing, _TextField.tokens.leftHelperLineHeight);
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _TextField = /*#__PURE__*/require("../../TextField.tokens");
9
+ var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{--plasma_private-textfield-border-color:var(", ");--plasma_private-textfield-bg-color:var(", ");color:var(", ");background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(", ") var(--plasma_private-textfield-border-color);caret-color:var(", ");transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}", ":hover{--plasma_private-textfield-border-color:var(", ",var(", "));--plasma_private-textfield-bg-color:var( ", ",var(", ") );}", ":focus-within{--plasma_private-textfield-border-color:var(", ",var(", "));--plasma_private-textfield-bg-color:var( ", ",var(", ") );}", "::placeholder{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}"], _TextField2.InputWrapper, /*#__PURE__*/String(_TextField.tokens.borderColor), /*#__PURE__*/String(_TextField.tokens.backgroundColor), _TextField.tokens.color, _TextField.tokens.borderWidth, _TextField.tokens.caretColor, _TextField2.InputWrapper, _TextField.tokens.borderColorHover, /*#__PURE__*/String(_TextField.tokens.borderColor), _TextField.tokens.backgroundColorHover, /*#__PURE__*/String(_TextField.tokens.backgroundColor), _TextField2.InputWrapper, _TextField.tokens.borderColorFocus, /*#__PURE__*/String(_TextField.tokens.borderColor), _TextField.tokens.backgroundColorFocus, /*#__PURE__*/String(_TextField.tokens.backgroundColor), _TextField2.Input, _TextField.tokens.placeholderColor, _TextField2.Input, _TextField.tokens.color, _TextField2.LeftHelper, _TextField.tokens.leftHelperColor);
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _Cell = /*#__PURE__*/require("../../../../components/Cell");
9
+ var config = exports.config = {
10
+ variations: {
11
+ view: {
12
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;"], _Cell.cellTokens.cellColor, _Cell.cellTokens.cellLabelColor, _Cell.cellTokens.cellTitleColor, _Cell.cellTokens.cellSubtitleColor, _Cell.cellTokens.cellBackgroundColor)
13
+ },
14
+ size: {
15
+ l: /*#__PURE__*/(0, _styledComponents.css)(["", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], _Cell.cellTokens.cellWidth, _Cell.cellTokens.cellPadding, _Cell.cellTokens.cellPaddingLeftContent, _Cell.cellTokens.cellPaddingContent, _Cell.cellTokens.cellPaddingRightContent, _Cell.cellTokens.cellTextboxGap, _Cell.cellTokens.cellGap, _Cell.cellTokens.cellLabelFontFamily, _Cell.cellTokens.cellLabelFontSize, _Cell.cellTokens.cellLabelFontStyle, _Cell.cellTokens.cellLabelFontWeight, _Cell.cellTokens.cellLabelLetterSpacing, _Cell.cellTokens.cellLabelLineHeight, _Cell.cellTokens.cellTitleFontFamily, _Cell.cellTokens.cellTitleFontSize, _Cell.cellTokens.cellTitleFontStyle, _Cell.cellTokens.cellTitleFontWeight, _Cell.cellTokens.cellTitleLetterSpacing, _Cell.cellTokens.cellTitleLineHeight, _Cell.cellTokens.cellSubtitleFontFamily, _Cell.cellTokens.cellSubtitleFontSize, _Cell.cellTokens.cellSubtitleFontStyle, _Cell.cellTokens.cellSubtitleFontWeight, _Cell.cellTokens.cellSubtitleLetterSpacing, _Cell.cellTokens.cellSubtitleLineHeight),
16
+ m: /*#__PURE__*/(0, _styledComponents.css)(["", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], _Cell.cellTokens.cellWidth, _Cell.cellTokens.cellPadding, _Cell.cellTokens.cellPaddingLeftContent, _Cell.cellTokens.cellPaddingContent, _Cell.cellTokens.cellPaddingRightContent, _Cell.cellTokens.cellTextboxGap, _Cell.cellTokens.cellGap, _Cell.cellTokens.cellLabelFontFamily, _Cell.cellTokens.cellLabelFontSize, _Cell.cellTokens.cellLabelFontStyle, _Cell.cellTokens.cellLabelFontWeight, _Cell.cellTokens.cellLabelLetterSpacing, _Cell.cellTokens.cellLabelLineHeight, _Cell.cellTokens.cellTitleFontFamily, _Cell.cellTokens.cellTitleFontSize, _Cell.cellTokens.cellTitleFontStyle, _Cell.cellTokens.cellTitleFontWeight, _Cell.cellTokens.cellTitleLetterSpacing, _Cell.cellTokens.cellTitleLineHeight, _Cell.cellTokens.cellSubtitleFontFamily, _Cell.cellTokens.cellSubtitleFontSize, _Cell.cellTokens.cellSubtitleFontStyle, _Cell.cellTokens.cellSubtitleFontWeight, _Cell.cellTokens.cellSubtitleLetterSpacing, _Cell.cellTokens.cellSubtitleLineHeight),
17
+ s: /*#__PURE__*/(0, _styledComponents.css)(["", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], _Cell.cellTokens.cellWidth, _Cell.cellTokens.cellPadding, _Cell.cellTokens.cellPaddingLeftContent, _Cell.cellTokens.cellPaddingContent, _Cell.cellTokens.cellPaddingRightContent, _Cell.cellTokens.cellTextboxGap, _Cell.cellTokens.cellGap, _Cell.cellTokens.cellLabelFontFamily, _Cell.cellTokens.cellLabelFontSize, _Cell.cellTokens.cellLabelFontStyle, _Cell.cellTokens.cellLabelFontWeight, _Cell.cellTokens.cellLabelLetterSpacing, _Cell.cellTokens.cellLabelLineHeight, _Cell.cellTokens.cellTitleFontFamily, _Cell.cellTokens.cellTitleFontSize, _Cell.cellTokens.cellTitleFontStyle, _Cell.cellTokens.cellTitleFontWeight, _Cell.cellTokens.cellTitleLetterSpacing, _Cell.cellTokens.cellTitleLineHeight, _Cell.cellTokens.cellSubtitleFontFamily, _Cell.cellTokens.cellSubtitleFontSize, _Cell.cellTokens.cellSubtitleFontStyle, _Cell.cellTokens.cellSubtitleFontWeight, _Cell.cellTokens.cellSubtitleLetterSpacing, _Cell.cellTokens.cellSubtitleLineHeight),
18
+ xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], _Cell.cellTokens.cellWidth, _Cell.cellTokens.cellPadding, _Cell.cellTokens.cellPaddingLeftContent, _Cell.cellTokens.cellPaddingContent, _Cell.cellTokens.cellPaddingRightContent, _Cell.cellTokens.cellTextboxGap, _Cell.cellTokens.cellGap, _Cell.cellTokens.cellLabelFontFamily, _Cell.cellTokens.cellLabelFontSize, _Cell.cellTokens.cellLabelFontStyle, _Cell.cellTokens.cellLabelFontWeight, _Cell.cellTokens.cellLabelLetterSpacing, _Cell.cellTokens.cellLabelLineHeight, _Cell.cellTokens.cellTitleFontFamily, _Cell.cellTokens.cellTitleFontSize, _Cell.cellTokens.cellTitleFontStyle, _Cell.cellTokens.cellTitleFontWeight, _Cell.cellTokens.cellTitleLetterSpacing, _Cell.cellTokens.cellTitleLineHeight, _Cell.cellTokens.cellSubtitleFontFamily, _Cell.cellTokens.cellSubtitleFontSize, _Cell.cellTokens.cellSubtitleFontStyle, _Cell.cellTokens.cellSubtitleFontWeight, _Cell.cellTokens.cellSubtitleLetterSpacing, _Cell.cellTokens.cellSubtitleLineHeight)
19
+ }
20
+ }
21
+ };
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Cell = void 0;
7
+ Object.defineProperty(exports, "CellTextbox", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _Cell.CellTextbox;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "CellTextboxLabel", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _Cell.CellTextboxLabel;
17
+ }
18
+ });
19
+ Object.defineProperty(exports, "CellTextboxSubtitle", {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _Cell.CellTextboxSubtitle;
23
+ }
24
+ });
25
+ Object.defineProperty(exports, "CellTextboxTitle", {
26
+ enumerable: true,
27
+ get: function get() {
28
+ return _Cell.CellTextboxTitle;
29
+ }
30
+ });
31
+ var _Cell = /*#__PURE__*/require("../../../../components/Cell");
32
+ var _engines = /*#__PURE__*/require("../../../../engines");
33
+ var _Cell2 = /*#__PURE__*/require("./Cell.config");
34
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Cell.cellConfig, _Cell2.config);
35
+ var Cell = exports.Cell = /*#__PURE__*/(0, _engines.component)(mergedConfig);
@@ -0,0 +1,128 @@
1
+ import React from 'react';
2
+ import type { ComponentProps } from 'react';
3
+ import type { StoryObj, Meta } from '@storybook/react';
4
+ import styled from 'styled-components';
5
+
6
+ import { WithTheme } from '../../../_helpers';
7
+ import { Avatar } from '../Avatar/Avatar';
8
+ import { IconChevronLeft } from '../../../../components/_Icon';
9
+
10
+ import { Cell, CellTextbox, CellTextboxTitle } from './Cell';
11
+
12
+ type StoryProps = ComponentProps<typeof Cell> & {
13
+ itemsCount?: number;
14
+ disableLeftContent?: boolean;
15
+ disableRightContent?: boolean;
16
+ };
17
+ type Story = StoryObj<StoryProps>;
18
+
19
+ const sizes = ['l', 'm', 's', 'xs'];
20
+ const stretchingValues = ['fixed', 'filled', 'auto'];
21
+ const alignLeft = ['top', 'center', 'bottom'];
22
+ const alignRight = ['top', 'center', 'bottom'];
23
+
24
+ type SizesCell = 'xs' | 'l' | 'm' | 's' | undefined;
25
+ type SizesAvatar = 'l' | 'm' | 's';
26
+
27
+ const getSize = (size: SizesCell): SizesAvatar => {
28
+ if (size === 'xs' || !size) {
29
+ return 's';
30
+ }
31
+
32
+ return size;
33
+ };
34
+
35
+ const meta: Meta<typeof Cell> = {
36
+ title: 'plasma_b2c/Cell',
37
+ decorators: [WithTheme],
38
+ argTypes: {
39
+ size: {
40
+ options: sizes,
41
+ control: {
42
+ type: 'select',
43
+ },
44
+ },
45
+ stretching: {
46
+ options: stretchingValues,
47
+ control: {
48
+ type: 'select',
49
+ },
50
+ },
51
+ alignContentLeft: {
52
+ options: alignLeft,
53
+ control: {
54
+ type: 'select',
55
+ },
56
+ },
57
+ alignContentRight: {
58
+ options: alignRight,
59
+ control: {
60
+ type: 'select',
61
+ },
62
+ },
63
+ },
64
+ };
65
+
66
+ export default meta;
67
+
68
+ const ChevronRight = styled(IconChevronLeft)`
69
+ transform: rotate(180deg);
70
+ color: var(--text-secondary);
71
+ `;
72
+
73
+ export const Default: Story = {
74
+ args: {
75
+ size: 'm',
76
+ stretching: 'filled',
77
+ disableLeftContent: false,
78
+ disableRightContent: false,
79
+ alignContentLeft: 'center',
80
+ alignContentRight: 'center',
81
+ title: 'Title',
82
+ subtitle: 'Subtitle',
83
+ label: 'Label',
84
+ },
85
+ render: ({ ...args }: StoryProps) => {
86
+ return (
87
+ <Cell
88
+ contentLeft={
89
+ !args.disableLeftContent && (
90
+ <Avatar size={getSize(args.size)} url="https://avatars.githubusercontent.com/u/1813468?v=4" />
91
+ )
92
+ }
93
+ contentRight={!args.disableRightContent && <ChevronRight color="inherit" size="xs" />}
94
+ {...args}
95
+ />
96
+ );
97
+ },
98
+ };
99
+
100
+ export const WithContentTextboxCustom: Story = {
101
+ args: {
102
+ size: 'm',
103
+ stretching: 'filled',
104
+ },
105
+ render: ({ ...args }: StoryProps) => {
106
+ const MyStyledText = styled.div`
107
+ font-size: 12px;
108
+ font-weight: 600;
109
+ opacity: 0.5;
110
+ `;
111
+ return (
112
+ <Cell
113
+ view="default"
114
+ size={args.size}
115
+ stretching={args.stretching}
116
+ contentLeft={
117
+ <Avatar size={getSize(args.size)} url="https://avatars.githubusercontent.com/u/1813468?v=4" />
118
+ }
119
+ contentRight={!args.disableRightContent && <ChevronRight color="inherit" size="xs" />}
120
+ >
121
+ <CellTextboxTitle>
122
+ <CellTextbox>Title</CellTextbox>
123
+ <MyStyledText>My styled Text</MyStyledText>
124
+ </CellTextboxTitle>
125
+ </Cell>
126
+ );
127
+ },
128
+ };
@@ -8,13 +8,12 @@ var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _Chip = /*#__PURE__*/require("../../../../components/Chip");
9
9
  var config = exports.config = {
10
10
  defaults: {
11
- view: 'default',
11
+ view: 'primary',
12
12
  focused: 'true',
13
13
  size: 'm'
14
14
  },
15
15
  variations: {
16
16
  view: {
17
- "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 85% );", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 80% );", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);"], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
18
17
  primary: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 85% );", ":var(--inverse-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-solid-default) 80% );", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);"], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
19
18
  secondary: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 85% );", ":var(--text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-transparent-secondary) 80% );", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);"], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover),
20
19
  positive: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":color-mix( in srgb,var(--inverse-text-primary),var(--surface-positive) 85% );", ":var(--on-dark-text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-positive) 85%);", ":var(--surface-positive);", ":var(--on-dark-text-primary);", ":var(--surface-positive);", ":var(--on-dark-text-primary);"], _Chip.chipTokens.color, _Chip.chipTokens.background, _Chip.chipTokens.colorHover, _Chip.chipTokens.backgroundHover, _Chip.chipTokens.colorActive, _Chip.chipTokens.backgroundActive, _Chip.chipTokens.backgroundReadOnly, _Chip.chipTokens.colorReadOnly, _Chip.chipTokens.backgroundReadOnlyHover, _Chip.chipTokens.colorReadOnlyHover)
@@ -24,10 +24,10 @@ var config = exports.config = {
24
24
  clear: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 95%);", ":var(--text-primary);", ":color-mix(in srgb,var(--text-primary),var(--surface-clear) 90%);"], _Pagination.paginationTokens.paginationCurrentButtonColor, _Pagination.paginationTokens.paginationCurrentButtonBackgroundColor, _Pagination.paginationTokens.paginationCurrentButtonHoverColor, _Pagination.paginationTokens.paginationCurrentButtonHoverBackgroundColor, _Pagination.paginationTokens.paginationCurrentButtonActiveColor, _Pagination.paginationTokens.paginationCurrentButtonActiveBackgroundColor)
25
25
  },
26
26
  size: {
27
- l: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":3.5rem;", ":3rem;", ":2.25rem;", ":4rem;", ":0.875rem;", ":1.2rem;", ":1.45rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1.5rem;", ":1rem;", ":1rem;", ":1rem;", ":1rem;", ":1.875rem;", ":transparent;", ":1rem;", ":100%;", ":0 3.5rem 0 1.5rem;", ":0 3.625rem 0 0.375rem;", ":0 3.625rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.875rem;", ":4rem;", ":3.5rem;", ":0 0.625rem;", ":0.125rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth),
28
- m: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":3rem;", ":3rem;", ":2rem;", ":3.5rem;", ":0.75rem;", ":1.05rem;", ":1.3rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1.5rem;", ":0.75rem;", ":0.75rem;", ":0.75rem;", ":0.75rem;", ":1.75rem;", ":transparent;", ":0.875rem;", ":100%;", ":0 3.25rem 0 1.25rem;", ":0 3.375rem 0 0.375rem;", ":0 3.375rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.75rem;", ":3.5rem;", ":3rem;", ":0 0.625rem;", ":0.125rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth),
29
- s: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":2.5rem;", ":2.5rem;", ":1.75rem;", ":3rem;", ":0.625rem;", ":0.9rem;", ":1.15rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1.5rem;", ":0.5rem;", ":0.75rem;", ":0.5rem;", ":0.75rem;", ":1.75rem;", ":transparent;", ":0.75rem;", ":100%;", ":0 3rem 0 1rem;", ":0 3.125rem 0 0.375rem;", ":0 3.125rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.625rem;", ":3rem;", ":2.5rem;", ":0 0.625rem;", ":0.125rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth),
30
- xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2rem;", ":2.5rem;", ":0.5rem;", ":2rem;", ":1.5rem;", ":0.75rem;", ":1rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1rem;", ":0.5rem;", ":0.5rem;", ":0.5rem;", ":0.5rem;", ":1.25rem;", ":transparent;", ":0.5rem;", ":100%;", ":0 2.5rem 0 0.75rem;", ":0 2.625rem 0 0.375rem;", ":0 2.625rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.5rem;", ":2.5rem;", ":2rem;", ":0 0.625rem;", ":0.125rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth)
27
+ l: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":3.5rem;", ":3rem;", ":2.25rem;", ":4rem;", ":0.875rem;", ":1.2rem;", ":1.45rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1.5rem;", ":1rem;", ":1rem;", ":1rem;", ":1rem;", ":1.875rem;", ":transparent;", ":1rem;", ":100%;", ":0 3.5rem 0 1.5rem;", ":0 3.625rem 0 0.375rem;", ":0 3.625rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.875rem;", ":4rem;", ":3.5rem;", ":0 0.625rem;", ":0.0625rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth),
28
+ m: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":3rem;", ":3rem;", ":2rem;", ":3.5rem;", ":0.75rem;", ":1.05rem;", ":1.3rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1.5rem;", ":0.75rem;", ":0.75rem;", ":0.75rem;", ":0.75rem;", ":1.75rem;", ":transparent;", ":0.875rem;", ":100%;", ":0 3.25rem 0 1.25rem;", ":0 3.375rem 0 0.375rem;", ":0 3.375rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.75rem;", ":3.5rem;", ":3rem;", ":0 0.625rem;", ":0.0625rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth),
29
+ s: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":2.5rem;", ":2.5rem;", ":1.75rem;", ":3rem;", ":0.625rem;", ":0.9rem;", ":1.15rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1.5rem;", ":0.5rem;", ":0.75rem;", ":0.5rem;", ":0.75rem;", ":1.75rem;", ":transparent;", ":0.75rem;", ":100%;", ":0 3rem 0 1rem;", ":0 3.125rem 0 0.375rem;", ":0 3.125rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.625rem;", ":3rem;", ":2.5rem;", ":0 0.625rem;", ":0.0625rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth),
30
+ xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2rem;", ":2.5rem;", ":0.5rem;", ":2rem;", ":1.5rem;", ":0.75rem;", ":1rem;", ":100%;", ":auto;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":0.125rem;", ":auto;", ":1rem;", ":0.5rem;", ":0.5rem;", ":0.5rem;", ":0.5rem;", ":1.25rem;", ":transparent;", ":0.5rem;", ":100%;", ":0 2.5rem 0 0.75rem;", ":0 2.625rem 0 0.375rem;", ":0 2.625rem 0 0.625rem;", ":0.5rem;", ":0.375rem;", ":0.5rem;", ":2.5rem;", ":2rem;", ":0 0.625rem;", ":0.0625rem;"], _Pagination.paginationTokens.paginationFontFamily, _Pagination.paginationTokens.paginationFontSize, _Pagination.paginationTokens.paginationFontStyle, _Pagination.paginationTokens.paginationFontWeight, _Pagination.paginationTokens.paginationLetterSpacing, _Pagination.paginationTokens.paginationLineHeight, _Pagination.paginationTokens.buttonHeight, _Pagination.paginationTokens.paginationInputWidth, _Pagination.paginationTokens.buttonRadius, _Pagination.paginationTokens.buttonWidth, _Pagination.paginationTokens.buttonWidthShorter, _Pagination.paginationTokens.paginationIconSize, _Pagination.paginationTokens.paginationIconDoubleSize, _Pagination.paginationTokens.selectWidth, _Pagination.paginationTokens.selectHeight, _Pagination.paginationTokens.selectPaddingTop, _Pagination.paginationTokens.selectPaddingRight, _Pagination.paginationTokens.selectPaddingBottom, _Pagination.paginationTokens.selectPaddingLeft, _Pagination.paginationTokens.selectItemWidth, _Pagination.paginationTokens.selectItemHeight, _Pagination.paginationTokens.selectItemPaddingTop, _Pagination.paginationTokens.selectItemPaddingRight, _Pagination.paginationTokens.selectItemPaddingBottom, _Pagination.paginationTokens.selectItemPaddingLeft, _Pagination.paginationTokens.selectItemContentLeftWidth, _Pagination.paginationTokens.selectItemBackground, _Pagination.paginationTokens.selectTargetArrowRight, _Pagination.paginationTokens.selectTargetWidth, _Pagination.paginationTokens.selectTargetPadding, _Pagination.paginationTokens.selectTargetPaddingHasChips, _Pagination.paginationTokens.selectTargetPaddingWithInput, _Pagination.paginationTokens.selectTargetInnerTop, _Pagination.paginationTokens.selectTargetLabelInnerTop, _Pagination.paginationTokens.inputBorderRadius, _Pagination.paginationTokens.inputWidth, _Pagination.paginationTokens.inputHeight, _Pagination.paginationTokens.inputPadding, _Pagination.paginationTokens.inputBorderWidth)
31
31
  },
32
32
  type: {
33
33
  compact: /*#__PURE__*/(0, _styledComponents.css)([""]),
@@ -53,7 +53,7 @@ type Story = StoryObj<typeof Pagination>;
53
53
 
54
54
  export const Default: Story = {
55
55
  args: {
56
- count: 20,
56
+ count: 2000,
57
57
  value: 1,
58
58
  slots: 9,
59
59
  type: 'default',
@@ -71,12 +71,18 @@ const PaginationContent = (agrs) => {
71
71
  const [pageValue, setPageValue] = useState(agrs.value);
72
72
  const [perPageValue, setPerPageValue] = useState(agrs.perPage);
73
73
 
74
- const handleChange = useCallback(
75
- (page: number, perPage: number) => {
76
- setPerPageValue(perPage);
74
+ const handleChangePage = useCallback(
75
+ (page: number) => {
77
76
  setPageValue(page);
78
77
  },
79
- [pageValue, perPageValue, setPageValue, setPerPageValue],
78
+ [pageValue, setPageValue],
79
+ );
80
+
81
+ const handleChangePerpage = useCallback(
82
+ (perPage: number) => {
83
+ setPerPageValue(perPage);
84
+ },
85
+ [perPageValue, setPerPageValue],
80
86
  );
81
87
 
82
88
  return (
@@ -103,7 +109,8 @@ const PaginationContent = (agrs) => {
103
109
  Next
104
110
  </Button>
105
111
  }
106
- onChangeValue={handleChange}
112
+ onChangePageValue={handleChangePage}
113
+ onChangePerPageValue={handleChangePerpage}
107
114
  />
108
115
  </>
109
116
  );
@@ -111,7 +118,7 @@ const PaginationContent = (agrs) => {
111
118
 
112
119
  export const Content: Story = {
113
120
  args: {
114
- count: 20,
121
+ count: 2000,
115
122
  value: 1,
116
123
  slots: 9,
117
124
  type: 'default',
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _TextField = /*#__PURE__*/require("../../../../components/TextField");
9
+ var config = exports.config = {
10
+ defaults: {
11
+ view: 'default',
12
+ size: 'l',
13
+ labelPlacement: 'outer'
14
+ },
15
+ variations: {
16
+ view: {
17
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-primary);", ":var(--surface-transparent-primary);", ":var(--surface-transparent-secondary);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);"], _TextField.textFieldTokens.color, _TextField.textFieldTokens.backgroundColor, _TextField.textFieldTokens.backgroundColorFocus, _TextField.textFieldTokens.caretColor, _TextField.textFieldTokens.placeholderColor, _TextField.textFieldTokens.labelColor, _TextField.textFieldTokens.leftHelperColor, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipOpacityReadonly, _TextField.textFieldTokens.focusColor),
18
+ // TODO заменить --surface-transparent-positive на корректный токен
19
+ positive: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-colors-primary);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);"], _TextField.textFieldTokens.color, _TextField.textFieldTokens.backgroundColor, _TextField.textFieldTokens.backgroundColorFocus, _TextField.textFieldTokens.caretColor, _TextField.textFieldTokens.placeholderColor, _TextField.textFieldTokens.labelColor, _TextField.textFieldTokens.leftHelperColor, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipOpacityReadonly, _TextField.textFieldTokens.focusColor),
20
+ // // TODO заменить --surface-transparent-warning на корректный токен
21
+ warning: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-colors-primary);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);"], _TextField.textFieldTokens.color, _TextField.textFieldTokens.backgroundColor, _TextField.textFieldTokens.backgroundColorFocus, _TextField.textFieldTokens.caretColor, _TextField.textFieldTokens.placeholderColor, _TextField.textFieldTokens.labelColor, _TextField.textFieldTokens.leftHelperColor, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipOpacityReadonly, _TextField.textFieldTokens.focusColor),
22
+ // // TODO заменить --surface-transparent-negative на корректный токен
23
+ negative: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-colors-primary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":0.72;", ":var(--text-accent);"], _TextField.textFieldTokens.color, _TextField.textFieldTokens.backgroundColor, _TextField.textFieldTokens.backgroundColorFocus, _TextField.textFieldTokens.caretColor, _TextField.textFieldTokens.placeholderColor, _TextField.textFieldTokens.labelColor, _TextField.textFieldTokens.leftHelperColor, _TextField.textFieldTokens.chipCloseIconColor, _TextField.textFieldTokens.chipColor, _TextField.textFieldTokens.chipBackground, _TextField.textFieldTokens.chipColorHover, _TextField.textFieldTokens.chipBackgroundHover, _TextField.textFieldTokens.chipColorActive, _TextField.textFieldTokens.chipBackgroundActive, _TextField.textFieldTokens.chipBackgroundReadOnly, _TextField.textFieldTokens.chipColorReadOnly, _TextField.textFieldTokens.chipBackgroundReadOnlyHover, _TextField.textFieldTokens.chipColorReadOnlyHover, _TextField.textFieldTokens.chipOpacityReadonly, _TextField.textFieldTokens.focusColor)
24
+ },
25
+ size: {
26
+ l: /*#__PURE__*/(0, _styledComponents.css)(["", ":3.5rem;", ":1.0625rem 1rem 1.0625rem 1.125rem;", ":0.375rem;", ":0.875rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem 0 -0.0625rem 0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.25rem;", ":0.5rem;", ":auto;", ":2.75rem;", ":0.75rem;", ":1rem;", ":0.625rem;", ":0rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], _TextField.textFieldTokens.height, _TextField.textFieldTokens.padding, _TextField.textFieldTokens.paddingWithChips, _TextField.textFieldTokens.borderRadius, _TextField.textFieldTokens.leftContentMargin, _TextField.textFieldTokens.rightContentMargin, _TextField.textFieldTokens.fontFamily, _TextField.textFieldTokens.fontSize, _TextField.textFieldTokens.fontStyle, _TextField.textFieldTokens.fontWeight, _TextField.textFieldTokens.letterSpacing, _TextField.textFieldTokens.lineHeight, _TextField.textFieldTokens.labelOffset, _TextField.textFieldTokens.labelFontFamily, _TextField.textFieldTokens.labelFontSize, _TextField.textFieldTokens.labelFontStyle, _TextField.textFieldTokens.labelFontWeight, _TextField.textFieldTokens.labelLetterSpacing, _TextField.textFieldTokens.labelLineHeight, _TextField.textFieldTokens.leftHelperOffset, _TextField.textFieldTokens.leftHelperFontFamily, _TextField.textFieldTokens.leftHelperFontSize, _TextField.textFieldTokens.leftHelperFontStyle, _TextField.textFieldTokens.leftHelperFontWeight, _TextField.textFieldTokens.leftHelperLetterSpacing, _TextField.textFieldTokens.leftHelperLineHeight, _TextField.textFieldTokens.labelInnerPadding, _TextField.textFieldTokens.contentLabelInnerPadding, _TextField.textFieldTokens.chipGap, _TextField.textFieldTokens.chipBorderRadius, _TextField.textFieldTokens.chipWidth, _TextField.textFieldTokens.chipHeight, _TextField.textFieldTokens.chipPaddingRight, _TextField.textFieldTokens.chipPaddingLeft, _TextField.textFieldTokens.chipClearContentMarginLeft, _TextField.textFieldTokens.chipClearContentMarginRight, _TextField.textFieldTokens.chipCloseIconSize, _TextField.textFieldTokens.chipFontFamily, _TextField.textFieldTokens.chipFontSize, _TextField.textFieldTokens.chipFontStyle, _TextField.textFieldTokens.chipFontWeight, _TextField.textFieldTokens.chipLetterSpacing, _TextField.textFieldTokens.chipLineHeight),
27
+ m: /*#__PURE__*/(0, _styledComponents.css)(["", ":3rem;", ":0.875rem 0.875rem 0.875rem 1rem;", ":0.375rem;", ":0.75rem;", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem 0 -0.125rem 0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem 0 0.125rem 0;", ":1.375rem 0 0.375rem 0;", ":0.25rem;", ":0.375rem;", ":auto;", ":2.25rem;", ":0.625rem;", ":0.875rem;", ":0.5rem;", ":0rem;", ":1.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], _TextField.textFieldTokens.height, _TextField.textFieldTokens.padding, _TextField.textFieldTokens.paddingWithChips, _TextField.textFieldTokens.borderRadius, _TextField.textFieldTokens.leftContentMargin, _TextField.textFieldTokens.rightContentMargin, _TextField.textFieldTokens.fontFamily, _TextField.textFieldTokens.fontSize, _TextField.textFieldTokens.fontStyle, _TextField.textFieldTokens.fontWeight, _TextField.textFieldTokens.letterSpacing, _TextField.textFieldTokens.lineHeight, _TextField.textFieldTokens.labelOffset, _TextField.textFieldTokens.labelFontFamily, _TextField.textFieldTokens.labelFontSize, _TextField.textFieldTokens.labelFontStyle, _TextField.textFieldTokens.labelFontWeight, _TextField.textFieldTokens.labelLetterSpacing, _TextField.textFieldTokens.labelLineHeight, _TextField.textFieldTokens.leftHelperOffset, _TextField.textFieldTokens.leftHelperFontFamily, _TextField.textFieldTokens.leftHelperFontSize, _TextField.textFieldTokens.leftHelperFontStyle, _TextField.textFieldTokens.leftHelperFontWeight, _TextField.textFieldTokens.leftHelperLetterSpacing, _TextField.textFieldTokens.leftHelperLineHeight, _TextField.textFieldTokens.labelInnerPadding, _TextField.textFieldTokens.contentLabelInnerPadding, _TextField.textFieldTokens.chipGap, _TextField.textFieldTokens.chipBorderRadius, _TextField.textFieldTokens.chipWidth, _TextField.textFieldTokens.chipHeight, _TextField.textFieldTokens.chipPaddingRight, _TextField.textFieldTokens.chipPaddingLeft, _TextField.textFieldTokens.chipClearContentMarginLeft, _TextField.textFieldTokens.chipClearContentMarginRight, _TextField.textFieldTokens.chipCloseIconSize, _TextField.textFieldTokens.chipFontFamily, _TextField.textFieldTokens.chipFontSize, _TextField.textFieldTokens.chipFontStyle, _TextField.textFieldTokens.chipFontWeight, _TextField.textFieldTokens.chipLetterSpacing, _TextField.textFieldTokens.chipLineHeight),
28
+ s: /*#__PURE__*/(0, _styledComponents.css)(["", ":2.5rem;", ":0.875rem 0.75rem 0.875rem 0.6875rem;", ":0.375rem;", ":0.625rem;", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem 0 -0.1875rem 0.75rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.25rem;", ":0.25rem;", ":auto;", ":1.75rem;", ":0.5rem;", ":0.75rem;", ":0.375rem;", ":0rem;", ":1rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], _TextField.textFieldTokens.height, _TextField.textFieldTokens.padding, _TextField.textFieldTokens.paddingWithChips, _TextField.textFieldTokens.borderRadius, _TextField.textFieldTokens.leftContentMargin, _TextField.textFieldTokens.rightContentMargin, _TextField.textFieldTokens.fontFamily, _TextField.textFieldTokens.fontSize, _TextField.textFieldTokens.fontStyle, _TextField.textFieldTokens.fontWeight, _TextField.textFieldTokens.letterSpacing, _TextField.textFieldTokens.lineHeight, _TextField.textFieldTokens.labelOffset, _TextField.textFieldTokens.labelFontFamily, _TextField.textFieldTokens.labelFontSize, _TextField.textFieldTokens.labelFontStyle, _TextField.textFieldTokens.labelFontWeight, _TextField.textFieldTokens.labelLetterSpacing, _TextField.textFieldTokens.labelLineHeight, _TextField.textFieldTokens.leftHelperOffset, _TextField.textFieldTokens.leftHelperFontFamily, _TextField.textFieldTokens.leftHelperFontSize, _TextField.textFieldTokens.leftHelperFontStyle, _TextField.textFieldTokens.leftHelperFontWeight, _TextField.textFieldTokens.leftHelperLetterSpacing, _TextField.textFieldTokens.leftHelperLineHeight, _TextField.textFieldTokens.labelInnerPadding, _TextField.textFieldTokens.contentLabelInnerPadding, _TextField.textFieldTokens.chipGap, _TextField.textFieldTokens.chipBorderRadius, _TextField.textFieldTokens.chipWidth, _TextField.textFieldTokens.chipHeight, _TextField.textFieldTokens.chipPaddingRight, _TextField.textFieldTokens.chipPaddingLeft, _TextField.textFieldTokens.chipClearContentMarginLeft, _TextField.textFieldTokens.chipClearContentMarginRight, _TextField.textFieldTokens.chipCloseIconSize, _TextField.textFieldTokens.chipFontFamily, _TextField.textFieldTokens.chipFontSize, _TextField.textFieldTokens.chipFontStyle, _TextField.textFieldTokens.chipFontWeight, _TextField.textFieldTokens.chipLetterSpacing, _TextField.textFieldTokens.chipLineHeight),
29
+ xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":2rem;", ":0.5625rem 0.5rem 0.5625rem 0.625rem;", ":0.375rem;", ":0.5rem;", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem 0 -0.0625rem 0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.25rem;", ":0.125rem;", ":auto;", ":1.25rem;", ":0.375rem;", ":0.625rem;", ":0.25rem;", ":0rem;", ":0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], _TextField.textFieldTokens.height, _TextField.textFieldTokens.padding, _TextField.textFieldTokens.paddingWithChips, _TextField.textFieldTokens.borderRadius, _TextField.textFieldTokens.leftContentMargin, _TextField.textFieldTokens.rightContentMargin, _TextField.textFieldTokens.fontFamily, _TextField.textFieldTokens.fontSize, _TextField.textFieldTokens.fontStyle, _TextField.textFieldTokens.fontWeight, _TextField.textFieldTokens.letterSpacing, _TextField.textFieldTokens.lineHeight, _TextField.textFieldTokens.labelOffset, _TextField.textFieldTokens.labelFontFamily, _TextField.textFieldTokens.labelFontSize, _TextField.textFieldTokens.labelFontStyle, _TextField.textFieldTokens.labelFontWeight, _TextField.textFieldTokens.labelLetterSpacing, _TextField.textFieldTokens.labelLineHeight, _TextField.textFieldTokens.leftHelperOffset, _TextField.textFieldTokens.leftHelperFontFamily, _TextField.textFieldTokens.leftHelperFontSize, _TextField.textFieldTokens.leftHelperFontStyle, _TextField.textFieldTokens.leftHelperFontWeight, _TextField.textFieldTokens.leftHelperLetterSpacing, _TextField.textFieldTokens.leftHelperLineHeight, _TextField.textFieldTokens.labelInnerPadding, _TextField.textFieldTokens.contentLabelInnerPadding, _TextField.textFieldTokens.chipGap, _TextField.textFieldTokens.chipBorderRadius, _TextField.textFieldTokens.chipWidth, _TextField.textFieldTokens.chipHeight, _TextField.textFieldTokens.chipPaddingRight, _TextField.textFieldTokens.chipPaddingLeft, _TextField.textFieldTokens.chipClearContentMarginLeft, _TextField.textFieldTokens.chipClearContentMarginRight, _TextField.textFieldTokens.chipCloseIconSize, _TextField.textFieldTokens.chipFontFamily, _TextField.textFieldTokens.chipFontSize, _TextField.textFieldTokens.chipFontStyle, _TextField.textFieldTokens.chipFontWeight, _TextField.textFieldTokens.chipLetterSpacing, _TextField.textFieldTokens.chipLineHeight)
30
+ },
31
+ labelPlacement: {
32
+ inner: [_TextField.textField_labelPlacement_inner, /*#__PURE__*/(0, _styledComponents.css)(["&.", "{", ":var(--plasma-input-label-color,var(--plasma-input-placeholder-color,var(--plasma-colors-secondary)));", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);}"], _TextField.textField_labelPlacement_inner, _TextField.textFieldTokens.placeholderColor, _TextField.textFieldTokens.labelInnerFontFamily, _TextField.textFieldTokens.labelInnerFontSize, _TextField.textFieldTokens.labelInnerFontStyle, _TextField.textFieldTokens.labelInnerFontWeight, _TextField.textFieldTokens.labelInnerLetterSpacing, _TextField.textFieldTokens.labelInnerLineHeight)],
33
+ outer: [_TextField.textField_labelPlacement_outer, /*#__PURE__*/(0, _styledComponents.css)(["&.", "{}"], _TextField.textField_labelPlacement_outer)]
34
+ },
35
+ disabled: {
36
+ "true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _TextField.textFieldTokens.disabledOpacity)
37
+ },
38
+ // TODO заменить --surface-transparent-primary на корректный токен
39
+ readOnly: {
40
+ "true": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-secondary);", ":var(--surface-transparent-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);"], _TextField.textFieldTokens.colorReadOnly, _TextField.textFieldTokens.backgroundColorReadOnly, _TextField.textFieldTokens.placeholderColorReadOnly, _TextField.textFieldTokens.leftHelperColorReadOnly, _TextField.textFieldTokens.labelColorReadOnly)
41
+ }
42
+ }
43
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TextField = void 0;
7
+ var _engines = /*#__PURE__*/require("../../../../engines");
8
+ var _TextField = /*#__PURE__*/require("../../../../components/TextField");
9
+ var _TextField2 = /*#__PURE__*/require("./TextField.config");
10
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_TextField.textFieldConfig, _TextField2.config);
11
+ var TextField = exports.TextField = /*#__PURE__*/(0, _engines.component)(mergedConfig);