@alfalab/core-components-table 2.4.10 → 2.4.11

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 (61) hide show
  1. package/components/pagination/Component.js +1 -1
  2. package/components/pagination/index.css +9 -9
  3. package/components/pagination/select-field/index.css +4 -4
  4. package/components/pagination/select-field/index.js +1 -1
  5. package/components/table/Component.js +1 -1
  6. package/components/table/index.css +7 -7
  7. package/components/tbody/Component.js +1 -1
  8. package/components/tbody/index.css +2 -2
  9. package/components/tcell/Component.js +1 -1
  10. package/components/tcell/index.css +6 -6
  11. package/components/texpandable-row/Component.js +1 -1
  12. package/components/texpandable-row/index.css +5 -5
  13. package/components/thead/Component.js +1 -1
  14. package/components/thead/index.css +6 -6
  15. package/components/thead-cell/Component.js +1 -1
  16. package/components/thead-cell/index.css +9 -9
  17. package/components/trow/Component.js +1 -1
  18. package/components/trow/index.css +8 -8
  19. package/components/tsortable-head-cell/Component.js +1 -1
  20. package/components/tsortable-head-cell/index.css +8 -8
  21. package/esm/components/pagination/Component.js +1 -1
  22. package/esm/components/pagination/index.css +9 -9
  23. package/esm/components/pagination/select-field/index.css +4 -4
  24. package/esm/components/pagination/select-field/index.js +1 -1
  25. package/esm/components/table/Component.js +1 -1
  26. package/esm/components/table/index.css +7 -7
  27. package/esm/components/tbody/Component.js +1 -1
  28. package/esm/components/tbody/index.css +2 -2
  29. package/esm/components/tcell/Component.js +1 -1
  30. package/esm/components/tcell/index.css +6 -6
  31. package/esm/components/texpandable-row/Component.js +1 -1
  32. package/esm/components/texpandable-row/index.css +5 -5
  33. package/esm/components/thead/Component.js +1 -1
  34. package/esm/components/thead/index.css +6 -6
  35. package/esm/components/thead-cell/Component.js +1 -1
  36. package/esm/components/thead-cell/index.css +9 -9
  37. package/esm/components/trow/Component.js +1 -1
  38. package/esm/components/trow/index.css +8 -8
  39. package/esm/components/tsortable-head-cell/Component.js +1 -1
  40. package/esm/components/tsortable-head-cell/index.css +8 -8
  41. package/modern/components/pagination/Component.js +1 -1
  42. package/modern/components/pagination/index.css +9 -9
  43. package/modern/components/pagination/select-field/index.css +4 -4
  44. package/modern/components/pagination/select-field/index.js +1 -1
  45. package/modern/components/table/Component.js +1 -1
  46. package/modern/components/table/index.css +7 -7
  47. package/modern/components/tbody/Component.js +1 -1
  48. package/modern/components/tbody/index.css +2 -2
  49. package/modern/components/tcell/Component.js +1 -1
  50. package/modern/components/tcell/index.css +6 -6
  51. package/modern/components/texpandable-row/Component.js +1 -1
  52. package/modern/components/texpandable-row/index.css +5 -5
  53. package/modern/components/thead/Component.js +1 -1
  54. package/modern/components/thead/index.css +6 -6
  55. package/modern/components/thead-cell/Component.js +1 -1
  56. package/modern/components/thead-cell/index.css +9 -9
  57. package/modern/components/trow/Component.js +1 -1
  58. package/modern/components/trow/index.css +8 -8
  59. package/modern/components/tsortable-head-cell/Component.js +1 -1
  60. package/modern/components/tsortable-head-cell/index.css +8 -8
  61. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- /* hash: 192oy */
1
+ /* hash: 1tpvp */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #d5d6dc;
@@ -20,7 +20,7 @@
20
20
  --gap-xl: 24px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_1omdi {
23
+ } .table__component_7blvo {
24
24
  font-size: 14px;
25
25
  line-height: 20px;
26
26
  font-weight: 400;
@@ -31,14 +31,14 @@
31
31
  border-top: 1px solid var(--color-light-border-primary);
32
32
  vertical-align: top;
33
33
  box-sizing: border-box
34
- } .table__component_1omdi:first-child {
34
+ } .table__component_7blvo:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_1omdi:last-child {
36
+ } .table__component_7blvo:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_1omdi {
38
+ } .table__compactHorizontal_7blvo {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_1omdi {
41
+ } .table__compact_7blvo {
42
42
  padding-top: var(--gap-xs);
43
43
  padding-bottom: var(--gap-xs);
44
44
 
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TRow } from '../trow/Component.js';
5
5
 
6
- var styles = {"row":"table__row_zjtqo","selected":"table__selected_zjtqo","expanded":"table__expanded_zjtqo","expandable":"table__expandable_zjtqo"};
6
+ var styles = {"row":"table__row_xgb6x","selected":"table__selected_xgb6x","expanded":"table__expanded_xgb6x","expandable":"table__expandable_xgb6x"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 6dnnk */
1
+ /* hash: koo67 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_zjtqo {
17
+ } .table__row_xgb6x {
18
18
  cursor: pointer;
19
- } .table__selected_zjtqo.table__expanded_zjtqo {
19
+ } .table__selected_xgb6x.table__expanded_xgb6x {
20
20
  background-color: inherit;
21
- } .table__expanded_zjtqo:hover {
21
+ } .table__expanded_xgb6x:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_zjtqo td {
23
+ } .table__expandable_xgb6x td {
24
24
  margin: 0;
25
25
  padding-top: 0;
26
26
  padding-bottom: 0;
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1xgfk","row":"table__row_1xgfk"};
5
+ var styles = {"component":"table__component_18xnv","row":"table__row_18xnv"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: yt1ft */
1
+ /* hash: 46w6y */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #e7e8ec; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_1xgfk {
19
+ } .table__component_18xnv {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_1xgfk th:not(:last-child):not(:empty):after {
23
+ } .table__component_18xnv th:not(:last-child):not(:empty):after {
24
24
  transition: opacity 0.2s;
25
25
  position: absolute;
26
26
  content: '';
@@ -31,10 +31,10 @@
31
31
  top: var(--gap-xs);
32
32
  bottom: var(--gap-xs);
33
33
  background-color: var(--color-light-graphic-quaternary);
34
- } .table__component_1xgfk th:after {
34
+ } .table__component_18xnv th:after {
35
35
  opacity: 0;
36
- } .table__component_1xgfk:hover th:after {
36
+ } .table__component_18xnv:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_1xgfk {
38
+ } .table__row_18xnv {
39
39
  height: 72px;
40
40
  }
@@ -3,7 +3,7 @@ import React, { useContext } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TableContext } from '../table-context/index.js';
5
5
 
6
- var styles = {"component":"table__component_1t8ud","stickyHeader":"table__stickyHeader_1t8ud","sortable":"table__sortable_1t8ud","sorted":"table__sorted_1t8ud","compactHorizontal":"table__compactHorizontal_1t8ud"};
6
+ var styles = {"component":"table__component_1vxy0","stickyHeader":"table__stickyHeader_1vxy0","sortable":"table__sortable_1vxy0","sorted":"table__sorted_1vxy0","compactHorizontal":"table__compactHorizontal_1vxy0"};
7
7
  require('./index.css')
8
8
 
9
9
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ietga */
1
+ /* hash: o5jg4 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -21,7 +21,7 @@
21
21
  --gap-2xl: 32px;
22
22
  } :root {
23
23
  } :root {
24
- } .table__component_1t8ud {
24
+ } .table__component_1vxy0 {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -36,23 +36,23 @@
36
36
  background: var(--color-light-bg-primary);
37
37
  vertical-align: top;
38
38
  box-sizing: border-box
39
- } .table__component_1t8ud:first-child {
39
+ } .table__component_1vxy0:first-child {
40
40
  padding-left: var(--gap-m);
41
- } .table__component_1t8ud:last-child {
41
+ } .table__component_1vxy0:last-child {
42
42
  padding-right: var(--gap-m);
43
- } .table__component_1t8ud:not(.table__stickyHeader_1t8ud) {
43
+ } .table__component_1vxy0:not(.table__stickyHeader_1vxy0) {
44
44
  position: relative;
45
- } .table__sortable_1t8ud {
45
+ } .table__sortable_1vxy0 {
46
46
  cursor: pointer;
47
- } .table__sorted_1t8ud {
47
+ } .table__sorted_1vxy0 {
48
48
  color: var(--color-light-text-primary);
49
- } .table__stickyHeader_1t8ud {
49
+ } .table__stickyHeader_1vxy0 {
50
50
  top: 0;
51
51
  position: sticky;
52
52
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
53
53
  border: none;
54
54
  z-index: 1;
55
- } .table__compactHorizontal_1t8ud {
55
+ } .table__compactHorizontal_1vxy0 {
56
56
  padding-left: 6px;
57
57
  padding-right: 6px;
58
58
  }
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_14huq","withoutBorder":"table__withoutBorder_14huq","clickable":"table__clickable_14huq","selected":"table__selected_14huq"};
5
+ var styles = {"component":"table__component_1m876","withoutBorder":"table__withoutBorder_1m876","clickable":"table__clickable_1m876","selected":"table__selected_1m876"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1u402 */
1
+ /* hash: wmhy7 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -17,22 +17,22 @@
17
17
  } :root {
18
18
  } :root {
19
19
  } :root {
20
- } .table__component_14huq {
20
+ } .table__component_1m876 {
21
21
  padding-top: 1px;
22
22
  width: 100%;
23
23
  transition: background-color 0.2s;
24
24
  box-sizing: border-box;
25
25
  background: var(--color-light-bg-primary)
26
- } .table__component_14huq:first-child td {
26
+ } .table__component_1m876:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_14huq td {
28
+ } .table__withoutBorder_1m876 td {
29
29
  border: none;
30
- } .table__clickable_14huq {
30
+ } .table__clickable_1m876 {
31
31
  cursor: pointer
32
- } .table__clickable_14huq:hover {
32
+ } .table__clickable_1m876:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_14huq {
34
+ } .table__selected_1m876 {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_14huq:hover {
36
+ } .table__selected_1m876:hover {
37
37
  background-color: var(--color-static-graphic-solitude);
38
38
  }
@@ -7,7 +7,7 @@ import { SortIconDesc } from './sort-icon-desc.js';
7
7
  import { SortIconUnset } from './sort-icon-unset.js';
8
8
  import '../table-context/index.js';
9
9
 
10
- var styles = {"content":"table__content_ykvgz","icon":"table__icon_ykvgz","reverse":"table__reverse_ykvgz","sorted":"table__sorted_ykvgz"};
10
+ var styles = {"content":"table__content_10oe0","icon":"table__icon_10oe0","reverse":"table__reverse_10oe0","sorted":"table__sorted_10oe0"};
11
11
  require('./index.css')
12
12
 
13
13
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: qeerz */
1
+ /* hash: ptpwr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-link: #2288fa;
@@ -18,10 +18,10 @@
18
18
  --gap-xs: 8px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__content_ykvgz {
21
+ } .table__content_10oe0 {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
- } .table__icon_ykvgz {
24
+ } .table__icon_10oe0 {
25
25
  cursor: pointer;
26
26
  margin-left: var(--gap-xs);
27
27
 
@@ -33,15 +33,15 @@
33
33
  color: var(--color-light-graphic-secondary);
34
34
  transition: color 0.2s ease;
35
35
  flex-shrink: 0
36
- } .table__icon_ykvgz:hover {
36
+ } .table__icon_10oe0:hover {
37
37
  color: var(--color-light-graphic-primary);
38
- } .table__reverse_ykvgz {
38
+ } .table__reverse_10oe0 {
39
39
  flex-direction: row-reverse
40
- } .table__reverse_ykvgz .table__icon_ykvgz {
40
+ } .table__reverse_10oe0 .table__icon_10oe0 {
41
41
  margin-left: 0;
42
42
  margin-right: var(--gap-xs);
43
- } .table__sorted_ykvgz {
43
+ } .table__sorted_10oe0 {
44
44
  color: var(--color-light-graphic-link)
45
- } .table__sorted_ykvgz:hover {
45
+ } .table__sorted_10oe0:hover {
46
46
  color: var(--color-light-graphic-link);
47
47
  }
@@ -6,7 +6,7 @@ import { TableContext } from '../table-context/index.js';
6
6
  import { CustomSelectField } from './select-field/index.js';
7
7
  import '@alfalab/core-components-button/modern';
8
8
 
9
- const styles = {"component":"table__component_1ss3k","pagesWrapper":"table__pagesWrapper_1ss3k","tag":"table__tag_1ss3k","tagActive":"table__tagActive_1ss3k","pagination":"table__pagination_1ss3k","menu":"table__menu_1ss3k","option":"table__option_1ss3k"};
9
+ const styles = {"component":"table__component_1q2zx","pagesWrapper":"table__pagesWrapper_1q2zx","tag":"table__tag_1q2zx","tagActive":"table__tagActive_1q2zx","pagination":"table__pagination_1q2zx","menu":"table__menu_1q2zx","option":"table__option_1q2zx"};
10
10
  require('./index.css')
11
11
 
12
12
  const Pagination = ({ perPage = 25, possiblePerPage = [25, 50, 100], onPerPageChange = () => null, hidePerPageSelect = false, pagesCount, onPageChange = () => null, className, dataTestId, ...restPaginationProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 7s1rt */
1
+ /* hash: 1uoe4 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #d5d6dc; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,7 +20,7 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_1ss3k {
23
+ } .table__component_1q2zx {
24
24
  position: sticky;
25
25
  left: 0;
26
26
  display: flex;
@@ -30,21 +30,21 @@
30
30
  padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
31
31
  border-top: 1px solid var(--color-light-border-primary);
32
32
  box-sizing: border-box;
33
- } .table__pagesWrapper_1ss3k {
33
+ } .table__pagesWrapper_1q2zx {
34
34
  display: flex;
35
- } .table__tag_1ss3k.table__tag_1ss3k {
35
+ } .table__tag_1q2zx.table__tag_1q2zx {
36
36
  flex-shrink: 0;
37
37
  margin-right: var(--gap-xs);
38
38
  padding: 0 var(--gap-xs);
39
39
  min-width: 32px
40
- } .table__tag_1ss3k.table__tag_1ss3k:last-child {
40
+ } .table__tag_1q2zx.table__tag_1q2zx:last-child {
41
41
  margin-right: 0;
42
- } .table__tag_1ss3k.table__tag_1ss3k.table__tagActive_1ss3k {
42
+ } .table__tag_1q2zx.table__tag_1q2zx.table__tagActive_1q2zx {
43
43
  cursor: default;
44
- } .table__pagination_1ss3k {
44
+ } .table__pagination_1q2zx {
45
45
  margin-left: auto;
46
- } .table__menu_1ss3k {
46
+ } .table__menu_1q2zx {
47
47
  margin: var(--gap-2xs) 0;
48
- } .table__option_1ss3k {
48
+ } .table__option_1q2zx {
49
49
  min-width: 208px;
50
50
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1c8vf */
1
+ /* hash: a1w5f */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
@@ -15,10 +15,10 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .table__field_8pwp7 svg {
18
+ } .table__field_60t2u svg {
19
19
  width: 18px;
20
20
  height: 18px;
21
- } .table__open_8pwp7,
22
- .table__open_8pwp7:hover {
21
+ } .table__open_60t2u,
22
+ .table__open_60t2u:hover {
23
23
  background-color: var(--color-light-specialbg-component-shade-7);
24
24
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- const styles = {"field":"table__field_8pwp7","open":"table__open_8pwp7"};
5
+ const styles = {"field":"table__field_60t2u","open":"table__open_60t2u"};
6
6
  require('./index.css')
7
7
 
8
8
  const CustomSelectField = ({ selected, innerProps, Arrow, open }) => {
@@ -5,7 +5,7 @@ import { findAllHeadCellsProps } from './utils.js';
5
5
  import '../../utils.js';
6
6
  import '../thead/Component.js';
7
7
 
8
- const styles = {"component":"table__component_16dw8","wrapper":"table__wrapper_16dw8","stickyHeader":"table__stickyHeader_16dw8","hasPagination":"table__hasPagination_16dw8","table":"table__table_16dw8"};
8
+ const styles = {"component":"table__component_18hes","wrapper":"table__wrapper_18hes","stickyHeader":"table__stickyHeader_18hes","hasPagination":"table__hasPagination_18hes","table":"table__table_18hes"};
9
9
  require('./index.css')
10
10
 
11
11
  const Table = forwardRef(({ className, children, compactView = false, compactHorizontal = false, wrapper = true, pagination, dataTestId, stickyHeader = false, ...restProps }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: gj2tu */
1
+ /* hash: iyyat */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -18,24 +18,24 @@
18
18
  --gap-m: 16px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__component_16dw8 {
21
+ } .table__component_18hes {
22
22
  box-sizing: border-box;
23
- } .table__wrapper_16dw8 {
23
+ } .table__wrapper_18hes {
24
24
  padding: 0 var(--gap-m) var(--gap-m);
25
25
  background: var(--color-light-bg-primary);
26
26
  box-shadow: var(--shadow-xs-hard);
27
27
  border-radius: var(--border-radius-m);
28
28
  overflow: auto;
29
- } .table__stickyHeader_16dw8 {
29
+ } .table__stickyHeader_18hes {
30
30
  max-height: 100%;
31
- } .table__hasPagination_16dw8 {
31
+ } .table__hasPagination_18hes {
32
32
  padding-bottom: 0;
33
- } .table__table_16dw8 {
33
+ } .table__table_18hes {
34
34
  width: 100%;
35
35
  border-collapse: collapse;
36
36
  box-sizing: border-box
37
37
 
38
38
  /* TODO: Хак для выравнивания чекбокса */
39
- } .table__table_16dw8 td:first-child label > *[class^='box'], .table__table_16dw8 th:first-child label > *[class^='box'] {
39
+ } .table__table_18hes td:first-child label > *[class^='box'], .table__table_18hes th:first-child label > *[class^='box'] {
40
40
  margin-top: 0;
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_looqj"};
4
+ const styles = {"component":"table__component_1p8p8"};
5
5
  require('./index.css')
6
6
 
7
7
  const TBody = ({ className, children, dataTestId, ...restProps }) => (React.createElement("tbody", { className: cn(styles.component, className), "data-test-id": dataTestId, ...restProps }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 15toi */
1
+ /* hash: 2cqb7 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,7 +14,7 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__component_looqj {
17
+ } .table__component_1p8p8 {
18
18
  width: 100%;
19
19
  box-sizing: border-box;
20
20
  }
@@ -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
- const styles = {"component":"table__component_1omdi","compactHorizontal":"table__compactHorizontal_1omdi","compact":"table__compact_1omdi"};
5
+ const styles = {"component":"table__component_7blvo","compactHorizontal":"table__compactHorizontal_7blvo","compact":"table__compact_7blvo"};
6
6
  require('./index.css')
7
7
 
8
8
  const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 192oy */
1
+ /* hash: 1tpvp */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #d5d6dc;
@@ -20,7 +20,7 @@
20
20
  --gap-xl: 24px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_1omdi {
23
+ } .table__component_7blvo {
24
24
  font-size: 14px;
25
25
  line-height: 20px;
26
26
  font-weight: 400;
@@ -31,14 +31,14 @@
31
31
  border-top: 1px solid var(--color-light-border-primary);
32
32
  vertical-align: top;
33
33
  box-sizing: border-box
34
- } .table__component_1omdi:first-child {
34
+ } .table__component_7blvo:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_1omdi:last-child {
36
+ } .table__component_7blvo:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_1omdi {
38
+ } .table__compactHorizontal_7blvo {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_1omdi {
41
+ } .table__compact_7blvo {
42
42
  padding-top: var(--gap-xs);
43
43
  padding-bottom: var(--gap-xs);
44
44
 
@@ -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
- const styles = {"row":"table__row_zjtqo","selected":"table__selected_zjtqo","expanded":"table__expanded_zjtqo","expandable":"table__expandable_zjtqo"};
5
+ const styles = {"row":"table__row_xgb6x","selected":"table__selected_xgb6x","expanded":"table__expanded_xgb6x","expandable":"table__expandable_xgb6x"};
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: 6dnnk */
1
+ /* hash: koo67 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_zjtqo {
17
+ } .table__row_xgb6x {
18
18
  cursor: pointer;
19
- } .table__selected_zjtqo.table__expanded_zjtqo {
19
+ } .table__selected_xgb6x.table__expanded_xgb6x {
20
20
  background-color: inherit;
21
- } .table__expanded_zjtqo:hover {
21
+ } .table__expanded_xgb6x:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_zjtqo td {
23
+ } .table__expandable_xgb6x td {
24
24
  margin: 0;
25
25
  padding-top: 0;
26
26
  padding-bottom: 0;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1xgfk","row":"table__row_1xgfk"};
4
+ const styles = {"component":"table__component_18xnv","row":"table__row_18xnv"};
5
5
  require('./index.css')
6
6
 
7
7
  const THead = ({ className, rowClassName, children, dataTestId, ...restProps }) => (React.createElement("thead", { className: cn(styles.component, className), "data-test-id": dataTestId, ...restProps },
@@ -1,4 +1,4 @@
1
- /* hash: yt1ft */
1
+ /* hash: 46w6y */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #e7e8ec; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_1xgfk {
19
+ } .table__component_18xnv {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_1xgfk th:not(:last-child):not(:empty):after {
23
+ } .table__component_18xnv th:not(:last-child):not(:empty):after {
24
24
  transition: opacity 0.2s;
25
25
  position: absolute;
26
26
  content: '';
@@ -31,10 +31,10 @@
31
31
  top: var(--gap-xs);
32
32
  bottom: var(--gap-xs);
33
33
  background-color: var(--color-light-graphic-quaternary);
34
- } .table__component_1xgfk th:after {
34
+ } .table__component_18xnv th:after {
35
35
  opacity: 0;
36
- } .table__component_1xgfk:hover th:after {
36
+ } .table__component_18xnv:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_1xgfk {
38
+ } .table__row_18xnv {
39
39
  height: 72px;
40
40
  }
@@ -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
- const styles = {"component":"table__component_1t8ud","stickyHeader":"table__stickyHeader_1t8ud","sortable":"table__sortable_1t8ud","sorted":"table__sorted_1t8ud","compactHorizontal":"table__compactHorizontal_1t8ud"};
5
+ const styles = {"component":"table__component_1vxy0","stickyHeader":"table__stickyHeader_1vxy0","sortable":"table__sortable_1vxy0","sorted":"table__sorted_1vxy0","compactHorizontal":"table__compactHorizontal_1vxy0"};
6
6
  require('./index.css')
7
7
 
8
8
  const THeadCell = ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: ietga */
1
+ /* hash: o5jg4 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -21,7 +21,7 @@
21
21
  --gap-2xl: 32px;
22
22
  } :root {
23
23
  } :root {
24
- } .table__component_1t8ud {
24
+ } .table__component_1vxy0 {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -36,23 +36,23 @@
36
36
  background: var(--color-light-bg-primary);
37
37
  vertical-align: top;
38
38
  box-sizing: border-box
39
- } .table__component_1t8ud:first-child {
39
+ } .table__component_1vxy0:first-child {
40
40
  padding-left: var(--gap-m);
41
- } .table__component_1t8ud:last-child {
41
+ } .table__component_1vxy0:last-child {
42
42
  padding-right: var(--gap-m);
43
- } .table__component_1t8ud:not(.table__stickyHeader_1t8ud) {
43
+ } .table__component_1vxy0:not(.table__stickyHeader_1vxy0) {
44
44
  position: relative;
45
- } .table__sortable_1t8ud {
45
+ } .table__sortable_1vxy0 {
46
46
  cursor: pointer;
47
- } .table__sorted_1t8ud {
47
+ } .table__sorted_1vxy0 {
48
48
  color: var(--color-light-text-primary);
49
- } .table__stickyHeader_1t8ud {
49
+ } .table__stickyHeader_1vxy0 {
50
50
  top: 0;
51
51
  position: sticky;
52
52
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
53
53
  border: none;
54
54
  z-index: 1;
55
- } .table__compactHorizontal_1t8ud {
55
+ } .table__compactHorizontal_1vxy0 {
56
56
  padding-left: 6px;
57
57
  padding-right: 6px;
58
58
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_14huq","withoutBorder":"table__withoutBorder_14huq","clickable":"table__clickable_14huq","selected":"table__selected_14huq"};
4
+ const styles = {"component":"table__component_1m876","withoutBorder":"table__withoutBorder_1m876","clickable":"table__clickable_1m876","selected":"table__selected_1m876"};
5
5
  require('./index.css')
6
6
 
7
7
  const TRow = ({ children, className, selected, withoutBorder, dataTestId, ...restProps }) => (React.createElement("tr", { className: cn(styles.component, className, {