@flux-ui/components 3.0.0-next.35 → 3.0.0-next.39
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/FluxActionBar.vue.d.ts +17 -17
- package/dist/component/FluxActionPane.vue.d.ts +7 -7
- package/dist/component/FluxActionStack.vue.d.ts +11 -15
- package/dist/component/{FluxAutoGrid.vue.d.ts → FluxAdaptiveGroup.vue.d.ts} +6 -3
- package/dist/component/FluxAdaptiveSlot.vue.d.ts +35 -0
- package/dist/component/FluxAspectRatio.vue.d.ts +3 -3
- package/dist/component/FluxBadgeStack.vue.d.ts +3 -3
- package/dist/component/FluxButtonGroup.vue.d.ts +3 -3
- package/dist/component/FluxButtonStack.vue.d.ts +3 -3
- package/dist/component/FluxCalendar.vue.d.ts +3 -3
- package/dist/component/FluxCalendarEvent.vue.d.ts +3 -3
- package/dist/component/FluxCheckbox.vue.d.ts +2 -1
- package/dist/component/FluxClickablePane.vue.d.ts +5 -5
- package/dist/component/FluxColorSelect.vue.d.ts +1 -0
- package/dist/component/{FluxPaneDeck.vue.d.ts → FluxColumn.vue.d.ts} +5 -5
- package/dist/component/FluxComment.vue.d.ts +3 -3
- package/dist/component/FluxContainer.vue.d.ts +3 -3
- package/dist/component/FluxDivider.vue.d.ts +5 -3
- package/dist/component/FluxDropZone.vue.d.ts +8 -7
- package/dist/component/FluxExpandableGroup.vue.d.ts +3 -3
- package/dist/component/FluxFader.vue.d.ts +3 -3
- package/dist/component/FluxFaderItem.vue.d.ts +3 -3
- package/dist/component/FluxFilter.vue.d.ts +3 -3
- package/dist/component/FluxFilterBar.vue.d.ts +3 -3
- package/dist/component/FluxFilterBase.vue.d.ts +4 -4
- package/dist/component/FluxFilterWindow.vue.d.ts +13 -17
- package/dist/component/FluxFlyout.vue.d.ts +19 -21
- package/dist/component/FluxForm.vue.d.ts +3 -3
- package/dist/component/FluxFormColumn.vue.d.ts +3 -3
- package/dist/component/FluxFormDateInput.vue.d.ts +18 -24
- package/dist/component/FluxFormDateRangeInput.vue.d.ts +18 -21
- package/dist/component/FluxFormDateTimeInput.vue.d.ts +18 -24
- package/dist/component/FluxFormField.vue.d.ts +7 -7
- package/dist/component/FluxFormGrid.vue.d.ts +3 -3
- package/dist/component/FluxFormInput.vue.d.ts +2 -9
- package/dist/component/FluxFormInputAddition.vue.d.ts +3 -3
- package/dist/component/FluxFormInputGroup.vue.d.ts +3 -3
- package/dist/component/FluxFormPinInput.vue.d.ts +2 -4
- package/dist/component/FluxFormRangeSlider.vue.d.ts +18 -2
- package/dist/component/FluxFormRow.vue.d.ts +3 -3
- package/dist/component/FluxFormSection.vue.d.ts +3 -3
- package/dist/component/FluxFormSelect.vue.d.ts +2 -4
- package/dist/component/FluxFormSelectAsync.vue.d.ts +2 -4
- package/dist/component/FluxFormSlider.vue.d.ts +11 -2
- package/dist/component/FluxFormTextArea.vue.d.ts +2 -6
- package/dist/component/FluxFormTimeZonePicker.vue.d.ts +2 -4
- package/dist/component/FluxFormTreeViewSelect.vue.d.ts +15 -37
- package/dist/component/FluxGallery.vue.d.ts +3 -3
- package/dist/component/FluxGrid.vue.d.ts +3 -3
- package/dist/component/FluxGridColumn.vue.d.ts +3 -3
- package/dist/component/FluxIcon.vue.d.ts +1 -0
- package/dist/component/FluxInfo.vue.d.ts +3 -3
- package/dist/component/FluxInfoStack.vue.d.ts +3 -3
- package/dist/component/FluxLayerPane.vue.d.ts +20 -0
- package/dist/component/FluxLayerPaneSecondary.vue.d.ts +20 -0
- package/dist/component/FluxMenu.vue.d.ts +3 -3
- package/dist/component/FluxMenuCollapsible.vue.d.ts +47 -0
- package/dist/component/FluxMenuGroup.vue.d.ts +3 -3
- package/dist/component/FluxMenuItem.vue.d.ts +5 -3
- package/dist/component/FluxMenuOptions.vue.d.ts +3 -3
- package/dist/component/FluxNotice.vue.d.ts +5 -5
- package/dist/component/FluxNoticeStack.vue.d.ts +3 -3
- package/dist/component/FluxOverflowBar.vue.d.ts +4 -4
- package/dist/component/FluxPane.vue.d.ts +5 -5
- package/dist/component/FluxPaneBody.vue.d.ts +3 -3
- package/dist/component/FluxPaneFooter.vue.d.ts +3 -3
- package/dist/component/FluxPaneGroup.vue.d.ts +3 -3
- package/dist/component/FluxPaneHeader.vue.d.ts +6 -6
- package/dist/component/FluxPaneIllustration.vue.d.ts +5 -5
- package/dist/component/FluxPressable.vue.d.ts +3 -3
- package/dist/component/FluxPrompt.vue.d.ts +3 -17
- package/dist/component/FluxRoot.vue.d.ts +3 -3
- package/dist/component/FluxRow.vue.d.ts +23 -0
- package/dist/component/FluxSegmentedControl.vue.d.ts +3 -2
- package/dist/component/FluxSplitButton.vue.d.ts +5 -5
- package/dist/component/FluxStack.vue.d.ts +3 -3
- package/dist/component/FluxStepper.vue.d.ts +6 -6
- package/dist/component/FluxStepperStep.vue.d.ts +3 -3
- package/dist/component/FluxTab.vue.d.ts +3 -3
- package/dist/component/FluxTabBar.vue.d.ts +3 -3
- package/dist/component/FluxTabBarItem.vue.d.ts +5 -7
- package/dist/component/FluxTableActions.vue.d.ts +3 -3
- package/dist/component/FluxTableBar.vue.d.ts +3 -3
- package/dist/component/FluxTableCell.vue.d.ts +5 -5
- package/dist/component/FluxTableHeader.vue.d.ts +3 -3
- package/dist/component/FluxTableRow.vue.d.ts +3 -3
- package/dist/component/FluxTabs.vue.d.ts +6 -6
- package/dist/component/FluxTagStack.vue.d.ts +3 -3
- package/dist/component/FluxTimeline.vue.d.ts +3 -3
- package/dist/component/FluxTimelineItem.vue.d.ts +3 -3
- package/dist/component/FluxToggle.vue.d.ts +2 -3
- package/dist/component/FluxToolbar.vue.d.ts +3 -3
- package/dist/component/FluxToolbarGroup.vue.d.ts +3 -3
- package/dist/component/FluxWindow.vue.d.ts +3 -3
- package/dist/component/index.d.ts +7 -2
- package/dist/component/primitive/Anchor.vue.d.ts +3 -3
- package/dist/component/primitive/AnchorPopup.vue.d.ts +3 -3
- package/dist/component/primitive/CoordinatePicker.vue.d.ts +1 -0
- package/dist/component/primitive/DialogLayout.vue.d.ts +28 -0
- package/dist/component/primitive/FilterOptionBase.vue.d.ts +2 -2
- package/dist/component/primitive/SelectBase.vue.d.ts +19 -37
- package/dist/component/primitive/SliderThumb.vue.d.ts +4 -0
- package/dist/component/primitive/TreeNodeRenderer.vue.d.ts +30 -0
- package/dist/component/primitive/index.d.ts +2 -0
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/private/index.d.ts +8 -0
- package/dist/composable/private/useAsyncFilterOptions.d.ts +14 -0
- package/dist/composable/private/useDateFlyout.d.ts +10 -0
- package/dist/composable/private/useDropdownPopup.d.ts +27 -0
- package/dist/composable/private/useFilterOption.d.ts +12 -0
- package/dist/composable/useAdaptiveGroupInjection.d.ts +2 -0
- package/dist/data/di.d.ts +11 -0
- package/dist/data/filter.d.ts +4 -17
- package/dist/data/i18n.d.ts +17 -0
- package/dist/data/timeZones.d.ts +3 -0
- package/dist/index.css +372 -331
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7105 -6275
- package/dist/index.js.map +1 -1
- package/dist/transition/FluxAutoHeightTransition.vue.d.ts +5 -3
- package/dist/transition/FluxAutoWidthTransition.vue.d.ts +5 -3
- package/dist/transition/FluxBreakthroughTransition.vue.d.ts +5 -3
- package/dist/transition/FluxFadeTransition.vue.d.ts +5 -3
- package/dist/transition/FluxOverlayTransition.vue.d.ts +5 -3
- package/dist/transition/FluxRouteTransition.vue.d.ts +5 -3
- package/dist/transition/FluxSlideOverTransition.vue.d.ts +5 -3
- package/dist/transition/FluxTooltipTransition.vue.d.ts +5 -3
- package/dist/transition/FluxVerticalWindowTransition.vue.d.ts +5 -3
- package/dist/transition/FluxWindowTransition.vue.d.ts +5 -3
- package/package.json +19 -23
- package/src/component/FluxActionBar.vue +9 -8
- package/src/component/FluxActionPane.vue +4 -3
- package/src/component/FluxActionStack.vue +2 -2
- package/src/component/FluxAdaptiveGroup.vue +112 -0
- package/src/component/FluxAdaptiveSlot.vue +159 -0
- package/src/component/FluxAlert.vue +8 -17
- package/src/component/FluxAnimatedColors.vue +1 -1
- package/src/component/FluxAspectRatio.vue +2 -1
- package/src/component/FluxBadge.vue +5 -1
- package/src/component/FluxBadgeStack.vue +2 -1
- package/src/component/FluxButtonGroup.vue +2 -1
- package/src/component/FluxButtonStack.vue +2 -1
- package/src/component/FluxCalendar.vue +8 -1
- package/src/component/FluxCalendarEvent.vue +2 -1
- package/src/component/FluxCheckbox.vue +33 -6
- package/src/component/FluxChip.vue +1 -0
- package/src/component/FluxClickablePane.vue +3 -2
- package/src/component/FluxColorPicker.vue +8 -1
- package/src/component/FluxColorSelect.vue +25 -4
- package/src/component/{FluxAutoGrid.vue → FluxColumn.vue} +5 -8
- package/src/component/FluxComment.vue +2 -2
- package/src/component/FluxConfirm.vue +8 -17
- package/src/component/FluxContainer.vue +3 -2
- package/src/component/FluxDataTable.vue +3 -1
- package/src/component/FluxDivider.vue +7 -3
- package/src/component/FluxDropZone.vue +22 -8
- package/src/component/FluxExpandable.vue +3 -2
- package/src/component/FluxExpandableGroup.vue +2 -2
- package/src/component/FluxFader.vue +2 -2
- package/src/component/FluxFaderItem.vue +2 -1
- package/src/component/FluxFilter.vue +2 -1
- package/src/component/FluxFilterBar.vue +3 -2
- package/src/component/FluxFilterBase.vue +17 -9
- package/src/component/FluxFilterOption.vue +3 -14
- package/src/component/FluxFilterOptionAsync.vue +17 -60
- package/src/component/FluxFilterOptions.vue +3 -25
- package/src/component/FluxFilterOptionsAsync.vue +9 -73
- package/src/component/FluxFilterWindow.vue +1 -1
- package/src/component/FluxFlyout.vue +13 -11
- package/src/component/FluxForm.vue +2 -1
- package/src/component/FluxFormColumn.vue +2 -1
- package/src/component/FluxFormDateInput.vue +9 -22
- package/src/component/FluxFormDateRangeInput.vue +20 -15
- package/src/component/FluxFormDateTimeInput.vue +17 -20
- package/src/component/FluxFormField.vue +4 -4
- package/src/component/FluxFormGrid.vue +2 -1
- package/src/component/FluxFormInput.vue +11 -10
- package/src/component/FluxFormInputAddition.vue +2 -1
- package/src/component/FluxFormInputGroup.vue +3 -2
- package/src/component/FluxFormPinInput.vue +14 -6
- package/src/component/FluxFormRangeSlider.vue +12 -2
- package/src/component/FluxFormRow.vue +2 -1
- package/src/component/FluxFormSection.vue +4 -3
- package/src/component/FluxFormSelect.vue +11 -4
- package/src/component/FluxFormSelectAsync.vue +14 -8
- package/src/component/FluxFormSlider.vue +8 -2
- package/src/component/FluxFormTextArea.vue +12 -7
- package/src/component/FluxFormTimeZonePicker.vue +13 -626
- package/src/component/FluxFormTreeViewSelect.vue +51 -79
- package/src/component/FluxGallery.vue +2 -1
- package/src/component/FluxGrid.vue +3 -2
- package/src/component/FluxGridColumn.vue +2 -1
- package/src/component/FluxIcon.vue +4 -2
- package/src/component/FluxInfo.vue +2 -1
- package/src/component/FluxInfoStack.vue +3 -2
- package/src/component/FluxLayerPane.vue +16 -0
- package/src/component/FluxLayerPaneSecondary.vue +16 -0
- package/src/component/FluxLegend.vue +9 -9
- package/src/component/FluxMenu.vue +2 -2
- package/src/component/FluxMenuCollapsible.vue +187 -0
- package/src/component/FluxMenuGroup.vue +2 -1
- package/src/component/FluxMenuItem.vue +9 -1
- package/src/component/FluxMenuOptions.vue +1 -1
- package/src/component/FluxNotice.vue +7 -2
- package/src/component/FluxNoticeStack.vue +2 -1
- package/src/component/FluxOverflowBar.vue +3 -3
- package/src/component/FluxPagination.vue +1 -0
- package/src/component/FluxPane.vue +3 -2
- package/src/component/FluxPaneBody.vue +2 -1
- package/src/component/FluxPaneFooter.vue +2 -1
- package/src/component/FluxPaneGroup.vue +2 -1
- package/src/component/FluxPaneHeader.vue +7 -6
- package/src/component/FluxPaneIllustration.vue +3 -3
- package/src/component/FluxPaneMedia.vue +1 -1
- package/src/component/FluxPercentageBar.vue +3 -1
- package/src/component/FluxPressable.vue +2 -1
- package/src/component/FluxProgressBar.vue +2 -1
- package/src/component/FluxPrompt.vue +16 -27
- package/src/component/FluxRemove.vue +4 -0
- package/src/component/FluxRoot.vue +2 -2
- package/src/component/FluxRow.vue +24 -0
- package/src/component/FluxSegmentedControl.vue +51 -4
- package/src/component/FluxSnackbar.vue +36 -12
- package/src/component/FluxSplitButton.vue +3 -2
- package/src/component/FluxStack.vue +4 -3
- package/src/component/FluxStepper.vue +3 -3
- package/src/component/FluxStepperStep.vue +2 -1
- package/src/component/FluxTab.vue +2 -1
- package/src/component/FluxTabBar.vue +3 -3
- package/src/component/FluxTableActions.vue +2 -1
- package/src/component/FluxTableBar.vue +2 -1
- package/src/component/FluxTableCell.vue +4 -3
- package/src/component/FluxTableHeader.vue +4 -2
- package/src/component/FluxTableRow.vue +2 -1
- package/src/component/FluxTabs.vue +15 -6
- package/src/component/FluxTag.vue +5 -1
- package/src/component/FluxTagStack.vue +2 -1
- package/src/component/FluxTimeline.vue +2 -1
- package/src/component/FluxTimelineItem.vue +2 -1
- package/src/component/FluxToggle.vue +20 -5
- package/src/component/FluxToolbar.vue +2 -1
- package/src/component/FluxToolbarGroup.vue +2 -1
- package/src/component/FluxTooltip.vue +1 -1
- package/src/component/FluxTreeView.vue +9 -35
- package/src/component/FluxWindow.vue +2 -2
- package/src/component/index.ts +7 -2
- package/src/component/primitive/Anchor.vue +3 -1
- package/src/component/primitive/AnchorPopup.vue +3 -3
- package/src/component/primitive/CoordinatePicker.vue +2 -1
- package/src/component/primitive/CoordinatePickerThumb.vue +2 -0
- package/src/component/primitive/DialogLayout.vue +44 -0
- package/src/component/primitive/SelectBase.vue +22 -28
- package/src/component/primitive/SliderBase.vue +0 -1
- package/src/component/primitive/SliderThumb.vue +9 -0
- package/src/component/primitive/TreeNodeRenderer.vue +77 -0
- package/src/component/primitive/index.ts +2 -0
- package/src/composable/index.ts +1 -0
- package/src/composable/private/index.ts +8 -0
- package/src/composable/private/useAsyncFilterOptions.ts +70 -0
- package/src/composable/private/useCommandPalette.ts +1 -1
- package/src/composable/private/useDateFlyout.ts +34 -0
- package/src/composable/private/useDropdownPopup.ts +99 -0
- package/src/composable/private/useFilterOption.ts +59 -0
- package/src/composable/useAdaptiveGroupInjection.ts +6 -0
- package/src/css/component/Action.module.scss +2 -2
- package/src/css/component/AdaptiveSlot.module.scss +25 -0
- package/src/css/component/Avatar.module.scss +10 -11
- package/src/css/component/Badge.module.scss +4 -4
- package/src/css/component/Button.module.scss +4 -16
- package/src/css/component/Calendar.module.scss +4 -4
- package/src/css/component/Chip.module.scss +6 -10
- package/src/css/component/Color.module.scss +1 -1
- package/src/css/component/DatePicker.module.scss +1 -1
- package/src/css/component/Expandable.module.scss +5 -5
- package/src/css/component/Fader.module.scss +2 -1
- package/src/css/component/Flyout.module.scss +1 -1
- package/src/css/component/FocalPoint.module.scss +1 -1
- package/src/css/component/Form.module.scss +56 -10
- package/src/css/component/Item.module.scss +4 -4
- package/src/css/component/LayerPane.module.scss +40 -0
- package/src/css/component/Layout.module.scss +11 -4
- package/src/css/component/Legend.module.scss +2 -2
- package/src/css/component/Menu.module.scss +59 -11
- package/src/css/component/Notice.module.scss +7 -7
- package/src/css/component/Overlay.module.scss +2 -2
- package/src/css/component/Pane.module.scss +10 -23
- package/src/css/component/PercentageBar.module.scss +1 -1
- package/src/css/component/Remove.module.scss +1 -1
- package/src/css/component/SegmentedControl.module.scss +1 -0
- package/src/css/component/Snackbar.module.scss +1 -1
- package/src/css/component/Statistic.module.scss +2 -2
- package/src/css/component/Stepper.module.scss +1 -1
- package/src/css/component/Tab.module.scss +11 -15
- package/src/css/component/Table.module.scss +13 -13
- package/src/css/component/Timeline.module.scss +2 -2
- package/src/css/component/Toolbar.module.scss +3 -3
- package/src/css/component/Tooltip.module.scss +3 -4
- package/src/css/component/Transition.module.scss +1 -1
- package/src/css/component/TreeView.module.scss +2 -15
- package/src/css/component/TreeViewSelect.module.scss +1 -15
- package/src/css/component/base/Button.module.scss +6 -7
- package/src/css/component/base/Effect.module.scss +2 -1
- package/src/css/component/primitive/Slider.module.scss +6 -7
- package/src/css/component/primitive/TreeNode.module.scss +19 -0
- package/src/css/mixin/button-active.scss +6 -0
- package/src/css/mixin/focus-ring.scss +1 -1
- package/src/css/mixin/index.scss +1 -0
- package/src/css/typography.scss +3 -2
- package/src/css/variables.scss +7 -2
- package/src/data/di.ts +13 -0
- package/src/data/filter.ts +24 -28
- package/src/data/i18n.ts +17 -0
- package/src/data/store.ts +46 -11
- package/src/data/timeZones.ts +619 -0
- package/src/index.ts +2 -0
- package/src/transition/FluxAutoHeightTransition.vue +5 -0
- package/src/transition/FluxAutoWidthTransition.vue +5 -0
- package/src/transition/FluxBreakthroughTransition.vue +5 -0
- package/src/transition/FluxFadeTransition.vue +5 -0
- package/src/transition/FluxOverlayTransition.vue +5 -0
- package/src/transition/FluxRouteTransition.vue +5 -0
- package/src/transition/FluxSlideOverTransition.vue +5 -0
- package/src/transition/FluxTooltipTransition.vue +5 -0
- package/src/transition/FluxVerticalWindowTransition.vue +5 -0
- package/src/transition/FluxWindowTransition.vue +5 -0
- package/dist/0db98648.svg +0 -3
- package/src/component/FluxPaneDeck.vue +0 -24
- package/src/css/component/base/Grid.module.scss +0 -8
- package/src/image/avatar-mask.svg +0 -3
- package/tsconfig.json +0 -7
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
composes: basePaneElement from './base/Pane.module.scss';
|
|
41
41
|
|
|
42
42
|
display: flex;
|
|
43
|
-
padding:
|
|
43
|
+
padding: 18px 18px 0;
|
|
44
44
|
gap: 15px;
|
|
45
45
|
|
|
46
46
|
&:only-child {
|
|
47
|
-
padding:
|
|
47
|
+
padding: 18px;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&:has(+ .basePaneElement:not(.paneBody)) {
|
|
51
|
-
padding:
|
|
51
|
+
padding: 18px;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
.paneBody {
|
|
81
81
|
composes: basePaneElement from './base/Pane.module.scss';
|
|
82
82
|
|
|
83
|
-
padding:
|
|
83
|
+
padding: 18px;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.paneBody + .paneBody {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
composes: basePaneElement from './base/Pane.module.scss';
|
|
92
92
|
|
|
93
93
|
display: flex;
|
|
94
|
-
padding:
|
|
94
|
+
padding: 18px;
|
|
95
95
|
gap: 9px;
|
|
96
96
|
background: var(--gray-50);
|
|
97
97
|
border-top: 1px solid var(--gray-100);
|
|
@@ -129,6 +129,10 @@
|
|
|
129
129
|
border-radius: inherit;
|
|
130
130
|
z-index: 1;
|
|
131
131
|
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.paneMediaDefault {
|
|
135
|
+
composes: paneMedia;
|
|
132
136
|
|
|
133
137
|
&:first-child {
|
|
134
138
|
margin: -1px;
|
|
@@ -149,7 +153,7 @@
|
|
|
149
153
|
.paneMediaInset {
|
|
150
154
|
composes: paneMedia;
|
|
151
155
|
|
|
152
|
-
margin:
|
|
156
|
+
margin: 18px;
|
|
153
157
|
border-radius: var(--radius-half);
|
|
154
158
|
|
|
155
159
|
&:not(:first-child) {
|
|
@@ -171,23 +175,6 @@
|
|
|
171
175
|
object-position: center;
|
|
172
176
|
}
|
|
173
177
|
|
|
174
|
-
.paneDeck {
|
|
175
|
-
composes: paneDefault;
|
|
176
|
-
|
|
177
|
-
overflow: hidden;
|
|
178
|
-
|
|
179
|
-
> .baseAutoGrid {
|
|
180
|
-
margin-right: -1px;
|
|
181
|
-
margin-bottom: -1px;
|
|
182
|
-
|
|
183
|
-
> .pane {
|
|
184
|
-
border-top: 0;
|
|
185
|
-
border-left: 0;
|
|
186
|
-
border-radius: 0;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
178
|
.paneGroup {
|
|
192
179
|
position: relative;
|
|
193
180
|
}
|
|
@@ -26,13 +26,11 @@
|
|
|
26
26
|
color: var(--foreground);
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
outline: 0;
|
|
29
|
-
transition: background
|
|
29
|
+
transition: background var(--transition-default);
|
|
30
30
|
z-index: 1;
|
|
31
31
|
|
|
32
|
-
@
|
|
33
|
-
|
|
34
|
-
background: var(--surface-stroke);
|
|
35
|
-
}
|
|
32
|
+
@include mixin.hover {
|
|
33
|
+
background: var(--surface-stroke);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
|
|
@@ -58,8 +56,8 @@
|
|
|
58
56
|
margin-right: -3px;
|
|
59
57
|
padding-left: 3px;
|
|
60
58
|
padding-right: 3px;
|
|
61
|
-
align-items:
|
|
62
|
-
gap:
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 27px;
|
|
63
61
|
overflow: auto;
|
|
64
62
|
scrollbar-width: none;
|
|
65
63
|
|
|
@@ -88,7 +86,7 @@
|
|
|
88
86
|
cursor: pointer;
|
|
89
87
|
font-weight: 500;
|
|
90
88
|
outline: 0;
|
|
91
|
-
transition:
|
|
89
|
+
transition: var(--transition-default);
|
|
92
90
|
transition-property: border-color, color;
|
|
93
91
|
white-space: nowrap;
|
|
94
92
|
|
|
@@ -98,15 +96,13 @@
|
|
|
98
96
|
content: '';
|
|
99
97
|
border-radius: var(--radius);
|
|
100
98
|
pointer-events: none;
|
|
101
|
-
transition:
|
|
99
|
+
transition: var(--transition-default) mixin.focus-ring-transition-properties();
|
|
102
100
|
}
|
|
103
101
|
|
|
104
102
|
@include mixin.focus-ring-pseudo(before);
|
|
105
103
|
|
|
106
|
-
@
|
|
107
|
-
|
|
108
|
-
border-color: var(--foreground);
|
|
109
|
-
}
|
|
104
|
+
@include mixin.hover {
|
|
105
|
+
border-color: var(--foreground);
|
|
110
106
|
}
|
|
111
107
|
|
|
112
108
|
&:disabled,
|
|
@@ -140,8 +136,8 @@
|
|
|
140
136
|
.basePaneStructure > .form > .tabs > .tabBar {
|
|
141
137
|
--tab-padding: 18px;
|
|
142
138
|
|
|
143
|
-
padding-left:
|
|
144
|
-
padding-right:
|
|
139
|
+
padding-left: 18px;
|
|
140
|
+
padding-right: 18px;
|
|
145
141
|
background: var(--gray-50);
|
|
146
142
|
|
|
147
143
|
&:first-child {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '$flux/css/mixin';
|
|
2
|
+
|
|
1
3
|
.table {
|
|
2
4
|
composes: basePaneElement from './base/Pane.module.scss';
|
|
3
5
|
|
|
@@ -127,11 +129,11 @@ tfoot .tableCell {
|
|
|
127
129
|
position: relative;
|
|
128
130
|
background: var(--gray-50);
|
|
129
131
|
box-shadow: 0 0 24px var(--gray-50),
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
0 0 24px var(--gray-50),
|
|
133
|
+
0 0 24px var(--gray-50),
|
|
134
|
+
0 0 24px var(--gray-50),
|
|
135
|
+
0 0 24px var(--gray-50),
|
|
136
|
+
0 0 24px var(--gray-50);
|
|
135
137
|
z-index: 2;
|
|
136
138
|
}
|
|
137
139
|
|
|
@@ -171,20 +173,18 @@ tfoot .tableCell {
|
|
|
171
173
|
cursor: pointer;
|
|
172
174
|
outline: 0;
|
|
173
175
|
|
|
174
|
-
@
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
color: var(--foreground);
|
|
178
|
-
}
|
|
176
|
+
@include mixin.hover {
|
|
177
|
+
background: var(--gray-100);
|
|
178
|
+
color: var(--foreground);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
.basePaneStructure > .table .tableCell:first-child .tableCellContent {
|
|
183
|
-
padding-left:
|
|
183
|
+
padding-left: 18px;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.basePaneStructure > .table .tableCell:last-child .tableCellContent {
|
|
187
|
-
padding-right:
|
|
187
|
+
padding-right: 18px;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.basePaneStructure > .table .tableActions {
|
|
@@ -192,7 +192,7 @@ tfoot .tableCell {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
.basePaneStructure > .table :is(caption) {
|
|
195
|
-
padding: 12px
|
|
195
|
+
padding: 12px 18px;
|
|
196
196
|
border-top: 1px solid var(--gray-100);
|
|
197
197
|
}
|
|
198
198
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
display: flex;
|
|
18
18
|
align-items: center;
|
|
19
19
|
justify-content: center;
|
|
20
|
-
border-radius:
|
|
20
|
+
border-radius: var(--radius-full);
|
|
21
21
|
outline: 6px solid var(--surface);
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
align-items: center;
|
|
43
43
|
justify-content: center;
|
|
44
44
|
background: var(--gray-25);
|
|
45
|
-
border-radius:
|
|
45
|
+
border-radius: var(--radius-full);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.timelineItemPhotoImage {
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
|
|
45
45
|
&.isTopEnd,
|
|
46
46
|
&.isBottomEnd {
|
|
47
|
-
right:
|
|
47
|
+
right: 18px;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&.isTopStart,
|
|
51
51
|
&.isBottomStart {
|
|
52
|
-
left:
|
|
52
|
+
left: 18px;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.paneHeader + .toolbarFlat {
|
|
84
|
-
margin-top:
|
|
84
|
+
margin-top: 18px;
|
|
85
85
|
}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
max-width: 360px;
|
|
7
7
|
padding: 9px 15px;
|
|
8
8
|
flex-flow: column;
|
|
9
|
-
background:
|
|
10
|
-
backdrop-filter: blur(
|
|
9
|
+
background: var(--overlay-strong);
|
|
10
|
+
backdrop-filter: blur(3px) saturate(180%);
|
|
11
11
|
border-radius: var(--radius);
|
|
12
12
|
color: var(--gray-25);
|
|
13
13
|
font-size: 14px;
|
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
[dark] .tooltip {
|
|
38
|
-
|
|
39
|
-
color: white;
|
|
38
|
+
color: var(--gray-700);
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
.tooltipAbove {
|
|
@@ -7,20 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.treeNode {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
min-height: 36px;
|
|
13
|
-
padding: 0 8px;
|
|
14
|
-
align-items: center;
|
|
15
|
-
border-radius: var(--radius-half);
|
|
16
|
-
color: var(--foreground);
|
|
10
|
+
composes: treeNode from './primitive/TreeNode.module.scss';
|
|
11
|
+
|
|
17
12
|
cursor: pointer;
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
gap: 8px;
|
|
20
|
-
outline: 0;
|
|
21
|
-
transition: 150ms var(--swift-out);
|
|
22
|
-
transition-property: background, color;
|
|
23
|
-
user-select: none;
|
|
24
13
|
|
|
25
14
|
@include mixin.hover {
|
|
26
15
|
background: var(--surface-hover);
|
|
@@ -30,5 +19,3 @@
|
|
|
30
19
|
background: var(--surface-hover);
|
|
31
20
|
}
|
|
32
21
|
}
|
|
33
|
-
|
|
34
|
-
@include mixin.tree-node-classes();
|
|
@@ -21,19 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.treeNode {
|
|
24
|
-
|
|
25
|
-
width: 100%;
|
|
26
|
-
min-height: 36px;
|
|
27
|
-
padding: 0 8px;
|
|
28
|
-
align-items: center;
|
|
29
|
-
border-radius: var(--radius-half);
|
|
30
|
-
color: var(--foreground);
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
gap: 8px;
|
|
33
|
-
outline: 0;
|
|
34
|
-
transition: 150ms var(--swift-out);
|
|
35
|
-
transition-property: background, color;
|
|
36
|
-
user-select: none;
|
|
24
|
+
composes: treeNode from './primitive/TreeNode.module.scss';
|
|
37
25
|
|
|
38
26
|
&.isSelectable,
|
|
39
27
|
&.isExpandable {
|
|
@@ -69,5 +57,3 @@
|
|
|
69
57
|
color: var(--primary-600);
|
|
70
58
|
flex-shrink: 0;
|
|
71
59
|
}
|
|
72
|
-
|
|
73
|
-
@include mixin.tree-node-classes();
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
@layer flux-base {
|
|
4
4
|
.button {
|
|
5
5
|
display: inline-flex;
|
|
6
|
-
height: 42px;
|
|
7
|
-
padding: 0 12px;
|
|
8
6
|
align-items: center;
|
|
9
7
|
flex-grow: 0;
|
|
10
8
|
flex-shrink: 0;
|
|
@@ -17,7 +15,7 @@
|
|
|
17
15
|
cursor: pointer;
|
|
18
16
|
font: inherit;
|
|
19
17
|
text-decoration: none;
|
|
20
|
-
transition:
|
|
18
|
+
transition: var(--transition-default);
|
|
21
19
|
transition-property: background, border, box-shadow, color, scale, mixin.focus-ring-transition-properties();
|
|
22
20
|
user-select: none;
|
|
23
21
|
|
|
@@ -64,12 +62,13 @@
|
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
.buttonIcon {
|
|
65
|
+
margin: 1px;
|
|
67
66
|
flex-shrink: 0;
|
|
68
|
-
font-size:
|
|
67
|
+
font-size: 18px;
|
|
69
68
|
|
|
70
69
|
&:only-child {
|
|
71
|
-
margin-left: -
|
|
72
|
-
margin-right: -
|
|
70
|
+
margin-left: -1px;
|
|
71
|
+
margin-right: -1px;
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
74
|
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
.badge {
|
|
87
|
+
.button .badge {
|
|
89
88
|
&:first-child {
|
|
90
89
|
margin-left: -6px;
|
|
91
90
|
}
|
|
@@ -31,7 +31,8 @@ $-sparkle-r: .5 * $-sparkle-d;
|
|
|
31
31
|
$-xs: $-xg + $-sparkle-d * cos($-sparkle-curr-angle);
|
|
32
32
|
$-ys: $-yg + $-sparkle-d * sin($-sparkle-curr-angle);
|
|
33
33
|
|
|
34
|
-
$-
|
|
34
|
+
$-hue: ($i + $j) * $-group-base-angle;
|
|
35
|
+
$-shadow-list: $-shadow-list, $-xs $-ys 0 $-spread-r hsl($-hue, 100%, 75%);
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
background: var(--surface);
|
|
27
27
|
background-clip: padding-box;
|
|
28
28
|
border: 1px solid var(--surface-stroke-out);
|
|
29
|
-
border-radius:
|
|
29
|
+
border-radius: var(--radius-full);
|
|
30
30
|
box-shadow: var(--shadow-sm);
|
|
31
31
|
cursor: grab;
|
|
32
32
|
outline: 0;
|
|
@@ -34,10 +34,8 @@
|
|
|
34
34
|
|
|
35
35
|
@include mixin.focus-ring-transition(2px);
|
|
36
36
|
|
|
37
|
-
@
|
|
38
|
-
|
|
39
|
-
background-color: var(--surface-hover);
|
|
40
|
-
}
|
|
37
|
+
@include mixin.hover {
|
|
38
|
+
background-color: var(--surface-hover);
|
|
41
39
|
}
|
|
42
40
|
|
|
43
41
|
&.isDisabled {
|
|
@@ -56,8 +54,9 @@
|
|
|
56
54
|
position: relative;
|
|
57
55
|
height: 12px;
|
|
58
56
|
background: var(--gray-50);
|
|
57
|
+
background-clip: padding-box;
|
|
59
58
|
border-radius: var(--radius-half);
|
|
60
|
-
box-shadow: inset 0 0 0 1px var(--surface-stroke);
|
|
59
|
+
box-shadow: inset 0 0 0 1px var(--surface-stroke-out);
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
.sliderTrackValue {
|
|
@@ -80,7 +79,7 @@
|
|
|
80
79
|
height: 9px;
|
|
81
80
|
width: 2px;
|
|
82
81
|
background: var(--gray-300);
|
|
83
|
-
border-radius:
|
|
82
|
+
border-radius: var(--radius-full);
|
|
84
83
|
color: var(--foreground-prominent);
|
|
85
84
|
font-size: 10px;
|
|
86
85
|
font-weight: 600;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use '$flux/css/mixin';
|
|
2
|
+
|
|
3
|
+
.treeNode {
|
|
4
|
+
display: flex;
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-height: 36px;
|
|
7
|
+
padding: 0 8px;
|
|
8
|
+
align-items: center;
|
|
9
|
+
border-radius: var(--radius-half);
|
|
10
|
+
color: var(--foreground);
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
gap: 8px;
|
|
13
|
+
outline: 0;
|
|
14
|
+
transition: 150ms var(--swift-out);
|
|
15
|
+
transition-property: background, color;
|
|
16
|
+
user-select: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include mixin.tree-node-classes();
|
package/src/css/mixin/index.scss
CHANGED
package/src/css/typography.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@layer flux-base {
|
|
2
2
|
h1, h2, h3, h4, h5, h6 {
|
|
3
|
-
font-weight:
|
|
3
|
+
font-weight: 600;
|
|
4
4
|
line-height: 1.6;
|
|
5
5
|
text-wrap: balance;
|
|
6
6
|
}
|
|
@@ -33,9 +33,10 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
a:not([class]), a[class=""] {
|
|
36
|
+
align-self: start;
|
|
36
37
|
color: var(--primary-600);
|
|
37
38
|
text-decoration: underline;
|
|
38
|
-
text-decoration-color:
|
|
39
|
+
text-decoration-color: currentColor;
|
|
39
40
|
text-decoration-skip: auto;
|
|
40
41
|
text-decoration-thickness: 1px;
|
|
41
42
|
text-underline-offset: 2px;
|
package/src/css/variables.scss
CHANGED
|
@@ -174,9 +174,12 @@
|
|
|
174
174
|
--font-size: 15px;
|
|
175
175
|
--radius: 12px;
|
|
176
176
|
--radius-double: 24px;
|
|
177
|
+
--radius-full: 9999px;
|
|
177
178
|
--radius-half: 6px;
|
|
178
179
|
|
|
179
|
-
--
|
|
180
|
+
--transition-default: 180ms var(--swift-out);
|
|
181
|
+
|
|
182
|
+
--background: var(--gray-25);
|
|
180
183
|
--foreground: var(--gray-700);
|
|
181
184
|
--foreground-prominent: var(--gray-900);
|
|
182
185
|
--foreground-secondary: var(--gray-500);
|
|
@@ -190,13 +193,15 @@
|
|
|
190
193
|
--surface-active: var(--gray-100);
|
|
191
194
|
--surface-disabled: var(--gray-100);
|
|
192
195
|
|
|
193
|
-
--overlay: rgb(from var(--gray-950) r g b / .
|
|
196
|
+
--overlay: rgb(from var(--gray-950) r g b / .5);
|
|
194
197
|
--overlay-secondary: rgb(from var(--gray-950) r g b / .15);
|
|
198
|
+
--overlay-strong: rgb(from var(--gray-950) r g b / .9);
|
|
195
199
|
}
|
|
196
200
|
|
|
197
201
|
@mixin defaults-dark {
|
|
198
202
|
--overlay: rgb(0 0 0 / .6);
|
|
199
203
|
--overlay-secondary: rgb(0 0 0 / .4);
|
|
204
|
+
--overlay-strong: rgb(0 0 0 / .9);
|
|
200
205
|
}
|
|
201
206
|
|
|
202
207
|
@mixin shadow-light {
|
package/src/data/di.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FluxFilterState, FluxFilterValue } from '@flux-ui/types';
|
|
2
2
|
import type { ComponentInternalInstance, InjectionKey, Ref } from 'vue';
|
|
3
3
|
|
|
4
|
+
export const FluxAdaptiveGroupInjectionKey: InjectionKey<FluxAdaptiveGroupInjection> = Symbol();
|
|
4
5
|
export const FluxDisabledInjectionKey: InjectionKey<Ref<boolean>> = Symbol();
|
|
5
6
|
export const FluxExpandableGroupInjectionKey: InjectionKey<FluxExpandableGroupInjection> = Symbol();
|
|
6
7
|
export const FluxFlyoutInjectionKey: InjectionKey<FluxFlyoutInjection> = Symbol();
|
|
@@ -9,6 +10,18 @@ export const FluxFormFieldInjectionKey: InjectionKey<FluxFormFieldInjection> = S
|
|
|
9
10
|
export const FluxTableInjectionKey: InjectionKey<FluxTableInjection> = Symbol();
|
|
10
11
|
export const FluxTooltipInjectionKey: InjectionKey<FluxTooltipInjection> = Symbol();
|
|
11
12
|
|
|
13
|
+
export type FluxAdaptiveGroupChild = {
|
|
14
|
+
readonly priority: Ref<number>;
|
|
15
|
+
readonly desiredDefaultWidth: Ref<number>;
|
|
16
|
+
readonly desiredFallbackWidth: Ref<number>;
|
|
17
|
+
readonly isDefaultVisible: Ref<boolean>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type FluxAdaptiveGroupInjection = {
|
|
21
|
+
register(uid: number, child: FluxAdaptiveGroupChild): void;
|
|
22
|
+
unregister(uid: number): void;
|
|
23
|
+
};
|
|
24
|
+
|
|
12
25
|
export type FluxExpandableGroupInjection = {
|
|
13
26
|
closeAll(): void;
|
|
14
27
|
register(uid: number, expandable: ComponentInternalInstance): void;
|