@flux-ui/components 3.0.0-next.73 → 3.0.0-next.75
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/component/FluxKanbanColumn.vue.d.ts +1 -1
- package/dist/component/FluxSegmentedControl.vue.d.ts +18 -8
- package/dist/component/FluxSegmentedControlItem.vue.d.ts +20 -0
- package/dist/component/FluxSpacing.vue.d.ts +2 -1
- package/dist/component/index.d.ts +1 -4
- package/dist/component/primitive/FilterMenuRenderer.d.ts +3 -3
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/useSegmentedControlInjection.d.ts +2 -0
- package/dist/data/di.d.ts +10 -1
- package/dist/index.css +57 -158
- package/dist/index.js +321 -405
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/component/FluxBoxedIcon.vue +1 -1
- package/src/component/FluxCalendar.vue +6 -6
- package/src/component/FluxColorPicker.vue +5 -5
- package/src/component/FluxDropZone.vue +0 -1
- package/src/component/FluxDynamicView.vue +2 -2
- package/src/component/FluxExpandableGroup.vue +0 -1
- package/src/component/FluxFilterBase.vue +11 -11
- package/src/component/FluxFormFieldAddition.vue +2 -2
- package/src/component/FluxInfo.vue +2 -2
- package/src/component/FluxInfoStack.vue +2 -2
- package/src/component/FluxKanbanColumn.vue +2 -4
- package/src/component/FluxLayerPane.vue +1 -1
- package/src/component/FluxPagination.vue +4 -4
- package/src/component/FluxSegmentedControl.vue +64 -67
- package/src/component/FluxSegmentedControlItem.vue +98 -0
- package/src/component/FluxSpacing.vue +5 -1
- package/src/component/FluxSplitButton.vue +2 -2
- package/src/component/FluxTable.vue +3 -1
- package/src/component/FluxToolbar.vue +1 -1
- package/src/component/index.ts +1 -4
- package/src/component/primitive/FilterBadge.vue +11 -2
- package/src/component/primitive/FilterMenuRenderer.ts +4 -4
- package/src/composable/index.ts +1 -0
- package/src/composable/useSegmentedControlInjection.ts +13 -0
- package/src/css/component/Form.module.scss +2 -2
- package/src/css/component/SegmentedControl.module.scss +51 -23
- package/src/css/component/Spinner.module.scss +1 -0
- package/src/css/component/Visual.module.scss +1 -0
- package/src/css/mixin/tree-node.scss +3 -3
- package/src/data/di.ts +13 -1
- package/src/data/iconRegistry.ts +1 -1
- package/src/util/createDialogRenderer.ts +1 -1
- package/dist/component/FluxLegend.vue.d.ts +0 -8
- package/dist/component/FluxPercentageBar.vue.d.ts +0 -8
- package/dist/component/FluxSegmentedView.vue.d.ts +0 -9
- package/dist/component/FluxStatistic.vue.d.ts +0 -17
- package/src/component/FluxLegend.vue +0 -27
- package/src/component/FluxPercentageBar.vue +0 -47
- package/src/component/FluxSegmentedView.vue +0 -15
- package/src/component/FluxStatistic.vue +0 -82
- package/src/css/component/Legend.module.scss +0 -29
- package/src/css/component/PercentageBar.module.scss +0 -31
- package/src/css/component/Statistic.module.scss +0 -91
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
.statistic {
|
|
2
|
-
padding: 18px;
|
|
3
|
-
flex-basis: 0;
|
|
4
|
-
flex-grow: 1;
|
|
5
|
-
gap: 18px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.statisticChange {
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
align-self: flex-end;
|
|
12
|
-
gap: 6px;
|
|
13
|
-
font-size: 12px;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
line-height: 1;
|
|
16
|
-
|
|
17
|
-
&.isGray {
|
|
18
|
-
color: var(--foreground-prominent);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.isPrimary {
|
|
22
|
-
color: var(--primary-600);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.isDanger {
|
|
26
|
-
color: var(--danger-600);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.isInfo {
|
|
30
|
-
color: var(--info-600);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.isSuccess {
|
|
34
|
-
color: var(--success-600);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.isWarning {
|
|
38
|
-
color: var(--warning-600);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.statisticData {
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-flow: column;
|
|
45
|
-
flex-grow: 1;
|
|
46
|
-
gap: 9px;
|
|
47
|
-
line-height: 1;
|
|
48
|
-
|
|
49
|
-
:is(span) {
|
|
50
|
-
color: var(--foreground-secondary);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
:is(strong) {
|
|
54
|
-
color: var(--foreground-prominent);
|
|
55
|
-
font-size: 24px;
|
|
56
|
-
font-weight: 700;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.statisticIcon :local(.icon) {
|
|
61
|
-
font-size: .45em;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.statisticImage {
|
|
65
|
-
height: 48px;
|
|
66
|
-
width: 48px;
|
|
67
|
-
border-radius: var(--radius);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.statisticHorizontal {
|
|
71
|
-
composes: statistic;
|
|
72
|
-
|
|
73
|
-
display: flex;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.statisticVertical {
|
|
77
|
-
composes: statistic;
|
|
78
|
-
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
flex-flow: column;
|
|
82
|
-
text-align: center;
|
|
83
|
-
|
|
84
|
-
.statisticChange {
|
|
85
|
-
align-self: center;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.statisticData {
|
|
89
|
-
align-items: center;
|
|
90
|
-
}
|
|
91
|
-
}
|