@alfalab/core-components-table 2.2.13 → 2.2.15

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.js +1 -1
  2. package/components/index.js +1 -1
  3. package/components/pagination/Component.js +2 -2
  4. package/components/pagination/index.css +16 -19
  5. package/components/pagination/index.js +1 -1
  6. package/components/pagination/select-field/index.css +12 -8
  7. package/components/pagination/select-field/index.js +2 -2
  8. package/components/table/Component.js +2 -2
  9. package/components/table/index.css +16 -20
  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 +10 -3
  14. package/components/tbody/index.js +1 -1
  15. package/components/tcell/Component.js +2 -2
  16. package/components/tcell/index.css +14 -15
  17. package/components/tcell/index.js +1 -1
  18. package/components/texpandable-row/Component.js +2 -2
  19. package/components/texpandable-row/index.css +13 -9
  20. package/components/texpandable-row/index.js +1 -1
  21. package/components/thead/Component.js +2 -2
  22. package/components/thead/index.css +14 -15
  23. package/components/thead/index.js +1 -1
  24. package/components/thead-cell/Component.js +2 -2
  25. package/components/thead-cell/index.css +16 -19
  26. package/components/thead-cell/index.js +1 -1
  27. package/components/trow/Component.js +2 -2
  28. package/components/trow/index.css +17 -20
  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 +17 -21
  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/cssm/components/pagination/index.module.css +15 -18
  37. package/cssm/components/pagination/select-field/index.module.css +10 -6
  38. package/cssm/components/table/index.module.css +15 -19
  39. package/cssm/components/tbody/index.module.css +9 -2
  40. package/cssm/components/tcell/index.module.css +13 -14
  41. package/cssm/components/texpandable-row/index.module.css +12 -8
  42. package/cssm/components/thead/index.module.css +13 -14
  43. package/cssm/components/thead-cell/index.module.css +15 -18
  44. package/cssm/components/trow/index.module.css +16 -19
  45. package/cssm/components/tsortable-head-cell/index.module.css +16 -20
  46. package/esm/component.js +1 -1
  47. package/esm/components/index.js +1 -1
  48. package/esm/components/pagination/Component.js +2 -2
  49. package/esm/components/pagination/index.css +16 -19
  50. package/esm/components/pagination/index.js +1 -1
  51. package/esm/components/pagination/select-field/index.css +12 -8
  52. package/esm/components/pagination/select-field/index.js +2 -2
  53. package/esm/components/table/Component.js +2 -2
  54. package/esm/components/table/index.css +16 -20
  55. package/esm/components/table/index.js +1 -1
  56. package/esm/components/table/utils.js +1 -1
  57. package/esm/components/tbody/Component.js +2 -2
  58. package/esm/components/tbody/index.css +10 -3
  59. package/esm/components/tbody/index.js +1 -1
  60. package/esm/components/tcell/Component.js +2 -2
  61. package/esm/components/tcell/index.css +14 -15
  62. package/esm/components/tcell/index.js +1 -1
  63. package/esm/components/texpandable-row/Component.js +2 -2
  64. package/esm/components/texpandable-row/index.css +13 -9
  65. package/esm/components/texpandable-row/index.js +1 -1
  66. package/esm/components/thead/Component.js +2 -2
  67. package/esm/components/thead/index.css +14 -15
  68. package/esm/components/thead/index.js +1 -1
  69. package/esm/components/thead-cell/Component.js +2 -2
  70. package/esm/components/thead-cell/index.css +16 -19
  71. package/esm/components/thead-cell/index.js +1 -1
  72. package/esm/components/trow/Component.js +2 -2
  73. package/esm/components/trow/index.css +17 -20
  74. package/esm/components/trow/index.js +1 -1
  75. package/esm/components/tsortable-head-cell/Component.js +2 -2
  76. package/esm/components/tsortable-head-cell/index.css +17 -21
  77. package/esm/components/tsortable-head-cell/index.js +1 -1
  78. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  79. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  80. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  81. package/esm/index.js +1 -1
  82. package/esm/{tslib.es6-bd5f37d4.d.ts → tslib.es6-41061aee.d.ts} +0 -0
  83. package/esm/{tslib.es6-bd5f37d4.js → tslib.es6-41061aee.js} +0 -0
  84. package/index.js +1 -1
  85. package/modern/components/pagination/Component.js +1 -1
  86. package/modern/components/pagination/index.css +16 -19
  87. package/modern/components/pagination/select-field/index.css +12 -8
  88. package/modern/components/pagination/select-field/index.js +1 -1
  89. package/modern/components/table/Component.js +1 -1
  90. package/modern/components/table/index.css +16 -20
  91. package/modern/components/tbody/Component.js +1 -1
  92. package/modern/components/tbody/index.css +10 -3
  93. package/modern/components/tcell/Component.js +1 -1
  94. package/modern/components/tcell/index.css +14 -15
  95. package/modern/components/texpandable-row/Component.js +1 -1
  96. package/modern/components/texpandable-row/index.css +13 -9
  97. package/modern/components/thead/Component.js +1 -1
  98. package/modern/components/thead/index.css +14 -15
  99. package/modern/components/thead-cell/Component.js +1 -1
  100. package/modern/components/thead-cell/index.css +16 -19
  101. package/modern/components/trow/Component.js +1 -1
  102. package/modern/components/trow/index.css +17 -20
  103. package/modern/components/tsortable-head-cell/Component.js +1 -1
  104. package/modern/components/tsortable-head-cell/index.css +17 -21
  105. package/package.json +2 -2
  106. /package/{tslib.es6-de317aa5.d.ts → tslib.es6-0d8c9c3a.d.ts} +0 -0
  107. /package/{tslib.es6-de317aa5.js → tslib.es6-0d8c9c3a.js} +0 -0
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_raasj","withoutBorder":"table__withoutBorder_raasj","clickable":"table__clickable_raasj","selected":"table__selected_raasj"};
5
+ var styles = {"component":"table__component_1u4k9","withoutBorder":"table__withoutBorder_1u4k9","clickable":"table__clickable_1u4k9","selected":"table__selected_1u4k9"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,41 +1,38 @@
1
- /* hash: ufuv5 */
2
- :root {
3
- --color-static-graphic-solitude: #e8f2fe;
4
- }
1
+ /* hash: dmzb9 */
5
2
  :root {
3
+ } /* deprecated */ :root {
6
4
  --color-light-bg-primary: #fff;
7
5
  --color-light-bg-secondary: #f3f4f5;
8
- }
9
- :root {
6
+ } :root {
7
+ --color-static-graphic-solitude: #e8f2fe;
8
+ } :root {
9
+ } :root {
10
10
 
11
11
  /* Hard */
12
12
 
13
13
  /* Up */
14
14
 
15
15
  /* Hard up */
16
- }
17
- .table__component_raasj {
16
+ } :root {
17
+ } :root {
18
+ } :root {
19
+ } :root {
20
+ } .table__component_1u4k9 {
18
21
  padding-top: 1px;
19
22
  width: 100%;
20
23
  transition: background-color 0.2s;
21
24
  box-sizing: border-box;
22
25
  background: var(--color-light-bg-primary)
23
- }
24
- .table__component_raasj:first-child td {
26
+ } .table__component_1u4k9:first-child td {
25
27
  border-top: 0;
26
- }
27
- .table__withoutBorder_raasj td {
28
+ } .table__withoutBorder_1u4k9 td {
28
29
  border: none;
29
- }
30
- .table__clickable_raasj {
30
+ } .table__clickable_1u4k9 {
31
31
  cursor: pointer
32
- }
33
- .table__clickable_raasj:hover {
32
+ } .table__clickable_1u4k9:hover {
34
33
  background-color: var(--color-light-bg-secondary);
35
- }
36
- .table__selected_raasj {
34
+ } .table__selected_1u4k9 {
37
35
  background-color: #f2f8ff /* нет цвета в палитре */
38
- }
39
- .table__selected_raasj:hover {
36
+ } .table__selected_1u4k9:hover {
40
37
  background-color: var(--color-static-graphic-solitude);
41
38
  }
@@ -1,4 +1,4 @@
1
1
  export { TRow } from './Component.js';
2
- import '../../tslib.es6-bd5f37d4.js';
2
+ import '../../tslib.es6-41061aee.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-bd5f37d4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.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_z431r","content":"table__content_z431r","icon":"table__icon_z431r","reverse":"table__reverse_z431r","sorted":"table__sorted_z431r"};
10
+ var styles = {"component":"table__component_eekx6","content":"table__content_eekx6","icon":"table__icon_eekx6","reverse":"table__reverse_eekx6","sorted":"table__sorted_eekx6"};
11
11
  require('./index.css')
12
12
 
13
13
  var TSortableHeadCell = function (_a) {
@@ -1,28 +1,29 @@
1
- /* hash: 50y1n */
1
+ /* hash: 1w40f */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-graphic-link: #007aff;
4
5
  --color-light-graphic-primary: #0b1f35;
5
6
  --color-light-graphic-secondary: #6d7986;
6
- }
7
- :root {
7
+ } :root {
8
+ } :root {
9
+ } :root {
8
10
 
9
11
  /* Hard */
10
12
 
11
13
  /* Up */
12
14
 
13
15
  /* Hard up */
14
- }
15
- :root {
16
+ } :root {
17
+ } :root {
16
18
  --gap-xs: 8px;
17
- }
18
- .table__component_z431r {
19
+ } :root {
20
+ } :root {
21
+ } .table__component_eekx6 {
19
22
  position: relative;
20
- }
21
- .table__content_z431r {
23
+ } .table__content_eekx6 {
22
24
  display: flex;
23
25
  align-items: flex-start;
24
- }
25
- .table__icon_z431r {
26
+ } .table__icon_eekx6 {
26
27
  cursor: pointer;
27
28
  margin-left: var(--gap-xs);
28
29
 
@@ -34,20 +35,15 @@
34
35
  color: var(--color-light-graphic-secondary);
35
36
  transition: color 0.2s ease;
36
37
  flex-shrink: 0
37
- }
38
- .table__icon_z431r:hover {
38
+ } .table__icon_eekx6:hover {
39
39
  color: var(--color-light-graphic-primary);
40
- }
41
- .table__reverse_z431r {
40
+ } .table__reverse_eekx6 {
42
41
  flex-direction: row-reverse
43
- }
44
- .table__reverse_z431r .table__icon_z431r {
42
+ } .table__reverse_eekx6 .table__icon_eekx6 {
45
43
  margin-left: 0;
46
44
  margin-right: var(--gap-xs);
47
- }
48
- .table__sorted_z431r {
45
+ } .table__sorted_eekx6 {
49
46
  color: var(--color-light-graphic-link)
50
- }
51
- .table__sorted_z431r:hover {
47
+ } .table__sorted_eekx6:hover {
52
48
  color: var(--color-light-graphic-link);
53
49
  }
@@ -1,5 +1,5 @@
1
1
  export { TSortableHeadCell } from './Component.js';
2
- import '../../tslib.es6-bd5f37d4.js';
2
+ import '../../tslib.es6-41061aee.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-bd5f37d4.js';
1
+ import { a as __assign } from '../../tslib.es6-41061aee.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-bd5f37d4.js';
1
+ import { a as __assign } from '../../tslib.es6-41061aee.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-bd5f37d4.js';
1
+ import { a as __assign } from '../../tslib.es6-41061aee.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-bd5f37d4.js';
3
+ import './tslib.es6-41061aee.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-de317aa5.js');
5
+ require('./tslib.es6-0d8c9c3a.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./components/table-context/index.js');
@@ -6,7 +6,7 @@ import { TableContext } from '../table-context/index.js';
6
6
  import { CustomSelectField } from './select-field/index.js';
7
7
  import '@alfalab/core-components-button/modern';
8
8
 
9
- const 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"};
9
+ const 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
10
  require('./index.css')
11
11
 
12
12
  const Pagination = ({ perPage = 25, possiblePerPage = [25, 50, 100], onPerPageChange = () => null, pagesCount, onPageChange = () => null, className, dataTestId, ...restPaginationProps }) => {
@@ -1,23 +1,26 @@
1
- /* hash: 1orn0 */
1
+ /* hash: icihu */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-border-primary: #dbdee1;
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- :root {
14
+ } :root {
15
+ } :root {
14
16
  --gap-2xs: 4px;
15
17
  --gap-xs: 8px;
16
18
  --gap-m: 16px;
17
19
  --gap-xl: 24px;
18
20
  --gap-2xl: 32px;
19
- }
20
- .table__component_1klhb {
21
+ } :root {
22
+ } :root {
23
+ } .table__component_17tvl {
21
24
  display: flex;
22
25
  justify-content: space-between;
23
26
  align-items: flex-start;
@@ -25,25 +28,19 @@
25
28
  padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
26
29
  border-top: 1px solid var(--color-light-border-primary);
27
30
  box-sizing: border-box;
28
- }
29
- .table__pagesWrapper_1klhb {
31
+ } .table__pagesWrapper_17tvl {
30
32
  display: flex;
31
- }
32
- .table__tag_1klhb.table__tag_1klhb {
33
+ } .table__tag_17tvl.table__tag_17tvl {
33
34
  flex-shrink: 0;
34
35
  margin-right: var(--gap-xs);
35
36
  padding: 0 var(--gap-xs);
36
37
  min-width: 32px
37
- }
38
- .table__tag_1klhb.table__tag_1klhb:last-child {
38
+ } .table__tag_17tvl.table__tag_17tvl:last-child {
39
39
  margin-right: 0;
40
- }
41
- .table__tag_1klhb.table__tag_1klhb.table__tagActive_1klhb {
40
+ } .table__tag_17tvl.table__tag_17tvl.table__tagActive_17tvl {
42
41
  cursor: default;
43
- }
44
- .table__menu_1klhb {
42
+ } .table__menu_17tvl {
45
43
  margin: var(--gap-2xs) 0;
46
- }
47
- .table__option_1klhb {
44
+ } .table__option_17tvl {
48
45
  min-width: 208px;
49
46
  }
@@ -1,20 +1,24 @@
1
- /* hash: 45513 */
1
+ /* hash: wr4ke */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- .table__field_jagar svg {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
18
+ } .table__field_1msss svg {
14
19
  width: 18px;
15
20
  height: 18px;
16
- }
17
- .table__open_jagar,
18
- .table__open_jagar:hover {
21
+ } .table__open_1msss,
22
+ .table__open_1msss:hover {
19
23
  background-color: var(--color-light-specialbg-component-shade-7);
20
24
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- const styles = {"field":"table__field_jagar","open":"table__open_jagar"};
5
+ const styles = {"field":"table__field_1msss","open":"table__open_1msss"};
6
6
  require('./index.css')
7
7
 
8
8
  const CustomSelectField = ({ selected, innerProps, Arrow, open }) => {
@@ -5,7 +5,7 @@ import { findAllHeadCellsProps } from './utils.js';
5
5
  import '../../utils.js';
6
6
  import '../thead/Component.js';
7
7
 
8
- const styles = {"component":"table__component_dmr54","wrapper":"table__wrapper_dmr54","stickyHeader":"table__stickyHeader_dmr54","hasPagination":"table__hasPagination_dmr54","table":"table__table_dmr54"};
8
+ const styles = {"component":"table__component_1affi","wrapper":"table__wrapper_1affi","stickyHeader":"table__stickyHeader_1affi","hasPagination":"table__hasPagination_1affi","table":"table__table_1affi"};
9
9
  require('./index.css')
10
10
 
11
11
  const Table = forwardRef(({ className, children, compactView = false, compactHorizontal = false, wrapper = true, pagination, dataTestId, stickyHeader = false, ...restProps }, ref) => {
@@ -1,8 +1,10 @@
1
- /* hash: 12a8p */
1
+ /* hash: 106yo */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-primary: #fff;
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
  --shadow-xs-hard: 0 0 4px rgba(11, 31, 53, 0.02), 0 2px 4px rgba(11, 31, 53, 0.04),
@@ -11,36 +13,30 @@
11
13
  /* Up */
12
14
 
13
15
  /* Hard up */
14
- }
15
- :root {
16
- --gap-m: 16px;
17
- }
18
- :root {
16
+ } :root {
19
17
  --border-radius-m: 8px;
20
- }
21
- .table__component_dmr54 {
18
+ } :root {
19
+ --gap-m: 16px;
20
+ } :root {
21
+ } :root {
22
+ } .table__component_1affi {
22
23
  box-sizing: border-box;
23
- }
24
- .table__wrapper_dmr54 {
24
+ } .table__wrapper_1affi {
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
- }
31
- .table__stickyHeader_dmr54 {
30
+ } .table__stickyHeader_1affi {
32
31
  max-height: 100%;
33
- }
34
- .table__hasPagination_dmr54 {
32
+ } .table__hasPagination_1affi {
35
33
  padding-bottom: 0;
36
- }
37
- .table__table_dmr54 {
34
+ } .table__table_1affi {
38
35
  width: 100%;
39
36
  border-collapse: collapse;
40
37
  box-sizing: border-box
41
38
 
42
39
  /* TODO: Хак для выравнивания чекбокса */
43
- }
44
- .table__table_dmr54 td:first-child label > *[class^='box'], .table__table_dmr54 th:first-child label > *[class^='box'] {
40
+ } .table__table_1affi td:first-child label > *[class^='box'], .table__table_1affi th:first-child label > *[class^='box'] {
45
41
  margin-top: 0;
46
42
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1rv8o"};
4
+ const styles = {"component":"table__component_cqe8l"};
5
5
  require('./index.css')
6
6
 
7
7
  const TBody = ({ className, children, dataTestId, ...restProps }) => (React.createElement("tbody", { className: cn(styles.component, className), "data-test-id": dataTestId, ...restProps }, children));
@@ -1,13 +1,20 @@
1
- /* hash: bulqf */
1
+ /* hash: 2bjwg */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- .table__component_1rv8o {
13
+ } :root {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } .table__component_cqe8l {
11
18
  width: 100%;
12
19
  box-sizing: border-box;
13
20
  }
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TableContext } from '../table-context/index.js';
4
4
 
5
- const styles = {"component":"table__component_5o25t","compactHorizontal":"table__compactHorizontal_5o25t","compact":"table__compact_5o25t"};
5
+ const styles = {"component":"table__component_1q197","compactHorizontal":"table__compactHorizontal_1q197","compact":"table__compact_1q197"};
6
6
  require('./index.css')
7
7
 
8
8
  const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
@@ -1,23 +1,26 @@
1
- /* hash: nf6bz */
1
+ /* hash: rj5pz */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-border-primary: #dbdee1;
4
5
  --color-light-text-primary: #0b1f35;
5
- }
6
- :root {
6
+ } :root {
7
+ } :root {
8
+ } :root {
7
9
 
8
10
  /* Hard */
9
11
 
10
12
  /* Up */
11
13
 
12
14
  /* Hard up */
13
- }
14
- :root {
15
+ } :root {
16
+ } :root {
15
17
  --gap-xs: 8px;
16
18
  --gap-s: 12px;
17
19
  --gap-m: 16px;
18
20
  --gap-xl: 24px;
19
- }
20
- .table__component_5o25t {
21
+ } :root {
22
+ } :root {
23
+ } .table__component_1q197 {
21
24
  font-size: 14px;
22
25
  line-height: 20px;
23
26
  font-weight: 400;
@@ -28,18 +31,14 @@
28
31
  border-top: 1px solid var(--color-light-border-primary);
29
32
  vertical-align: top;
30
33
  box-sizing: border-box
31
- }
32
- .table__component_5o25t:first-child {
34
+ } .table__component_1q197:first-child {
33
35
  padding-left: var(--gap-m);
34
- }
35
- .table__component_5o25t:last-child {
36
+ } .table__component_1q197:last-child {
36
37
  padding-right: var(--gap-m);
37
- }
38
- .table__compactHorizontal_5o25t {
38
+ } .table__compactHorizontal_1q197 {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- }
42
- .table__compact_5o25t {
41
+ } .table__compact_1q197 {
43
42
  padding-top: var(--gap-xs);
44
43
  padding-bottom: var(--gap-xs);
45
44
 
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TRow } from '../trow/Component.js';
4
4
 
5
- const styles = {"row":"table__row_vwzc3","selected":"table__selected_vwzc3","expanded":"table__expanded_vwzc3","expandable":"table__expandable_vwzc3"};
5
+ const styles = {"row":"table__row_bl7em","selected":"table__selected_bl7em","expanded":"table__expanded_bl7em","expandable":"table__expandable_bl7em"};
6
6
  require('./index.css')
7
7
 
8
8
  const TExpandableRow = ({ className, selected, expanded, defaultExpanded = false, onToggle = () => null, renderContent = () => null, ...restProps }) => {
@@ -1,22 +1,26 @@
1
- /* hash: 1or57 */
1
+ /* hash: 17y9n */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- .table__row_vwzc3 {
13
+ } :root {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } .table__row_bl7em {
11
18
  cursor: pointer;
12
- }
13
- .table__selected_vwzc3.table__expanded_vwzc3 {
19
+ } .table__selected_bl7em.table__expanded_bl7em {
14
20
  background-color: inherit;
15
- }
16
- .table__expanded_vwzc3:hover {
21
+ } .table__expanded_bl7em:hover {
17
22
  background-color: inherit;
18
- }
19
- .table__expandable_vwzc3 td {
23
+ } .table__expandable_bl7em td {
20
24
  margin: 0;
21
25
  padding-top: 0;
22
26
  padding-bottom: 0;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1wp9x","row":"table__row_1wp9x"};
4
+ const styles = {"component":"table__component_h083g","row":"table__row_h083g"};
5
5
  require('./index.css')
6
6
 
7
7
  const THead = ({ className, rowClassName, children, dataTestId, ...restProps }) => (React.createElement("thead", { className: cn(styles.component, className), "data-test-id": dataTestId, ...restProps },
@@ -1,24 +1,26 @@
1
- /* hash: 1p772 */
1
+ /* hash: 1x58q */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-graphic-quaternary: #dbdee1;
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- :root {
14
+ } :root {
15
+ } :root {
14
16
  --gap-xs: 8px;
15
- }
16
- .table__component_1wp9x {
17
+ } :root {
18
+ } :root {
19
+ } .table__component_h083g {
17
20
  position: relative;
18
21
  width: 100%;
19
22
  box-sizing: border-box
20
- }
21
- .table__component_1wp9x th:not(:last-child):not(:empty):after {
23
+ } .table__component_h083g th:not(:last-child):not(:empty):after {
22
24
  transition: opacity 0.2s;
23
25
  position: absolute;
24
26
  content: '';
@@ -29,13 +31,10 @@
29
31
  top: var(--gap-xs);
30
32
  bottom: var(--gap-xs);
31
33
  background-color: var(--color-light-graphic-quaternary);
32
- }
33
- .table__component_1wp9x th:after {
34
+ } .table__component_h083g th:after {
34
35
  opacity: 0;
35
- }
36
- .table__component_1wp9x:hover th:after {
36
+ } .table__component_h083g:hover th:after {
37
37
  opacity: 1;
38
- }
39
- .table__row_1wp9x {
38
+ } .table__row_h083g {
40
39
  height: 72px;
41
40
  }
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TableContext } from '../table-context/index.js';
4
4
 
5
- const styles = {"component":"table__component_1xlxi","sortable":"table__sortable_1xlxi","sorted":"table__sorted_1xlxi","stickyHeader":"table__stickyHeader_1xlxi","compactHorizontal":"table__compactHorizontal_1xlxi"};
5
+ const styles = {"component":"table__component_1sulo","sortable":"table__sortable_1sulo","sorted":"table__sorted_1sulo","stickyHeader":"table__stickyHeader_1sulo","compactHorizontal":"table__compactHorizontal_1sulo"};
6
6
  require('./index.css')
7
7
 
8
8
  const THeadCell = ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }) => {