@alfalab/core-components-table 2.2.19 → 2.2.21

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 +8 -8
  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 +8 -8
  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 +9 -9
  21. package/esm/components/pagination/Component.js +1 -1
  22. package/esm/components/pagination/index.css +8 -8
  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 +8 -8
  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 +9 -9
  41. package/modern/components/pagination/Component.js +1 -1
  42. package/modern/components/pagination/index.css +8 -8
  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 +8 -8
  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 +9 -9
  61. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- /* hash: 57hns */
1
+ /* hash: z2d38 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_4qjso {
17
+ } .table__row_16pjx {
18
18
  cursor: pointer;
19
- } .table__selected_4qjso.table__expanded_4qjso {
19
+ } .table__selected_16pjx.table__expanded_16pjx {
20
20
  background-color: inherit;
21
- } .table__expanded_4qjso:hover {
21
+ } .table__expanded_16pjx:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_4qjso td {
23
+ } .table__expandable_16pjx 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_15cin","row":"table__row_15cin"};
5
+ var styles = {"component":"table__component_1p1ik","row":"table__row_1p1ik"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: uegqg */
1
+ /* hash: 4co27 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_15cin {
19
+ } .table__component_1p1ik {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_15cin th:not(:last-child):not(:empty):after {
23
+ } .table__component_1p1ik 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_15cin th:after {
34
+ } .table__component_1p1ik th:after {
35
35
  opacity: 0;
36
- } .table__component_15cin:hover th:after {
36
+ } .table__component_1p1ik:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_15cin {
38
+ } .table__row_1p1ik {
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_15bjy","sortable":"table__sortable_15bjy","sorted":"table__sorted_15bjy","stickyHeader":"table__stickyHeader_15bjy","compactHorizontal":"table__compactHorizontal_15bjy"};
6
+ var styles = {"component":"table__component_eyi5b","sortable":"table__sortable_eyi5b","sorted":"table__sorted_eyi5b","stickyHeader":"table__stickyHeader_eyi5b","compactHorizontal":"table__compactHorizontal_eyi5b"};
7
7
  require('./index.css')
8
8
 
9
9
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 12216 */
1
+ /* hash: 1s3tu */
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_15bjy {
24
+ } .table__component_eyi5b {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -37,21 +37,21 @@
37
37
  background: var(--color-light-bg-primary);
38
38
  vertical-align: top;
39
39
  box-sizing: border-box
40
- } .table__component_15bjy:first-child {
40
+ } .table__component_eyi5b:first-child {
41
41
  padding-left: var(--gap-m);
42
- } .table__component_15bjy:last-child {
42
+ } .table__component_eyi5b:last-child {
43
43
  padding-right: var(--gap-m);
44
- } .table__sortable_15bjy {
44
+ } .table__sortable_eyi5b {
45
45
  cursor: pointer;
46
- } .table__sorted_15bjy {
46
+ } .table__sorted_eyi5b {
47
47
  color: var(--color-light-text-primary);
48
- } .table__stickyHeader_15bjy {
48
+ } .table__stickyHeader_eyi5b {
49
49
  top: 0;
50
50
  position: sticky;
51
51
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
52
52
  border: none;
53
53
  z-index: 1;
54
- } .table__compactHorizontal_15bjy {
54
+ } .table__compactHorizontal_eyi5b {
55
55
  padding-left: 6px;
56
56
  padding-right: 6px;
57
57
  }
@@ -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_yen5r","withoutBorder":"table__withoutBorder_yen5r","clickable":"table__clickable_yen5r","selected":"table__selected_yen5r"};
5
+ var styles = {"component":"table__component_1i3n2","withoutBorder":"table__withoutBorder_1i3n2","clickable":"table__clickable_1i3n2","selected":"table__selected_1i3n2"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 19xbd */
1
+ /* hash: xyszm */
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_yen5r {
20
+ } .table__component_1i3n2 {
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_yen5r:first-child td {
26
+ } .table__component_1i3n2:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_yen5r td {
28
+ } .table__withoutBorder_1i3n2 td {
29
29
  border: none;
30
- } .table__clickable_yen5r {
30
+ } .table__clickable_1i3n2 {
31
31
  cursor: pointer
32
- } .table__clickable_yen5r:hover {
32
+ } .table__clickable_1i3n2:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_yen5r {
34
+ } .table__selected_1i3n2 {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_yen5r:hover {
36
+ } .table__selected_1i3n2: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 = {"component":"table__component_18bc7","content":"table__content_18bc7","icon":"table__icon_18bc7","reverse":"table__reverse_18bc7","sorted":"table__sorted_18bc7"};
10
+ var styles = {"component":"table__component_6cc2h","content":"table__content_6cc2h","icon":"table__icon_6cc2h","reverse":"table__reverse_6cc2h","sorted":"table__sorted_6cc2h"};
11
11
  require('./index.css')
12
12
 
13
13
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: z802g */
1
+ /* hash: 1s1f3 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-link: #007aff;
@@ -18,12 +18,12 @@
18
18
  --gap-xs: 8px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__component_18bc7 {
21
+ } .table__component_6cc2h {
22
22
  position: relative;
23
- } .table__content_18bc7 {
23
+ } .table__content_6cc2h {
24
24
  display: flex;
25
25
  align-items: flex-start;
26
- } .table__icon_18bc7 {
26
+ } .table__icon_6cc2h {
27
27
  cursor: pointer;
28
28
  margin-left: var(--gap-xs);
29
29
 
@@ -35,15 +35,15 @@
35
35
  color: var(--color-light-graphic-secondary);
36
36
  transition: color 0.2s ease;
37
37
  flex-shrink: 0
38
- } .table__icon_18bc7:hover {
38
+ } .table__icon_6cc2h:hover {
39
39
  color: var(--color-light-graphic-primary);
40
- } .table__reverse_18bc7 {
40
+ } .table__reverse_6cc2h {
41
41
  flex-direction: row-reverse
42
- } .table__reverse_18bc7 .table__icon_18bc7 {
42
+ } .table__reverse_6cc2h .table__icon_6cc2h {
43
43
  margin-left: 0;
44
44
  margin-right: var(--gap-xs);
45
- } .table__sorted_18bc7 {
45
+ } .table__sorted_6cc2h {
46
46
  color: var(--color-light-graphic-link)
47
- } .table__sorted_18bc7:hover {
47
+ } .table__sorted_6cc2h:hover {
48
48
  color: var(--color-light-graphic-link);
49
49
  }
@@ -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_bru0s","pagesWrapper":"table__pagesWrapper_bru0s","tag":"table__tag_bru0s","tagActive":"table__tagActive_bru0s","menu":"table__menu_bru0s","option":"table__option_bru0s"};
9
+ const styles = {"component":"table__component_orru2","pagesWrapper":"table__pagesWrapper_orru2","tag":"table__tag_orru2","tagActive":"table__tagActive_orru2","menu":"table__menu_orru2","option":"table__option_orru2"};
10
10
  require('./index.css')
11
11
 
12
12
  const Pagination = ({ perPage = 25, possiblePerPage = [25, 50, 100], onPerPageChange = () => null, pagesCount, onPageChange = () => null, className, dataTestId, ...restPaginationProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1emuk */
1
+ /* hash: ffb2s */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dbdee1;
@@ -20,7 +20,7 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_bru0s {
23
+ } .table__component_orru2 {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: flex-start;
@@ -28,19 +28,19 @@
28
28
  padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
29
29
  border-top: 1px solid var(--color-light-border-primary);
30
30
  box-sizing: border-box;
31
- } .table__pagesWrapper_bru0s {
31
+ } .table__pagesWrapper_orru2 {
32
32
  display: flex;
33
- } .table__tag_bru0s.table__tag_bru0s {
33
+ } .table__tag_orru2.table__tag_orru2 {
34
34
  flex-shrink: 0;
35
35
  margin-right: var(--gap-xs);
36
36
  padding: 0 var(--gap-xs);
37
37
  min-width: 32px
38
- } .table__tag_bru0s.table__tag_bru0s:last-child {
38
+ } .table__tag_orru2.table__tag_orru2:last-child {
39
39
  margin-right: 0;
40
- } .table__tag_bru0s.table__tag_bru0s.table__tagActive_bru0s {
40
+ } .table__tag_orru2.table__tag_orru2.table__tagActive_orru2 {
41
41
  cursor: default;
42
- } .table__menu_bru0s {
42
+ } .table__menu_orru2 {
43
43
  margin: var(--gap-2xs) 0;
44
- } .table__option_bru0s {
44
+ } .table__option_orru2 {
45
45
  min-width: 208px;
46
46
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1tn4x */
1
+ /* hash: ttx5d */
2
2
  :root {
3
3
  } /* deprecated */ :root {
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_85x72 svg {
18
+ } .table__field_l5v0c svg {
19
19
  width: 18px;
20
20
  height: 18px;
21
- } .table__open_85x72,
22
- .table__open_85x72:hover {
21
+ } .table__open_l5v0c,
22
+ .table__open_l5v0c: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_85x72","open":"table__open_85x72"};
5
+ const styles = {"field":"table__field_l5v0c","open":"table__open_l5v0c"};
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_kr3ic","wrapper":"table__wrapper_kr3ic","stickyHeader":"table__stickyHeader_kr3ic","hasPagination":"table__hasPagination_kr3ic","table":"table__table_kr3ic"};
8
+ const styles = {"component":"table__component_14g3f","wrapper":"table__wrapper_14g3f","stickyHeader":"table__stickyHeader_14g3f","hasPagination":"table__hasPagination_14g3f","table":"table__table_14g3f"};
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: 1whaq */
1
+ /* hash: q9lp9 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -19,24 +19,24 @@
19
19
  --gap-m: 16px;
20
20
  } :root {
21
21
  } :root {
22
- } .table__component_kr3ic {
22
+ } .table__component_14g3f {
23
23
  box-sizing: border-box;
24
- } .table__wrapper_kr3ic {
24
+ } .table__wrapper_14g3f {
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
- } .table__stickyHeader_kr3ic {
30
+ } .table__stickyHeader_14g3f {
31
31
  max-height: 100%;
32
- } .table__hasPagination_kr3ic {
32
+ } .table__hasPagination_14g3f {
33
33
  padding-bottom: 0;
34
- } .table__table_kr3ic {
34
+ } .table__table_14g3f {
35
35
  width: 100%;
36
36
  border-collapse: collapse;
37
37
  box-sizing: border-box
38
38
 
39
39
  /* TODO: Хак для выравнивания чекбокса */
40
- } .table__table_kr3ic td:first-child label > *[class^='box'], .table__table_kr3ic th:first-child label > *[class^='box'] {
40
+ } .table__table_14g3f td:first-child label > *[class^='box'], .table__table_14g3f th:first-child label > *[class^='box'] {
41
41
  margin-top: 0;
42
42
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_grcuj"};
4
+ const styles = {"component":"table__component_dgp64"};
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: z7k9v */
1
+ /* hash: 5coug */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,7 +14,7 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__component_grcuj {
17
+ } .table__component_dgp64 {
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_1vblc","compactHorizontal":"table__compactHorizontal_1vblc","compact":"table__compact_1vblc"};
5
+ const styles = {"component":"table__component_tcl7n","compactHorizontal":"table__compactHorizontal_tcl7n","compact":"table__compact_tcl7n"};
6
6
  require('./index.css')
7
7
 
8
8
  const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 13ib5 */
1
+ /* hash: qy4gg */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dbdee1;
@@ -20,7 +20,7 @@
20
20
  --gap-xl: 24px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_1vblc {
23
+ } .table__component_tcl7n {
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_1vblc:first-child {
34
+ } .table__component_tcl7n:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_1vblc:last-child {
36
+ } .table__component_tcl7n:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_1vblc {
38
+ } .table__compactHorizontal_tcl7n {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_1vblc {
41
+ } .table__compact_tcl7n {
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_4qjso","selected":"table__selected_4qjso","expanded":"table__expanded_4qjso","expandable":"table__expandable_4qjso"};
5
+ const styles = {"row":"table__row_16pjx","selected":"table__selected_16pjx","expanded":"table__expanded_16pjx","expandable":"table__expandable_16pjx"};
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: 57hns */
1
+ /* hash: z2d38 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_4qjso {
17
+ } .table__row_16pjx {
18
18
  cursor: pointer;
19
- } .table__selected_4qjso.table__expanded_4qjso {
19
+ } .table__selected_16pjx.table__expanded_16pjx {
20
20
  background-color: inherit;
21
- } .table__expanded_4qjso:hover {
21
+ } .table__expanded_16pjx:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_4qjso td {
23
+ } .table__expandable_16pjx 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_15cin","row":"table__row_15cin"};
4
+ const styles = {"component":"table__component_1p1ik","row":"table__row_1p1ik"};
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: uegqg */
1
+ /* hash: 4co27 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_15cin {
19
+ } .table__component_1p1ik {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_15cin th:not(:last-child):not(:empty):after {
23
+ } .table__component_1p1ik 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_15cin th:after {
34
+ } .table__component_1p1ik th:after {
35
35
  opacity: 0;
36
- } .table__component_15cin:hover th:after {
36
+ } .table__component_1p1ik:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_15cin {
38
+ } .table__row_1p1ik {
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_15bjy","sortable":"table__sortable_15bjy","sorted":"table__sorted_15bjy","stickyHeader":"table__stickyHeader_15bjy","compactHorizontal":"table__compactHorizontal_15bjy"};
5
+ const styles = {"component":"table__component_eyi5b","sortable":"table__sortable_eyi5b","sorted":"table__sorted_eyi5b","stickyHeader":"table__stickyHeader_eyi5b","compactHorizontal":"table__compactHorizontal_eyi5b"};
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: 12216 */
1
+ /* hash: 1s3tu */
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_15bjy {
24
+ } .table__component_eyi5b {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -37,21 +37,21 @@
37
37
  background: var(--color-light-bg-primary);
38
38
  vertical-align: top;
39
39
  box-sizing: border-box
40
- } .table__component_15bjy:first-child {
40
+ } .table__component_eyi5b:first-child {
41
41
  padding-left: var(--gap-m);
42
- } .table__component_15bjy:last-child {
42
+ } .table__component_eyi5b:last-child {
43
43
  padding-right: var(--gap-m);
44
- } .table__sortable_15bjy {
44
+ } .table__sortable_eyi5b {
45
45
  cursor: pointer;
46
- } .table__sorted_15bjy {
46
+ } .table__sorted_eyi5b {
47
47
  color: var(--color-light-text-primary);
48
- } .table__stickyHeader_15bjy {
48
+ } .table__stickyHeader_eyi5b {
49
49
  top: 0;
50
50
  position: sticky;
51
51
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
52
52
  border: none;
53
53
  z-index: 1;
54
- } .table__compactHorizontal_15bjy {
54
+ } .table__compactHorizontal_eyi5b {
55
55
  padding-left: 6px;
56
56
  padding-right: 6px;
57
57
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_yen5r","withoutBorder":"table__withoutBorder_yen5r","clickable":"table__clickable_yen5r","selected":"table__selected_yen5r"};
4
+ const styles = {"component":"table__component_1i3n2","withoutBorder":"table__withoutBorder_1i3n2","clickable":"table__clickable_1i3n2","selected":"table__selected_1i3n2"};
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, {
@@ -1,4 +1,4 @@
1
- /* hash: 19xbd */
1
+ /* hash: xyszm */
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_yen5r {
20
+ } .table__component_1i3n2 {
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_yen5r:first-child td {
26
+ } .table__component_1i3n2:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_yen5r td {
28
+ } .table__withoutBorder_1i3n2 td {
29
29
  border: none;
30
- } .table__clickable_yen5r {
30
+ } .table__clickable_1i3n2 {
31
31
  cursor: pointer
32
- } .table__clickable_yen5r:hover {
32
+ } .table__clickable_1i3n2:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_yen5r {
34
+ } .table__selected_1i3n2 {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_yen5r:hover {
36
+ } .table__selected_1i3n2:hover {
37
37
  background-color: var(--color-static-graphic-solitude);
38
38
  }
@@ -6,7 +6,7 @@ import { SortIconDesc } from './sort-icon-desc.js';
6
6
  import { SortIconUnset } from './sort-icon-unset.js';
7
7
  import '../table-context/index.js';
8
8
 
9
- const styles = {"component":"table__component_18bc7","content":"table__content_18bc7","icon":"table__icon_18bc7","reverse":"table__reverse_18bc7","sorted":"table__sorted_18bc7"};
9
+ const styles = {"component":"table__component_6cc2h","content":"table__content_6cc2h","icon":"table__icon_6cc2h","reverse":"table__reverse_6cc2h","sorted":"table__sorted_6cc2h"};
10
10
  require('./index.css')
11
11
 
12
12
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {