@alfalab/core-components-table 1.2.2 → 1.2.5

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 (101) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/component.js +1 -1
  3. package/dist/components/index.js +1 -1
  4. package/dist/components/pagination/Component.js +2 -2
  5. package/dist/components/pagination/index.css +8 -8
  6. package/dist/components/pagination/index.js +1 -1
  7. package/dist/components/pagination/select-field/index.css +4 -4
  8. package/dist/components/pagination/select-field/index.js +2 -2
  9. package/dist/components/table/Component.js +2 -2
  10. package/dist/components/table/index.css +6 -5
  11. package/dist/components/table/index.js +1 -1
  12. package/dist/components/table/utils.js +1 -1
  13. package/dist/components/tbody/Component.js +2 -2
  14. package/dist/components/tbody/index.css +2 -2
  15. package/dist/components/tbody/index.js +1 -1
  16. package/dist/components/tcell/Component.js +2 -2
  17. package/dist/components/tcell/index.css +4 -4
  18. package/dist/components/tcell/index.js +1 -1
  19. package/dist/components/texpandable-row/Component.js +2 -2
  20. package/dist/components/texpandable-row/index.css +5 -5
  21. package/dist/components/texpandable-row/index.js +1 -1
  22. package/dist/components/thead/Component.js +2 -2
  23. package/dist/components/thead/index.css +6 -6
  24. package/dist/components/thead/index.js +1 -1
  25. package/dist/components/thead-cell/Component.js +2 -2
  26. package/dist/components/thead-cell/index.css +7 -6
  27. package/dist/components/thead-cell/index.js +1 -1
  28. package/dist/components/trow/Component.js +2 -2
  29. package/dist/components/trow/index.css +8 -8
  30. package/dist/components/trow/index.js +1 -1
  31. package/dist/components/tsortable-head-cell/Component.js +2 -2
  32. package/dist/components/tsortable-head-cell/index.css +18 -11
  33. package/dist/components/tsortable-head-cell/index.js +1 -1
  34. package/dist/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  35. package/dist/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  36. package/dist/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  37. package/dist/cssm/components/table/index.module.css +1 -0
  38. package/dist/cssm/components/thead-cell/index.module.css +2 -1
  39. package/dist/cssm/components/tsortable-head-cell/index.module.css +9 -2
  40. package/dist/esm/component.js +1 -1
  41. package/dist/esm/components/index.js +1 -1
  42. package/dist/esm/components/pagination/Component.js +2 -2
  43. package/dist/esm/components/pagination/index.css +8 -8
  44. package/dist/esm/components/pagination/index.js +1 -1
  45. package/dist/esm/components/pagination/select-field/index.css +4 -4
  46. package/dist/esm/components/pagination/select-field/index.js +2 -2
  47. package/dist/esm/components/table/Component.js +2 -2
  48. package/dist/esm/components/table/index.css +6 -5
  49. package/dist/esm/components/table/index.js +1 -1
  50. package/dist/esm/components/table/utils.js +1 -1
  51. package/dist/esm/components/tbody/Component.js +2 -2
  52. package/dist/esm/components/tbody/index.css +2 -2
  53. package/dist/esm/components/tbody/index.js +1 -1
  54. package/dist/esm/components/tcell/Component.js +2 -2
  55. package/dist/esm/components/tcell/index.css +4 -4
  56. package/dist/esm/components/tcell/index.js +1 -1
  57. package/dist/esm/components/texpandable-row/Component.js +2 -2
  58. package/dist/esm/components/texpandable-row/index.css +5 -5
  59. package/dist/esm/components/texpandable-row/index.js +1 -1
  60. package/dist/esm/components/thead/Component.js +2 -2
  61. package/dist/esm/components/thead/index.css +6 -6
  62. package/dist/esm/components/thead/index.js +1 -1
  63. package/dist/esm/components/thead-cell/Component.js +2 -2
  64. package/dist/esm/components/thead-cell/index.css +7 -6
  65. package/dist/esm/components/thead-cell/index.js +1 -1
  66. package/dist/esm/components/trow/Component.js +2 -2
  67. package/dist/esm/components/trow/index.css +8 -8
  68. package/dist/esm/components/trow/index.js +1 -1
  69. package/dist/esm/components/tsortable-head-cell/Component.js +2 -2
  70. package/dist/esm/components/tsortable-head-cell/index.css +18 -11
  71. package/dist/esm/components/tsortable-head-cell/index.js +1 -1
  72. package/dist/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  73. package/dist/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  74. package/dist/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  75. package/dist/esm/index.js +1 -1
  76. package/dist/esm/{tslib.es6-44a6cd16.d.ts → tslib.es6-15cd6666.d.ts} +0 -0
  77. package/dist/esm/{tslib.es6-44a6cd16.js → tslib.es6-15cd6666.js} +0 -0
  78. package/dist/index.js +1 -1
  79. package/dist/modern/components/pagination/Component.js +1 -1
  80. package/dist/modern/components/pagination/index.css +8 -8
  81. package/dist/modern/components/pagination/select-field/index.css +4 -4
  82. package/dist/modern/components/pagination/select-field/index.js +1 -1
  83. package/dist/modern/components/table/Component.js +1 -1
  84. package/dist/modern/components/table/index.css +6 -5
  85. package/dist/modern/components/tbody/Component.js +1 -1
  86. package/dist/modern/components/tbody/index.css +2 -2
  87. package/dist/modern/components/tcell/Component.js +1 -1
  88. package/dist/modern/components/tcell/index.css +4 -4
  89. package/dist/modern/components/texpandable-row/Component.js +1 -1
  90. package/dist/modern/components/texpandable-row/index.css +5 -5
  91. package/dist/modern/components/thead/Component.js +1 -1
  92. package/dist/modern/components/thead/index.css +6 -6
  93. package/dist/modern/components/thead-cell/Component.js +1 -1
  94. package/dist/modern/components/thead-cell/index.css +7 -6
  95. package/dist/modern/components/trow/Component.js +1 -1
  96. package/dist/modern/components/trow/index.css +8 -8
  97. package/dist/modern/components/tsortable-head-cell/Component.js +1 -1
  98. package/dist/modern/components/tsortable-head-cell/index.css +18 -11
  99. package/dist/{tslib.es6-a8973d04.d.ts → tslib.es6-8f79aef7.d.ts} +0 -0
  100. package/dist/{tslib.es6-a8973d04.js → tslib.es6-8f79aef7.js} +0 -0
  101. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- /* hash: 1p137 */
1
+ /* hash: qpcm6 */
2
2
  :root {
3
3
  --color-light-graphic-link: #007aff;
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -15,32 +15,39 @@
15
15
  :root {
16
16
  --gap-xs: 8px;
17
17
  }
18
- .table__component_1ufsr {
18
+ .table__component_mlxfg {
19
19
  position: relative;
20
20
  }
21
- .table__content_1ufsr {
21
+ .table__content_mlxfg {
22
22
  display: flex;
23
- align-items: center;
23
+ align-items: flex-start;
24
24
  }
25
- .table__icon_1ufsr {
25
+ .table__icon_mlxfg {
26
26
  cursor: pointer;
27
27
  margin-left: var(--gap-xs);
28
+
29
+ /**
30
+ * иконка сортировки должна быть выровнена по верхнему краю,
31
+ * т.к. текст может быть в две строки
32
+ */
33
+ margin-top: 1px;
28
34
  color: var(--color-light-graphic-secondary);
29
- transition: color 0.2s ease
35
+ transition: color 0.2s ease;
36
+ flex-shrink: 0
30
37
  }
31
- .table__icon_1ufsr:hover {
38
+ .table__icon_mlxfg:hover {
32
39
  color: var(--color-light-graphic-primary);
33
40
  }
34
- .table__reverse_1ufsr {
41
+ .table__reverse_mlxfg {
35
42
  flex-direction: row-reverse
36
43
  }
37
- .table__reverse_1ufsr .table__icon_1ufsr {
44
+ .table__reverse_mlxfg .table__icon_mlxfg {
38
45
  margin-left: 0;
39
46
  margin-right: var(--gap-xs);
40
47
  }
41
- .table__sorted_1ufsr {
48
+ .table__sorted_mlxfg {
42
49
  color: var(--color-light-graphic-link)
43
50
  }
44
- .table__sorted_1ufsr:hover {
51
+ .table__sorted_mlxfg:hover {
45
52
  color: var(--color-light-graphic-link);
46
53
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../tslib.es6-a8973d04.js');
5
+ require('../../tslib.es6-8f79aef7.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('../thead-cell/Component.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-a8973d04.js');
5
+ var tslib_es6 = require('../../tslib.es6-8f79aef7.js');
6
6
  var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-a8973d04.js');
5
+ var tslib_es6 = require('../../tslib.es6-8f79aef7.js');
6
6
  var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-a8973d04.js');
5
+ var tslib_es6 = require('../../tslib.es6-8f79aef7.js');
6
6
  var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -25,6 +25,7 @@
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
+ overflow: auto;
28
29
  }
29
30
  .hasPagination {
30
31
  padding-bottom: 0;
@@ -12,6 +12,7 @@
12
12
  /* Hard up */
13
13
  }
14
14
  :root {
15
+ --gap-2xs: 4px;
15
16
  --gap-m: 16px;
16
17
  --gap-2xl: 32px;
17
18
  }
@@ -26,7 +27,7 @@
26
27
  position: relative;
27
28
  text-align: left;
28
29
  color: var(--color-light-text-primary);
29
- padding: var(--gap-2xl) var(--gap-m) 0;
30
+ padding: var(--gap-2xl) var(--gap-m) var(--gap-2xs);
30
31
  border-bottom: 1px solid var(--color-light-border-primary);
31
32
  background: var(--color-light-bg-primary);
32
33
  vertical-align: top;
@@ -19,13 +19,20 @@
19
19
  }
20
20
  .content {
21
21
  display: flex;
22
- align-items: center;
22
+ align-items: flex-start;
23
23
  }
24
24
  .icon {
25
25
  cursor: pointer;
26
26
  margin-left: var(--gap-xs);
27
+
28
+ /**
29
+ * иконка сортировки должна быть выровнена по верхнему краю,
30
+ * т.к. текст может быть в две строки
31
+ */
32
+ margin-top: 1px;
27
33
  color: var(--color-light-graphic-secondary);
28
- transition: color 0.2s ease
34
+ transition: color 0.2s ease;
35
+ flex-shrink: 0
29
36
  }
30
37
  .icon:hover {
31
38
  color: var(--color-light-graphic-primary);
@@ -1,4 +1,4 @@
1
- import './tslib.es6-44a6cd16.js';
1
+ import './tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import { THead } from './components/thead/Component.js';
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-44a6cd16.js';
1
+ import '../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { THead } from './thead/Component.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  import React, { useContext, useMemo, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TableContext } from '../table-context/index.js';
@@ -7,7 +7,7 @@ import { Pagination as Pagination$1 } from '@alfalab/core-components-pagination/
7
7
  import '@alfalab/core-components-button/dist/esm';
8
8
  import { CustomSelectField } from './select-field/index.js';
9
9
 
10
- var styles = {"component":"table__component_10q3v","pagesWrapper":"table__pagesWrapper_10q3v","tag":"table__tag_10q3v","tagActive":"table__tagActive_10q3v","menu":"table__menu_10q3v","option":"table__option_10q3v"};
10
+ var styles = {"component":"table__component_1jin0","pagesWrapper":"table__pagesWrapper_1jin0","tag":"table__tag_1jin0","tagActive":"table__tagActive_1jin0","menu":"table__menu_1jin0","option":"table__option_1jin0"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 13n6n */
1
+ /* hash: 1ffq9 */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  }
@@ -17,7 +17,7 @@
17
17
  --gap-xl: 24px;
18
18
  --gap-2xl: 32px;
19
19
  }
20
- .table__component_10q3v {
20
+ .table__component_1jin0 {
21
21
  display: flex;
22
22
  justify-content: space-between;
23
23
  align-items: flex-start;
@@ -26,24 +26,24 @@
26
26
  border-top: 1px solid var(--color-light-border-primary);
27
27
  box-sizing: border-box;
28
28
  }
29
- .table__pagesWrapper_10q3v {
29
+ .table__pagesWrapper_1jin0 {
30
30
  display: flex;
31
31
  }
32
- .table__tag_10q3v.table__tag_10q3v {
32
+ .table__tag_1jin0.table__tag_1jin0 {
33
33
  flex-shrink: 0;
34
34
  margin-right: var(--gap-xs);
35
35
  padding: 0 var(--gap-xs);
36
36
  min-width: 32px
37
37
  }
38
- .table__tag_10q3v.table__tag_10q3v:last-child {
38
+ .table__tag_1jin0.table__tag_1jin0:last-child {
39
39
  margin-right: 0;
40
40
  }
41
- .table__tag_10q3v.table__tag_10q3v.table__tagActive_10q3v {
41
+ .table__tag_1jin0.table__tag_1jin0.table__tagActive_1jin0 {
42
42
  cursor: default;
43
43
  }
44
- .table__menu_10q3v {
44
+ .table__menu_1jin0 {
45
45
  margin: var(--gap-2xs) 0;
46
46
  }
47
- .table__option_10q3v {
47
+ .table__option_1jin0 {
48
48
  min-width: 208px;
49
49
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../table-context/index.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1hvnl */
1
+ /* hash: 1to76 */
2
2
  :root {
3
3
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
4
4
  }
@@ -10,11 +10,11 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .table__field_1fp12 svg {
13
+ .table__field_1yhk7 svg {
14
14
  width: 18px;
15
15
  height: 18px;
16
16
  }
17
- .table__open_1fp12,
18
- .table__open_1fp12:hover {
17
+ .table__open_1yhk7,
18
+ .table__open_1yhk7:hover {
19
19
  background-color: var(--color-light-specialbg-component-shade-7);
20
20
  }
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../../tslib.es6-15cd6666.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Button } from '@alfalab/core-components-button/dist/esm';
5
5
 
6
- var styles = {"field":"table__field_1fp12","open":"table__open_1fp12"};
6
+ var styles = {"field":"table__field_1yhk7","open":"table__open_1yhk7"};
7
7
  require('./index.css')
8
8
 
9
9
  var CustomSelectField = function (_a) {
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  import React, { forwardRef, useRef, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '../thead/Component.js';
@@ -6,7 +6,7 @@ import '../../utils.js';
6
6
  import { findAllHeadCellsProps } from './utils.js';
7
7
  import { TableContext } from '../table-context/index.js';
8
8
 
9
- var styles = {"component":"table__component_18ygv","wrapper":"table__wrapper_18ygv","hasPagination":"table__hasPagination_18ygv","table":"table__table_18ygv"};
9
+ var styles = {"component":"table__component_14liu","wrapper":"table__wrapper_14liu","hasPagination":"table__hasPagination_14liu","table":"table__table_14liu"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: k8phu */
1
+ /* hash: egybo */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -18,19 +18,20 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .table__component_18ygv {
21
+ .table__component_14liu {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_18ygv {
24
+ .table__wrapper_14liu {
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
+ overflow: auto;
29
30
  }
30
- .table__hasPagination_18ygv {
31
+ .table__hasPagination_14liu {
31
32
  padding-bottom: 0;
32
33
  }
33
- .table__table_18ygv {
34
+ .table__table_14liu {
34
35
  width: 100%;
35
36
  border-collapse: collapse;
36
37
  box-sizing: border-box
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../thead/Component.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { THead } from '../thead/Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_15xea"};
5
+ var styles = {"component":"table__component_igtax"};
6
6
  require('./index.css')
7
7
 
8
8
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: uoe79 */
1
+ /* hash: 1n909 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_15xea {
10
+ .table__component_igtax {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { TBody } from './Component.js';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  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_1lnpr","hidden":"table__hidden_1lnpr","compact":"table__compact_1lnpr"};
6
+ var styles = {"component":"table__component_fzk44","hidden":"table__hidden_fzk44","compact":"table__compact_fzk44"};
7
7
  require('./index.css')
8
8
 
9
9
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1bioa */
1
+ /* hash: j5a1y */
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_1lnpr {
19
+ .table__component_fzk44 {
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_1lnpr {
31
+ .table__hidden_fzk44 {
32
32
  display: none;
33
33
  }
34
- .table__compact_1lnpr {
34
+ .table__compact_fzk44 {
35
35
  padding-top: var(--gap-xs);
36
36
  padding-bottom: var(--gap-xs);
37
37
 
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../table-context/index.js';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  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_rmen4","selected":"table__selected_rmen4","expanded":"table__expanded_rmen4","expandable":"table__expandable_rmen4"};
6
+ var styles = {"row":"table__row_yw9kb","selected":"table__selected_yw9kb","expanded":"table__expanded_yw9kb","expandable":"table__expandable_yw9kb"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 3e6r7 */
1
+ /* hash: 11pxc */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_rmen4 {
10
+ .table__row_yw9kb {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_rmen4.table__expanded_rmen4 {
13
+ .table__selected_yw9kb.table__expanded_yw9kb {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_rmen4:hover {
16
+ .table__expanded_yw9kb:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_rmen4 td {
19
+ .table__expandable_yw9kb td {
20
20
  margin: 0;
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../trow/Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1i533","row":"table__row_1i533"};
5
+ var styles = {"component":"table__component_k8xxu","row":"table__row_k8xxu"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: x3tav */
1
+ /* hash: rc24q */
2
2
  :root {
3
3
  --color-light-graphic-neutral: #dbdee1;
4
4
  }
@@ -10,12 +10,12 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .table__component_1i533 {
13
+ .table__component_k8xxu {
14
14
  position: relative;
15
15
  width: 100%;
16
16
  box-sizing: border-box
17
17
  }
18
- .table__component_1i533 th:not(:last-child):not(:empty):after {
18
+ .table__component_k8xxu 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-neutral);
29
29
  }
30
- .table__component_1i533 th:after {
30
+ .table__component_k8xxu th:after {
31
31
  opacity: 0;
32
32
  }
33
- .table__component_1i533:hover th:after {
33
+ .table__component_k8xxu:hover th:after {
34
34
  opacity: 1;
35
35
  }
36
- .table__row_1i533 {
36
+ .table__row_k8xxu {
37
37
  height: 72px;
38
38
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { THead } from './Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1lywa","sortable":"table__sortable_1lywa","sorted":"table__sorted_1lywa","hidden":"table__hidden_1lywa"};
5
+ var styles = {"component":"table__component_136d5","sortable":"table__sortable_136d5","sorted":"table__sorted_136d5","hidden":"table__hidden_136d5"};
6
6
  require('./index.css')
7
7
 
8
8
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1de5o */
1
+ /* hash: 17f6o */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -13,10 +13,11 @@
13
13
  /* Hard up */
14
14
  }
15
15
  :root {
16
+ --gap-2xs: 4px;
16
17
  --gap-m: 16px;
17
18
  --gap-2xl: 32px;
18
19
  }
19
- .table__component_1lywa {
20
+ .table__component_136d5 {
20
21
  font-size: 12px;
21
22
  line-height: 16px;
22
23
  font-weight: 500;
@@ -27,18 +28,18 @@
27
28
  position: relative;
28
29
  text-align: left;
29
30
  color: var(--color-light-text-primary);
30
- padding: var(--gap-2xl) var(--gap-m) 0;
31
+ padding: var(--gap-2xl) var(--gap-m) var(--gap-2xs);
31
32
  border-bottom: 1px solid var(--color-light-border-primary);
32
33
  background: var(--color-light-bg-primary);
33
34
  vertical-align: top;
34
35
  box-sizing: border-box;
35
36
  }
36
- .table__sortable_1lywa {
37
+ .table__sortable_136d5 {
37
38
  cursor: pointer;
38
39
  }
39
- .table__sorted_1lywa {
40
+ .table__sorted_136d5 {
40
41
  color: var(--color-light-text-primary);
41
42
  }
42
- .table__hidden_1lywa {
43
+ .table__hidden_136d5 {
43
44
  display: none;
44
45
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { THeadCell } from './Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-44a6cd16.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-15cd6666.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_88uc0","withoutBorder":"table__withoutBorder_88uc0","clickable":"table__clickable_88uc0","selected":"table__selected_88uc0"};
5
+ var styles = {"component":"table__component_11lsq","withoutBorder":"table__withoutBorder_11lsq","clickable":"table__clickable_11lsq","selected":"table__selected_11lsq"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1rvad */
1
+ /* hash: 1s1vj */
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_88uc0 {
17
+ .table__component_11lsq {
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_88uc0:first-child td {
24
+ .table__component_11lsq:first-child td {
25
25
  border-top: 0;
26
26
  }
27
- .table__withoutBorder_88uc0 {
27
+ .table__withoutBorder_11lsq {
28
28
  td {
29
29
  border: none;
30
30
  }
31
31
  }
32
- .table__clickable_88uc0 {
32
+ .table__clickable_11lsq {
33
33
  cursor: pointer
34
34
  }
35
- .table__clickable_88uc0:hover {
35
+ .table__clickable_11lsq:hover {
36
36
  background-color: var(--color-light-bg-secondary);
37
37
  }
38
- .table__selected_88uc0 {
38
+ .table__selected_11lsq {
39
39
  background-color: #f2f8ff /* нет цвета в палитре */
40
40
  }
41
- .table__selected_88uc0:hover {
41
+ .table__selected_11lsq:hover {
42
42
  background-color: var(--color-static-graphic-solitude);
43
43
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-44a6cd16.js';
1
+ import '../../tslib.es6-15cd6666.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { TRow } from './Component.js';