@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,71 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.cellRoot = exports.cellConfig = void 0;
8
+ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
+ var _utils = /*#__PURE__*/require("../../utils");
10
+ var _Cell = /*#__PURE__*/require("./Cell.styles");
11
+ var _Cell2 = /*#__PURE__*/require("./Cell.tokens");
12
+ var _base = /*#__PURE__*/require("./variations/_view/base");
13
+ var _base2 = /*#__PURE__*/require("./variations/_size/base");
14
+ var _CellTextbox = /*#__PURE__*/require("./ui/CellTextbox/CellTextbox");
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
+ var cellRoot = exports.cellRoot = function cellRoot(Root) {
18
+ return /*#__PURE__*/(0, _react.forwardRef)(function (_ref, outerRootRef) {
19
+ var size = _ref.size,
20
+ view = _ref.view,
21
+ contentLeft = _ref.contentLeft,
22
+ contentRight = _ref.contentRight,
23
+ _ref$alignContentLeft = _ref.alignContentLeft,
24
+ alignContentLeft = _ref$alignContentLeft === void 0 ? 'center' : _ref$alignContentLeft,
25
+ _ref$alignContentRigh = _ref.alignContentRight,
26
+ alignContentRight = _ref$alignContentRigh === void 0 ? 'center' : _ref$alignContentRigh,
27
+ children = _ref.children,
28
+ title = _ref.title,
29
+ subtitle = _ref.subtitle,
30
+ label = _ref.label,
31
+ description = _ref.description,
32
+ content = _ref.content,
33
+ _ref$stretching = _ref.stretching,
34
+ stretching = _ref$stretching === void 0 ? 'filled' : _ref$stretching;
35
+ var stretchingClass = _Cell2.classes["".concat(stretching, "Stretching")];
36
+ var titleText = title || description;
37
+ var contentLeftDeprecated = contentLeft || content;
38
+ return /*#__PURE__*/_react["default"].createElement(Root, {
39
+ ref: outerRootRef,
40
+ size: size,
41
+ view: view,
42
+ className: (0, _utils.cx)(stretchingClass, _Cell2.classes.cellRoot)
43
+ }, contentLeftDeprecated && /*#__PURE__*/_react["default"].createElement(_Cell.CellLeft, {
44
+ align: alignContentLeft
45
+ }, contentLeftDeprecated), /*#__PURE__*/_react["default"].createElement(_Cell.CellContentWrapper, null, /*#__PURE__*/_react["default"].createElement(_Cell.CellContent, null, titleText || subtitle || label ? /*#__PURE__*/_react["default"].createElement(_CellTextbox.CellTextbox, {
46
+ label: label,
47
+ title: titleText,
48
+ subtitle: subtitle
49
+ }) : children), contentRight && /*#__PURE__*/_react["default"].createElement(_Cell.CellRight, {
50
+ align: alignContentRight
51
+ }, contentRight)));
52
+ });
53
+ };
54
+ var cellConfig = exports.cellConfig = {
55
+ name: 'Cell',
56
+ tag: 'div',
57
+ layout: cellRoot,
58
+ base: _Cell.base,
59
+ variations: {
60
+ view: {
61
+ css: _base.base
62
+ },
63
+ size: {
64
+ css: _base2.base
65
+ }
66
+ },
67
+ defaults: {
68
+ view: 'default',
69
+ size: 'm'
70
+ }
71
+ };
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.base = exports.CellRight = exports.CellLeft = exports.CellContentWrapper = exports.CellContent = void 0;
8
+ var _styledComponents = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("styled-components"));
9
+ var _Cell = /*#__PURE__*/require("./Cell.tokens");
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
12
+ var alignToFlex = {
13
+ center: 'center',
14
+ top: 'flex-start',
15
+ bottom: 'flex-end'
16
+ };
17
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&&.", "{width:var(", ");}&&.", "{width:100%;}&&.", "{width:auto;}"], _Cell.classes.fixedStretching, _Cell.tokens.cellWidth, _Cell.classes.filledStretching, _Cell.classes.autoStretching);
18
+ var CellContentWrapper = exports.CellContentWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
19
+ componentId: "plasma-new-hope__sc-16emz3n-0"
20
+ })(["display:flex;flex:auto;align-items:stretch;justify-content:space-between;gap:var(", ");height:auto;"], _Cell.tokens.cellGap);
21
+ var CellContent = exports.CellContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
22
+ componentId: "plasma-new-hope__sc-16emz3n-1"
23
+ })(["display:flex;align-items:center;height:auto;"]);
24
+ var CellLeft = exports.CellLeft = /*#__PURE__*/_styledComponents["default"].div.withConfig({
25
+ componentId: "plasma-new-hope__sc-16emz3n-2"
26
+ })(["display:flex;align-items:", ";"], function (_ref) {
27
+ var align = _ref.align;
28
+ return alignToFlex[align];
29
+ });
30
+ var CellRight = exports.CellRight = /*#__PURE__*/_styledComponents["default"].div.withConfig({
31
+ componentId: "plasma-new-hope__sc-16emz3n-3"
32
+ })(["display:flex;align-items:", ";text-align:right;"], function (_ref2) {
33
+ var align = _ref2.align;
34
+ return alignToFlex[align];
35
+ });
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.tokens = exports.classes = void 0;
7
+ var tokens = exports.tokens = {
8
+ cellColor: '--plasma-cell-color',
9
+ cellBackgroundColor: '--plasma-cell-background-color',
10
+ cellPadding: '--plasma-cell-padding',
11
+ cellPaddingLeftContent: '--plasma-cell-padding-left-content',
12
+ cellPaddingContent: '--plasma-cell-padding-content',
13
+ cellPaddingRightContent: '--plasma-cell-padding-right-content',
14
+ cellTextboxGap: '--plasma-cell-textbox-gap',
15
+ cellGap: '--plasma-cell-gap',
16
+ cellWidth: '--plasma-cell-width',
17
+ cellLabelColor: '--plasma-cell-label-color',
18
+ cellLabelFontFamily: '--plasma-cell-label-font-family',
19
+ cellLabelFontSize: '--plasma-cell-label-font-size',
20
+ cellLabelFontStyle: '--plasma-cell-label-font-style',
21
+ cellLabelFontWeight: '--plasma-cell-label-font-weight',
22
+ cellLabelLetterSpacing: '--plasma-cell-label-letter-spacing',
23
+ cellLabelLineHeight: '--plasma-cell-label-line-height',
24
+ cellTitleColor: '--plasma-cell-title-color',
25
+ cellTitleFontFamily: '--plasma-cell-title-font-family',
26
+ cellTitleFontSize: '--plasma-cell-title-font-size',
27
+ cellTitleFontStyle: '--plasma-cell-title-font-style',
28
+ cellTitleFontWeight: '--plasma-cell-title-font-weight',
29
+ cellTitleLetterSpacing: '--plasma-cell-title-letter-spacing',
30
+ cellTitleLineHeight: '--plasma-cell-title-line-height',
31
+ cellSubtitleColor: '--plasma-cell-subtitle-color',
32
+ cellSubtitleFontFamily: '--plasma-cell-subtitle-font-family',
33
+ cellSubtitleFontSize: '--plasma-cell-subtitle-font-size',
34
+ cellSubtitleFontStyle: '--plasma-cell-subtitle-font-style',
35
+ cellSubtitleFontWeight: '--plasma-cell-subtitle-font-weight',
36
+ cellSubtitleLetterSpacing: '--plasma-cell-subtitle-letter-spacing',
37
+ cellSubtitleLineHeight: '--plasma-cell-subtitle-line-height'
38
+ };
39
+ var classes = exports.classes = {
40
+ autoStretching: 'cell-stretching-auto',
41
+ filledStretching: 'cell-stretching-filled',
42
+ fixedStretching: 'cell-stretching-fixed',
43
+ cellWrapper: 'cell-wrapper',
44
+ cellRoot: 'cell-root',
45
+ cellContent: 'cell-content',
46
+ cellLeftContent: 'cell-left-content',
47
+ cellRightContent: 'cell-right-content'
48
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "CellTextbox", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _CellTextbox.CellTextbox;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "CellTextboxLabel", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _CellTextboxLabel.CellTextboxLabel;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "CellTextboxSubtitle", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _CellTextboxSubtitle.CellTextboxSubtitle;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "CellTextboxTitle", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _CellTextboxTitle.CellTextboxTitle;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "cellClasses", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _Cell2.classes;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "cellConfig", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _Cell.cellConfig;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "cellRoot", {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _Cell.cellRoot;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "cellTokens", {
49
+ enumerable: true,
50
+ get: function get() {
51
+ return _Cell2.tokens;
52
+ }
53
+ });
54
+ var _CellTextboxLabel = /*#__PURE__*/require("./ui/CellTextboxLabel/CellTextboxLabel");
55
+ var _CellTextboxTitle = /*#__PURE__*/require("./ui/CellTextboxTitle/CellTextboxTitle");
56
+ var _CellTextboxSubtitle = /*#__PURE__*/require("./ui/CellTextboxSubtitle/CellTextboxSubtitle");
57
+ var _Cell = /*#__PURE__*/require("./Cell");
58
+ var _Cell2 = /*#__PURE__*/require("./Cell.tokens");
59
+ var _CellTextbox = /*#__PURE__*/require("./ui/CellTextbox/CellTextbox");
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextbox = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxLabel = /*#__PURE__*/require("../CellTextboxLabel/CellTextboxLabel");
9
+ var _CellTextboxTitle = /*#__PURE__*/require("../CellTextboxTitle/CellTextboxTitle");
10
+ var _CellTextboxSubtitle = /*#__PURE__*/require("../CellTextboxSubtitle/CellTextboxSubtitle");
11
+ var _CellTextbox = /*#__PURE__*/require("./CellTextbox.styles");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ var CellTextbox = exports.CellTextbox = function CellTextbox(_ref) {
14
+ var label = _ref.label,
15
+ title = _ref.title,
16
+ subtitle = _ref.subtitle,
17
+ children = _ref.children;
18
+ return /*#__PURE__*/_react["default"].createElement(_CellTextbox.CellTextboxStyled, null, label || title || subtitle ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, label && /*#__PURE__*/_react["default"].createElement(_CellTextboxLabel.CellTextboxLabel, null, label), title && /*#__PURE__*/_react["default"].createElement(_CellTextboxTitle.CellTextboxTitle, null, title), subtitle && /*#__PURE__*/_react["default"].createElement(_CellTextboxSubtitle.CellTextboxSubtitle, null, subtitle)) : children);
19
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextboxStyled = void 0;
7
+ var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
+ var _Cell = /*#__PURE__*/require("../../Cell.tokens");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var CellTextboxStyled = exports.CellTextboxStyled = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
+ componentId: "plasma-new-hope__sc-w4g41u-0"
12
+ })(["display:flex;flex-direction:column;gap:var(", ");"], _Cell.tokens.cellTextboxGap);
@@ -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
+ exports.CellTextboxLabel = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxLabel = /*#__PURE__*/require("./CellTextboxLabel.styles");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var CellTextboxLabel = exports.CellTextboxLabel = function CellTextboxLabel(props) {
11
+ return /*#__PURE__*/_react["default"].createElement(_CellTextboxLabel.StyledTextboxLabel, null, props.children);
12
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyledTextboxLabel = void 0;
7
+ var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
+ var _Cell = /*#__PURE__*/require("../../Cell.tokens");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var StyledTextboxLabel = exports.StyledTextboxLabel = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
+ componentId: "plasma-new-hope__sc-j0en77-0"
12
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellLabelColor, _Cell.tokens.cellLabelFontSize, _Cell.tokens.cellLabelFontWeight, _Cell.tokens.cellLabelFontFamily, _Cell.tokens.cellLabelFontStyle, _Cell.tokens.cellLabelLineHeight, _Cell.tokens.cellLabelLetterSpacing);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextboxSubtitle = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxSubtitle = /*#__PURE__*/require("./CellTextboxSubtitle.styles");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var CellTextboxSubtitle = exports.CellTextboxSubtitle = function CellTextboxSubtitle(props) {
11
+ return /*#__PURE__*/_react["default"].createElement(_CellTextboxSubtitle.StyledTextboxSubtitle, null, props.children);
12
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyledTextboxSubtitle = void 0;
7
+ var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
+ var _Cell = /*#__PURE__*/require("../../Cell.tokens");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var StyledTextboxSubtitle = exports.StyledTextboxSubtitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
+ componentId: "plasma-new-hope__sc-lkssfu-0"
12
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellSubtitleColor, _Cell.tokens.cellSubtitleFontSize, _Cell.tokens.cellSubtitleFontWeight, _Cell.tokens.cellSubtitleFontFamily, _Cell.tokens.cellSubtitleFontStyle, _Cell.tokens.cellSubtitleLineHeight, _Cell.tokens.cellSubtitleLetterSpacing);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextboxTitle = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxTitle = /*#__PURE__*/require("./CellTextboxTitle.styles");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var CellTextboxTitle = exports.CellTextboxTitle = function CellTextboxTitle(props) {
11
+ return /*#__PURE__*/_react["default"].createElement(_CellTextboxTitle.StyledTextboxTitle, null, props.children);
12
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyledTextboxTitle = void 0;
7
+ var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
+ var _Cell = /*#__PURE__*/require("../../Cell.tokens");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var StyledTextboxTitle = exports.StyledTextboxTitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
+ componentId: "plasma-new-hope__sc-3vis0m-0"
12
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellTitleColor, _Cell.tokens.cellTitleFontSize, _Cell.tokens.cellTitleFontWeight, _Cell.tokens.cellTitleFontFamily, _Cell.tokens.cellTitleFontStyle, _Cell.tokens.cellTitleLineHeight, _Cell.tokens.cellTitleLetterSpacing);
@@ -5,5 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _TextField = /*#__PURE__*/require("../TextField.tokens");
9
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[disabled]{opacity:var(", ");cursor:not-allowed;input{cursor:not-allowed;}}"], _TextField.tokens.disabledOpacity);
8
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)([""]);
@@ -0,0 +1 @@
1
+ ["--plasma-cell-left-height", "--plasma-cell-right-height", "--plasma-cell-height"]
@@ -0,0 +1,9 @@
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 _Cell = /*#__PURE__*/require("../../Cell.tokens");
9
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{width:var(", ");}&.", "{width:100%;}&.", "{width:auto;}"], _Cell.classes.fixedStretching, _Cell.tokens.cellWidth, _Cell.classes.filledStretching, _Cell.classes.autoStretching);
@@ -0,0 +1 @@
1
+ ["--plasma-button-width"]
@@ -0,0 +1,9 @@
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 _Cell = /*#__PURE__*/require("../../Cell.tokens");
9
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["color:var(", ");background-color:var(", ");width:100%;display:flex;align-items:stretch;gap:var(", ");&:focus{outline:0 none;}"], _Cell.tokens.cellColor, _Cell.tokens.cellBackgroundColor, _Cell.tokens.cellGap);
@@ -0,0 +1 @@
1
+ ["--plasma-cell-color", "--plasma-cell-background-color"]
@@ -67,7 +67,7 @@ var paginationRoot = exports.paginationRoot = function paginationRoot(Root) {
67
67
  onChangePageValue = _ref.onChangePageValue,
68
68
  onChangePerPageValue = _ref.onChangePerPageValue,
69
69
  rest = _objectWithoutProperties(_ref, _excluded);
70
- var _useState = (0, _react.useState)(value !== null && value !== void 0 ? value : _utils2.defaultValues.value),
70
+ var _useState = (0, _react.useState)(1),
71
71
  _useState2 = _slicedToArray(_useState, 2),
72
72
  page = _useState2[0],
73
73
  setPageValue = _useState2[1];
@@ -94,24 +94,22 @@ var paginationRoot = exports.paginationRoot = function paginationRoot(Root) {
94
94
  setPagesValue(Math.ceil(count / (newPerPage || (hasPerPage ? _utils2.defaultValues.perPage : 1))));
95
95
  };
96
96
  var handlerSetPage = function handlerSetPage(newPageValue) {
97
- var _newPageValue;
98
- newPageValue = (_newPageValue = newPageValue) !== null && _newPageValue !== void 0 ? _newPageValue : _utils2.defaultValues.value;
99
- if (newPageValue > pages) {
100
- newPageValue = pages;
97
+ var pageValue = newPageValue !== null && newPageValue !== void 0 ? newPageValue : _utils2.defaultValues.value;
98
+ if (pageValue > pages) {
99
+ pageValue = pages;
101
100
  }
102
- if (newPageValue < 1) {
103
- newPageValue = 1;
101
+ if (pageValue < 1) {
102
+ pageValue = 1;
104
103
  }
105
- if (disabled.includes(newPageValue)) {
104
+ if (disabled.includes(pageValue)) {
106
105
  return;
107
106
  }
108
- setPageValue(newPageValue);
109
- onChangePageValue === null || onChangePageValue === void 0 ? void 0 : onChangePageValue(newPageValue);
107
+ setPageValue(pageValue);
108
+ onChangePageValue === null || onChangePageValue === void 0 ? void 0 : onChangePageValue(pageValue);
110
109
  };
111
110
  var handlerSetPerPage = function handlerSetPerPage(newPerPageValue) {
112
- setPageValue(1);
111
+ handlerSetPage(1);
113
112
  setPerPageValue(newPerPageValue);
114
- onChangePageValue === null || onChangePageValue === void 0 ? void 0 : onChangePageValue(1);
115
113
  onChangePerPageValue === null || onChangePerPageValue === void 0 ? void 0 : onChangePerPageValue(newPerPageValue);
116
114
  handlerSetPages(newPerPageValue);
117
115
  };
@@ -120,7 +118,10 @@ var paginationRoot = exports.paginationRoot = function paginationRoot(Root) {
120
118
  };
121
119
  (0, _react.useEffect)(function () {
122
120
  handlerSetPages(perPage);
123
- }, [perPage, handlerSetPages]);
121
+ }, [perPage, count, handlerSetPages]);
122
+ (0, _react.useEffect)(function () {
123
+ handlerSetPage(value);
124
+ }, [value]);
124
125
  (0, _react.useEffect)(function () {
125
126
  setSections((0, _utils2.getSections)(page, pages, slots));
126
127
  }, [page, slots, pages, setSections, _utils2.getSections]);