@alfalab/core-components-table 1.5.8 → 1.6.1

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 (107) hide show
  1. package/component.d.ts +1 -1
  2. package/component.js +1 -1
  3. package/components/index.js +1 -1
  4. package/components/pagination/Component.js +2 -2
  5. package/components/pagination/index.css +8 -8
  6. package/components/pagination/index.js +1 -1
  7. package/components/pagination/select-field/index.css +4 -4
  8. package/components/pagination/select-field/index.js +2 -2
  9. package/components/table/Component.d.ts +1 -1
  10. package/components/table/Component.js +2 -2
  11. package/components/table/index.css +8 -5
  12. package/components/table/index.js +1 -1
  13. package/components/table/utils.js +1 -1
  14. package/components/tbody/Component.js +2 -2
  15. package/components/tbody/index.css +2 -2
  16. package/components/tbody/index.js +1 -1
  17. package/components/tcell/Component.js +2 -2
  18. package/components/tcell/index.css +4 -4
  19. package/components/tcell/index.js +1 -1
  20. package/components/texpandable-row/Component.js +2 -2
  21. package/components/texpandable-row/index.css +5 -5
  22. package/components/texpandable-row/index.js +1 -1
  23. package/components/thead/Component.js +2 -2
  24. package/components/thead/index.css +6 -6
  25. package/components/thead/index.js +1 -1
  26. package/components/thead-cell/Component.js +2 -2
  27. package/components/thead-cell/index.css +5 -5
  28. package/components/thead-cell/index.js +1 -1
  29. package/components/trow/Component.js +2 -2
  30. package/components/trow/index.css +8 -8
  31. package/components/trow/index.js +1 -1
  32. package/components/tsortable-head-cell/Component.js +2 -2
  33. package/components/tsortable-head-cell/index.css +9 -9
  34. package/components/tsortable-head-cell/index.js +1 -1
  35. package/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  36. package/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  37. package/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  38. package/cssm/component.d.ts +1 -1
  39. package/cssm/components/table/Component.d.ts +1 -1
  40. package/cssm/components/table/index.module.css +3 -0
  41. package/esm/component.d.ts +1 -1
  42. package/esm/component.js +1 -1
  43. package/esm/components/index.js +1 -1
  44. package/esm/components/pagination/Component.js +2 -2
  45. package/esm/components/pagination/index.css +8 -8
  46. package/esm/components/pagination/index.js +1 -1
  47. package/esm/components/pagination/select-field/index.css +4 -4
  48. package/esm/components/pagination/select-field/index.js +2 -2
  49. package/esm/components/table/Component.d.ts +1 -1
  50. package/esm/components/table/Component.js +2 -2
  51. package/esm/components/table/index.css +8 -5
  52. package/esm/components/table/index.js +1 -1
  53. package/esm/components/table/utils.js +1 -1
  54. package/esm/components/tbody/Component.js +2 -2
  55. package/esm/components/tbody/index.css +2 -2
  56. package/esm/components/tbody/index.js +1 -1
  57. package/esm/components/tcell/Component.js +2 -2
  58. package/esm/components/tcell/index.css +4 -4
  59. package/esm/components/tcell/index.js +1 -1
  60. package/esm/components/texpandable-row/Component.js +2 -2
  61. package/esm/components/texpandable-row/index.css +5 -5
  62. package/esm/components/texpandable-row/index.js +1 -1
  63. package/esm/components/thead/Component.js +2 -2
  64. package/esm/components/thead/index.css +6 -6
  65. package/esm/components/thead/index.js +1 -1
  66. package/esm/components/thead-cell/Component.js +2 -2
  67. package/esm/components/thead-cell/index.css +5 -5
  68. package/esm/components/thead-cell/index.js +1 -1
  69. package/esm/components/trow/Component.js +2 -2
  70. package/esm/components/trow/index.css +8 -8
  71. package/esm/components/trow/index.js +1 -1
  72. package/esm/components/tsortable-head-cell/Component.js +2 -2
  73. package/esm/components/tsortable-head-cell/index.css +9 -9
  74. package/esm/components/tsortable-head-cell/index.js +1 -1
  75. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  76. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  77. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  78. package/esm/index.js +1 -1
  79. package/esm/{tslib.es6-b36016ee.d.ts → tslib.es6-a59291d1.d.ts} +0 -0
  80. package/esm/{tslib.es6-b36016ee.js → tslib.es6-a59291d1.js} +0 -0
  81. package/index.js +1 -1
  82. package/modern/component.d.ts +1 -1
  83. package/modern/components/pagination/Component.js +1 -1
  84. package/modern/components/pagination/index.css +8 -8
  85. package/modern/components/pagination/select-field/index.css +4 -4
  86. package/modern/components/pagination/select-field/index.js +1 -1
  87. package/modern/components/table/Component.d.ts +1 -1
  88. package/modern/components/table/Component.js +1 -1
  89. package/modern/components/table/index.css +8 -5
  90. package/modern/components/tbody/Component.js +1 -1
  91. package/modern/components/tbody/index.css +2 -2
  92. package/modern/components/tcell/Component.js +1 -1
  93. package/modern/components/tcell/index.css +4 -4
  94. package/modern/components/texpandable-row/Component.js +1 -1
  95. package/modern/components/texpandable-row/index.css +5 -5
  96. package/modern/components/thead/Component.js +1 -1
  97. package/modern/components/thead/index.css +6 -6
  98. package/modern/components/thead-cell/Component.js +1 -1
  99. package/modern/components/thead-cell/index.css +5 -5
  100. package/modern/components/trow/Component.js +1 -1
  101. package/modern/components/trow/index.css +8 -8
  102. package/modern/components/tsortable-head-cell/Component.js +1 -1
  103. package/modern/components/tsortable-head-cell/index.css +9 -9
  104. package/package.json +7 -7
  105. package/{tslib.es6-bd966689.d.ts → tslib.es6-4d964bfd.d.ts} +0 -0
  106. package/{tslib.es6-bd966689.js → tslib.es6-4d964bfd.js} +0 -0
  107. package/CHANGELOG.md +0 -297
@@ -1,4 +1,4 @@
1
- /* hash: 387ry */
1
+ /* hash: pitfz */
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_1n86w {
18
+ .table__component_197fv {
19
19
  position: relative;
20
20
  }
21
- .table__content_1n86w {
21
+ .table__content_197fv {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
24
  }
25
- .table__icon_1n86w {
25
+ .table__icon_197fv {
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_1n86w:hover {
38
+ .table__icon_197fv:hover {
39
39
  color: var(--color-light-graphic-primary);
40
40
  }
41
- .table__reverse_1n86w {
41
+ .table__reverse_197fv {
42
42
  flex-direction: row-reverse
43
43
  }
44
- .table__reverse_1n86w .table__icon_1n86w {
44
+ .table__reverse_197fv .table__icon_197fv {
45
45
  margin-left: 0;
46
46
  margin-right: var(--gap-xs);
47
47
  }
48
- .table__sorted_1n86w {
48
+ .table__sorted_197fv {
49
49
  color: var(--color-light-graphic-link)
50
50
  }
51
- .table__sorted_1n86w:hover {
51
+ .table__sorted_197fv:hover {
52
52
  color: var(--color-light-graphic-link);
53
53
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../tslib.es6-bd966689.js');
5
+ require('../../tslib.es6-4d964bfd.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-bd966689.js');
5
+ var tslib_es6 = require('../../tslib.es6-4d964bfd.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-bd966689.js');
5
+ var tslib_es6 = require('../../tslib.es6-4d964bfd.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-bd966689.js');
5
+ var tslib_es6 = require('../../tslib.es6-4d964bfd.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
  declare const Table: import("react").ForwardRefExoticComponent<import("react").TableHTMLAttributes<HTMLTableElement> & {
3
3
  compactView?: boolean | undefined;
4
4
  className?: string | undefined;
5
- children: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>[];
5
+ children: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>[];
6
6
  wrapper?: boolean | undefined;
7
7
  pagination?: import("react").ReactNode;
8
8
  dataTestId?: string | undefined;
@@ -39,7 +39,7 @@ declare const Table: React.ForwardRefExoticComponent<React.TableHTMLAttributes<H
39
39
  /**
40
40
  * Дочерние компоненты
41
41
  */
42
- children: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>[];
42
+ children: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>[];
43
43
  /**
44
44
  * Оборачивает таблицу в стилизованный контейнер
45
45
  */
@@ -37,3 +37,6 @@
37
37
 
38
38
  /* TODO: Хак для выравнивания чекбокса */
39
39
  }
40
+ .table td:first-child label > *[class^='box'], .table th:first-child label > *[class^='box'] {
41
+ margin-top: 0;
42
+ }
@@ -2,7 +2,7 @@
2
2
  declare const Table: import("react").ForwardRefExoticComponent<import("react").TableHTMLAttributes<HTMLTableElement> & {
3
3
  compactView?: boolean | undefined;
4
4
  className?: string | undefined;
5
- children: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>[];
5
+ children: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>[];
6
6
  wrapper?: boolean | undefined;
7
7
  pagination?: import("react").ReactNode;
8
8
  dataTestId?: string | undefined;
package/esm/component.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-b36016ee.js';
1
+ import './tslib.es6-a59291d1.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-b36016ee.js';
1
+ import '../tslib.es6-a59291d1.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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.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/esm';
8
8
  import { CustomSelectField } from './select-field/index.js';
9
9
 
10
- var styles = {"component":"table__component_tc15n","pagesWrapper":"table__pagesWrapper_tc15n","tag":"table__tag_tc15n","tagActive":"table__tagActive_tc15n","menu":"table__menu_tc15n","option":"table__option_tc15n"};
10
+ var styles = {"component":"table__component_q64m7","pagesWrapper":"table__pagesWrapper_q64m7","tag":"table__tag_q64m7","tagActive":"table__tagActive_q64m7","menu":"table__menu_q64m7","option":"table__option_q64m7"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: e7h3c */
1
+ /* hash: 1gm9f */
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_tc15n {
20
+ .table__component_q64m7 {
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_tc15n {
29
+ .table__pagesWrapper_q64m7 {
30
30
  display: flex;
31
31
  }
32
- .table__tag_tc15n.table__tag_tc15n {
32
+ .table__tag_q64m7.table__tag_q64m7 {
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_tc15n.table__tag_tc15n:last-child {
38
+ .table__tag_q64m7.table__tag_q64m7:last-child {
39
39
  margin-right: 0;
40
40
  }
41
- .table__tag_tc15n.table__tag_tc15n.table__tagActive_tc15n {
41
+ .table__tag_q64m7.table__tag_q64m7.table__tagActive_q64m7 {
42
42
  cursor: default;
43
43
  }
44
- .table__menu_tc15n {
44
+ .table__menu_q64m7 {
45
45
  margin: var(--gap-2xs) 0;
46
46
  }
47
- .table__option_tc15n {
47
+ .table__option_q64m7 {
48
48
  min-width: 208px;
49
49
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../table-context/index.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1ioar */
1
+ /* hash: 1uuqd */
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_pq4bx svg {
13
+ .table__field_mk7sh svg {
14
14
  width: 18px;
15
15
  height: 18px;
16
16
  }
17
- .table__open_pq4bx,
18
- .table__open_pq4bx:hover {
17
+ .table__open_mk7sh,
18
+ .table__open_mk7sh: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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../../tslib.es6-a59291d1.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_pq4bx","open":"table__open_pq4bx"};
6
+ var styles = {"field":"table__field_mk7sh","open":"table__open_mk7sh"};
7
7
  require('./index.css')
8
8
 
9
9
  var CustomSelectField = function (_a) {
@@ -39,7 +39,7 @@ declare const Table: React.ForwardRefExoticComponent<React.TableHTMLAttributes<H
39
39
  /**
40
40
  * Дочерние компоненты
41
41
  */
42
- children: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>[];
42
+ children: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>[];
43
43
  /**
44
44
  * Оборачивает таблицу в стилизованный контейнер
45
45
  */
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.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_zny7b","wrapper":"table__wrapper_zny7b","hasPagination":"table__hasPagination_zny7b","table":"table__table_zny7b"};
9
+ var styles = {"component":"table__component_8a36l","wrapper":"table__wrapper_8a36l","hasPagination":"table__hasPagination_8a36l","table":"table__table_8a36l"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1sdzv */
1
+ /* hash: fnhhu */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -18,23 +18,26 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .table__component_zny7b {
21
+ .table__component_8a36l {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_zny7b {
24
+ .table__wrapper_8a36l {
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__hasPagination_zny7b {
31
+ .table__hasPagination_8a36l {
32
32
  padding-bottom: 0;
33
33
  }
34
- .table__table_zny7b {
34
+ .table__table_8a36l {
35
35
  width: 100%;
36
36
  border-collapse: collapse;
37
37
  box-sizing: border-box
38
38
 
39
39
  /* TODO: Хак для выравнивания чекбокса */
40
40
  }
41
+ .table__table_8a36l td:first-child label > *[class^='box'], .table__table_8a36l th:first-child label > *[class^='box'] {
42
+ margin-top: 0;
43
+ }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../thead/Component.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_18qhh"};
5
+ var styles = {"component":"table__component_1x43j"};
6
6
  require('./index.css')
7
7
 
8
8
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1i7g7 */
1
+ /* hash: 1ofjf */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_18qhh {
10
+ .table__component_1x43j {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.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_y0zjr","hidden":"table__hidden_y0zjr","compact":"table__compact_y0zjr"};
6
+ var styles = {"component":"table__component_1q9cn","hidden":"table__hidden_1q9cn","compact":"table__compact_1q9cn"};
7
7
  require('./index.css')
8
8
 
9
9
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1erqm */
1
+ /* hash: hyqvs */
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_y0zjr {
19
+ .table__component_1q9cn {
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_y0zjr {
31
+ .table__hidden_1q9cn {
32
32
  display: none;
33
33
  }
34
- .table__compact_y0zjr {
34
+ .table__compact_1q9cn {
35
35
  padding-top: var(--gap-xs);
36
36
  padding-bottom: var(--gap-xs);
37
37
 
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.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_1heuj","selected":"table__selected_1heuj","expanded":"table__expanded_1heuj","expandable":"table__expandable_1heuj"};
6
+ var styles = {"row":"table__row_zcus2","selected":"table__selected_zcus2","expanded":"table__expanded_zcus2","expandable":"table__expandable_zcus2"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: cm6p9 */
1
+ /* hash: 12wgj */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_1heuj {
10
+ .table__row_zcus2 {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_1heuj.table__expanded_1heuj {
13
+ .table__selected_zcus2.table__expanded_zcus2 {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_1heuj:hover {
16
+ .table__expanded_zcus2:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_1heuj td {
19
+ .table__expandable_zcus2 td {
20
20
  margin: 0;
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_i8a7b","row":"table__row_i8a7b"};
5
+ var styles = {"component":"table__component_mx5yj","row":"table__row_mx5yj"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: skie4 */
1
+ /* hash: silaw */
2
2
  :root {
3
3
  --color-light-graphic-quaternary: #dbdee1;
4
4
  }
@@ -10,12 +10,12 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .table__component_i8a7b {
13
+ .table__component_mx5yj {
14
14
  position: relative;
15
15
  width: 100%;
16
16
  box-sizing: border-box
17
17
  }
18
- .table__component_i8a7b th:not(:last-child):not(:empty):after {
18
+ .table__component_mx5yj 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-quaternary);
29
29
  }
30
- .table__component_i8a7b th:after {
30
+ .table__component_mx5yj th:after {
31
31
  opacity: 0;
32
32
  }
33
- .table__component_i8a7b:hover th:after {
33
+ .table__component_mx5yj:hover th:after {
34
34
  opacity: 1;
35
35
  }
36
- .table__row_i8a7b {
36
+ .table__row_mx5yj {
37
37
  height: 72px;
38
38
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1ra28","sortable":"table__sortable_1ra28","sorted":"table__sorted_1ra28","hidden":"table__hidden_1ra28"};
5
+ var styles = {"component":"table__component_1h2ur","sortable":"table__sortable_1h2ur","sorted":"table__sorted_1h2ur","hidden":"table__hidden_1h2ur"};
6
6
  require('./index.css')
7
7
 
8
8
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: bze4q */
1
+ /* hash: 18lpu */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -17,7 +17,7 @@
17
17
  --gap-m: 16px;
18
18
  --gap-2xl: 32px;
19
19
  }
20
- .table__component_1ra28 {
20
+ .table__component_1h2ur {
21
21
  font-size: 12px;
22
22
  line-height: 16px;
23
23
  font-weight: 500;
@@ -34,12 +34,12 @@
34
34
  vertical-align: top;
35
35
  box-sizing: border-box;
36
36
  }
37
- .table__sortable_1ra28 {
37
+ .table__sortable_1h2ur {
38
38
  cursor: pointer;
39
39
  }
40
- .table__sorted_1ra28 {
40
+ .table__sorted_1h2ur {
41
41
  color: var(--color-light-text-primary);
42
42
  }
43
- .table__hidden_1ra28 {
43
+ .table__hidden_1h2ur {
44
44
  display: none;
45
45
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.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-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_141dc","withoutBorder":"table__withoutBorder_141dc","clickable":"table__clickable_141dc","selected":"table__selected_141dc"};
5
+ var styles = {"component":"table__component_fzagy","withoutBorder":"table__withoutBorder_fzagy","clickable":"table__clickable_fzagy","selected":"table__selected_fzagy"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: rxon6 */
1
+ /* hash: 1t8eq */
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_141dc {
17
+ .table__component_fzagy {
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_141dc:first-child td {
24
+ .table__component_fzagy:first-child td {
25
25
  border-top: 0;
26
26
  }
27
- .table__withoutBorder_141dc {
27
+ .table__withoutBorder_fzagy {
28
28
  td {
29
29
  border: none;
30
30
  }
31
31
  }
32
- .table__clickable_141dc {
32
+ .table__clickable_fzagy {
33
33
  cursor: pointer
34
34
  }
35
- .table__clickable_141dc:hover {
35
+ .table__clickable_fzagy:hover {
36
36
  background-color: var(--color-light-bg-secondary);
37
37
  }
38
- .table__selected_141dc {
38
+ .table__selected_fzagy {
39
39
  background-color: #f2f8ff /* нет цвета в палитре */
40
40
  }
41
- .table__selected_141dc:hover {
41
+ .table__selected_fzagy:hover {
42
42
  background-color: var(--color-static-graphic-solitude);
43
43
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-b36016ee.js';
1
+ import '../../tslib.es6-a59291d1.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { TRow } from './Component.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-b36016ee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-a59291d1.js';
2
2
  import React, { useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { THeadCell } from '../thead-cell/Component.js';
@@ -6,7 +6,7 @@ import { SortIconAsc } from './sort-icon-asc.js';
6
6
  import { SortIconDesc } from './sort-icon-desc.js';
7
7
  import { SortIconUnset } from './sort-icon-unset.js';
8
8
 
9
- var styles = {"component":"table__component_1n86w","content":"table__content_1n86w","icon":"table__icon_1n86w","reverse":"table__reverse_1n86w","sorted":"table__sorted_1n86w"};
9
+ var styles = {"component":"table__component_197fv","content":"table__content_197fv","icon":"table__icon_197fv","reverse":"table__reverse_197fv","sorted":"table__sorted_197fv"};
10
10
  require('./index.css')
11
11
 
12
12
  var TSortableHeadCell = function (_a) {