@alfalab/core-components-table 2.2.15 → 2.2.16

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 (97) hide show
  1. package/component.js +1 -1
  2. package/components/index.js +1 -1
  3. package/components/pagination/Component.js +2 -2
  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 +2 -2
  8. package/components/table/Component.js +2 -2
  9. package/components/table/index.css +7 -7
  10. package/components/table/index.js +1 -1
  11. package/components/table/utils.js +1 -1
  12. package/components/tbody/Component.js +2 -2
  13. package/components/tbody/index.css +2 -2
  14. package/components/tbody/index.js +1 -1
  15. package/components/tcell/Component.js +2 -2
  16. package/components/tcell/index.css +6 -6
  17. package/components/tcell/index.js +1 -1
  18. package/components/texpandable-row/Component.js +2 -2
  19. package/components/texpandable-row/index.css +5 -5
  20. package/components/texpandable-row/index.js +1 -1
  21. package/components/thead/Component.js +2 -2
  22. package/components/thead/index.css +6 -6
  23. package/components/thead/index.js +1 -1
  24. package/components/thead-cell/Component.js +2 -2
  25. package/components/thead-cell/index.css +8 -8
  26. package/components/thead-cell/index.js +1 -1
  27. package/components/trow/Component.js +2 -2
  28. package/components/trow/index.css +8 -8
  29. package/components/trow/index.js +1 -1
  30. package/components/tsortable-head-cell/Component.js +2 -2
  31. package/components/tsortable-head-cell/index.css +9 -9
  32. package/components/tsortable-head-cell/index.js +1 -1
  33. package/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  34. package/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  35. package/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  36. package/esm/component.js +1 -1
  37. package/esm/components/index.js +1 -1
  38. package/esm/components/pagination/Component.js +2 -2
  39. package/esm/components/pagination/index.css +8 -8
  40. package/esm/components/pagination/index.js +1 -1
  41. package/esm/components/pagination/select-field/index.css +4 -4
  42. package/esm/components/pagination/select-field/index.js +2 -2
  43. package/esm/components/table/Component.js +2 -2
  44. package/esm/components/table/index.css +7 -7
  45. package/esm/components/table/index.js +1 -1
  46. package/esm/components/table/utils.js +1 -1
  47. package/esm/components/tbody/Component.js +2 -2
  48. package/esm/components/tbody/index.css +2 -2
  49. package/esm/components/tbody/index.js +1 -1
  50. package/esm/components/tcell/Component.js +2 -2
  51. package/esm/components/tcell/index.css +6 -6
  52. package/esm/components/tcell/index.js +1 -1
  53. package/esm/components/texpandable-row/Component.js +2 -2
  54. package/esm/components/texpandable-row/index.css +5 -5
  55. package/esm/components/texpandable-row/index.js +1 -1
  56. package/esm/components/thead/Component.js +2 -2
  57. package/esm/components/thead/index.css +6 -6
  58. package/esm/components/thead/index.js +1 -1
  59. package/esm/components/thead-cell/Component.js +2 -2
  60. package/esm/components/thead-cell/index.css +8 -8
  61. package/esm/components/thead-cell/index.js +1 -1
  62. package/esm/components/trow/Component.js +2 -2
  63. package/esm/components/trow/index.css +8 -8
  64. package/esm/components/trow/index.js +1 -1
  65. package/esm/components/tsortable-head-cell/Component.js +2 -2
  66. package/esm/components/tsortable-head-cell/index.css +9 -9
  67. package/esm/components/tsortable-head-cell/index.js +1 -1
  68. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  69. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  70. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  71. package/esm/index.js +1 -1
  72. package/esm/{tslib.es6-41061aee.d.ts → tslib.es6-c0e0b00e.d.ts} +0 -0
  73. package/esm/{tslib.es6-41061aee.js → tslib.es6-c0e0b00e.js} +0 -0
  74. package/index.js +1 -1
  75. package/modern/components/pagination/Component.js +1 -1
  76. package/modern/components/pagination/index.css +8 -8
  77. package/modern/components/pagination/select-field/index.css +4 -4
  78. package/modern/components/pagination/select-field/index.js +1 -1
  79. package/modern/components/table/Component.js +1 -1
  80. package/modern/components/table/index.css +7 -7
  81. package/modern/components/tbody/Component.js +1 -1
  82. package/modern/components/tbody/index.css +2 -2
  83. package/modern/components/tcell/Component.js +1 -1
  84. package/modern/components/tcell/index.css +6 -6
  85. package/modern/components/texpandable-row/Component.js +1 -1
  86. package/modern/components/texpandable-row/index.css +5 -5
  87. package/modern/components/thead/Component.js +1 -1
  88. package/modern/components/thead/index.css +6 -6
  89. package/modern/components/thead-cell/Component.js +1 -1
  90. package/modern/components/thead-cell/index.css +8 -8
  91. package/modern/components/trow/Component.js +1 -1
  92. package/modern/components/trow/index.css +8 -8
  93. package/modern/components/tsortable-head-cell/Component.js +1 -1
  94. package/modern/components/tsortable-head-cell/index.css +9 -9
  95. package/package.json +4 -4
  96. /package/{tslib.es6-0d8c9c3a.d.ts → tslib.es6-79d63e20.d.ts} +0 -0
  97. /package/{tslib.es6-0d8c9c3a.js → tslib.es6-79d63e20.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-0d8c9c3a.js');
3
+ var tslib_es6 = require('../../tslib.es6-79d63e20.js');
4
4
  var React = require('react');
5
5
 
6
6
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-0d8c9c3a.js');
3
+ var tslib_es6 = require('../../tslib.es6-79d63e20.js');
4
4
  var React = require('react');
5
5
 
6
6
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
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-41061aee.js';
10
+ import './tslib.es6-c0e0b00e.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-41061aee.js';
10
+ import '../tslib.es6-c0e0b00e.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-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.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_17tvl","pagesWrapper":"table__pagesWrapper_17tvl","tag":"table__tag_17tvl","tagActive":"table__tagActive_17tvl","menu":"table__menu_17tvl","option":"table__option_17tvl"};
10
+ var styles = {"component":"table__component_1nzfu","pagesWrapper":"table__pagesWrapper_1nzfu","tag":"table__tag_1nzfu","tagActive":"table__tagActive_1nzfu","menu":"table__menu_1nzfu","option":"table__option_1nzfu"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: icihu */
1
+ /* hash: 1v2ah */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dbdee1;
@@ -20,7 +20,7 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_17tvl {
23
+ } .table__component_1nzfu {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: flex-start;
@@ -28,19 +28,19 @@
28
28
  padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
29
29
  border-top: 1px solid var(--color-light-border-primary);
30
30
  box-sizing: border-box;
31
- } .table__pagesWrapper_17tvl {
31
+ } .table__pagesWrapper_1nzfu {
32
32
  display: flex;
33
- } .table__tag_17tvl.table__tag_17tvl {
33
+ } .table__tag_1nzfu.table__tag_1nzfu {
34
34
  flex-shrink: 0;
35
35
  margin-right: var(--gap-xs);
36
36
  padding: 0 var(--gap-xs);
37
37
  min-width: 32px
38
- } .table__tag_17tvl.table__tag_17tvl:last-child {
38
+ } .table__tag_1nzfu.table__tag_1nzfu:last-child {
39
39
  margin-right: 0;
40
- } .table__tag_17tvl.table__tag_17tvl.table__tagActive_17tvl {
40
+ } .table__tag_1nzfu.table__tag_1nzfu.table__tagActive_1nzfu {
41
41
  cursor: default;
42
- } .table__menu_17tvl {
42
+ } .table__menu_1nzfu {
43
43
  margin: var(--gap-2xs) 0;
44
- } .table__option_17tvl {
44
+ } .table__option_1nzfu {
45
45
  min-width: 208px;
46
46
  }
@@ -1,5 +1,5 @@
1
1
  export { Pagination } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-pagination/esm';
@@ -1,4 +1,4 @@
1
- /* hash: wr4ke */
1
+ /* hash: afsig */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
@@ -15,10 +15,10 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .table__field_1msss svg {
18
+ } .table__field_3x903 svg {
19
19
  width: 18px;
20
20
  height: 18px;
21
- } .table__open_1msss,
22
- .table__open_1msss:hover {
21
+ } .table__open_3x903,
22
+ .table__open_3x903:hover {
23
23
  background-color: var(--color-light-specialbg-component-shade-7);
24
24
  }
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../../tslib.es6-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../../tslib.es6-c0e0b00e.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_1msss","open":"table__open_1msss"};
6
+ var styles = {"field":"table__field_3x903","open":"table__open_3x903"};
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-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.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_1affi","wrapper":"table__wrapper_1affi","stickyHeader":"table__stickyHeader_1affi","hasPagination":"table__hasPagination_1affi","table":"table__table_1affi"};
9
+ var styles = {"component":"table__component_12f1n","wrapper":"table__wrapper_12f1n","stickyHeader":"table__stickyHeader_12f1n","hasPagination":"table__hasPagination_12f1n","table":"table__table_12f1n"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 106yo */
1
+ /* hash: 18vgu */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -19,24 +19,24 @@
19
19
  --gap-m: 16px;
20
20
  } :root {
21
21
  } :root {
22
- } .table__component_1affi {
22
+ } .table__component_12f1n {
23
23
  box-sizing: border-box;
24
- } .table__wrapper_1affi {
24
+ } .table__wrapper_12f1n {
25
25
  padding: 0 var(--gap-m) var(--gap-m);
26
26
  background: var(--color-light-bg-primary);
27
27
  box-shadow: var(--shadow-xs-hard);
28
28
  border-radius: var(--border-radius-m);
29
29
  overflow: auto;
30
- } .table__stickyHeader_1affi {
30
+ } .table__stickyHeader_12f1n {
31
31
  max-height: 100%;
32
- } .table__hasPagination_1affi {
32
+ } .table__hasPagination_12f1n {
33
33
  padding-bottom: 0;
34
- } .table__table_1affi {
34
+ } .table__table_12f1n {
35
35
  width: 100%;
36
36
  border-collapse: collapse;
37
37
  box-sizing: border-box
38
38
 
39
39
  /* TODO: Хак для выравнивания чекбокса */
40
- } .table__table_1affi td:first-child label > *[class^='box'], .table__table_1affi th:first-child label > *[class^='box'] {
40
+ } .table__table_12f1n td:first-child label > *[class^='box'], .table__table_12f1n th:first-child label > *[class^='box'] {
41
41
  margin-top: 0;
42
42
  }
@@ -1,5 +1,5 @@
1
1
  export { Table } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.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-41061aee.js';
4
+ import '../../tslib.es6-c0e0b00e.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-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_cqe8l"};
5
+ var styles = {"component":"table__component_svyid"};
6
6
  require('./index.css')
7
7
 
8
8
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 2bjwg */
1
+ /* hash: 18zqs */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,7 +14,7 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__component_cqe8l {
17
+ } .table__component_svyid {
18
18
  width: 100%;
19
19
  box-sizing: border-box;
20
20
  }
@@ -1,4 +1,4 @@
1
1
  export { TBody } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.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_1q197","compactHorizontal":"table__compactHorizontal_1q197","compact":"table__compact_1q197"};
6
+ var styles = {"component":"table__component_1i0vc","compactHorizontal":"table__compactHorizontal_1i0vc","compact":"table__compact_1i0vc"};
7
7
  require('./index.css')
8
8
 
9
9
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: rj5pz */
1
+ /* hash: i41ql */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dbdee1;
@@ -20,7 +20,7 @@
20
20
  --gap-xl: 24px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_1q197 {
23
+ } .table__component_1i0vc {
24
24
  font-size: 14px;
25
25
  line-height: 20px;
26
26
  font-weight: 400;
@@ -31,14 +31,14 @@
31
31
  border-top: 1px solid var(--color-light-border-primary);
32
32
  vertical-align: top;
33
33
  box-sizing: border-box
34
- } .table__component_1q197:first-child {
34
+ } .table__component_1i0vc:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_1q197:last-child {
36
+ } .table__component_1i0vc:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_1q197 {
38
+ } .table__compactHorizontal_1i0vc {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_1q197 {
41
+ } .table__compact_1i0vc {
42
42
  padding-top: var(--gap-xs);
43
43
  padding-bottom: var(--gap-xs);
44
44
 
@@ -1,5 +1,5 @@
1
1
  export { TCell } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.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-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.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_bl7em","selected":"table__selected_bl7em","expanded":"table__expanded_bl7em","expandable":"table__expandable_bl7em"};
6
+ var styles = {"row":"table__row_jll96","selected":"table__selected_jll96","expanded":"table__expanded_jll96","expandable":"table__expandable_jll96"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 17y9n */
1
+ /* hash: z9rhb */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_bl7em {
17
+ } .table__row_jll96 {
18
18
  cursor: pointer;
19
- } .table__selected_bl7em.table__expanded_bl7em {
19
+ } .table__selected_jll96.table__expanded_jll96 {
20
20
  background-color: inherit;
21
- } .table__expanded_bl7em:hover {
21
+ } .table__expanded_jll96:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_bl7em td {
23
+ } .table__expandable_jll96 td {
24
24
  margin: 0;
25
25
  padding-top: 0;
26
26
  padding-bottom: 0;
@@ -1,5 +1,5 @@
1
1
  export { TExpandableRow } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.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-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_h083g","row":"table__row_h083g"};
5
+ var styles = {"component":"table__component_1rhqf","row":"table__row_1rhqf"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1x58q */
1
+ /* hash: li8d2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_h083g {
19
+ } .table__component_1rhqf {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_h083g th:not(:last-child):not(:empty):after {
23
+ } .table__component_1rhqf th:not(:last-child):not(:empty):after {
24
24
  transition: opacity 0.2s;
25
25
  position: absolute;
26
26
  content: '';
@@ -31,10 +31,10 @@
31
31
  top: var(--gap-xs);
32
32
  bottom: var(--gap-xs);
33
33
  background-color: var(--color-light-graphic-quaternary);
34
- } .table__component_h083g th:after {
34
+ } .table__component_1rhqf th:after {
35
35
  opacity: 0;
36
- } .table__component_h083g:hover th:after {
36
+ } .table__component_1rhqf:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_h083g {
38
+ } .table__row_1rhqf {
39
39
  height: 72px;
40
40
  }
@@ -1,4 +1,4 @@
1
1
  export { THead } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.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_1sulo","sortable":"table__sortable_1sulo","sorted":"table__sorted_1sulo","stickyHeader":"table__stickyHeader_1sulo","compactHorizontal":"table__compactHorizontal_1sulo"};
6
+ var styles = {"component":"table__component_1cp1e","sortable":"table__sortable_1cp1e","sorted":"table__sorted_1cp1e","stickyHeader":"table__stickyHeader_1cp1e","compactHorizontal":"table__compactHorizontal_1cp1e"};
7
7
  require('./index.css')
8
8
 
9
9
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 560t5 */
1
+ /* hash: rhcv2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -21,7 +21,7 @@
21
21
  --gap-2xl: 32px;
22
22
  } :root {
23
23
  } :root {
24
- } .table__component_1sulo {
24
+ } .table__component_1cp1e {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -37,21 +37,21 @@
37
37
  background: var(--color-light-bg-primary);
38
38
  vertical-align: top;
39
39
  box-sizing: border-box
40
- } .table__component_1sulo:first-child {
40
+ } .table__component_1cp1e:first-child {
41
41
  padding-left: var(--gap-m);
42
- } .table__component_1sulo:last-child {
42
+ } .table__component_1cp1e:last-child {
43
43
  padding-right: var(--gap-m);
44
- } .table__sortable_1sulo {
44
+ } .table__sortable_1cp1e {
45
45
  cursor: pointer;
46
- } .table__sorted_1sulo {
46
+ } .table__sorted_1cp1e {
47
47
  color: var(--color-light-text-primary);
48
- } .table__stickyHeader_1sulo {
48
+ } .table__stickyHeader_1cp1e {
49
49
  top: 0;
50
50
  position: sticky;
51
51
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
52
52
  border: none;
53
53
  z-index: 1;
54
- } .table__compactHorizontal_1sulo {
54
+ } .table__compactHorizontal_1cp1e {
55
55
  padding-left: 6px;
56
56
  padding-right: 6px;
57
57
  }
@@ -1,5 +1,5 @@
1
1
  export { THeadCell } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.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-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1u4k9","withoutBorder":"table__withoutBorder_1u4k9","clickable":"table__clickable_1u4k9","selected":"table__selected_1u4k9"};
5
+ var styles = {"component":"table__component_1m46e","withoutBorder":"table__withoutBorder_1m46e","clickable":"table__clickable_1m46e","selected":"table__selected_1m46e"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: dmzb9 */
1
+ /* hash: uzhw5 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -17,22 +17,22 @@
17
17
  } :root {
18
18
  } :root {
19
19
  } :root {
20
- } .table__component_1u4k9 {
20
+ } .table__component_1m46e {
21
21
  padding-top: 1px;
22
22
  width: 100%;
23
23
  transition: background-color 0.2s;
24
24
  box-sizing: border-box;
25
25
  background: var(--color-light-bg-primary)
26
- } .table__component_1u4k9:first-child td {
26
+ } .table__component_1m46e:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_1u4k9 td {
28
+ } .table__withoutBorder_1m46e td {
29
29
  border: none;
30
- } .table__clickable_1u4k9 {
30
+ } .table__clickable_1m46e {
31
31
  cursor: pointer
32
- } .table__clickable_1u4k9:hover {
32
+ } .table__clickable_1m46e:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_1u4k9 {
34
+ } .table__selected_1m46e {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_1u4k9:hover {
36
+ } .table__selected_1m46e:hover {
37
37
  background-color: var(--color-static-graphic-solitude);
38
38
  }
@@ -1,4 +1,4 @@
1
1
  export { TRow } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c0e0b00e.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_eekx6","content":"table__content_eekx6","icon":"table__icon_eekx6","reverse":"table__reverse_eekx6","sorted":"table__sorted_eekx6"};
10
+ var styles = {"component":"table__component_6e72l","content":"table__content_6e72l","icon":"table__icon_6e72l","reverse":"table__reverse_6e72l","sorted":"table__sorted_6e72l"};
11
11
  require('./index.css')
12
12
 
13
13
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1w40f */
1
+ /* hash: 5rek6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-link: #007aff;
@@ -18,12 +18,12 @@
18
18
  --gap-xs: 8px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__component_eekx6 {
21
+ } .table__component_6e72l {
22
22
  position: relative;
23
- } .table__content_eekx6 {
23
+ } .table__content_6e72l {
24
24
  display: flex;
25
25
  align-items: flex-start;
26
- } .table__icon_eekx6 {
26
+ } .table__icon_6e72l {
27
27
  cursor: pointer;
28
28
  margin-left: var(--gap-xs);
29
29
 
@@ -35,15 +35,15 @@
35
35
  color: var(--color-light-graphic-secondary);
36
36
  transition: color 0.2s ease;
37
37
  flex-shrink: 0
38
- } .table__icon_eekx6:hover {
38
+ } .table__icon_6e72l:hover {
39
39
  color: var(--color-light-graphic-primary);
40
- } .table__reverse_eekx6 {
40
+ } .table__reverse_6e72l {
41
41
  flex-direction: row-reverse
42
- } .table__reverse_eekx6 .table__icon_eekx6 {
42
+ } .table__reverse_6e72l .table__icon_6e72l {
43
43
  margin-left: 0;
44
44
  margin-right: var(--gap-xs);
45
- } .table__sorted_eekx6 {
45
+ } .table__sorted_6e72l {
46
46
  color: var(--color-light-graphic-link)
47
- } .table__sorted_eekx6:hover {
47
+ } .table__sorted_6e72l:hover {
48
48
  color: var(--color-light-graphic-link);
49
49
  }
@@ -1,5 +1,5 @@
1
1
  export { TSortableHeadCell } from './Component.js';
2
- import '../../tslib.es6-41061aee.js';
2
+ import '../../tslib.es6-c0e0b00e.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../thead-cell/Component.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-41061aee.js';
1
+ import { a as __assign } from '../../tslib.es6-c0e0b00e.js';
2
2
  import React from 'react';
3
3
 
4
4
  var SortIconAsc = function (props) { return (React.createElement("svg", __assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-41061aee.js';
1
+ import { a as __assign } from '../../tslib.es6-c0e0b00e.js';
2
2
  import React from 'react';
3
3
 
4
4
  var SortIconDesc = function (props) { return (React.createElement("svg", __assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-41061aee.js';
1
+ import { a as __assign } from '../../tslib.es6-c0e0b00e.js';
2
2
  import React from 'react';
3
3
 
4
4
  var SortIconUnset = function (props) { return (React.createElement("svg", __assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { Table } from './component.js';
2
2
  import './components/table/Component.js';
3
- import './tslib.es6-41061aee.js';
3
+ import './tslib.es6-c0e0b00e.js';
4
4
  import 'react';
5
5
  import 'classnames';
6
6
  import './components/table-context/index.js';
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var component = require('./component.js');
4
4
  require('./components/table/Component.js');
5
- require('./tslib.es6-0d8c9c3a.js');
5
+ require('./tslib.es6-79d63e20.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./components/table-context/index.js');