@alfalab/core-components-table 2.2.11 → 2.2.13

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 (113) 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 +2 -2
  10. package/components/table/Component.js +2 -2
  11. package/components/table/index.css +7 -7
  12. package/components/table/index.js +1 -1
  13. package/components/table/utils.d.ts +1 -1
  14. package/components/table/utils.js +1 -1
  15. package/components/tbody/Component.js +2 -2
  16. package/components/tbody/index.css +2 -2
  17. package/components/tbody/index.js +1 -1
  18. package/components/tcell/Component.js +2 -2
  19. package/components/tcell/index.css +6 -6
  20. package/components/tcell/index.js +1 -1
  21. package/components/texpandable-row/Component.js +2 -2
  22. package/components/texpandable-row/index.css +5 -5
  23. package/components/texpandable-row/index.js +1 -1
  24. package/components/thead/Component.js +2 -2
  25. package/components/thead/index.css +6 -6
  26. package/components/thead/index.js +1 -1
  27. package/components/thead-cell/Component.js +2 -2
  28. package/components/thead-cell/index.css +8 -8
  29. package/components/thead-cell/index.js +1 -1
  30. package/components/trow/Component.d.ts +2 -1
  31. package/components/trow/Component.js +2 -2
  32. package/components/trow/index.css +8 -8
  33. package/components/trow/index.js +1 -1
  34. package/components/tsortable-head-cell/Component.js +2 -2
  35. package/components/tsortable-head-cell/index.css +9 -9
  36. package/components/tsortable-head-cell/index.js +1 -1
  37. package/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  38. package/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  39. package/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  40. package/cssm/component.d.ts +1 -1
  41. package/cssm/components/table/Component.d.ts +2 -2
  42. package/cssm/components/table/utils.d.ts +1 -1
  43. package/cssm/components/trow/Component.d.ts +2 -1
  44. package/esm/component.d.ts +1 -1
  45. package/esm/component.js +1 -1
  46. package/esm/components/index.js +1 -1
  47. package/esm/components/pagination/Component.js +2 -2
  48. package/esm/components/pagination/index.css +8 -8
  49. package/esm/components/pagination/index.js +1 -1
  50. package/esm/components/pagination/select-field/index.css +4 -4
  51. package/esm/components/pagination/select-field/index.js +2 -2
  52. package/esm/components/table/Component.d.ts +2 -2
  53. package/esm/components/table/Component.js +2 -2
  54. package/esm/components/table/index.css +7 -7
  55. package/esm/components/table/index.js +1 -1
  56. package/esm/components/table/utils.d.ts +1 -1
  57. package/esm/components/table/utils.js +1 -1
  58. package/esm/components/tbody/Component.js +2 -2
  59. package/esm/components/tbody/index.css +2 -2
  60. package/esm/components/tbody/index.js +1 -1
  61. package/esm/components/tcell/Component.js +2 -2
  62. package/esm/components/tcell/index.css +6 -6
  63. package/esm/components/tcell/index.js +1 -1
  64. package/esm/components/texpandable-row/Component.js +2 -2
  65. package/esm/components/texpandable-row/index.css +5 -5
  66. package/esm/components/texpandable-row/index.js +1 -1
  67. package/esm/components/thead/Component.js +2 -2
  68. package/esm/components/thead/index.css +6 -6
  69. package/esm/components/thead/index.js +1 -1
  70. package/esm/components/thead-cell/Component.js +2 -2
  71. package/esm/components/thead-cell/index.css +8 -8
  72. package/esm/components/thead-cell/index.js +1 -1
  73. package/esm/components/trow/Component.d.ts +2 -1
  74. package/esm/components/trow/Component.js +2 -2
  75. package/esm/components/trow/index.css +8 -8
  76. package/esm/components/trow/index.js +1 -1
  77. package/esm/components/tsortable-head-cell/Component.js +2 -2
  78. package/esm/components/tsortable-head-cell/index.css +9 -9
  79. package/esm/components/tsortable-head-cell/index.js +1 -1
  80. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  81. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  82. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  83. package/esm/index.js +1 -1
  84. package/esm/{tslib.es6-f23f4f59.d.ts → tslib.es6-bd5f37d4.d.ts} +0 -0
  85. package/esm/{tslib.es6-f23f4f59.js → tslib.es6-bd5f37d4.js} +0 -0
  86. package/index.js +1 -1
  87. package/modern/component.d.ts +1 -1
  88. package/modern/components/pagination/Component.js +1 -1
  89. package/modern/components/pagination/index.css +8 -8
  90. package/modern/components/pagination/select-field/index.css +4 -4
  91. package/modern/components/pagination/select-field/index.js +1 -1
  92. package/modern/components/table/Component.d.ts +2 -2
  93. package/modern/components/table/Component.js +1 -1
  94. package/modern/components/table/index.css +7 -7
  95. package/modern/components/table/utils.d.ts +1 -1
  96. package/modern/components/tbody/Component.js +1 -1
  97. package/modern/components/tbody/index.css +2 -2
  98. package/modern/components/tcell/Component.js +1 -1
  99. package/modern/components/tcell/index.css +6 -6
  100. package/modern/components/texpandable-row/Component.js +1 -1
  101. package/modern/components/texpandable-row/index.css +5 -5
  102. package/modern/components/thead/Component.js +1 -1
  103. package/modern/components/thead/index.css +6 -6
  104. package/modern/components/thead-cell/Component.js +1 -1
  105. package/modern/components/thead-cell/index.css +8 -8
  106. package/modern/components/trow/Component.d.ts +2 -1
  107. package/modern/components/trow/Component.js +1 -1
  108. package/modern/components/trow/index.css +8 -8
  109. package/modern/components/tsortable-head-cell/Component.js +1 -1
  110. package/modern/components/tsortable-head-cell/index.css +9 -9
  111. package/package.json +4 -4
  112. /package/{tslib.es6-66f4a89c.d.ts → tslib.es6-de317aa5.d.ts} +0 -0
  113. /package/{tslib.es6-66f4a89c.js → tslib.es6-de317aa5.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-66f4a89c.js');
3
+ var tslib_es6 = require('../../tslib.es6-de317aa5.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var components_theadCell_Component = require('../thead-cell/Component.js');
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
14
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
16
16
 
17
- var styles = {"component":"table__component_155o5","content":"table__content_155o5","icon":"table__icon_155o5","reverse":"table__reverse_155o5","sorted":"table__sorted_155o5"};
17
+ var styles = {"component":"table__component_z431r","content":"table__content_z431r","icon":"table__icon_z431r","reverse":"table__reverse_z431r","sorted":"table__sorted_z431r"};
18
18
  require('./index.css')
19
19
 
20
20
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: a73f */
1
+ /* hash: 50y1n */
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_155o5 {
18
+ .table__component_z431r {
19
19
  position: relative;
20
20
  }
21
- .table__content_155o5 {
21
+ .table__content_z431r {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
24
  }
25
- .table__icon_155o5 {
25
+ .table__icon_z431r {
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_155o5:hover {
38
+ .table__icon_z431r:hover {
39
39
  color: var(--color-light-graphic-primary);
40
40
  }
41
- .table__reverse_155o5 {
41
+ .table__reverse_z431r {
42
42
  flex-direction: row-reverse
43
43
  }
44
- .table__reverse_155o5 .table__icon_155o5 {
44
+ .table__reverse_z431r .table__icon_z431r {
45
45
  margin-left: 0;
46
46
  margin-right: var(--gap-xs);
47
47
  }
48
- .table__sorted_155o5 {
48
+ .table__sorted_z431r {
49
49
  color: var(--color-light-graphic-link)
50
50
  }
51
- .table__sorted_155o5:hover {
51
+ .table__sorted_z431r:hover {
52
52
  color: var(--color-light-graphic-link);
53
53
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var components_tsortableHeadCell_Component = require('./Component.js');
4
- require('../../tslib.es6-66f4a89c.js');
4
+ require('../../tslib.es6-de317aa5.js');
5
5
  require('react');
6
6
  require('classnames');
7
7
  require('../thead-cell/Component.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-66f4a89c.js');
3
+ var tslib_es6 = require('../../tslib.es6-de317aa5.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-66f4a89c.js');
3
+ var tslib_es6 = require('../../tslib.es6-de317aa5.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-66f4a89c.js');
3
+ var tslib_es6 = require('../../tslib.es6-de317aa5.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 }; }
@@ -3,7 +3,7 @@ declare const Table: import("react").ForwardRefExoticComponent<import("react").T
3
3
  compactView?: boolean | undefined;
4
4
  compactHorizontal?: boolean | undefined;
5
5
  className?: string | undefined;
6
- children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[];
6
+ children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[];
7
7
  wrapper?: boolean | undefined;
8
8
  pagination?: import("react").ReactNode;
9
9
  dataTestId?: string | undefined;
@@ -17,7 +17,7 @@ type TableProps = TableHTMLAttributes<HTMLTableElement> & {
17
17
  /**
18
18
  * Дочерние компоненты
19
19
  */
20
- children: React.ReactElement[];
20
+ children: React.ReactElement | React.ReactElement[];
21
21
  /**
22
22
  * Оборачивает таблицу в стилизованный контейнер
23
23
  */
@@ -51,7 +51,7 @@ declare const Table: React.ForwardRefExoticComponent<React.TableHTMLAttributes<H
51
51
  /**
52
52
  * Дочерние компоненты
53
53
  */
54
- children: React.ReactElement[];
54
+ children: React.ReactElement | React.ReactElement[];
55
55
  /**
56
56
  * Оборачивает таблицу в стилизованный контейнер
57
57
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { THeadCellProps } from "../thead-cell/index";
4
- declare function findAllHeadCellsProps(children: React.ReactElement[]): THeadCellProps[];
4
+ declare function findAllHeadCellsProps(children: React.ReactElement | React.ReactElement[]): THeadCellProps[];
5
5
  export { findAllHeadCellsProps };
@@ -2,11 +2,12 @@
2
2
  import React from 'react';
3
3
  import { HTMLAttributes } from "react";
4
4
  import { TCell, TCellProps } from "../tcell/index";
5
+ type TCellElement = React.ReactElement<TCellProps, typeof TCell>;
5
6
  type TRowProps = HTMLAttributes<HTMLTableRowElement> & {
6
7
  /**
7
8
  * Компоненты ячеек
8
9
  */
9
- children: Array<React.ReactElement<TCellProps, typeof TCell>>;
10
+ children: TCellElement | TCellElement[];
10
11
  /**
11
12
  * Дополнительный класс
12
13
  */
@@ -3,7 +3,7 @@ declare const Table: import("react").ForwardRefExoticComponent<import("react").T
3
3
  compactView?: boolean | undefined;
4
4
  compactHorizontal?: boolean | undefined;
5
5
  className?: string | undefined;
6
- children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[];
6
+ children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[];
7
7
  wrapper?: boolean | undefined;
8
8
  pagination?: import("react").ReactNode;
9
9
  dataTestId?: string | undefined;
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-f23f4f59.js';
10
+ import './tslib.es6-bd5f37d4.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-f23f4f59.js';
10
+ import '../tslib.es6-bd5f37d4.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-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.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_h2sce","pagesWrapper":"table__pagesWrapper_h2sce","tag":"table__tag_h2sce","tagActive":"table__tagActive_h2sce","menu":"table__menu_h2sce","option":"table__option_h2sce"};
10
+ var styles = {"component":"table__component_1klhb","pagesWrapper":"table__pagesWrapper_1klhb","tag":"table__tag_1klhb","tagActive":"table__tagActive_1klhb","menu":"table__menu_1klhb","option":"table__option_1klhb"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ff4on */
1
+ /* hash: 1orn0 */
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_h2sce {
20
+ .table__component_1klhb {
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_h2sce {
29
+ .table__pagesWrapper_1klhb {
30
30
  display: flex;
31
31
  }
32
- .table__tag_h2sce.table__tag_h2sce {
32
+ .table__tag_1klhb.table__tag_1klhb {
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_h2sce.table__tag_h2sce:last-child {
38
+ .table__tag_1klhb.table__tag_1klhb:last-child {
39
39
  margin-right: 0;
40
40
  }
41
- .table__tag_h2sce.table__tag_h2sce.table__tagActive_h2sce {
41
+ .table__tag_1klhb.table__tag_1klhb.table__tagActive_1klhb {
42
42
  cursor: default;
43
43
  }
44
- .table__menu_h2sce {
44
+ .table__menu_1klhb {
45
45
  margin: var(--gap-2xs) 0;
46
46
  }
47
- .table__option_h2sce {
47
+ .table__option_1klhb {
48
48
  min-width: 208px;
49
49
  }
@@ -1,5 +1,5 @@
1
1
  export { Pagination } from './Component.js';
2
- import '../../tslib.es6-f23f4f59.js';
2
+ import '../../tslib.es6-bd5f37d4.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-pagination/esm';
@@ -1,4 +1,4 @@
1
- /* hash: ttqr7 */
1
+ /* hash: 45513 */
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_w1pjk svg {
13
+ .table__field_jagar svg {
14
14
  width: 18px;
15
15
  height: 18px;
16
16
  }
17
- .table__open_w1pjk,
18
- .table__open_w1pjk:hover {
17
+ .table__open_jagar,
18
+ .table__open_jagar: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-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../../tslib.es6-bd5f37d4.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_w1pjk","open":"table__open_w1pjk"};
6
+ var styles = {"field":"table__field_jagar","open":"table__open_jagar"};
7
7
  require('./index.css')
8
8
 
9
9
  var CustomSelectField = function (_a) {
@@ -17,7 +17,7 @@ type TableProps = TableHTMLAttributes<HTMLTableElement> & {
17
17
  /**
18
18
  * Дочерние компоненты
19
19
  */
20
- children: React.ReactElement[];
20
+ children: React.ReactElement | React.ReactElement[];
21
21
  /**
22
22
  * Оборачивает таблицу в стилизованный контейнер
23
23
  */
@@ -51,7 +51,7 @@ declare const Table: React.ForwardRefExoticComponent<React.TableHTMLAttributes<H
51
51
  /**
52
52
  * Дочерние компоненты
53
53
  */
54
- children: React.ReactElement[];
54
+ children: React.ReactElement | React.ReactElement[];
55
55
  /**
56
56
  * Оборачивает таблицу в стилизованный контейнер
57
57
  */
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.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_joc9a","wrapper":"table__wrapper_joc9a","stickyHeader":"table__stickyHeader_joc9a","hasPagination":"table__hasPagination_joc9a","table":"table__table_joc9a"};
9
+ var styles = {"component":"table__component_dmr54","wrapper":"table__wrapper_dmr54","stickyHeader":"table__stickyHeader_dmr54","hasPagination":"table__hasPagination_dmr54","table":"table__table_dmr54"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: x9kv3 */
1
+ /* hash: 12a8p */
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_joc9a {
21
+ .table__component_dmr54 {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_joc9a {
24
+ .table__wrapper_dmr54 {
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_joc9a {
31
+ .table__stickyHeader_dmr54 {
32
32
  max-height: 100%;
33
33
  }
34
- .table__hasPagination_joc9a {
34
+ .table__hasPagination_dmr54 {
35
35
  padding-bottom: 0;
36
36
  }
37
- .table__table_joc9a {
37
+ .table__table_dmr54 {
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_joc9a td:first-child label > *[class^='box'], .table__table_joc9a th:first-child label > *[class^='box'] {
44
+ .table__table_dmr54 td:first-child label > *[class^='box'], .table__table_dmr54 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-f23f4f59.js';
2
+ import '../../tslib.es6-bd5f37d4.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../table-context/index.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { THeadCellProps } from "../thead-cell/index";
4
- declare function findAllHeadCellsProps(children: React.ReactElement[]): THeadCellProps[];
4
+ declare function findAllHeadCellsProps(children: React.ReactElement | React.ReactElement[]): THeadCellProps[];
5
5
  export { findAllHeadCellsProps };
@@ -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-f23f4f59.js';
4
+ import '../../tslib.es6-bd5f37d4.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-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1l0f1"};
5
+ var styles = {"component":"table__component_1rv8o"};
6
6
  require('./index.css')
7
7
 
8
8
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1yfa5 */
1
+ /* hash: bulqf */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_1l0f1 {
10
+ .table__component_1rv8o {
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-f23f4f59.js';
2
+ import '../../tslib.es6-bd5f37d4.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.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_hr8dv","compactHorizontal":"table__compactHorizontal_hr8dv","compact":"table__compact_hr8dv"};
6
+ var styles = {"component":"table__component_5o25t","compactHorizontal":"table__compactHorizontal_5o25t","compact":"table__compact_5o25t"};
7
7
  require('./index.css')
8
8
 
9
9
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 3owyw */
1
+ /* hash: nf6bz */
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_hr8dv {
20
+ .table__component_5o25t {
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_hr8dv:first-child {
32
+ .table__component_5o25t:first-child {
33
33
  padding-left: var(--gap-m);
34
34
  }
35
- .table__component_hr8dv:last-child {
35
+ .table__component_5o25t:last-child {
36
36
  padding-right: var(--gap-m);
37
37
  }
38
- .table__compactHorizontal_hr8dv {
38
+ .table__compactHorizontal_5o25t {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
41
  }
42
- .table__compact_hr8dv {
42
+ .table__compact_5o25t {
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-f23f4f59.js';
2
+ import '../../tslib.es6-bd5f37d4.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-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.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_1jv87","selected":"table__selected_1jv87","expanded":"table__expanded_1jv87","expandable":"table__expandable_1jv87"};
6
+ var styles = {"row":"table__row_vwzc3","selected":"table__selected_vwzc3","expanded":"table__expanded_vwzc3","expandable":"table__expandable_vwzc3"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 150vu */
1
+ /* hash: 1or57 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_1jv87 {
10
+ .table__row_vwzc3 {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_1jv87.table__expanded_1jv87 {
13
+ .table__selected_vwzc3.table__expanded_vwzc3 {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_1jv87:hover {
16
+ .table__expanded_vwzc3:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_1jv87 td {
19
+ .table__expandable_vwzc3 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-f23f4f59.js';
2
+ import '../../tslib.es6-bd5f37d4.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-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_18r11","row":"table__row_18r11"};
5
+ var styles = {"component":"table__component_1wp9x","row":"table__row_1wp9x"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1u7ux */
1
+ /* hash: 1p772 */
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_18r11 {
16
+ .table__component_1wp9x {
17
17
  position: relative;
18
18
  width: 100%;
19
19
  box-sizing: border-box
20
20
  }
21
- .table__component_18r11 th:not(:last-child):not(:empty):after {
21
+ .table__component_1wp9x 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_18r11 th:after {
33
+ .table__component_1wp9x th:after {
34
34
  opacity: 0;
35
35
  }
36
- .table__component_18r11:hover th:after {
36
+ .table__component_1wp9x:hover th:after {
37
37
  opacity: 1;
38
38
  }
39
- .table__row_18r11 {
39
+ .table__row_1wp9x {
40
40
  height: 72px;
41
41
  }
@@ -1,4 +1,4 @@
1
1
  export { THead } from './Component.js';
2
- import '../../tslib.es6-f23f4f59.js';
2
+ import '../../tslib.es6-bd5f37d4.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-f23f4f59.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.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_123if","sortable":"table__sortable_123if","sorted":"table__sorted_123if","stickyHeader":"table__stickyHeader_123if","compactHorizontal":"table__compactHorizontal_123if"};
6
+ var styles = {"component":"table__component_1xlxi","sortable":"table__sortable_1xlxi","sorted":"table__sorted_1xlxi","stickyHeader":"table__stickyHeader_1xlxi","compactHorizontal":"table__compactHorizontal_1xlxi"};
7
7
  require('./index.css')
8
8
 
9
9
  var THeadCell = function (_a) {