@flux-ui/components 3.0.0-next.0
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 +45 -0
- package/package.json +77 -0
- package/src/component/FluxAction.vue +27 -0
- package/src/component/FluxActionBar.vue +94 -0
- package/src/component/FluxActionPane.vue +40 -0
- package/src/component/FluxActions.vue +27 -0
- package/src/component/FluxAlert.vue +37 -0
- package/src/component/FluxAnimatedColors.vue +141 -0
- package/src/component/FluxAspectRatio.vue +21 -0
- package/src/component/FluxAutoGrid.vue +27 -0
- package/src/component/FluxAvatar.vue +119 -0
- package/src/component/FluxBadge.vue +84 -0
- package/src/component/FluxBadgeStack.vue +18 -0
- package/src/component/FluxBorderShine.vue +36 -0
- package/src/component/FluxBoxedIcon.vue +36 -0
- package/src/component/FluxButton.vue +110 -0
- package/src/component/FluxButtonGroup.vue +15 -0
- package/src/component/FluxButtonStack.vue +28 -0
- package/src/component/FluxCalendar.vue +254 -0
- package/src/component/FluxCalendarEvent.vue +41 -0
- package/src/component/FluxCheckbox.vue +60 -0
- package/src/component/FluxChip.vue +57 -0
- package/src/component/FluxClickablePane.vue +61 -0
- package/src/component/FluxColorPicker.vue +265 -0
- package/src/component/FluxColorSelect.vue +81 -0
- package/src/component/FluxComment.vue +71 -0
- package/src/component/FluxConfirm.vue +42 -0
- package/src/component/FluxContainer.vue +23 -0
- package/src/component/FluxDataTable.vue +96 -0
- package/src/component/FluxDatePicker.vue +353 -0
- package/src/component/FluxDestructiveButton.vue +28 -0
- package/src/component/FluxDisabled.vue +22 -0
- package/src/component/FluxDivider.vue +37 -0
- package/src/component/FluxDotPattern.vue +72 -0
- package/src/component/FluxDropZone.vue +202 -0
- package/src/component/FluxDynamicView.vue +16 -0
- package/src/component/FluxExpandable.vue +119 -0
- package/src/component/FluxExpandableGroup.vue +53 -0
- package/src/component/FluxFader.vue +64 -0
- package/src/component/FluxFaderItem.vue +15 -0
- package/src/component/FluxFilter.vue +133 -0
- package/src/component/FluxFilterDate.vue +58 -0
- package/src/component/FluxFilterDateRange.vue +59 -0
- package/src/component/FluxFilterOption.vue +49 -0
- package/src/component/FluxFilterOptionAsync.vue +103 -0
- package/src/component/FluxFilterOptions.vue +62 -0
- package/src/component/FluxFilterOptionsAsync.vue +113 -0
- package/src/component/FluxFilterRange.vue +91 -0
- package/src/component/FluxFlickeringGrid.vue +141 -0
- package/src/component/FluxFlyout.vue +205 -0
- package/src/component/FluxFocalPointEditor.vue +137 -0
- package/src/component/FluxFocalPointImage.vue +29 -0
- package/src/component/FluxForm.vue +35 -0
- package/src/component/FluxFormColumn.vue +15 -0
- package/src/component/FluxFormDateInput.vue +92 -0
- package/src/component/FluxFormDateRangeInput.vue +87 -0
- package/src/component/FluxFormDateTimeInput.vue +120 -0
- package/src/component/FluxFormField.vue +98 -0
- package/src/component/FluxFormFieldAddition.vue +37 -0
- package/src/component/FluxFormInput.vue +223 -0
- package/src/component/FluxFormInputAddition.vue +31 -0
- package/src/component/FluxFormInputGroup.vue +25 -0
- package/src/component/FluxFormPinInput.vue +135 -0
- package/src/component/FluxFormRangeSlider.vue +179 -0
- package/src/component/FluxFormRow.vue +15 -0
- package/src/component/FluxFormSection.vue +23 -0
- package/src/component/FluxFormSelect.vue +59 -0
- package/src/component/FluxFormSelectAsync.vue +118 -0
- package/src/component/FluxFormSlider.vue +123 -0
- package/src/component/FluxFormTextArea.vue +53 -0
- package/src/component/FluxFormTimeZonePicker.vue +713 -0
- package/src/component/FluxGallery.vue +99 -0
- package/src/component/FluxGalleryItem.vue +49 -0
- package/src/component/FluxGrid.vue +28 -0
- package/src/component/FluxGridColumn.vue +31 -0
- package/src/component/FluxGridPattern.vue +60 -0
- package/src/component/FluxIcon.vue +79 -0
- package/src/component/FluxInfo.vue +28 -0
- package/src/component/FluxInfoStack.vue +17 -0
- package/src/component/FluxLegend.vue +27 -0
- package/src/component/FluxLink.vue +35 -0
- package/src/component/FluxMenu.vue +31 -0
- package/src/component/FluxMenuGroup.vue +21 -0
- package/src/component/FluxMenuItem.vue +84 -0
- package/src/component/FluxMenuOptions.vue +38 -0
- package/src/component/FluxMenuSubHeader.vue +33 -0
- package/src/component/FluxMenuTitle.vue +17 -0
- package/src/component/FluxNotice.vue +79 -0
- package/src/component/FluxNoticeStack.vue +17 -0
- package/src/component/FluxOverlay.vue +31 -0
- package/src/component/FluxPagination.vue +148 -0
- package/src/component/FluxPaginationBar.vue +81 -0
- package/src/component/FluxPane.vue +45 -0
- package/src/component/FluxPaneBody.vue +15 -0
- package/src/component/FluxPaneDeck.vue +24 -0
- package/src/component/FluxPaneFooter.vue +15 -0
- package/src/component/FluxPaneGroup.vue +15 -0
- package/src/component/FluxPaneHeader.vue +44 -0
- package/src/component/FluxPaneIllustration.vue +68 -0
- package/src/component/FluxPaneMedia.vue +31 -0
- package/src/component/FluxPercentageBar.vue +45 -0
- package/src/component/FluxPersona.vue +48 -0
- package/src/component/FluxPlaceholder.vue +56 -0
- package/src/component/FluxPressable.vue +77 -0
- package/src/component/FluxPrimaryButton.vue +28 -0
- package/src/component/FluxProgressBar.vue +75 -0
- package/src/component/FluxPrompt.vue +77 -0
- package/src/component/FluxPublishButton.vue +59 -0
- package/src/component/FluxQuantitySelector.vue +109 -0
- package/src/component/FluxRemove.vue +34 -0
- package/src/component/FluxRoot.vue +60 -0
- package/src/component/FluxSecondaryButton.vue +28 -0
- package/src/component/FluxSegmentedControl.vue +77 -0
- package/src/component/FluxSegmentedView.vue +15 -0
- package/src/component/FluxSeparator.vue +19 -0
- package/src/component/FluxSlideOver.vue +25 -0
- package/src/component/FluxSnackbar.vue +154 -0
- package/src/component/FluxSnackbarProvider.vue +34 -0
- package/src/component/FluxSpacer.vue +9 -0
- package/src/component/FluxSpacing.vue +32 -0
- package/src/component/FluxSpinner.vue +48 -0
- package/src/component/FluxSplitButton.vue +61 -0
- package/src/component/FluxStack.vue +40 -0
- package/src/component/FluxStatistic.vue +68 -0
- package/src/component/FluxStepper.vue +69 -0
- package/src/component/FluxStepperStep.vue +15 -0
- package/src/component/FluxStepperSteps.vue +62 -0
- package/src/component/FluxTab.vue +23 -0
- package/src/component/FluxTabBar.vue +87 -0
- package/src/component/FluxTabBarItem.vue +104 -0
- package/src/component/FluxTable.vue +68 -0
- package/src/component/FluxTableActions.vue +16 -0
- package/src/component/FluxTableCell.vue +47 -0
- package/src/component/FluxTableHeader.vue +111 -0
- package/src/component/FluxTableRow.vue +15 -0
- package/src/component/FluxTabs.vue +91 -0
- package/src/component/FluxTag.vue +85 -0
- package/src/component/FluxTagStack.vue +18 -0
- package/src/component/FluxTicks.vue +44 -0
- package/src/component/FluxTimeline.vue +17 -0
- package/src/component/FluxTimelineItem.vue +73 -0
- package/src/component/FluxToggle.vue +64 -0
- package/src/component/FluxToolbar.vue +32 -0
- package/src/component/FluxToolbarGroup.vue +18 -0
- package/src/component/FluxTooltip.vue +56 -0
- package/src/component/FluxTooltipProvider.vue +176 -0
- package/src/component/FluxWindow.vue +47 -0
- package/src/component/index.ts +142 -0
- package/src/component/primitive/Anchor.vue +17 -0
- package/src/component/primitive/AnchorPopup.vue +194 -0
- package/src/component/primitive/CoordinatePicker.vue +155 -0
- package/src/component/primitive/CoordinatePickerThumb.vue +71 -0
- package/src/component/primitive/FilterItem.vue +44 -0
- package/src/component/primitive/FilterMenuRenderer.ts +233 -0
- package/src/component/primitive/FilterOptionBase.vue +67 -0
- package/src/component/primitive/SelectBase.vue +340 -0
- package/src/component/primitive/SliderBase.vue +89 -0
- package/src/component/primitive/SliderThumb.vue +64 -0
- package/src/component/primitive/SliderTrack.vue +22 -0
- package/src/component/primitive/VNodeRenderer.ts +11 -0
- package/src/component/primitive/index.ts +10 -0
- package/src/composable/index.ts +9 -0
- package/src/composable/private/index.ts +3 -0
- package/src/composable/private/useFormSelect.ts +66 -0
- package/src/composable/private/useLoaded.ts +21 -0
- package/src/composable/private/useTranslate.ts +35 -0
- package/src/composable/useBreakpoints.ts +54 -0
- package/src/composable/useDisabled.ts +9 -0
- package/src/composable/useDisabledInjection.ts +6 -0
- package/src/composable/useExpandableGroupInjection.ts +10 -0
- package/src/composable/useFilterInjection.ts +22 -0
- package/src/composable/useFlyoutInjection.ts +10 -0
- package/src/composable/useFormFieldInjection.ts +8 -0
- package/src/composable/useTableInjection.ts +11 -0
- package/src/css/base.scss +33 -0
- package/src/css/component/Action.module.scss +107 -0
- package/src/css/component/Avatar.module.scss +177 -0
- package/src/css/component/Badge.module.scss +189 -0
- package/src/css/component/Button.module.scss +293 -0
- package/src/css/component/Calendar.module.scss +171 -0
- package/src/css/component/Chip.module.scss +58 -0
- package/src/css/component/Color.module.scss +184 -0
- package/src/css/component/Comment.module.scss +123 -0
- package/src/css/component/DatePicker.module.scss +193 -0
- package/src/css/component/Divider.module.scss +79 -0
- package/src/css/component/DropZone.module.scss +99 -0
- package/src/css/component/Expandable.module.scss +112 -0
- package/src/css/component/Fader.module.scss +38 -0
- package/src/css/component/Filter.module.scss +80 -0
- package/src/css/component/Flyout.module.scss +63 -0
- package/src/css/component/FocalPoint.module.scss +84 -0
- package/src/css/component/Form.module.scss +812 -0
- package/src/css/component/Gallery.module.scss +64 -0
- package/src/css/component/Grid.module.scss +24 -0
- package/src/css/component/Icon.module.scss +104 -0
- package/src/css/component/Info.module.scss +15 -0
- package/src/css/component/Layout.module.scss +63 -0
- package/src/css/component/Legend.module.scss +32 -0
- package/src/css/component/Menu.module.scss +314 -0
- package/src/css/component/Notice.module.scss +279 -0
- package/src/css/component/Overlay.module.scss +149 -0
- package/src/css/component/Pagination.module.scss +59 -0
- package/src/css/component/Pane.module.scss +218 -0
- package/src/css/component/PercentageBar.module.scss +31 -0
- package/src/css/component/Placeholder.module.scss +72 -0
- package/src/css/component/Progress.module.scss +84 -0
- package/src/css/component/Remove.module.scss +29 -0
- package/src/css/component/Root.module.scss +8 -0
- package/src/css/component/SegmentedControl.module.scss +82 -0
- package/src/css/component/Snackbar.module.scss +227 -0
- package/src/css/component/Spinner.module.scss +36 -0
- package/src/css/component/Statistic.module.scss +118 -0
- package/src/css/component/Stepper.module.scss +103 -0
- package/src/css/component/Tab.module.scss +162 -0
- package/src/css/component/Table.module.scss +164 -0
- package/src/css/component/Timeline.module.scss +173 -0
- package/src/css/component/Toolbar.module.scss +82 -0
- package/src/css/component/Tooltip.module.scss +62 -0
- package/src/css/component/Transition.module.scss +142 -0
- package/src/css/component/Visual.module.scss +70 -0
- package/src/css/component/base/Button.module.scss +87 -0
- package/src/css/component/base/Effect.module.scss +139 -0
- package/src/css/component/base/Grid.module.scss +8 -0
- package/src/css/component/base/Pane.module.scss +54 -0
- package/src/css/component/primitive/CoordinatePicker.module.scss +24 -0
- package/src/css/component/primitive/Slider.module.scss +116 -0
- package/src/css/index.scss +5 -0
- package/src/css/layers.scss +1 -0
- package/src/css/mixin/breakpoints.scss +112 -0
- package/src/css/mixin/focus-ring.scss +56 -0
- package/src/css/mixin/hover.scss +7 -0
- package/src/css/mixin/index.scss +3 -0
- package/src/css/reset.scss +169 -0
- package/src/css/typography.scss +87 -0
- package/src/css/variables.scss +214 -0
- package/src/data/di.ts +42 -0
- package/src/data/filter.ts +9 -0
- package/src/data/helper.ts +9 -0
- package/src/data/i18n.ts +55 -0
- package/src/data/iconRegistry.ts +21 -0
- package/src/data/index.ts +8 -0
- package/src/data/inputMask.ts +34 -0
- package/src/data/store.ts +233 -0
- package/src/image/avatar-mask.svg +3 -0
- package/src/index.ts +25 -0
- package/src/transition/FluxAutoHeightTransition.vue +59 -0
- package/src/transition/FluxAutoWidthTransition.vue +59 -0
- package/src/transition/FluxBreakthroughTransition.vue +23 -0
- package/src/transition/FluxFadeTransition.vue +24 -0
- package/src/transition/FluxOverlayTransition.vue +22 -0
- package/src/transition/FluxRouteTransition.vue +23 -0
- package/src/transition/FluxSlideOverTransition.vue +22 -0
- package/src/transition/FluxTooltipTransition.vue +22 -0
- package/src/transition/FluxVerticalWindowTransition.vue +23 -0
- package/src/transition/FluxWindowTransition.vue +23 -0
- package/src/transition/index.ts +10 -0
- package/src/util/createDialogRenderer.ts +64 -0
- package/src/util/createLabelForDateRange.ts +61 -0
- package/src/util/index.ts +2 -0
- package/src/vite.d.ts +13 -0
- package/tsconfig.json +45 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
@use '$flux/css/mixin';
|
|
2
|
+
|
|
3
|
+
@value basePane, basePaneElement from './base/Pane.module.scss';
|
|
4
|
+
|
|
5
|
+
.notice {
|
|
6
|
+
composes: basePaneElement;
|
|
7
|
+
|
|
8
|
+
display: flex;
|
|
9
|
+
padding: 12px 15px;
|
|
10
|
+
gap: 12px;
|
|
11
|
+
border-radius: var(--radius);
|
|
12
|
+
|
|
13
|
+
.button {
|
|
14
|
+
margin-top: -6px;
|
|
15
|
+
margin-right: -9px;
|
|
16
|
+
margin-bottom: -6px;
|
|
17
|
+
height: 36px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
a {
|
|
21
|
+
color: currentColor;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
ul {
|
|
25
|
+
margin-top: 3px;
|
|
26
|
+
padding-left: 1em;
|
|
27
|
+
list-style-type: disc;
|
|
28
|
+
|
|
29
|
+
li + li {
|
|
30
|
+
margin-top: 9px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.noticeBody {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-flow: column;
|
|
38
|
+
flex-grow: 1;
|
|
39
|
+
text-wrap: pretty;
|
|
40
|
+
|
|
41
|
+
:global(p) {
|
|
42
|
+
line-height: 1.6;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:last-child {
|
|
46
|
+
flex-grow: 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.noticeClose {
|
|
51
|
+
display: flex;
|
|
52
|
+
height: 20px;
|
|
53
|
+
width: 20px;
|
|
54
|
+
margin: 2px;
|
|
55
|
+
padding: 0;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
border: 0;
|
|
59
|
+
border-radius: 12px;
|
|
60
|
+
color: currentColor;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
transition: opacity 150ms var(--swift-out);
|
|
63
|
+
|
|
64
|
+
@include mixin.hover {
|
|
65
|
+
opacity: .75;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
> .icon {
|
|
69
|
+
font-size: 14px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.noticePrefix {
|
|
74
|
+
margin-top: 2px;
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
font-size: 20px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.noticeMessage,
|
|
80
|
+
.noticeTitle {
|
|
81
|
+
margin: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.noticeTitle {
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.notice.isCenter {
|
|
89
|
+
justify-content: center;
|
|
90
|
+
text-align: center;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.notice.isFluid {
|
|
94
|
+
border-style: solid;
|
|
95
|
+
border-width: 1px;
|
|
96
|
+
border-left: 0;
|
|
97
|
+
border-right: 0;
|
|
98
|
+
border-radius: 0;
|
|
99
|
+
|
|
100
|
+
&:first-child {
|
|
101
|
+
border-top: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:last-child {
|
|
105
|
+
border-bottom: 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.noticeGray {
|
|
110
|
+
composes: notice;
|
|
111
|
+
|
|
112
|
+
background: rgb(var(--gray-2));
|
|
113
|
+
border-color: rgb(var(--gray-3));
|
|
114
|
+
color: var(--foreground);
|
|
115
|
+
|
|
116
|
+
.noticeClose {
|
|
117
|
+
background: rgb(var(--gray-3));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.noticePrefix,
|
|
121
|
+
.noticeTitle {
|
|
122
|
+
color: var(--foreground-prominent);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.noticePrimary {
|
|
127
|
+
composes: notice;
|
|
128
|
+
|
|
129
|
+
background: rgb(var(--primary-2));
|
|
130
|
+
border-color: rgb(var(--primary-3));
|
|
131
|
+
color: rgb(var(--primary-11));
|
|
132
|
+
|
|
133
|
+
.noticeClose {
|
|
134
|
+
background: rgb(var(--primary-3));
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.noticePrefix,
|
|
138
|
+
.noticeTitle {
|
|
139
|
+
color: rgb(var(--primary-7));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:local(.button) {
|
|
143
|
+
border-color: rgb(var(--primary-4));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:local(.spinnerTrack) {
|
|
147
|
+
stroke: rgb(var(--primary-3));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:local(.spinnerEffect),
|
|
151
|
+
:local(.spinnerValue) {
|
|
152
|
+
stroke: rgb(var(--primary-7));
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.noticeDanger {
|
|
157
|
+
composes: notice;
|
|
158
|
+
|
|
159
|
+
background: rgb(var(--danger-2));
|
|
160
|
+
border-color: rgb(var(--danger-3));
|
|
161
|
+
color: rgb(var(--danger-11));
|
|
162
|
+
|
|
163
|
+
.noticeClose {
|
|
164
|
+
background: rgb(var(--danger-3));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.noticePrefix,
|
|
168
|
+
.noticeTitle {
|
|
169
|
+
color: rgb(var(--danger-7));
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
:local(.button) {
|
|
173
|
+
border-color: rgb(var(--danger-4));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
:local(.spinnerTrack) {
|
|
177
|
+
stroke: rgb(var(--danger-3));
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:local(.spinnerEffect),
|
|
181
|
+
:local(.spinnerValue) {
|
|
182
|
+
stroke: rgb(var(--danger-7));
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.noticeInfo {
|
|
187
|
+
composes: notice;
|
|
188
|
+
|
|
189
|
+
background: rgb(var(--info-2));
|
|
190
|
+
border-color: rgb(var(--info-3));
|
|
191
|
+
color: rgb(var(--info-11));
|
|
192
|
+
|
|
193
|
+
.noticeClose {
|
|
194
|
+
background: rgb(var(--info-3));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.noticePrefix,
|
|
198
|
+
.noticeTitle {
|
|
199
|
+
color: rgb(var(--info-7));
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:local(.button) {
|
|
203
|
+
border-color: rgb(var(--info-4));
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
:local(.spinnerTrack) {
|
|
207
|
+
stroke: rgb(var(--info-3));
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:local(.spinnerEffect),
|
|
211
|
+
:local(.spinnerValue) {
|
|
212
|
+
stroke: rgb(var(--info-7));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.noticeSuccess {
|
|
217
|
+
composes: notice;
|
|
218
|
+
|
|
219
|
+
background: rgb(var(--success-2));
|
|
220
|
+
border-color: rgb(var(--success-3));
|
|
221
|
+
color: rgb(var(--success-11));
|
|
222
|
+
|
|
223
|
+
.noticeClose {
|
|
224
|
+
background: rgb(var(--success-3));
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.noticePrefix,
|
|
228
|
+
.noticeTitle {
|
|
229
|
+
color: rgb(var(--success-7));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
:local(.button) {
|
|
233
|
+
border-color: rgb(var(--success-4));
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
:local(.spinnerTrack) {
|
|
237
|
+
stroke: rgb(var(--success-3));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
:local(.spinnerEffect),
|
|
241
|
+
:local(.spinnerValue) {
|
|
242
|
+
stroke: rgb(var(--success-7));
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.noticeWarning {
|
|
247
|
+
composes: notice;
|
|
248
|
+
|
|
249
|
+
background: rgb(var(--warning-2));
|
|
250
|
+
border-color: rgb(var(--warning-3));
|
|
251
|
+
color: rgb(var(--warning-11));
|
|
252
|
+
|
|
253
|
+
.noticeClose {
|
|
254
|
+
background: rgb(var(--warning-3));
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.noticePrefix,
|
|
258
|
+
.noticeTitle {
|
|
259
|
+
color: rgb(var(--warning-7));
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
:local(.button) {
|
|
263
|
+
border-color: rgb(var(--warning-4));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
:local(.spinnerTrack) {
|
|
267
|
+
stroke: rgb(var(--warning-3));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
:local(.spinnerEffect),
|
|
271
|
+
:local(.spinnerValue) {
|
|
272
|
+
stroke: rgb(var(--warning-7));
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
:local(.basePane) > .notice {
|
|
277
|
+
padding-left: 21px;
|
|
278
|
+
padding-right: 21px;
|
|
279
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
.overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
display: flex;
|
|
4
|
+
inset: 0;
|
|
5
|
+
height: 100dvh;
|
|
6
|
+
width: 100dvw;
|
|
7
|
+
background: rgb(var(--gray-3) / .5);
|
|
8
|
+
backdrop-filter: blur(3px) saturate(180%);
|
|
9
|
+
z-index: 10000;
|
|
10
|
+
|
|
11
|
+
> .basePaneStructure {
|
|
12
|
+
display: flex;
|
|
13
|
+
margin: auto;
|
|
14
|
+
max-height: min(840px, 100dvh - 180px);
|
|
15
|
+
width: calc(100dvw - 90px);
|
|
16
|
+
flex-flow: column nowrap;
|
|
17
|
+
box-shadow: var(--shadow-lg);
|
|
18
|
+
overflow: auto;
|
|
19
|
+
|
|
20
|
+
.paneFooter {
|
|
21
|
+
position: sticky;
|
|
22
|
+
bottom: 0;
|
|
23
|
+
margin-top: auto;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.overlaySmall {
|
|
29
|
+
composes: overlay;
|
|
30
|
+
|
|
31
|
+
> .basePaneStructure {
|
|
32
|
+
max-width: 420px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.overlayMedium {
|
|
37
|
+
composes: overlay;
|
|
38
|
+
|
|
39
|
+
> .basePaneStructure {
|
|
40
|
+
max-width: 540px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.overlayLarge {
|
|
45
|
+
composes: overlay;
|
|
46
|
+
|
|
47
|
+
> .basePaneStructure {
|
|
48
|
+
max-width: 720px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.slideOver {
|
|
53
|
+
composes: overlay;
|
|
54
|
+
|
|
55
|
+
justify-content: flex-end;
|
|
56
|
+
|
|
57
|
+
> .basePaneStructure {
|
|
58
|
+
margin: 9px;
|
|
59
|
+
max-height: calc(100% - 18px);
|
|
60
|
+
width: min(100dvw, 720px);
|
|
61
|
+
contain: paint;
|
|
62
|
+
overflow: auto;
|
|
63
|
+
|
|
64
|
+
> .paneHeader,
|
|
65
|
+
> .paneFooter {
|
|
66
|
+
position: sticky;
|
|
67
|
+
z-index: 100;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
> .paneHeader {
|
|
71
|
+
top: 0;
|
|
72
|
+
padding-bottom: 21px;
|
|
73
|
+
border-bottom: 1px solid rgb(var(--gray-2));
|
|
74
|
+
box-shadow: var(--shadow-xs);
|
|
75
|
+
|
|
76
|
+
&:has(+ :where(.tabs, .tabBar)) {
|
|
77
|
+
padding-bottom: 0;
|
|
78
|
+
border-bottom: 0;
|
|
79
|
+
box-shadow: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:not(:has(+ :where(.tabs, .tabBar))) {
|
|
83
|
+
background: inherit;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
> .paneHeader + .tabBar {
|
|
88
|
+
position: sticky;
|
|
89
|
+
top: 45px;
|
|
90
|
+
z-index: 100;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
> .paneHeader:has(.paneHeaderCaption > :is(span)) + .tabBar {
|
|
94
|
+
top: 69px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
> .paneFooter {
|
|
98
|
+
bottom: 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.overlayTransitionEnterActive,
|
|
104
|
+
.overlayTransitionLeaveActive {
|
|
105
|
+
transition: opacity 420ms var(--swift-out);
|
|
106
|
+
|
|
107
|
+
> .basePaneStructure {
|
|
108
|
+
transition: 420ms var(--swift-out);
|
|
109
|
+
transition-property: opacity, scale;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.overlayTransitionEnterFrom {
|
|
114
|
+
opacity: 0;
|
|
115
|
+
|
|
116
|
+
> .basePaneStructure {
|
|
117
|
+
opacity: 0;
|
|
118
|
+
scale: .9;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.overlayTransitionLeaveTo {
|
|
123
|
+
opacity: 0;
|
|
124
|
+
|
|
125
|
+
> .basePaneStructure {
|
|
126
|
+
opacity: 0;
|
|
127
|
+
scale: .95;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.slideOverTransitionEnterActive,
|
|
132
|
+
.slideOverTransitionLeaveActive {
|
|
133
|
+
transition: opacity 600ms var(--swift-out);
|
|
134
|
+
|
|
135
|
+
> .basePaneStructure {
|
|
136
|
+
transition: 600ms var(--swift-out);
|
|
137
|
+
transition-property: opacity, transform;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.slideOverTransitionEnterFrom,
|
|
142
|
+
.slideOverTransitionLeaveTo {
|
|
143
|
+
opacity: 0;
|
|
144
|
+
transition-delay: 210ms;
|
|
145
|
+
|
|
146
|
+
> .basePaneStructure {
|
|
147
|
+
transform: translate3d(100%, 0, 0);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@use '$flux/css/mixin';
|
|
2
|
+
|
|
3
|
+
.pagination {
|
|
4
|
+
z-index: 0;
|
|
5
|
+
|
|
6
|
+
.button {
|
|
7
|
+
min-width: 40px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.buttonLabel {
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
margin-right: 0;
|
|
13
|
+
min-width: 18px;
|
|
14
|
+
|
|
15
|
+
&:nth-child(2) {
|
|
16
|
+
min-width: unset;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.primaryButton {
|
|
21
|
+
z-index: 1;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.paginationCurrent {
|
|
26
|
+
gap: 3px;
|
|
27
|
+
font-variant-numeric: tabular-nums;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.paginationBar {
|
|
31
|
+
align-items: center;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
|
|
34
|
+
.formInputGroup {
|
|
35
|
+
max-width: max-content;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.formSelect {
|
|
39
|
+
width: 78px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pagination .button:first-child {
|
|
43
|
+
border-radius: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@include mixin.breakpoint-up(lg) {
|
|
47
|
+
flex-direction: row;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@include mixin.breakpoint-down(md) {
|
|
52
|
+
.paginationBarSpacer {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.paneFooter > .paginationBar {
|
|
58
|
+
flex-grow: 1;
|
|
59
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
@value baseAutoGrid from './base/Grid.module.scss';
|
|
2
|
+
@value basePaneElement, basePaneLoader, basePaneStructure from './base/Pane.module.scss';
|
|
3
|
+
|
|
4
|
+
@layer flux-base {
|
|
5
|
+
.pane {
|
|
6
|
+
composes: basePaneStructure;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.paneDefault {
|
|
10
|
+
composes: pane;
|
|
11
|
+
|
|
12
|
+
box-shadow: var(--shadow-sm);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.paneFlat {
|
|
16
|
+
composes: pane;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.paneWell {
|
|
20
|
+
composes: pane;
|
|
21
|
+
|
|
22
|
+
background: rgb(var(--gray-1));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.paneHeader {
|
|
26
|
+
composes: basePaneElement;
|
|
27
|
+
|
|
28
|
+
display: flex;
|
|
29
|
+
padding: 21px 21px 0;
|
|
30
|
+
gap: 15px;
|
|
31
|
+
|
|
32
|
+
&:only-child {
|
|
33
|
+
padding: 21px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:has(+ :local(.basePaneElement):not(.paneBody)) {
|
|
37
|
+
padding: 21px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.paneHeaderCaption {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-flow: column;
|
|
44
|
+
flex-grow: 1;
|
|
45
|
+
line-height: 24px;
|
|
46
|
+
|
|
47
|
+
:is(strong) {
|
|
48
|
+
color: var(--foreground-prominent);
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
|
|
51
|
+
&:has(+ :is(span)) {
|
|
52
|
+
font-size: 16px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:is(span) {
|
|
57
|
+
font-size: 14px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.paneHeaderIcon {
|
|
62
|
+
margin-top: 2px;
|
|
63
|
+
color: rgb(var(--primary-7));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.paneBody {
|
|
67
|
+
composes: basePaneElement;
|
|
68
|
+
|
|
69
|
+
padding: 21px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.paneBody + .paneBody {
|
|
73
|
+
padding-top: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.paneFooter {
|
|
77
|
+
composes: basePaneElement;
|
|
78
|
+
|
|
79
|
+
display: flex;
|
|
80
|
+
padding: 21px;
|
|
81
|
+
gap: 9px;
|
|
82
|
+
background: rgb(var(--gray-1));
|
|
83
|
+
border-top: 1px solid rgb(var(--gray-2));
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.paneLoader {
|
|
88
|
+
composes: basePaneLoader;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.paneTag {
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: 15px;
|
|
94
|
+
right: 15px;
|
|
95
|
+
padding: 6px 9px;
|
|
96
|
+
background: rgb(var(--gray-10));
|
|
97
|
+
border-radius: calc(var(--radius) / 2);
|
|
98
|
+
color: rgb(var(--gray-0));
|
|
99
|
+
font-size: 11px;
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
letter-spacing: 1px;
|
|
102
|
+
line-height: 1;
|
|
103
|
+
text-transform: uppercase;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.paneMedia {
|
|
107
|
+
position: relative;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.paneMediaInset {
|
|
112
|
+
composes: paneMedia;
|
|
113
|
+
|
|
114
|
+
margin: 21px;
|
|
115
|
+
border-radius: calc(var(--radius) / 2);
|
|
116
|
+
|
|
117
|
+
&:not(:first-child) {
|
|
118
|
+
margin-top: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:not(:last-child) {
|
|
122
|
+
margin-bottom: 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.paneMediaImage {
|
|
127
|
+
display: block;
|
|
128
|
+
height: auto;
|
|
129
|
+
width: 100%;
|
|
130
|
+
margin: 0;
|
|
131
|
+
aspect-ratio: 2 / 1;
|
|
132
|
+
object-fit: cover;
|
|
133
|
+
object-position: center;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.paneDeck {
|
|
137
|
+
composes: paneDefault;
|
|
138
|
+
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
|
|
141
|
+
> :local(.baseAutoGrid) {
|
|
142
|
+
margin-right: -1px;
|
|
143
|
+
margin-bottom: -1px;
|
|
144
|
+
|
|
145
|
+
> .pane {
|
|
146
|
+
border-top: 0;
|
|
147
|
+
border-left: 0;
|
|
148
|
+
border-radius: 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.paneGroup {
|
|
154
|
+
position: relative;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.paneGroup + .paneGroup {
|
|
158
|
+
border-top: 1px solid rgb(var(--gray-11) / .05);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.paneIllustration {
|
|
162
|
+
--mask: linear-gradient(to bottom, black, transparent);
|
|
163
|
+
--mask-content: linear-gradient(to bottom, black, rgb(0 0 0 / .75), transparent);
|
|
164
|
+
|
|
165
|
+
position: relative;
|
|
166
|
+
border-radius: calc(var(--radius) - 1px);
|
|
167
|
+
|
|
168
|
+
&:not(:first-child) {
|
|
169
|
+
border-top-left-radius: 0;
|
|
170
|
+
border-top-right-radius: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:not(:last-child) {
|
|
174
|
+
border-bottom-left-radius: 0;
|
|
175
|
+
border-bottom-right-radius: 0;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.paneIllustrationContent {
|
|
180
|
+
position: relative;
|
|
181
|
+
display: flex;
|
|
182
|
+
height: 100%;
|
|
183
|
+
align-items: center;
|
|
184
|
+
justify-content: center;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.paneIllustrationContentControlled {
|
|
188
|
+
composes: paneIllustrationContent;
|
|
189
|
+
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
|
|
192
|
+
-webkit-mask-image: var(--mask-content);
|
|
193
|
+
mask-image: var(--mask-content);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.paneIllustrationMagic {
|
|
197
|
+
position: absolute;
|
|
198
|
+
inset: -1px;
|
|
199
|
+
border-radius: inherit;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.paneIllustrationMasked {
|
|
203
|
+
composes: paneIllustration;
|
|
204
|
+
|
|
205
|
+
.paneIllustrationMagic {
|
|
206
|
+
-webkit-mask-image: var(--mask);
|
|
207
|
+
mask-image: var(--mask);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.paneIllustration + :where(.paneBody, .paneHeader) {
|
|
212
|
+
position: relative;
|
|
213
|
+
margin-top: -60px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.paneBody:has(.iconBoxed:only-child):has(+ .paneHeader) {
|
|
217
|
+
padding-bottom: 0;
|
|
218
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.percentageBar {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-flow: column;
|
|
4
|
+
gap: 12px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.percentageBarSegment {
|
|
8
|
+
height: 12px;
|
|
9
|
+
border-radius: calc(var(--radius) / 3);
|
|
10
|
+
transition: 180ms var(--swift-out);
|
|
11
|
+
transition-property: height, margin;
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
height: 16px;
|
|
15
|
+
margin-top: -2px;
|
|
16
|
+
margin-bottom: -2px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.percentageBarTooltip {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
flex-flow: row nowrap;
|
|
24
|
+
gap: 9px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.percentageBarTrack {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-flow: row nowrap;
|
|
30
|
+
gap: 3px;
|
|
31
|
+
}
|