@flux-ui/components 3.0.0-next.58 → 3.0.0-next.59
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/FluxButtonStack.vue.d.ts +1 -1
- package/dist/component/FluxCalendar.vue.d.ts +63 -2
- package/dist/component/{FluxCalendarEvent.vue.d.ts → FluxCalendarItem.vue.d.ts} +9 -7
- package/dist/component/FluxClickablePane.vue.d.ts +1 -1
- package/dist/component/FluxDivider.vue.d.ts +1 -1
- package/dist/component/FluxFilter.vue.d.ts +1 -1
- package/dist/component/FluxFilterBar.vue.d.ts +1 -1
- package/dist/component/FluxFormInput.vue.d.ts +2 -2
- package/dist/component/FluxFormInputAddition.vue.d.ts +1 -1
- package/dist/component/FluxFormTreeViewSelect.vue.d.ts +3 -3
- package/dist/component/FluxGallery.vue.d.ts +1 -1
- package/dist/component/FluxInfo.vue.d.ts +1 -1
- package/dist/component/FluxKanbanColumn.vue.d.ts +2 -2
- package/dist/component/{FluxKanbanCard.vue.d.ts → FluxKanbanItem.vue.d.ts} +1 -1
- package/dist/component/FluxMenuItem.vue.d.ts +1 -1
- package/dist/component/FluxNotice.vue.d.ts +1 -1
- package/dist/component/FluxPaneHeader.vue.d.ts +1 -1
- package/dist/component/FluxPressable.vue.d.ts +1 -1
- package/dist/component/FluxPrompt.vue.d.ts +3 -3
- package/dist/component/FluxSplitButton.vue.d.ts +1 -1
- package/dist/component/FluxStack.vue.d.ts +1 -1
- package/dist/component/FluxTab.vue.d.ts +1 -1
- package/dist/component/FluxTabBar.vue.d.ts +4 -1
- package/dist/component/FluxTabs.vue.d.ts +4 -1
- package/dist/component/FluxTimelineItem.vue.d.ts +1 -1
- package/dist/component/calendar/FluxCalendarItemDisplay.vue.d.ts +9 -0
- package/dist/component/calendar/FluxCalendarMonthView.vue.d.ts +19 -0
- package/dist/component/calendar/FluxCalendarTimeGridView.vue.d.ts +36 -0
- package/dist/component/calendar/index.d.ts +3 -0
- package/dist/component/index.d.ts +2 -2
- package/dist/component/primitive/DialogLayout.vue.d.ts +1 -1
- package/dist/component/primitive/SelectBase.vue.d.ts +3 -3
- package/dist/composable/index.d.ts +3 -0
- package/dist/composable/private/index.d.ts +5 -8
- package/dist/composable/private/useKanban.d.ts +2 -2
- package/dist/composable/private/useKanbanAutoScroll.d.ts +13 -0
- package/dist/composable/useCalendarInjection.d.ts +2 -0
- package/dist/composable/useKanbanInjection.d.ts +2 -0
- package/dist/composable/useTabBarInjection.d.ts +2 -0
- package/dist/data/di.d.ts +54 -12
- package/dist/data/i18n.d.ts +4 -0
- package/dist/index.css +1500 -1221
- package/dist/index.js +9339 -8216
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/component/FluxAction.vue +1 -1
- package/src/component/FluxActionBar.vue +2 -2
- package/src/component/FluxActionPane.vue +1 -1
- package/src/component/FluxAdaptiveGroup.vue +2 -2
- package/src/component/FluxAdaptiveSlot.vue +2 -2
- package/src/component/FluxAlert.vue +1 -1
- package/src/component/FluxAnimatedColors.vue +1 -1
- package/src/component/FluxAspectRatio.vue +1 -1
- package/src/component/FluxAvatar.vue +2 -2
- package/src/component/FluxBadge.vue +2 -2
- package/src/component/FluxBorderShine.vue +1 -1
- package/src/component/FluxBoxedIcon.vue +1 -1
- package/src/component/FluxButton.vue +2 -2
- package/src/component/FluxButtonGroup.vue +1 -1
- package/src/component/FluxButtonStack.vue +1 -1
- package/src/component/FluxCalendar.vue +588 -179
- package/src/component/FluxCalendarItem.vue +79 -0
- package/src/component/FluxCheckbox.vue +2 -2
- package/src/component/FluxChip.vue +2 -2
- package/src/component/FluxClickablePane.vue +2 -2
- package/src/component/FluxColorPicker.vue +2 -2
- package/src/component/FluxColorSelect.vue +3 -3
- package/src/component/FluxColumn.vue +1 -1
- package/src/component/FluxCommandPalette.vue +4 -4
- package/src/component/FluxCommandPaletteGroup.vue +1 -1
- package/src/component/FluxCommandPaletteItem.vue +1 -1
- package/src/component/FluxComment.vue +2 -2
- package/src/component/FluxConfirm.vue +1 -1
- package/src/component/FluxContainer.vue +1 -1
- package/src/component/FluxDataTable.vue +1 -2
- package/src/component/FluxDatePicker.vue +3 -3
- package/src/component/FluxDestructiveButton.vue +1 -1
- package/src/component/FluxDisabled.vue +1 -1
- package/src/component/FluxDivider.vue +2 -2
- package/src/component/FluxDotPattern.vue +1 -1
- package/src/component/FluxDropZone.vue +4 -4
- package/src/component/FluxExpandable.vue +3 -3
- package/src/component/FluxExpandableGroup.vue +2 -2
- package/src/component/FluxFader.vue +1 -1
- package/src/component/FluxFaderItem.vue +1 -1
- package/src/component/FluxFilter.vue +2 -2
- package/src/component/FluxFilterBar.vue +5 -6
- package/src/component/FluxFilterBase.vue +2 -2
- package/src/component/FluxFilterDate.vue +2 -2
- package/src/component/FluxFilterDateRange.vue +2 -2
- package/src/component/FluxFilterOption.vue +2 -2
- package/src/component/FluxFilterOptionAsync.vue +1 -1
- package/src/component/FluxFilterOptions.vue +2 -2
- package/src/component/FluxFilterOptionsAsync.vue +1 -1
- package/src/component/FluxFilterRange.vue +2 -2
- package/src/component/FluxFilterWindow.vue +3 -3
- package/src/component/FluxFlickeringGrid.vue +1 -1
- package/src/component/FluxFlyout.vue +2 -2
- package/src/component/FluxFocalPointEditor.vue +3 -3
- package/src/component/FluxFocalPointImage.vue +1 -1
- package/src/component/FluxForm.vue +1 -1
- package/src/component/FluxFormColumn.vue +1 -1
- package/src/component/FluxFormDateInput.vue +3 -3
- package/src/component/FluxFormDateRangeInput.vue +4 -4
- package/src/component/FluxFormDateTimeInput.vue +3 -3
- package/src/component/FluxFormField.vue +3 -3
- package/src/component/FluxFormFieldAddition.vue +1 -1
- package/src/component/FluxFormGrid.vue +1 -1
- package/src/component/FluxFormInput.vue +3 -3
- package/src/component/FluxFormInputAddition.vue +2 -2
- package/src/component/FluxFormInputGroup.vue +2 -2
- package/src/component/FluxFormPinInput.vue +3 -3
- package/src/component/FluxFormRangeSlider.vue +3 -3
- package/src/component/FluxFormRow.vue +1 -1
- package/src/component/FluxFormSection.vue +1 -1
- package/src/component/FluxFormSelect.vue +4 -4
- package/src/component/FluxFormSelectAsync.vue +6 -6
- package/src/component/FluxFormSlider.vue +2 -2
- package/src/component/FluxFormTextArea.vue +2 -2
- package/src/component/FluxFormTimeZonePicker.vue +4 -4
- package/src/component/FluxFormTreeViewSelect.vue +9 -12
- package/src/component/FluxGallery.vue +3 -3
- package/src/component/FluxGalleryItem.vue +1 -1
- package/src/component/FluxGrid.vue +1 -1
- package/src/component/FluxGridColumn.vue +1 -1
- package/src/component/FluxGridPattern.vue +1 -1
- package/src/component/FluxIcon.vue +2 -2
- package/src/component/FluxInfo.vue +2 -2
- package/src/component/FluxItem.vue +1 -1
- package/src/component/FluxItemActions.vue +1 -1
- package/src/component/FluxItemContent.vue +1 -1
- package/src/component/FluxItemMedia.vue +1 -1
- package/src/component/FluxItemStack.vue +1 -1
- package/src/component/FluxKanban.vue +6 -13
- package/src/component/FluxKanbanColumn.vue +42 -36
- package/src/component/FluxKanbanItem.vue +162 -0
- package/src/component/FluxLayerPane.vue +1 -1
- package/src/component/FluxLayerPaneSecondary.vue +1 -1
- package/src/component/FluxLegend.vue +1 -1
- package/src/component/FluxLink.vue +1 -1
- package/src/component/FluxMenu.vue +1 -1
- package/src/component/FluxMenuCollapsible.vue +3 -3
- package/src/component/FluxMenuGroup.vue +1 -1
- package/src/component/FluxMenuItem.vue +2 -2
- package/src/component/FluxMenuSubHeader.vue +1 -1
- package/src/component/FluxMenuTitle.vue +1 -1
- package/src/component/FluxNotice.vue +3 -3
- package/src/component/FluxOverflowBar.vue +1 -1
- package/src/component/FluxOverlay.vue +3 -3
- package/src/component/FluxOverlayProvider.vue +2 -2
- package/src/component/FluxPagination.vue +3 -3
- package/src/component/FluxPaginationBar.vue +2 -2
- package/src/component/FluxPaginationButton.vue +1 -1
- package/src/component/FluxPane.vue +1 -1
- package/src/component/FluxPaneBody.vue +1 -1
- package/src/component/FluxPaneFooter.vue +1 -1
- package/src/component/FluxPaneGroup.vue +1 -1
- package/src/component/FluxPaneHeader.vue +2 -2
- package/src/component/FluxPaneIllustration.vue +1 -1
- package/src/component/FluxPaneMedia.vue +1 -1
- package/src/component/FluxPercentageBar.vue +1 -1
- package/src/component/FluxPersona.vue +1 -1
- package/src/component/FluxPlaceholder.vue +1 -1
- package/src/component/FluxPressable.vue +1 -1
- package/src/component/FluxPrimaryButton.vue +1 -1
- package/src/component/FluxPrimaryLinkButton.vue +1 -1
- package/src/component/FluxProgressBar.vue +2 -2
- package/src/component/FluxPrompt.vue +1 -1
- package/src/component/FluxPublishButton.vue +1 -1
- package/src/component/FluxQuantitySelector.vue +2 -2
- package/src/component/FluxRemove.vue +2 -2
- package/src/component/FluxRoot.vue +2 -2
- package/src/component/FluxRow.vue +1 -1
- package/src/component/FluxSecondaryButton.vue +1 -1
- package/src/component/FluxSecondaryLinkButton.vue +1 -1
- package/src/component/FluxSegmentedControl.vue +1 -1
- package/src/component/FluxSeparator.vue +1 -1
- package/src/component/FluxSlideOver.vue +3 -3
- package/src/component/FluxSnackbar.vue +2 -2
- package/src/component/FluxSnackbarProvider.vue +2 -2
- package/src/component/FluxSpacer.vue +1 -1
- package/src/component/FluxSpinner.vue +1 -1
- package/src/component/FluxSplitButton.vue +2 -2
- package/src/component/FluxStack.vue +2 -2
- package/src/component/FluxStatistic.vue +2 -2
- package/src/component/FluxStepper.vue +1 -1
- package/src/component/FluxStepperStep.vue +1 -1
- package/src/component/FluxStepperSteps.vue +2 -2
- package/src/component/FluxTab.vue +2 -2
- package/src/component/FluxTabBar.vue +75 -7
- package/src/component/FluxTabBarItem.vue +35 -4
- package/src/component/FluxTable.vue +3 -4
- package/src/component/FluxTableActions.vue +1 -1
- package/src/component/FluxTableBar.vue +3 -3
- package/src/component/FluxTableCell.vue +3 -3
- package/src/component/FluxTableHeader.vue +3 -3
- package/src/component/FluxTableRow.vue +1 -1
- package/src/component/FluxTabs.vue +10 -4
- package/src/component/FluxTag.vue +2 -2
- package/src/component/FluxTicks.vue +1 -1
- package/src/component/FluxTimeline.vue +1 -1
- package/src/component/FluxTimelineItem.vue +2 -2
- package/src/component/FluxToggle.vue +2 -2
- package/src/component/FluxToolbar.vue +2 -2
- package/src/component/FluxTooltip.vue +1 -1
- package/src/component/FluxTooltipProvider.vue +3 -3
- package/src/component/FluxTreeView.vue +3 -4
- package/src/component/FluxWindow.vue +1 -1
- package/src/component/calendar/FluxCalendarItemDisplay.vue +117 -0
- package/src/component/calendar/FluxCalendarMonthView.vue +134 -0
- package/src/component/calendar/FluxCalendarTimeGridView.vue +550 -0
- package/src/component/calendar/index.ts +3 -0
- package/src/component/index.ts +2 -2
- package/src/component/primitive/CoordinatePicker.vue +2 -2
- package/src/component/primitive/CoordinatePickerThumb.vue +2 -2
- package/src/component/primitive/DialogLayout.vue +1 -1
- package/src/component/primitive/FilterBadge.vue +2 -2
- package/src/component/primitive/FilterItem.vue +1 -1
- package/src/component/primitive/FilterMenuRenderer.ts +2 -2
- package/src/component/primitive/FilterOptionBase.vue +6 -6
- package/src/component/primitive/SelectBase.vue +13 -13
- package/src/component/primitive/SliderBase.vue +3 -3
- package/src/component/primitive/SliderThumb.vue +2 -2
- package/src/component/primitive/SliderTrack.vue +1 -1
- package/src/component/primitive/TreeNodeRenderer.vue +3 -4
- package/src/component/primitive/VNodeRenderer.ts +1 -2
- package/src/composable/index.ts +3 -0
- package/src/composable/private/index.ts +5 -8
- package/src/composable/private/useAsyncFilterOptions.ts +2 -2
- package/src/composable/private/useCommandPalette.ts +2 -2
- package/src/composable/private/useDateFlyout.ts +1 -1
- package/src/composable/private/useDropdownPopup.ts +1 -1
- package/src/composable/private/useFilterOption.ts +2 -2
- package/src/composable/private/useFormSelect.ts +2 -3
- package/src/composable/private/useKanban.ts +167 -244
- package/src/composable/private/useKanbanAutoScroll.ts +95 -0
- package/src/composable/private/useTranslate.ts +1 -2
- package/src/composable/private/useTreeView.ts +1 -1
- package/src/composable/useAdaptiveGroupInjection.ts +1 -1
- package/src/composable/useBreakpoints.ts +1 -2
- package/src/composable/useCalendarInjection.ts +6 -0
- package/src/composable/useDisabled.ts +1 -2
- package/src/composable/useDisabledInjection.ts +1 -1
- package/src/composable/useExpandableGroupInjection.ts +1 -1
- package/src/composable/useFilterInjection.ts +1 -1
- package/src/composable/useFlyoutInjection.ts +1 -1
- package/src/composable/useFormFieldInjection.ts +1 -1
- package/src/composable/useKanbanInjection.ts +12 -0
- package/src/composable/useTabBarInjection.ts +10 -0
- package/src/composable/useTableInjection.ts +1 -1
- package/src/composable/useTooltipInjection.ts +1 -1
- package/src/css/component/Action.module.scss +1 -1
- package/src/css/component/AdaptiveSlot.module.scss +5 -7
- package/src/css/component/Avatar.module.scss +1 -1
- package/src/css/component/Badge.module.scss +1 -1
- package/src/css/component/Button.module.scss +1 -1
- package/src/css/component/Calendar.module.scss +274 -44
- package/src/css/component/Chip.module.scss +1 -1
- package/src/css/component/Color.module.scss +1 -1
- package/src/css/component/CommandPalette.module.scss +1 -1
- package/src/css/component/DatePicker.module.scss +1 -1
- package/src/css/component/Expandable.module.scss +1 -1
- package/src/css/component/Form.module.scss +1 -1
- package/src/css/component/Gallery.module.scss +1 -1
- package/src/css/component/Grid.module.scss +1 -1
- package/src/css/component/Item.module.scss +1 -1
- package/src/css/component/{FluxKanban.module.scss → Kanban.module.scss} +56 -79
- package/src/css/component/Layout.module.scss +1 -1
- package/src/css/component/Menu.module.scss +1 -1
- package/src/css/component/Notice.module.scss +1 -1
- package/src/css/component/Overlay.module.scss +4 -4
- package/src/css/component/Pagination.module.scss +1 -1
- package/src/css/component/Pane.module.scss +2 -1
- package/src/css/component/Placeholder.module.scss +1 -1
- package/src/css/component/Remove.module.scss +1 -1
- package/src/css/component/SegmentedControl.module.scss +1 -1
- package/src/css/component/Snackbar.module.scss +1 -1
- package/src/css/component/Tab.module.scss +138 -34
- package/src/css/component/Table.module.scss +1 -1
- package/src/css/component/TreeView.module.scss +1 -1
- package/src/css/component/TreeViewSelect.module.scss +1 -1
- package/src/css/component/base/Button.module.scss +1 -1
- package/src/css/component/primitive/Slider.module.scss +1 -1
- package/src/css/component/primitive/TreeNode.module.scss +1 -1
- package/src/css/variables.scss +2 -2
- package/src/data/di.ts +64 -11
- package/src/data/filter.ts +3 -3
- package/src/data/i18n.ts +4 -0
- package/src/data/store.ts +1 -2
- package/src/transition/FluxBreakthroughTransition.vue +1 -1
- package/src/transition/FluxFadeTransition.vue +1 -1
- package/src/transition/FluxOverlayTransition.vue +1 -1
- package/src/transition/FluxRouteTransition.vue +1 -1
- package/src/transition/FluxSlideOverTransition.vue +1 -1
- package/src/transition/FluxTooltipTransition.vue +1 -1
- package/src/transition/FluxVerticalWindowTransition.vue +1 -1
- package/src/transition/FluxWindowTransition.vue +1 -1
- package/src/util/createDialogRenderer.ts +3 -4
- package/src/util/createLabelForDateRange.ts +1 -1
- package/src/component/FluxCalendarEvent.vue +0 -42
- package/src/component/FluxKanbanCard.vue +0 -199
|
@@ -1,43 +1,52 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
|
|
3
|
-
/* region root */
|
|
1
|
+
@use '~flux/components/css/mixin';
|
|
4
2
|
|
|
5
3
|
.kanban {
|
|
6
4
|
position: relative;
|
|
7
|
-
display:
|
|
8
|
-
flex-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
display: grid;
|
|
6
|
+
flex-grow: 1;
|
|
7
|
+
grid-auto-flow: column;
|
|
8
|
+
grid-auto-columns: minmax(300px, 1fr);
|
|
9
|
+
grid-template-rows: auto 1fr auto;
|
|
10
|
+
margin: -9px;
|
|
11
|
+
padding: 9px;
|
|
12
|
+
gap: 0 15px;
|
|
12
13
|
overflow-x: auto;
|
|
13
|
-
padding-bottom: 6px;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.kanbanLiveRegion {
|
|
17
17
|
position: absolute;
|
|
18
|
+
grid-row: 1;
|
|
18
19
|
width: 1px;
|
|
19
20
|
height: 1px;
|
|
20
21
|
margin: -1px;
|
|
21
22
|
padding: 0;
|
|
22
23
|
border: 0;
|
|
23
|
-
overflow: hidden;
|
|
24
24
|
clip: rect(0, 0, 0, 0);
|
|
25
|
+
overflow: hidden;
|
|
25
26
|
white-space: nowrap;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
|
-
/* endregion */
|
|
29
|
-
|
|
30
|
-
/* region column */
|
|
31
|
-
|
|
32
29
|
.kanbanColumn {
|
|
33
|
-
display:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
display: grid;
|
|
31
|
+
grid-template-rows: subgrid;
|
|
32
|
+
grid-row: span 2;
|
|
33
|
+
min-width: 0;
|
|
34
|
+
background: var(--gray-50);
|
|
35
|
+
border: 1px solid var(--surface-stroke);
|
|
38
36
|
border-radius: var(--radius);
|
|
37
|
+
outline: 2px dashed transparent;
|
|
38
|
+
outline-offset: 2px;
|
|
39
39
|
overflow: hidden;
|
|
40
|
-
transition:
|
|
40
|
+
transition: 210ms var(--swift-out);
|
|
41
|
+
transition-property: background, border, outline-color, opacity, z-index;
|
|
42
|
+
z-index: 0;
|
|
43
|
+
|
|
44
|
+
&.isOver {
|
|
45
|
+
background: var(--primary-50);
|
|
46
|
+
border-color: var(--primary-200);
|
|
47
|
+
outline-color: var(--primary-600);
|
|
48
|
+
z-index: 1;
|
|
49
|
+
}
|
|
41
50
|
}
|
|
42
51
|
|
|
43
52
|
.kanbanColumn.isColumnDragging {
|
|
@@ -52,8 +61,7 @@
|
|
|
52
61
|
display: flex;
|
|
53
62
|
align-items: center;
|
|
54
63
|
gap: 9px;
|
|
55
|
-
padding: 12px
|
|
56
|
-
border-bottom: 1px solid var(--gray-200);
|
|
64
|
+
padding: 12px 12px 0;
|
|
57
65
|
|
|
58
66
|
@include mixin.focus-ring(-2);
|
|
59
67
|
}
|
|
@@ -68,28 +76,24 @@
|
|
|
68
76
|
|
|
69
77
|
.kanbanColumnLabel {
|
|
70
78
|
flex: 1;
|
|
71
|
-
font-size:
|
|
79
|
+
font-size: 14px;
|
|
72
80
|
font-weight: 600;
|
|
73
81
|
color: var(--foreground);
|
|
74
|
-
letter-spacing: .01em;
|
|
75
82
|
text-transform: uppercase;
|
|
76
83
|
}
|
|
77
84
|
|
|
78
85
|
.kanbanColumnBody {
|
|
86
|
+
position: relative;
|
|
79
87
|
display: flex;
|
|
80
88
|
flex-flow: column;
|
|
81
|
-
gap:
|
|
82
|
-
padding:
|
|
89
|
+
gap: 12px;
|
|
90
|
+
padding: 12px;
|
|
83
91
|
min-height: 60px;
|
|
84
92
|
flex: 1;
|
|
85
93
|
overflow-y: auto;
|
|
86
94
|
transition: background 180ms var(--swift-out);
|
|
87
95
|
}
|
|
88
96
|
|
|
89
|
-
.isOver .kanbanColumnBody {
|
|
90
|
-
background: rgb(from var(--primary-500) r g b / .06);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
97
|
.isOver.isDropDisallowed .kanbanColumnBody {
|
|
94
98
|
background: rgb(from var(--danger-500) r g b / .06);
|
|
95
99
|
cursor: not-allowed;
|
|
@@ -125,55 +129,48 @@
|
|
|
125
129
|
}
|
|
126
130
|
|
|
127
131
|
.kanbanDropIndicator {
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
position: absolute;
|
|
133
|
+
top: -3px;
|
|
134
|
+
inset-inline: 15px;
|
|
135
|
+
height: 4px;
|
|
130
136
|
border-radius: 999px;
|
|
131
|
-
background:
|
|
132
|
-
|
|
137
|
+
background: var(--primary-500);
|
|
138
|
+
opacity: 0;
|
|
139
|
+
pointer-events: none;
|
|
140
|
+
transition: 300ms var(--swift-out);
|
|
141
|
+
transition-property: background, opacity;
|
|
142
|
+
will-change: transform;
|
|
133
143
|
}
|
|
134
144
|
|
|
135
|
-
.
|
|
136
|
-
|
|
145
|
+
.kanbanDropIndicator.isVisible {
|
|
146
|
+
opacity: 1;
|
|
137
147
|
}
|
|
138
148
|
|
|
139
|
-
.
|
|
149
|
+
.kanbanDropIndicator.isDisallowed {
|
|
140
150
|
background: var(--danger-500);
|
|
141
151
|
}
|
|
142
152
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
/* region card */
|
|
146
|
-
|
|
147
|
-
.kanbanCard {
|
|
153
|
+
.kanbanItem {
|
|
148
154
|
position: relative;
|
|
149
|
-
|
|
150
|
-
background:
|
|
151
|
-
border:
|
|
152
|
-
border-radius: var(--radius);
|
|
155
|
+
display: block;
|
|
156
|
+
background: transparent;
|
|
157
|
+
border: 0;
|
|
153
158
|
cursor: grab;
|
|
154
159
|
scroll-margin: 9px;
|
|
155
|
-
transition: opacity 180ms var(--swift-out),
|
|
160
|
+
transition: opacity 180ms var(--swift-out), transform 180ms var(--swift-out);
|
|
156
161
|
user-select: none;
|
|
157
162
|
|
|
158
|
-
@include mixin.focus-ring(
|
|
163
|
+
@include mixin.focus-ring(2);
|
|
159
164
|
|
|
160
165
|
&:active {
|
|
161
166
|
cursor: grabbing;
|
|
162
167
|
}
|
|
163
|
-
|
|
164
|
-
&:hover {
|
|
165
|
-
box-shadow: 0 1px 4px rgb(0 0 0 / .08);
|
|
166
|
-
}
|
|
167
168
|
}
|
|
168
169
|
|
|
169
|
-
.
|
|
170
|
+
.kanbanItem.isDisabled {
|
|
170
171
|
cursor: not-allowed;
|
|
171
172
|
opacity: .6;
|
|
172
173
|
|
|
173
|
-
&:hover {
|
|
174
|
-
box-shadow: none;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
174
|
&:active {
|
|
178
175
|
cursor: not-allowed;
|
|
179
176
|
}
|
|
@@ -186,27 +183,7 @@
|
|
|
186
183
|
|
|
187
184
|
.isGrabbed {
|
|
188
185
|
transform: scale(1.04);
|
|
189
|
-
|
|
190
|
-
|
|
186
|
+
outline: 2px solid var(--primary-500);
|
|
187
|
+
outline-offset: 2px;
|
|
191
188
|
z-index: 1;
|
|
192
189
|
}
|
|
193
|
-
|
|
194
|
-
.isDropBefore {
|
|
195
|
-
&::before {
|
|
196
|
-
content: '';
|
|
197
|
-
position: absolute;
|
|
198
|
-
inset-inline: 0;
|
|
199
|
-
top: -6px;
|
|
200
|
-
height: 2px;
|
|
201
|
-
border-radius: 999px;
|
|
202
|
-
background: var(--primary-500);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.isDropBefore.isDropBeforeDisallowed {
|
|
207
|
-
&::before {
|
|
208
|
-
background: var(--danger-500);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/* endregion */
|
|
@@ -125,24 +125,24 @@
|
|
|
125
125
|
border-bottom: 1px solid var(--gray-100);
|
|
126
126
|
box-shadow: var(--shadow-xs);
|
|
127
127
|
|
|
128
|
-
&:has(+ :where(.tabs, .
|
|
128
|
+
&:has(+ :where(.tabs, .tabBarDefault)) {
|
|
129
129
|
padding-bottom: 0;
|
|
130
130
|
border-bottom: 0;
|
|
131
131
|
box-shadow: none;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
&:not(:has(+ :where(.tabs, .
|
|
134
|
+
&:not(:has(+ :where(.tabs, .tabBarDefault))) {
|
|
135
135
|
background: inherit;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
> .paneHeader + .
|
|
139
|
+
> .paneHeader + .tabBarDefault {
|
|
140
140
|
position: sticky;
|
|
141
141
|
top: 45px;
|
|
142
142
|
z-index: 100;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
> .paneHeader:has(.paneHeaderCaption > :is(span)) + .
|
|
145
|
+
> .paneHeader:has(.paneHeaderCaption > :is(span)) + .tabBarDefault {
|
|
146
146
|
top: 66px;
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -36,9 +36,10 @@
|
|
|
36
36
|
:is(.paneDefault, .paneFlat, .paneWell):is(a, button) {
|
|
37
37
|
cursor: pointer;
|
|
38
38
|
transition: 210ms var(--swift-out);
|
|
39
|
-
transition-property: background, box-shadow;
|
|
39
|
+
transition-property: background, border-color, box-shadow;
|
|
40
40
|
|
|
41
41
|
&:hover {
|
|
42
|
+
border-color: var(--surface-stroke-out-hover);
|
|
42
43
|
box-shadow: var(--shadow-lg);
|
|
43
44
|
}
|
|
44
45
|
|
|
@@ -1,15 +1,30 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use '~flux/components/css/mixin';
|
|
2
2
|
|
|
3
3
|
.tab {
|
|
4
4
|
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-flow: column;
|
|
7
|
+
flex-grow: 1;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.baseTabBar {
|
|
11
|
+
position: relative;
|
|
12
|
+
z-index: 0;
|
|
5
13
|
}
|
|
6
14
|
|
|
7
|
-
.
|
|
15
|
+
.tabBarDefault {
|
|
16
|
+
composes: baseTabBar;
|
|
17
|
+
|
|
8
18
|
--tab-padding: 12px;
|
|
9
19
|
|
|
10
|
-
position: relative;
|
|
11
20
|
box-shadow: inset 0 -2px var(--surface-stroke);
|
|
12
|
-
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tabBarPills {
|
|
24
|
+
composes: baseTabBar;
|
|
25
|
+
|
|
26
|
+
padding: 3px;
|
|
27
|
+
border-radius: var(--radius);
|
|
13
28
|
}
|
|
14
29
|
|
|
15
30
|
.tabBarArrow {
|
|
@@ -46,20 +61,26 @@
|
|
|
46
61
|
right: -6px;
|
|
47
62
|
}
|
|
48
63
|
|
|
49
|
-
.
|
|
64
|
+
.baseTabBarTabs {
|
|
65
|
+
position: relative;
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
overflow: auto;
|
|
69
|
+
scrollbar-width: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.tabBarTabsDefault {
|
|
73
|
+
composes: baseTabBarTabs;
|
|
74
|
+
|
|
50
75
|
--mask-start: 0%;
|
|
51
76
|
--mask-end: 100%;
|
|
52
77
|
--mask: linear-gradient(to right, transparent, black var(--mask-start), black, black var(--mask-end), transparent);
|
|
53
78
|
|
|
54
|
-
display: flex;
|
|
55
79
|
margin-left: -3px;
|
|
56
80
|
margin-right: -3px;
|
|
57
81
|
padding-left: 3px;
|
|
58
82
|
padding-right: 3px;
|
|
59
|
-
align-items: center;
|
|
60
83
|
gap: 27px;
|
|
61
|
-
overflow: auto;
|
|
62
|
-
scrollbar-width: none;
|
|
63
84
|
|
|
64
85
|
-webkit-mask-image: var(--mask);
|
|
65
86
|
mask-image: var(--mask);
|
|
@@ -73,36 +94,38 @@
|
|
|
73
94
|
}
|
|
74
95
|
}
|
|
75
96
|
|
|
76
|
-
.
|
|
97
|
+
.tabBarTabsPills {
|
|
98
|
+
composes: baseTabBarTabs;
|
|
99
|
+
|
|
100
|
+
gap: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.baseTabBarItem {
|
|
77
104
|
display: inline-flex;
|
|
78
|
-
padding: var(--tab-padding) 0;
|
|
79
105
|
align-items: center;
|
|
80
|
-
gap: 9px;
|
|
81
106
|
background: unset;
|
|
82
107
|
border: 0;
|
|
83
|
-
border-bottom: 2px solid transparent;
|
|
84
108
|
color: var(--foreground);
|
|
85
109
|
contain: layout;
|
|
86
110
|
cursor: pointer;
|
|
87
111
|
font-weight: 500;
|
|
88
112
|
outline: 0;
|
|
89
|
-
transition: var(--transition-default);
|
|
90
|
-
transition-property: border-color, color;
|
|
91
113
|
white-space: nowrap;
|
|
92
114
|
|
|
93
115
|
&::before {
|
|
94
116
|
position: absolute;
|
|
95
117
|
inset: 0;
|
|
96
118
|
content: '';
|
|
97
|
-
border-radius: var(--radius);
|
|
98
119
|
pointer-events: none;
|
|
99
120
|
transition: var(--transition-default) mixin.focus-ring-transition-properties();
|
|
100
121
|
}
|
|
101
122
|
|
|
102
|
-
@include mixin.focus-ring-pseudo(before);
|
|
123
|
+
@include mixin.focus-ring-pseudo(before, -2px);
|
|
103
124
|
|
|
104
|
-
|
|
105
|
-
|
|
125
|
+
// Inset offset zodat de focus-ring niet wordt weggeclipt
|
|
126
|
+
// door de overflow: auto op .tabBarTabs.
|
|
127
|
+
&::before {
|
|
128
|
+
outline-offset: -2px;
|
|
106
129
|
}
|
|
107
130
|
|
|
108
131
|
&:disabled,
|
|
@@ -113,16 +136,87 @@
|
|
|
113
136
|
}
|
|
114
137
|
}
|
|
115
138
|
|
|
116
|
-
.
|
|
117
|
-
composes:
|
|
139
|
+
.tabBarItemDefault {
|
|
140
|
+
composes: baseTabBarItem;
|
|
141
|
+
|
|
142
|
+
padding: var(--tab-padding) 0;
|
|
143
|
+
gap: 9px;
|
|
144
|
+
border-bottom: 2px solid transparent;
|
|
145
|
+
transition: var(--transition-default);
|
|
146
|
+
transition-property: border-color, color;
|
|
147
|
+
|
|
148
|
+
&::before {
|
|
149
|
+
border-radius: var(--radius);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@include mixin.hover {
|
|
153
|
+
border-color: var(--foreground);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.tabBarItemDefaultActive {
|
|
158
|
+
composes: tabBarItemDefault;
|
|
159
|
+
|
|
160
|
+
color: var(--foreground-prominent);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tabBarItemPills {
|
|
164
|
+
composes: baseTabBarItem;
|
|
165
|
+
|
|
166
|
+
position: relative;
|
|
167
|
+
height: 36px;
|
|
168
|
+
padding: 0 12px;
|
|
169
|
+
gap: 6px;
|
|
170
|
+
border-radius: calc(var(--radius) - 2px);
|
|
171
|
+
transition: color 300ms var(--swift-out);
|
|
172
|
+
z-index: 1;
|
|
173
|
+
|
|
174
|
+
&::before {
|
|
175
|
+
border-radius: calc(var(--radius) - 2px);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@include mixin.hover {
|
|
179
|
+
color: var(--foreground-prominent);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.tabBarItemPillsActive {
|
|
184
|
+
composes: tabBarItemPills;
|
|
118
185
|
|
|
119
|
-
border-color: var(--primary-600);
|
|
120
186
|
color: var(--foreground-prominent);
|
|
187
|
+
cursor: default;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.baseTabBarHighlight {
|
|
191
|
+
position: absolute;
|
|
192
|
+
pointer-events: none;
|
|
193
|
+
transition: 300ms var(--swift-out);
|
|
194
|
+
transition-property: left, width;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.tabBarHighlightDefault {
|
|
198
|
+
composes: baseTabBarHighlight;
|
|
199
|
+
|
|
200
|
+
bottom: 0;
|
|
201
|
+
height: 2px;
|
|
202
|
+
background: var(--primary-600);
|
|
203
|
+
z-index: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.tabBarHighlightPills {
|
|
207
|
+
composes: baseTabBarHighlight;
|
|
208
|
+
|
|
209
|
+
top: 0;
|
|
210
|
+
bottom: 0;
|
|
211
|
+
background: var(--gray-100);
|
|
212
|
+
border-radius: calc(var(--radius) - 2px);
|
|
213
|
+
z-index: 0;
|
|
121
214
|
}
|
|
122
215
|
|
|
123
216
|
.tabs {
|
|
124
217
|
display: flex;
|
|
125
218
|
flex-flow: column;
|
|
219
|
+
flex-grow: 1;
|
|
126
220
|
overflow: visible;
|
|
127
221
|
}
|
|
128
222
|
|
|
@@ -130,10 +224,10 @@
|
|
|
130
224
|
margin-bottom: 18px;
|
|
131
225
|
}
|
|
132
226
|
|
|
133
|
-
.basePaneStructure > .
|
|
134
|
-
.basePaneStructure > .tabs > .
|
|
135
|
-
.basePaneStructure > .form > .
|
|
136
|
-
.basePaneStructure > .form > .tabs > .
|
|
227
|
+
.basePaneStructure > .tabBarDefault,
|
|
228
|
+
.basePaneStructure > .tabs > .tabBarDefault,
|
|
229
|
+
.basePaneStructure > .form > .tabBarDefault,
|
|
230
|
+
.basePaneStructure > .form > .tabs > .tabBarDefault {
|
|
137
231
|
--tab-padding: 18px;
|
|
138
232
|
|
|
139
233
|
padding-left: 18px;
|
|
@@ -149,22 +243,32 @@
|
|
|
149
243
|
}
|
|
150
244
|
}
|
|
151
245
|
|
|
152
|
-
.basePaneStructure > .paneHeader + .
|
|
153
|
-
.basePaneStructure > .paneHeader + .tabs > .
|
|
154
|
-
.basePaneStructure > .form > .paneHeader + .
|
|
155
|
-
.basePaneStructure > .form > .paneHeader + .tabs > .
|
|
156
|
-
padding-top: 6px;
|
|
157
|
-
|
|
246
|
+
.basePaneStructure > .paneHeader + .tabBarDefault,
|
|
247
|
+
.basePaneStructure > .paneHeader + .tabs > .tabBarDefault,
|
|
248
|
+
.basePaneStructure > .form > .paneHeader + .tabBarDefault,
|
|
249
|
+
.basePaneStructure > .form > .paneHeader + .tabs > .tabBarDefault {
|
|
158
250
|
&:not(:first-child) {
|
|
159
251
|
border-top: 0;
|
|
160
252
|
}
|
|
161
253
|
}
|
|
162
254
|
|
|
163
|
-
.paneHeader:has(+ .
|
|
164
|
-
.paneHeader:has(+ .tabs > .
|
|
255
|
+
.paneHeader:has(+ .tabBarDefault),
|
|
256
|
+
.paneHeader:has(+ .tabs > .tabBarDefault) {
|
|
165
257
|
background: var(--gray-50);
|
|
166
258
|
}
|
|
167
259
|
|
|
260
|
+
.basePaneStructure > .tabBarPills,
|
|
261
|
+
.basePaneStructure > .tabs > .tabBarPills,
|
|
262
|
+
.basePaneStructure > .form > .tabBarPills,
|
|
263
|
+
.basePaneStructure > .form > .tabs > .tabBarPills {
|
|
264
|
+
padding-left: 6px;
|
|
265
|
+
padding-right: 6px;
|
|
266
|
+
|
|
267
|
+
&:first-child {
|
|
268
|
+
padding-top: 6px;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
168
272
|
.basePaneStructure > .tabs > .tabsBar {
|
|
169
273
|
margin-bottom: 0;
|
|
170
274
|
}
|
package/src/css/variables.scss
CHANGED
|
@@ -187,8 +187,8 @@
|
|
|
187
187
|
--surface-loader: rgb(from var(--gray-25) r g b / .75);
|
|
188
188
|
--surface-stroke: var(--gray-200);
|
|
189
189
|
--surface-stroke-hover: var(--gray-300);
|
|
190
|
-
--surface-stroke-out: rgb(from var(--gray-
|
|
191
|
-
--surface-stroke-out-hover: rgb(from var(--gray-
|
|
190
|
+
--surface-stroke-out: rgb(from var(--gray-400) r g b / .2);
|
|
191
|
+
--surface-stroke-out-hover: rgb(from var(--gray-500) r g b / .2);
|
|
192
192
|
--surface-hover: var(--gray-50);
|
|
193
193
|
--surface-active: var(--gray-100);
|
|
194
194
|
--surface-disabled: var(--gray-100);
|