@alfalab/core-components-table 1.2.1 → 1.2.4

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-6ff5573b.d.ts → tslib.es6-8b364a0e.d.ts} +0 -0
  77. package/dist/esm/{tslib.es6-6ff5573b.js → tslib.es6-8b364a0e.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-42658389.d.ts → tslib.es6-e6526bd6.d.ts} +0 -0
  100. package/dist/{tslib.es6-42658389.js → tslib.es6-e6526bd6.js} +0 -0
  101. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- /* hash: 5gsb0 */
1
+ /* hash: exjef */
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_1m1bl {
18
+ .table__component_13opi {
19
19
  position: relative;
20
20
  }
21
- .table__content_1m1bl {
21
+ .table__content_13opi {
22
22
  display: flex;
23
- align-items: center;
23
+ align-items: flex-start;
24
24
  }
25
- .table__icon_1m1bl {
25
+ .table__icon_13opi {
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_1m1bl:hover {
38
+ .table__icon_13opi:hover {
32
39
  color: var(--color-light-graphic-primary);
33
40
  }
34
- .table__reverse_1m1bl {
41
+ .table__reverse_13opi {
35
42
  flex-direction: row-reverse
36
43
  }
37
- .table__reverse_1m1bl .table__icon_1m1bl {
44
+ .table__reverse_13opi .table__icon_13opi {
38
45
  margin-left: 0;
39
46
  margin-right: var(--gap-xs);
40
47
  }
41
- .table__sorted_1m1bl {
48
+ .table__sorted_13opi {
42
49
  color: var(--color-light-graphic-link)
43
50
  }
44
- .table__sorted_1m1bl:hover {
51
+ .table__sorted_13opi: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-42658389.js');
5
+ require('../../tslib.es6-e6526bd6.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-42658389.js');
5
+ var tslib_es6 = require('../../tslib.es6-e6526bd6.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-42658389.js');
5
+ var tslib_es6 = require('../../tslib.es6-e6526bd6.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-42658389.js');
5
+ var tslib_es6 = require('../../tslib.es6-e6526bd6.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-6ff5573b.js';
1
+ import './tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import '../tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.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_10x4q","pagesWrapper":"table__pagesWrapper_10x4q","tag":"table__tag_10x4q","tagActive":"table__tagActive_10x4q","menu":"table__menu_10x4q","option":"table__option_10x4q"};
10
+ var styles = {"component":"table__component_1rh74","pagesWrapper":"table__pagesWrapper_1rh74","tag":"table__tag_1rh74","tagActive":"table__tagActive_1rh74","menu":"table__menu_1rh74","option":"table__option_1rh74"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1n6il */
1
+ /* hash: 1kyqj */
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_10x4q {
20
+ .table__component_1rh74 {
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_10x4q {
29
+ .table__pagesWrapper_1rh74 {
30
30
  display: flex;
31
31
  }
32
- .table__tag_10x4q.table__tag_10x4q {
32
+ .table__tag_1rh74.table__tag_1rh74 {
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_10x4q.table__tag_10x4q:last-child {
38
+ .table__tag_1rh74.table__tag_1rh74:last-child {
39
39
  margin-right: 0;
40
40
  }
41
- .table__tag_10x4q.table__tag_10x4q.table__tagActive_10x4q {
41
+ .table__tag_1rh74.table__tag_1rh74.table__tagActive_1rh74 {
42
42
  cursor: default;
43
43
  }
44
- .table__menu_10x4q {
44
+ .table__menu_1rh74 {
45
45
  margin: var(--gap-2xs) 0;
46
46
  }
47
- .table__option_10x4q {
47
+ .table__option_1rh74 {
48
48
  min-width: 208px;
49
49
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../table-context/index.js';
@@ -1,4 +1,4 @@
1
- /* hash: fvng2 */
1
+ /* hash: 63f78 */
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_1fw1x svg {
13
+ .table__field_7f09n svg {
14
14
  width: 18px;
15
15
  height: 18px;
16
16
  }
17
- .table__open_1fw1x,
18
- .table__open_1fw1x:hover {
17
+ .table__open_7f09n,
18
+ .table__open_7f09n: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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../../tslib.es6-8b364a0e.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_1fw1x","open":"table__open_1fw1x"};
6
+ var styles = {"field":"table__field_7f09n","open":"table__open_7f09n"};
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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.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_10jzo","wrapper":"table__wrapper_10jzo","hasPagination":"table__hasPagination_10jzo","table":"table__table_10jzo"};
9
+ var styles = {"component":"table__component_og1su","wrapper":"table__wrapper_og1su","hasPagination":"table__hasPagination_og1su","table":"table__table_og1su"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: zpimu */
1
+ /* hash: 1969q */
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_10jzo {
21
+ .table__component_og1su {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_10jzo {
24
+ .table__wrapper_og1su {
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_10jzo {
31
+ .table__hasPagination_og1su {
31
32
  padding-bottom: 0;
32
33
  }
33
- .table__table_10jzo {
34
+ .table__table_og1su {
34
35
  width: 100%;
35
36
  border-collapse: collapse;
36
37
  box-sizing: border-box
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../thead/Component.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1ywf3"};
5
+ var styles = {"component":"table__component_1wohj"};
6
6
  require('./index.css')
7
7
 
8
8
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 9ggiq */
1
+ /* hash: 1yqcw */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_1ywf3 {
10
+ .table__component_1wohj {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.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_1fey9","hidden":"table__hidden_1fey9","compact":"table__compact_1fey9"};
6
+ var styles = {"component":"table__component_uwmij","hidden":"table__hidden_uwmij","compact":"table__compact_uwmij"};
7
7
  require('./index.css')
8
8
 
9
9
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1wxts */
1
+ /* hash: 108pi */
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_1fey9 {
19
+ .table__component_uwmij {
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_1fey9 {
31
+ .table__hidden_uwmij {
32
32
  display: none;
33
33
  }
34
- .table__compact_1fey9 {
34
+ .table__compact_uwmij {
35
35
  padding-top: var(--gap-xs);
36
36
  padding-bottom: var(--gap-xs);
37
37
 
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.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_100vt","selected":"table__selected_100vt","expanded":"table__expanded_100vt","expandable":"table__expandable_100vt"};
6
+ var styles = {"row":"table__row_1idhv","selected":"table__selected_1idhv","expanded":"table__expanded_1idhv","expandable":"table__expandable_1idhv"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1myho */
1
+ /* hash: sbqzn */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_100vt {
10
+ .table__row_1idhv {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_100vt.table__expanded_100vt {
13
+ .table__selected_1idhv.table__expanded_1idhv {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_100vt:hover {
16
+ .table__expanded_1idhv:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_100vt td {
19
+ .table__expandable_1idhv td {
20
20
  margin: 0;
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_j4bon","row":"table__row_j4bon"};
5
+ var styles = {"component":"table__component_9v2ae","row":"table__row_9v2ae"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1ckmf */
1
+ /* hash: 8692f */
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_j4bon {
13
+ .table__component_9v2ae {
14
14
  position: relative;
15
15
  width: 100%;
16
16
  box-sizing: border-box
17
17
  }
18
- .table__component_j4bon th:not(:last-child):not(:empty):after {
18
+ .table__component_9v2ae 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_j4bon th:after {
30
+ .table__component_9v2ae th:after {
31
31
  opacity: 0;
32
32
  }
33
- .table__component_j4bon:hover th:after {
33
+ .table__component_9v2ae:hover th:after {
34
34
  opacity: 1;
35
35
  }
36
- .table__row_j4bon {
36
+ .table__row_9v2ae {
37
37
  height: 72px;
38
38
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1lrvf","sortable":"table__sortable_1lrvf","sorted":"table__sorted_1lrvf","hidden":"table__hidden_1lrvf"};
5
+ var styles = {"component":"table__component_dovgt","sortable":"table__sortable_dovgt","sorted":"table__sorted_dovgt","hidden":"table__hidden_dovgt"};
6
6
  require('./index.css')
7
7
 
8
8
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1snqz */
1
+ /* hash: 9c6yd */
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_1lrvf {
20
+ .table__component_dovgt {
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_1lrvf {
37
+ .table__sortable_dovgt {
37
38
  cursor: pointer;
38
39
  }
39
- .table__sorted_1lrvf {
40
+ .table__sorted_dovgt {
40
41
  color: var(--color-light-text-primary);
41
42
  }
42
- .table__hidden_1lrvf {
43
+ .table__hidden_dovgt {
43
44
  display: none;
44
45
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.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-6ff5573b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-8b364a0e.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_202uo","withoutBorder":"table__withoutBorder_202uo","clickable":"table__clickable_202uo","selected":"table__selected_202uo"};
5
+ var styles = {"component":"table__component_yzxkr","withoutBorder":"table__withoutBorder_yzxkr","clickable":"table__clickable_yzxkr","selected":"table__selected_yzxkr"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: e9bt6 */
1
+ /* hash: 1glbl */
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_202uo {
17
+ .table__component_yzxkr {
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_202uo:first-child td {
24
+ .table__component_yzxkr:first-child td {
25
25
  border-top: 0;
26
26
  }
27
- .table__withoutBorder_202uo {
27
+ .table__withoutBorder_yzxkr {
28
28
  td {
29
29
  border: none;
30
30
  }
31
31
  }
32
- .table__clickable_202uo {
32
+ .table__clickable_yzxkr {
33
33
  cursor: pointer
34
34
  }
35
- .table__clickable_202uo:hover {
35
+ .table__clickable_yzxkr:hover {
36
36
  background-color: var(--color-light-bg-secondary);
37
37
  }
38
- .table__selected_202uo {
38
+ .table__selected_yzxkr {
39
39
  background-color: #f2f8ff /* нет цвета в палитре */
40
40
  }
41
- .table__selected_202uo:hover {
41
+ .table__selected_yzxkr:hover {
42
42
  background-color: var(--color-static-graphic-solitude);
43
43
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-6ff5573b.js';
1
+ import '../../tslib.es6-8b364a0e.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { TRow } from './Component.js';