@salutejs/plasma-new-hope 0.317.0-canary.1886.14214080050.0 → 0.317.0-canary.1888.14214679698.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/cjs/components/Table/Table.css +24 -22
  2. package/cjs/components/Table/Table.js +11 -16
  3. package/cjs/components/Table/Table.js.map +1 -1
  4. package/cjs/components/Table/Table.styles.js +17 -11
  5. package/cjs/components/Table/Table.styles.js.map +1 -1
  6. package/cjs/components/Table/Table.styles_xngwgy.css +12 -0
  7. package/cjs/components/Table/Table.tokens.js +9 -0
  8. package/cjs/components/Table/Table.tokens.js.map +1 -1
  9. package/cjs/components/Table/ui/Cell/Cell.css +24 -22
  10. package/cjs/components/Table/ui/Cell/Cell.js.map +1 -1
  11. package/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
  12. package/cjs/components/Table/ui/Cell/Cell.styles.js.map +1 -1
  13. package/cjs/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +1 -0
  14. package/cjs/components/Table/ui/EditableCell/EditableCell.css +25 -23
  15. package/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
  16. package/cjs/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
  17. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
  18. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  19. package/{es/components/Table/ui/EditableCell/EditableCell.styles_277bjm.css → cjs/components/Table/ui/EditableCell/EditableCell.styles_d8duzc.css} +2 -2
  20. package/cjs/components/Table/ui/HeadCell/HeadCell.css +24 -22
  21. package/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  22. package/cjs/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
  23. package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +7 -1
  24. package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  25. package/{es/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css → cjs/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css} +1 -0
  26. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +24 -22
  27. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  28. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  29. package/cjs/components/Typography/Body/Body.css +1 -1
  30. package/cjs/components/Typography/Typography.js +4 -4
  31. package/cjs/components/Typography/Typography.js.map +1 -1
  32. package/cjs/components/Typography/Typography.styles.js +1 -1
  33. package/cjs/components/Typography/Typography.styles.js.map +1 -1
  34. package/cjs/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
  35. package/cjs/components/Typography/tokens.js +1 -3
  36. package/cjs/components/Typography/tokens.js.map +1 -1
  37. package/cjs/engines/linaria.js +2 -4
  38. package/cjs/engines/linaria.js.map +1 -1
  39. package/cjs/index.css +27 -25
  40. package/emotion/cjs/components/Table/Table.js +14 -16
  41. package/emotion/cjs/components/Table/Table.styles.js +20 -16
  42. package/emotion/cjs/components/Table/Table.tokens.js +9 -1
  43. package/emotion/cjs/components/Table/ui/Cell/Cell.styles.js +2 -2
  44. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
  45. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +9 -9
  46. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  47. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +17 -5
  48. package/emotion/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  49. package/emotion/cjs/components/Typography/Typography.js +4 -4
  50. package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
  51. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +9 -42
  52. package/emotion/cjs/components/Typography/tokens.js +1 -3
  53. package/emotion/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  54. package/emotion/cjs/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  55. package/emotion/cjs/examples/typography/components/Body/Body.config.js +5 -5
  56. package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +1 -17
  57. package/emotion/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
  58. package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  59. package/emotion/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
  60. package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  61. package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
  62. package/emotion/cjs/examples/typography/components/Old/Body/Body.js +11 -0
  63. package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  64. package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
  65. package/emotion/cjs/examples/typography/components/Old/Button/Button.js +11 -0
  66. package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  67. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
  68. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +11 -0
  69. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  70. package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
  71. package/emotion/cjs/examples/typography/components/Old/Display/Display.js +11 -0
  72. package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  73. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
  74. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +11 -0
  75. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  76. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
  77. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +11 -0
  78. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  79. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
  80. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +11 -0
  81. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  82. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
  83. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +11 -0
  84. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  85. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
  86. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +11 -0
  87. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  88. package/emotion/cjs/examples/typography/components/Text/Text.config.js +4 -4
  89. package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +1 -17
  90. package/emotion/es/components/Table/Table.js +15 -17
  91. package/emotion/es/components/Table/Table.styles.js +19 -15
  92. package/emotion/es/components/Table/Table.tokens.js +8 -0
  93. package/emotion/es/components/Table/ui/Cell/Cell.styles.js +2 -2
  94. package/emotion/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
  95. package/emotion/es/components/Table/ui/EditableCell/EditableCell.styles.js +10 -10
  96. package/emotion/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  97. package/emotion/es/components/Table/ui/HeadCell/HeadCell.styles.js +16 -4
  98. package/emotion/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  99. package/emotion/es/components/Typography/Typography.js +4 -4
  100. package/emotion/es/components/Typography/Typography.styles.js +1 -1
  101. package/emotion/es/components/Typography/Typography.template-doc.mdx +9 -42
  102. package/emotion/es/components/Typography/tokens.js +1 -3
  103. package/emotion/es/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  104. package/emotion/es/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  105. package/emotion/es/examples/typography/components/Body/Body.config.js +5 -5
  106. package/emotion/es/examples/typography/components/Body/Body.stories.tsx +1 -17
  107. package/emotion/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
  108. package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  109. package/emotion/es/examples/typography/components/Heading/Heading.config.js +5 -5
  110. package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  111. package/emotion/es/examples/typography/components/Old/Body/Body.config.js +14 -0
  112. package/emotion/es/examples/typography/components/Old/Body/Body.js +5 -0
  113. package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  114. package/emotion/es/examples/typography/components/Old/Button/Button.config.js +13 -0
  115. package/emotion/es/examples/typography/components/Old/Button/Button.js +5 -0
  116. package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  117. package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
  118. package/emotion/es/examples/typography/components/Old/Caption/Caption.js +5 -0
  119. package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  120. package/emotion/es/examples/typography/components/Old/Display/Display.config.js +14 -0
  121. package/emotion/es/examples/typography/components/Old/Display/Display.js +5 -0
  122. package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  123. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
  124. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +5 -0
  125. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  126. package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
  127. package/emotion/es/examples/typography/components/Old/Headline/Headline.js +5 -0
  128. package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  129. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
  130. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +5 -0
  131. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  132. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
  133. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +5 -0
  134. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  135. package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
  136. package/emotion/es/examples/typography/components/Old/Underline/Underline.js +5 -0
  137. package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  138. package/emotion/es/examples/typography/components/Text/Text.config.js +4 -4
  139. package/emotion/es/examples/typography/components/Text/Text.stories.tsx +1 -17
  140. package/es/components/Table/Table.css +24 -22
  141. package/es/components/Table/Table.js +13 -18
  142. package/es/components/Table/Table.js.map +1 -1
  143. package/es/components/Table/Table.styles.js +17 -12
  144. package/es/components/Table/Table.styles.js.map +1 -1
  145. package/es/components/Table/Table.styles_xngwgy.css +12 -0
  146. package/es/components/Table/Table.tokens.js +9 -1
  147. package/es/components/Table/Table.tokens.js.map +1 -1
  148. package/es/components/Table/ui/Cell/Cell.css +24 -22
  149. package/es/components/Table/ui/Cell/Cell.js.map +1 -1
  150. package/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  151. package/es/components/Table/ui/Cell/Cell.styles.js.map +1 -1
  152. package/es/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +1 -0
  153. package/es/components/Table/ui/EditableCell/EditableCell.css +25 -23
  154. package/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
  155. package/es/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
  156. package/es/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
  157. package/es/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  158. package/{cjs/components/Table/ui/EditableCell/EditableCell.styles_277bjm.css → es/components/Table/ui/EditableCell/EditableCell.styles_d8duzc.css} +2 -2
  159. package/es/components/Table/ui/HeadCell/HeadCell.css +24 -22
  160. package/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  161. package/es/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
  162. package/es/components/Table/ui/HeadCell/HeadCell.styles.js +7 -2
  163. package/es/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  164. package/{cjs/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css → es/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css} +1 -0
  165. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +24 -22
  166. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  167. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  168. package/es/components/Typography/Body/Body.css +1 -1
  169. package/es/components/Typography/Typography.js +4 -4
  170. package/es/components/Typography/Typography.js.map +1 -1
  171. package/es/components/Typography/Typography.styles.js +1 -1
  172. package/es/components/Typography/Typography.styles.js.map +1 -1
  173. package/es/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
  174. package/es/components/Typography/tokens.js +1 -3
  175. package/es/components/Typography/tokens.js.map +1 -1
  176. package/es/engines/linaria.js +2 -4
  177. package/es/engines/linaria.js.map +1 -1
  178. package/es/index.css +27 -25
  179. package/package.json +2 -2
  180. package/styled-components/cjs/components/Table/Table.js +14 -16
  181. package/styled-components/cjs/components/Table/Table.styles.js +13 -10
  182. package/styled-components/cjs/components/Table/Table.tokens.js +9 -1
  183. package/styled-components/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
  184. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
  185. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +3 -3
  186. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  187. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +5 -2
  188. package/styled-components/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  189. package/styled-components/cjs/components/Typography/Typography.js +4 -4
  190. package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
  191. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +9 -42
  192. package/styled-components/cjs/components/Typography/tokens.js +1 -3
  193. package/styled-components/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  194. package/styled-components/cjs/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  195. package/styled-components/cjs/examples/typography/components/Body/Body.config.js +5 -5
  196. package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +1 -17
  197. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
  198. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  199. package/styled-components/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
  200. package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  201. package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
  202. package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +11 -0
  203. package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  204. package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
  205. package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +11 -0
  206. package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  207. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
  208. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +11 -0
  209. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  210. package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
  211. package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +11 -0
  212. package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  213. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
  214. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +11 -0
  215. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  216. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
  217. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +11 -0
  218. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  219. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
  220. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +11 -0
  221. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  222. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
  223. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +11 -0
  224. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  225. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
  226. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +11 -0
  227. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  228. package/styled-components/cjs/examples/typography/components/Text/Text.config.js +4 -4
  229. package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +1 -17
  230. package/styled-components/es/components/Table/Table.js +15 -17
  231. package/styled-components/es/components/Table/Table.styles.js +12 -9
  232. package/styled-components/es/components/Table/Table.tokens.js +8 -0
  233. package/styled-components/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  234. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
  235. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.styles.js +4 -4
  236. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  237. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.styles.js +4 -1
  238. package/styled-components/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  239. package/styled-components/es/components/Typography/Typography.js +4 -4
  240. package/styled-components/es/components/Typography/Typography.styles.js +1 -1
  241. package/styled-components/es/components/Typography/Typography.template-doc.mdx +9 -42
  242. package/styled-components/es/components/Typography/tokens.js +1 -3
  243. package/styled-components/es/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  244. package/styled-components/es/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  245. package/styled-components/es/examples/typography/components/Body/Body.config.js +5 -5
  246. package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +1 -17
  247. package/styled-components/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
  248. package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  249. package/styled-components/es/examples/typography/components/Heading/Heading.config.js +5 -5
  250. package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  251. package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +14 -0
  252. package/styled-components/es/examples/typography/components/Old/Body/Body.js +5 -0
  253. package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  254. package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +13 -0
  255. package/styled-components/es/examples/typography/components/Old/Button/Button.js +5 -0
  256. package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  257. package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
  258. package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +5 -0
  259. package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  260. package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +14 -0
  261. package/styled-components/es/examples/typography/components/Old/Display/Display.js +5 -0
  262. package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  263. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
  264. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +5 -0
  265. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  266. package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
  267. package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +5 -0
  268. package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  269. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
  270. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +5 -0
  271. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  272. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
  273. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +5 -0
  274. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  275. package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
  276. package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +5 -0
  277. package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  278. package/styled-components/es/examples/typography/components/Text/Text.config.js +4 -4
  279. package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +1 -17
  280. package/types/components/Table/Table.d.ts +2 -15
  281. package/types/components/Table/Table.d.ts.map +1 -1
  282. package/types/components/Table/Table.styles.d.ts +1 -0
  283. package/types/components/Table/Table.styles.d.ts.map +1 -1
  284. package/types/components/Table/Table.tokens.d.ts +8 -0
  285. package/types/components/Table/Table.tokens.d.ts.map +1 -1
  286. package/types/components/Table/Table.types.d.ts +11 -1
  287. package/types/components/Table/Table.types.d.ts.map +1 -1
  288. package/types/components/Table/ui/Cell/Cell.d.ts +3 -2
  289. package/types/components/Table/ui/Cell/Cell.d.ts.map +1 -1
  290. package/types/components/Table/ui/EditableCell/EditableCell.d.ts +12 -1
  291. package/types/components/Table/ui/EditableCell/EditableCell.d.ts.map +1 -1
  292. package/types/components/Table/ui/HeadCell/HeadCell.d.ts +11 -1
  293. package/types/components/Table/ui/HeadCell/HeadCell.d.ts.map +1 -1
  294. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts +1 -0
  295. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts.map +1 -1
  296. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts +10 -1
  297. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts.map +1 -1
  298. package/types/components/Typography/Body/Body.d.ts +10 -2
  299. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  300. package/types/components/Typography/Dspl/Dspl.d.ts +10 -2
  301. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  302. package/types/components/Typography/Heading/Heading.d.ts +10 -2
  303. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  304. package/types/components/Typography/Text/Text.d.ts +10 -2
  305. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  306. package/types/components/Typography/Typography.d.ts +5 -1
  307. package/types/components/Typography/Typography.d.ts.map +1 -1
  308. package/types/components/Typography/Typography.styles.d.ts.map +1 -1
  309. package/types/components/Typography/Typography.types.d.ts +5 -23
  310. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  311. package/types/components/Typography/tokens.d.ts +0 -2
  312. package/types/components/Typography/tokens.d.ts.map +1 -1
  313. package/cjs/components/Table/Table.styles_1eg2zsx.css +0 -11
  314. package/cjs/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +0 -1
  315. package/es/components/Table/Table.styles_1eg2zsx.css +0 -11
  316. package/es/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +0 -1
@@ -1,7 +1,8 @@
1
1
  .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
2
 
3
- .HeadCell_styles_1lo3lcf_c14eoxb5__ac2af3a0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
4
- .HeadCell_styles_1lo3lcf_t1179z8p__ac2af3a0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
3
+ .HeadCell_styles_155gsrn_c14eoxb5__5c959fae{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
4
+ .HeadCell_styles_155gsrn_t1179z8p__5c959fae{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
5
+ .HeadCell_styles_155gsrn_iy1msq1__5c959fae{line-height:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
5
6
 
6
7
  .CellTextboxLabel_styles_1x97zqi_supiagz__b05150dd{color:var(--plasma-cell-label-color);font-size:var(--plasma-cell-label-font-size);font-weight:var(--plasma-cell-label-font-weight);font-family:var(--plasma-cell-label-font-family);font-style:var(--plasma-cell-label-font-style);line-height:var(--plasma-cell-label-line-height);-webkit-letter-spacing:var(--plasma-cell-label-letter-spacing);-moz-letter-spacing:var(--plasma-cell-label-letter-spacing);-ms-letter-spacing:var(--plasma-cell-label-letter-spacing);letter-spacing:var(--plasma-cell-label-letter-spacing);}
7
8
 
@@ -133,16 +134,16 @@
133
134
 
134
135
  .IconButton_styles_403on7_b1ua728l__d34a8ea7{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);color:var(--plasma-button-color);background:var(--plasma-button-background-color);height:var(--plasma-button-height);width:var(--plasma-button-width);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);position:relative;--plasma-button-padding:0;--plasma-button-color:var(--plasma-icon-button-color);--plasma-button-background-color:var(--plasma-icon-button-background-color);--plasma-button-color-hover:var(--plasma-icon-button-color-hover);--plasma-button-background-color-hover:var(--plasma-icon-button-background-color-hover);--plasma-button-color-active:var(--plasma-icon-button-color-active);--plasma-button-background-color-active:var(--plasma-icon-button-background-color-active);--plasma-button-loading-background-color:var(--plasma-icon-button-loading-background-color);--plasma-button-font-family:var(--plasma-icon-button-font-family);--plasma-button-font-size:var(--plasma-icon-button-font-size);--plasma-button-font-style:var(--plasma-icon-button-font-style);--plasma-button-font-weight:var(--plasma-icon-button-font-weight);--plasma-button-letter-spacing:var(--plasma-icon-button-letter-spacing);--plasma-button-line-height:var(--plasma-icon-button-line-height);--plasma-button-width:var(--plasma-icon-button-width);--plasma-button-height:var(--plasma-icon-button-height);--plasma-button-radius:var(--plasma-icon-button-radius);--plasma-button-disabled-opacity:var(--plasma-icon-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-icon-button-focus-color);--plasma-button-spinner-size:var(--plasma-icon-button-spinner-size);--plasma-button-spinner-color:var(--plasma-icon-button-spinner-color);}a.IconButton_styles_403on7_b1ua728l__d34a8ea7{-webkit-text-decoration:none;text-decoration:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonSquare__d34a8ea7{width:var(--plasma-button-height);padding:0;}.IconButton_styles_403on7_b1ua728l__d34a8ea7:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.IconButton_styles_403on7_b1ua728l__d34a8ea7:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}.IconButton_styles_403on7_b1ua728l__d34a8ea7:focus{outline:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_focusVisible__d34a8ea7:focus::before,.IconButton_styles_403on7_b1ua728l__d34a8ea7[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]:hover,.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]:active{scale:none;color:var(--plasma-button-color);background:var(--plasma-button-background-color);}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingFixed__d34a8ea7{width:var(--plasma-button-width);}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingFilled__d34a8ea7{width:100%;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingAuto__d34a8ea7{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
135
136
 
136
- .EditableCell_styles_277bjm_t12w3lu5__d76a564b{position:relative;padding:var(--t12w3lu5-0);height:var(--plasma-table-row-height);border-width:1px;border-top-width:0;border-style:solid;border-color:var(--t12w3lu5-1);border-bottom-color:var(--t12w3lu5-2);cursor:pointer;box-sizing:border-box;}.EditableCell_styles_277bjm_t12w3lu5__d76a564b .EditableCell_styles_277bjm_editIcon__d76a564b{opacity:0;}.EditableCell_styles_277bjm_t12w3lu5__d76a564b:hover .EditableCell_styles_277bjm_editIcon__d76a564b{opacity:1;}
137
- .EditableCell_styles_277bjm_idy8fgn__d76a564b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;height:100%;}
138
- .EditableCell_styles_277bjm_cwrhll2__d76a564b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.25rem;}
139
- .EditableCell_styles_277bjm_e1dkea5v__d76a564b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;gap:var(--plasma-table-editable-cell-padding);height:100%;}
140
- .EditableCell_styles_277bjm_i1uj28nu__d76a564b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-flex:1;-ms-flex:1;flex:1;padding:var(--plasma-table-editable-cell-input-padding);background:var(--plasma-table-editable-cell-input-background);border:1px solid var(--plasma-table-editable-cell-input-border-color);border-radius:var(--plasma-table-editable-cell-input-border-radius);box-sizing:border-box;gap:var(--plasma-table-editable-cell-icon-gap);}
141
- .EditableCell_styles_277bjm_i1c7bo0z__d76a564b{width:auto;border:none;padding:0;background:transparent;outline:none;caret-color:var(--text-accent);font-family:var(--plasma-table-font-family);font-size:var(--plasma-table-font-size);font-style:var(--plasma-table-font-style);font-weight:var(--plasma-table-font-weight);-webkit-letter-spacing:var(--plasma-table-letter-spacing);-moz-letter-spacing:var(--plasma-table-letter-spacing);-ms-letter-spacing:var(--plasma-table-letter-spacing);letter-spacing:var(--plasma-table-letter-spacing);line-height:var(--plasma-table-line-height);}
142
- .EditableCell_styles_277bjm_i1jx30pt__d76a564b{--plasma-icon-button-width:var(--plasma-table-editable-cell-icon-button-width);--plasma-icon-button-height:var(--plasma-table-editable-cell-icon-button-height);}
143
- .EditableCell_styles_277bjm_i17hwnh4__d76a564b{--plasma-icon-button-width:auto;--plasma-icon-button-height:auto;}
137
+ .EditableCell_styles_d8duzc_t12w3lu5__1f395684{position:relative;padding:var(--t12w3lu5-0);height:var(--plasma-table-row-height);border-width:0.0625rem;border-top-width:0;border-style:solid;border-color:var(--t12w3lu5-1);border-bottom-color:var(--t12w3lu5-2);cursor:pointer;box-sizing:border-box;}.EditableCell_styles_d8duzc_t12w3lu5__1f395684 .EditableCell_styles_d8duzc_editIcon__1f395684{opacity:0;}.EditableCell_styles_d8duzc_t12w3lu5__1f395684:hover .EditableCell_styles_d8duzc_editIcon__1f395684{opacity:1;}
138
+ .EditableCell_styles_d8duzc_idy8fgn__1f395684{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;height:100%;}
139
+ .EditableCell_styles_d8duzc_cwrhll2__1f395684{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.25rem;}
140
+ .EditableCell_styles_d8duzc_e1dkea5v__1f395684{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;gap:var(--plasma-table-editable-cell-padding);height:100%;}
141
+ .EditableCell_styles_d8duzc_i1uj28nu__1f395684{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-flex:1;-ms-flex:1;flex:1;padding:var(--plasma-table-editable-cell-input-padding);background:var(--plasma-table-editable-cell-input-background);border:0.0625rem solid var(--plasma-table-editable-cell-input-border-color);border-radius:var(--plasma-table-editable-cell-input-border-radius);box-sizing:border-box;gap:var(--plasma-table-editable-cell-icon-gap);}
142
+ .EditableCell_styles_d8duzc_i1c7bo0z__1f395684{width:auto;border:none;padding:0;background:transparent;outline:none;caret-color:var(--text-accent);font-family:var(--plasma-table-font-family);font-size:var(--plasma-table-font-size);font-style:var(--plasma-table-font-style);font-weight:var(--plasma-table-font-weight);-webkit-letter-spacing:var(--plasma-table-letter-spacing);-moz-letter-spacing:var(--plasma-table-letter-spacing);-ms-letter-spacing:var(--plasma-table-letter-spacing);letter-spacing:var(--plasma-table-letter-spacing);line-height:var(--plasma-table-line-height);}
143
+ .EditableCell_styles_d8duzc_i1jx30pt__1f395684{--plasma-icon-button-width:var(--plasma-table-editable-cell-icon-button-width);--plasma-icon-button-height:var(--plasma-table-editable-cell-icon-button-height);}
144
+ .EditableCell_styles_d8duzc_i17hwnh4__1f395684{--plasma-icon-button-width:auto;--plasma-icon-button-height:auto;}
144
145
 
145
- .Cell_styles_1ikyrwt_tv72tnk__e7726029{position:relative;padding:var(--tv72tnk-0);height:var(--plasma-table-row-height);border-width:1px;border-top-width:0;border-style:solid;border-color:var(--tv72tnk-1);border-bottom-color:var(--tv72tnk-2);box-sizing:border-box;}
146
+ .Cell_styles_1q2mjxm_tv72tnk__e6a383c5{position:relative;padding:var(--tv72tnk-0);height:var(--plasma-table-row-height);border-width:0.0625rem;border-top-width:0;border-style:solid;border-color:var(--tv72tnk-1);border-bottom-color:var(--tv72tnk-2);box-sizing:border-box;}
146
147
 
147
148
  .base_1xk2qu8_b17hdes8__122b4c2e input[type='checkbox']:indeterminate + .base_1xk2qu8_shwv1in__122b4c2e .base_1xk2qu8_s1u3nd7e__122b4c2e{border:none;background:var(--plasma-checkbox-fill-color);border-color:var(--plasma-checkbox-fill-color);}.base_1xk2qu8_b17hdes8__122b4c2e input:checked + .base_1xk2qu8_shwv1in__122b4c2e .base_1xk2qu8_s1u3nd7e__122b4c2e{border:none;background:var(--plasma-checkbox-fill-color);border-color:var(--plasma-checkbox-fill-color);}
148
149
 
@@ -205,14 +206,15 @@
205
206
  .LinkButton_styles_1kw1zkj_s1uogc3z__846f988c{line-height:0;margin:var(--plasma-link-button-left-content-margin);}
206
207
  .LinkButton_styles_1kw1zkj_s176p3a0__846f988c{line-height:0;margin:var(--plasma-link-button-right-content-margin);}
207
208
 
208
- .Table_styles_1eg2zsx_b1lxisuf__8ba8eb83{display:inline-block;overflow-y:auto;}
209
- .Table_styles_1eg2zsx_t15d4jbz__8ba8eb83{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-family:var(--plasma-table-font-family);font-size:var(--plasma-table-font-size);font-style:var(--plasma-table-font-style);font-weight:var(--plasma-table-font-weight);-webkit-letter-spacing:var(--plasma-table-letter-spacing);-moz-letter-spacing:var(--plasma-table-letter-spacing);-ms-letter-spacing:var(--plasma-table-letter-spacing);letter-spacing:var(--plasma-table-letter-spacing);line-height:var(--plasma-table-line-height);border-collapse:collapse;border-width:0;border-style:solid;border-color:var(--t15d4jbz-0);}
210
- .Table_styles_1eg2zsx_t1ri3no5__8ba8eb83{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--t1ri3no5-0);}
211
- .Table_styles_1eg2zsx_t1uk535o__8ba8eb83{position:var(--t1uk535o-0);top:0;background:var(--t1uk535o-1);z-index:1;box-shadow:var(--t1uk535o-2);}.Table_styles_1eg2zsx_t1uk535o__8ba8eb83 .Table_styles_1eg2zsx_t1ri3no5__8ba8eb83{background:transparent;}
212
- .Table_styles_1eg2zsx_r1ezol8__8ba8eb83{display:var(--r1ezol8-0);position:absolute;z-index:1;top:-1px;bottom:0;right:-2px;width:0.1875rem;background:var(--outline-accent);cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:none;}
213
- .Table_styles_1eg2zsx_t18b5m0z__8ba8eb83{padding:var(--t18b5m0z-0);position:relative;font-weight:600;text-align:left;height:var(--plasma-table-header-row-height);background-color:transparent;color:inherit;border-width:1px;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:var(--t18b5m0z-1);}.Table_styles_1eg2zsx_t18b5m0z__8ba8eb83:hover .Table_styles_1eg2zsx_r1ezol8__8ba8eb83{display:block;}
214
- .Table_styles_1eg2zsx_sedz16__8ba8eb83{--plasma-checkbox-trigger-size:var(--plasma-table-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-table-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--text-accent);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-trigger-border-color:var(--text-secondary);}
215
- .Table_styles_1eg2zsx_s3mgb7q__8ba8eb83{--plasma-divider-base-side-size:0.0625rem;--plasma-divider-background:var(--surface-transparent-tertiary);--plasma-divider-border-radius:0.0625rem;}
216
- .Table_styles_1eg2zsx_b177cehz__8ba8eb83{--plasma-button-height:var(--plasma-table-button-height);--plasma-button-disabled-opacity:0.4;--plasma-button-font-family:var(--plasma-table-button-font-family);--plasma-button-font-size:var(--plasma-table-button-font-size);--plasma-button-font-style:var(--plasma-table-button-font-style);--plasma-button-font-weight:var(--plasma-table-button-font-weight);--plasma-button-letter-spacing:var(--plasma-table-button-letter-spacing);--plasma-button-line-height:var(--plasma-table-button-line-height);}
217
- .Table_styles_1eg2zsx_beus4rw__8ba8eb83.Table_styles_1eg2zsx_b177cehz__8ba8eb83{--plasma-button-color:var(--on-dark-text-primary);--plasma-button-value-color:var(--on-dark-text-secondary);--plasma-button-background-color:var(--surface-accent);--plasma-button-background-color-hover:var(--surface-accent-hover);--plasma-button-background-color-active:var(--surface-accent-active);}
218
- .Table_styles_1eg2zsx_lfybxxj__8ba8eb83{--plasma-link-button-color:var(--text-primary);--plasma-link-button-background-color:var(--surface-transparent-clear);--plasma-link-button-color-hover:var(--text-primary-hover);--plasma-link-button-color-active:var(--text-primary-active);--plasma-link-button-focus-color:var(--surface-accent);--plasma-link-button-font-family:var(--plasma-table-link-button-font-family);--plasma-link-button-font-size:var(--plasma-table-link-button-font-size);--plasma-link-button-font-style:var(--plasma-table-link-button-font-style);--plasma-link-button-font-weight:var(--plasma-table-link-button-font-weight);--plasma-link-button-letter-spacing:var(--plasma-table-link-button-letter-spacing);--plasma-link-button-line-height:var(--plasma-table-link-button-line-height);}
209
+ .Table_styles_xngwgy_b1lxisuf__5cfbdc68{display:inline-block;overflow-y:auto;}
210
+ .Table_styles_xngwgy_t15d4jbz__5cfbdc68{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-family:var(--plasma-table-font-family);font-size:var(--plasma-table-font-size);font-style:var(--plasma-table-font-style);font-weight:var(--plasma-table-font-weight);-webkit-letter-spacing:var(--plasma-table-letter-spacing);-moz-letter-spacing:var(--plasma-table-letter-spacing);-ms-letter-spacing:var(--plasma-table-letter-spacing);letter-spacing:var(--plasma-table-letter-spacing);line-height:var(--plasma-table-line-height);border-collapse:collapse;border-width:0;border-style:solid;border-color:var(--t15d4jbz-0);}
211
+ .Table_styles_xngwgy_t1ri3no5__5cfbdc68{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--t1ri3no5-0);}
212
+ .Table_styles_xngwgy_t1uk535o__5cfbdc68{position:var(--t1uk535o-0);top:0;background:var(--t1uk535o-1);z-index:1;box-shadow:var(--t1uk535o-2);}.Table_styles_xngwgy_t1uk535o__5cfbdc68 .Table_styles_xngwgy_t1ri3no5__5cfbdc68{background:transparent;}
213
+
214
+ .Table_styles_xngwgy_r18b5m0z__5cfbdc68{display:var(--r18b5m0z-0);position:absolute;z-index:1;top:-0.0625rem;bottom:0;right:-0.125rem;width:0.1875rem;background:var(--outline-accent);cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:none;}
215
+ .Table_styles_xngwgy_tedz16__5cfbdc68{padding:var(--tedz16-0);position:relative;font-weight:600;text-align:left;height:var(--plasma-table-header-row-height);background-color:transparent;color:inherit;border-width:0.0625rem;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:var(--tedz16-1);}.Table_styles_xngwgy_tedz16__5cfbdc68:hover .Table_styles_xngwgy_r18b5m0z__5cfbdc68{display:block;}
216
+ .Table_styles_xngwgy_s3mgb7q__5cfbdc68{--plasma-checkbox-trigger-size:var(--plasma-table-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-table-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--text-accent);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-trigger-border-color:var(--text-secondary);}
217
+ .Table_styles_xngwgy_s177cehz__5cfbdc68{--plasma-divider-base-side-size:0.0625rem;--plasma-divider-background:var(--surface-transparent-tertiary);--plasma-divider-border-radius:0.0625rem;}
218
+ .Table_styles_xngwgy_beus4rw__5cfbdc68{--plasma-button-height:var(--plasma-table-button-height);--plasma-button-disabled-opacity:0.4;--plasma-button-font-family:var(--plasma-table-button-font-family);--plasma-button-font-size:var(--plasma-table-button-font-size);--plasma-button-font-style:var(--plasma-table-button-font-style);--plasma-button-font-weight:var(--plasma-table-button-font-weight);--plasma-button-letter-spacing:var(--plasma-table-button-letter-spacing);--plasma-button-line-height:var(--plasma-table-button-line-height);}
219
+ .Table_styles_xngwgy_bfybxxj__5cfbdc68.Table_styles_xngwgy_beus4rw__5cfbdc68{--plasma-button-color:var(--on-dark-text-primary);--plasma-button-value-color:var(--on-dark-text-secondary);--plasma-button-background-color:var(--surface-accent);--plasma-button-background-color-hover:var(--surface-accent-hover);--plasma-button-background-color-active:var(--surface-accent-active);}
220
+ .Table_styles_xngwgy_l1ql6jvb__5cfbdc68{--plasma-link-button-color:var(--text-primary);--plasma-link-button-background-color:var(--surface-transparent-clear);--plasma-link-button-color-hover:var(--text-primary-hover);--plasma-link-button-color-active:var(--text-primary-active);--plasma-link-button-focus-color:var(--surface-accent);--plasma-link-button-font-family:var(--plasma-table-link-button-font-family);--plasma-link-button-font-size:var(--plasma-table-link-button-font-size);--plasma-link-button-font-style:var(--plasma-table-link-button-font-style);--plasma-link-button-font-weight:var(--plasma-table-link-button-font-weight);--plasma-link-button-letter-spacing:var(--plasma-table-link-button-letter-spacing);--plasma-link-button-line-height:var(--plasma-table-link-button-line-height);}
@@ -15,7 +15,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
15
15
 
16
16
  var React__default = /*#__PURE__*/_interopDefault(React);
17
17
 
18
- var SELECT_COLUMN_ID = 'select#65768756432';
18
+ var _excluded = ["data", "onChange", "columns", "view", "size", "borderVariant", "enableSelection", "selected", "filtered", "sorted", "maxHeight", "stickyHeader", "onCellUpdate"];
19
+ var SELECT_COLUMN_ID = 'SELECT_COLUMN_UNIQUE_ID';
19
20
  var tableRoot = function tableRoot(Root) {
20
21
  return /*#__PURE__*/React.forwardRef(function (_ref, ref) {
21
22
  var data = _ref.data,
@@ -31,7 +32,8 @@ var tableRoot = function tableRoot(Root) {
31
32
  outerSorted = _ref.sorted,
32
33
  maxHeight = _ref.maxHeight,
33
34
  stickyHeader = _ref.stickyHeader,
34
- onCellUpdate = _ref.onCellUpdate;
35
+ onCellUpdate = _ref.onCellUpdate,
36
+ props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
35
37
  var _useState = React.useState(outerSelected || {}),
36
38
  _useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
37
39
  innerSelected = _useState2[0],
@@ -125,17 +127,10 @@ var tableRoot = function tableRoot(Root) {
125
127
  enableSorting: enableSorting,
126
128
  enableResizing: enableResizing,
127
129
  filterFn: function filterFn(row, columnId, filterArr) {
128
- if (outerFilterFn && filterArr && Array.isArray(filterArr)) {
129
- if (filterArr.length === 0) {
130
- return true;
131
- }
132
- for (var i = 0; i < filterArr.length; i++) {
133
- var filterValue = filterArr[i];
134
- if (outerFilterFn(filterValue, row.getValue(columnId))) {
135
- return true;
136
- }
137
- }
138
- return false;
130
+ if ((filterArr === null || filterArr === void 0 ? void 0 : filterArr.length) !== 0 && outerFilterFn && filterArr && Array.isArray(filterArr)) {
131
+ return filterArr.some(function (filterValue) {
132
+ return outerFilterFn(filterValue, row.getValue(columnId));
133
+ });
139
134
  }
140
135
  return true;
141
136
  },
@@ -176,7 +171,7 @@ var tableRoot = function tableRoot(Root) {
176
171
  }
177
172
  }
178
173
  });
179
- return /*#__PURE__*/React__default.default.createElement(Root, {
174
+ return /*#__PURE__*/React__default.default.createElement(Root, _rollupPluginBabelHelpers.extends({
180
175
  ref: rootRef,
181
176
  data: data,
182
177
  columns: columns,
@@ -185,7 +180,7 @@ var tableRoot = function tableRoot(Root) {
185
180
  style: {
186
181
  maxHeight: maxHeight || 'none'
187
182
  }
188
- }, /*#__PURE__*/React__default.default.createElement(Table_styles.Table, {
183
+ }, props), /*#__PURE__*/React__default.default.createElement(Table_styles.Table, {
189
184
  borderVariant: borderVariant,
190
185
  stickyHeader: stickyHeader
191
186
  }, /*#__PURE__*/React__default.default.createElement(Table_styles.Thead, {
@@ -205,7 +200,7 @@ var tableRoot = function tableRoot(Root) {
205
200
  tableContainerRef: tableContainerRef
206
201
  });
207
202
  }));
208
- })), /*#__PURE__*/React__default.default.createElement("tbody", null, table.getRowModel().rows.map(function (row) {
203
+ })), /*#__PURE__*/React__default.default.createElement(Table_styles.Tbody, null, table.getRowModel().rows.map(function (row) {
209
204
  return /*#__PURE__*/React__default.default.createElement(Table_styles.Tr, {
210
205
  key: row.id,
211
206
  selected: row.getIsSelected()
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sources":["../../../src/components/Table/Table.tsx"],"sourcesContent":["import React, { forwardRef, useState, useMemo, useRef } from 'react';\nimport {\n getCoreRowModel,\n useReactTable,\n ColumnDef,\n getSortedRowModel,\n getFilteredRowModel,\n OnChangeFn,\n ColumnFiltersState,\n RowSelectionState,\n RowData,\n Table as TableType,\n Row,\n} from '@tanstack/react-table';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../engines';\n\nimport { HeadCell, Cell, EditableCell } from './ui';\nimport { TableProps, TableColumnData } from './Table.types';\nimport { base, Table, Tr, Thead, StyledCheckbox } from './Table.styles';\n\nexport const SELECT_COLUMN_ID = 'select#65768756432';\n\ntype ColumnSort = {\n id: string;\n desc: boolean;\n};\ntype SortingState = ColumnSort[];\n\ndeclare module '@tanstack/react-table' {\n interface ColumnMeta<TData extends RowData, TValue> {\n filters?: TableColumnData['filters'];\n enableEditing?: boolean;\n renderCell?: TableColumnData['renderCell'];\n }\n}\ndeclare module '@tanstack/react-table' {\n interface TableMeta<TData extends RowData> {\n updateData: (rowId: string, columnId: string, value: unknown) => void;\n }\n}\n\nexport const tableRoot = (Root: RootProps<HTMLDivElement, TableProps>) =>\n forwardRef<HTMLDivElement, TableProps>(\n (\n {\n data,\n onChange,\n columns,\n view,\n size,\n borderVariant = 'all',\n enableSelection,\n selected: outerSelected,\n filtered: outerFiltered,\n sorted: outerSorted,\n maxHeight,\n stickyHeader,\n onCellUpdate,\n },\n ref,\n ) => {\n const [innerSelected, innerSetSelected] = useState<RowSelectionState>(outerSelected || {});\n const [innerFiltered, setInnerFiltered] = useState<ColumnFiltersState>(outerFiltered || []);\n const [innerSorted, setInnerSorted] = useState<SortingState>(outerSorted || []);\n\n const selected = outerSelected || innerSelected;\n const filtered = outerFiltered || innerFiltered;\n const sorted: SortingState = outerSorted || innerSorted;\n\n const handleRowSelection: OnChangeFn<RowSelectionState> = (updaterOrValue) => {\n if (!outerSelected) {\n innerSetSelected(updaterOrValue);\n }\n\n if (onChange) {\n onChange({\n selected: typeof updaterOrValue === 'function' ? updaterOrValue(selected) : updaterOrValue,\n filtered,\n sorted,\n });\n }\n };\n\n const handleSorting: OnChangeFn<SortingState> = (updaterOrValue) => {\n if (!outerSorted) {\n setInnerSorted(updaterOrValue);\n }\n\n if (onChange) {\n onChange({\n selected,\n filtered,\n sorted: typeof updaterOrValue === 'function' ? updaterOrValue(sorted) : updaterOrValue,\n });\n }\n };\n\n const handleFiltering: OnChangeFn<ColumnFiltersState> = (updaterOrValue) => {\n if (!outerFiltered) {\n setInnerFiltered(updaterOrValue);\n }\n\n if (onChange) {\n onChange({\n selected,\n filtered: typeof updaterOrValue === 'function' ? updaterOrValue(filtered) : updaterOrValue,\n sorted,\n });\n }\n };\n\n const tableContainerRef = useRef<HTMLDivElement>(null);\n\n const rootRef = useForkRef(tableContainerRef, ref);\n\n const columnsData = useMemo<ColumnDef<typeof data[number]>[]>(\n () => [\n ...(enableSelection\n ? [\n {\n id: SELECT_COLUMN_ID,\n header: ({ table }: { table: TableType<typeof data[number]> }) => (\n <StyledCheckbox\n checked={table.getIsSomeRowsSelected() || table.getIsAllRowsSelected()}\n indeterminate={table.getIsSomeRowsSelected()}\n onChange={table.getToggleAllRowsSelectedHandler()}\n />\n ),\n cell: ({ row }: { row: Row<typeof data[number]> }) => (\n <StyledCheckbox\n checked={row.getIsSelected()}\n indeterminate={row.getIsSomeSelected()}\n onChange={row.getToggleSelectedHandler()}\n />\n ),\n enableResizing: false,\n },\n ]\n : []),\n ...columns.map(\n ({\n id,\n label,\n filters,\n enableSorting = false,\n enableResizing = false,\n filterFn: outerFilterFn,\n width: columnSize,\n enableEditing = false,\n renderCell,\n }) => ({\n header: label,\n accessorKey: id,\n size: columnSize,\n enableSorting,\n enableResizing,\n filterFn: (row: Row<typeof data[number]>, columnId: string, filterArr: any) => {\n if (outerFilterFn && filterArr && Array.isArray(filterArr)) {\n if (filterArr.length === 0) {\n return true;\n }\n\n for (let i = 0; i < filterArr.length; i++) {\n const filterValue = filterArr[i];\n\n if (outerFilterFn(filterValue, row.getValue(columnId))) {\n return true;\n }\n }\n\n return false;\n }\n\n return true;\n },\n meta: {\n filters,\n enableEditing,\n renderCell,\n },\n }),\n ),\n ],\n [enableSelection, columns],\n );\n\n const table = useReactTable({\n data,\n columns: columnsData,\n getRowId: (row) => row.id,\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualSorting: Boolean(outerSorted),\n manualFiltering: Boolean(outerFiltered),\n state: {\n rowSelection: selected,\n columnFilters: filtered,\n sorting: sorted,\n },\n onSortingChange: handleSorting,\n getFilteredRowModel: getFilteredRowModel(),\n onColumnFiltersChange: handleFiltering,\n onRowSelectionChange: handleRowSelection,\n columnResizeMode: 'onChange',\n columnResizeDirection: 'ltr',\n meta: {\n updateData: (rowId, columnId, value) => {\n if (onCellUpdate) {\n onCellUpdate(rowId, columnId, value);\n }\n },\n },\n });\n\n return (\n <Root\n ref={rootRef}\n data={data}\n columns={columns}\n view={view}\n size={size}\n style={{ maxHeight: maxHeight || 'none' }}\n >\n <Table borderVariant={borderVariant} stickyHeader={stickyHeader}>\n <Thead view={view} borderVariant={borderVariant} stickyHeader={stickyHeader}>\n {table.getHeaderGroups().map((headerGroup) => (\n <Tr key={headerGroup.id}>\n {headerGroup.headers.map((header) => (\n <HeadCell\n key={header.index}\n header={header}\n size={size}\n borderVariant={borderVariant}\n outerFiltered={outerFiltered}\n tableContainerRef={tableContainerRef}\n />\n ))}\n </Tr>\n ))}\n </Thead>\n\n <tbody>\n {table.getRowModel().rows.map((row) => (\n <Tr key={row.id} selected={row.getIsSelected()}>\n {row.getVisibleCells().map((cell) =>\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n cell?.column?.columnDef?.meta?.enableEditing ? (\n <EditableCell\n key={cell.id}\n size={size}\n cell={cell}\n borderVariant={borderVariant}\n table={table}\n selected={row.getIsSelected()}\n view={view}\n />\n ) : (\n <Cell\n key={cell.id}\n cell={cell}\n borderVariant={borderVariant}\n selected={row.getIsSelected()}\n view={view}\n />\n ),\n )}\n </Tr>\n ))}\n </tbody>\n </Table>\n </Root>\n );\n },\n );\n\nexport const tableConfig = {\n name: 'Table',\n tag: 'div',\n layout: tableRoot,\n base,\n variations: {},\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["SELECT_COLUMN_ID","tableRoot","Root","forwardRef","_ref","ref","data","onChange","columns","view","size","_ref$borderVariant","borderVariant","enableSelection","outerSelected","selected","outerFiltered","filtered","outerSorted","sorted","maxHeight","stickyHeader","onCellUpdate","_useState","useState","_useState2","_slicedToArray","innerSelected","innerSetSelected","_useState3","_useState4","innerFiltered","setInnerFiltered","_useState5","_useState6","innerSorted","setInnerSorted","handleRowSelection","updaterOrValue","handleSorting","handleFiltering","tableContainerRef","useRef","rootRef","useForkRef","columnsData","useMemo","concat","_toConsumableArray","id","header","_ref2","table","React","createElement","StyledCheckbox","checked","getIsSomeRowsSelected","getIsAllRowsSelected","indeterminate","getToggleAllRowsSelectedHandler","cell","_ref3","row","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","enableResizing","map","_ref4","label","filters","_ref4$enableSorting","enableSorting","_ref4$enableResizing","outerFilterFn","filterFn","columnSize","width","_ref4$enableEditing","enableEditing","renderCell","accessorKey","columnId","filterArr","Array","isArray","length","i","filterValue","getValue","meta","useReactTable","getRowId","getCoreRowModel","getSortedRowModel","manualSorting","Boolean","manualFiltering","state","rowSelection","columnFilters","sorting","onSortingChange","getFilteredRowModel","onColumnFiltersChange","onRowSelectionChange","columnResizeMode","columnResizeDirection","updateData","rowId","value","style","Table","Thead","getHeaderGroups","headerGroup","Tr","key","headers","HeadCell","index","getRowModel","rows","getVisibleCells","_cell$column","column","columnDef","EditableCell","Cell","tableConfig","name","tag","layout","base","variations","defaults"],"mappings":";;;;;;;;;;;;;;;;;AAsBO,IAAMA,gBAAgB,GAAG,qBAAoB;IAqBvCC,SAAS,GAAG,SAAZA,SAASA,CAAIC,IAA2C,EAAA;AAAA,EAAA,oBACjEC,gBAAU,CACN,UAAAC,IAAA,EAgBIC,GAAG,EACF;AAAA,IAAA,IAfGC,IAAI,GAAAF,IAAA,CAAJE,IAAI;MACJC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;MACRC,OAAO,GAAAJ,IAAA,CAAPI,OAAO;MACPC,IAAI,GAAAL,IAAA,CAAJK,IAAI;MACJC,IAAI,GAAAN,IAAA,CAAJM,IAAI;MAAAC,kBAAA,GAAAP,IAAA,CACJQ,aAAa;AAAbA,MAAAA,aAAa,GAAAD,kBAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,kBAAA;MACrBE,eAAe,GAAAT,IAAA,CAAfS,eAAe;MACLC,aAAa,GAAAV,IAAA,CAAvBW,QAAQ;MACEC,aAAa,GAAAZ,IAAA,CAAvBa,QAAQ;MACAC,WAAW,GAAAd,IAAA,CAAnBe,MAAM;MACNC,SAAS,GAAAhB,IAAA,CAATgB,SAAS;MACTC,YAAY,GAAAjB,IAAA,CAAZiB,YAAY;MACZC,YAAY,GAAAlB,IAAA,CAAZkB,YAAY,CAAA;IAIhB,IAAAC,SAAA,GAA0CC,cAAQ,CAAoBV,aAAa,IAAI,EAAE,CAAC;MAAAW,UAAA,GAAAC,uCAAA,CAAAH,SAAA,EAAA,CAAA,CAAA;AAAnFI,MAAAA,aAAa,GAAAF,UAAA,CAAA,CAAA,CAAA;AAAEG,MAAAA,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AW,GAAG;AACvBC,EAAAA,IAAI,EAAE,OAAO;AACbC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEpI,SAAS;AACjBqI,EAAAA,IAAI,EAAJA,iBAAI;EACJC,UAAU,EAAE,EAAE;AACdC,EAAAA,QAAQ,EAAE;AACN/H,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;;"}
1
+ {"version":3,"file":"Table.js","sources":["../../../src/components/Table/Table.tsx"],"sourcesContent":["import React, { forwardRef, useState, useMemo, useRef } from 'react';\nimport {\n getCoreRowModel,\n useReactTable,\n ColumnDef,\n getSortedRowModel,\n getFilteredRowModel,\n OnChangeFn,\n ColumnFiltersState,\n RowSelectionState,\n Table as TableType,\n Row,\n} from '@tanstack/react-table';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../engines';\n\nimport { HeadCell, Cell, EditableCell } from './ui';\nimport { TableProps, TableRowData } from './Table.types';\nimport { base, Table, Tr, Thead, StyledCheckbox, Tbody } from './Table.styles';\n\ntype ColumnSort = {\n id: string;\n desc: boolean;\n};\ntype SortingState = ColumnSort[];\n\nexport const SELECT_COLUMN_ID = 'SELECT_COLUMN_UNIQUE_ID';\n\nexport const tableRoot = (Root: RootProps<HTMLDivElement, TableProps>) =>\n forwardRef<HTMLDivElement, TableProps>(\n (\n {\n data,\n onChange,\n columns,\n view,\n size,\n borderVariant = 'all',\n enableSelection,\n selected: outerSelected,\n filtered: outerFiltered,\n sorted: outerSorted,\n maxHeight,\n stickyHeader,\n onCellUpdate,\n ...props\n },\n ref,\n ) => {\n const [innerSelected, innerSetSelected] = useState<RowSelectionState>(outerSelected || {});\n const [innerFiltered, setInnerFiltered] = useState<ColumnFiltersState>(outerFiltered || []);\n const [innerSorted, setInnerSorted] = useState<SortingState>(outerSorted || []);\n\n const selected = outerSelected || innerSelected;\n const filtered = outerFiltered || innerFiltered;\n const sorted: SortingState = outerSorted || innerSorted;\n\n const handleRowSelection: OnChangeFn<RowSelectionState> = (updaterOrValue) => {\n if (!outerSelected) {\n innerSetSelected(updaterOrValue);\n }\n\n if (onChange) {\n onChange({\n selected: typeof updaterOrValue === 'function' ? updaterOrValue(selected) : updaterOrValue,\n filtered,\n sorted,\n });\n }\n };\n\n const handleSorting: OnChangeFn<SortingState> = (updaterOrValue) => {\n if (!outerSorted) {\n setInnerSorted(updaterOrValue);\n }\n\n if (onChange) {\n onChange({\n selected,\n filtered,\n sorted: typeof updaterOrValue === 'function' ? updaterOrValue(sorted) : updaterOrValue,\n });\n }\n };\n\n const handleFiltering: OnChangeFn<ColumnFiltersState> = (updaterOrValue) => {\n if (!outerFiltered) {\n setInnerFiltered(updaterOrValue);\n }\n\n if (onChange) {\n onChange({\n selected,\n filtered: typeof updaterOrValue === 'function' ? updaterOrValue(filtered) : updaterOrValue,\n sorted,\n });\n }\n };\n\n const tableContainerRef = useRef<HTMLDivElement>(null);\n\n const rootRef = useForkRef(tableContainerRef, ref);\n\n const columnsData = useMemo<ColumnDef<typeof data[number]>[]>(\n () => [\n ...(enableSelection\n ? [\n {\n id: SELECT_COLUMN_ID,\n header: ({ table }: { table: TableType<typeof data[number]> }) => (\n <StyledCheckbox\n checked={table.getIsSomeRowsSelected() || table.getIsAllRowsSelected()}\n indeterminate={table.getIsSomeRowsSelected()}\n onChange={table.getToggleAllRowsSelectedHandler()}\n />\n ),\n cell: ({ row }: { row: Row<typeof data[number]> }) => (\n <StyledCheckbox\n checked={row.getIsSelected()}\n indeterminate={row.getIsSomeSelected()}\n onChange={row.getToggleSelectedHandler()}\n />\n ),\n enableResizing: false,\n },\n ]\n : []),\n ...columns.map(\n ({\n id,\n label,\n filters,\n enableSorting = false,\n enableResizing = false,\n filterFn: outerFilterFn,\n width: columnSize,\n enableEditing = false,\n renderCell,\n }) => ({\n header: label,\n accessorKey: id,\n size: columnSize,\n enableSorting,\n enableResizing,\n filterFn: (row: Row<TableRowData>, columnId: string, filterArr: string[]) => {\n if (filterArr?.length !== 0 && outerFilterFn && filterArr && Array.isArray(filterArr)) {\n return filterArr.some((filterValue) =>\n outerFilterFn(filterValue, row.getValue(columnId)),\n );\n }\n\n return true;\n },\n meta: {\n filters,\n enableEditing,\n renderCell,\n },\n }),\n ),\n ],\n [enableSelection, columns],\n );\n\n const table = useReactTable({\n data,\n columns: columnsData,\n getRowId: (row) => row.id,\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualSorting: Boolean(outerSorted),\n manualFiltering: Boolean(outerFiltered),\n state: {\n rowSelection: selected,\n columnFilters: filtered,\n sorting: sorted,\n },\n onSortingChange: handleSorting,\n getFilteredRowModel: getFilteredRowModel(),\n onColumnFiltersChange: handleFiltering,\n onRowSelectionChange: handleRowSelection,\n columnResizeMode: 'onChange',\n columnResizeDirection: 'ltr',\n meta: {\n updateData: (rowId, columnId, value) => {\n if (onCellUpdate) {\n onCellUpdate(rowId, columnId, value);\n }\n },\n },\n });\n\n return (\n <Root\n ref={rootRef}\n data={data}\n columns={columns}\n view={view}\n size={size}\n style={{ maxHeight: maxHeight || 'none' }}\n {...props}\n >\n <Table borderVariant={borderVariant} stickyHeader={stickyHeader}>\n <Thead view={view} borderVariant={borderVariant} stickyHeader={stickyHeader}>\n {table.getHeaderGroups().map((headerGroup) => (\n <Tr key={headerGroup.id}>\n {headerGroup.headers.map((header) => (\n <HeadCell\n key={header.index}\n header={header}\n size={size}\n borderVariant={borderVariant}\n outerFiltered={outerFiltered}\n tableContainerRef={tableContainerRef}\n />\n ))}\n </Tr>\n ))}\n </Thead>\n\n <Tbody>\n {table.getRowModel().rows.map((row) => (\n <Tr key={row.id} selected={row.getIsSelected()}>\n {row.getVisibleCells().map((cell) =>\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n cell?.column?.columnDef?.meta?.enableEditing ? (\n <EditableCell\n key={cell.id}\n size={size}\n cell={cell}\n borderVariant={borderVariant}\n table={table}\n selected={row.getIsSelected()}\n view={view}\n />\n ) : (\n <Cell\n key={cell.id}\n cell={cell}\n borderVariant={borderVariant}\n selected={row.getIsSelected()}\n view={view}\n />\n ),\n )}\n </Tr>\n ))}\n </Tbody>\n </Table>\n </Root>\n );\n },\n );\n\nexport const tableConfig = {\n name: 'Table',\n tag: 'div',\n layout: tableRoot,\n base,\n variations: {},\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["SELECT_COLUMN_ID","tableRoot","Root","forwardRef","_ref","ref","data","onChange","columns","view","size","_ref$borderVariant","borderVariant","enableSelection","outerSelected","selected","outerFiltered","filtered","outerSorted","sorted","maxHeight","stickyHeader","onCellUpdate","props","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","innerSelected","innerSetSelected","_useState3","_useState4","innerFiltered","setInnerFiltered","_useState5","_useState6","innerSorted","setInnerSorted","handleRowSelection","updaterOrValue","handleSorting","handleFiltering","tableContainerRef","useRef","rootRef","useForkRef","columnsData","useMemo","concat","_toConsumableArray","id","header","_ref2","table","React","createElement","StyledCheckbox","checked","getIsSomeRowsSelected","getIsAllRowsSelected","indeterminate","getToggleAllRowsSelectedHandler","cell","_ref3","row","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","enableResizing","map","_ref4","label","filters","_ref4$enableSorting","enableSorting","_ref4$enableResizing","outerFilterFn","filterFn","columnSize","width","_ref4$enableEditing","enableEditing","renderCell","accessorKey","columnId","filterArr","length","Array","isArray","some","filterValue","getValue","meta","useReactTable","getRowId","getCoreRowModel","getSortedRowModel","manualSorting","Boolean","manualFiltering","state","rowSelection","columnFilters","sorting","onSortingChange","getFilteredRowModel","onColumnFiltersChange","onRowSelectionChange","columnResizeMode","columnResizeDirection","updateData","rowId","value","_extends","style","Table","Thead","getHeaderGroups","headerGroup","Tr","key","headers","HeadCell","index","Tbody","getRowModel","rows","getVisibleCells","_cell$column","column","columnDef","EditableCell","Cell","tableConfig","name","tag","layout","base","variations","defaults"],"mappings":";;;;;;;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('./Table.styles_1eg2zsx.css');
1
+ require('./Table.styles_xngwgy.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -80,6 +80,11 @@ var Thead = /*#__PURE__*/react.styled('thead')({
80
80
  "t1uk535o-2": [/*#__PURE__*/_exp11()]
81
81
  }
82
82
  });
83
+ var Tbody = /*#__PURE__*/react.styled('tbody')({
84
+ name: "Tbody",
85
+ "class": "t1ezol8",
86
+ propsAsIs: false
87
+ });
83
88
  var _exp13 = function _exp13() {
84
89
  return function (_ref6) {
85
90
  var isResizing = _ref6.isResizing;
@@ -88,10 +93,10 @@ var _exp13 = function _exp13() {
88
93
  };
89
94
  var Resizer = /*#__PURE__*/react.styled('div')({
90
95
  name: "Resizer",
91
- "class": "r1ezol8",
96
+ "class": "r18b5m0z",
92
97
  propsAsIs: false,
93
98
  vars: {
94
- "r1ezol8-0": [/*#__PURE__*/_exp13()]
99
+ "r18b5m0z-0": [/*#__PURE__*/_exp13()]
95
100
  }
96
101
  });
97
102
  var _exp14 = function _exp14() {
@@ -108,11 +113,11 @@ var _exp16 = function _exp16() {
108
113
  };
109
114
  var Th = /*#__PURE__*/react.styled('th')({
110
115
  name: "Th",
111
- "class": "t18b5m0z",
116
+ "class": "tedz16",
112
117
  propsAsIs: false,
113
118
  vars: {
114
- "t18b5m0z-0": [/*#__PURE__*/_exp14()],
115
- "t18b5m0z-1": [/*#__PURE__*/_exp16()]
119
+ "tedz16-0": [/*#__PURE__*/_exp14()],
120
+ "tedz16-1": [/*#__PURE__*/_exp16()]
116
121
  }
117
122
  });
118
123
  var _exp18 = function _exp18() {
@@ -120,7 +125,7 @@ var _exp18 = function _exp18() {
120
125
  };
121
126
  var StyledCheckbox = /*#__PURE__*/react.styled(_exp18())({
122
127
  name: "StyledCheckbox",
123
- "class": "sedz16",
128
+ "class": "s3mgb7q",
124
129
  propsAsIs: true
125
130
  });
126
131
  var _exp26 = function _exp26() {
@@ -128,7 +133,7 @@ var _exp26 = function _exp26() {
128
133
  };
129
134
  var StyledDivider = /*#__PURE__*/react.styled(_exp26())({
130
135
  name: "StyledDivider",
131
- "class": "s3mgb7q",
136
+ "class": "s177cehz",
132
137
  propsAsIs: true
133
138
  });
134
139
  var _exp30 = function _exp30() {
@@ -136,7 +141,7 @@ var _exp30 = function _exp30() {
136
141
  };
137
142
  var Button = /*#__PURE__*/react.styled(_exp30())({
138
143
  name: "Button",
139
- "class": "b177cehz",
144
+ "class": "beus4rw",
140
145
  propsAsIs: true
141
146
  });
142
147
  var _exp46 = function _exp46() {
@@ -144,7 +149,7 @@ var _exp46 = function _exp46() {
144
149
  };
145
150
  var ButtonAccent = /*#__PURE__*/react.styled(_exp46())({
146
151
  name: "ButtonAccent",
147
- "class": "beus4rw",
152
+ "class": "bfybxxj",
148
153
  propsAsIs: true
149
154
  });
150
155
  var _exp52 = function _exp52() {
@@ -152,7 +157,7 @@ var _exp52 = function _exp52() {
152
157
  };
153
158
  var LinkButton = /*#__PURE__*/react.styled(_exp52())({
154
159
  name: "LinkButton",
155
- "class": "lfybxxj",
160
+ "class": "l1ql6jvb",
156
161
  propsAsIs: true
157
162
  });
158
163
 
@@ -163,6 +168,7 @@ exports.Resizer = Resizer;
163
168
  exports.StyledCheckbox = StyledCheckbox;
164
169
  exports.StyledDivider = StyledDivider;
165
170
  exports.Table = Table;
171
+ exports.Tbody = Tbody;
166
172
  exports.Th = Th;
167
173
  exports.Thead = Thead;
168
174
  exports.Tr = Tr;
@@ -1 +1 @@
1
- {"version":3,"file":"Table.styles.js","sources":["../../../src/components/Table/Table.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../engines';\nimport { checkboxConfig, checkboxTokens } from '../Checkbox';\nimport { dividerConfig, dividerTokens } from '../Divider';\nimport { buttonConfig, buttonTokens } from '../Button';\nimport { linkButtonConfig, linkButtonTokens } from '../LinkButton';\n\nimport { TableProps } from './Table.types';\nimport { tableTokens as tokens } from './Table.tokens';\n\nconst mergedCheckboxConfig = mergeConfig(checkboxConfig);\nconst Checkbox = component(mergedCheckboxConfig);\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst ButtonBase = component(mergedButtonConfig);\n\nconst mergedDividerConfig = mergeConfig(dividerConfig);\nconst Divider = component(mergedDividerConfig);\n\nconst mergedLinkButtonConfig = mergeConfig(linkButtonConfig);\nconst LinkButtonBase = component(mergedLinkButtonConfig);\n\nexport const base = css`\n display: inline-block;\n overflow-y: auto;\n`;\n\nexport const Table = styled.table<{ borderVariant: TableProps['borderVariant']; stickyHeader?: boolean }>`\n width: fit-content;\n\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n\n border-collapse: collapse;\n\n border-width: 0;\n border-style: solid;\n border-color: ${({ borderVariant }) => (borderVariant === 'all' ? `var(${tokens.borderColor})` : 'transparent')};\n`;\n\nexport const Tr = styled.tr<{ selected?: boolean }>`\n width: fit-content;\n background-color: ${({ selected }) => (selected ? 'var(--surface-transparent-accent)' : 'transparent')};\n`;\n\nexport const Thead = styled.thead<{\n view: TableProps['view'];\n borderVariant: TableProps['borderVariant'];\n stickyHeader?: boolean;\n}>`\n position: ${({ stickyHeader }) => (stickyHeader ? 'sticky' : 'static')};\n top: 0;\n background: ${({ stickyHeader }) => (stickyHeader ? 'var(--background-primary)' : 'transparent')};\n z-index: 1;\n box-shadow: ${({ view, borderVariant }) =>\n // eslint-disable-next-line no-nested-ternary\n view === 'clear'\n ? 'none'\n : borderVariant === 'header' || borderVariant === 'rows'\n ? `inset 0 -1px 0 0 var(${tokens.borderColor})`\n : `inset 0 1px 0 0 var(${tokens.borderColor}), inset 0 -1px 0 0 var(${tokens.borderColor})`};\n\n ${Tr} {\n background: transparent;\n }\n`;\n\nexport const Resizer = styled.div<{ isResizing: boolean }>`\n display: ${({ isResizing }) => (isResizing ? 'block' : 'none')};\n position: absolute;\n z-index: 1;\n top: -1px;\n bottom: 0;\n right: -2px;\n width: 0.1875rem;\n background: var(--outline-accent);\n cursor: col-resize;\n user-select: none;\n touch-action: none;\n`;\n\nexport const Th = styled.th<{ borderVariant: TableProps['borderVariant']; selectionCell?: boolean }>`\n padding: ${({ selectionCell }) =>\n selectionCell ? `var(${tokens.checkboxCellPadding})` : `var(${tokens.cellPadding})`};\n position: relative;\n font-weight: 600;\n text-align: left;\n height: var(${tokens.headerRowHeight});\n background-color: transparent;\n color: inherit;\n\n border-width: 1px;\n border-top-width: 0;\n border-bottom-width: 0;\n border-style: solid;\n border-color: ${({ borderVariant }) => (borderVariant === 'all' ? `var(${tokens.borderColor})` : 'transparent')};\n\n &:hover {\n ${Resizer} {\n display: block;\n }\n }\n`;\n\nexport const StyledCheckbox = styled(Checkbox)`\n ${checkboxTokens.triggerSize}: var(${tokens.checkboxTriggerSize});\n ${checkboxTokens.triggerBorderRadius}: var(${tokens.checkboxTriggerBorderRadius});\n ${checkboxTokens.fillColor}: var(--text-accent);\n ${checkboxTokens.iconColor}: var(--on-dark-text-primary);\n ${checkboxTokens.triggerBorderColor}: var(--text-secondary);\n`;\n\nexport const StyledDivider = styled(Divider)`\n ${dividerTokens.baseSideSize}: 0.0625rem;\n ${dividerTokens.background}: var(--surface-transparent-tertiary);\n ${dividerTokens.borderRadius}: 0.0625rem;\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonTokens.buttonHeight}: var(${tokens.buttonHeight});\n ${buttonTokens.buttonDisabledOpacity}: 0.4;\n\n ${buttonTokens.buttonFontFamily}: var(${tokens.buttonFontFamily});\n ${buttonTokens.buttonFontSize}: var(${tokens.buttonFontSize});\n ${buttonTokens.buttonFontStyle}: var(${tokens.buttonFontStyle});\n ${buttonTokens.buttonFontWeight}: var(${tokens.buttonFontWeight});\n ${buttonTokens.buttonLetterSpacing}: var(${tokens.buttonLetterSpacing});\n ${buttonTokens.buttonLineHeight}: var(${tokens.buttonLineHeight});\n`;\n\nexport const ButtonAccent = styled(Button)`\n ${buttonTokens.buttonColor}: var(--on-dark-text-primary);\n ${buttonTokens.buttonValueColor}: var(--on-dark-text-secondary);\n ${buttonTokens.buttonBackgroundColor}: var(--surface-accent);\n ${buttonTokens.buttonBackgroundColorHover}: var(--surface-accent-hover);\n ${buttonTokens.buttonBackgroundColorActive}: var(--surface-accent-active);\n`;\n\nexport const LinkButton = styled(LinkButtonBase)`\n ${linkButtonTokens.linkButtonColor}: var(--text-primary);\n ${linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);\n ${linkButtonTokens.linkButtonColorHover}: var(--text-primary-hover);\n ${linkButtonTokens.linkButtonColorActive}: var(--text-primary-active);\n ${linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);\n\n ${linkButtonTokens.linkButtonFontFamily}: var(${tokens.linkButtonFontFamily});\n ${linkButtonTokens.linkButtonFontSize}: var(${tokens.linkButtonFontSize});\n ${linkButtonTokens.linkButtonFontStyle}: var(${tokens.linkButtonFontStyle});\n ${linkButtonTokens.linkButtonFontWeight}: var(${tokens.linkButtonFontWeight});\n ${linkButtonTokens.linkButtonLetterSpacing}: var(${tokens.linkButtonLetterSpacing});\n ${linkButtonTokens.linkButtonLineHeight}: var(${tokens.linkButtonLineHeight});\n`;\n"],"names":["mergedCheckboxConfig","mergeConfig","checkboxConfig","Checkbox","component","mergedButtonConfig","buttonConfig","ButtonBase","mergedDividerConfig","dividerConfig","Divider","mergedLinkButtonConfig","linkButtonConfig","LinkButtonBase","base","_exp7","_ref","borderVariant","concat","tokens","borderColor","Table","styled","name","class","propsAsIs","vars","_exp8","_ref2","selected","Tr","_exp9","_ref3","stickyHeader","_exp10","_ref4","_exp11","_ref5","view","Thead","_exp13","_ref6","isResizing","Resizer","_exp14","_ref7","selectionCell","checkboxCellPadding","cellPadding","_exp16","_ref8","Th","_exp18","StyledCheckbox","_exp26","StyledDivider","_exp30","Button","_exp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ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../engines';\nimport { checkboxConfig, checkboxTokens } from '../Checkbox';\nimport { dividerConfig, dividerTokens } from '../Divider';\nimport { buttonConfig, buttonTokens } from '../Button';\nimport { linkButtonConfig, linkButtonTokens } from '../LinkButton';\n\nimport { TableProps } from './Table.types';\nimport { tableTokens as tokens } from './Table.tokens';\n\nconst mergedCheckboxConfig = mergeConfig(checkboxConfig);\nconst Checkbox = component(mergedCheckboxConfig);\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst ButtonBase = component(mergedButtonConfig);\n\nconst mergedDividerConfig = mergeConfig(dividerConfig);\nconst Divider = component(mergedDividerConfig);\n\nconst mergedLinkButtonConfig = mergeConfig(linkButtonConfig);\nconst LinkButtonBase = component(mergedLinkButtonConfig);\n\nexport const base = css`\n display: inline-block;\n overflow-y: auto;\n`;\n\nexport const Table = styled.table<{ borderVariant: TableProps['borderVariant']; stickyHeader?: boolean }>`\n width: fit-content;\n\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n\n border-collapse: collapse;\n\n border-width: 0;\n border-style: solid;\n border-color: ${({ borderVariant }) => (borderVariant === 'all' ? `var(${tokens.borderColor})` : 'transparent')};\n`;\n\nexport const Tr = styled.tr<{ selected?: boolean }>`\n width: fit-content;\n background-color: ${({ selected }) => (selected ? 'var(--surface-transparent-accent)' : 'transparent')};\n`;\n\nexport const Thead = styled.thead<{\n view: TableProps['view'];\n borderVariant: TableProps['borderVariant'];\n stickyHeader?: boolean;\n}>`\n position: ${({ stickyHeader }) => (stickyHeader ? 'sticky' : 'static')};\n top: 0;\n background: ${({ stickyHeader }) => (stickyHeader ? 'var(--background-primary)' : 'transparent')};\n z-index: 1;\n box-shadow: ${({ view, borderVariant }) =>\n // eslint-disable-next-line no-nested-ternary\n view === 'clear'\n ? 'none'\n : borderVariant === 'header' || borderVariant === 'rows'\n ? `inset 0 -1px 0 0 var(${tokens.borderColor})`\n : `inset 0 1px 0 0 var(${tokens.borderColor}), inset 0 -1px 0 0 var(${tokens.borderColor})`};\n\n ${Tr} {\n background: transparent;\n }\n`;\n\nexport const Tbody = styled.tbody``;\n\nexport const Resizer = styled.div<{ isResizing: boolean }>`\n display: ${({ isResizing }) => (isResizing ? 'block' : 'none')};\n position: absolute;\n z-index: 1;\n top: -0.0625rem;\n bottom: 0;\n right: -0.125rem;\n width: 0.1875rem;\n background: var(--outline-accent);\n cursor: col-resize;\n user-select: none;\n touch-action: none;\n`;\n\nexport const Th = styled.th<{ borderVariant: TableProps['borderVariant']; selectionCell?: boolean }>`\n padding: ${({ selectionCell }) =>\n selectionCell ? `var(${tokens.checkboxCellPadding})` : `var(${tokens.cellPadding})`};\n position: relative;\n font-weight: 600;\n text-align: left;\n height: var(${tokens.headerRowHeight});\n background-color: transparent;\n color: inherit;\n\n border-width: 0.0625rem;\n border-top-width: 0;\n border-bottom-width: 0;\n border-style: solid;\n border-color: ${({ borderVariant }) => (borderVariant === 'all' ? `var(${tokens.borderColor})` : 'transparent')};\n\n &:hover {\n ${Resizer} {\n display: block;\n }\n }\n`;\n\nexport const StyledCheckbox = styled(Checkbox)`\n ${checkboxTokens.triggerSize}: var(${tokens.checkboxTriggerSize});\n ${checkboxTokens.triggerBorderRadius}: var(${tokens.checkboxTriggerBorderRadius});\n ${checkboxTokens.fillColor}: var(--text-accent);\n ${checkboxTokens.iconColor}: var(--on-dark-text-primary);\n ${checkboxTokens.triggerBorderColor}: var(--text-secondary);\n`;\n\nexport const StyledDivider = styled(Divider)`\n ${dividerTokens.baseSideSize}: 0.0625rem;\n ${dividerTokens.background}: var(--surface-transparent-tertiary);\n ${dividerTokens.borderRadius}: 0.0625rem;\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonTokens.buttonHeight}: var(${tokens.buttonHeight});\n ${buttonTokens.buttonDisabledOpacity}: 0.4;\n\n ${buttonTokens.buttonFontFamily}: var(${tokens.buttonFontFamily});\n ${buttonTokens.buttonFontSize}: var(${tokens.buttonFontSize});\n ${buttonTokens.buttonFontStyle}: var(${tokens.buttonFontStyle});\n ${buttonTokens.buttonFontWeight}: var(${tokens.buttonFontWeight});\n ${buttonTokens.buttonLetterSpacing}: var(${tokens.buttonLetterSpacing});\n ${buttonTokens.buttonLineHeight}: var(${tokens.buttonLineHeight});\n`;\n\nexport const ButtonAccent = styled(Button)`\n ${buttonTokens.buttonColor}: var(--on-dark-text-primary);\n ${buttonTokens.buttonValueColor}: var(--on-dark-text-secondary);\n ${buttonTokens.buttonBackgroundColor}: var(--surface-accent);\n ${buttonTokens.buttonBackgroundColorHover}: var(--surface-accent-hover);\n ${buttonTokens.buttonBackgroundColorActive}: var(--surface-accent-active);\n`;\n\nexport const LinkButton = styled(LinkButtonBase)`\n ${linkButtonTokens.linkButtonColor}: var(--text-primary);\n ${linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);\n ${linkButtonTokens.linkButtonColorHover}: var(--text-primary-hover);\n ${linkButtonTokens.linkButtonColorActive}: var(--text-primary-active);\n ${linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);\n\n ${linkButtonTokens.linkButtonFontFamily}: var(${tokens.linkButtonFontFamily});\n ${linkButtonTokens.linkButtonFontSize}: var(${tokens.linkButtonFontSize});\n ${linkButtonTokens.linkButtonFontStyle}: var(${tokens.linkButtonFontStyle});\n ${linkButtonTokens.linkButtonFontWeight}: var(${tokens.linkButtonFontWeight});\n ${linkButtonTokens.linkButtonLetterSpacing}: var(${tokens.linkButtonLetterSpacing});\n ${linkButtonTokens.linkButtonLineHeight}: var(${tokens.linkButtonLineHeight});\n`;\n"],"names":["mergedCheckboxConfig","mergeConfig","checkboxConfig","Checkbox","component","mergedButtonConfig","buttonConfig","ButtonBase","mergedDividerConfig","dividerConfig","Divider","mergedLinkButtonConfig","linkButtonConfig","LinkButtonBase","base","_exp7","_ref","borderVariant","concat","tokens","borderColor","Table","styled","name","class","propsAsIs","vars","_exp8","_ref2","selected","Tr","_exp9","_ref3","stickyHeader","_exp10","_ref4","_exp11","_ref5","view","Thead","Tbody","_exp13","_ref6","isResizing","Resizer","_exp14","_ref7","selectionCell","checkboxCellPadding","cellPadding","_exp16","_ref8","Th","_exp18","StyledCheckbox","_exp26","StyledDivider","_exp30","Button","_exp46","ButtonAccent","_exp52","LinkButton"],"mappings":";;;;;;;;;;;;AAYA,IAAMA,oBAAoB,gBAAGC,kBAAW,CAACC,yBAAc,CAAC,CAAA;AACxD,IAAMC,QAAQ,gBAAGC,gBAAS,CAACJ,oBAAoB,CAAC,CAAA;AAEhD,IAAMK,kBAAkB,gBAAGJ,kBAAW,CAACK,qBAAY,CAAC,CAAA;AACpD,IAAMC,UAAU,gBAAGH,gBAAS,CAACC,kBAAkB,CAAC,CAAA;AAEhD,IAAMG,mBAAmB,gBAAGP,kBAAW,CAACQ,uBAAa,CAAC,CAAA;AACtD,IAAMC,OAAO,gBAAGN,gBAAS,CAACI,mBAAmB,CAAC,CAAA;AAE9C,IAAMG,sBAAsB,gBAAGV,kBAAW,CAACW,6BAAgB,CAAC,CAAA;AAC5D,IAAMC,cAAc,gBAAGT,gBAAS,CAACO,sBAAsB,CAAC,CAAA;AAEjD,IAAMG,IAAI,GAGhB,WAAA;AAAC,IAAAC,KAAA,GA1BgBA,SA0BhBA,KAAAA,GAAA;AAAA,EAAA,OAgBkB,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,aAAAA,GAAAA,IAAAA,CAAAA,aAAAA,CAAAA;IAAAA,OAAqBA,aAAa,KAAK,KAAK,GAAAC,MAAAA,CAAAA,MAAA,CAAUC,wBAAM,CAACC,WAAW,EAAA,GAAA,CAAA,GAAM,aAAc,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAd5G,IAAMC,KAAK,gBAAGC,YAAM,CA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,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAMjC,EAAA;AAAC,IAAAoC,MAAA,GA/IgBA,SA+IhBA,MAAAA,GAAA;AAAA,EAAA,OAE+BhD,cAAc,CAAA;AAAA,CAAA,CAAA;AAAxC,IAAMiD,UAAU,gBAAGxC,YAAM,CAAAuC,MAAA,EAAA,CAAA,CAAA;AAAAtC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAa/B;;;;;;;;;;;;;;;"}
@@ -0,0 +1,12 @@
1
+ .b1lxisuf{display:inline-block;overflow-y:auto;}
2
+ .t15d4jbz{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-family:var(--plasma-table-font-family);font-size:var(--plasma-table-font-size);font-style:var(--plasma-table-font-style);font-weight:var(--plasma-table-font-weight);-webkit-letter-spacing:var(--plasma-table-letter-spacing);-moz-letter-spacing:var(--plasma-table-letter-spacing);-ms-letter-spacing:var(--plasma-table-letter-spacing);letter-spacing:var(--plasma-table-letter-spacing);line-height:var(--plasma-table-line-height);border-collapse:collapse;border-width:0;border-style:solid;border-color:var(--t15d4jbz-0);}
3
+ .t1ri3no5{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--t1ri3no5-0);}
4
+ .t1uk535o{position:var(--t1uk535o-0);top:0;background:var(--t1uk535o-1);z-index:1;box-shadow:var(--t1uk535o-2);}.t1uk535o .t1ri3no5{background:transparent;}
5
+
6
+ .r18b5m0z{display:var(--r18b5m0z-0);position:absolute;z-index:1;top:-0.0625rem;bottom:0;right:-0.125rem;width:0.1875rem;background:var(--outline-accent);cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:none;}
7
+ .tedz16{padding:var(--tedz16-0);position:relative;font-weight:600;text-align:left;height:var(--plasma-table-header-row-height);background-color:transparent;color:inherit;border-width:0.0625rem;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:var(--tedz16-1);}.tedz16:hover .r18b5m0z{display:block;}
8
+ .s3mgb7q{--plasma-checkbox-trigger-size:var(--plasma-table-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-table-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--text-accent);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-trigger-border-color:var(--text-secondary);}
9
+ .s177cehz{--plasma-divider-base-side-size:0.0625rem;--plasma-divider-background:var(--surface-transparent-tertiary);--plasma-divider-border-radius:0.0625rem;}
10
+ .beus4rw{--plasma-button-height:var(--plasma-table-button-height);--plasma-button-disabled-opacity:0.4;--plasma-button-font-family:var(--plasma-table-button-font-family);--plasma-button-font-size:var(--plasma-table-button-font-size);--plasma-button-font-style:var(--plasma-table-button-font-style);--plasma-button-font-weight:var(--plasma-table-button-font-weight);--plasma-button-letter-spacing:var(--plasma-table-button-letter-spacing);--plasma-button-line-height:var(--plasma-table-button-line-height);}
11
+ .bfybxxj.beus4rw{--plasma-button-color:var(--on-dark-text-primary);--plasma-button-value-color:var(--on-dark-text-secondary);--plasma-button-background-color:var(--surface-accent);--plasma-button-background-color-hover:var(--surface-accent-hover);--plasma-button-background-color-active:var(--surface-accent-active);}
12
+ .l1ql6jvb{--plasma-link-button-color:var(--text-primary);--plasma-link-button-background-color:var(--surface-transparent-clear);--plasma-link-button-color-hover:var(--text-primary-hover);--plasma-link-button-color-active:var(--text-primary-active);--plasma-link-button-focus-color:var(--surface-accent);--plasma-link-button-font-family:var(--plasma-table-link-button-font-family);--plasma-link-button-font-size:var(--plasma-table-link-button-font-size);--plasma-link-button-font-style:var(--plasma-table-link-button-font-style);--plasma-link-button-font-weight:var(--plasma-table-link-button-font-weight);--plasma-link-button-letter-spacing:var(--plasma-table-link-button-letter-spacing);--plasma-link-button-line-height:var(--plasma-table-link-button-line-height);}
@@ -2,6 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var classes = {
6
+ editIcon: 'edit-icon',
7
+ sortingDefaultIcon: 'sorting-default-icon',
8
+ sortingAscIcon: 'sorting-asc-icon',
9
+ sortingDescIcon: 'sorting-desc-icon',
10
+ filterIcon: 'filter-icon',
11
+ resizeDivider: 'resize-divider'
12
+ };
5
13
  var tableTokens = {
6
14
  fontFamily: '--plasma-table-font-family',
7
15
  fontSize: '--plasma-table-font-size',
@@ -59,5 +67,6 @@ var tableTokens = {
59
67
  linkButtonLineHeight: '--plasma-table-link-button-line-height'
60
68
  };
61
69
 
70
+ exports.classes = classes;
62
71
  exports.tableTokens = tableTokens;
63
72
  //# sourceMappingURL=Table.tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.tokens.js","sources":["../../../src/components/Table/Table.tokens.ts"],"sourcesContent":["export const tableTokens = {\n fontFamily: '--plasma-table-font-family',\n fontSize: '--plasma-table-font-size',\n fontStyle: '--plasma-table-font-style',\n fontWeight: '--plasma-table-font-weight',\n letterSpacing: '--plasma-table-letter-spacing',\n lineHeight: '--plasma-table-line-height',\n\n borderColor: '--plasma-table-border-color',\n headerRowHeight: '--plasma-table-header-row-height',\n rowHeight: '--plasma-table-row-height',\n cellPadding: '--plasma-cell-padding',\n checkboxCellPadding: '--plasma-checkbox-cell-padding',\n\n checkboxTriggerSize: '--plasma-table-checkbox-trigger-size',\n checkboxTriggerBorderRadius: '--plasma-table-checkbox-trigger-border-radius',\n\n editableCellIconGap: '--plasma-table-editable-cell-icon-gap',\n editableCellIconButtonWidth: '--plasma-table-editable-cell-icon-button-width',\n editableCellIconButtonHeight: '--plasma-table-editable-cell-icon-button-height',\n editableCellPadding: '--plasma-table-editable-cell-padding',\n editableCellInputBorderRadius: '--plasma-table-editable-cell-input-border-radius',\n editableCellInputPadding: '--plasma-table-editable-cell-input-padding',\n editableCellInputBackground: '--plasma-table-editable-cell-input-background',\n editableCellInputBorderColor: '--plasma-table-editable-cell-input-border-color',\n\n filterCheckboxPadding: '--plasma-table-filter-checkbox-padding',\n filterDividerMargin: '--plasma-table-filter-divider-margin',\n\n buttonHeight: '--plasma-table-button-height',\n buttonFontFamily: '--plasma-table-button-font-family',\n buttonFontSize: '--plasma-table-button-font-size',\n buttonFontStyle: '--plasma-table-button-font-style',\n buttonFontWeight: '--plasma-table-button-font-weight',\n buttonLetterSpacing: '--plasma-table-button-letter-spacing',\n buttonLineHeight: '--plasma-table-button-line-height',\n\n selectPadding: '--plasma-table-select-padding',\n selectBorderRadius: '--plasma-table-select-border-radius',\n selectItemHeight: '--plasma-table-select-item-height',\n selectItemPadding: '--plasma-table-select-item-padding',\n selectItemBorderRadius: '--plasma-table-select-item-border-radius',\n selectItemIconMargin: '--plasma-table-select-item-icon-margin',\n selectItemIconSize: '--plasma-table-select-item-icon-size',\n selectCellPadding: '--plasma-table-select-cell-padding',\n selectCellTitleFontFamily: '--plasma-table-select-cell-title-font-family',\n selectCellTitleFontSize: '--plasma-table-select-cell-title-font-size',\n selectCellTitleFontStyle: '--plasma-table-select-cell-title-font-style',\n selectCellTitleFontWeight: '--plasma-table-select-cell-title-font-weight',\n selectCellTitleLetterSpacing: '--plasma-table-select-cell-title-letter-spacing',\n selectCellTitleLineHeight: '--plasma-table-select-cell-title-line-height',\n selectCheckboxTriggerSize: '--plasma-table-select-checkbox-trigger-size',\n selectCheckboxTriggerBorderRadius: '--plasma-table-select-checkbox-trigger-border-radius',\n selectControlPanelPadding: '--plasma-table-select-control-panel-padding',\n selectControlPanelGap: '--plasma-table-select-control-panel-gap',\n\n linkButtonFontFamily: '--plasma-table-link-button-font-family',\n linkButtonFontSize: '--plasma-table-link-button-font-size',\n linkButtonFontStyle: '--plasma-table-link-button-font-style',\n linkButtonFontWeight: '--plasma-table-link-button-font-weight',\n linkButtonLetterSpacing: '--plasma-table-link-button-letter-spacing',\n linkButtonLineHeight: '--plasma-table-link-button-line-height',\n};\n"],"names":["tableTokens","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","borderColor","headerRowHeight","rowHeight","cellPadding","checkboxCellPadding","checkboxTriggerSize","checkboxTriggerBorderRadius","editableCellIconGap","editableCellIconButtonWidth","editableCellIconButtonHeight","editableCellPadding","editableCellInputBorderRadius","editableCellInputPadding","editableCellInputBackground","editableCellInputBorderColor","filterCheckboxPadding","filterDividerMargin","buttonHeight","buttonFontFamily","buttonFontSize","buttonFontStyle","buttonFontWeight","buttonLetterSpacing","buttonLineHeight","selectPadding","selectBorderRadius","selectItemHeight","selectItemPadding","selectItemBorderRadius","selectItemIconMargin","selectItemIconSize","selectCellPadding","selectCellTitleFontFamily","selectCellTitleFontSize","selectCellTitleFontStyle","selectCellTitleFontWeight","selectCellTitleLetterSpacing","selectCellTitleLineHeight","selectCheckboxTriggerSize","selectCheckboxTriggerBorderRadius","selectControlPanelPadding","selectControlPanelGap","linkButtonFontFamily","linkButtonFontSize","linkButtonFontStyle","linkButtonFontWeight","linkButtonLetterSpacing","linkButtonLineHeight"],"mappings":";;;;AAAO,IAAMA,WAAW,GAAG;AACvBC,EAAAA,UAAU,EAAE,4BAA4B;AACxCC,EAAAA,QAAQ,EAAE,0BAA0B;AACpCC,EAAAA,SAAS,EAAE,2BAA2B;AACtCC,EAAAA,UAAU,EAAE,4BAA4B;AACxCC,EAAAA,aAAa,EAAE,+BAA+B;AAC9CC,EAAAA,UAAU,EAAE,4BAA4B;AAExCC,EAAAA,WAAW,EAAE,6BAA6B;AAC1CC,EAAAA,eAAe,EAAE,kCAAkC;AACnDC,EAAAA,SAAS,EAAE,2BAA2B;AACtCC,EAAAA,WAAW,EAAE,uBAAuB;AACpCC,EAAAA,mBAAmB,EAAE,gCAAgC;AAErDC,EAAAA,mBAAmB,EAAE,sCAAsC;AAC3DC,EAAAA,2BAA2B,EAAE,+CAA+C;AAE5EC,EAAAA,mBAAmB,EAAE,uCAAuC;AAC5DC,EAAAA,2BAA2B,EAAE,gDAAgD;AAC7E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AEhEC,EAAAA,oBAAoB,EAAE,wCAAwC;AAC9DC,EAAAA,kBAAkB,EAAE,sCAAsC;AAC1DC,EAAAA,mBAAmB,EAAE,uCAAuC;AAC5DC,EAAAA,oBAAoB,EAAE,wCAAwC;AAC9DC,EAAAA,uBAAuB,EAAE,2CAA2C;AACpEC,EAAAA,oBAAoB,EAAE,wCAAA;AAC1B;;;;"}
1
+ {"version":3,"file":"Table.tokens.js","sources":["../../../src/components/Table/Table.tokens.ts"],"sourcesContent":["export const classes = {\n editIcon: 'edit-icon',\n sortingDefaultIcon: 'sorting-default-icon',\n sortingAscIcon: 'sorting-asc-icon',\n sortingDescIcon: 'sorting-desc-icon',\n filterIcon: 'filter-icon',\n resizeDivider: 'resize-divider',\n};\n\nexport const tableTokens = {\n fontFamily: '--plasma-table-font-family',\n fontSize: '--plasma-table-font-size',\n fontStyle: '--plasma-table-font-style',\n fontWeight: '--plasma-table-font-weight',\n letterSpacing: '--plasma-table-letter-spacing',\n lineHeight: '--plasma-table-line-height',\n\n borderColor: '--plasma-table-border-color',\n headerRowHeight: '--plasma-table-header-row-height',\n rowHeight: '--plasma-table-row-height',\n cellPadding: '--plasma-cell-padding',\n checkboxCellPadding: '--plasma-checkbox-cell-padding',\n\n checkboxTriggerSize: '--plasma-table-checkbox-trigger-size',\n checkboxTriggerBorderRadius: '--plasma-table-checkbox-trigger-border-radius',\n\n editableCellIconGap: '--plasma-table-editable-cell-icon-gap',\n editableCellIconButtonWidth: '--plasma-table-editable-cell-icon-button-width',\n editableCellIconButtonHeight: '--plasma-table-editable-cell-icon-button-height',\n editableCellPadding: '--plasma-table-editable-cell-padding',\n editableCellInputBorderRadius: '--plasma-table-editable-cell-input-border-radius',\n editableCellInputPadding: '--plasma-table-editable-cell-input-padding',\n editableCellInputBackground: '--plasma-table-editable-cell-input-background',\n editableCellInputBorderColor: '--plasma-table-editable-cell-input-border-color',\n\n filterCheckboxPadding: '--plasma-table-filter-checkbox-padding',\n filterDividerMargin: '--plasma-table-filter-divider-margin',\n\n buttonHeight: '--plasma-table-button-height',\n buttonFontFamily: '--plasma-table-button-font-family',\n buttonFontSize: '--plasma-table-button-font-size',\n buttonFontStyle: '--plasma-table-button-font-style',\n buttonFontWeight: '--plasma-table-button-font-weight',\n buttonLetterSpacing: '--plasma-table-button-letter-spacing',\n buttonLineHeight: '--plasma-table-button-line-height',\n\n selectPadding: '--plasma-table-select-padding',\n selectBorderRadius: '--plasma-table-select-border-radius',\n selectItemHeight: '--plasma-table-select-item-height',\n selectItemPadding: '--plasma-table-select-item-padding',\n selectItemBorderRadius: '--plasma-table-select-item-border-radius',\n selectItemIconMargin: '--plasma-table-select-item-icon-margin',\n selectItemIconSize: '--plasma-table-select-item-icon-size',\n selectCellPadding: '--plasma-table-select-cell-padding',\n selectCellTitleFontFamily: '--plasma-table-select-cell-title-font-family',\n selectCellTitleFontSize: '--plasma-table-select-cell-title-font-size',\n selectCellTitleFontStyle: '--plasma-table-select-cell-title-font-style',\n selectCellTitleFontWeight: '--plasma-table-select-cell-title-font-weight',\n selectCellTitleLetterSpacing: '--plasma-table-select-cell-title-letter-spacing',\n selectCellTitleLineHeight: '--plasma-table-select-cell-title-line-height',\n selectCheckboxTriggerSize: '--plasma-table-select-checkbox-trigger-size',\n selectCheckboxTriggerBorderRadius: '--plasma-table-select-checkbox-trigger-border-radius',\n selectControlPanelPadding: '--plasma-table-select-control-panel-padding',\n selectControlPanelGap: '--plasma-table-select-control-panel-gap',\n\n linkButtonFontFamily: '--plasma-table-link-button-font-family',\n linkButtonFontSize: '--plasma-table-link-button-font-size',\n linkButtonFontStyle: '--plasma-table-link-button-font-style',\n linkButtonFontWeight: '--plasma-table-link-button-font-weight',\n linkButtonLetterSpacing: '--plasma-table-link-button-letter-spacing',\n linkButtonLineHeight: '--plasma-table-link-button-line-height',\n};\n"],"names":["classes","editIcon","sortingDefaultIcon","sortingAscIcon","sortingDescIcon","filterIcon","resizeDivider","tableTokens","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","borderColor","headerRowHeight","rowHeight","cellPadding","checkboxCellPadding","checkboxTriggerSize","checkboxTriggerBorderRadius","editableCellIconGap","editableCellIconButtonWidth","editableCellIconButtonHeight","editableCellPadding","editableCellInputBorderRadius","editableCellInputPadding","editableCellInputBackground","editableCellInputBorderColor","filterCheckboxPadding","filterDividerMargin","buttonHeight","buttonFontFamily","buttonFontSize","buttonFontStyle","buttonFontWeight","buttonLetterSpacing","buttonLineHeight","selectPadding","selectBorderRadius","selectItemHeight","selectItemPadding","selectItemBorderRadius","selectItemIconMargin","selectItemIconSize","selectCellPadding","selectCellTitleFontFamily","selectCellTitleFontSize","selectCellTitleFontStyle","selectCellTitleFontWeight","selectCellTitleLetterSpacing","selectCellTitleLineHeight","selectCheckboxTriggerSize","selectCheckboxTriggerBorderRadius","selectControlPanelPadding","selectControlPanelGap","linkButtonFontFamily","linkButtonFontSize","linkButtonFontStyle","linkButtonFontWeight","linkButtonLetterSpacing","linkButtonLineHeight"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,QAAQ,EAAE,WAAW;AACrBC,EAAAA,kBAAkB,EAAE,sBAAsB;AAC1CC,EAAAA,cAAc,EAAE,kBAAkB;AAClCC,EAAAA,eAAe,EAAE,mBAAmB;AACpCC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,aAAa,EAAE,gBAAA;AACnB,EAAC;AAEM,IAAMC,WAAW,GAAG;AACvBC,EAAAA,UAAU,EAAE,4BAA4B;AACxCC,EAAAA,QAAQ,EAAE,0BAA0B;AACpCC,EAAAA,SAAS,EAAE,2BAA2B;AACtCC,EAAAA,UAAU,EAAE,4BAA4B;AACxCC,EAAAA,aAAa,EAAE,+BAA+B;AAC9CC,EAAAA,UAAU,EAAE,4BAA4B;AAExCC,EAAAA,WAAW,EAAE,6BAA6B;AAC1CC,EAAAA,eAAe,EAAE,kCAAkC;AACnDC,EAAAA,SAAS,EAAE,2BAA2B;AACtCC,EAAAA,WA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