@alfalab/core-components-table 1.6.1 → 1.6.4
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/CHANGELOG.md +351 -0
- package/{component.d.ts → dist/component.d.ts} +0 -0
- package/{component.js → dist/component.js} +1 -1
- package/{components → dist/components}/index.d.ts +0 -0
- package/{components → dist/components}/index.js +1 -1
- package/{components → dist/components}/pagination/Component.d.ts +0 -0
- package/{components → dist/components}/pagination/Component.js +2 -2
- package/{components → dist/components}/pagination/index.css +8 -8
- package/{components → dist/components}/pagination/index.d.ts +0 -0
- package/{components → dist/components}/pagination/index.js +1 -1
- package/{esm → dist}/components/pagination/select-field/index.css +4 -4
- package/{components → dist/components}/pagination/select-field/index.d.ts +0 -0
- package/{components → dist/components}/pagination/select-field/index.js +2 -2
- package/{components → dist/components}/table/Component.d.ts +0 -0
- package/{components → dist/components}/table/Component.js +2 -2
- package/{components → dist/components}/table/index.css +6 -6
- package/{components → dist/components}/table/index.d.ts +0 -0
- package/{components → dist/components}/table/index.js +1 -1
- package/{components → dist/components}/table/utils.d.ts +0 -0
- package/{components → dist/components}/table/utils.js +1 -1
- package/{components → dist/components}/table-context/index.d.ts +0 -0
- package/{components → dist/components}/table-context/index.js +0 -0
- package/{components → dist/components}/tbody/Component.d.ts +0 -0
- package/{components → dist/components}/tbody/Component.js +2 -2
- package/{modern → dist}/components/tbody/index.css +2 -2
- package/{components → dist/components}/tbody/index.d.ts +0 -0
- package/{components → dist/components}/tbody/index.js +1 -1
- package/{components → dist/components}/tcell/Component.d.ts +0 -0
- package/{components → dist/components}/tcell/Component.js +2 -2
- package/{esm → dist}/components/tcell/index.css +4 -4
- package/{components → dist/components}/tcell/index.d.ts +0 -0
- package/{components → dist/components}/tcell/index.js +1 -1
- package/{components → dist/components}/texpandable-row/Component.d.ts +0 -0
- package/{components → dist/components}/texpandable-row/Component.js +2 -2
- package/{components → dist/components}/texpandable-row/index.css +5 -5
- package/{components → dist/components}/texpandable-row/index.d.ts +0 -0
- package/{components → dist/components}/texpandable-row/index.js +1 -1
- package/{components → dist/components}/thead/Component.d.ts +0 -0
- package/{components → dist/components}/thead/Component.js +2 -2
- package/{components → dist/components}/thead/index.css +6 -6
- package/{components → dist/components}/thead/index.d.ts +0 -0
- package/{components → dist/components}/thead/index.js +1 -1
- package/{components → dist/components}/thead-cell/Component.d.ts +0 -0
- package/{components → dist/components}/thead-cell/Component.js +2 -2
- package/{esm → dist}/components/thead-cell/index.css +5 -5
- package/{components → dist/components}/thead-cell/index.d.ts +0 -0
- package/{components → dist/components}/thead-cell/index.js +1 -1
- package/{components → dist/components}/trow/Component.d.ts +0 -0
- package/{components → dist/components}/trow/Component.js +2 -2
- package/{modern → dist}/components/trow/index.css +8 -8
- package/{components → dist/components}/trow/index.d.ts +0 -0
- package/{components → dist/components}/trow/index.js +1 -1
- package/{components → dist/components}/tsortable-head-cell/Component.d.ts +0 -0
- package/{components → dist/components}/tsortable-head-cell/Component.js +2 -2
- package/{components → dist/components}/tsortable-head-cell/index.css +9 -9
- package/{components → dist/components}/tsortable-head-cell/index.d.ts +0 -0
- package/{components → dist/components}/tsortable-head-cell/index.js +1 -1
- package/{components → dist/components}/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
- package/{components → dist/components}/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/{components → dist/components}/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
- package/{components → dist/components}/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/{components → dist/components}/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
- package/{components → dist/components}/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/{cssm → dist/cssm}/component.d.ts +0 -0
- package/{cssm → dist/cssm}/component.js +3 -3
- package/{cssm → dist/cssm}/components/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/index.js +3 -3
- package/{cssm → dist/cssm}/components/pagination/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/pagination/Component.js +3 -3
- package/{cssm → dist/cssm}/components/pagination/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/pagination/index.js +3 -3
- package/{cssm → dist/cssm}/components/pagination/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/pagination/select-field/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/pagination/select-field/index.js +1 -1
- package/{cssm → dist/cssm}/components/pagination/select-field/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/table/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/table/Component.js +0 -0
- package/{cssm → dist/cssm}/components/table/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/table/index.js +0 -0
- package/{cssm → dist/cssm}/components/table/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/table/utils.d.ts +0 -0
- package/{cssm → dist/cssm}/components/table/utils.js +0 -0
- package/{cssm → dist/cssm}/components/table-context/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/table-context/index.js +0 -0
- package/{cssm → dist/cssm}/components/tbody/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tbody/Component.js +0 -0
- package/{cssm → dist/cssm}/components/tbody/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tbody/index.js +0 -0
- package/{cssm → dist/cssm}/components/tbody/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/tcell/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tcell/Component.js +0 -0
- package/{cssm → dist/cssm}/components/tcell/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tcell/index.js +0 -0
- package/{cssm → dist/cssm}/components/tcell/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/texpandable-row/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/texpandable-row/Component.js +0 -0
- package/{cssm → dist/cssm}/components/texpandable-row/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/texpandable-row/index.js +0 -0
- package/{cssm → dist/cssm}/components/texpandable-row/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/thead/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/thead/Component.js +0 -0
- package/{cssm → dist/cssm}/components/thead/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/thead/index.js +0 -0
- package/{cssm → dist/cssm}/components/thead/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/thead-cell/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/thead-cell/Component.js +0 -0
- package/{cssm → dist/cssm}/components/thead-cell/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/thead-cell/index.js +0 -0
- package/{cssm → dist/cssm}/components/thead-cell/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/trow/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/trow/Component.js +0 -0
- package/{cssm → dist/cssm}/components/trow/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/trow/index.js +0 -0
- package/{cssm → dist/cssm}/components/trow/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/Component.js +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/index.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/index.js +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/sort-icon-asc.js +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/sort-icon-desc.js +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
- package/{cssm → dist/cssm}/components/tsortable-head-cell/sort-icon-unset.js +0 -0
- package/{cssm → dist/cssm}/index.d.ts +0 -0
- package/{cssm → dist/cssm}/index.js +3 -3
- package/{cssm → dist/cssm}/tslib.es6-ce870b46.d.ts +0 -0
- package/{cssm → dist/cssm}/tslib.es6-ce870b46.js +0 -0
- package/{cssm → dist/cssm}/typings.d.ts +0 -0
- package/{cssm → dist/cssm}/typings.js +0 -0
- package/{cssm → dist/cssm}/utils.d.ts +0 -0
- package/{cssm → dist/cssm}/utils.js +0 -0
- package/{esm → dist/esm}/component.d.ts +0 -0
- package/{esm → dist/esm}/component.js +4 -4
- package/{esm → dist/esm}/components/index.d.ts +0 -0
- package/{esm → dist/esm}/components/index.js +4 -4
- package/{esm → dist/esm}/components/pagination/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/pagination/Component.js +5 -5
- package/{esm → dist/esm}/components/pagination/index.css +8 -8
- package/{esm → dist/esm}/components/pagination/index.d.ts +0 -0
- package/dist/esm/components/pagination/index.js +9 -0
- package/{components → dist/esm/components}/pagination/select-field/index.css +4 -4
- package/{esm → dist/esm}/components/pagination/select-field/index.d.ts +0 -0
- package/{esm → dist/esm}/components/pagination/select-field/index.js +3 -3
- package/{esm → dist/esm}/components/table/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/table/Component.js +2 -2
- package/{modern → dist/esm}/components/table/index.css +6 -6
- package/{esm → dist/esm}/components/table/index.d.ts +0 -0
- package/{esm → dist/esm}/components/table/index.js +1 -1
- package/{esm → dist/esm}/components/table/utils.d.ts +0 -0
- package/{esm → dist/esm}/components/table/utils.js +1 -1
- package/{esm → dist/esm}/components/table-context/index.d.ts +0 -0
- package/{esm → dist/esm}/components/table-context/index.js +0 -0
- package/{esm → dist/esm}/components/tbody/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/tbody/Component.js +2 -2
- package/{esm → dist/esm}/components/tbody/index.css +2 -2
- package/{esm → dist/esm}/components/tbody/index.d.ts +0 -0
- package/{esm → dist/esm}/components/tbody/index.js +1 -1
- package/{esm → dist/esm}/components/tcell/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/tcell/Component.js +2 -2
- package/{components → dist/esm/components}/tcell/index.css +4 -4
- package/{esm → dist/esm}/components/tcell/index.d.ts +0 -0
- package/{esm → dist/esm}/components/tcell/index.js +1 -1
- package/{esm → dist/esm}/components/texpandable-row/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/texpandable-row/Component.js +2 -2
- package/{esm → dist/esm}/components/texpandable-row/index.css +5 -5
- package/{esm → dist/esm}/components/texpandable-row/index.d.ts +0 -0
- package/{esm → dist/esm}/components/texpandable-row/index.js +1 -1
- package/{esm → dist/esm}/components/thead/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/thead/Component.js +2 -2
- package/{modern → dist/esm}/components/thead/index.css +6 -6
- package/{esm → dist/esm}/components/thead/index.d.ts +0 -0
- package/{esm → dist/esm}/components/thead/index.js +1 -1
- package/{esm → dist/esm}/components/thead-cell/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/thead-cell/Component.js +2 -2
- package/{components → dist/esm/components}/thead-cell/index.css +5 -5
- package/{esm → dist/esm}/components/thead-cell/index.d.ts +0 -0
- package/{esm → dist/esm}/components/thead-cell/index.js +1 -1
- package/{esm → dist/esm}/components/trow/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/trow/Component.js +2 -2
- package/{esm → dist/esm}/components/trow/index.css +8 -8
- package/{esm → dist/esm}/components/trow/index.d.ts +0 -0
- package/{esm → dist/esm}/components/trow/index.js +1 -1
- package/{esm → dist/esm}/components/tsortable-head-cell/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/tsortable-head-cell/Component.js +2 -2
- package/{esm → dist/esm}/components/tsortable-head-cell/index.css +9 -9
- package/{esm → dist/esm}/components/tsortable-head-cell/index.d.ts +0 -0
- package/{esm → dist/esm}/components/tsortable-head-cell/index.js +1 -1
- package/{esm → dist/esm}/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
- package/{esm → dist/esm}/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/{esm → dist/esm}/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
- package/{esm → dist/esm}/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/{esm → dist/esm}/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
- package/{esm → dist/esm}/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/{esm → dist/esm}/index.d.ts +0 -0
- package/{esm → dist/esm}/index.js +4 -4
- package/{esm/tslib.es6-a59291d1.d.ts → dist/esm/tslib.es6-9c7fa967.d.ts} +0 -0
- package/{esm/tslib.es6-a59291d1.js → dist/esm/tslib.es6-9c7fa967.js} +0 -0
- package/{esm → dist/esm}/typings.d.ts +0 -0
- package/{esm → dist/esm}/typings.js +0 -0
- package/{esm → dist/esm}/utils.d.ts +0 -0
- package/{esm → dist/esm}/utils.js +0 -0
- package/{index.d.ts → dist/index.d.ts} +0 -0
- package/{index.js → dist/index.js} +1 -1
- package/{modern → dist/modern}/component.d.ts +0 -0
- package/{modern → dist/modern}/component.js +3 -3
- package/{modern → dist/modern}/components/index.d.ts +0 -0
- package/{modern → dist/modern}/components/index.js +3 -3
- package/{modern → dist/modern}/components/pagination/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/pagination/Component.js +4 -4
- package/{modern → dist/modern}/components/pagination/index.css +8 -8
- package/{modern → dist/modern}/components/pagination/index.d.ts +0 -0
- package/dist/modern/components/pagination/index.js +8 -0
- package/{modern → dist/modern}/components/pagination/select-field/index.css +4 -4
- package/{modern → dist/modern}/components/pagination/select-field/index.d.ts +0 -0
- package/{modern → dist/modern}/components/pagination/select-field/index.js +2 -2
- package/{modern → dist/modern}/components/table/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/table/Component.js +1 -1
- package/{esm → dist/modern}/components/table/index.css +6 -6
- package/{modern → dist/modern}/components/table/index.d.ts +0 -0
- package/{modern → dist/modern}/components/table/index.js +0 -0
- package/{modern → dist/modern}/components/table/utils.d.ts +0 -0
- package/{modern → dist/modern}/components/table/utils.js +0 -0
- package/{modern → dist/modern}/components/table-context/index.d.ts +0 -0
- package/{modern → dist/modern}/components/table-context/index.js +0 -0
- package/{modern → dist/modern}/components/tbody/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/tbody/Component.js +1 -1
- package/{components → dist/modern/components}/tbody/index.css +2 -2
- package/{modern → dist/modern}/components/tbody/index.d.ts +0 -0
- package/{modern → dist/modern}/components/tbody/index.js +0 -0
- package/{modern → dist/modern}/components/tcell/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/tcell/Component.js +1 -1
- package/{modern → dist/modern}/components/tcell/index.css +4 -4
- package/{modern → dist/modern}/components/tcell/index.d.ts +0 -0
- package/{modern → dist/modern}/components/tcell/index.js +0 -0
- package/{modern → dist/modern}/components/texpandable-row/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/texpandable-row/Component.js +1 -1
- package/{modern → dist/modern}/components/texpandable-row/index.css +5 -5
- package/{modern → dist/modern}/components/texpandable-row/index.d.ts +0 -0
- package/{modern → dist/modern}/components/texpandable-row/index.js +0 -0
- package/{modern → dist/modern}/components/thead/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/thead/Component.js +1 -1
- package/{esm → dist/modern}/components/thead/index.css +6 -6
- package/{modern → dist/modern}/components/thead/index.d.ts +0 -0
- package/{modern → dist/modern}/components/thead/index.js +0 -0
- package/{modern → dist/modern}/components/thead-cell/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/thead-cell/Component.js +1 -1
- package/{modern → dist/modern}/components/thead-cell/index.css +5 -5
- package/{modern → dist/modern}/components/thead-cell/index.d.ts +0 -0
- package/{modern → dist/modern}/components/thead-cell/index.js +0 -0
- package/{modern → dist/modern}/components/trow/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/trow/Component.js +1 -1
- package/{components → dist/modern/components}/trow/index.css +8 -8
- package/{modern → dist/modern}/components/trow/index.d.ts +0 -0
- package/{modern → dist/modern}/components/trow/index.js +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/Component.js +1 -1
- package/{modern → dist/modern}/components/tsortable-head-cell/index.css +9 -9
- package/{modern → dist/modern}/components/tsortable-head-cell/index.d.ts +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/index.js +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/sort-icon-asc.js +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/sort-icon-desc.js +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -0
- package/{modern → dist/modern}/components/tsortable-head-cell/sort-icon-unset.js +0 -0
- package/{modern → dist/modern}/index.d.ts +0 -0
- package/{modern → dist/modern}/index.js +3 -3
- package/{modern → dist/modern}/typings.d.ts +0 -0
- package/{modern → dist/modern}/typings.js +0 -0
- package/{modern → dist/modern}/utils.d.ts +0 -0
- package/{modern → dist/modern}/utils.js +0 -0
- package/{send-stats.js → dist/send-stats.js} +0 -0
- package/{tslib.es6-4d964bfd.d.ts → dist/tslib.es6-b2714866.d.ts} +0 -0
- package/{tslib.es6-4d964bfd.js → dist/tslib.es6-b2714866.js} +0 -0
- package/{typings.d.ts → dist/typings.d.ts} +0 -0
- package/{typings.js → dist/typings.js} +0 -0
- package/{utils.d.ts → dist/utils.d.ts} +0 -0
- package/{utils.js → dist/utils.js} +0 -0
- package/package.json +12 -9
- package/esm/components/pagination/index.js +0 -9
- package/modern/components/pagination/index.js +0 -8
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-9c7fa967.js';
|
|
2
2
|
import React, { useMemo } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { THeadCell } from '../thead-cell/Component.js';
|
|
@@ -6,7 +6,7 @@ import { SortIconAsc } from './sort-icon-asc.js';
|
|
|
6
6
|
import { SortIconDesc } from './sort-icon-desc.js';
|
|
7
7
|
import { SortIconUnset } from './sort-icon-unset.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"
|
|
9
|
+
var styles = {"component":"table__component_130oh","content":"table__content_130oh","icon":"table__icon_130oh","reverse":"table__reverse_130oh","sorted":"table__sorted_130oh"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var TSortableHeadCell = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yzkjf */
|
|
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
|
-
.
|
|
18
|
+
.table__component_130oh {
|
|
19
19
|
position: relative;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.table__content_130oh {
|
|
22
22
|
display: flex;
|
|
23
23
|
align-items: flex-start;
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.table__icon_130oh {
|
|
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
|
-
.
|
|
38
|
+
.table__icon_130oh:hover {
|
|
39
39
|
color: var(--color-light-graphic-primary);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.table__reverse_130oh {
|
|
42
42
|
flex-direction: row-reverse
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.table__reverse_130oh .table__icon_130oh {
|
|
45
45
|
margin-left: 0;
|
|
46
46
|
margin-right: var(--gap-xs);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.table__sorted_130oh {
|
|
49
49
|
color: var(--color-light-graphic-link)
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.table__sorted_130oh:hover {
|
|
52
52
|
color: var(--color-light-graphic-link);
|
|
53
53
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-9c7fa967.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),
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-9c7fa967.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),
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-9c7fa967.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),
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-9c7fa967.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import './components/thead/Component.js';
|
|
@@ -6,9 +6,9 @@ import './utils.js';
|
|
|
6
6
|
import './components/table/utils.js';
|
|
7
7
|
import './components/table-context/index.js';
|
|
8
8
|
import './components/table/Component.js';
|
|
9
|
-
import '@alfalab/core-components-select/esm';
|
|
10
|
-
import '@alfalab/core-components-pagination/esm';
|
|
11
|
-
import '@alfalab/core-components-button/esm';
|
|
9
|
+
import '@alfalab/core-components-select/dist/esm';
|
|
10
|
+
import '@alfalab/core-components-pagination/dist/esm';
|
|
11
|
+
import '@alfalab/core-components-button/dist/esm';
|
|
12
12
|
import './components/pagination/select-field/index.js';
|
|
13
13
|
import './components/pagination/Component.js';
|
|
14
14
|
import './components/thead-cell/Component.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,9 +5,9 @@ import './utils.js';
|
|
|
5
5
|
import './components/table/utils.js';
|
|
6
6
|
import './components/table-context/index.js';
|
|
7
7
|
import { Table as Table$1 } from './components/table/Component.js';
|
|
8
|
-
import '@alfalab/core-components-select/modern';
|
|
9
|
-
import '@alfalab/core-components-pagination/modern';
|
|
10
|
-
import '@alfalab/core-components-button/modern';
|
|
8
|
+
import '@alfalab/core-components-select/dist/modern';
|
|
9
|
+
import '@alfalab/core-components-pagination/dist/modern';
|
|
10
|
+
import '@alfalab/core-components-button/dist/modern';
|
|
11
11
|
import './components/pagination/select-field/index.js';
|
|
12
12
|
import { Pagination } from './components/pagination/Component.js';
|
|
13
13
|
import { THeadCell } from './components/thead-cell/Component.js';
|
|
File without changes
|
|
@@ -5,9 +5,9 @@ import '../utils.js';
|
|
|
5
5
|
import './table/utils.js';
|
|
6
6
|
import './table-context/index.js';
|
|
7
7
|
export { Table } from './table/Component.js';
|
|
8
|
-
import '@alfalab/core-components-select/modern';
|
|
9
|
-
import '@alfalab/core-components-pagination/modern';
|
|
10
|
-
import '@alfalab/core-components-button/modern';
|
|
8
|
+
import '@alfalab/core-components-select/dist/modern';
|
|
9
|
+
import '@alfalab/core-components-pagination/dist/modern';
|
|
10
|
+
import '@alfalab/core-components-button/dist/modern';
|
|
11
11
|
import './pagination/select-field/index.js';
|
|
12
12
|
export { Pagination } from './pagination/Component.js';
|
|
13
13
|
export { THeadCell } from './thead-cell/Component.js';
|
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { useContext, useMemo, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { TableContext } from '../table-context/index.js';
|
|
4
|
-
import { Select } from '@alfalab/core-components-select/modern';
|
|
5
|
-
import { Pagination as Pagination$1 } from '@alfalab/core-components-pagination/modern';
|
|
6
|
-
import '@alfalab/core-components-button/modern';
|
|
4
|
+
import { Select } from '@alfalab/core-components-select/dist/modern';
|
|
5
|
+
import { Pagination as Pagination$1 } from '@alfalab/core-components-pagination/dist/modern';
|
|
6
|
+
import '@alfalab/core-components-button/dist/modern';
|
|
7
7
|
import { CustomSelectField } from './select-field/index.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"
|
|
9
|
+
var styles = {"component":"table__component_1wk9i","pagesWrapper":"table__pagesWrapper_1wk9i","tag":"table__tag_1wk9i","tagActive":"table__tagActive_1wk9i","menu":"table__menu_1wk9i","option":"table__option_1wk9i"};
|
|
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,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 10wpe */
|
|
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
|
-
.
|
|
20
|
+
.table__component_1wk9i {
|
|
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
|
-
.
|
|
29
|
+
.table__pagesWrapper_1wk9i {
|
|
30
30
|
display: flex;
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.table__tag_1wk9i.table__tag_1wk9i {
|
|
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
|
-
.
|
|
38
|
+
.table__tag_1wk9i.table__tag_1wk9i:last-child {
|
|
39
39
|
margin-right: 0;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.table__tag_1wk9i.table__tag_1wk9i.table__tagActive_1wk9i {
|
|
42
42
|
cursor: default;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.table__menu_1wk9i {
|
|
45
45
|
margin: var(--gap-2xs) 0;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.table__option_1wk9i {
|
|
48
48
|
min-width: 208px;
|
|
49
49
|
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import 'classnames';
|
|
3
|
+
import '../table-context/index.js';
|
|
4
|
+
import '@alfalab/core-components-select/dist/modern';
|
|
5
|
+
import '@alfalab/core-components-pagination/dist/modern';
|
|
6
|
+
import '@alfalab/core-components-button/dist/modern';
|
|
7
|
+
import './select-field/index.js';
|
|
8
|
+
export { Pagination } from './Component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1f56c */
|
|
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
|
-
.
|
|
13
|
+
.table__field_1syco svg {
|
|
14
14
|
width: 18px;
|
|
15
15
|
height: 18px;
|
|
16
16
|
}
|
|
17
|
-
.
|
|
18
|
-
.
|
|
17
|
+
.table__open_1syco,
|
|
18
|
+
.table__open_1syco:hover {
|
|
19
19
|
background-color: var(--color-light-specialbg-component-shade-7);
|
|
20
20
|
}
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { Button } from '@alfalab/core-components-button/modern';
|
|
3
|
+
import { Button } from '@alfalab/core-components-button/dist/modern';
|
|
4
4
|
|
|
5
|
-
var styles = {"field":"
|
|
5
|
+
var styles = {"field":"table__field_1syco","open":"table__open_1syco"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const CustomSelectField = ({ selected, innerProps, Arrow, open }) => {
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ import '../../utils.js';
|
|
|
5
5
|
import { findAllHeadCellsProps } from './utils.js';
|
|
6
6
|
import { TableContext } from '../table-context/index.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"component":"
|
|
8
|
+
var styles = {"component":"table__component_fgfss","wrapper":"table__wrapper_fgfss","hasPagination":"table__hasPagination_fgfss","table":"table__table_fgfss"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const Table = forwardRef(({ className, children, compactView = false, wrapper = true, pagination, dataTestId, ...restProps }, ref) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: p48la */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
}
|
|
@@ -18,26 +18,26 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--border-radius-m: 8px;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.table__component_fgfss {
|
|
22
22
|
box-sizing: border-box;
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.table__wrapper_fgfss {
|
|
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
|
-
.
|
|
31
|
+
.table__hasPagination_fgfss {
|
|
32
32
|
padding-bottom: 0;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.table__table_fgfss {
|
|
35
35
|
width: 100%;
|
|
36
36
|
border-collapse: collapse;
|
|
37
37
|
box-sizing: border-box
|
|
38
38
|
|
|
39
39
|
/* TODO: Хак для выравнивания чекбокса */
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.table__table_fgfss td:first-child label > *[class^='box'], .table__table_fgfss th:first-child label > *[class^='box'] {
|
|
42
42
|
margin-top: 0;
|
|
43
43
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"
|
|
4
|
+
var styles = {"component":"table__component_1x94b"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const TBody = ({ className, children, dataTestId, ...restProps }) => {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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
|
-
var styles = {"component":"
|
|
5
|
+
var styles = {"component":"table__component_14frd","hidden":"table__hidden_14frd","compact":"table__compact_14frd"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1kaqn */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-primary: #dbdee1;
|
|
4
4
|
--color-light-text-primary: #0b1f35;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--gap-m: 16px;
|
|
17
17
|
--gap-xl: 24px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.table__component_14frd {
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 20px;
|
|
22
22
|
font-weight: 400;
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
vertical-align: top;
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.table__hidden_14frd {
|
|
32
32
|
display: none;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.table__compact_14frd {
|
|
35
35
|
padding-top: var(--gap-xs);
|
|
36
36
|
padding-bottom: var(--gap-xs);
|
|
37
37
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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
|
-
var styles = {"row":"
|
|
5
|
+
var styles = {"row":"table__row_15jm6","selected":"table__selected_15jm6","expanded":"table__expanded_15jm6","expandable":"table__expandable_15jm6"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const TExpandableRow = ({ className, selected, expanded, defaultExpanded = false, onToggle = () => null, renderContent = () => null, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 89pun */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
.table__row_15jm6 {
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.table__selected_15jm6.table__expanded_15jm6 {
|
|
14
14
|
background-color: inherit;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.table__expanded_15jm6:hover {
|
|
17
17
|
background-color: inherit;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.table__expandable_15jm6 td {
|
|
20
20
|
margin: 0;
|
|
21
21
|
padding-top: 0;
|
|
22
22
|
padding-bottom: 0;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"
|
|
4
|
+
var styles = {"component":"table__component_1kpst","row":"table__row_1kpst"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const THead = ({ className, rowClassName, children, dataTestId, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1n5bz */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-quaternary: #dbdee1;
|
|
4
4
|
}
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
/* Hard up */
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.table__component_1kpst {
|
|
14
14
|
position: relative;
|
|
15
15
|
width: 100%;
|
|
16
16
|
box-sizing: border-box
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.table__component_1kpst th:not(:last-child):not(:empty):after {
|
|
19
19
|
transition: opacity 0.2s;
|
|
20
20
|
position: absolute;
|
|
21
21
|
content: '';
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
bottom: 8px;
|
|
28
28
|
background-color: var(--color-light-graphic-quaternary);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.table__component_1kpst th:after {
|
|
31
31
|
opacity: 0;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.table__component_1kpst:hover th:after {
|
|
34
34
|
opacity: 1;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.table__row_1kpst {
|
|
37
37
|
height: 72px;
|
|
38
38
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"
|
|
4
|
+
var styles = {"component":"table__component_o1tvc","sortable":"table__sortable_o1tvc","sorted":"table__sorted_o1tvc","hidden":"table__hidden_o1tvc"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const THeadCell = ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }) => (React.createElement("th", Object.assign({ className: cn(styles.component, className, hidden && styles.hidden), style: { ...style, width, textAlign }, "data-test-id": dataTestId }, restProps), children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ob9v */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-border-primary: #dbdee1;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
--gap-m: 16px;
|
|
18
18
|
--gap-2xl: 32px;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.table__component_o1tvc {
|
|
21
21
|
font-size: 12px;
|
|
22
22
|
line-height: 16px;
|
|
23
23
|
font-weight: 500;
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
vertical-align: top;
|
|
35
35
|
box-sizing: border-box;
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.table__sortable_o1tvc {
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.table__sorted_o1tvc {
|
|
41
41
|
color: var(--color-light-text-primary);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.table__hidden_o1tvc {
|
|
44
44
|
display: none;
|
|
45
45
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"
|
|
4
|
+
var styles = {"component":"table__component_7it7f","withoutBorder":"table__withoutBorder_7it7f","clickable":"table__clickable_7it7f","selected":"table__selected_7it7f"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const TRow = ({ children, className, selected, withoutBorder, dataTestId, ...restProps }) => (React.createElement("tr", Object.assign({ className: cn(styles.component, className, {
|