@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,103 @@
|
|
|
1
|
+
@value sparklesContainer, sparklesContainerActive, sparklesParticles from './base/Effect.module.scss';
|
|
2
|
+
|
|
3
|
+
.stepperStep {
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.stepperSteps {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
flex-grow: 1;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
background: inherit;
|
|
14
|
+
z-index: 0;
|
|
15
|
+
|
|
16
|
+
&::before,
|
|
17
|
+
&::after {
|
|
18
|
+
--margin: 15px;
|
|
19
|
+
--max: calc(100% - var(--margin) * 2);
|
|
20
|
+
|
|
21
|
+
position: absolute;
|
|
22
|
+
display: block;
|
|
23
|
+
top: calc(50% - 2px);
|
|
24
|
+
left: 0;
|
|
25
|
+
margin-left: var(--margin);
|
|
26
|
+
margin-right: var(--margin);
|
|
27
|
+
height: 4px;
|
|
28
|
+
content: '';
|
|
29
|
+
z-index: -1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&::before {
|
|
33
|
+
width: var(--max);
|
|
34
|
+
background: rgb(var(--gray-2));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&::after {
|
|
38
|
+
width: calc(min(1, var(--progress)) * var(--max));
|
|
39
|
+
background: rgb(var(--primary-7));
|
|
40
|
+
transition: width 300ms var(--swift-out);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.stepperStepsItem {
|
|
45
|
+
composes: sparklesContainer;
|
|
46
|
+
|
|
47
|
+
position: relative;
|
|
48
|
+
display: flex;
|
|
49
|
+
height: 33px;
|
|
50
|
+
width: 33px;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
background: rgb(var(--gray-3));
|
|
54
|
+
border: 0;
|
|
55
|
+
border-radius: 99px;
|
|
56
|
+
color: var(--foreground);
|
|
57
|
+
cursor: default;
|
|
58
|
+
font-size: 14px;
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
outline: 6px solid transparent;
|
|
61
|
+
outline-offset: -2px;
|
|
62
|
+
transition: 300ms var(--swift-out);
|
|
63
|
+
transition-property: background, border, color, outline;
|
|
64
|
+
|
|
65
|
+
.icon {
|
|
66
|
+
overflow: visible;
|
|
67
|
+
scale: .8;
|
|
68
|
+
|
|
69
|
+
:is(path) {
|
|
70
|
+
stroke: currentColor;
|
|
71
|
+
stroke-width: 54px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.stepperStepsItemComplete {
|
|
77
|
+
composes: sparklesContainerActive;
|
|
78
|
+
composes: stepperStepsItem;
|
|
79
|
+
|
|
80
|
+
background: rgb(var(--primary-7));
|
|
81
|
+
border-color: rgb(var(--primary-7));
|
|
82
|
+
color: rgb(var(--primary-0));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.stepperStepsItemCurrent {
|
|
86
|
+
composes: stepperStepsItem;
|
|
87
|
+
|
|
88
|
+
background: rgb(var(--gray-1));
|
|
89
|
+
color: var(--foreground-prominent);
|
|
90
|
+
outline-color: rgb(var(--primary-7));
|
|
91
|
+
outline-width: 2px;
|
|
92
|
+
transition-delay: 75ms;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.stepperStepsItemIdle {
|
|
96
|
+
composes: stepperStepsItem;
|
|
97
|
+
|
|
98
|
+
outline-color: rgb(var(--gray-0));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.stepperStepsItemParticles {
|
|
102
|
+
composes: sparklesParticles;
|
|
103
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@use '$flux/css/mixin';
|
|
2
|
+
|
|
3
|
+
.tab {
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tabBar {
|
|
8
|
+
--tab-padding: 12px;
|
|
9
|
+
|
|
10
|
+
position: relative;
|
|
11
|
+
box-shadow: inset 0 -2px rgb(var(--gray-2));
|
|
12
|
+
z-index: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.tabBarArrow {
|
|
16
|
+
position: absolute;
|
|
17
|
+
display: flex;
|
|
18
|
+
top: 3px;
|
|
19
|
+
height: calc(100% - 6px);
|
|
20
|
+
width: 30px;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
background: transparent;
|
|
24
|
+
border: 0;
|
|
25
|
+
border-radius: var(--radius);
|
|
26
|
+
color: var(--foreground);
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
outline: 0;
|
|
29
|
+
transition: background 180ms var(--swift-out);
|
|
30
|
+
z-index: 1;
|
|
31
|
+
|
|
32
|
+
@media (hover: hover) {
|
|
33
|
+
&:hover {
|
|
34
|
+
background: rgb(var(--gray-2));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.tabBarArrowStart {
|
|
40
|
+
composes: tabBarArrow;
|
|
41
|
+
|
|
42
|
+
left: -6px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.tabBarArrowEnd {
|
|
46
|
+
composes: tabBarArrow;
|
|
47
|
+
|
|
48
|
+
right: -6px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.tabBarTabs {
|
|
52
|
+
--mask-start: 0%;
|
|
53
|
+
--mask-end: 100%;
|
|
54
|
+
--mask: linear-gradient(to right, transparent, black var(--mask-start), black, black var(--mask-end), transparent);
|
|
55
|
+
|
|
56
|
+
display: flex;
|
|
57
|
+
margin-left: -3px;
|
|
58
|
+
margin-right: -3px;
|
|
59
|
+
padding-left: 3px;
|
|
60
|
+
padding-right: 3px;
|
|
61
|
+
align-items: flex-end;
|
|
62
|
+
gap: 30px;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
|
|
65
|
+
-webkit-mask-image: var(--mask);
|
|
66
|
+
mask-image: var(--mask);
|
|
67
|
+
|
|
68
|
+
&.isStartMasked {
|
|
69
|
+
--mask-start: 60px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.isEndMasked {
|
|
73
|
+
--mask-end: calc(100% - 60px);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.tabBarItem {
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
padding: var(--tab-padding) 0;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 9px;
|
|
82
|
+
background: unset;
|
|
83
|
+
border: 0;
|
|
84
|
+
border-bottom: 2px solid transparent;
|
|
85
|
+
color: var(--foreground);
|
|
86
|
+
contain: layout;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
font-weight: 500;
|
|
89
|
+
outline: 0;
|
|
90
|
+
transition: 180ms var(--swift-out);
|
|
91
|
+
transition-property: border-color, color;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
|
|
94
|
+
&::before {
|
|
95
|
+
position: absolute;
|
|
96
|
+
inset: 0;
|
|
97
|
+
content: '';
|
|
98
|
+
border-radius: var(--radius);
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
transition: 180ms var(--swift-out) mixin.focus-ring-transition-properties();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@include mixin.focus-ring-pseudo(before);
|
|
104
|
+
|
|
105
|
+
@media (hover: hover) {
|
|
106
|
+
&:hover {
|
|
107
|
+
border-color: var(--foreground);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.tabBarItemActive {
|
|
113
|
+
composes: tabBarItem;
|
|
114
|
+
|
|
115
|
+
border-color: rgb(var(--primary-7));
|
|
116
|
+
color: var(--foreground-prominent);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.tabs {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-flow: column;
|
|
122
|
+
overflow: visible;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.tabsBar {
|
|
126
|
+
margin-bottom: 18px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.basePaneStructure > .tabBar,
|
|
130
|
+
.basePaneStructure > .tabs >.tabBar {
|
|
131
|
+
--tab-padding: 18px;
|
|
132
|
+
|
|
133
|
+
padding-left: 21px;
|
|
134
|
+
padding-right: 21px;
|
|
135
|
+
background: rgb(var(--gray-1));
|
|
136
|
+
|
|
137
|
+
&:first-child {
|
|
138
|
+
border-radius: var(--radius) var(--radius) 0 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&:not(:first-child) {
|
|
142
|
+
border-top: 1px solid rgb(var(--gray-2));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.basePaneStructure > .paneHeader + .tabBar,
|
|
147
|
+
.basePaneStructure > .paneHeader + .tabs > .tabBar {
|
|
148
|
+
padding-top: 6px;
|
|
149
|
+
|
|
150
|
+
&:not(:first-child) {
|
|
151
|
+
border-top: 0;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.paneHeader:has(+ .tabBar),
|
|
156
|
+
.paneHeader:has(+ .tabs > .tabBar) {
|
|
157
|
+
background: rgb(var(--gray-1));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.basePaneStructure > .tabs > .tabsBar {
|
|
161
|
+
margin-bottom: 0;
|
|
162
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
@value basePaneElement, basePaneLoader, basePaneStructure from './base/Pane.module.scss';
|
|
2
|
+
|
|
3
|
+
.table {
|
|
4
|
+
composes: basePaneElement;
|
|
5
|
+
|
|
6
|
+
position: relative;
|
|
7
|
+
overflow: auto;
|
|
8
|
+
|
|
9
|
+
:is(caption) {
|
|
10
|
+
color: var(--foreground-secondary);
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
text-align: left;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tableBase {
|
|
17
|
+
min-width: 100%;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
border-spacing: 0;
|
|
20
|
+
text-align: left;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tableLoader {
|
|
24
|
+
composes: basePaneLoader;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tableRow {
|
|
28
|
+
height: 0;
|
|
29
|
+
margin: 0;
|
|
30
|
+
padding: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.tableCell {
|
|
34
|
+
height: 0;
|
|
35
|
+
padding: 0;
|
|
36
|
+
border: 0 solid rgb(var(--gray-2));
|
|
37
|
+
|
|
38
|
+
@-moz-document url-prefix() {
|
|
39
|
+
height: 100%;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.tableCellContent {
|
|
44
|
+
display: flex;
|
|
45
|
+
height: 100%;
|
|
46
|
+
padding: 12px 15px;
|
|
47
|
+
align-items: flex-start;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tableHeader {
|
|
51
|
+
composes: tableCell;
|
|
52
|
+
|
|
53
|
+
border-bottom: 2px solid rgb(var(--gray-2));
|
|
54
|
+
color: var(--foreground-prominent);
|
|
55
|
+
|
|
56
|
+
&.isShrinking {
|
|
57
|
+
width: 0;
|
|
58
|
+
white-space: nowrap;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.isSticky {
|
|
62
|
+
position: sticky;
|
|
63
|
+
top: 0;
|
|
64
|
+
background: rgb(var(--gray-1));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.tableHeaderContent {
|
|
69
|
+
composes: tableCellContent;
|
|
70
|
+
|
|
71
|
+
align-items: center;
|
|
72
|
+
font-size: 14px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
tbody .tableRow:nth-child(even) .tableCell.isStriped {
|
|
76
|
+
background: rgb(var(--gray-2));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media (hover: hover) {
|
|
80
|
+
tbody .tableRow:hover .tableCell.isHoverable,
|
|
81
|
+
tbody .tableRow:has(:focus-visible) .tableCell.isHoverable {
|
|
82
|
+
background: rgb(var(--gray-1));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
tfoot .tableCell {
|
|
87
|
+
border-top: 1px solid rgb(var(--gray-2));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.tableCell + .tableCell.isBordered {
|
|
91
|
+
border-left-width: 1px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tableRow + .tableRow .tableCell.isSeparated {
|
|
95
|
+
border-top-width: 1px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.tableActions {
|
|
99
|
+
margin: -3px 0 -3px -3px;
|
|
100
|
+
|
|
101
|
+
.action {
|
|
102
|
+
@media (hover: hover) {
|
|
103
|
+
&:hover {
|
|
104
|
+
background: rgb(var(--gray-3));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:active {
|
|
109
|
+
background: rgb(var(--gray-4));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.tableSort {
|
|
115
|
+
display: flex;
|
|
116
|
+
height: 24px;
|
|
117
|
+
width: 24px;
|
|
118
|
+
margin: -3px -6px -3px 6px;
|
|
119
|
+
padding: 0;
|
|
120
|
+
align-items: center;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
background: unset;
|
|
123
|
+
border: 0;
|
|
124
|
+
border-radius: calc(var(--radius) / 2);
|
|
125
|
+
color: var(--foreground-secondary);
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
outline: 0;
|
|
128
|
+
|
|
129
|
+
@media (hover: hover) {
|
|
130
|
+
&:hover {
|
|
131
|
+
background: rgb(var(--gray-2));
|
|
132
|
+
color: var(--foreground);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
:local(.basePaneStructure) > .table .tableCell:first-child .tableCellContent {
|
|
138
|
+
padding-left: 21px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:local(.basePaneStructure) > .table .tableCell:last-child .tableCellContent {
|
|
142
|
+
padding-right: 21px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:local(.basePaneStructure) > .table .tableActions {
|
|
146
|
+
margin-right: -3px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
:local(.basePaneStructure) > .table :is(caption) {
|
|
150
|
+
padding: 12px 21px;
|
|
151
|
+
border-top: 1px solid rgb(var(--gray-3));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
:local(.basePaneStructure) > .table .tableLoader {
|
|
155
|
+
border-radius: var(--radius);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:not(:local(.basePaneStructure)) > .table .tableCell:not(.isBordered):first-child .tableCellContent {
|
|
159
|
+
padding-left: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:not(:local(.basePaneStructure)) > .table .tableCell:not(.isBordered):last-child .tableCellContent {
|
|
163
|
+
padding-right: 0;
|
|
164
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
.timeline {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-flow: column;
|
|
4
|
+
gap: 15px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.timelineItem {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: grid;
|
|
10
|
+
gap: 21px;
|
|
11
|
+
grid-template-columns: 42px minmax(0, 1fr);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.timelineItemIcon,
|
|
15
|
+
.timelineItemPhoto {
|
|
16
|
+
position: relative;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
border-radius: 99px;
|
|
21
|
+
outline: 6px solid rgb(var(--gray-0));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.timelineItemIcon {
|
|
25
|
+
margin: 3px;
|
|
26
|
+
height: 36px;
|
|
27
|
+
width: 36px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.timelineItemPhoto {
|
|
31
|
+
height: 42px;
|
|
32
|
+
width: 42px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.timelineItemPhotoIcon {
|
|
36
|
+
position: absolute;
|
|
37
|
+
display: flex;
|
|
38
|
+
right: -9px;
|
|
39
|
+
bottom: -9px;
|
|
40
|
+
height: 30px;
|
|
41
|
+
width: 30px;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
background: rgb(var(--gray-0));
|
|
45
|
+
border-radius: 99px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.timelineItemPhotoImage {
|
|
49
|
+
position: absolute;
|
|
50
|
+
inset: 0;
|
|
51
|
+
height: 100%;
|
|
52
|
+
width: 100%;
|
|
53
|
+
border-radius: inherit;
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
object-position: center;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.timelineItemBody {
|
|
59
|
+
position: relative;
|
|
60
|
+
align-self: center;
|
|
61
|
+
padding-top: 9px;
|
|
62
|
+
padding-bottom: 9px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.timelineItemHeader {
|
|
66
|
+
display: flex;
|
|
67
|
+
margin-bottom: 9px;
|
|
68
|
+
flex-flow: column;
|
|
69
|
+
|
|
70
|
+
:is(strong) {
|
|
71
|
+
color: var(--foreground-prominent);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:is(span) {
|
|
75
|
+
color: var(--foreground-secondary);
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.timelineItemLine {
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: 20px;
|
|
83
|
+
left: 20px;
|
|
84
|
+
height: 100%;
|
|
85
|
+
width: 2px;
|
|
86
|
+
background: rgb(var(--gray-2));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.timeline .timelineItem:last-of-type .timelineItemLine {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.timelineItemGray {
|
|
94
|
+
composes: timelineItem;
|
|
95
|
+
|
|
96
|
+
.timelineItemIcon,
|
|
97
|
+
.timelineItemPhotoIcon {
|
|
98
|
+
color: var(--foreground-prominent);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.timelineItemIcon {
|
|
102
|
+
background: rgb(var(--gray-2));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.timelineItemPrimary {
|
|
107
|
+
composes: timelineItem;
|
|
108
|
+
|
|
109
|
+
.timelineItemIcon,
|
|
110
|
+
.timelineItemPhotoIcon {
|
|
111
|
+
color: rgb(var(--primary-7));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.timelineItemIcon {
|
|
115
|
+
background: rgb(var(--primary-2));
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.timelineItemDanger {
|
|
120
|
+
composes: timelineItem;
|
|
121
|
+
|
|
122
|
+
.timelineItemIcon,
|
|
123
|
+
.timelineItemPhotoIcon {
|
|
124
|
+
color: rgb(var(--danger-7));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.timelineItemIcon {
|
|
128
|
+
background: rgb(var(--danger-2));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.timelineItemInfo {
|
|
133
|
+
composes: timelineItem;
|
|
134
|
+
|
|
135
|
+
.timelineItemIcon,
|
|
136
|
+
.timelineItemPhotoIcon {
|
|
137
|
+
color: rgb(var(--info-7));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.timelineItemIcon {
|
|
141
|
+
background: rgb(var(--info-2));
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.timelineItemSuccess {
|
|
146
|
+
composes: timelineItem;
|
|
147
|
+
|
|
148
|
+
.timelineItemIcon,
|
|
149
|
+
.timelineItemPhotoIcon {
|
|
150
|
+
color: rgb(var(--success-7));
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.timelineItemIcon {
|
|
154
|
+
background: rgb(var(--success-2));
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.timelineItemWarning {
|
|
159
|
+
composes: timelineItem;
|
|
160
|
+
|
|
161
|
+
.timelineItemIcon,
|
|
162
|
+
.timelineItemPhotoIcon {
|
|
163
|
+
color: rgb(var(--warning-7));
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.timelineItemIcon {
|
|
167
|
+
background: rgb(var(--warning-2));
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
[dark] .timelineItemIcon {
|
|
172
|
+
background: rgb(var(--gray-2));
|
|
173
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@value basePane, basePaneStructure from './base/Pane.module.scss';
|
|
2
|
+
|
|
3
|
+
.toolbar {
|
|
4
|
+
padding: 6px;
|
|
5
|
+
contain: paint;
|
|
6
|
+
|
|
7
|
+
:local(.separatorVertical) {
|
|
8
|
+
margin-top: 6px;
|
|
9
|
+
margin-bottom: 6px;
|
|
10
|
+
align-self: stretch;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.toolbarFlat {
|
|
15
|
+
composes: basePane;
|
|
16
|
+
composes: toolbar;
|
|
17
|
+
|
|
18
|
+
position: relative;
|
|
19
|
+
align-self: flex-start;
|
|
20
|
+
box-shadow: var(--shadow-sm);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.toolbarFloating {
|
|
24
|
+
composes: basePane;
|
|
25
|
+
composes: toolbar;
|
|
26
|
+
|
|
27
|
+
position: absolute;
|
|
28
|
+
box-shadow: var(--shadow-md);
|
|
29
|
+
z-index: 1;
|
|
30
|
+
|
|
31
|
+
&.isFree {
|
|
32
|
+
translate: -50% -50%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.isTopEnd,
|
|
36
|
+
&.isTopStart {
|
|
37
|
+
top: 0;
|
|
38
|
+
translate: 0 -50%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.isBottomEnd,
|
|
42
|
+
&.isBottomStart {
|
|
43
|
+
bottom: 0;
|
|
44
|
+
translate: 0 50%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.isTopEnd,
|
|
48
|
+
&.isBottomEnd {
|
|
49
|
+
right: 21px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.isTopStart,
|
|
53
|
+
&.isBottomStart {
|
|
54
|
+
left: 21px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:local(.basePaneStructure) > .toolbarFlat {
|
|
59
|
+
padding: 12px 15px;
|
|
60
|
+
background: rgb(var(--gray-1));
|
|
61
|
+
border: 1px solid rgb(var(--gray-11) / .05);
|
|
62
|
+
border-left: 0;
|
|
63
|
+
border-right: 0;
|
|
64
|
+
border-radius: 0;
|
|
65
|
+
box-shadow: none;
|
|
66
|
+
|
|
67
|
+
&:first-child {
|
|
68
|
+
border-top: 0;
|
|
69
|
+
border-top-left-radius: var(--radius);
|
|
70
|
+
border-top-right-radius: var(--radius);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:last-child {
|
|
74
|
+
border-bottom: 0;
|
|
75
|
+
border-bottom-left-radius: var(--radius);
|
|
76
|
+
border-bottom-right-radius: var(--radius);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.paneHeader + .toolbarFlat {
|
|
81
|
+
margin-top: 21px;
|
|
82
|
+
}
|