@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.
- package/component.js +1 -1
- package/components/index.js +1 -1
- package/components/pagination/Component.js +2 -2
- package/components/pagination/index.css +16 -19
- package/components/pagination/index.js +1 -1
- package/components/pagination/select-field/index.css +12 -8
- package/components/pagination/select-field/index.js +2 -2
- package/components/table/Component.js +2 -2
- package/components/table/index.css +16 -20
- package/components/table/index.js +1 -1
- package/components/table/utils.js +1 -1
- package/components/tbody/Component.js +2 -2
- package/components/tbody/index.css +10 -3
- package/components/tbody/index.js +1 -1
- package/components/tcell/Component.js +2 -2
- package/components/tcell/index.css +14 -15
- package/components/tcell/index.js +1 -1
- package/components/texpandable-row/Component.js +2 -2
- package/components/texpandable-row/index.css +13 -9
- package/components/texpandable-row/index.js +1 -1
- package/components/thead/Component.js +2 -2
- package/components/thead/index.css +14 -15
- package/components/thead/index.js +1 -1
- package/components/thead-cell/Component.js +2 -2
- package/components/thead-cell/index.css +16 -19
- package/components/thead-cell/index.js +1 -1
- package/components/trow/Component.js +2 -2
- package/components/trow/index.css +17 -20
- package/components/trow/index.js +1 -1
- package/components/tsortable-head-cell/Component.js +2 -2
- package/components/tsortable-head-cell/index.css +17 -21
- package/components/tsortable-head-cell/index.js +1 -1
- package/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/cssm/components/pagination/index.module.css +15 -18
- package/cssm/components/pagination/select-field/index.module.css +10 -6
- package/cssm/components/table/index.module.css +15 -19
- package/cssm/components/tbody/index.module.css +9 -2
- package/cssm/components/tcell/index.module.css +13 -14
- package/cssm/components/texpandable-row/index.module.css +12 -8
- package/cssm/components/thead/index.module.css +13 -14
- package/cssm/components/thead-cell/index.module.css +15 -18
- package/cssm/components/trow/index.module.css +16 -19
- package/cssm/components/tsortable-head-cell/index.module.css +16 -20
- package/esm/component.js +1 -1
- package/esm/components/index.js +1 -1
- package/esm/components/pagination/Component.js +2 -2
- package/esm/components/pagination/index.css +16 -19
- package/esm/components/pagination/index.js +1 -1
- package/esm/components/pagination/select-field/index.css +12 -8
- package/esm/components/pagination/select-field/index.js +2 -2
- package/esm/components/table/Component.js +2 -2
- package/esm/components/table/index.css +16 -20
- package/esm/components/table/index.js +1 -1
- package/esm/components/table/utils.js +1 -1
- package/esm/components/tbody/Component.js +2 -2
- package/esm/components/tbody/index.css +10 -3
- package/esm/components/tbody/index.js +1 -1
- package/esm/components/tcell/Component.js +2 -2
- package/esm/components/tcell/index.css +14 -15
- package/esm/components/tcell/index.js +1 -1
- package/esm/components/texpandable-row/Component.js +2 -2
- package/esm/components/texpandable-row/index.css +13 -9
- package/esm/components/texpandable-row/index.js +1 -1
- package/esm/components/thead/Component.js +2 -2
- package/esm/components/thead/index.css +14 -15
- package/esm/components/thead/index.js +1 -1
- package/esm/components/thead-cell/Component.js +2 -2
- package/esm/components/thead-cell/index.css +16 -19
- package/esm/components/thead-cell/index.js +1 -1
- package/esm/components/trow/Component.js +2 -2
- package/esm/components/trow/index.css +17 -20
- package/esm/components/trow/index.js +1 -1
- package/esm/components/tsortable-head-cell/Component.js +2 -2
- package/esm/components/tsortable-head-cell/index.css +17 -21
- package/esm/components/tsortable-head-cell/index.js +1 -1
- package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/esm/index.js +1 -1
- package/esm/{tslib.es6-bd5f37d4.d.ts → tslib.es6-41061aee.d.ts} +0 -0
- package/esm/{tslib.es6-bd5f37d4.js → tslib.es6-41061aee.js} +0 -0
- package/index.js +1 -1
- package/modern/components/pagination/Component.js +1 -1
- package/modern/components/pagination/index.css +16 -19
- package/modern/components/pagination/select-field/index.css +12 -8
- package/modern/components/pagination/select-field/index.js +1 -1
- package/modern/components/table/Component.js +1 -1
- package/modern/components/table/index.css +16 -20
- package/modern/components/tbody/Component.js +1 -1
- package/modern/components/tbody/index.css +10 -3
- package/modern/components/tcell/Component.js +1 -1
- package/modern/components/tcell/index.css +14 -15
- package/modern/components/texpandable-row/Component.js +1 -1
- package/modern/components/texpandable-row/index.css +13 -9
- package/modern/components/thead/Component.js +1 -1
- package/modern/components/thead/index.css +14 -15
- package/modern/components/thead-cell/Component.js +1 -1
- package/modern/components/thead-cell/index.css +16 -19
- package/modern/components/trow/Component.js +1 -1
- package/modern/components/trow/index.css +17 -20
- package/modern/components/tsortable-head-cell/Component.js +1 -1
- package/modern/components/tsortable-head-cell/index.css +17 -21
- package/package.json +2 -2
- /package/{tslib.es6-de317aa5.d.ts → tslib.es6-0d8c9c3a.d.ts} +0 -0
- /package/{tslib.es6-de317aa5.js → tslib.es6-0d8c9c3a.js} +0 -0
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
2
3
|
--color-light-graphic-link: #007aff;
|
|
3
4
|
--color-light-graphic-primary: #0b1f35;
|
|
4
5
|
--color-light-graphic-secondary: #6d7986;
|
|
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
|
-
}
|
|
17
|
-
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} .component {
|
|
18
21
|
position: relative;
|
|
19
|
-
}
|
|
20
|
-
.content {
|
|
22
|
+
} .content {
|
|
21
23
|
display: flex;
|
|
22
24
|
align-items: flex-start;
|
|
23
|
-
}
|
|
24
|
-
.icon {
|
|
25
|
+
} .icon {
|
|
25
26
|
cursor: pointer;
|
|
26
27
|
margin-left: var(--gap-xs);
|
|
27
28
|
|
|
@@ -33,20 +34,15 @@
|
|
|
33
34
|
color: var(--color-light-graphic-secondary);
|
|
34
35
|
transition: color 0.2s ease;
|
|
35
36
|
flex-shrink: 0
|
|
36
|
-
}
|
|
37
|
-
.icon:hover {
|
|
37
|
+
} .icon:hover {
|
|
38
38
|
color: var(--color-light-graphic-primary);
|
|
39
|
-
}
|
|
40
|
-
.reverse {
|
|
39
|
+
} .reverse {
|
|
41
40
|
flex-direction: row-reverse
|
|
42
|
-
}
|
|
43
|
-
.reverse .icon {
|
|
41
|
+
} .reverse .icon {
|
|
44
42
|
margin-left: 0;
|
|
45
43
|
margin-right: var(--gap-xs);
|
|
46
|
-
}
|
|
47
|
-
.sorted {
|
|
44
|
+
} .sorted {
|
|
48
45
|
color: var(--color-light-graphic-link)
|
|
49
|
-
}
|
|
50
|
-
.sorted:hover {
|
|
46
|
+
} .sorted:hover {
|
|
51
47
|
color: var(--color-light-graphic-link);
|
|
52
48
|
}
|
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-
|
|
10
|
+
import './tslib.es6-41061aee.js';
|
|
11
11
|
import 'react';
|
|
12
12
|
import 'classnames';
|
|
13
13
|
import './components/table-context/index.js';
|
package/esm/components/index.js
CHANGED
|
@@ -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-
|
|
10
|
+
import '../tslib.es6-41061aee.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-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.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":"
|
|
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"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
var Pagination = function (_a) {
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} .table__field_1msss svg {
|
|
14
19
|
width: 18px;
|
|
15
20
|
height: 18px;
|
|
16
|
-
}
|
|
17
|
-
.
|
|
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
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../../tslib.es6-
|
|
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
|
import { Button } from '@alfalab/core-components-button/esm';
|
|
5
5
|
|
|
6
|
-
var styles = {"field":"
|
|
6
|
+
var styles = {"field":"table__field_1msss","open":"table__open_1msss"};
|
|
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-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.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":"
|
|
9
|
+
var styles = {"component":"table__component_1affi","wrapper":"table__wrapper_1affi","stickyHeader":"table__stickyHeader_1affi","hasPagination":"table__hasPagination_1affi","table":"table__table_1affi"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var Table = forwardRef(function (_a, ref) {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
/* hash:
|
|
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
|
-
|
|
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 { isChildInstanceOf } from '../../utils.js';
|
|
3
3
|
import { THead } from '../thead/Component.js';
|
|
4
|
-
import '../../tslib.es6-
|
|
4
|
+
import '../../tslib.es6-41061aee.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-
|
|
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":"
|
|
5
|
+
var styles = {"component":"table__component_cqe8l"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var TBody = function (_a) {
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
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
|
-
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} .table__component_cqe8l {
|
|
11
18
|
width: 100%;
|
|
12
19
|
box-sizing: border-box;
|
|
13
20
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.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":"
|
|
6
|
+
var styles = {"component":"table__component_1q197","compactHorizontal":"table__compactHorizontal_1q197","compact":"table__compact_1q197"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var TCell = function (_a) {
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
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
|
-
|
|
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
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.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":"
|
|
6
|
+
var styles = {"row":"table__row_bl7em","selected":"table__selected_bl7em","expanded":"table__expanded_bl7em","expandable":"table__expandable_bl7em"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var TExpandableRow = function (_a) {
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
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
|
-
|
|
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,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
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":"
|
|
5
|
+
var styles = {"component":"table__component_h083g","row":"table__row_h083g"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var THead = function (_a) {
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
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
|
-
|
|
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
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-41061aee.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":"
|
|
6
|
+
var styles = {"component":"table__component_1sulo","sortable":"table__sortable_1sulo","sorted":"table__sorted_1sulo","stickyHeader":"table__stickyHeader_1sulo","compactHorizontal":"table__compactHorizontal_1sulo"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var THeadCell = function (_a) {
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 560t5 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-bg-primary: #fff;
|
|
4
5
|
--color-light-border-primary: #dbdee1;
|
|
5
6
|
--color-light-text-primary: #0b1f35;
|
|
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-2xs: 4px;
|
|
17
19
|
--gap-s: 12px;
|
|
18
20
|
--gap-m: 16px;
|
|
19
21
|
--gap-2xl: 32px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
+
} :root {
|
|
23
|
+
} :root {
|
|
24
|
+
} .table__component_1sulo {
|
|
22
25
|
font-size: 12px;
|
|
23
26
|
line-height: 16px;
|
|
24
27
|
font-weight: 500;
|
|
@@ -34,27 +37,21 @@
|
|
|
34
37
|
background: var(--color-light-bg-primary);
|
|
35
38
|
vertical-align: top;
|
|
36
39
|
box-sizing: border-box
|
|
37
|
-
}
|
|
38
|
-
.table__component_1xlxi:first-child {
|
|
40
|
+
} .table__component_1sulo:first-child {
|
|
39
41
|
padding-left: var(--gap-m);
|
|
40
|
-
}
|
|
41
|
-
.table__component_1xlxi:last-child {
|
|
42
|
+
} .table__component_1sulo:last-child {
|
|
42
43
|
padding-right: var(--gap-m);
|
|
43
|
-
}
|
|
44
|
-
.table__sortable_1xlxi {
|
|
44
|
+
} .table__sortable_1sulo {
|
|
45
45
|
cursor: pointer;
|
|
46
|
-
}
|
|
47
|
-
.table__sorted_1xlxi {
|
|
46
|
+
} .table__sorted_1sulo {
|
|
48
47
|
color: var(--color-light-text-primary);
|
|
49
|
-
}
|
|
50
|
-
.table__stickyHeader_1xlxi {
|
|
48
|
+
} .table__stickyHeader_1sulo {
|
|
51
49
|
top: 0;
|
|
52
50
|
position: sticky;
|
|
53
51
|
box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
|
|
54
52
|
border: none;
|
|
55
53
|
z-index: 1;
|
|
56
|
-
}
|
|
57
|
-
.table__compactHorizontal_1xlxi {
|
|
54
|
+
} .table__compactHorizontal_1sulo {
|
|
58
55
|
padding-left: 6px;
|
|
59
56
|
padding-right: 6px;
|
|
60
57
|
}
|