@flux-ui/components 3.0.0-next.2 → 3.0.0-next.21
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/README.md +12 -40
- package/dist/component/FluxActions.vue.d.ts.map +1 -1
- package/dist/component/FluxDataTable.vue.d.ts +49 -17
- package/dist/component/FluxDataTable.vue.d.ts.map +1 -1
- package/dist/component/FluxDatePicker.vue.d.ts.map +1 -1
- package/dist/component/FluxFilter.vue.d.ts.map +1 -1
- package/dist/component/FluxFlyout.vue.d.ts.map +1 -1
- package/dist/component/FluxFormDateInput.vue.d.ts.map +1 -1
- package/dist/component/FluxFormDateRangeInput.vue.d.ts.map +1 -1
- package/dist/component/FluxFormDateTimeInput.vue.d.ts.map +1 -1
- package/dist/component/FluxFormInput.vue.d.ts +1 -0
- package/dist/component/FluxFormInput.vue.d.ts.map +1 -1
- package/dist/component/FluxFormInputGroup.vue.d.ts +1 -0
- package/dist/component/FluxFormInputGroup.vue.d.ts.map +1 -1
- package/dist/component/FluxFormTimeZonePicker.vue.d.ts.map +1 -1
- package/dist/component/FluxMenuItem.vue.d.ts.map +1 -1
- package/dist/component/FluxOverlayProvider.vue.d.ts +3 -0
- package/dist/component/FluxOverlayProvider.vue.d.ts.map +1 -0
- package/dist/component/FluxPagination.vue.d.ts +1 -1
- package/dist/component/FluxPagination.vue.d.ts.map +1 -1
- package/dist/component/FluxPaginationBar.vue.d.ts +1 -1
- package/dist/component/FluxPaginationBar.vue.d.ts.map +1 -1
- package/dist/component/FluxPaginationButton.vue.d.ts +30 -0
- package/dist/component/FluxPaginationButton.vue.d.ts.map +1 -0
- package/dist/component/FluxPrompt.vue.d.ts +2 -0
- package/dist/component/FluxPrompt.vue.d.ts.map +1 -1
- package/dist/component/FluxRoot.vue.d.ts.map +1 -1
- package/dist/component/FluxStatistic.vue.d.ts +3 -1
- package/dist/component/FluxStatistic.vue.d.ts.map +1 -1
- package/dist/component/FluxTabBar.vue.d.ts.map +1 -1
- package/dist/component/FluxTabBarItem.vue.d.ts.map +1 -1
- package/dist/component/FluxTable.vue.d.ts +14 -8
- package/dist/component/FluxTable.vue.d.ts.map +1 -1
- package/dist/component/FluxTooltip.vue.d.ts.map +1 -1
- package/dist/component/FluxTooltipProvider.vue.d.ts.map +1 -1
- package/dist/component/index.d.ts +1 -0
- package/dist/component/index.d.ts.map +1 -1
- package/dist/component/primitive/AnchorPopup.vue.d.ts.map +1 -1
- package/dist/component/primitive/SelectBase.vue.d.ts +2 -0
- package/dist/component/primitive/SelectBase.vue.d.ts.map +1 -1
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/index.d.ts.map +1 -1
- package/dist/composable/private/useFormSelect.d.ts +2 -2
- package/dist/composable/private/useFormSelect.d.ts.map +1 -1
- package/dist/composable/useFlyoutInjection.d.ts +1 -5
- package/dist/composable/useFlyoutInjection.d.ts.map +1 -1
- package/dist/composable/useTableInjection.d.ts +1 -6
- package/dist/composable/useTableInjection.d.ts.map +1 -1
- package/dist/composable/useTooltipInjection.d.ts +2 -0
- package/dist/composable/useTooltipInjection.d.ts.map +1 -0
- package/dist/data/di.d.ts +4 -0
- package/dist/data/di.d.ts.map +1 -1
- package/dist/data/i18n.d.ts +1 -1
- package/dist/data/store.d.ts +2 -2
- package/dist/data/store.d.ts.map +1 -1
- package/dist/index.css +5814 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14686 -0
- package/dist/index.js.map +1 -0
- package/dist/util/createDialogRenderer.d.ts +1 -1
- package/dist/util/createDialogRenderer.d.ts.map +1 -1
- package/package.json +21 -22
- package/src/component/FluxDataTable.vue +68 -16
- package/src/component/FluxDatePicker.vue +5 -1
- package/src/component/FluxFlyout.vue +2 -1
- package/src/component/FluxFormInput.vue +3 -1
- package/src/component/FluxFormInputGroup.vue +2 -0
- package/src/component/FluxFormSelect.vue +1 -1
- package/src/component/FluxFormTimeZonePicker.vue +5 -0
- package/src/component/FluxGallery.vue +2 -2
- package/src/component/FluxMenuItem.vue +1 -0
- package/src/component/FluxOverlayProvider.vue +39 -0
- package/src/component/FluxPagination.vue +16 -14
- package/src/component/FluxPaginationBar.vue +27 -38
- package/src/component/FluxPaginationButton.vue +39 -0
- package/src/component/FluxProgressBar.vue +1 -1
- package/src/component/FluxRoot.vue +3 -26
- package/src/component/FluxStatistic.vue +13 -2
- package/src/component/FluxTabBar.vue +21 -16
- package/src/component/FluxTable.vue +25 -4
- package/src/component/FluxTooltip.vue +2 -0
- package/src/component/FluxTooltipProvider.vue +7 -3
- package/src/component/index.ts +1 -0
- package/src/component/primitive/AnchorPopup.vue +5 -3
- package/src/composable/index.ts +1 -0
- package/src/composable/private/useFormSelect.ts +2 -2
- package/src/composable/useTooltipInjection.ts +8 -0
- package/src/css/base.scss +6 -3
- package/src/css/component/Action.module.scss +14 -14
- package/src/css/component/Avatar.module.scss +14 -14
- package/src/css/component/Badge.module.scss +14 -14
- package/src/css/component/Button.module.scss +39 -54
- package/src/css/component/Calendar.module.scss +12 -16
- package/src/css/component/Chip.module.scss +9 -19
- package/src/css/component/Color.module.scss +4 -4
- package/src/css/component/Comment.module.scss +15 -14
- package/src/css/component/DatePicker.module.scss +12 -23
- package/src/css/component/Divider.module.scss +2 -2
- package/src/css/component/DropZone.module.scss +27 -24
- package/src/css/component/Expandable.module.scss +9 -11
- package/src/css/component/Filter.module.scss +3 -5
- package/src/css/component/Form.module.scss +68 -49
- package/src/css/component/Gallery.module.scss +14 -6
- package/src/css/component/Icon.module.scss +76 -79
- package/src/css/component/Info.module.scss +1 -1
- package/src/css/component/Layout.module.scss +41 -45
- package/src/css/component/Legend.module.scss +2 -4
- package/src/css/component/Menu.module.scss +28 -49
- package/src/css/component/Notice.module.scss +45 -47
- package/src/css/component/Overlay.module.scss +56 -4
- package/src/css/component/Pagination.module.scss +70 -33
- package/src/css/component/Pane.module.scss +62 -67
- package/src/css/component/Placeholder.module.scss +4 -4
- package/src/css/component/Progress.module.scss +18 -9
- package/src/css/component/Remove.module.scss +4 -4
- package/src/css/component/SegmentedControl.module.scss +6 -6
- package/src/css/component/Snackbar.module.scss +20 -17
- package/src/css/component/Spinner.module.scss +2 -2
- package/src/css/component/Statistic.module.scss +25 -17
- package/src/css/component/Stepper.module.scss +12 -14
- package/src/css/component/Tab.module.scss +8 -7
- package/src/css/component/Table.module.scss +79 -29
- package/src/css/component/Timeline.module.scss +14 -18
- package/src/css/component/Toolbar.module.scss +9 -7
- package/src/css/component/Tooltip.module.scss +3 -2
- package/src/css/component/Transition.module.scss +1 -1
- package/src/css/component/Visual.module.scss +3 -3
- package/src/css/component/base/Pane.module.scss +25 -31
- package/src/css/component/primitive/CoordinatePicker.module.scss +3 -5
- package/src/css/component/primitive/Slider.module.scss +9 -14
- package/src/css/mixin/focus-ring.scss +2 -2
- package/src/css/typography.scss +3 -3
- package/src/css/variables.scss +178 -183
- package/src/data/di.ts +5 -0
- package/src/data/i18n.ts +1 -1
- package/src/data/iconRegistry.ts +1 -1
- package/src/data/store.ts +6 -4
- package/src/index.ts +1 -0
- package/src/util/createDialogRenderer.ts +33 -18
- package/dist/flux.css +0 -1
- package/dist/flux.js +0 -11402
- package/dist/flux.js.map +0 -1
|
@@ -1,59 +1,96 @@
|
|
|
1
1
|
@use '$flux/css/mixin';
|
|
2
2
|
|
|
3
3
|
.pagination {
|
|
4
|
-
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 1px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.paginationButton {
|
|
9
|
+
composes: secondaryButton from './Button.module.scss';
|
|
10
|
+
|
|
11
|
+
height: 36px;
|
|
12
|
+
min-width: 36px;
|
|
13
|
+
padding: 0 6px;
|
|
14
|
+
background: unset;
|
|
5
15
|
|
|
6
|
-
.
|
|
7
|
-
|
|
16
|
+
&:local(.secondaryButton) {
|
|
17
|
+
border-color: transparent;
|
|
18
|
+
box-shadow: none;
|
|
8
19
|
}
|
|
20
|
+
}
|
|
9
21
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
22
|
+
.paginationButtonArrow {
|
|
23
|
+
&:local(.secondaryButton) {
|
|
24
|
+
border-color: var(--gray-2);
|
|
25
|
+
}
|
|
14
26
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
27
|
+
&:first-child {
|
|
28
|
+
margin-right: 6px;
|
|
18
29
|
}
|
|
19
30
|
|
|
20
|
-
|
|
21
|
-
|
|
31
|
+
&:last-child {
|
|
32
|
+
margin-left: 6px;
|
|
22
33
|
}
|
|
23
34
|
}
|
|
24
35
|
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
36
|
+
.paginationButton.paginationButtonCurrent {
|
|
37
|
+
background: var(--primary-1);
|
|
38
|
+
border-color: var(--primary-3);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.paginationButtonSpacer {
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.paginationButtonIcon {
|
|
46
|
+
composes: secondaryButtonIcon from './Button.module.scss';
|
|
47
|
+
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.paginationButtonLabel {
|
|
52
|
+
composes: secondaryButtonLabel from './Button.module.scss';
|
|
53
|
+
|
|
54
|
+
margin: 0;
|
|
55
|
+
min-width: unset;
|
|
56
|
+
font-size: 12px;
|
|
28
57
|
}
|
|
29
58
|
|
|
30
59
|
.paginationBar {
|
|
60
|
+
display: flex;
|
|
31
61
|
align-items: center;
|
|
32
|
-
flex-
|
|
62
|
+
flex-flow: row;
|
|
63
|
+
}
|
|
33
64
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
65
|
+
.paginationBarLimit {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
flex-flow: row;
|
|
69
|
+
gap: 15px;
|
|
70
|
+
}
|
|
37
71
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
72
|
+
.paginationBarLimitDisplayingOf {
|
|
73
|
+
font-size: 12px;
|
|
74
|
+
font-weight: 600;
|
|
75
|
+
}
|
|
41
76
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
77
|
+
.paginationBarLimitSelect {
|
|
78
|
+
min-height: 36px;
|
|
79
|
+
width: 120px;
|
|
45
80
|
|
|
46
|
-
|
|
47
|
-
|
|
81
|
+
.menuItem {
|
|
82
|
+
min-height: 36px;
|
|
48
83
|
}
|
|
49
|
-
}
|
|
50
84
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
85
|
+
.menuItemLabel {
|
|
86
|
+
font-size: 12px;
|
|
87
|
+
font-weight: 600;
|
|
54
88
|
}
|
|
55
89
|
}
|
|
56
90
|
|
|
57
|
-
|
|
58
|
-
|
|
91
|
+
@include mixin.breakpoint-down(sm) {
|
|
92
|
+
.paginationBar {
|
|
93
|
+
flex-flow: column;
|
|
94
|
+
gap: 15px;
|
|
95
|
+
}
|
|
59
96
|
}
|
|
@@ -1,91 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@layer flux-base {
|
|
5
|
-
.pane {
|
|
6
|
-
composes: basePaneStructure;
|
|
7
|
-
}
|
|
1
|
+
.pane {
|
|
2
|
+
composes: basePaneStructure from './base/Pane.module.scss';
|
|
3
|
+
}
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
.paneDefault {
|
|
6
|
+
composes: pane;
|
|
11
7
|
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
box-shadow: var(--shadow-sm);
|
|
9
|
+
}
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
.paneFlat {
|
|
12
|
+
composes: pane;
|
|
13
|
+
}
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
.paneWell {
|
|
16
|
+
composes: pane;
|
|
21
17
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
.paneHeader {
|
|
26
|
-
composes: basePaneElement;
|
|
18
|
+
background: var(--gray-1);
|
|
19
|
+
}
|
|
27
20
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
gap: 15px;
|
|
21
|
+
.paneHeader {
|
|
22
|
+
composes: basePaneElement from './base/Pane.module.scss';
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
24
|
+
display: flex;
|
|
25
|
+
padding: 21px 21px 0;
|
|
26
|
+
gap: 15px;
|
|
35
27
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
28
|
+
&:only-child {
|
|
29
|
+
padding: 21px;
|
|
39
30
|
}
|
|
40
31
|
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
line-height: 24px;
|
|
32
|
+
&:has(+ .basePaneElement:not(.paneBody)) {
|
|
33
|
+
padding: 21px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
46
36
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
37
|
+
.paneHeaderCaption {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-flow: column;
|
|
40
|
+
flex-grow: 1;
|
|
41
|
+
line-height: 24px;
|
|
50
42
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
43
|
+
:is(strong) {
|
|
44
|
+
color: var(--foreground-prominent);
|
|
45
|
+
font-weight: 600;
|
|
55
46
|
|
|
56
|
-
:is(span) {
|
|
57
|
-
font-size:
|
|
47
|
+
&:has(+ :is(span)) {
|
|
48
|
+
font-size: 16px;
|
|
58
49
|
}
|
|
59
50
|
}
|
|
60
51
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
color: rgb(var(--primary-7));
|
|
52
|
+
:is(span) {
|
|
53
|
+
font-size: 14px;
|
|
64
54
|
}
|
|
55
|
+
}
|
|
65
56
|
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
.paneHeaderIcon {
|
|
58
|
+
margin-top: 2px;
|
|
59
|
+
color: var(--primary-7);
|
|
60
|
+
}
|
|
68
61
|
|
|
69
|
-
|
|
70
|
-
|
|
62
|
+
.paneBody {
|
|
63
|
+
composes: basePaneElement from './base/Pane.module.scss';
|
|
71
64
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
65
|
+
padding: 21px;
|
|
66
|
+
}
|
|
75
67
|
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
.paneBody + .paneBody {
|
|
69
|
+
padding-top: 0;
|
|
70
|
+
}
|
|
78
71
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
72
|
+
.paneFooter {
|
|
73
|
+
composes: basePaneElement from './base/Pane.module.scss';
|
|
74
|
+
|
|
75
|
+
display: flex;
|
|
76
|
+
padding: 21px;
|
|
77
|
+
gap: 9px;
|
|
78
|
+
background: var(--gray-1);
|
|
79
|
+
border-top: 1px solid var(--gray-2);
|
|
85
80
|
}
|
|
86
81
|
|
|
87
82
|
.paneLoader {
|
|
88
|
-
composes: basePaneLoader;
|
|
83
|
+
composes: basePaneLoader from './base/Pane.module.scss';
|
|
89
84
|
}
|
|
90
85
|
|
|
91
86
|
.paneTag {
|
|
@@ -93,9 +88,9 @@
|
|
|
93
88
|
top: 15px;
|
|
94
89
|
right: 15px;
|
|
95
90
|
padding: 6px 9px;
|
|
96
|
-
background:
|
|
91
|
+
background: var(--gray-10);
|
|
97
92
|
border-radius: calc(var(--radius) / 2);
|
|
98
|
-
color:
|
|
93
|
+
color: var(--gray-0);
|
|
99
94
|
font-size: 11px;
|
|
100
95
|
font-weight: 700;
|
|
101
96
|
letter-spacing: 1px;
|
|
@@ -138,7 +133,7 @@
|
|
|
138
133
|
|
|
139
134
|
overflow: hidden;
|
|
140
135
|
|
|
141
|
-
>
|
|
136
|
+
> .baseAutoGrid {
|
|
142
137
|
margin-right: -1px;
|
|
143
138
|
margin-bottom: -1px;
|
|
144
139
|
|
|
@@ -155,7 +150,7 @@
|
|
|
155
150
|
}
|
|
156
151
|
|
|
157
152
|
.paneGroup + .paneGroup {
|
|
158
|
-
border-top: 1px solid
|
|
153
|
+
border-top: 1px solid oklch(from var(--gray-11) l c h / .05);
|
|
159
154
|
}
|
|
160
155
|
|
|
161
156
|
.paneIllustration {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
flex: 1 0 auto;
|
|
8
8
|
flex-flow: column;
|
|
9
9
|
justify-content: center;
|
|
10
|
-
background:
|
|
11
|
-
border:
|
|
10
|
+
background: var(--gray-1);
|
|
11
|
+
border: 2px dashed var(--gray-3);
|
|
12
12
|
border-radius: var(--radius);
|
|
13
13
|
text-align: center;
|
|
14
14
|
user-select: none;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
cursor: pointer;
|
|
18
18
|
|
|
19
19
|
@include mixin.hover {
|
|
20
|
-
background:
|
|
20
|
+
background: var(--gray-2);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -67,6 +67,6 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.placeholderIcon {
|
|
70
|
-
color:
|
|
70
|
+
color: var(--primary-7);
|
|
71
71
|
font-size: 20px;
|
|
72
72
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@value basePaneStructure from './base/Pane.module.scss';
|
|
2
|
-
|
|
3
1
|
.progressBar {
|
|
4
2
|
position: relative;
|
|
5
3
|
}
|
|
@@ -7,9 +5,9 @@
|
|
|
7
5
|
.progressBarTrack {
|
|
8
6
|
position: relative;
|
|
9
7
|
height: 9px;
|
|
10
|
-
background:
|
|
8
|
+
background: var(--gray-1);
|
|
11
9
|
border-radius: calc(var(--radius) / 2);
|
|
12
|
-
box-shadow: inset 0 0 0 1px
|
|
10
|
+
box-shadow: inset 0 0 0 1px var(--gray-2);
|
|
13
11
|
contain: paint;
|
|
14
12
|
}
|
|
15
13
|
|
|
@@ -18,9 +16,20 @@
|
|
|
18
16
|
top: 0;
|
|
19
17
|
left: 0;
|
|
20
18
|
height: inherit;
|
|
21
|
-
background: linear-gradient(to right, rgb(var(--primary-8)) 20%, rgb(var(--primary-6)), rgb(var(--primary-8)) 80%);
|
|
22
|
-
background-size: 150px 100%;
|
|
23
19
|
border-radius: inherit;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.progressBarValueComplete {
|
|
23
|
+
composes: progressBarValue;
|
|
24
|
+
|
|
25
|
+
background: var(--primary-7);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.progressBarValueIncomplete {
|
|
29
|
+
composes: progressBarValue;
|
|
30
|
+
|
|
31
|
+
background: linear-gradient(to right, var(--primary-7) 20%, var(--primary-6), var(--primary-7) 80%);
|
|
32
|
+
background-size: 150px 100%;
|
|
24
33
|
animation: progressBarValue 1s linear infinite;
|
|
25
34
|
}
|
|
26
35
|
|
|
@@ -28,7 +37,7 @@
|
|
|
28
37
|
composes: progressBarTrack;
|
|
29
38
|
|
|
30
39
|
.progressBarValue {
|
|
31
|
-
background: linear-gradient(to right,
|
|
40
|
+
background: linear-gradient(to right, var(--primary-7) 20%, var(--primary-6), var(--primary-7) 80%);
|
|
32
41
|
background-size: 90px 100%;
|
|
33
42
|
animation: progressBarIndeterminate 1s linear infinite;
|
|
34
43
|
}
|
|
@@ -55,11 +64,11 @@
|
|
|
55
64
|
white-space: nowrap;
|
|
56
65
|
}
|
|
57
66
|
|
|
58
|
-
|
|
67
|
+
.basePaneStructure > .progressBar:first-child {
|
|
59
68
|
margin: 9px 9px 0;
|
|
60
69
|
}
|
|
61
70
|
|
|
62
|
-
|
|
71
|
+
.basePaneStructure > .progressBar:last-child {
|
|
63
72
|
margin: 0 9px 9px;
|
|
64
73
|
}
|
|
65
74
|
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
width: 27px;
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: center;
|
|
12
|
-
background:
|
|
13
|
-
border: 3px solid
|
|
12
|
+
background: var(--danger-7);
|
|
13
|
+
border: 3px solid var(--gray-0);
|
|
14
14
|
border-radius: 99px;
|
|
15
|
-
color:
|
|
15
|
+
color: var(--danger-0);
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
transition: 300ms var(--swift-out);
|
|
18
18
|
transition-property: background, opacity, scale;
|
|
19
19
|
|
|
20
20
|
@include mixin.hover {
|
|
21
|
-
background:
|
|
21
|
+
background: var(--danger-8);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&.isHidden {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
position: relative;
|
|
5
5
|
align-items: center;
|
|
6
6
|
gap: 1px;
|
|
7
|
-
background:
|
|
8
|
-
border: 1px solid
|
|
7
|
+
background: var(--gray-1);
|
|
8
|
+
border: 1px solid var(--gray-2);
|
|
9
9
|
border-radius: var(--radius);
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
position: absolute;
|
|
27
27
|
top: 0;
|
|
28
28
|
bottom: 0;
|
|
29
|
-
background:
|
|
29
|
+
background: var(--gray-0);
|
|
30
30
|
border-radius: var(--radius);
|
|
31
31
|
box-shadow: var(--shadow-sm);
|
|
32
|
-
outline: 1px solid
|
|
32
|
+
outline: 1px solid var(--gray-2);
|
|
33
33
|
pointer-events: none;
|
|
34
34
|
transition: 300ms var(--swift-out);
|
|
35
35
|
transition-property: left, width;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
transition-property: background, color;
|
|
56
56
|
|
|
57
57
|
@include mixin.hover {
|
|
58
|
-
background:
|
|
58
|
+
background: var(--gray-2);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&.isActive {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
height: 15px;
|
|
74
74
|
width: 1px;
|
|
75
75
|
flex-shrink: 0;
|
|
76
|
-
background:
|
|
76
|
+
background: var(--gray-2);
|
|
77
77
|
transition: opacity 300ms var(--swift-out);
|
|
78
78
|
|
|
79
79
|
&.isActive {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
@use '$flux/css/mixin';
|
|
2
2
|
|
|
3
|
-
@value basePane from './base/Pane.module.scss';
|
|
4
|
-
|
|
5
3
|
.snackbar {
|
|
6
|
-
composes: basePane;
|
|
4
|
+
composes: basePane from './base/Pane.module.scss';
|
|
7
5
|
|
|
8
6
|
display: flex;
|
|
9
7
|
box-shadow: var(--shadow-xl), var(--shadow-2xl);
|
|
@@ -67,7 +65,7 @@
|
|
|
67
65
|
align-items: center;
|
|
68
66
|
justify-content: center;
|
|
69
67
|
flex-grow: 1;
|
|
70
|
-
background:
|
|
68
|
+
background: var(--gray-0);
|
|
71
69
|
border: 0;
|
|
72
70
|
border-radius: 0;
|
|
73
71
|
color: var(--foreground);
|
|
@@ -80,22 +78,27 @@
|
|
|
80
78
|
transition-property: background, color;
|
|
81
79
|
|
|
82
80
|
&:hover {
|
|
83
|
-
background:
|
|
81
|
+
background: var(--gray-1);
|
|
84
82
|
color: var(--foreground-prominent);
|
|
85
83
|
}
|
|
86
84
|
|
|
85
|
+
&:first-child {
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
}
|
|
88
|
+
|
|
87
89
|
&:active {
|
|
88
|
-
background:
|
|
90
|
+
background: var(--gray-2);
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
.snackbarActions {
|
|
93
95
|
display: flex;
|
|
94
96
|
padding-left: 1px;
|
|
97
|
+
max-width: max-content;
|
|
95
98
|
flex-flow: column;
|
|
96
99
|
flex-grow: 1;
|
|
97
100
|
gap: 1px;
|
|
98
|
-
background:
|
|
101
|
+
background: var(--gray-2);
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
.snackbarGray {
|
|
@@ -114,12 +117,12 @@
|
|
|
114
117
|
.snackbarAction:first-child,
|
|
115
118
|
.snackbarContent > .icon,
|
|
116
119
|
.snackbarTitle {
|
|
117
|
-
color:
|
|
120
|
+
color: var(--primary-7);
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
.spinnerEffect,
|
|
121
124
|
.spinnerValue {
|
|
122
|
-
stroke:
|
|
125
|
+
stroke: var(--primary-8);
|
|
123
126
|
}
|
|
124
127
|
}
|
|
125
128
|
|
|
@@ -129,12 +132,12 @@
|
|
|
129
132
|
.snackbarAction:first-child,
|
|
130
133
|
.snackbarContent > .icon,
|
|
131
134
|
.snackbarTitle {
|
|
132
|
-
color:
|
|
135
|
+
color: var(--danger-7);
|
|
133
136
|
}
|
|
134
137
|
|
|
135
138
|
.spinnerEffect,
|
|
136
139
|
.spinnerValue {
|
|
137
|
-
stroke:
|
|
140
|
+
stroke: var(--danger-8);
|
|
138
141
|
}
|
|
139
142
|
}
|
|
140
143
|
|
|
@@ -144,12 +147,12 @@
|
|
|
144
147
|
.snackbarAction:first-child,
|
|
145
148
|
.snackbarContent > .icon,
|
|
146
149
|
.snackbarTitle {
|
|
147
|
-
color:
|
|
150
|
+
color: var(--info-7);
|
|
148
151
|
}
|
|
149
152
|
|
|
150
153
|
.spinnerEffect,
|
|
151
154
|
.spinnerValue {
|
|
152
|
-
stroke:
|
|
155
|
+
stroke: var(--info-8);
|
|
153
156
|
}
|
|
154
157
|
}
|
|
155
158
|
|
|
@@ -159,12 +162,12 @@
|
|
|
159
162
|
.snackbarAction:first-child,
|
|
160
163
|
.snackbarContent > .icon,
|
|
161
164
|
.snackbarTitle {
|
|
162
|
-
color:
|
|
165
|
+
color: var(--success-7);
|
|
163
166
|
}
|
|
164
167
|
|
|
165
168
|
.spinnerEffect,
|
|
166
169
|
.spinnerValue {
|
|
167
|
-
stroke:
|
|
170
|
+
stroke: var(--success-8);
|
|
168
171
|
}
|
|
169
172
|
}
|
|
170
173
|
|
|
@@ -174,12 +177,12 @@
|
|
|
174
177
|
.snackbarAction:first-child,
|
|
175
178
|
.snackbarContent > .icon,
|
|
176
179
|
.snackbarTitle {
|
|
177
|
-
color:
|
|
180
|
+
color: var(--warning-7);
|
|
178
181
|
}
|
|
179
182
|
|
|
180
183
|
.spinnerEffect,
|
|
181
184
|
.spinnerValue {
|
|
182
|
-
stroke:
|
|
185
|
+
stroke: var(--warning-8);
|
|
183
186
|
}
|
|
184
187
|
}
|
|
185
188
|
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
.statistic {
|
|
2
2
|
padding: 21px;
|
|
3
|
+
flex-basis: 0;
|
|
4
|
+
flex-grow: 1;
|
|
3
5
|
gap: 21px;
|
|
4
6
|
|
|
5
7
|
&.isGray .statisticIcon {
|
|
6
|
-
background:
|
|
7
|
-
color:
|
|
8
|
+
background: var(--gray-2);
|
|
9
|
+
color: var(--gray-7);
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
&.isPrimary .statisticIcon {
|
|
11
|
-
background:
|
|
12
|
-
color:
|
|
13
|
+
background: var(--primary-2);
|
|
14
|
+
color: var(--primary-7);
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
&.isDanger .statisticIcon {
|
|
16
|
-
background:
|
|
17
|
-
color:
|
|
18
|
+
background: var(--danger-2);
|
|
19
|
+
color: var(--danger-7);
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
&.isInfo .statisticIcon {
|
|
21
|
-
background:
|
|
22
|
-
color:
|
|
23
|
+
background: var(--info-2);
|
|
24
|
+
color: var(--info-7);
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
&.isSuccess .statisticIcon {
|
|
26
|
-
background:
|
|
27
|
-
color:
|
|
28
|
+
background: var(--success-2);
|
|
29
|
+
color: var(--success-7);
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
&.isWarning .statisticIcon {
|
|
31
|
-
background:
|
|
32
|
-
color:
|
|
33
|
+
background: var(--warning-2);
|
|
34
|
+
color: var(--warning-7);
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -47,23 +49,23 @@
|
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
&.isPrimary {
|
|
50
|
-
color:
|
|
52
|
+
color: var(--primary-7);
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
&.isDanger {
|
|
54
|
-
color:
|
|
56
|
+
color: var(--danger-7);
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
&.isInfo {
|
|
58
|
-
color:
|
|
60
|
+
color: var(--info-7);
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
&.isSuccess {
|
|
62
|
-
color:
|
|
64
|
+
color: var(--success-7);
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
&.isWarning {
|
|
66
|
-
color:
|
|
68
|
+
color: var(--warning-7);
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
|
|
@@ -94,6 +96,12 @@
|
|
|
94
96
|
border-radius: var(--radius);
|
|
95
97
|
}
|
|
96
98
|
|
|
99
|
+
.statisticImage {
|
|
100
|
+
height: 48px;
|
|
101
|
+
width: 48px;
|
|
102
|
+
border-radius: var(--radius);
|
|
103
|
+
}
|
|
104
|
+
|
|
97
105
|
.statisticHorizontal {
|
|
98
106
|
composes: statistic;
|
|
99
107
|
|