@inceptionbg/iui 2.0.11 → 2.0.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.
- package/dist/icons/index.d.ts +5 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +174 -79
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/iui.css +1 -1
- package/package.json +1 -1
- package/rollup.config.js +1 -5
- package/src/assets/icons/duotone/faCircleUser.ts +6 -6
- package/src/assets/icons/index.ts +2 -0
- package/src/assets/icons/light/faArrowDownShortWide.ts +1 -1
- package/src/assets/icons/light/faArrowDownWideShort.ts +1 -1
- package/src/assets/icons/light/faArrowUpArrowDown.ts +5 -5
- package/src/assets/icons/light/faArrowUpRightFromSquare.ts +1 -1
- package/src/assets/icons/light/faArrowsToLine.ts +1 -1
- package/src/assets/icons/light/faArrowsUpDown.ts +1 -1
- package/src/assets/icons/light/faBookmark.ts +15 -0
- package/src/assets/icons/light/faBookmarkSlash.ts +15 -0
- package/src/assets/icons/light/faCalendarPlus.ts +5 -5
- package/src/assets/icons/light/faCheck.ts +1 -1
- package/src/assets/icons/light/faChevronDown.ts +5 -5
- package/src/assets/icons/light/faChevronRight.ts +5 -5
- package/src/assets/icons/light/faCircleInfo.ts +5 -5
- package/src/assets/icons/light/faCircleXmark.ts +5 -5
- package/src/assets/icons/light/faClipboardCheck.ts +5 -5
- package/src/assets/icons/light/faClockRotateLeft.ts +1 -1
- package/src/assets/icons/light/faEllipsisVertical.ts +1 -1
- package/src/assets/icons/light/faEye.ts +5 -5
- package/src/assets/icons/light/faEyeSlash.ts +5 -5
- package/src/assets/icons/light/faFilter.ts +5 -5
- package/src/assets/icons/light/faGear.ts +1 -1
- package/src/assets/icons/light/faHouse.ts +5 -5
- package/src/assets/icons/light/faIdBadge.ts +5 -5
- package/src/assets/icons/light/faLineColumns.ts +5 -5
- package/src/assets/icons/light/faLink.ts +1 -1
- package/src/assets/icons/light/faMagnifyingGlass.ts +5 -5
- package/src/assets/icons/light/faPen.ts +5 -5
- package/src/assets/icons/light/faPrint.ts +5 -5
- package/src/assets/icons/light/faQuestion.ts +5 -5
- package/src/assets/icons/light/faRotateRight.ts +5 -5
- package/src/assets/icons/light/faTrashCan.ts +5 -5
- package/src/assets/icons/light/faTriangleExclamation.ts +5 -5
- package/src/assets/icons/light/faXmark.ts +1 -1
- package/src/assets/icons/regular/faArrowLeft.ts +6 -6
- package/src/assets/icons/regular/faArrowRightArrowLeft.ts +1 -1
- package/src/assets/icons/regular/faCircleCheck.ts +1 -1
- package/src/assets/icons/regular/faCircleExclamation.ts +1 -1
- package/src/assets/icons/regular/faCircleInfo.ts +1 -1
- package/src/assets/icons/regular/faFileArrowDown.ts +1 -1
- package/src/assets/icons/regular/faFilterCircleXmark.ts +1 -1
- package/src/assets/icons/regular/faTriangleExclamation.ts +1 -1
- package/src/assets/icons/solid/faAngleLeft.ts +1 -1
- package/src/assets/icons/solid/faAngleRight.ts +1 -1
- package/src/assets/icons/solid/faArrowDownWideShort.ts +1 -1
- package/src/assets/icons/solid/faCaretDown.ts +1 -1
- package/src/assets/icons/solid/faCheck.ts +5 -5
- package/src/assets/icons/solid/faEllipsisVertical.ts +1 -1
- package/src/assets/icons/solid/faFilter.ts +1 -1
- package/src/assets/icons/solid/faFloppyDisk.ts +1 -1
- package/src/assets/icons/solid/faGripDotsVertical.ts +1 -1
- package/src/assets/icons/solid/faListUl.ts +1 -1
- package/src/assets/icons/solid/faMinus.ts +6 -6
- package/src/assets/icons/solid/faPlus.ts +6 -6
- package/src/assets/icons/solid/faPrint.ts +1 -1
- package/src/assets/icons/solid/faRotateRight.ts +1 -1
- package/src/assets/icons/solid/faXmark.ts +1 -1
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Button/IconButton.tsx +1 -1
- package/src/components/Button/SplitButton.tsx +91 -0
- package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +1 -1
- package/src/components/Dialog/components/DialogFooter.tsx +6 -2
- package/src/components/Header/Components/ModuleSelect.tsx +14 -6
- package/src/components/Inputs/InputWrapper.tsx +1 -1
- package/src/components/Inputs/TextInput.tsx +1 -1
- package/src/components/List/List.tsx +18 -0
- package/src/components/List/ListItem.tsx +24 -0
- package/src/components/Loader/ProgressBar.tsx +41 -0
- package/src/components/Menu/Menu.tsx +0 -3
- package/src/components/Menu/MenuItem.tsx +21 -23
- package/src/components/Menu/NewMenu.tsx +0 -3
- package/src/components/Pullover/Pullover.tsx +15 -6
- package/src/components/Sidebar/types/ISidebar.ts +1 -1
- package/src/components/Table/Table.tsx +18 -11
- package/src/components/Table/components/filters/TableFilters.tsx +3 -6
- package/src/components/Table/components/footer/TableFooter.tsx +6 -10
- package/src/components/Table/components/header/TableHeader.tsx +22 -24
- package/src/components/Table/components/header/TableHeaderRow.tsx +16 -7
- package/{idea/Table/Components/Print → src/components/Table/components/print}/TablePrint.tsx +89 -96
- package/src/components/Table/components/sort/TableSort.tsx +21 -1
- package/src/components/Table/components/templates/TableTemplates.tsx +98 -0
- package/src/components/Table/components/templates/components/CreateTemplateDialog.tsx +41 -0
- package/src/components/Table/hooks/useTablePrint.ts +75 -0
- package/src/index.ts +10 -0
- package/src/styles/App.scss +3 -0
- package/src/styles/common/_animations.scss +8 -14
- package/src/styles/common/helpers/_base.scss +0 -4
- package/src/styles/common/maps/_buttonMaps.scss +42 -0
- package/src/styles/components/_button.scss +11 -50
- package/src/styles/components/_buttonSplit.scss +90 -0
- package/src/styles/components/_header.scss +21 -9
- package/src/styles/components/_list.scss +41 -0
- package/src/styles/components/_loader.scss +3 -1
- package/src/styles/components/_menu.scss +19 -18
- package/src/styles/components/_print.scss +36 -46
- package/src/styles/components/_progressBar.scss +83 -0
- package/src/styles/components/_table.scss +17 -23
- package/src/styles/variables/_variables.scss +1 -0
- package/src/types/ITable.ts +42 -32
- package/src/utils/i18n/i18nIUICyrilic.ts +3 -2
- package/src/utils/i18n/i18nIUILatin.ts +18 -12
- package/src/utils/i18n/i18nIUIMe.ts +3 -2
- package/src/utils/icons.ts +1 -1
- package/tsconfig.json +2 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use '../common/maps/buttonMaps' as buttonMaps;
|
|
2
3
|
|
|
3
4
|
$btn-colors: (primary, neutral, danger);
|
|
4
5
|
|
|
@@ -6,19 +7,19 @@ $btn-colors: (primary, neutral, danger);
|
|
|
6
7
|
display: flex;
|
|
7
8
|
justify-content: center;
|
|
8
9
|
align-items: center;
|
|
9
|
-
gap: 8px;
|
|
10
10
|
border-radius: 100px;
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
user-select: none;
|
|
13
13
|
background: none;
|
|
14
|
-
transition:
|
|
14
|
+
transition:
|
|
15
|
+
border-color 250ms,
|
|
16
|
+
background-color 250ms;
|
|
15
17
|
|
|
16
18
|
@each $key in $btn-colors {
|
|
17
19
|
&.#{$key} {
|
|
18
20
|
color: var(--#{$key}-600);
|
|
19
21
|
&.solid {
|
|
20
22
|
background-color: var(--#{$key});
|
|
21
|
-
border-color: var(--#{$key});
|
|
22
23
|
}
|
|
23
24
|
&.outlined {
|
|
24
25
|
border-color: var(--#{$key}-600);
|
|
@@ -43,12 +44,12 @@ $btn-colors: (primary, neutral, danger);
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
&:not(.simple) {
|
|
47
|
-
border: 1px solid var(--neutral-300);
|
|
48
|
-
}
|
|
49
47
|
&.solid {
|
|
50
48
|
color: var(--text-inverse);
|
|
51
49
|
}
|
|
50
|
+
&.outlined {
|
|
51
|
+
border: 1px solid var(--neutral-300);
|
|
52
|
+
}
|
|
52
53
|
&:disabled {
|
|
53
54
|
opacity: 0.5;
|
|
54
55
|
cursor: default;
|
|
@@ -59,45 +60,19 @@ $btn-colors: (primary, neutral, danger);
|
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
///// Text Button /////
|
|
62
|
-
$text-button-sizes: (
|
|
63
|
-
xs: (
|
|
64
|
-
font-size: 10px,
|
|
65
|
-
svg: 12px,
|
|
66
|
-
padding: 4px 10px,
|
|
67
|
-
gap: 6px,
|
|
68
|
-
),
|
|
69
|
-
s: (
|
|
70
|
-
font-size: 12px,
|
|
71
|
-
svg: 14px,
|
|
72
|
-
padding: 6px 12px,
|
|
73
|
-
),
|
|
74
|
-
m: (
|
|
75
|
-
font-size: 14px,
|
|
76
|
-
svg: 16px,
|
|
77
|
-
padding: 8px 14px,
|
|
78
|
-
),
|
|
79
|
-
l: (
|
|
80
|
-
font-size: 16px,
|
|
81
|
-
svg: 20px,
|
|
82
|
-
padding: 12px 18px,
|
|
83
|
-
),
|
|
84
|
-
);
|
|
85
63
|
|
|
86
64
|
.iui-text-btn {
|
|
87
|
-
// letter-spacing: 0.4px;
|
|
88
65
|
font-weight: 600;
|
|
89
66
|
white-space: nowrap;
|
|
67
|
+
gap: 8px;
|
|
90
68
|
|
|
91
69
|
// Sizes
|
|
92
|
-
@each $size, $vars in
|
|
70
|
+
@each $size, $vars in buttonMaps.$text-button-sizes {
|
|
93
71
|
&.#{$size} {
|
|
94
72
|
font-size: map.get($vars, font-size);
|
|
95
73
|
padding: map.get($vars, padding);
|
|
96
74
|
gap: map.get($vars, gap);
|
|
97
|
-
|
|
98
|
-
@if map.has-key($vars, height) {
|
|
99
|
-
height: map.get($vars, height);
|
|
100
|
-
}
|
|
75
|
+
height: map.get($vars, height);
|
|
101
76
|
svg {
|
|
102
77
|
height: map.get($vars, svg);
|
|
103
78
|
width: map.get($vars, svg);
|
|
@@ -107,23 +82,9 @@ $text-button-sizes: (
|
|
|
107
82
|
}
|
|
108
83
|
|
|
109
84
|
///// Icon Button /////
|
|
110
|
-
$icon-button-sizes: (
|
|
111
|
-
s: (
|
|
112
|
-
size: 32px,
|
|
113
|
-
svg: 16px,
|
|
114
|
-
),
|
|
115
|
-
m: (
|
|
116
|
-
size: 40px,
|
|
117
|
-
svg: 20px,
|
|
118
|
-
),
|
|
119
|
-
l: (
|
|
120
|
-
size: 44px,
|
|
121
|
-
svg: 24px,
|
|
122
|
-
),
|
|
123
|
-
);
|
|
124
85
|
|
|
125
86
|
.iui-icon-btn {
|
|
126
|
-
@each $size, $vars in
|
|
87
|
+
@each $size, $vars in buttonMaps.$icon-button-sizes {
|
|
127
88
|
&.#{$size} {
|
|
128
89
|
min-height: map.get($vars, size);
|
|
129
90
|
min-width: map.get($vars, size);
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/maps/buttonMaps' as buttonMaps;
|
|
3
|
+
|
|
4
|
+
.iui-split-btn {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
border-radius: 100px;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
user-select: none;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
transition:
|
|
13
|
+
border-color 250ms,
|
|
14
|
+
background-color 250ms;
|
|
15
|
+
.iui-btn-content {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
gap: 8px;
|
|
22
|
+
}
|
|
23
|
+
.btn-actions {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
border-left: 2px solid var(--neutral-200);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.solid {
|
|
31
|
+
background-color: var(--primary);
|
|
32
|
+
color: var(--text-inverse);
|
|
33
|
+
&:not(:disabled) {
|
|
34
|
+
.iui-btn-content,
|
|
35
|
+
.btn-actions {
|
|
36
|
+
&:hover,
|
|
37
|
+
&:active,
|
|
38
|
+
&.active {
|
|
39
|
+
background-color: var(--primary-600);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
&:focus-visible {
|
|
43
|
+
box-shadow: 0px 0px 1px 3px var(--primary-200);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
&.outlined {
|
|
48
|
+
border: 1px solid var(--neutral-300);
|
|
49
|
+
&:not(:disabled) {
|
|
50
|
+
.iui-btn-content,
|
|
51
|
+
.btn-actions {
|
|
52
|
+
&:hover,
|
|
53
|
+
&:active,
|
|
54
|
+
&.active {
|
|
55
|
+
background-color: var(--neutral-100);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
&:focus-visible {
|
|
59
|
+
box-shadow: 0px 0px 1px 3px var(--neutral-200);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:disabled {
|
|
65
|
+
opacity: 0.5;
|
|
66
|
+
cursor: default;
|
|
67
|
+
}
|
|
68
|
+
&:not(:disabled):active {
|
|
69
|
+
transform: translateY(2px);
|
|
70
|
+
}
|
|
71
|
+
// Sizes
|
|
72
|
+
@each $size, $vars in buttonMaps.$text-button-sizes {
|
|
73
|
+
&.#{$size} {
|
|
74
|
+
.iui-btn-content {
|
|
75
|
+
font-size: map.get($vars, font-size);
|
|
76
|
+
padding: map.get($vars, padding);
|
|
77
|
+
gap: map.get($vars, gap);
|
|
78
|
+
height: map.get($vars, height);
|
|
79
|
+
}
|
|
80
|
+
.btn-actions {
|
|
81
|
+
height: map.get($vars, height);
|
|
82
|
+
width: map.get($vars, height);
|
|
83
|
+
}
|
|
84
|
+
svg {
|
|
85
|
+
height: map.get($vars, svg);
|
|
86
|
+
width: map.get($vars, svg);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
///// Modules /////
|
|
24
25
|
.module-name {
|
|
25
26
|
display: flex;
|
|
26
27
|
align-items: center;
|
|
@@ -32,15 +33,25 @@
|
|
|
32
33
|
background-color: var(--neutral-hover);
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
|
-
.
|
|
36
|
-
display:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
|
|
36
|
+
.modules-menu {
|
|
37
|
+
display: grid;
|
|
38
|
+
grid-template-columns: repeat(2, 1fr);
|
|
39
|
+
padding: 8px !important;
|
|
40
|
+
@media #{bp.$mobile} {
|
|
41
|
+
grid-template-columns: 1fr;
|
|
42
|
+
}
|
|
43
|
+
.module-item {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
gap: 8px;
|
|
47
|
+
align-items: center;
|
|
48
|
+
padding: 8px;
|
|
49
|
+
border-radius: 8px;
|
|
50
|
+
.menu-item-label {
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
white-space: pre-line;
|
|
53
|
+
text-align: center;
|
|
54
|
+
}
|
|
44
55
|
}
|
|
45
56
|
}
|
|
46
57
|
.module-item .menu-item-icon,
|
|
@@ -59,6 +70,7 @@
|
|
|
59
70
|
}
|
|
60
71
|
}
|
|
61
72
|
|
|
73
|
+
///// User Box /////
|
|
62
74
|
.user-box {
|
|
63
75
|
display: flex;
|
|
64
76
|
align-items: center;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.iui-list {
|
|
2
|
+
overflow: auto;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: 8px;
|
|
6
|
+
.iui-list-item {
|
|
7
|
+
border: var(--border);
|
|
8
|
+
border-radius: 8px;
|
|
9
|
+
padding: 12px 16px;
|
|
10
|
+
p {
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
line-height: 20px;
|
|
13
|
+
}
|
|
14
|
+
.iui-list-item-desc {
|
|
15
|
+
display: flex;
|
|
16
|
+
line-height: 1.5;
|
|
17
|
+
gap: 8px;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
color: var(--neutral);
|
|
20
|
+
margin-top: 4px;
|
|
21
|
+
white-space: pre-line;
|
|
22
|
+
}
|
|
23
|
+
&.disabled {
|
|
24
|
+
cursor: default;
|
|
25
|
+
opacity: 0.5;
|
|
26
|
+
}
|
|
27
|
+
&:not(.disabled) {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
&:hover {
|
|
30
|
+
background-color: var(--neutral-hover);
|
|
31
|
+
}
|
|
32
|
+
&.active {
|
|
33
|
+
background-color: var(--primary);
|
|
34
|
+
color: var(--text-inverse);
|
|
35
|
+
.iui-list-item-desc {
|
|
36
|
+
color: var(--neutral-300);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -22,6 +22,24 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.iui-menu-item {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: 8px;
|
|
28
|
+
padding: 8px 16px;
|
|
29
|
+
user-select: none;
|
|
30
|
+
.menu-item-icon {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
color: var(--text);
|
|
35
|
+
svg {
|
|
36
|
+
height: 16px;
|
|
37
|
+
width: 16px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.menu-item-label {
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
25
43
|
&.clickable:hover:not(:disabled):not(.disabled):not(.active) {
|
|
26
44
|
background-color: var(--neutral-hover);
|
|
27
45
|
}
|
|
@@ -29,30 +47,13 @@
|
|
|
29
47
|
transition: none;
|
|
30
48
|
background-color: var(--primary);
|
|
31
49
|
color: var(--text-inverse);
|
|
32
|
-
.menu-item-
|
|
50
|
+
.menu-item-icon {
|
|
33
51
|
color: var(--text-inverse);
|
|
34
52
|
}
|
|
35
53
|
}
|
|
36
54
|
&.with-devider:not(:last-child) {
|
|
37
55
|
border-bottom: var(--border);
|
|
38
56
|
}
|
|
39
|
-
.menu-item-content {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 8px;
|
|
43
|
-
padding: 8px 16px;
|
|
44
|
-
user-select: none;
|
|
45
|
-
.menu-item-icon {
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
color: var(--text);
|
|
50
|
-
svg {
|
|
51
|
-
height: 16px;
|
|
52
|
-
width: 16px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
57
|
.menu-item-badge {
|
|
57
58
|
top: -3px;
|
|
58
59
|
right: -3px;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
.iui-print
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
left: 0;
|
|
5
|
-
top: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
min-height: 100vh;
|
|
9
|
-
width: 100%;
|
|
10
|
-
animation: fade-in 200ms forwards;
|
|
11
|
-
& > .content {
|
|
1
|
+
.iui-print {
|
|
2
|
+
padding: 0 !important;
|
|
3
|
+
& > .print-content {
|
|
12
4
|
background: #fefefe;
|
|
13
5
|
padding: 10px 50px 60px 50px;
|
|
14
6
|
p,
|
|
@@ -24,46 +16,17 @@
|
|
|
24
16
|
margin-bottom: 5px;
|
|
25
17
|
}
|
|
26
18
|
}
|
|
27
|
-
@media print {
|
|
28
|
-
.content {
|
|
29
|
-
padding: 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.iui-print-actions {
|
|
34
|
-
position: fixed;
|
|
35
|
-
left: 0;
|
|
36
|
-
right: 0;
|
|
37
|
-
bottom: 0;
|
|
38
|
-
height: 50px;
|
|
39
|
-
background-color: #fefefe;
|
|
40
|
-
box-shadow: var(--container-shadow);
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
19
|
}
|
|
45
20
|
|
|
46
21
|
.print-table {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
@media print and (orientation: portrait) {
|
|
51
|
-
width: 595pt;
|
|
52
|
-
}
|
|
53
|
-
// font-size: 10pt;
|
|
22
|
+
border-spacing: 0px;
|
|
23
|
+
border-collapse: collapse;
|
|
54
24
|
thead tr {
|
|
55
25
|
background: #f1f1f1;
|
|
56
26
|
}
|
|
57
|
-
th
|
|
58
|
-
padding: 5px;
|
|
59
|
-
border: 1px solid silver;
|
|
60
|
-
p {
|
|
61
|
-
// font-size: 10pt;
|
|
62
|
-
padding: 4px 8px !important;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
27
|
+
th,
|
|
65
28
|
td {
|
|
66
|
-
padding:
|
|
29
|
+
padding: 4px;
|
|
67
30
|
border: 1px solid silver;
|
|
68
31
|
}
|
|
69
32
|
}
|
|
@@ -72,14 +35,41 @@
|
|
|
72
35
|
@page {
|
|
73
36
|
margin: 6.5mm;
|
|
74
37
|
}
|
|
38
|
+
|
|
39
|
+
@media (orientation: landscape) {
|
|
40
|
+
.iui-print {
|
|
41
|
+
width: 842pt;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@media (orientation: portrait) {
|
|
45
|
+
.iui-print {
|
|
46
|
+
width: 595pt;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.pullover {
|
|
50
|
+
position: static !important;
|
|
51
|
+
overflow: visible !important;
|
|
52
|
+
}
|
|
53
|
+
.iui-print {
|
|
54
|
+
position: absolute !important;
|
|
55
|
+
inset: 0 !important;
|
|
56
|
+
width: 100% !important;
|
|
57
|
+
background: white !important;
|
|
58
|
+
overflow: visible !important;
|
|
59
|
+
.print-content {
|
|
60
|
+
padding: 0 !important;
|
|
61
|
+
height: auto !important;
|
|
62
|
+
overflow: visible !important;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
75
65
|
#root,
|
|
76
66
|
.no-print {
|
|
77
|
-
display: none;
|
|
67
|
+
display: none !important;
|
|
78
68
|
}
|
|
79
69
|
body {
|
|
80
70
|
-webkit-print-color-adjust: exact;
|
|
81
71
|
print-color-adjust: exact;
|
|
82
|
-
|
|
72
|
+
overflow: visible !important;
|
|
83
73
|
}
|
|
84
74
|
tbody td {
|
|
85
75
|
white-space: pre-wrap !important;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.progress-bar-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
max-width: 400px;
|
|
4
|
+
margin: auto;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.progress-label {
|
|
8
|
+
margin-bottom: 8px;
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
color: var(--text);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.progress-bar-bg {
|
|
14
|
+
position: relative;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 32px;
|
|
17
|
+
background: var(--neutral-200);
|
|
18
|
+
border-radius: 16px;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.progress-bar-fill {
|
|
26
|
+
position: absolute;
|
|
27
|
+
left: 0;
|
|
28
|
+
height: 100%;
|
|
29
|
+
background: linear-gradient(90deg, var(--primary-400) 0%, var(--primary-600) 100%);
|
|
30
|
+
transition: width 0.3s cubic-bezier(0.67, 0.01, 0.83, 0.98);
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
|
|
33
|
+
// Subtle shimmer animation to show activity
|
|
34
|
+
&.loading::before {
|
|
35
|
+
content: '';
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: -100%;
|
|
39
|
+
width: 80%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
background: linear-gradient(
|
|
42
|
+
90deg,
|
|
43
|
+
transparent 0%,
|
|
44
|
+
rgba(255, 255, 255, 0.3) 50%,
|
|
45
|
+
transparent 100%
|
|
46
|
+
);
|
|
47
|
+
animation: shimmer 2s ease-in-out infinite;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.progress-bar-text {
|
|
52
|
+
width: 100%;
|
|
53
|
+
text-align: center;
|
|
54
|
+
font-size: 16px;
|
|
55
|
+
font-weight: bold;
|
|
56
|
+
color: var(--text);
|
|
57
|
+
border-radius: 32px;
|
|
58
|
+
padding: 0 8px;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
z-index: 1;
|
|
61
|
+
position: relative;
|
|
62
|
+
|
|
63
|
+
// White text overlay that shows only where progress bar is
|
|
64
|
+
&::after {
|
|
65
|
+
content: var(--progress-text, '');
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: 0;
|
|
68
|
+
left: 0;
|
|
69
|
+
right: 0;
|
|
70
|
+
bottom: 0;
|
|
71
|
+
color: white;
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
clip-path: polygon(
|
|
76
|
+
0 0,
|
|
77
|
+
var(--progress-clip, 0%) 0%,
|
|
78
|
+
var(--progress-clip, 0%) 100%,
|
|
79
|
+
0 100%
|
|
80
|
+
);
|
|
81
|
+
transition: clip-path 0.3s cubic-bezier(0.67, 0.01, 0.83, 0.98);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
table {
|
|
4
4
|
border-spacing: 0px;
|
|
5
|
-
border-collapse: collapse;
|
|
5
|
+
// border-collapse: collapse;
|
|
6
6
|
}
|
|
7
7
|
.iui-table {
|
|
8
8
|
//// Header ////
|
|
9
9
|
thead {
|
|
10
10
|
z-index: 2;
|
|
11
|
-
background-color: var(--
|
|
11
|
+
background-color: var(--neutral-100);
|
|
12
|
+
tr:first-child th {
|
|
13
|
+
border-top: var(--borderlight);
|
|
14
|
+
}
|
|
12
15
|
}
|
|
13
16
|
th {
|
|
14
17
|
padding: 4px 12px;
|
|
15
|
-
border-left: var(--border);
|
|
16
|
-
border-right: var(--border);
|
|
17
|
-
|
|
18
18
|
font-weight: bold;
|
|
19
19
|
p {
|
|
20
20
|
font-size: 12px;
|
|
@@ -33,22 +33,13 @@ table {
|
|
|
33
33
|
top: 0;
|
|
34
34
|
z-index: 1;
|
|
35
35
|
}
|
|
36
|
-
.border-row {
|
|
37
|
-
background-color: var(--border-color);
|
|
38
|
-
height: 1px;
|
|
39
|
-
padding: 0;
|
|
40
|
-
}
|
|
41
36
|
|
|
42
37
|
//// Body ////
|
|
43
|
-
// tbody.no-last-border tr:last-child td {
|
|
44
|
-
// border: none;
|
|
45
|
-
// }
|
|
46
38
|
// Row
|
|
47
39
|
tr {
|
|
48
40
|
scroll-snap-align: start;
|
|
49
41
|
}
|
|
50
42
|
tbody tr {
|
|
51
|
-
// border-bottom: var(--border);
|
|
52
43
|
&.clickable:hover,
|
|
53
44
|
&.selected {
|
|
54
45
|
background-color: rgba(0, 0, 0, 0.05);
|
|
@@ -64,18 +55,14 @@ table {
|
|
|
64
55
|
// Cell
|
|
65
56
|
th,
|
|
66
57
|
td {
|
|
67
|
-
|
|
58
|
+
border-bottom: var(--border-light);
|
|
68
59
|
// Cell colors
|
|
69
60
|
&.secondary {
|
|
70
61
|
background-color: rgba(0, 0, 0, 0.04);
|
|
71
|
-
// border-bottom: 1px solid #d3d3d3;
|
|
72
62
|
}
|
|
73
63
|
}
|
|
74
64
|
td {
|
|
75
|
-
border: var(--border);
|
|
76
|
-
border-top: none;
|
|
77
65
|
font-size: 14px;
|
|
78
|
-
box-sizing: border-box;
|
|
79
66
|
height: 48px;
|
|
80
67
|
padding: 6px 12px;
|
|
81
68
|
&.s {
|
|
@@ -96,7 +83,6 @@ table {
|
|
|
96
83
|
align-items: center;
|
|
97
84
|
justify-content: center;
|
|
98
85
|
padding: 0 4px;
|
|
99
|
-
// gap: 8px;
|
|
100
86
|
}
|
|
101
87
|
|
|
102
88
|
//// Footer ////
|
|
@@ -106,7 +92,6 @@ table {
|
|
|
106
92
|
width: 100%;
|
|
107
93
|
padding: 8px;
|
|
108
94
|
font-size: var(--fs-m);
|
|
109
|
-
box-sizing: border-box;
|
|
110
95
|
.pagination {
|
|
111
96
|
display: flex;
|
|
112
97
|
align-items: center;
|
|
@@ -149,6 +134,13 @@ table {
|
|
|
149
134
|
}
|
|
150
135
|
|
|
151
136
|
@media #{bp.$landscape} {
|
|
137
|
+
td,
|
|
138
|
+
th {
|
|
139
|
+
border-right: var(--border-light);
|
|
140
|
+
&:first-child:not(.not-first-cell) {
|
|
141
|
+
border-left: var(--border-light);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
152
144
|
.select-col,
|
|
153
145
|
.actions-col {
|
|
154
146
|
padding: 0;
|
|
@@ -168,7 +160,6 @@ table {
|
|
|
168
160
|
}
|
|
169
161
|
tr {
|
|
170
162
|
padding-bottom: 20px;
|
|
171
|
-
border-top: var(--border);
|
|
172
163
|
}
|
|
173
164
|
td {
|
|
174
165
|
display: flex;
|
|
@@ -210,6 +201,9 @@ table {
|
|
|
210
201
|
}
|
|
211
202
|
}
|
|
212
203
|
|
|
204
|
+
.table-sort-item {
|
|
205
|
+
flex-direction: row-reverse;
|
|
206
|
+
}
|
|
213
207
|
// .dual-list-container {
|
|
214
208
|
// .dual-list-content {
|
|
215
209
|
// display: grid;
|
|
@@ -217,7 +211,7 @@ table {
|
|
|
217
211
|
// gap: 12px;
|
|
218
212
|
// }
|
|
219
213
|
// .list-box {
|
|
220
|
-
// border: var(--border);
|
|
214
|
+
// border: var(--border-light);
|
|
221
215
|
// border-radius: 16px;
|
|
222
216
|
// padding: 10px;
|
|
223
217
|
// user-select: none;
|