@alfalab/core-components-table 2.2.7 → 2.2.9

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 (115) hide show
  1. package/component.js +1 -1
  2. package/components/index.js +1 -1
  3. package/components/pagination/Component.js +10 -5
  4. package/components/pagination/index.css +8 -8
  5. package/components/pagination/index.js +1 -1
  6. package/components/pagination/select-field/index.css +4 -4
  7. package/components/pagination/select-field/index.js +9 -4
  8. package/components/table/Component.js +10 -5
  9. package/components/table/index.css +7 -7
  10. package/components/table/index.js +1 -1
  11. package/components/table/utils.js +7 -3
  12. package/components/table-context/index.js +5 -1
  13. package/components/tbody/Component.js +8 -3
  14. package/components/tbody/index.css +2 -2
  15. package/components/tbody/index.js +1 -1
  16. package/components/tcell/Component.js +8 -3
  17. package/components/tcell/index.css +6 -6
  18. package/components/tcell/index.js +1 -1
  19. package/components/texpandable-row/Component.js +10 -5
  20. package/components/texpandable-row/index.css +5 -5
  21. package/components/texpandable-row/index.js +1 -1
  22. package/components/thead/Component.js +9 -4
  23. package/components/thead/index.css +6 -6
  24. package/components/thead/index.js +1 -1
  25. package/components/thead-cell/Component.js +8 -3
  26. package/components/thead-cell/index.css +8 -8
  27. package/components/thead-cell/index.js +1 -1
  28. package/components/trow/Component.js +9 -4
  29. package/components/trow/index.css +8 -8
  30. package/components/trow/index.js +1 -1
  31. package/components/tsortable-head-cell/Component.js +10 -5
  32. package/components/tsortable-head-cell/index.css +9 -9
  33. package/components/tsortable-head-cell/index.js +1 -1
  34. package/components/tsortable-head-cell/sort-icon-asc.js +7 -3
  35. package/components/tsortable-head-cell/sort-icon-desc.js +7 -3
  36. package/components/tsortable-head-cell/sort-icon-unset.js +7 -3
  37. package/cssm/components/pagination/Component.js +9 -3
  38. package/cssm/components/pagination/select-field/index.js +8 -2
  39. package/cssm/components/table/Component.js +12 -6
  40. package/cssm/components/table/utils.js +6 -2
  41. package/cssm/components/table-context/index.js +5 -1
  42. package/cssm/components/tbody/Component.js +7 -1
  43. package/cssm/components/tcell/Component.js +7 -1
  44. package/cssm/components/texpandable-row/Component.js +11 -5
  45. package/cssm/components/thead/Component.js +8 -2
  46. package/cssm/components/thead-cell/Component.js +8 -2
  47. package/cssm/components/trow/Component.js +11 -5
  48. package/cssm/components/tsortable-head-cell/Component.js +10 -4
  49. package/cssm/components/tsortable-head-cell/sort-icon-asc.js +6 -2
  50. package/cssm/components/tsortable-head-cell/sort-icon-desc.js +6 -2
  51. package/cssm/components/tsortable-head-cell/sort-icon-unset.js +6 -2
  52. package/cssm/utils.js +5 -1
  53. package/esm/component.js +1 -1
  54. package/esm/components/index.js +1 -1
  55. package/esm/components/pagination/Component.js +2 -2
  56. package/esm/components/pagination/index.css +8 -8
  57. package/esm/components/pagination/index.js +1 -1
  58. package/esm/components/pagination/select-field/index.css +4 -4
  59. package/esm/components/pagination/select-field/index.js +2 -2
  60. package/esm/components/table/Component.js +2 -2
  61. package/esm/components/table/index.css +7 -7
  62. package/esm/components/table/index.js +1 -1
  63. package/esm/components/table/utils.js +1 -1
  64. package/esm/components/tbody/Component.js +2 -2
  65. package/esm/components/tbody/index.css +2 -2
  66. package/esm/components/tbody/index.js +1 -1
  67. package/esm/components/tcell/Component.js +2 -2
  68. package/esm/components/tcell/index.css +6 -6
  69. package/esm/components/tcell/index.js +1 -1
  70. package/esm/components/texpandable-row/Component.js +2 -2
  71. package/esm/components/texpandable-row/index.css +5 -5
  72. package/esm/components/texpandable-row/index.js +1 -1
  73. package/esm/components/thead/Component.js +2 -2
  74. package/esm/components/thead/index.css +6 -6
  75. package/esm/components/thead/index.js +1 -1
  76. package/esm/components/thead-cell/Component.js +2 -2
  77. package/esm/components/thead-cell/index.css +8 -8
  78. package/esm/components/thead-cell/index.js +1 -1
  79. package/esm/components/trow/Component.js +2 -2
  80. package/esm/components/trow/index.css +8 -8
  81. package/esm/components/trow/index.js +1 -1
  82. package/esm/components/tsortable-head-cell/Component.js +2 -2
  83. package/esm/components/tsortable-head-cell/index.css +9 -9
  84. package/esm/components/tsortable-head-cell/index.js +1 -1
  85. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  86. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  87. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  88. package/esm/index.js +1 -1
  89. package/esm/{tslib.es6-c7b61e8d.d.ts → tslib.es6-39818cc0.d.ts} +0 -0
  90. package/esm/{tslib.es6-c7b61e8d.js → tslib.es6-39818cc0.js} +0 -0
  91. package/index.js +1 -1
  92. package/modern/components/pagination/Component.js +1 -1
  93. package/modern/components/pagination/index.css +8 -8
  94. package/modern/components/pagination/select-field/index.css +4 -4
  95. package/modern/components/pagination/select-field/index.js +1 -1
  96. package/modern/components/table/Component.js +1 -1
  97. package/modern/components/table/index.css +7 -7
  98. package/modern/components/tbody/Component.js +1 -1
  99. package/modern/components/tbody/index.css +2 -2
  100. package/modern/components/tcell/Component.js +1 -1
  101. package/modern/components/tcell/index.css +6 -6
  102. package/modern/components/texpandable-row/Component.js +1 -1
  103. package/modern/components/texpandable-row/index.css +5 -5
  104. package/modern/components/thead/Component.js +1 -1
  105. package/modern/components/thead/index.css +6 -6
  106. package/modern/components/thead-cell/Component.js +1 -1
  107. package/modern/components/thead-cell/index.css +8 -8
  108. package/modern/components/trow/Component.js +1 -1
  109. package/modern/components/trow/index.css +8 -8
  110. package/modern/components/tsortable-head-cell/Component.js +1 -1
  111. package/modern/components/tsortable-head-cell/index.css +9 -9
  112. package/package.json +4 -4
  113. package/{tslib.es6-73285132.d.ts → tslib.es6-546d89c7.d.ts} +0 -0
  114. package/{tslib.es6-73285132.js → tslib.es6-546d89c7.js} +0 -0
  115. package/utils.js +5 -1
@@ -3,7 +3,11 @@
3
3
  var tslib_es6 = require('../../tslib.es6-bbd6cd2a.js');
4
4
  var React = require('react');
5
5
 
6
- var SortIconDesc = function (props) { return (React.createElement("svg", tslib_es6.__assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
7
- React.createElement("path", { d: 'M3.00004 10C3.00004 10 11.4477 10 12 10C12 9.33333 12.0001 8.16667 12.0001 7.5H3.0001C3.00006 8 3.0001 9.5 3.00004 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3.00009 14C3.21041 14 9 14 9 14C9 13.5 9 12 9 11.5C9 11.5 3.55238 11.5 3.00009 11.5C3 12 3 13.5 3.00009 14Z' }))); };
6
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
9
+
10
+ var SortIconDesc = function (props) { return (React__default.default.createElement("svg", tslib_es6.__assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
11
+ React__default.default.createElement("path", { d: 'M3.00004 10C3.00004 10 11.4477 10 12 10C12 9.33333 12.0001 8.16667 12.0001 7.5H3.0001C3.00006 8 3.0001 9.5 3.00004 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3.00009 14C3.21041 14 9 14 9 14C9 13.5 9 12 9 11.5C9 11.5 3.55238 11.5 3.00009 11.5C3 12 3 13.5 3.00009 14Z' }))); };
8
12
 
9
13
  exports.SortIconDesc = SortIconDesc;
@@ -3,7 +3,11 @@
3
3
  var tslib_es6 = require('../../tslib.es6-bbd6cd2a.js');
4
4
  var React = require('react');
5
5
 
6
- var SortIconUnset = function (props) { return (React.createElement("svg", tslib_es6.__assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
7
- React.createElement("path", { d: 'M3 10C3 10 10.4477 10 11 10C11 9.33333 11.0001 8.16667 11.0001 7.5H3.00006C3.00002 8 3.00006 9.5 3 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3 14C3.21032 14 14 14 14 14C14 13.5 14 12 14 11.5C14 11.5 3.55228 11.5 3 11.5C2.99991 12 2.99991 13.5 3 14Z' }))); };
6
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
9
+
10
+ var SortIconUnset = function (props) { return (React__default.default.createElement("svg", tslib_es6.__assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
11
+ React__default.default.createElement("path", { d: 'M3 10C3 10 10.4477 10 11 10C11 9.33333 11.0001 8.16667 11.0001 7.5H3.00006C3.00002 8 3.00006 9.5 3 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3 14C3.21032 14 14 14 14 14C14 13.5 14 12 14 11.5C14 11.5 3.55228 11.5 3 11.5C2.99991 12 2.99991 13.5 3 14Z' }))); };
8
12
 
9
13
  exports.SortIconUnset = SortIconUnset;
package/cssm/utils.js CHANGED
@@ -2,9 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
5
9
  function isChildInstanceOf(child, Component) {
6
10
  // мы не можем полагаться на child.type === Component, см. https://github.com/gaearon/react-hot-loader/issues/304
7
- return child.type === React.createElement(Component).type;
11
+ return child.type === React__default.default.createElement(Component).type;
8
12
  }
9
13
 
10
14
  exports.isChildInstanceOf = isChildInstanceOf;
package/esm/component.js CHANGED
@@ -7,7 +7,7 @@ import { TBody } from './components/tbody/Component.js';
7
7
  import { TCell } from './components/tcell/Component.js';
8
8
  import { TRow } from './components/trow/Component.js';
9
9
  import { TExpandableRow } from './components/texpandable-row/Component.js';
10
- import './tslib.es6-c7b61e8d.js';
10
+ import './tslib.es6-39818cc0.js';
11
11
  import 'react';
12
12
  import 'classnames';
13
13
  import './components/table-context/index.js';
@@ -7,7 +7,7 @@ export { TBody } from './tbody/Component.js';
7
7
  export { TCell } from './tcell/Component.js';
8
8
  export { TRow } from './trow/Component.js';
9
9
  export { TExpandableRow } from './texpandable-row/Component.js';
10
- import '../tslib.es6-c7b61e8d.js';
10
+ import '../tslib.es6-39818cc0.js';
11
11
  import 'react';
12
12
  import 'classnames';
13
13
  import './table-context/index.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.js';
2
2
  import React, { useContext, useMemo, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Pagination as Pagination$1 } from '@alfalab/core-components-pagination/esm';
@@ -7,7 +7,7 @@ import { TableContext } from '../table-context/index.js';
7
7
  import { CustomSelectField } from './select-field/index.js';
8
8
  import '@alfalab/core-components-button/esm';
9
9
 
10
- var styles = {"component":"table__component_1efgn","pagesWrapper":"table__pagesWrapper_1efgn","tag":"table__tag_1efgn","tagActive":"table__tagActive_1efgn","menu":"table__menu_1efgn","option":"table__option_1efgn"};
10
+ var styles = {"component":"table__component_rztdn","pagesWrapper":"table__pagesWrapper_rztdn","tag":"table__tag_rztdn","tagActive":"table__tagActive_rztdn","menu":"table__menu_rztdn","option":"table__option_rztdn"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: jfotx */
1
+ /* hash: 14nb0 */
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_1efgn {
20
+ .table__component_rztdn {
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_1efgn {
29
+ .table__pagesWrapper_rztdn {
30
30
  display: flex;
31
31
  }
32
- .table__tag_1efgn.table__tag_1efgn {
32
+ .table__tag_rztdn.table__tag_rztdn {
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_1efgn.table__tag_1efgn:last-child {
38
+ .table__tag_rztdn.table__tag_rztdn:last-child {
39
39
  margin-right: 0;
40
40
  }
41
- .table__tag_1efgn.table__tag_1efgn.table__tagActive_1efgn {
41
+ .table__tag_rztdn.table__tag_rztdn.table__tagActive_rztdn {
42
42
  cursor: default;
43
43
  }
44
- .table__menu_1efgn {
44
+ .table__menu_rztdn {
45
45
  margin: var(--gap-2xs) 0;
46
46
  }
47
- .table__option_1efgn {
47
+ .table__option_rztdn {
48
48
  min-width: 208px;
49
49
  }
@@ -1,5 +1,5 @@
1
1
  export { Pagination } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-pagination/esm';
@@ -1,4 +1,4 @@
1
- /* hash: xo5re */
1
+ /* hash: a30n2 */
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_gdcns svg {
13
+ .table__field_16yqk svg {
14
14
  width: 18px;
15
15
  height: 18px;
16
16
  }
17
- .table__open_gdcns,
18
- .table__open_gdcns:hover {
17
+ .table__open_16yqk,
18
+ .table__open_16yqk: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-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../../tslib.es6-39818cc0.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Button } from '@alfalab/core-components-button/esm';
5
5
 
6
- var styles = {"field":"table__field_gdcns","open":"table__open_gdcns"};
6
+ var styles = {"field":"table__field_16yqk","open":"table__open_16yqk"};
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-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.js';
2
2
  import React, { forwardRef, useRef, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TableContext } from '../table-context/index.js';
@@ -6,7 +6,7 @@ import { findAllHeadCellsProps } from './utils.js';
6
6
  import '../../utils.js';
7
7
  import '../thead/Component.js';
8
8
 
9
- var styles = {"component":"table__component_mrr8v","wrapper":"table__wrapper_mrr8v","stickyHeader":"table__stickyHeader_mrr8v","hasPagination":"table__hasPagination_mrr8v","table":"table__table_mrr8v"};
9
+ var styles = {"component":"table__component_11afe","wrapper":"table__wrapper_11afe","stickyHeader":"table__stickyHeader_11afe","hasPagination":"table__hasPagination_11afe","table":"table__table_11afe"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: fpcah */
1
+ /* hash: 1gzm3 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -18,29 +18,29 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .table__component_mrr8v {
21
+ .table__component_11afe {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_mrr8v {
24
+ .table__wrapper_11afe {
25
25
  padding: 0 var(--gap-m) var(--gap-m);
26
26
  background: var(--color-light-bg-primary);
27
27
  box-shadow: var(--shadow-xs-hard);
28
28
  border-radius: var(--border-radius-m);
29
29
  overflow: auto;
30
30
  }
31
- .table__stickyHeader_mrr8v {
31
+ .table__stickyHeader_11afe {
32
32
  max-height: 100%;
33
33
  }
34
- .table__hasPagination_mrr8v {
34
+ .table__hasPagination_11afe {
35
35
  padding-bottom: 0;
36
36
  }
37
- .table__table_mrr8v {
37
+ .table__table_11afe {
38
38
  width: 100%;
39
39
  border-collapse: collapse;
40
40
  box-sizing: border-box
41
41
 
42
42
  /* TODO: Хак для выравнивания чекбокса */
43
43
  }
44
- .table__table_mrr8v td:first-child label > *[class^='box'], .table__table_mrr8v th:first-child label > *[class^='box'] {
44
+ .table__table_11afe td:first-child label > *[class^='box'], .table__table_11afe th:first-child label > *[class^='box'] {
45
45
  margin-top: 0;
46
46
  }
@@ -1,5 +1,5 @@
1
1
  export { Table } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../table-context/index.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { isChildInstanceOf } from '../../utils.js';
3
3
  import { THead } from '../thead/Component.js';
4
- import '../../tslib.es6-c7b61e8d.js';
4
+ import '../../tslib.es6-39818cc0.js';
5
5
  import 'classnames';
6
6
 
7
7
  function findAllHeadCellsProps(children) {
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_8o6tk"};
5
+ var styles = {"component":"table__component_1vxg3"};
6
6
  require('./index.css')
7
7
 
8
8
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: agwdd */
1
+ /* hash: 9m62r */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_8o6tk {
10
+ .table__component_1vxg3 {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  }
@@ -1,4 +1,4 @@
1
1
  export { TBody } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.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_et29k","compactHorizontal":"table__compactHorizontal_et29k","compact":"table__compact_et29k"};
6
+ var styles = {"component":"table__component_1gw93","compactHorizontal":"table__compactHorizontal_1gw93","compact":"table__compact_1gw93"};
7
7
  require('./index.css')
8
8
 
9
9
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: efbnp */
1
+ /* hash: 1yaem */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  --color-light-text-primary: #0b1f35;
@@ -17,7 +17,7 @@
17
17
  --gap-m: 16px;
18
18
  --gap-xl: 24px;
19
19
  }
20
- .table__component_et29k {
20
+ .table__component_1gw93 {
21
21
  font-size: 14px;
22
22
  line-height: 20px;
23
23
  font-weight: 400;
@@ -29,17 +29,17 @@
29
29
  vertical-align: top;
30
30
  box-sizing: border-box
31
31
  }
32
- .table__component_et29k:first-child {
32
+ .table__component_1gw93:first-child {
33
33
  padding-left: var(--gap-m);
34
34
  }
35
- .table__component_et29k:last-child {
35
+ .table__component_1gw93:last-child {
36
36
  padding-right: var(--gap-m);
37
37
  }
38
- .table__compactHorizontal_et29k {
38
+ .table__compactHorizontal_1gw93 {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
41
  }
42
- .table__compact_et29k {
42
+ .table__compact_1gw93 {
43
43
  padding-top: var(--gap-xs);
44
44
  padding-bottom: var(--gap-xs);
45
45
 
@@ -1,5 +1,5 @@
1
1
  export { TCell } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../table-context/index.js';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.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_mrz8c","selected":"table__selected_mrz8c","expanded":"table__expanded_mrz8c","expandable":"table__expandable_mrz8c"};
6
+ var styles = {"row":"table__row_kq7id","selected":"table__selected_kq7id","expanded":"table__expanded_kq7id","expandable":"table__expandable_kq7id"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: w97rf */
1
+ /* hash: 1xjhk */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_mrz8c {
10
+ .table__row_kq7id {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_mrz8c.table__expanded_mrz8c {
13
+ .table__selected_kq7id.table__expanded_kq7id {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_mrz8c:hover {
16
+ .table__expanded_kq7id:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_mrz8c td {
19
+ .table__expandable_kq7id td {
20
20
  margin: 0;
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -1,5 +1,5 @@
1
1
  export { TExpandableRow } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../trow/Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_6t5yu","row":"table__row_6t5yu"};
5
+ var styles = {"component":"table__component_1qd46","row":"table__row_1qd46"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: wsrqa */
1
+ /* hash: br9sw */
2
2
  :root {
3
3
  --color-light-graphic-quaternary: #dbdee1;
4
4
  }
@@ -13,12 +13,12 @@
13
13
  :root {
14
14
  --gap-xs: 8px;
15
15
  }
16
- .table__component_6t5yu {
16
+ .table__component_1qd46 {
17
17
  position: relative;
18
18
  width: 100%;
19
19
  box-sizing: border-box
20
20
  }
21
- .table__component_6t5yu th:not(:last-child):not(:empty):after {
21
+ .table__component_1qd46 th:not(:last-child):not(:empty):after {
22
22
  transition: opacity 0.2s;
23
23
  position: absolute;
24
24
  content: '';
@@ -30,12 +30,12 @@
30
30
  bottom: var(--gap-xs);
31
31
  background-color: var(--color-light-graphic-quaternary);
32
32
  }
33
- .table__component_6t5yu th:after {
33
+ .table__component_1qd46 th:after {
34
34
  opacity: 0;
35
35
  }
36
- .table__component_6t5yu:hover th:after {
36
+ .table__component_1qd46:hover th:after {
37
37
  opacity: 1;
38
38
  }
39
- .table__row_6t5yu {
39
+ .table__row_1qd46 {
40
40
  height: 72px;
41
41
  }
@@ -1,4 +1,4 @@
1
1
  export { THead } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.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_1hrvb","sortable":"table__sortable_1hrvb","sorted":"table__sorted_1hrvb","stickyHeader":"table__stickyHeader_1hrvb","compactHorizontal":"table__compactHorizontal_1hrvb"};
6
+ var styles = {"component":"table__component_9njtp","sortable":"table__sortable_9njtp","sorted":"table__sorted_9njtp","stickyHeader":"table__stickyHeader_9njtp","compactHorizontal":"table__compactHorizontal_9njtp"};
7
7
  require('./index.css')
8
8
 
9
9
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: r4ivk */
1
+ /* hash: pnmh7 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -18,7 +18,7 @@
18
18
  --gap-m: 16px;
19
19
  --gap-2xl: 32px;
20
20
  }
21
- .table__component_1hrvb {
21
+ .table__component_9njtp {
22
22
  font-size: 12px;
23
23
  line-height: 16px;
24
24
  font-weight: 500;
@@ -35,26 +35,26 @@
35
35
  vertical-align: top;
36
36
  box-sizing: border-box
37
37
  }
38
- .table__component_1hrvb:first-child {
38
+ .table__component_9njtp:first-child {
39
39
  padding-left: var(--gap-m);
40
40
  }
41
- .table__component_1hrvb:last-child {
41
+ .table__component_9njtp:last-child {
42
42
  padding-right: var(--gap-m);
43
43
  }
44
- .table__sortable_1hrvb {
44
+ .table__sortable_9njtp {
45
45
  cursor: pointer;
46
46
  }
47
- .table__sorted_1hrvb {
47
+ .table__sorted_9njtp {
48
48
  color: var(--color-light-text-primary);
49
49
  }
50
- .table__stickyHeader_1hrvb {
50
+ .table__stickyHeader_9njtp {
51
51
  top: 0;
52
52
  position: sticky;
53
53
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
54
54
  border: none;
55
55
  z-index: 1;
56
56
  }
57
- .table__compactHorizontal_1hrvb {
57
+ .table__compactHorizontal_9njtp {
58
58
  padding-left: 6px;
59
59
  padding-right: 6px;
60
60
  }
@@ -1,5 +1,5 @@
1
1
  export { THeadCell } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../table-context/index.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_10faw","withoutBorder":"table__withoutBorder_10faw","clickable":"table__clickable_10faw","selected":"table__selected_10faw"};
5
+ var styles = {"component":"table__component_1kzk5","withoutBorder":"table__withoutBorder_1kzk5","clickable":"table__clickable_1kzk5","selected":"table__selected_1kzk5"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1nbx5 */
1
+ /* hash: 1oeny */
2
2
  :root {
3
3
  --color-static-graphic-solitude: #e8f2fe;
4
4
  }
@@ -14,28 +14,28 @@
14
14
 
15
15
  /* Hard up */
16
16
  }
17
- .table__component_10faw {
17
+ .table__component_1kzk5 {
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_10faw:first-child td {
24
+ .table__component_1kzk5:first-child td {
25
25
  border-top: 0;
26
26
  }
27
- .table__withoutBorder_10faw td {
27
+ .table__withoutBorder_1kzk5 td {
28
28
  border: none;
29
29
  }
30
- .table__clickable_10faw {
30
+ .table__clickable_1kzk5 {
31
31
  cursor: pointer
32
32
  }
33
- .table__clickable_10faw:hover {
33
+ .table__clickable_1kzk5:hover {
34
34
  background-color: var(--color-light-bg-secondary);
35
35
  }
36
- .table__selected_10faw {
36
+ .table__selected_1kzk5 {
37
37
  background-color: #f2f8ff /* нет цвета в палитре */
38
38
  }
39
- .table__selected_10faw:hover {
39
+ .table__selected_1kzk5:hover {
40
40
  background-color: var(--color-static-graphic-solitude);
41
41
  }
@@ -1,4 +1,4 @@
1
1
  export { TRow } from './Component.js';
2
- import '../../tslib.es6-c7b61e8d.js';
2
+ import '../../tslib.es6-39818cc0.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7b61e8d.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39818cc0.js';
2
2
  import React, { useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { THeadCell } from '../thead-cell/Component.js';
@@ -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_18935","content":"table__content_18935","icon":"table__icon_18935","reverse":"table__reverse_18935","sorted":"table__sorted_18935"};
10
+ var styles = {"component":"table__component_59kte","content":"table__content_59kte","icon":"table__icon_59kte","reverse":"table__reverse_59kte","sorted":"table__sorted_59kte"};
11
11
  require('./index.css')
12
12
 
13
13
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: rxqky */
1
+ /* hash: mqvro */
2
2
  :root {
3
3
  --color-light-graphic-link: #007aff;
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -15,14 +15,14 @@
15
15
  :root {
16
16
  --gap-xs: 8px;
17
17
  }
18
- .table__component_18935 {
18
+ .table__component_59kte {
19
19
  position: relative;
20
20
  }
21
- .table__content_18935 {
21
+ .table__content_59kte {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
24
  }
25
- .table__icon_18935 {
25
+ .table__icon_59kte {
26
26
  cursor: pointer;
27
27
  margin-left: var(--gap-xs);
28
28
 
@@ -35,19 +35,19 @@
35
35
  transition: color 0.2s ease;
36
36
  flex-shrink: 0
37
37
  }
38
- .table__icon_18935:hover {
38
+ .table__icon_59kte:hover {
39
39
  color: var(--color-light-graphic-primary);
40
40
  }
41
- .table__reverse_18935 {
41
+ .table__reverse_59kte {
42
42
  flex-direction: row-reverse
43
43
  }
44
- .table__reverse_18935 .table__icon_18935 {
44
+ .table__reverse_59kte .table__icon_59kte {
45
45
  margin-left: 0;
46
46
  margin-right: var(--gap-xs);
47
47
  }
48
- .table__sorted_18935 {
48
+ .table__sorted_59kte {
49
49
  color: var(--color-light-graphic-link)
50
50
  }
51
- .table__sorted_18935:hover {
51
+ .table__sorted_59kte:hover {
52
52
  color: var(--color-light-graphic-link);
53
53
  }