@salutejs/plasma-new-hope 0.317.0-canary.1888.14214679698.0 → 0.317.0-dev.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 (269) hide show
  1. package/cjs/components/Table/Table.css +22 -24
  2. package/cjs/components/Table/Table.js +16 -11
  3. package/cjs/components/Table/Table.js.map +1 -1
  4. package/cjs/components/Table/Table.styles.js +11 -17
  5. package/cjs/components/Table/Table.styles.js.map +1 -1
  6. package/cjs/components/Table/Table.styles_1eg2zsx.css +11 -0
  7. package/cjs/components/Table/Table.tokens.js +0 -9
  8. package/cjs/components/Table/Table.tokens.js.map +1 -1
  9. package/cjs/components/Table/ui/Cell/Cell.css +22 -24
  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_1ikyrwt.css +1 -0
  14. package/cjs/components/Table/ui/EditableCell/EditableCell.css +23 -25
  15. package/cjs/components/Table/ui/EditableCell/EditableCell.js +9 -15
  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/cjs/components/Table/ui/EditableCell/{EditableCell.styles_d8duzc.css → EditableCell.styles_277bjm.css} +2 -2
  20. package/cjs/components/Table/ui/HeadCell/HeadCell.css +22 -24
  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 +1 -7
  24. package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  25. package/{es/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css → cjs/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css} +0 -1
  26. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +22 -24
  27. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  28. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  29. package/cjs/engines/linaria.js +4 -2
  30. package/cjs/engines/linaria.js.map +1 -1
  31. package/cjs/index.css +24 -26
  32. package/emotion/cjs/components/Table/Table.js +16 -14
  33. package/emotion/cjs/components/Table/Table.styles.js +16 -20
  34. package/emotion/cjs/components/Table/Table.tokens.js +1 -9
  35. package/emotion/cjs/components/Table/ui/Cell/Cell.styles.js +2 -2
  36. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.js +9 -15
  37. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +9 -9
  38. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  39. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +5 -17
  40. package/emotion/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  41. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  42. package/emotion/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  43. package/emotion/cjs/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  44. package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  45. package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  46. package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  47. package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  48. package/emotion/es/components/Table/Table.js +17 -15
  49. package/emotion/es/components/Table/Table.styles.js +15 -19
  50. package/emotion/es/components/Table/Table.tokens.js +0 -8
  51. package/emotion/es/components/Table/ui/Cell/Cell.styles.js +2 -2
  52. package/emotion/es/components/Table/ui/EditableCell/EditableCell.js +9 -15
  53. package/emotion/es/components/Table/ui/EditableCell/EditableCell.styles.js +10 -10
  54. package/emotion/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  55. package/emotion/es/components/Table/ui/HeadCell/HeadCell.styles.js +4 -16
  56. package/emotion/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  57. package/emotion/es/components/Typography/Typography.template-doc.mdx +16 -0
  58. package/emotion/es/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  59. package/emotion/es/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  60. package/emotion/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  61. package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  62. package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  63. package/emotion/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  64. package/es/components/Table/Table.css +22 -24
  65. package/es/components/Table/Table.js +18 -13
  66. package/es/components/Table/Table.js.map +1 -1
  67. package/es/components/Table/Table.styles.js +12 -17
  68. package/es/components/Table/Table.styles.js.map +1 -1
  69. package/es/components/Table/Table.styles_1eg2zsx.css +11 -0
  70. package/es/components/Table/Table.tokens.js +1 -9
  71. package/es/components/Table/Table.tokens.js.map +1 -1
  72. package/es/components/Table/ui/Cell/Cell.css +22 -24
  73. package/es/components/Table/ui/Cell/Cell.js.map +1 -1
  74. package/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  75. package/es/components/Table/ui/Cell/Cell.styles.js.map +1 -1
  76. package/es/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +1 -0
  77. package/es/components/Table/ui/EditableCell/EditableCell.css +23 -25
  78. package/es/components/Table/ui/EditableCell/EditableCell.js +9 -15
  79. package/es/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
  80. package/es/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
  81. package/es/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  82. package/es/components/Table/ui/EditableCell/{EditableCell.styles_d8duzc.css → EditableCell.styles_277bjm.css} +2 -2
  83. package/es/components/Table/ui/HeadCell/HeadCell.css +22 -24
  84. package/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  85. package/es/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
  86. package/es/components/Table/ui/HeadCell/HeadCell.styles.js +2 -7
  87. package/es/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  88. package/{cjs/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css → es/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css} +0 -1
  89. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +22 -24
  90. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  91. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  92. package/es/engines/linaria.js +4 -2
  93. package/es/engines/linaria.js.map +1 -1
  94. package/es/index.css +24 -26
  95. package/package.json +2 -2
  96. package/styled-components/cjs/components/Table/Table.js +16 -14
  97. package/styled-components/cjs/components/Table/Table.styles.js +10 -13
  98. package/styled-components/cjs/components/Table/Table.tokens.js +1 -9
  99. package/styled-components/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
  100. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.js +9 -15
  101. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +3 -3
  102. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  103. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +2 -5
  104. package/styled-components/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  105. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  106. package/styled-components/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  107. package/styled-components/cjs/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  108. package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  109. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  110. package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  111. package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  112. package/styled-components/es/components/Table/Table.js +17 -15
  113. package/styled-components/es/components/Table/Table.styles.js +9 -12
  114. package/styled-components/es/components/Table/Table.tokens.js +0 -8
  115. package/styled-components/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  116. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.js +9 -15
  117. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.styles.js +4 -4
  118. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  119. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.styles.js +1 -4
  120. package/styled-components/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  121. package/styled-components/es/components/Typography/Typography.template-doc.mdx +16 -0
  122. package/styled-components/es/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  123. package/styled-components/es/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  124. package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  125. package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  126. package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  127. package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  128. package/types/components/Table/Table.d.ts +15 -2
  129. package/types/components/Table/Table.d.ts.map +1 -1
  130. package/types/components/Table/Table.styles.d.ts +0 -1
  131. package/types/components/Table/Table.styles.d.ts.map +1 -1
  132. package/types/components/Table/Table.tokens.d.ts +0 -8
  133. package/types/components/Table/Table.tokens.d.ts.map +1 -1
  134. package/types/components/Table/Table.types.d.ts +1 -11
  135. package/types/components/Table/Table.types.d.ts.map +1 -1
  136. package/types/components/Table/ui/Cell/Cell.d.ts +2 -3
  137. package/types/components/Table/ui/Cell/Cell.d.ts.map +1 -1
  138. package/types/components/Table/ui/EditableCell/EditableCell.d.ts +1 -12
  139. package/types/components/Table/ui/EditableCell/EditableCell.d.ts.map +1 -1
  140. package/types/components/Table/ui/HeadCell/HeadCell.d.ts +1 -11
  141. package/types/components/Table/ui/HeadCell/HeadCell.d.ts.map +1 -1
  142. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts +0 -1
  143. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts.map +1 -1
  144. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts +1 -10
  145. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts.map +1 -1
  146. package/types/components/Typography/Body/Body.d.ts +2 -2
  147. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  148. package/types/components/Typography/Dspl/Dspl.d.ts +2 -2
  149. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  150. package/types/components/Typography/Heading/Heading.d.ts +2 -2
  151. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  152. package/types/components/Typography/Text/Text.d.ts +2 -2
  153. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  154. package/types/components/Typography/Typography.d.ts +1 -1
  155. package/types/components/Typography/Typography.d.ts.map +1 -1
  156. package/types/components/Typography/Typography.types.d.ts +2 -1
  157. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  158. package/cjs/components/Table/Table.styles_xngwgy.css +0 -12
  159. package/cjs/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +0 -1
  160. package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  161. package/emotion/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  162. package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  163. package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  164. package/emotion/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  165. package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  166. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  167. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  168. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  169. package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  170. package/emotion/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  171. package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  172. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  173. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  174. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  175. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  176. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  177. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  178. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  179. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  180. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  181. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  182. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  183. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  184. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  185. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  186. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  187. package/emotion/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  188. package/emotion/es/examples/typography/components/Old/Body/Body.js +0 -5
  189. package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  190. package/emotion/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  191. package/emotion/es/examples/typography/components/Old/Button/Button.js +0 -5
  192. package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  193. package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  194. package/emotion/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  195. package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  196. package/emotion/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  197. package/emotion/es/examples/typography/components/Old/Display/Display.js +0 -5
  198. package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  199. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  200. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  201. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  202. package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  203. package/emotion/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  204. package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  205. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  206. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  207. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  208. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  209. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  210. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  211. package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  212. package/emotion/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  213. package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  214. package/es/components/Table/Table.styles_xngwgy.css +0 -12
  215. package/es/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +0 -1
  216. package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  217. package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  218. package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  219. package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  220. package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  221. package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  222. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  223. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  224. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  225. package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  226. package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  227. package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  228. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  229. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  230. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  231. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  232. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  233. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  234. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  235. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  236. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  237. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  238. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  239. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  240. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  241. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  242. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  243. package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  244. package/styled-components/es/examples/typography/components/Old/Body/Body.js +0 -5
  245. package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  246. package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  247. package/styled-components/es/examples/typography/components/Old/Button/Button.js +0 -5
  248. package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  249. package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  250. package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  251. package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  252. package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  253. package/styled-components/es/examples/typography/components/Old/Display/Display.js +0 -5
  254. package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  255. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  256. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  257. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  258. package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  259. package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  260. package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  261. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  262. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  263. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  264. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  265. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  266. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  267. package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  268. package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  269. package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
@@ -6,7 +6,6 @@ var reactTable = require('@tanstack/react-table');
6
6
  var React = require('react');
7
7
  var Table_styles = require('../../Table.styles.js');
8
8
  var Table = require('../../Table.js');
9
- var Table_tokens = require('../../Table.tokens.js');
10
9
  var HeadCell_styles = require('./HeadCell.styles.js');
11
10
  var Filter = require('./ui/Filter/Filter.js');
12
11
  var IconArrowUp = require('../../../_Icon/Icons/IconArrowUp.js');
@@ -42,22 +41,23 @@ var HeadCell = function HeadCell(_ref) {
42
41
  size: size,
43
42
  outerFiltered: outerFiltered,
44
43
  tableContainerRef: tableContainerRef
45
- }), header.column.getCanSort() && /*#__PURE__*/React__default.default.createElement(HeadCell_styles.IconWrapper, {
44
+ }), header.column.getCanSort() && /*#__PURE__*/React__default.default.createElement("span", {
45
+ style: {
46
+ lineHeight: 0,
47
+ cursor: 'pointer',
48
+ userSelect: 'none'
49
+ },
46
50
  onClick: header.column.getToggleSortingHandler()
47
51
  }, (_asc$desc = {
48
52
  asc: /*#__PURE__*/React__default.default.createElement(IconArrowUp.IconArrowUp, {
49
- size: getIconSize(size),
50
- className: Table_tokens.classes.sortingAscIcon
53
+ size: getIconSize(size)
51
54
  }),
52
55
  desc: /*#__PURE__*/React__default.default.createElement(IconArrowDown.IconArrowDown, {
53
- size: getIconSize(size),
54
- className: Table_tokens.classes.sortingDescIcon
56
+ size: getIconSize(size)
55
57
  })
56
58
  }[header.column.getIsSorted()]) !== null && _asc$desc !== void 0 ? _asc$desc : /*#__PURE__*/React__default.default.createElement(IconSwapVert.IconSwapVert, {
57
- size: getIconSize(size),
58
- className: Table_tokens.classes.sortingDefaultIcon
59
+ size: getIconSize(size)
59
60
  }))))), header.column.getCanResize() && /*#__PURE__*/React__default.default.createElement(Table_styles.Resizer, {
60
- className: Table_tokens.classes.resizeDivider,
61
61
  onMouseDown: header.getResizeHandler(),
62
62
  onTouchStart: header.getResizeHandler(),
63
63
  isResizing: header.column.getIsResizing()
@@ -1 +1 @@
1
- {"version":3,"file":"HeadCell.js","sources":["../../../../../src/components/Table/ui/HeadCell/HeadCell.tsx"],"sourcesContent":["import { flexRender, Header } from '@tanstack/react-table';\nimport React from 'react';\n\nimport { Th, Resizer } from '../../Table.styles';\nimport { IconSwapVert, IconArrowDown, IconArrowUp } from '../../../_Icon';\nimport { SELECT_COLUMN_ID } from '../../Table';\nimport { TableProps, TableRowData } from '../../Table.types';\nimport { classes } from '../../Table.tokens';\n\nimport { ControlButtons, ThWrapper, IconWrapper } from './HeadCell.styles';\nimport { Filter } from './ui/Filter/Filter';\n\nexport const getIconSize = (size?: string) => {\n return size === 's' ? 'xs' : 's';\n};\n\ntype Props = {\n borderVariant: TableProps['borderVariant'];\n size: TableProps['size'];\n header: Header<TableRowData, unknown>;\n outerFiltered: TableProps['filtered'];\n tableContainerRef: React.RefObject<HTMLDivElement>;\n};\n\nexport const HeadCell: React.FC<Props> = ({ header, size, borderVariant, outerFiltered, tableContainerRef }) => {\n const { filters } = header?.column?.columnDef?.meta || {};\n\n return (\n <Th\n key={header.id}\n colSpan={header.colSpan}\n borderVariant={borderVariant}\n selectionCell={header.column.id === SELECT_COLUMN_ID}\n style={header.column.id !== SELECT_COLUMN_ID ? { width: header.getSize() } : undefined}\n >\n {header.isPlaceholder ? null : (\n <>\n <ThWrapper>\n {flexRender(header.column.columnDef.header, header.getContext())}\n\n {header.column.id !== SELECT_COLUMN_ID && (\n <ControlButtons>\n {filters && (\n <Filter\n header={header}\n size={size}\n outerFiltered={outerFiltered}\n tableContainerRef={tableContainerRef}\n />\n )}\n\n {header.column.getCanSort() && (\n <IconWrapper onClick={header.column.getToggleSortingHandler()}>\n {{\n asc: (\n <IconArrowUp\n size={getIconSize(size)}\n className={classes.sortingAscIcon}\n />\n ),\n desc: (\n <IconArrowDown\n size={getIconSize(size)}\n className={classes.sortingDescIcon}\n />\n ),\n }[header.column.getIsSorted() as string] ?? (\n <IconSwapVert\n size={getIconSize(size)}\n className={classes.sortingDefaultIcon}\n />\n )}\n </IconWrapper>\n )}\n </ControlButtons>\n )}\n </ThWrapper>\n </>\n )}\n {header.column.getCanResize() && (\n <Resizer\n className={classes.resizeDivider}\n onMouseDown={header.getResizeHandler()}\n onTouchStart={header.getResizeHandler()}\n isResizing={header.column.getIsResizing()}\n />\n )}\n </Th>\n );\n};\n"],"names":["getIconSize","size","HeadCell","_ref","_header$column","_asc$desc","header","borderVariant","outerFiltered","tableContainerRef","_ref2","column","columnDef","meta","filters","React","createElement","Th","key","id","colSpan","selectionCell","SELECT_COLUMN_ID","style","width","getSize","undefined","isPlaceholder","Fragment","ThWrapper","flexRender","getContext","ControlButtons","Filter","getCanSort","IconWrapper","onClick","getToggleSortingHandler","asc","IconArrowUp","className","classes","sortingAscIcon","desc","IconArrowDown","sortingDescIcon","getIsSorted","IconSwapVert","sortingDefaultIcon","getCanResize","Resizer","resizeDivider","onMouseDown","getResizeHandler","onTouchStart","isResizing","getIsResizing"],"mappings":";;;;;;;;;;;;;;;;;;;IAYaA,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAa,EAAK;AAC1C,EAAA,OAAOA,IAAI,KAAK,GAAG,GAAG,IAAI,GAAG,GAAG,CAAA;AACpC,EAAC;IAUYC,QAAyB,GAAG,SAA5BA,QAAyBA,CAAAC,IAAA,EAA0E;EAAA,IAAAC,cAAA,EAAAC,SAAA,CAAA;AAAA,EAAA,IAApEC,MAAM,GAAAH,IAAA,CAANG,MAAM;IAAEL,IAAI,GAAAE,IAAA,CAAJF,IAAI;IAAEM,aAAa,GAAAJ,IAAA,CAAbI,aAAa;IAAEC,aAAa,GAAAL,IAAA,CAAbK,aAAa;IAAEC,iBAAiB,GAAAN,IAAA,CAAjBM,iBAAiB,CAAA;AACrG,EAAA,IAAAC,KAAA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IAAAA,UAAU,EAAEjD,MAAM,CAACK,MAAM,CAAC6C,aAAa,EAAC;AAAE,GAC7C,CAEL,CAAC,CAAA;AAEb;;;;;"}
1
+ {"version":3,"file":"HeadCell.js","sources":["../../../../../src/components/Table/ui/HeadCell/HeadCell.tsx"],"sourcesContent":["import { flexRender } from '@tanstack/react-table';\nimport React from 'react';\n\nimport { Th, Resizer } from '../../Table.styles';\nimport { IconSwapVert, IconArrowDown, IconArrowUp } from '../../../_Icon';\nimport { SELECT_COLUMN_ID } from '../../Table';\n\nimport { ControlButtons, ThWrapper } from './HeadCell.styles';\nimport { Filter } from './ui/Filter/Filter';\n\nexport const getIconSize = (size?: string) => {\n return size === 's' ? 'xs' : 's';\n};\n\nexport const HeadCell: React.FC<any> = ({ header, size, borderVariant, outerFiltered, tableContainerRef }) => {\n const { filters } = header?.column?.columnDef?.meta || {};\n\n return (\n <Th\n key={header.id}\n colSpan={header.colSpan}\n borderVariant={borderVariant}\n selectionCell={header.column.id === SELECT_COLUMN_ID}\n style={header.column.id !== SELECT_COLUMN_ID ? { width: header.getSize() } : undefined}\n >\n {header.isPlaceholder ? null : (\n <>\n <ThWrapper>\n {flexRender(header.column.columnDef.header, header.getContext())}\n\n {header.column.id !== SELECT_COLUMN_ID && (\n <ControlButtons>\n {filters && (\n <Filter\n header={header}\n size={size}\n outerFiltered={outerFiltered}\n tableContainerRef={tableContainerRef}\n />\n )}\n\n {header.column.getCanSort() && (\n <span\n style={{\n lineHeight: 0,\n cursor: 'pointer',\n userSelect: 'none',\n }}\n onClick={header.column.getToggleSortingHandler()}\n >\n {{\n asc: <IconArrowUp size={getIconSize(size)} />,\n desc: <IconArrowDown size={getIconSize(size)} />,\n }[header.column.getIsSorted() as string] ?? (\n <IconSwapVert size={getIconSize(size)} />\n )}\n </span>\n )}\n </ControlButtons>\n )}\n </ThWrapper>\n </>\n )}\n {header.column.getCanResize() && (\n <Resizer\n onMouseDown={header.getResizeHandler()}\n onTouchStart={header.getResizeHandler()}\n isResizing={header.column.getIsResizing()}\n />\n )}\n </Th>\n );\n};\n"],"names":["getIconSize","size","HeadCell","_ref","_header$column","_asc$desc","header","borderVariant","outerFiltered","tableContainerRef","_ref2","column","columnDef","meta","filters","React","createElement","Th","key","id","colSpan","selectionCell","SELECT_COLUMN_ID","style","width","getSize","undefined","isPlaceholder","Fragment","ThWrapper","flexRender","getContext","ControlButtons","Filter","getCanSort","lineHeight","cursor","userSelect","onClick","getToggleSortingHandler","asc","IconArrowUp","desc","IconArrowDown","getIsSorted","IconSwapVert","getCanResize","Resizer","onMouseDown","getResizeHandler","onTouchStart","isResizing","getIsResizing"],"mappings":";;;;;;;;;;;;;;;;;;IAUaA,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAa,EAAK;AAC1C,EAAA,OAAOA,IAAI,KAAK,GAAG,GAAG,IAAI,GAAG,GAAG,CAAA;AACpC,EAAC;IAEYC,QAAuB,GAAG,SAA1BA,QAAuBA,CAAAC,IAAA,EAA0E;EAAA,IAAAC,cAAA,EAAAC,SAAA,CAAA;AAAA,EAAA,IAApEC,MAAM,GAAAH,IAAA,CAANG,MAAM;IAAEL,IAAI,GAAAE,IAAA,CAAJF,IAAI;IAAEM,aAAa,GAAAJ,IAAA,CAAbI,aAAa;IAAEC,aAAa,GAAAL,IAAA,CAAbK,aAAa;IAAEC,iBAAiB,GAAAN,IAAA,CAAjBM,iBAAiB,CAAA;AACnG,EAAA,IAAAC,KAAA,GAAoB,CAAAJ,MAAM,KAANA,IAAAA,IAAAA,MAAM,KAAAF,KAAAA,CAAAA,IAAAA,CAAAA,cAAA,GAANE,MAAM,CAAEK,MAAM,MAAAP,IAAAA,IAAAA,cAAA,KAAAA,KAAAA,CAAAA,IAAAA,CAAAA,cAAA,GAAdA,cAAA,CAAgBQ,SAAS,MAAAR,IAAAA,IAAAA,cAAA,KAAzBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,cAAA,CAA2BS,IAAI,KAAI,EAAE;IAAjDC,O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E,MAAA;KACd;AACFC,IAAAA,OAAO,EAAEhC,MAAM,CAACK,MAAM,CAAC4B,uBAAuB,EAAC;AAAE,GAAA,EAAA,CAAAlC,SAAA,GAEhD;AACGmC,IAAAA,GAAG,eAAEzB,sBAAA,CAAAC,aAAA,CAACyB,uBAAW,EAAA;MAACxC,IAAI,EAAED,WAAW,CAACC,IAAI,CAAA;AAAE,KAAE,CAAC;AAC7CyC,IAAAA,IAAI,eAAE3B,sBAAA,CAAAC,aAAA,CAAC2B,2BAAa,EAAA;MAAC1C,IAAI,EAAED,WAAW,CAACC,IAAI,CAAA;KAAI,CAAA;AACnD,GAAC,CAACK,MAAM,CAACK,MAAM,CAACiC,WAAW,EAAE,CAAW,MAAAvC,IAAAA,IAAAA,SAAA,cAAAA,SAAA,gBACpCU,sBAAA,CAAAC,aAAA,CAAC6B,yBAAY,EAAA;IAAC5C,IAAI,EAAED,WAAW,CAACC,IAAI,CAAA;AAAE,GAAE,CAE1C,CAEE,CAEb,CACb,CACL,EACAK,MAAM,CAACK,MAAM,CAACmC,YAAY,EAAE,iBACzB/B,sBAAA,CAAAC,aAAA,CAAC+B,oBAAO,EAAA;AACJC,IAAAA,WAAW,EAAE1C,MAAM,CAAC2C,gBAAgB,EAAG;AACvCC,IAAAA,YAAY,EAAE5C,MAAM,CAAC2C,gBAAgB,EAAG;AACxCE,IAAAA,UAAU,EAAE7C,MAAM,CAACK,MAAM,CAACyC,aAAa,EAAC;AAAE,GAC7C,CAEL,CAAC,CAAA;AAEb;;;;;"}
@@ -1,4 +1,4 @@
1
- require('./HeadCell.styles_155gsrn.css');
1
+ require('./HeadCell.styles_1lo3lcf.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -15,13 +15,7 @@ var ThWrapper = /*#__PURE__*/react.styled('div')({
15
15
  "class": "t1179z8p",
16
16
  propsAsIs: false
17
17
  });
18
- var IconWrapper = /*#__PURE__*/react.styled('div')({
19
- name: "IconWrapper",
20
- "class": "iy1msq1",
21
- propsAsIs: false
22
- });
23
18
 
24
19
  exports.ControlButtons = ControlButtons;
25
- exports.IconWrapper = IconWrapper;
26
20
  exports.ThWrapper = ThWrapper;
27
21
  //# sourceMappingURL=HeadCell.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeadCell.styles.js","sources":["../../../../../src/components/Table/ui/HeadCell/HeadCell.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nexport const ControlButtons = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n`;\n\nexport const ThWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n`;\n\nexport const IconWrapper = styled.div`\n line-height: 0;\n cursor: pointer;\n user-select: none;\n`;\n"],"names":["ControlButtons","styled","name","class","propsAsIs","ThWrapper","IconWrapper"],"mappings":";;;;;;AAEO,IAAMA,cAAc,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKnC,EAAA;AAEM,IAAMC,SAAS,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,WAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAK9B,EAAA;AAEM,IAAME,WAAW,gBAAGL,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAIhC;;;;;;"}
1
+ {"version":3,"file":"HeadCell.styles.js","sources":["../../../../../src/components/Table/ui/HeadCell/HeadCell.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nexport const ControlButtons = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n`;\n\nexport const ThWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n`;\n"],"names":["ControlButtons","styled","name","class","propsAsIs","ThWrapper"],"mappings":";;;;;;AAEO,IAAMA,cAAc,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKnC,EAAA;AAEM,IAAMC,SAAS,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,WAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAK9B;;;;;"}
@@ -1,3 +1,2 @@
1
1
  .c14eoxb5{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;}
2
2
  .t1179z8p{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
- .iy1msq1{line-height:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
@@ -2,20 +2,19 @@
2
2
 
3
3
  .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;}
4
4
 
5
- .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;}
6
- .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%;}
7
- .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;}
8
- .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%;}
9
- .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);}
10
- .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);}
11
- .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);}
12
- .EditableCell_styles_d8duzc_i17hwnh4__1f395684{--plasma-icon-button-width:auto;--plasma-icon-button-height:auto;}
5
+ .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;}
6
+ .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%;}
7
+ .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;}
8
+ .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%;}
9
+ .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);}
10
+ .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);}
11
+ .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);}
12
+ .EditableCell_styles_277bjm_i17hwnh4__d76a564b{--plasma-icon-button-width:auto;--plasma-icon-button-height:auto;}
13
13
 
14
- .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;}
14
+ .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;}
15
15
 
16
- .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;}
17
- .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;}
18
- .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;}
16
+ .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;}
17
+ .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;}
19
18
 
20
19
  .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);}
21
20
 
@@ -78,18 +77,17 @@
78
77
  .LinkButton_styles_1kw1zkj_s1uogc3z__846f988c{line-height:0;margin:var(--plasma-link-button-left-content-margin);}
79
78
  .LinkButton_styles_1kw1zkj_s176p3a0__846f988c{line-height:0;margin:var(--plasma-link-button-right-content-margin);}
80
79
 
81
- .Table_styles_xngwgy_b1lxisuf__5cfbdc68{display:inline-block;overflow-y:auto;}
82
- .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);}
83
- .Table_styles_xngwgy_t1ri3no5__5cfbdc68{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--t1ri3no5-0);}
84
- .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;}
85
-
86
- .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;}
87
- .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;}
88
- .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);}
89
- .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;}
90
- .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);}
91
- .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);}
92
- .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);}
80
+ .Table_styles_1eg2zsx_b1lxisuf__8ba8eb83{display:inline-block;overflow-y:auto;}
81
+ .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);}
82
+ .Table_styles_1eg2zsx_t1ri3no5__8ba8eb83{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--t1ri3no5-0);}
83
+ .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;}
84
+ .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;}
85
+ .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;}
86
+ .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);}
87
+ .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;}
88
+ .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);}
89
+ .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);}
90
+ .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);}
93
91
 
94
92
  .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);}
95
93
 
@@ -6,7 +6,6 @@ var _rollupPluginBabelHelpers = require('../../../../../../_virtual/_rollupPlugi
6
6
  var React = require('react');
7
7
  var HeadCell = require('../../HeadCell.js');
8
8
  var Table_styles = require('../../../../Table.styles.js');
9
- var Table_tokens = require('../../../../Table.tokens.js');
10
9
  var Filter_styles = require('./Filter.styles.js');
11
10
  var useDidMountEffect = require('../../../../../../hooks/useDidMountEffect.js');
12
11
  var IconFilterFunnel = require('../../../../../_Icon/Icons/IconFilterFunnel.js');
@@ -77,8 +76,7 @@ var Filter = function Filter(_ref) {
77
76
  onChange: setLocalFiltered,
78
77
  renderTarget: function renderTarget() {
79
78
  return /*#__PURE__*/React__default.default.createElement(Filter_styles.IconFilterWrapper, null, /*#__PURE__*/React__default.default.createElement(IconFilterFunnel.IconFilterFunnel, {
80
- size: HeadCell.getIconSize(size),
81
- className: Table_tokens.classes.filterIcon
79
+ size: HeadCell.getIconSize(size)
82
80
  }), filtered.length ? _StyledIndicator || (_StyledIndicator = /*#__PURE__*/React__default.default.createElement(Filter_styles.StyledIndicator, {
83
81
  size: "s",
84
82
  view: "accent"
@@ -1 +1 @@
1
- {"version":3,"file":"Filter.js","sources":["../../../../../../../src/components/Table/ui/HeadCell/ui/Filter/Filter.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { Header } from '@tanstack/react-table';\n\nimport { useDidMountEffect } from '../../../../../../hooks';\nimport { IconFilterFunnel } from '../../../../../_Icon';\nimport { getIconSize } from '../../HeadCell';\nimport { ButtonAccent, LinkButton } from '../../../../Table.styles';\nimport { TableProps, TableRowData } from '../../../../Table.types';\nimport { classes } from '../../../../Table.tokens';\n\nimport { IconFilterWrapper, StyledIndicator, Select, StyledDivider, ControlPanel } from './Filter.styles';\n\nconst getSelectWidth = (size?: string) => {\n switch (size) {\n case 'l': {\n return '18.75rem';\n }\n case 'm': {\n return '16rem';\n }\n case 's': {\n return '14rem';\n }\n default: {\n return '14rem';\n }\n }\n};\n\nconst isFilterChanged = (outerFiltered: string[], localFiltered: string[]) => {\n return (\n outerFiltered.length !== localFiltered.length ||\n new Set([...outerFiltered, ...localFiltered]).size !== outerFiltered.length\n );\n};\n\ntype Props = {\n header: Header<TableRowData, unknown>;\n size: TableProps['size'];\n outerFiltered: TableProps['filtered'];\n tableContainerRef: React.RefObject<HTMLDivElement>;\n};\n\nexport const Filter: React.FC<Props> = ({ header, size, outerFiltered, tableContainerRef }) => {\n const filtered = (header.column.getFilterValue() as string[]) || [];\n\n const [localFiltered, setLocalFiltered] = useState<string[]>(filtered || []);\n\n const { filters } = header?.column?.columnDef?.meta || {};\n\n const isDisabled = !isFilterChanged(filtered, localFiltered);\n\n const handleFilterSubmit = () => {\n header.column.setFilterValue(localFiltered);\n };\n\n const handleReset = () => {\n setLocalFiltered([]);\n };\n\n const handleToggle = (opened: boolean) => {\n if (!opened) {\n setLocalFiltered((header.column.getFilterValue() as string[]) || []);\n }\n };\n\n useDidMountEffect(() => {\n setLocalFiltered(filtered);\n }, [outerFiltered]);\n\n return (\n <Select\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n placement=\"bottom-end\"\n multiselect\n value={localFiltered}\n onChange={setLocalFiltered}\n renderTarget={() => (\n <IconFilterWrapper>\n <IconFilterFunnel size={getIconSize(size)} className={classes.filterIcon} />\n\n {filtered.length ? <StyledIndicator size=\"s\" view=\"accent\" /> : undefined}\n </IconFilterWrapper>\n )}\n items={filters}\n portal={tableContainerRef}\n listWidth={getSelectWidth(size)}\n onToggle={handleToggle}\n afterList={\n <>\n <StyledDivider orientation=\"horizontal\" length=\"auto\" />\n\n <ControlPanel>\n <LinkButton onClick={handleReset}>Сбросить фильтр</LinkButton>\n <ButtonAccent disabled={isDisabled} onClick={handleFilterSubmit}>\n Применить\n </ButtonAccent>\n </ControlPanel>\n </>\n }\n />\n );\n};\n"],"names":["getSelectWidth","size","isFilterChanged","outerFiltered","localFiltered","length","Set","concat","_toConsumableArray","Filter","_ref","_header$column","header","tableContainerRef","filtered","column","getFilterValue","_useState","useState","_useState2","_slicedToArray","setLocalFiltered","_ref2","columnDef","meta","filters","isDisabled","handleFilterSubmit","setFilterValue","handleReset","handleToggle","opened","useDidMountEffect","React","createElement","Select","placement","multiselect","value","onChange","renderTarget","IconFilterWrapper","IconFilterFunnel","getIconSize","className","classes","filterIcon","_StyledIndicator","StyledIndicator","view","undefined","items","portal","listWidth","onToggle","afterList","Fragment","_StyledDivider","StyledDivider","orientation","ControlPanel","LinkButton","onClick","ButtonAccent","disabled"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,IAAa,EAAK;AACtC,EAAA,QAAQA,IAAI;AACR,IAAA,KAAK,GAAG;AAAE,MAAA;AACN,QAAA,OAAO,UAAU,CAAA;AACrB,OAAA;AACA,IAAA,KAAK,GAAG;AA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components/Table/ui/HeadCell/ui/Filter/Filter.tsx"],"sourcesContent":["import React, { useState } from 'react';\n\nimport { useDidMountEffect } from '../../../../../../hooks';\nimport { IconFilterFunnel } from '../../../../../_Icon';\nimport { getIconSize } from '../../HeadCell';\nimport { ButtonAccent, LinkButton } from '../../../../Table.styles';\n\nimport { IconFilterWrapper, StyledIndicator, Select, StyledDivider, ControlPanel } from './Filter.styles';\n\nconst getSelectWidth = (size: string) => {\n switch (size) {\n case 'l': {\n return '18.75rem';\n }\n case 'm': {\n return '16rem';\n }\n case 's': {\n return '14rem';\n }\n default: {\n return '14rem';\n }\n }\n};\n\nconst isFilterChanged = (outerFiltered: string[], localFiltered: string[]) => {\n return (\n outerFiltered.length !== localFiltered.length ||\n new Set([...outerFiltered, ...localFiltered]).size !== outerFiltered.length\n );\n};\n\nexport const Filter: React.FC<any> = ({ header, size, outerFiltered, tableContainerRef }) => {\n const filtered = header.column.getFilterValue() || [];\n\n const [localFiltered, setLocalFiltered] = useState(filtered || []);\n\n const { filters } = header?.column?.columnDef?.meta || {};\n\n const isDisabled = !isFilterChanged(filtered, localFiltered);\n\n const handleFilterSubmit = () => {\n header.column.setFilterValue(localFiltered);\n };\n\n const handleReset = () => {\n setLocalFiltered([]);\n };\n\n const handleToggle = (opened: boolean) => {\n if (!opened) {\n setLocalFiltered(header.column.getFilterValue() || []);\n }\n };\n\n useDidMountEffect(() => {\n setLocalFiltered(filtered);\n }, [outerFiltered]);\n\n return (\n <Select\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n placement=\"bottom-end\"\n multiselect\n value={localFiltered}\n onChange={setLocalFiltered}\n renderTarget={() => (\n <IconFilterWrapper>\n <IconFilterFunnel size={getIconSize(size)} />\n\n {filtered.length ? <StyledIndicator size=\"s\" view=\"accent\" /> : undefined}\n </IconFilterWrapper>\n )}\n items={filters}\n portal={tableContainerRef}\n listWidth={getSelectWidth(size)}\n onToggle={handleToggle}\n afterList={\n <>\n <StyledDivider orientation=\"horizontal\" length=\"auto\" />\n\n <ControlPanel>\n <LinkButton onClick={handleReset}>Сбросить фильтр</LinkButton>\n <ButtonAccent disabled={isDisabled} onClick={handleFilterSubmit}>\n Применить\n </ButtonAccent>\n </ControlPanel>\n </>\n }\n />\n );\n};\n"],"names":["getSelectWidth","size","isFilterChanged","outerFiltered","localFiltered","length","Set","concat","_toConsumableArray","Filter","_ref","_header$column","header","tableContainerRef","filtered","column","getFilterValue","_useState","useState","_useState2","_slicedToArray","setLocalFiltered","_ref2","columnDef","meta","filters","isDisabled","handleFilterSubmit","setFilterValue","handleReset","handleToggle","opened","useDidMountEffect","React","createElement","Select","placement","multiselect","value","onChange","renderTarget","IconFilterWrapper","IconFilterFunnel","getIconSize","_StyledIndicator","StyledIndicator","view","undefined","items","portal","listWidth","onToggle","afterList","Fragment","_StyledDivider","StyledDivider","orientation","ControlPanel","LinkButton","onClick","ButtonAccent","disabled"],"mappings":";;;;;;;;;;;;;;;;;AASA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,IAAY,EAAK;AACrC,EAAA,QAAQA,IAAI;AACR,IAAA,KAAK,GAAG;AAAE,MAAA;AACN,QAAA,OAAO,UAAU,CAAA;AACrB,OAAA;AACA,IAAA,KAAK,GAAG;AAAE,MAAA;AACN,QAAA,OAAO,OAAO,CAAA;AAClB,OAAA;AACA,IAAA,KAAK,GAAG;AAAE,MAAA;AACN,QAAA,OAAO,OAAO,CAAA;AAClB,OAAA;AACA,IAAA;AAAS,MAAA;AACL,QAAA,OAAO,OAAO,CAAA;AAClB,OAAA;AACJ,GAAA;AACJ,CAAC,CAAA;AAED,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,aAAuB,EAAEC,aAAuB,EAAK;EAC1E,OACID,aAAa,CAACE,MAAM,KAAKD,aAAa,CAACC,MAAM,IAC7C,IAAIC,GAAG,CAAA,EAAA,CAAAC,MAAA,CAAAC,2CAAA,CAAKL,aAAa,CAAA,EAAAK,2CAAA,CAAKJ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AAElD,cAAc,CAACC,IAAI,CAAE;AAChCkD,IAAAA,QAAQ,EAAErB,YAAa;AACvBsB,IAAAA,SAAS,eACLnB,sBAAA,CAAAC,aAAA,CAAAD,sBAAA,CAAAoB,QAAA,EAAAC,IAAAA,EAAAA,cAAA,KAAAA,cAAA,gBACIrB,sBAAA,CAAAC,aAAA,CAACqB,2BAAa,EAAA;AAACC,MAAAA,WAAW,EAAC,YAAY;AAACnD,MAAAA,MAAM,EAAC,MAAA;AAAM,KAAE,CAAC,CAAA,eAExD4B,sBAAA,CAAAC,aAAA,CAACuB,0BAAY,EAAA,IAAA,eACTxB,sBAAA,CAAAC,aAAA,CAACwB,uBAAU,EAAA;AAACC,MAAAA,OAAO,EAAE9B,WAAAA;AAAY,KAAA,EAAC,uFAA2B,CAAC,eAC9DI,sBAAA,CAAAC,aAAA,CAAC0B,yBAAY,EAAA;AAACC,MAAAA,QAAQ,EAAEnC,UAAW;AAACiC,MAAAA,OAAO,EAAEhC,kBAAAA;KAAoB,EAAA,wDAEnD,CACJ,CAChB,CAAA;AACL,GACJ,CAAC,CAAA;AAEV;;;;"}
@@ -12,7 +12,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
12
12
 
13
13
  var React__default = /*#__PURE__*/_interopDefault(React);
14
14
 
15
- var _excluded = ["className"];
15
+ var _excluded = ["className", "as", "forwardedAs"];
16
16
  /* eslint-disable no-underscore-dangle */
17
17
  var _component = function _component(componentConfig) {
18
18
  var tag = componentConfig.tag,
@@ -21,9 +21,10 @@ var _component = function _component(componentConfig) {
21
21
  intersections = componentConfig.intersections;
22
22
  var staticVariants = utils.getStaticVariants(componentConfig);
23
23
  var dynamicVariants = utils.getDynamicVariants(componentConfig);
24
- var Root = tag;
25
24
  var component = /*#__PURE__*/React.forwardRef(function (props, ref) {
26
25
  var className = props.className,
26
+ as = props.as,
27
+ forwardedAs = props.forwardedAs,
27
28
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
28
29
  var variants = dynamicVariants(rest);
29
30
  var intersectionStyles = utils.getIntersectionStyles(rest, intersections);
@@ -51,6 +52,7 @@ var _component = function _component(componentConfig) {
51
52
  }
52
53
  }
53
54
  }
55
+ var Root = as || forwardedAs || tag;
54
56
  return /*#__PURE__*/React__default.default.createElement(Root, _rollupPluginBabelHelpers.extends({
55
57
  className: cls
56
58
  }, htmlAttrs, baseProps));
@@ -1 +1 @@
1
- {"version":3,"file":"linaria.js","sources":["../../src/engines/linaria.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { cx } from '@linaria/core';\n\n// TODO: #1008 Избавиться от импортов и переделать addFocus\nimport 'focus-visible';\nimport { getStaticVariants, getDynamicVariants, getIntersectionStyles } from './utils';\nimport type { ComponentConfig, HTMLAnyAttributes } from './types';\n\n/* eslint-disable no-underscore-dangle */\nexport const _component = (componentConfig: ComponentConfig) => {\n const { tag, base, name, intersections } = componentConfig;\n const staticVariants = getStaticVariants(componentConfig);\n const dynamicVariants = getDynamicVariants(componentConfig);\n\n const Root = tag as React.ElementType;\n\n const component = forwardRef<HTMLElement, HTMLAnyAttributes>((props, ref) => {\n const { className, ...rest } = props;\n const variants = dynamicVariants(rest);\n const intersectionStyles = getIntersectionStyles(rest, intersections);\n\n const cls = cx(className, base as string, ...(staticVariants as string[]), ...variants, ...intersectionStyles);\n\n // styled-components do it inside\n // filter props\n const baseProps: HTMLAnyAttributes = {};\n for (const key in rest) {\n if (!(key in componentConfig.variations)) {\n baseProps[key] = rest[key];\n }\n }\n\n baseProps.ref = ref;\n\n // styled-components do it inside\n // add props that should be attr( disabled for example)\n const htmlAttrs: HTMLAnyAttributes = {};\n for (const key in componentConfig.variations || {}) {\n if (key in rest) {\n const variant = componentConfig.variations[key];\n\n const { attrs } = variant;\n if (typeof attrs === 'boolean') {\n htmlAttrs[key] = rest[key];\n }\n }\n }\n\n return <Root className={cls} {...htmlAttrs} {...baseProps} />;\n });\n if (name) {\n component.displayName = name;\n }\n return component;\n};\n"],"names":["_component","componentConfig","tag","base","name","intersections","staticVariants","getStaticVariants","dynamicVariants","getDynamicVariants","Root","component","forwardRef","props","ref","className","rest","_objectWithoutProperties","_excluded","variants","intersectionStyles","getIntersectionStyles","cls","cx","apply","concat","_toConsumableArray","baseProps","key","variations","htmlAttrs","variant","attrs","React","createElement","_extends","displayName"],"mappings":";;;;;;;;;;;;;;;AAQA;IACaA,UAAU,GAAG,SAAbA,UAAUA,CAAIC,eAAgC,EAAK;AAC5D,EAAA,IAAQC,GAAG,GAAgCD,eAAe,CAAlDC,GAAG;IAAEC,IAAI,GAA0BF,eAAe,CAA7CE,IAAI;IAAEC,IAAI,GAAoBH,eAAe,CAAvCG,IAAI;IAAEC,aAAa,GAAKJ,eAAe,CAAjCI,aAAa,CAAA;AACtC,EAAA,IAAMC,cAAc,GAAGC,uBAAiB,CAACN,eAAe,CAAC,CAAA;AACzD,EAAA,IAAMO,eAAe,GAAGC,wBAAkB,CAACR,eAAe,CAAC,CAAA;EAE3D,IAAMS,IAAI,GAAGR,GAAwB,CAAA;EAErC,IAAMS,SAAS,gBAAGC,gBAAU,CAAiC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACzE,IAAA,IAAQC,SAAS,GAAcF,KAAK,CAA5BE,SAAS;AAAKC,MAAAA,IAAI,GAAAC,iDAAA,CAAKJ,KAAK,EAAAK,SAAA,CAAA,CAAA;AACpC,IAAA,IAAMC,QAAQ,GAAGX,eAAe,CAACQ,IAAI,CAAC,CAAA;AACtC,IAAA,IAAMI,kBAAkB,GAAGC,2BAAqB,CAACL,IAAI,EAAEX,aAAa,CAAC,CAAA;IAErE,IAAMiB,GAAG,GAAGC,OAAE,CAAAC,KAAA,CAACT,KAAAA,CAAAA,EAAAA,CAAAA,SAAS,EAAEZ,IAAI,CAAAsB,CAAAA,MAAA,CAAAC,2CAAA,CAAgBpB,cAAc,CAAA,EAAAoB,2CAAA,CAAkBP,QAAQ,CAAAO,EAAAA,2CAAA,CAAKN,kBAAkB,CAAC,CAAA,CAAA,CAAA;;AAE9G;AACA;IACA,IAAMO,SAA4B,GAAG,EAAE,CAAA;AACvC,IAAA,KAAK,IAAMC,GAAG,IAAIZ,IAAI,EAAE;AACpB,MAAA,IAAI,EAAEY,GAAG,IAAI3B,eAAe,CAAC4B,UAAU,CAAC,EAAE;AACtCF,QAAAA,SAAS,CAACC,GAAG,CAAC,GAAGZ,IAAI,CAACY,GAAG,CAAC,CAAA;AAC9B,OAAA;AACJ,KAAA;IAEAD,SAAS,CAACb,GAAG,GAAGA,GAAG,CAAA;;AAEnB;AACA;IACA,IAAMgB,SAA4B,GAAG,EAAE,CAAA;IACvC,KAAK,IAAMF,IAAG,IAAI3B,eAAe,CAAC4B,UAAU,IAAI,EAAE,EAAE;MAChD,IAAID,IAAG,IAAIZ,IAAI,EAAE;AACb,QAAA,IAAMe,OAAO,GAAG9B,eAAe,CAAC4B,UAAU,CAACD,IAAG,CAAC,CAAA;AAE/C,QAAA,IAAQI,KAAK,GAAKD,OAAO,CAAjBC,KAAK,CAAA;AACb,QAAA,IAAI,OAAOA,KAAK,KAAK,SAAS,EAAE;AAC5BF,UAAAA,SAAS,CAACF,IAAG,CAAC,GAAGZ,IAAI,CAACY,IAAG,CAAC,CAAA;AAC9B,SAAA;AACJ,OAAA;AACJ,KAAA;AAEA,IAAA,oBAAOK,sBAAA,CAAAC,aAAA,CAACxB,IAAI,EAAAyB,iCAAA,CAAA;AAACpB,MAAAA,SAAS,EAAEO,GAAAA;AAAI,KAAA,EAAKQ,SAAS,EAAMH,SAAS,CAAG,CAAC,CAAA;AACjE,GAAC,CAAC,CAAA;AACF,EAAA,IAAIvB,IAAI,EAAE;IACNO,SAAS,CAACyB,WAAW,GAAGhC,IAAI,CAAA;AAChC,GAAA;AACA,EAAA,OAAOO,SAAS,CAAA;AACpB;;;;"}
1
+ {"version":3,"file":"linaria.js","sources":["../../src/engines/linaria.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { cx } from '@linaria/core';\n\n// TODO: #1008 Избавиться от импортов и переделать addFocus\nimport 'focus-visible';\nimport { getStaticVariants, getDynamicVariants, getIntersectionStyles } from './utils';\nimport type { ComponentConfig, HTMLAnyAttributes } from './types';\n\n/* eslint-disable no-underscore-dangle */\nexport const _component = (componentConfig: ComponentConfig) => {\n const { tag, base, name, intersections } = componentConfig;\n const staticVariants = getStaticVariants(componentConfig);\n const dynamicVariants = getDynamicVariants(componentConfig);\n\n const component = forwardRef<HTMLElement, HTMLAnyAttributes>((props, ref) => {\n const { className, as, forwardedAs, ...rest } = props;\n const variants = dynamicVariants(rest);\n const intersectionStyles = getIntersectionStyles(rest, intersections);\n\n const cls = cx(className, base as string, ...(staticVariants as string[]), ...variants, ...intersectionStyles);\n\n // styled-components do it inside\n // filter props\n const baseProps: HTMLAnyAttributes = {};\n for (const key in rest) {\n if (!(key in componentConfig.variations)) {\n baseProps[key] = rest[key];\n }\n }\n\n baseProps.ref = ref;\n\n // styled-components do it inside\n // add props that should be attr( disabled for example)\n const htmlAttrs: HTMLAnyAttributes = {};\n for (const key in componentConfig.variations || {}) {\n if (key in rest) {\n const variant = componentConfig.variations[key];\n\n const { attrs } = variant;\n if (typeof attrs === 'boolean') {\n htmlAttrs[key] = rest[key];\n }\n }\n }\n\n const Root = as || forwardedAs || (tag as React.ElementType);\n\n return <Root className={cls} {...htmlAttrs} {...baseProps} />;\n });\n if (name) {\n component.displayName = name;\n }\n return component;\n};\n"],"names":["_component","componentConfig","tag","base","name","intersections","staticVariants","getStaticVariants","dynamicVariants","getDynamicVariants","component","forwardRef","props","ref","className","as","forwardedAs","rest","_objectWithoutProperties","_excluded","variants","intersectionStyles","getIntersectionStyles","cls","cx","apply","concat","_toConsumableArray","baseProps","key","variations","htmlAttrs","variant","attrs","Root","React","createElement","_extends","displayName"],"mappings":";;;;;;;;;;;;;;;AAQA;IACaA,UAAU,GAAG,SAAbA,UAAUA,CAAIC,eAAgC,EAAK;AAC5D,EAAA,IAAQC,GAAG,GAAgCD,eAAe,CAAlDC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AEAD,SAAS,CAACf,GAAG,GAAGA,GAAG,CAAA;;AAEnB;AACA;IACA,IAAMkB,SAA4B,GAAG,EAAE,CAAA;IACvC,KAAK,IAAMF,IAAG,IAAI5B,eAAe,CAAC6B,UAAU,IAAI,EAAE,EAAE;MAChD,IAAID,IAAG,IAAIZ,IAAI,EAAE;AACb,QAAA,IAAMe,OAAO,GAAG/B,eAAe,CAAC6B,UAAU,CAACD,IAAG,CAAC,CAAA;AAE/C,QAAA,IAAQI,KAAK,GAAKD,OAAO,CAAjBC,KAAK,CAAA;AACb,QAAA,IAAI,OAAOA,KAAK,KAAK,SAAS,EAAE;AAC5BF,UAAAA,SAAS,CAACF,IAAG,CAAC,GAAGZ,IAAI,CAACY,IAAG,CAAC,CAAA;AAC9B,SAAA;AACJ,OAAA;AACJ,KAAA;AAEA,IAAA,IAAMK,IAAI,GAAGnB,EAAE,IAAIC,WAAW,IAAKd,GAAyB,CAAA;AAE5D,IAAA,oBAAOiC,sBAAA,CAAAC,aAAA,CAACF,IAAI,EAAAG,iCAAA,CAAA;AAACvB,MAAAA,SAAS,EAAES,GAAAA;AAAI,KAAA,EAAKQ,SAAS,EAAMH,SAAS,CAAG,CAAC,CAAA;AACjE,GAAC,CAAC,CAAA;AACF,EAAA,IAAIxB,IAAI,EAAE;IACNM,SAAS,CAAC4B,WAAW,GAAGlC,IAAI,CAAA;AAChC,GAAA;AACA,EAAA,OAAOM,SAAS,CAAA;AACpB;;;;"}
package/cjs/index.css CHANGED
@@ -904,9 +904,8 @@
904
904
  .Note_styles_178qpj9_t1kp0wa7__381585e2{display:block;position:relative;}
905
905
  .Note_styles_178qpj9_tf1lafs__381585e2{visibility:hidden;position:absolute;z-index:-9999;opacity:0;top:0;left:0;}
906
906
 
907
- .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;}
908
- .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;}
909
- .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;}
907
+ .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;}
908
+ .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;}
910
909
 
911
910
  .Filter_styles_zerrb9_ss3v1fl__e58abdba{--plasma-select-padding:var(--plasma-table-select-padding);--plasma-select-border-radius:var(--plasma-table-select-border-radius);--plasma-select-item-height:var(--plasma-table-select-item-height);--plasma-select-item-padding:var(--plasma-table-select-item-padding);--plasma-select-item-border-radius:var(--plasma-table-select-item-border-radius);--plasma-select-item-icon-margin:var(--plasma-table-select-item-icon-margin);--plasma-select-item-icon-size:var(--plasma-table-select-item-icon-size);--plasma-select-cell-padding:var(--plasma-table-select-cell-padding);--plasma-select-cell-title-font-family:var(--plasma-table-select-cell-title-font-family);--plasma-select-cell-title-font-size:var(--plasma-table-select-cell-title-font-size);--plasma-select-cell-title-font-style:var(--plasma-table-select-cell-title-font-style);--plasma-select-cell-title-font-weight:var(--plasma-table-select-cell-title-font-weight);--plasma-select-cell-title-letter-spacing:var(--plasma-table-select-cell-title-letter-spacing);--plasma-select-cell-title-line-height:var(--plasma-table-select-cell-title-line-height);--plasma-select-checkbox-trigger-size:var(--plasma-table-select-checkbox-trigger-size);--plasma-select-checkbox-trigger-border-radius:var(--plasma-table-select-checkbox-trigger-border-radius);--plasma-select-checkbox-fill-color:var(--text-accent);--plasma-select-checkbox-icon-color:var(--on-dark-text-primary);--plasma-select-checkbox-trigger-border-color:var(--text-secondary);}
912
911
  .Filter_styles_zerrb9_ixw8ftq__e58abdba{position:relative;line-height:0;cursor:pointer;}
@@ -915,29 +914,28 @@
915
914
  .Filter_styles_zerrb9_s1amtrwp__e58abdba{margin:var(--plasma-table-filter-divider-margin);}
916
915
  .Filter_styles_zerrb9_cda48hg__e58abdba{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;padding:var(--plasma-table-select-control-panel-padding);gap:var(--plasma-table-select-control-panel-gap);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
917
916
 
918
- .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;}
919
- .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%;}
920
- .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;}
921
- .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%;}
922
- .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);}
923
- .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);}
924
- .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);}
925
- .EditableCell_styles_d8duzc_i17hwnh4__1f395684{--plasma-icon-button-width:auto;--plasma-icon-button-height:auto;}
926
-
927
- .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;}
928
-
929
- .Table_styles_xngwgy_b1lxisuf__5cfbdc68{display:inline-block;overflow-y:auto;}
930
- .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);}
931
- .Table_styles_xngwgy_t1ri3no5__5cfbdc68{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--t1ri3no5-0);}
932
- .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;}
933
-
934
- .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;}
935
- .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;}
936
- .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);}
937
- .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;}
938
- .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);}
939
- .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);}
940
- .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);}
917
+ .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;}
918
+ .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%;}
919
+ .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;}
920
+ .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%;}
921
+ .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);}
922
+ .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);}
923
+ .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);}
924
+ .EditableCell_styles_277bjm_i17hwnh4__d76a564b{--plasma-icon-button-width:auto;--plasma-icon-button-height:auto;}
925
+
926
+ .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;}
927
+
928
+ .Table_styles_1eg2zsx_b1lxisuf__8ba8eb83{display:inline-block;overflow-y:auto;}
929
+ .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);}
930
+ .Table_styles_1eg2zsx_t1ri3no5__8ba8eb83{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--t1ri3no5-0);}
931
+ .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;}
932
+ .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;}
933
+ .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;}
934
+ .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);}
935
+ .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;}
936
+ .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);}
937
+ .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);}
938
+ .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);}
941
939
 
942
940
  .base_1bvd5n_b1o5hlxs__d4f41253{color:var(--plasma-link-button-color);background:var(--plasma-link-button-background-color);}.base_1bvd5n_b1o5hlxs__d4f41253:hover{color:var(--plasma-link-button-color-hover,var(--plasma-link-button-color));}.base_1bvd5n_b1o5hlxs__d4f41253:active{color:var(--plasma-link-button-color-active,var(--plasma-link-button-color));}
943
941
 
@@ -10,10 +10,8 @@ var _reactTable = /*#__PURE__*/require("@tanstack/react-table");
10
10
  var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
11
11
  var _ui = /*#__PURE__*/require("./ui");
12
12
  var _Table = /*#__PURE__*/require("./Table.styles");
13
- var _excluded = ["data", "onChange", "columns", "view", "size", "borderVariant", "enableSelection", "selected", "filtered", "sorted", "maxHeight", "stickyHeader", "onCellUpdate"];
14
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
16
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
15
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
18
16
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
19
17
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
@@ -24,9 +22,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
24
22
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
25
23
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
26
24
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
28
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
- var SELECT_COLUMN_ID = exports.SELECT_COLUMN_ID = 'SELECT_COLUMN_UNIQUE_ID';
25
+ var SELECT_COLUMN_ID = exports.SELECT_COLUMN_ID = 'select#65768756432';
30
26
  var tableRoot = exports.tableRoot = function tableRoot(Root) {
31
27
  return /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
32
28
  var data = _ref.data,
@@ -42,8 +38,7 @@ var tableRoot = exports.tableRoot = function tableRoot(Root) {
42
38
  outerSorted = _ref.sorted,
43
39
  maxHeight = _ref.maxHeight,
44
40
  stickyHeader = _ref.stickyHeader,
45
- onCellUpdate = _ref.onCellUpdate,
46
- props = _objectWithoutProperties(_ref, _excluded);
41
+ onCellUpdate = _ref.onCellUpdate;
47
42
  var _useState = (0, _react.useState)(outerSelected || {}),
48
43
  _useState2 = _slicedToArray(_useState, 2),
49
44
  innerSelected = _useState2[0],
@@ -137,10 +132,17 @@ var tableRoot = exports.tableRoot = function tableRoot(Root) {
137
132
  enableSorting: enableSorting,
138
133
  enableResizing: enableResizing,
139
134
  filterFn: function filterFn(row, columnId, filterArr) {
140
- if ((filterArr === null || filterArr === void 0 ? void 0 : filterArr.length) !== 0 && outerFilterFn && filterArr && Array.isArray(filterArr)) {
141
- return filterArr.some(function (filterValue) {
142
- return outerFilterFn(filterValue, row.getValue(columnId));
143
- });
135
+ if (outerFilterFn && filterArr && Array.isArray(filterArr)) {
136
+ if (filterArr.length === 0) {
137
+ return true;
138
+ }
139
+ for (var i = 0; i < filterArr.length; i++) {
140
+ var filterValue = filterArr[i];
141
+ if (outerFilterFn(filterValue, row.getValue(columnId))) {
142
+ return true;
143
+ }
144
+ }
145
+ return false;
144
146
  }
145
147
  return true;
146
148
  },
@@ -181,7 +183,7 @@ var tableRoot = exports.tableRoot = function tableRoot(Root) {
181
183
  }
182
184
  }
183
185
  });
184
- return /*#__PURE__*/_react["default"].createElement(Root, _extends({
186
+ return /*#__PURE__*/_react["default"].createElement(Root, {
185
187
  ref: rootRef,
186
188
  data: data,
187
189
  columns: columns,
@@ -190,7 +192,7 @@ var tableRoot = exports.tableRoot = function tableRoot(Root) {
190
192
  style: {
191
193
  maxHeight: maxHeight || 'none'
192
194
  }
193
- }, props), /*#__PURE__*/_react["default"].createElement(_Table.Table, {
195
+ }, /*#__PURE__*/_react["default"].createElement(_Table.Table, {
194
196
  borderVariant: borderVariant,
195
197
  stickyHeader: stickyHeader
196
198
  }, /*#__PURE__*/_react["default"].createElement(_Table.Thead, {
@@ -210,7 +212,7 @@ var tableRoot = exports.tableRoot = function tableRoot(Root) {
210
212
  tableContainerRef: tableContainerRef
211
213
  });
212
214
  }));
213
- })), /*#__PURE__*/_react["default"].createElement(_Table.Tbody, null, table.getRowModel().rows.map(function (row) {
215
+ })), /*#__PURE__*/_react["default"].createElement("tbody", null, table.getRowModel().rows.map(function (row) {
214
216
  return /*#__PURE__*/_react["default"].createElement(_Table.Tr, {
215
217
  key: row.id,
216
218
  selected: row.getIsSelected()