@alfalab/core-components-table 1.6.4 → 2.0.2

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 (283) hide show
  1. package/{dist/component.d.ts → component.d.ts} +0 -0
  2. package/{dist/component.js → component.js} +1 -1
  3. package/{dist/components → components}/index.d.ts +0 -0
  4. package/{dist/components → components}/index.js +1 -1
  5. package/{dist/components → components}/pagination/Component.d.ts +0 -0
  6. package/{dist/components → components}/pagination/Component.js +2 -2
  7. package/{dist/esm/components → components}/pagination/index.css +8 -8
  8. package/{dist/components → components}/pagination/index.d.ts +0 -0
  9. package/{dist/components → components}/pagination/index.js +1 -1
  10. package/{dist/esm/components → components}/pagination/select-field/index.css +4 -4
  11. package/{dist/components → components}/pagination/select-field/index.d.ts +0 -0
  12. package/{dist/components → components}/pagination/select-field/index.js +2 -2
  13. package/{dist/components → components}/table/Component.d.ts +0 -0
  14. package/{dist/components → components}/table/Component.js +2 -2
  15. package/{dist/modern/components → components}/table/index.css +6 -6
  16. package/{dist/components → components}/table/index.d.ts +0 -0
  17. package/{dist/components → components}/table/index.js +1 -1
  18. package/{dist/components → components}/table/utils.d.ts +0 -0
  19. package/{dist/components → components}/table/utils.js +1 -1
  20. package/{dist/components → components}/table-context/index.d.ts +0 -0
  21. package/{dist/components → components}/table-context/index.js +0 -0
  22. package/{dist/components → components}/tbody/Component.d.ts +0 -0
  23. package/{dist/components → components}/tbody/Component.js +2 -2
  24. package/{dist/modern/components → components}/tbody/index.css +2 -2
  25. package/{dist/components → components}/tbody/index.d.ts +0 -0
  26. package/{dist/components → components}/tbody/index.js +1 -1
  27. package/{dist/components → components}/tcell/Component.d.ts +0 -0
  28. package/{dist/components → components}/tcell/Component.js +2 -2
  29. package/{dist/esm/components → components}/tcell/index.css +4 -4
  30. package/{dist/components → components}/tcell/index.d.ts +0 -0
  31. package/{dist/components → components}/tcell/index.js +1 -1
  32. package/{dist/components → components}/texpandable-row/Component.d.ts +0 -0
  33. package/{dist/components → components}/texpandable-row/Component.js +2 -2
  34. package/{dist/components → components}/texpandable-row/index.css +5 -5
  35. package/{dist/components → components}/texpandable-row/index.d.ts +0 -0
  36. package/{dist/components → components}/texpandable-row/index.js +1 -1
  37. package/{dist/components → components}/thead/Component.d.ts +0 -0
  38. package/{dist/components → components}/thead/Component.js +2 -2
  39. package/{dist/components → components}/thead/index.css +6 -6
  40. package/{dist/components → components}/thead/index.d.ts +0 -0
  41. package/{dist/components → components}/thead/index.js +1 -1
  42. package/{dist/components → components}/thead-cell/Component.d.ts +0 -0
  43. package/{dist/components → components}/thead-cell/Component.js +2 -2
  44. package/{dist/components → components}/thead-cell/index.css +5 -5
  45. package/{dist/components → components}/thead-cell/index.d.ts +0 -0
  46. package/{dist/components → components}/thead-cell/index.js +1 -1
  47. package/{dist/components → components}/trow/Component.d.ts +0 -0
  48. package/{dist/components → components}/trow/Component.js +2 -2
  49. package/{dist/modern/components → components}/trow/index.css +8 -8
  50. package/{dist/components → components}/trow/index.d.ts +0 -0
  51. package/{dist/components → components}/trow/index.js +1 -1
  52. package/{dist/components → components}/tsortable-head-cell/Component.d.ts +0 -0
  53. package/{dist/components → components}/tsortable-head-cell/Component.js +2 -2
  54. package/{dist/esm/components → components}/tsortable-head-cell/index.css +9 -9
  55. package/{dist/components → components}/tsortable-head-cell/index.d.ts +0 -0
  56. package/{dist/components → components}/tsortable-head-cell/index.js +1 -1
  57. package/{dist/components → components}/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
  58. package/{dist/components → components}/tsortable-head-cell/sort-icon-asc.js +1 -1
  59. package/{dist/components → components}/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
  60. package/{dist/components → components}/tsortable-head-cell/sort-icon-desc.js +1 -1
  61. package/{dist/components → components}/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
  62. package/{dist/components → components}/tsortable-head-cell/sort-icon-unset.js +1 -1
  63. package/{dist/cssm → cssm}/component.d.ts +0 -0
  64. package/{dist/cssm → cssm}/component.js +3 -3
  65. package/{dist/cssm → cssm}/components/index.d.ts +0 -0
  66. package/{dist/cssm → cssm}/components/index.js +3 -3
  67. package/{dist/cssm → cssm}/components/pagination/Component.d.ts +0 -0
  68. package/{dist/cssm → cssm}/components/pagination/Component.js +3 -3
  69. package/{dist/cssm → cssm}/components/pagination/index.d.ts +0 -0
  70. package/{dist/cssm → cssm}/components/pagination/index.js +3 -3
  71. package/{dist/cssm → cssm}/components/pagination/index.module.css +0 -0
  72. package/{dist/cssm → cssm}/components/pagination/select-field/index.d.ts +0 -0
  73. package/{dist/cssm → cssm}/components/pagination/select-field/index.js +1 -1
  74. package/{dist/cssm → cssm}/components/pagination/select-field/index.module.css +0 -0
  75. package/{dist/cssm → cssm}/components/table/Component.d.ts +0 -0
  76. package/{dist/cssm → cssm}/components/table/Component.js +0 -0
  77. package/{dist/cssm → cssm}/components/table/index.d.ts +0 -0
  78. package/{dist/cssm → cssm}/components/table/index.js +0 -0
  79. package/{dist/cssm → cssm}/components/table/index.module.css +0 -0
  80. package/{dist/cssm → cssm}/components/table/utils.d.ts +0 -0
  81. package/{dist/cssm → cssm}/components/table/utils.js +0 -0
  82. package/{dist/cssm → cssm}/components/table-context/index.d.ts +0 -0
  83. package/{dist/cssm → cssm}/components/table-context/index.js +0 -0
  84. package/{dist/cssm → cssm}/components/tbody/Component.d.ts +0 -0
  85. package/{dist/cssm → cssm}/components/tbody/Component.js +0 -0
  86. package/{dist/cssm → cssm}/components/tbody/index.d.ts +0 -0
  87. package/{dist/cssm → cssm}/components/tbody/index.js +0 -0
  88. package/{dist/cssm → cssm}/components/tbody/index.module.css +0 -0
  89. package/{dist/cssm → cssm}/components/tcell/Component.d.ts +0 -0
  90. package/{dist/cssm → cssm}/components/tcell/Component.js +0 -0
  91. package/{dist/cssm → cssm}/components/tcell/index.d.ts +0 -0
  92. package/{dist/cssm → cssm}/components/tcell/index.js +0 -0
  93. package/{dist/cssm → cssm}/components/tcell/index.module.css +0 -0
  94. package/{dist/cssm → cssm}/components/texpandable-row/Component.d.ts +0 -0
  95. package/{dist/cssm → cssm}/components/texpandable-row/Component.js +0 -0
  96. package/{dist/cssm → cssm}/components/texpandable-row/index.d.ts +0 -0
  97. package/{dist/cssm → cssm}/components/texpandable-row/index.js +0 -0
  98. package/{dist/cssm → cssm}/components/texpandable-row/index.module.css +0 -0
  99. package/{dist/cssm → cssm}/components/thead/Component.d.ts +0 -0
  100. package/{dist/cssm → cssm}/components/thead/Component.js +0 -0
  101. package/{dist/cssm → cssm}/components/thead/index.d.ts +0 -0
  102. package/{dist/cssm → cssm}/components/thead/index.js +0 -0
  103. package/{dist/cssm → cssm}/components/thead/index.module.css +0 -0
  104. package/{dist/cssm → cssm}/components/thead-cell/Component.d.ts +0 -0
  105. package/{dist/cssm → cssm}/components/thead-cell/Component.js +0 -0
  106. package/{dist/cssm → cssm}/components/thead-cell/index.d.ts +0 -0
  107. package/{dist/cssm → cssm}/components/thead-cell/index.js +0 -0
  108. package/{dist/cssm → cssm}/components/thead-cell/index.module.css +0 -0
  109. package/{dist/cssm → cssm}/components/trow/Component.d.ts +0 -0
  110. package/{dist/cssm → cssm}/components/trow/Component.js +0 -0
  111. package/{dist/cssm → cssm}/components/trow/index.d.ts +0 -0
  112. package/{dist/cssm → cssm}/components/trow/index.js +0 -0
  113. package/{dist/cssm → cssm}/components/trow/index.module.css +0 -0
  114. package/{dist/cssm → cssm}/components/tsortable-head-cell/Component.d.ts +0 -0
  115. package/{dist/cssm → cssm}/components/tsortable-head-cell/Component.js +0 -0
  116. package/{dist/cssm → cssm}/components/tsortable-head-cell/index.d.ts +0 -0
  117. package/{dist/cssm → cssm}/components/tsortable-head-cell/index.js +0 -0
  118. package/{dist/cssm → cssm}/components/tsortable-head-cell/index.module.css +0 -0
  119. package/{dist/cssm → cssm}/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
  120. package/{dist/cssm → cssm}/components/tsortable-head-cell/sort-icon-asc.js +0 -0
  121. package/{dist/cssm → cssm}/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
  122. package/{dist/cssm → cssm}/components/tsortable-head-cell/sort-icon-desc.js +0 -0
  123. package/{dist/cssm → cssm}/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
  124. package/{dist/cssm → cssm}/components/tsortable-head-cell/sort-icon-unset.js +0 -0
  125. package/{dist/cssm → cssm}/index.d.ts +0 -0
  126. package/{dist/cssm → cssm}/index.js +3 -3
  127. package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
  128. package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
  129. package/{dist/cssm → cssm}/typings.d.ts +0 -0
  130. package/{dist/cssm → cssm}/typings.js +0 -0
  131. package/{dist/cssm → cssm}/utils.d.ts +0 -0
  132. package/{dist/cssm → cssm}/utils.js +0 -0
  133. package/{dist/esm → esm}/component.d.ts +0 -0
  134. package/{dist/esm → esm}/component.js +4 -4
  135. package/{dist/esm → esm}/components/index.d.ts +0 -0
  136. package/{dist/esm → esm}/components/index.js +4 -4
  137. package/{dist/esm → esm}/components/pagination/Component.d.ts +0 -0
  138. package/{dist/esm → esm}/components/pagination/Component.js +5 -5
  139. package/{dist → esm}/components/pagination/index.css +8 -8
  140. package/{dist/esm → esm}/components/pagination/index.d.ts +0 -0
  141. package/esm/components/pagination/index.js +9 -0
  142. package/{dist → esm}/components/pagination/select-field/index.css +4 -4
  143. package/{dist/esm → esm}/components/pagination/select-field/index.d.ts +0 -0
  144. package/{dist/esm → esm}/components/pagination/select-field/index.js +3 -3
  145. package/{dist/esm → esm}/components/table/Component.d.ts +0 -0
  146. package/{dist/esm → esm}/components/table/Component.js +2 -2
  147. package/{dist → esm}/components/table/index.css +6 -6
  148. package/{dist/esm → esm}/components/table/index.d.ts +0 -0
  149. package/{dist/esm → esm}/components/table/index.js +1 -1
  150. package/{dist/esm → esm}/components/table/utils.d.ts +0 -0
  151. package/{dist/esm → esm}/components/table/utils.js +1 -1
  152. package/{dist/esm → esm}/components/table-context/index.d.ts +0 -0
  153. package/{dist/esm → esm}/components/table-context/index.js +0 -0
  154. package/{dist/esm → esm}/components/tbody/Component.d.ts +0 -0
  155. package/{dist/esm → esm}/components/tbody/Component.js +2 -2
  156. package/{dist/esm → esm}/components/tbody/index.css +2 -2
  157. package/{dist/esm → esm}/components/tbody/index.d.ts +0 -0
  158. package/{dist/esm → esm}/components/tbody/index.js +1 -1
  159. package/{dist/esm → esm}/components/tcell/Component.d.ts +0 -0
  160. package/{dist/esm → esm}/components/tcell/Component.js +2 -2
  161. package/{dist → esm}/components/tcell/index.css +4 -4
  162. package/{dist/esm → esm}/components/tcell/index.d.ts +0 -0
  163. package/{dist/esm → esm}/components/tcell/index.js +1 -1
  164. package/{dist/esm → esm}/components/texpandable-row/Component.d.ts +0 -0
  165. package/{dist/esm → esm}/components/texpandable-row/Component.js +2 -2
  166. package/{dist/esm → esm}/components/texpandable-row/index.css +5 -5
  167. package/{dist/esm → esm}/components/texpandable-row/index.d.ts +0 -0
  168. package/{dist/esm → esm}/components/texpandable-row/index.js +1 -1
  169. package/{dist/esm → esm}/components/thead/Component.d.ts +0 -0
  170. package/{dist/esm → esm}/components/thead/Component.js +2 -2
  171. package/{dist/modern → esm}/components/thead/index.css +6 -6
  172. package/{dist/esm → esm}/components/thead/index.d.ts +0 -0
  173. package/{dist/esm → esm}/components/thead/index.js +1 -1
  174. package/{dist/esm → esm}/components/thead-cell/Component.d.ts +0 -0
  175. package/{dist/esm → esm}/components/thead-cell/Component.js +2 -2
  176. package/{dist/esm → esm}/components/thead-cell/index.css +5 -5
  177. package/{dist/esm → esm}/components/thead-cell/index.d.ts +0 -0
  178. package/{dist/esm → esm}/components/thead-cell/index.js +1 -1
  179. package/{dist/esm → esm}/components/trow/Component.d.ts +0 -0
  180. package/{dist/esm → esm}/components/trow/Component.js +2 -2
  181. package/{dist → esm}/components/trow/index.css +8 -8
  182. package/{dist/esm → esm}/components/trow/index.d.ts +0 -0
  183. package/{dist/esm → esm}/components/trow/index.js +1 -1
  184. package/{dist/esm → esm}/components/tsortable-head-cell/Component.d.ts +0 -0
  185. package/{dist/esm → esm}/components/tsortable-head-cell/Component.js +2 -2
  186. package/{dist → esm}/components/tsortable-head-cell/index.css +9 -9
  187. package/{dist/esm → esm}/components/tsortable-head-cell/index.d.ts +0 -0
  188. package/{dist/esm → esm}/components/tsortable-head-cell/index.js +1 -1
  189. package/{dist/esm → esm}/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
  190. package/{dist/esm → esm}/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  191. package/{dist/esm → esm}/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
  192. package/{dist/esm → esm}/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  193. package/{dist/esm → esm}/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
  194. package/{dist/esm → esm}/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  195. package/{dist/esm → esm}/index.d.ts +0 -0
  196. package/{dist/esm → esm}/index.js +4 -4
  197. package/{dist/esm/tslib.es6-9c7fa967.d.ts → esm/tslib.es6-9eeb595d.d.ts} +0 -0
  198. package/{dist/esm/tslib.es6-9c7fa967.js → esm/tslib.es6-9eeb595d.js} +0 -0
  199. package/{dist/esm → esm}/typings.d.ts +0 -0
  200. package/{dist/esm → esm}/typings.js +0 -0
  201. package/{dist/esm → esm}/utils.d.ts +0 -0
  202. package/{dist/esm → esm}/utils.js +0 -0
  203. package/{dist/index.d.ts → index.d.ts} +0 -0
  204. package/{dist/index.js → index.js} +1 -1
  205. package/{dist/modern → modern}/component.d.ts +0 -0
  206. package/{dist/modern → modern}/component.js +3 -3
  207. package/{dist/modern → modern}/components/index.d.ts +0 -0
  208. package/{dist/modern → modern}/components/index.js +3 -3
  209. package/{dist/modern → modern}/components/pagination/Component.d.ts +0 -0
  210. package/{dist/modern → modern}/components/pagination/Component.js +4 -4
  211. package/{dist/modern → modern}/components/pagination/index.css +8 -8
  212. package/{dist/modern → modern}/components/pagination/index.d.ts +0 -0
  213. package/modern/components/pagination/index.js +8 -0
  214. package/{dist/modern → modern}/components/pagination/select-field/index.css +4 -4
  215. package/{dist/modern → modern}/components/pagination/select-field/index.d.ts +0 -0
  216. package/{dist/modern → modern}/components/pagination/select-field/index.js +2 -2
  217. package/{dist/modern → modern}/components/table/Component.d.ts +0 -0
  218. package/{dist/modern → modern}/components/table/Component.js +1 -1
  219. package/{dist/esm → modern}/components/table/index.css +6 -6
  220. package/{dist/modern → modern}/components/table/index.d.ts +0 -0
  221. package/{dist/modern → modern}/components/table/index.js +0 -0
  222. package/{dist/modern → modern}/components/table/utils.d.ts +0 -0
  223. package/{dist/modern → modern}/components/table/utils.js +0 -0
  224. package/{dist/modern → modern}/components/table-context/index.d.ts +0 -0
  225. package/{dist/modern → modern}/components/table-context/index.js +0 -0
  226. package/{dist/modern → modern}/components/tbody/Component.d.ts +0 -0
  227. package/{dist/modern → modern}/components/tbody/Component.js +1 -1
  228. package/{dist → modern}/components/tbody/index.css +2 -2
  229. package/{dist/modern → modern}/components/tbody/index.d.ts +0 -0
  230. package/{dist/modern → modern}/components/tbody/index.js +0 -0
  231. package/{dist/modern → modern}/components/tcell/Component.d.ts +0 -0
  232. package/{dist/modern → modern}/components/tcell/Component.js +1 -1
  233. package/{dist/modern → modern}/components/tcell/index.css +4 -4
  234. package/{dist/modern → modern}/components/tcell/index.d.ts +0 -0
  235. package/{dist/modern → modern}/components/tcell/index.js +0 -0
  236. package/{dist/modern → modern}/components/texpandable-row/Component.d.ts +0 -0
  237. package/{dist/modern → modern}/components/texpandable-row/Component.js +1 -1
  238. package/{dist/modern → modern}/components/texpandable-row/index.css +5 -5
  239. package/{dist/modern → modern}/components/texpandable-row/index.d.ts +0 -0
  240. package/{dist/modern → modern}/components/texpandable-row/index.js +0 -0
  241. package/{dist/modern → modern}/components/thead/Component.d.ts +0 -0
  242. package/{dist/modern → modern}/components/thead/Component.js +1 -1
  243. package/{dist/esm → modern}/components/thead/index.css +6 -6
  244. package/{dist/modern → modern}/components/thead/index.d.ts +0 -0
  245. package/{dist/modern → modern}/components/thead/index.js +0 -0
  246. package/{dist/modern → modern}/components/thead-cell/Component.d.ts +0 -0
  247. package/{dist/modern → modern}/components/thead-cell/Component.js +1 -1
  248. package/{dist/modern → modern}/components/thead-cell/index.css +5 -5
  249. package/{dist/modern → modern}/components/thead-cell/index.d.ts +0 -0
  250. package/{dist/modern → modern}/components/thead-cell/index.js +0 -0
  251. package/{dist/modern → modern}/components/trow/Component.d.ts +0 -0
  252. package/{dist/modern → modern}/components/trow/Component.js +1 -1
  253. package/{dist/esm → modern}/components/trow/index.css +8 -8
  254. package/{dist/modern → modern}/components/trow/index.d.ts +0 -0
  255. package/{dist/modern → modern}/components/trow/index.js +0 -0
  256. package/{dist/modern → modern}/components/tsortable-head-cell/Component.d.ts +0 -0
  257. package/{dist/modern → modern}/components/tsortable-head-cell/Component.js +1 -1
  258. package/{dist/modern → modern}/components/tsortable-head-cell/index.css +9 -9
  259. package/{dist/modern → modern}/components/tsortable-head-cell/index.d.ts +0 -0
  260. package/{dist/modern → modern}/components/tsortable-head-cell/index.js +0 -0
  261. package/{dist/modern → modern}/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
  262. package/{dist/modern → modern}/components/tsortable-head-cell/sort-icon-asc.js +0 -0
  263. package/{dist/modern → modern}/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
  264. package/{dist/modern → modern}/components/tsortable-head-cell/sort-icon-desc.js +0 -0
  265. package/{dist/modern → modern}/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
  266. package/{dist/modern → modern}/components/tsortable-head-cell/sort-icon-unset.js +0 -0
  267. package/{dist/modern → modern}/index.d.ts +0 -0
  268. package/{dist/modern → modern}/index.js +3 -3
  269. package/{dist/modern → modern}/typings.d.ts +0 -0
  270. package/{dist/modern → modern}/typings.js +0 -0
  271. package/{dist/modern → modern}/utils.d.ts +0 -0
  272. package/{dist/modern → modern}/utils.js +0 -0
  273. package/package.json +9 -12
  274. package/{dist/send-stats.js → send-stats.js} +0 -0
  275. package/{dist/tslib.es6-b2714866.d.ts → tslib.es6-f2bbdbee.d.ts} +0 -0
  276. package/{dist/tslib.es6-b2714866.js → tslib.es6-f2bbdbee.js} +0 -0
  277. package/{dist/typings.d.ts → typings.d.ts} +0 -0
  278. package/{dist/typings.js → typings.js} +0 -0
  279. package/{dist/utils.d.ts → utils.d.ts} +0 -0
  280. package/{dist/utils.js → utils.js} +0 -0
  281. package/CHANGELOG.md +0 -351
  282. package/dist/esm/components/pagination/index.js +0 -9
  283. package/dist/modern/components/pagination/index.js +0 -8
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { Button } from '@alfalab/core-components-button/dist/modern';
3
+ import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- var styles = {"field":"table__field_1syco","open":"table__open_1syco"};
5
+ var styles = {"field":"table__field_jk58l","open":"table__open_jk58l"};
6
6
  require('./index.css')
7
7
 
8
8
  const CustomSelectField = ({ selected, innerProps, Arrow, open }) => {
@@ -5,7 +5,7 @@ import '../../utils.js';
5
5
  import { findAllHeadCellsProps } from './utils.js';
6
6
  import { TableContext } from '../table-context/index.js';
7
7
 
8
- var styles = {"component":"table__component_fgfss","wrapper":"table__wrapper_fgfss","hasPagination":"table__hasPagination_fgfss","table":"table__table_fgfss"};
8
+ var styles = {"component":"table__component_1wq9v","wrapper":"table__wrapper_1wq9v","hasPagination":"table__hasPagination_1wq9v","table":"table__table_1wq9v"};
9
9
  require('./index.css')
10
10
 
11
11
  const Table = forwardRef(({ className, children, compactView = false, wrapper = true, pagination, dataTestId, ...restProps }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: p48la */
1
+ /* hash: 1dpac */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -18,26 +18,26 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .table__component_fgfss {
21
+ .table__component_1wq9v {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_fgfss {
24
+ .table__wrapper_1wq9v {
25
25
  padding: 0 var(--gap-m) var(--gap-m);
26
26
  background: var(--color-light-bg-primary);
27
27
  box-shadow: var(--shadow-xs-hard);
28
28
  border-radius: var(--border-radius-m);
29
29
  overflow: auto;
30
30
  }
31
- .table__hasPagination_fgfss {
31
+ .table__hasPagination_1wq9v {
32
32
  padding-bottom: 0;
33
33
  }
34
- .table__table_fgfss {
34
+ .table__table_1wq9v {
35
35
  width: 100%;
36
36
  border-collapse: collapse;
37
37
  box-sizing: border-box
38
38
 
39
39
  /* TODO: Хак для выравнивания чекбокса */
40
40
  }
41
- .table__table_fgfss td:first-child label > *[class^='box'], .table__table_fgfss th:first-child label > *[class^='box'] {
41
+ .table__table_1wq9v td:first-child label > *[class^='box'], .table__table_1wq9v th:first-child label > *[class^='box'] {
42
42
  margin-top: 0;
43
43
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"table__component_1x94b"};
4
+ var styles = {"component":"table__component_hwki9"};
5
5
  require('./index.css')
6
6
 
7
7
  const TBody = ({ className, children, dataTestId, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1eobr */
1
+ /* hash: 1crja */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_1x94b {
10
+ .table__component_hwki9 {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  }
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TableContext } from '../table-context/index.js';
4
4
 
5
- var styles = {"component":"table__component_14frd","hidden":"table__hidden_14frd","compact":"table__compact_14frd"};
5
+ var styles = {"component":"table__component_pxo94","hidden":"table__hidden_pxo94","compact":"table__compact_pxo94"};
6
6
  require('./index.css')
7
7
 
8
8
  const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1kaqn */
1
+ /* hash: bwhg4 */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  --color-light-text-primary: #0b1f35;
@@ -16,7 +16,7 @@
16
16
  --gap-m: 16px;
17
17
  --gap-xl: 24px;
18
18
  }
19
- .table__component_14frd {
19
+ .table__component_pxo94 {
20
20
  font-size: 14px;
21
21
  line-height: 20px;
22
22
  font-weight: 400;
@@ -28,10 +28,10 @@
28
28
  vertical-align: top;
29
29
  box-sizing: border-box;
30
30
  }
31
- .table__hidden_14frd {
31
+ .table__hidden_pxo94 {
32
32
  display: none;
33
33
  }
34
- .table__compact_14frd {
34
+ .table__compact_pxo94 {
35
35
  padding-top: var(--gap-xs);
36
36
  padding-bottom: var(--gap-xs);
37
37
 
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TRow } from '../trow/Component.js';
4
4
 
5
- var styles = {"row":"table__row_15jm6","selected":"table__selected_15jm6","expanded":"table__expanded_15jm6","expandable":"table__expandable_15jm6"};
5
+ var styles = {"row":"table__row_1uvni","selected":"table__selected_1uvni","expanded":"table__expanded_1uvni","expandable":"table__expandable_1uvni"};
6
6
  require('./index.css')
7
7
 
8
8
  const TExpandableRow = ({ className, selected, expanded, defaultExpanded = false, onToggle = () => null, renderContent = () => null, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 89pun */
1
+ /* hash: 13jv5 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_15jm6 {
10
+ .table__row_1uvni {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_15jm6.table__expanded_15jm6 {
13
+ .table__selected_1uvni.table__expanded_1uvni {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_15jm6:hover {
16
+ .table__expanded_1uvni:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_15jm6 td {
19
+ .table__expandable_1uvni td {
20
20
  margin: 0;
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"table__component_1kpst","row":"table__row_1kpst"};
4
+ var styles = {"component":"table__component_x06h3","row":"table__row_x06h3"};
5
5
  require('./index.css')
6
6
 
7
7
  const THead = ({ className, rowClassName, children, dataTestId, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1n5bz */
1
+ /* hash: 1vz8y */
2
2
  :root {
3
3
  --color-light-graphic-quaternary: #dbdee1;
4
4
  }
@@ -10,12 +10,12 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .table__component_1kpst {
13
+ .table__component_x06h3 {
14
14
  position: relative;
15
15
  width: 100%;
16
16
  box-sizing: border-box
17
17
  }
18
- .table__component_1kpst th:not(:last-child):not(:empty):after {
18
+ .table__component_x06h3 th:not(:last-child):not(:empty):after {
19
19
  transition: opacity 0.2s;
20
20
  position: absolute;
21
21
  content: '';
@@ -27,12 +27,12 @@
27
27
  bottom: 8px;
28
28
  background-color: var(--color-light-graphic-quaternary);
29
29
  }
30
- .table__component_1kpst th:after {
30
+ .table__component_x06h3 th:after {
31
31
  opacity: 0;
32
32
  }
33
- .table__component_1kpst:hover th:after {
33
+ .table__component_x06h3:hover th:after {
34
34
  opacity: 1;
35
35
  }
36
- .table__row_1kpst {
36
+ .table__row_x06h3 {
37
37
  height: 72px;
38
38
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"table__component_o1tvc","sortable":"table__sortable_o1tvc","sorted":"table__sorted_o1tvc","hidden":"table__hidden_o1tvc"};
4
+ var styles = {"component":"table__component_z51xx","sortable":"table__sortable_z51xx","sorted":"table__sorted_z51xx","hidden":"table__hidden_z51xx"};
5
5
  require('./index.css')
6
6
 
7
7
  const THeadCell = ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }) => (React.createElement("th", Object.assign({ className: cn(styles.component, className, hidden && styles.hidden), style: { ...style, width, textAlign }, "data-test-id": dataTestId }, restProps), children));
@@ -1,4 +1,4 @@
1
- /* hash: 1ob9v */
1
+ /* hash: pco7x */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -17,7 +17,7 @@
17
17
  --gap-m: 16px;
18
18
  --gap-2xl: 32px;
19
19
  }
20
- .table__component_o1tvc {
20
+ .table__component_z51xx {
21
21
  font-size: 12px;
22
22
  line-height: 16px;
23
23
  font-weight: 500;
@@ -34,12 +34,12 @@
34
34
  vertical-align: top;
35
35
  box-sizing: border-box;
36
36
  }
37
- .table__sortable_o1tvc {
37
+ .table__sortable_z51xx {
38
38
  cursor: pointer;
39
39
  }
40
- .table__sorted_o1tvc {
40
+ .table__sorted_z51xx {
41
41
  color: var(--color-light-text-primary);
42
42
  }
43
- .table__hidden_o1tvc {
43
+ .table__hidden_z51xx {
44
44
  display: none;
45
45
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"table__component_7it7f","withoutBorder":"table__withoutBorder_7it7f","clickable":"table__clickable_7it7f","selected":"table__selected_7it7f"};
4
+ var styles = {"component":"table__component_w3w3e","withoutBorder":"table__withoutBorder_w3w3e","clickable":"table__clickable_w3w3e","selected":"table__selected_w3w3e"};
5
5
  require('./index.css')
6
6
 
7
7
  const TRow = ({ children, className, selected, withoutBorder, dataTestId, ...restProps }) => (React.createElement("tr", Object.assign({ className: cn(styles.component, className, {
@@ -1,4 +1,4 @@
1
- /* hash: wjag3 */
1
+ /* hash: s93ii */
2
2
  :root {
3
3
  --color-static-graphic-solitude: #e8f2fe;
4
4
  }
@@ -14,30 +14,30 @@
14
14
 
15
15
  /* Hard up */
16
16
  }
17
- .table__component_7it7f {
17
+ .table__component_w3w3e {
18
18
  padding-top: 1px;
19
19
  width: 100%;
20
20
  transition: background-color 0.2s;
21
21
  box-sizing: border-box;
22
22
  background: var(--color-light-bg-primary)
23
23
  }
24
- .table__component_7it7f:first-child td {
24
+ .table__component_w3w3e:first-child td {
25
25
  border-top: 0;
26
26
  }
27
- .table__withoutBorder_7it7f {
27
+ .table__withoutBorder_w3w3e {
28
28
  td {
29
29
  border: none;
30
30
  }
31
31
  }
32
- .table__clickable_7it7f {
32
+ .table__clickable_w3w3e {
33
33
  cursor: pointer
34
34
  }
35
- .table__clickable_7it7f:hover {
35
+ .table__clickable_w3w3e:hover {
36
36
  background-color: var(--color-light-bg-secondary);
37
37
  }
38
- .table__selected_7it7f {
38
+ .table__selected_w3w3e {
39
39
  background-color: #f2f8ff /* нет цвета в палитре */
40
40
  }
41
- .table__selected_7it7f:hover {
41
+ .table__selected_w3w3e:hover {
42
42
  background-color: var(--color-static-graphic-solitude);
43
43
  }
File without changes
@@ -5,7 +5,7 @@ import { SortIconAsc } from './sort-icon-asc.js';
5
5
  import { SortIconDesc } from './sort-icon-desc.js';
6
6
  import { SortIconUnset } from './sort-icon-unset.js';
7
7
 
8
- var styles = {"component":"table__component_130oh","content":"table__content_130oh","icon":"table__icon_130oh","reverse":"table__reverse_130oh","sorted":"table__sorted_130oh"};
8
+ var styles = {"component":"table__component_ymiin","content":"table__content_ymiin","icon":"table__icon_ymiin","reverse":"table__reverse_ymiin","sorted":"table__sorted_ymiin"};
9
9
  require('./index.css')
10
10
 
11
11
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: yzkjf */
1
+ /* hash: jgk0c */
2
2
  :root {
3
3
  --color-light-graphic-link: #007aff;
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -15,14 +15,14 @@
15
15
  :root {
16
16
  --gap-xs: 8px;
17
17
  }
18
- .table__component_130oh {
18
+ .table__component_ymiin {
19
19
  position: relative;
20
20
  }
21
- .table__content_130oh {
21
+ .table__content_ymiin {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
24
  }
25
- .table__icon_130oh {
25
+ .table__icon_ymiin {
26
26
  cursor: pointer;
27
27
  margin-left: var(--gap-xs);
28
28
 
@@ -35,19 +35,19 @@
35
35
  transition: color 0.2s ease;
36
36
  flex-shrink: 0
37
37
  }
38
- .table__icon_130oh:hover {
38
+ .table__icon_ymiin:hover {
39
39
  color: var(--color-light-graphic-primary);
40
40
  }
41
- .table__reverse_130oh {
41
+ .table__reverse_ymiin {
42
42
  flex-direction: row-reverse
43
43
  }
44
- .table__reverse_130oh .table__icon_130oh {
44
+ .table__reverse_ymiin .table__icon_ymiin {
45
45
  margin-left: 0;
46
46
  margin-right: var(--gap-xs);
47
47
  }
48
- .table__sorted_130oh {
48
+ .table__sorted_ymiin {
49
49
  color: var(--color-light-graphic-link)
50
50
  }
51
- .table__sorted_130oh:hover {
51
+ .table__sorted_ymiin:hover {
52
52
  color: var(--color-light-graphic-link);
53
53
  }
File without changes
@@ -5,9 +5,9 @@ import './utils.js';
5
5
  import './components/table/utils.js';
6
6
  import './components/table-context/index.js';
7
7
  import './components/table/Component.js';
8
- import '@alfalab/core-components-select/dist/modern';
9
- import '@alfalab/core-components-pagination/dist/modern';
10
- import '@alfalab/core-components-button/dist/modern';
8
+ import '@alfalab/core-components-select/modern';
9
+ import '@alfalab/core-components-pagination/modern';
10
+ import '@alfalab/core-components-button/modern';
11
11
  import './components/pagination/select-field/index.js';
12
12
  import './components/pagination/Component.js';
13
13
  import './components/thead-cell/Component.js';
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,26 +1,23 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "1.6.4",
3
+ "version": "2.0.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "./dist/esm/index.js",
9
- "files": [
10
- "dist"
11
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
12
9
  "publishConfig": {
13
- "access": "public"
10
+ "access": "public",
11
+ "directory": "dist"
14
12
  },
15
13
  "peerDependencies": {
16
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0",
17
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
16
  },
19
17
  "dependencies": {
20
- "@alfalab/core-components-button": "^5.3.2",
21
- "@alfalab/core-components-pagination": "^1.4.2",
22
- "@alfalab/core-components-select": "^11.1.4",
18
+ "@alfalab/core-components-button": "^6.0.1",
19
+ "@alfalab/core-components-pagination": "^2.0.1",
20
+ "@alfalab/core-components-select": "^12.1.0",
23
21
  "classnames": "^2.3.1"
24
- },
25
- "gitHead": "4d6c8965d07839e339b370bb7c92bd7f9e24b1f3"
22
+ }
26
23
  }
File without changes
File without changes
File without changes
File without changes
File without changes