@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.
Files changed (330) hide show
  1. package/dist/component/FluxActionBar.vue.d.ts +17 -17
  2. package/dist/component/FluxActionPane.vue.d.ts +7 -7
  3. package/dist/component/FluxActionStack.vue.d.ts +11 -15
  4. package/dist/component/{FluxAutoGrid.vue.d.ts → FluxAdaptiveGroup.vue.d.ts} +6 -3
  5. package/dist/component/FluxAdaptiveSlot.vue.d.ts +35 -0
  6. package/dist/component/FluxAspectRatio.vue.d.ts +3 -3
  7. package/dist/component/FluxBadgeStack.vue.d.ts +3 -3
  8. package/dist/component/FluxButtonGroup.vue.d.ts +3 -3
  9. package/dist/component/FluxButtonStack.vue.d.ts +3 -3
  10. package/dist/component/FluxCalendar.vue.d.ts +3 -3
  11. package/dist/component/FluxCalendarEvent.vue.d.ts +3 -3
  12. package/dist/component/FluxCheckbox.vue.d.ts +2 -1
  13. package/dist/component/FluxClickablePane.vue.d.ts +5 -5
  14. package/dist/component/FluxColorSelect.vue.d.ts +1 -0
  15. package/dist/component/{FluxPaneDeck.vue.d.ts → FluxColumn.vue.d.ts} +5 -5
  16. package/dist/component/FluxComment.vue.d.ts +3 -3
  17. package/dist/component/FluxContainer.vue.d.ts +3 -3
  18. package/dist/component/FluxDivider.vue.d.ts +5 -3
  19. package/dist/component/FluxDropZone.vue.d.ts +8 -7
  20. package/dist/component/FluxExpandableGroup.vue.d.ts +3 -3
  21. package/dist/component/FluxFader.vue.d.ts +3 -3
  22. package/dist/component/FluxFaderItem.vue.d.ts +3 -3
  23. package/dist/component/FluxFilter.vue.d.ts +3 -3
  24. package/dist/component/FluxFilterBar.vue.d.ts +3 -3
  25. package/dist/component/FluxFilterBase.vue.d.ts +4 -4
  26. package/dist/component/FluxFilterWindow.vue.d.ts +13 -17
  27. package/dist/component/FluxFlyout.vue.d.ts +19 -21
  28. package/dist/component/FluxForm.vue.d.ts +3 -3
  29. package/dist/component/FluxFormColumn.vue.d.ts +3 -3
  30. package/dist/component/FluxFormDateInput.vue.d.ts +18 -24
  31. package/dist/component/FluxFormDateRangeInput.vue.d.ts +18 -21
  32. package/dist/component/FluxFormDateTimeInput.vue.d.ts +18 -24
  33. package/dist/component/FluxFormField.vue.d.ts +7 -7
  34. package/dist/component/FluxFormGrid.vue.d.ts +3 -3
  35. package/dist/component/FluxFormInput.vue.d.ts +2 -9
  36. package/dist/component/FluxFormInputAddition.vue.d.ts +3 -3
  37. package/dist/component/FluxFormInputGroup.vue.d.ts +3 -3
  38. package/dist/component/FluxFormPinInput.vue.d.ts +2 -4
  39. package/dist/component/FluxFormRangeSlider.vue.d.ts +18 -2
  40. package/dist/component/FluxFormRow.vue.d.ts +3 -3
  41. package/dist/component/FluxFormSection.vue.d.ts +3 -3
  42. package/dist/component/FluxFormSelect.vue.d.ts +2 -4
  43. package/dist/component/FluxFormSelectAsync.vue.d.ts +2 -4
  44. package/dist/component/FluxFormSlider.vue.d.ts +11 -2
  45. package/dist/component/FluxFormTextArea.vue.d.ts +2 -6
  46. package/dist/component/FluxFormTimeZonePicker.vue.d.ts +2 -4
  47. package/dist/component/FluxFormTreeViewSelect.vue.d.ts +15 -37
  48. package/dist/component/FluxGallery.vue.d.ts +3 -3
  49. package/dist/component/FluxGrid.vue.d.ts +3 -3
  50. package/dist/component/FluxGridColumn.vue.d.ts +3 -3
  51. package/dist/component/FluxIcon.vue.d.ts +1 -0
  52. package/dist/component/FluxInfo.vue.d.ts +3 -3
  53. package/dist/component/FluxInfoStack.vue.d.ts +3 -3
  54. package/dist/component/FluxLayerPane.vue.d.ts +20 -0
  55. package/dist/component/FluxLayerPaneSecondary.vue.d.ts +20 -0
  56. package/dist/component/FluxMenu.vue.d.ts +3 -3
  57. package/dist/component/FluxMenuCollapsible.vue.d.ts +47 -0
  58. package/dist/component/FluxMenuGroup.vue.d.ts +3 -3
  59. package/dist/component/FluxMenuItem.vue.d.ts +5 -3
  60. package/dist/component/FluxMenuOptions.vue.d.ts +3 -3
  61. package/dist/component/FluxNotice.vue.d.ts +5 -5
  62. package/dist/component/FluxNoticeStack.vue.d.ts +3 -3
  63. package/dist/component/FluxOverflowBar.vue.d.ts +4 -4
  64. package/dist/component/FluxPane.vue.d.ts +5 -5
  65. package/dist/component/FluxPaneBody.vue.d.ts +3 -3
  66. package/dist/component/FluxPaneFooter.vue.d.ts +3 -3
  67. package/dist/component/FluxPaneGroup.vue.d.ts +3 -3
  68. package/dist/component/FluxPaneHeader.vue.d.ts +6 -6
  69. package/dist/component/FluxPaneIllustration.vue.d.ts +5 -5
  70. package/dist/component/FluxPressable.vue.d.ts +3 -3
  71. package/dist/component/FluxPrompt.vue.d.ts +3 -17
  72. package/dist/component/FluxRoot.vue.d.ts +3 -3
  73. package/dist/component/FluxRow.vue.d.ts +23 -0
  74. package/dist/component/FluxSegmentedControl.vue.d.ts +3 -2
  75. package/dist/component/FluxSplitButton.vue.d.ts +5 -5
  76. package/dist/component/FluxStack.vue.d.ts +3 -3
  77. package/dist/component/FluxStepper.vue.d.ts +6 -6
  78. package/dist/component/FluxStepperStep.vue.d.ts +3 -3
  79. package/dist/component/FluxTab.vue.d.ts +3 -3
  80. package/dist/component/FluxTabBar.vue.d.ts +3 -3
  81. package/dist/component/FluxTabBarItem.vue.d.ts +5 -7
  82. package/dist/component/FluxTableActions.vue.d.ts +3 -3
  83. package/dist/component/FluxTableBar.vue.d.ts +3 -3
  84. package/dist/component/FluxTableCell.vue.d.ts +5 -5
  85. package/dist/component/FluxTableHeader.vue.d.ts +3 -3
  86. package/dist/component/FluxTableRow.vue.d.ts +3 -3
  87. package/dist/component/FluxTabs.vue.d.ts +6 -6
  88. package/dist/component/FluxTagStack.vue.d.ts +3 -3
  89. package/dist/component/FluxTimeline.vue.d.ts +3 -3
  90. package/dist/component/FluxTimelineItem.vue.d.ts +3 -3
  91. package/dist/component/FluxToggle.vue.d.ts +2 -3
  92. package/dist/component/FluxToolbar.vue.d.ts +3 -3
  93. package/dist/component/FluxToolbarGroup.vue.d.ts +3 -3
  94. package/dist/component/FluxWindow.vue.d.ts +3 -3
  95. package/dist/component/index.d.ts +7 -2
  96. package/dist/component/primitive/Anchor.vue.d.ts +3 -3
  97. package/dist/component/primitive/AnchorPopup.vue.d.ts +3 -3
  98. package/dist/component/primitive/CoordinatePicker.vue.d.ts +1 -0
  99. package/dist/component/primitive/DialogLayout.vue.d.ts +28 -0
  100. package/dist/component/primitive/FilterOptionBase.vue.d.ts +2 -2
  101. package/dist/component/primitive/SelectBase.vue.d.ts +19 -37
  102. package/dist/component/primitive/SliderThumb.vue.d.ts +4 -0
  103. package/dist/component/primitive/TreeNodeRenderer.vue.d.ts +30 -0
  104. package/dist/component/primitive/index.d.ts +2 -0
  105. package/dist/composable/index.d.ts +1 -0
  106. package/dist/composable/private/index.d.ts +8 -0
  107. package/dist/composable/private/useAsyncFilterOptions.d.ts +14 -0
  108. package/dist/composable/private/useDateFlyout.d.ts +10 -0
  109. package/dist/composable/private/useDropdownPopup.d.ts +27 -0
  110. package/dist/composable/private/useFilterOption.d.ts +12 -0
  111. package/dist/composable/useAdaptiveGroupInjection.d.ts +2 -0
  112. package/dist/data/di.d.ts +11 -0
  113. package/dist/data/filter.d.ts +4 -17
  114. package/dist/data/i18n.d.ts +17 -0
  115. package/dist/data/timeZones.d.ts +3 -0
  116. package/dist/index.css +372 -331
  117. package/dist/index.d.ts +1 -1
  118. package/dist/index.js +7105 -6275
  119. package/dist/index.js.map +1 -1
  120. package/dist/transition/FluxAutoHeightTransition.vue.d.ts +5 -3
  121. package/dist/transition/FluxAutoWidthTransition.vue.d.ts +5 -3
  122. package/dist/transition/FluxBreakthroughTransition.vue.d.ts +5 -3
  123. package/dist/transition/FluxFadeTransition.vue.d.ts +5 -3
  124. package/dist/transition/FluxOverlayTransition.vue.d.ts +5 -3
  125. package/dist/transition/FluxRouteTransition.vue.d.ts +5 -3
  126. package/dist/transition/FluxSlideOverTransition.vue.d.ts +5 -3
  127. package/dist/transition/FluxTooltipTransition.vue.d.ts +5 -3
  128. package/dist/transition/FluxVerticalWindowTransition.vue.d.ts +5 -3
  129. package/dist/transition/FluxWindowTransition.vue.d.ts +5 -3
  130. package/package.json +19 -23
  131. package/src/component/FluxActionBar.vue +9 -8
  132. package/src/component/FluxActionPane.vue +4 -3
  133. package/src/component/FluxActionStack.vue +2 -2
  134. package/src/component/FluxAdaptiveGroup.vue +112 -0
  135. package/src/component/FluxAdaptiveSlot.vue +159 -0
  136. package/src/component/FluxAlert.vue +8 -17
  137. package/src/component/FluxAnimatedColors.vue +1 -1
  138. package/src/component/FluxAspectRatio.vue +2 -1
  139. package/src/component/FluxBadge.vue +5 -1
  140. package/src/component/FluxBadgeStack.vue +2 -1
  141. package/src/component/FluxButtonGroup.vue +2 -1
  142. package/src/component/FluxButtonStack.vue +2 -1
  143. package/src/component/FluxCalendar.vue +8 -1
  144. package/src/component/FluxCalendarEvent.vue +2 -1
  145. package/src/component/FluxCheckbox.vue +33 -6
  146. package/src/component/FluxChip.vue +1 -0
  147. package/src/component/FluxClickablePane.vue +3 -2
  148. package/src/component/FluxColorPicker.vue +8 -1
  149. package/src/component/FluxColorSelect.vue +25 -4
  150. package/src/component/{FluxAutoGrid.vue → FluxColumn.vue} +5 -8
  151. package/src/component/FluxComment.vue +2 -2
  152. package/src/component/FluxConfirm.vue +8 -17
  153. package/src/component/FluxContainer.vue +3 -2
  154. package/src/component/FluxDataTable.vue +3 -1
  155. package/src/component/FluxDivider.vue +7 -3
  156. package/src/component/FluxDropZone.vue +22 -8
  157. package/src/component/FluxExpandable.vue +3 -2
  158. package/src/component/FluxExpandableGroup.vue +2 -2
  159. package/src/component/FluxFader.vue +2 -2
  160. package/src/component/FluxFaderItem.vue +2 -1
  161. package/src/component/FluxFilter.vue +2 -1
  162. package/src/component/FluxFilterBar.vue +3 -2
  163. package/src/component/FluxFilterBase.vue +17 -9
  164. package/src/component/FluxFilterOption.vue +3 -14
  165. package/src/component/FluxFilterOptionAsync.vue +17 -60
  166. package/src/component/FluxFilterOptions.vue +3 -25
  167. package/src/component/FluxFilterOptionsAsync.vue +9 -73
  168. package/src/component/FluxFilterWindow.vue +1 -1
  169. package/src/component/FluxFlyout.vue +13 -11
  170. package/src/component/FluxForm.vue +2 -1
  171. package/src/component/FluxFormColumn.vue +2 -1
  172. package/src/component/FluxFormDateInput.vue +9 -22
  173. package/src/component/FluxFormDateRangeInput.vue +20 -15
  174. package/src/component/FluxFormDateTimeInput.vue +17 -20
  175. package/src/component/FluxFormField.vue +4 -4
  176. package/src/component/FluxFormGrid.vue +2 -1
  177. package/src/component/FluxFormInput.vue +11 -10
  178. package/src/component/FluxFormInputAddition.vue +2 -1
  179. package/src/component/FluxFormInputGroup.vue +3 -2
  180. package/src/component/FluxFormPinInput.vue +14 -6
  181. package/src/component/FluxFormRangeSlider.vue +12 -2
  182. package/src/component/FluxFormRow.vue +2 -1
  183. package/src/component/FluxFormSection.vue +4 -3
  184. package/src/component/FluxFormSelect.vue +11 -4
  185. package/src/component/FluxFormSelectAsync.vue +14 -8
  186. package/src/component/FluxFormSlider.vue +8 -2
  187. package/src/component/FluxFormTextArea.vue +12 -7
  188. package/src/component/FluxFormTimeZonePicker.vue +13 -626
  189. package/src/component/FluxFormTreeViewSelect.vue +51 -79
  190. package/src/component/FluxGallery.vue +2 -1
  191. package/src/component/FluxGrid.vue +3 -2
  192. package/src/component/FluxGridColumn.vue +2 -1
  193. package/src/component/FluxIcon.vue +4 -2
  194. package/src/component/FluxInfo.vue +2 -1
  195. package/src/component/FluxInfoStack.vue +3 -2
  196. package/src/component/FluxLayerPane.vue +16 -0
  197. package/src/component/FluxLayerPaneSecondary.vue +16 -0
  198. package/src/component/FluxLegend.vue +9 -9
  199. package/src/component/FluxMenu.vue +2 -2
  200. package/src/component/FluxMenuCollapsible.vue +187 -0
  201. package/src/component/FluxMenuGroup.vue +2 -1
  202. package/src/component/FluxMenuItem.vue +9 -1
  203. package/src/component/FluxMenuOptions.vue +1 -1
  204. package/src/component/FluxNotice.vue +7 -2
  205. package/src/component/FluxNoticeStack.vue +2 -1
  206. package/src/component/FluxOverflowBar.vue +3 -3
  207. package/src/component/FluxPagination.vue +1 -0
  208. package/src/component/FluxPane.vue +3 -2
  209. package/src/component/FluxPaneBody.vue +2 -1
  210. package/src/component/FluxPaneFooter.vue +2 -1
  211. package/src/component/FluxPaneGroup.vue +2 -1
  212. package/src/component/FluxPaneHeader.vue +7 -6
  213. package/src/component/FluxPaneIllustration.vue +3 -3
  214. package/src/component/FluxPaneMedia.vue +1 -1
  215. package/src/component/FluxPercentageBar.vue +3 -1
  216. package/src/component/FluxPressable.vue +2 -1
  217. package/src/component/FluxProgressBar.vue +2 -1
  218. package/src/component/FluxPrompt.vue +16 -27
  219. package/src/component/FluxRemove.vue +4 -0
  220. package/src/component/FluxRoot.vue +2 -2
  221. package/src/component/FluxRow.vue +24 -0
  222. package/src/component/FluxSegmentedControl.vue +51 -4
  223. package/src/component/FluxSnackbar.vue +36 -12
  224. package/src/component/FluxSplitButton.vue +3 -2
  225. package/src/component/FluxStack.vue +4 -3
  226. package/src/component/FluxStepper.vue +3 -3
  227. package/src/component/FluxStepperStep.vue +2 -1
  228. package/src/component/FluxTab.vue +2 -1
  229. package/src/component/FluxTabBar.vue +3 -3
  230. package/src/component/FluxTableActions.vue +2 -1
  231. package/src/component/FluxTableBar.vue +2 -1
  232. package/src/component/FluxTableCell.vue +4 -3
  233. package/src/component/FluxTableHeader.vue +4 -2
  234. package/src/component/FluxTableRow.vue +2 -1
  235. package/src/component/FluxTabs.vue +15 -6
  236. package/src/component/FluxTag.vue +5 -1
  237. package/src/component/FluxTagStack.vue +2 -1
  238. package/src/component/FluxTimeline.vue +2 -1
  239. package/src/component/FluxTimelineItem.vue +2 -1
  240. package/src/component/FluxToggle.vue +20 -5
  241. package/src/component/FluxToolbar.vue +2 -1
  242. package/src/component/FluxToolbarGroup.vue +2 -1
  243. package/src/component/FluxTooltip.vue +1 -1
  244. package/src/component/FluxTreeView.vue +9 -35
  245. package/src/component/FluxWindow.vue +2 -2
  246. package/src/component/index.ts +7 -2
  247. package/src/component/primitive/Anchor.vue +3 -1
  248. package/src/component/primitive/AnchorPopup.vue +3 -3
  249. package/src/component/primitive/CoordinatePicker.vue +2 -1
  250. package/src/component/primitive/CoordinatePickerThumb.vue +2 -0
  251. package/src/component/primitive/DialogLayout.vue +44 -0
  252. package/src/component/primitive/SelectBase.vue +22 -28
  253. package/src/component/primitive/SliderBase.vue +0 -1
  254. package/src/component/primitive/SliderThumb.vue +9 -0
  255. package/src/component/primitive/TreeNodeRenderer.vue +77 -0
  256. package/src/component/primitive/index.ts +2 -0
  257. package/src/composable/index.ts +1 -0
  258. package/src/composable/private/index.ts +8 -0
  259. package/src/composable/private/useAsyncFilterOptions.ts +70 -0
  260. package/src/composable/private/useCommandPalette.ts +1 -1
  261. package/src/composable/private/useDateFlyout.ts +34 -0
  262. package/src/composable/private/useDropdownPopup.ts +99 -0
  263. package/src/composable/private/useFilterOption.ts +59 -0
  264. package/src/composable/useAdaptiveGroupInjection.ts +6 -0
  265. package/src/css/component/Action.module.scss +2 -2
  266. package/src/css/component/AdaptiveSlot.module.scss +25 -0
  267. package/src/css/component/Avatar.module.scss +10 -11
  268. package/src/css/component/Badge.module.scss +4 -4
  269. package/src/css/component/Button.module.scss +4 -16
  270. package/src/css/component/Calendar.module.scss +4 -4
  271. package/src/css/component/Chip.module.scss +6 -10
  272. package/src/css/component/Color.module.scss +1 -1
  273. package/src/css/component/DatePicker.module.scss +1 -1
  274. package/src/css/component/Expandable.module.scss +5 -5
  275. package/src/css/component/Fader.module.scss +2 -1
  276. package/src/css/component/Flyout.module.scss +1 -1
  277. package/src/css/component/FocalPoint.module.scss +1 -1
  278. package/src/css/component/Form.module.scss +56 -10
  279. package/src/css/component/Item.module.scss +4 -4
  280. package/src/css/component/LayerPane.module.scss +40 -0
  281. package/src/css/component/Layout.module.scss +11 -4
  282. package/src/css/component/Legend.module.scss +2 -2
  283. package/src/css/component/Menu.module.scss +59 -11
  284. package/src/css/component/Notice.module.scss +7 -7
  285. package/src/css/component/Overlay.module.scss +2 -2
  286. package/src/css/component/Pane.module.scss +10 -23
  287. package/src/css/component/PercentageBar.module.scss +1 -1
  288. package/src/css/component/Remove.module.scss +1 -1
  289. package/src/css/component/SegmentedControl.module.scss +1 -0
  290. package/src/css/component/Snackbar.module.scss +1 -1
  291. package/src/css/component/Statistic.module.scss +2 -2
  292. package/src/css/component/Stepper.module.scss +1 -1
  293. package/src/css/component/Tab.module.scss +11 -15
  294. package/src/css/component/Table.module.scss +13 -13
  295. package/src/css/component/Timeline.module.scss +2 -2
  296. package/src/css/component/Toolbar.module.scss +3 -3
  297. package/src/css/component/Tooltip.module.scss +3 -4
  298. package/src/css/component/Transition.module.scss +1 -1
  299. package/src/css/component/TreeView.module.scss +2 -15
  300. package/src/css/component/TreeViewSelect.module.scss +1 -15
  301. package/src/css/component/base/Button.module.scss +6 -7
  302. package/src/css/component/base/Effect.module.scss +2 -1
  303. package/src/css/component/primitive/Slider.module.scss +6 -7
  304. package/src/css/component/primitive/TreeNode.module.scss +19 -0
  305. package/src/css/mixin/button-active.scss +6 -0
  306. package/src/css/mixin/focus-ring.scss +1 -1
  307. package/src/css/mixin/index.scss +1 -0
  308. package/src/css/typography.scss +3 -2
  309. package/src/css/variables.scss +7 -2
  310. package/src/data/di.ts +13 -0
  311. package/src/data/filter.ts +24 -28
  312. package/src/data/i18n.ts +17 -0
  313. package/src/data/store.ts +46 -11
  314. package/src/data/timeZones.ts +619 -0
  315. package/src/index.ts +2 -0
  316. package/src/transition/FluxAutoHeightTransition.vue +5 -0
  317. package/src/transition/FluxAutoWidthTransition.vue +5 -0
  318. package/src/transition/FluxBreakthroughTransition.vue +5 -0
  319. package/src/transition/FluxFadeTransition.vue +5 -0
  320. package/src/transition/FluxOverlayTransition.vue +5 -0
  321. package/src/transition/FluxRouteTransition.vue +5 -0
  322. package/src/transition/FluxSlideOverTransition.vue +5 -0
  323. package/src/transition/FluxTooltipTransition.vue +5 -0
  324. package/src/transition/FluxVerticalWindowTransition.vue +5 -0
  325. package/src/transition/FluxWindowTransition.vue +5 -0
  326. package/dist/0db98648.svg +0 -3
  327. package/src/component/FluxPaneDeck.vue +0 -24
  328. package/src/css/component/base/Grid.module.scss +0 -8
  329. package/src/image/avatar-mask.svg +0 -3
  330. 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: 21px 21px 0;
43
+ padding: 18px 18px 0;
44
44
  gap: 15px;
45
45
 
46
46
  &:only-child {
47
- padding: 21px;
47
+ padding: 18px;
48
48
  }
49
49
 
50
50
  &:has(+ .basePaneElement:not(.paneBody)) {
51
- padding: 21px;
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: 21px;
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: 21px;
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: 21px;
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
  }
@@ -7,7 +7,7 @@
7
7
  .percentageBarSegment {
8
8
  height: 12px;
9
9
  border-radius: calc(var(--radius) / 3);
10
- transition: 180ms var(--swift-out);
10
+ transition: var(--transition-default);
11
11
  transition-property: height, margin, flex-grow;
12
12
 
13
13
  &:hover {
@@ -11,7 +11,7 @@
11
11
  justify-content: center;
12
12
  background: var(--danger-600);
13
13
  border: 3px solid var(--surface);
14
- border-radius: 99px;
14
+ border-radius: var(--radius-full);
15
15
  color: var(--danger-25);
16
16
  cursor: pointer;
17
17
  transition: 300ms var(--swift-out);
@@ -33,6 +33,7 @@
33
33
  pointer-events: none;
34
34
  transition: 300ms var(--swift-out);
35
35
  transition-property: left, width;
36
+ translate: -1px 0;
36
37
  }
37
38
 
38
39
  .segmentedControlItem {
@@ -70,7 +70,7 @@
70
70
  font-weight: 500;
71
71
  outline: 0;
72
72
  text-align: center;
73
- transition: 180ms var(--swift-out);
73
+ transition: var(--transition-default);
74
74
  transition-property: background, color;
75
75
 
76
76
  &:hover {
@@ -1,8 +1,8 @@
1
1
  .statistic {
2
- padding: 21px;
2
+ padding: 18px;
3
3
  flex-basis: 0;
4
4
  flex-grow: 1;
5
- gap: 21px;
5
+ gap: 18px;
6
6
  }
7
7
 
8
8
  .statisticChange {
@@ -50,7 +50,7 @@
50
50
  justify-content: center;
51
51
  background: var(--gray-100);
52
52
  border: 0;
53
- border-radius: 99px;
53
+ border-radius: var(--radius-full);
54
54
  color: var(--foreground);
55
55
  cursor: default;
56
56
  font-size: 14px;
@@ -26,13 +26,11 @@
26
26
  color: var(--foreground);
27
27
  cursor: pointer;
28
28
  outline: 0;
29
- transition: background 180ms var(--swift-out);
29
+ transition: background var(--transition-default);
30
30
  z-index: 1;
31
31
 
32
- @media (hover: hover) {
33
- &:hover {
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: flex-end;
62
- gap: 30px;
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: 180ms var(--swift-out);
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: 180ms var(--swift-out) mixin.focus-ring-transition-properties();
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
- @media (hover: hover) {
107
- &:hover {
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: 21px;
144
- padding-right: 21px;
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
- 0 0 24px var(--gray-50),
131
- 0 0 24px var(--gray-50),
132
- 0 0 24px var(--gray-50),
133
- 0 0 24px var(--gray-50),
134
- 0 0 24px var(--gray-50);
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
- @media (hover: hover) {
175
- &:hover {
176
- background: var(--gray-100);
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: 21px;
183
+ padding-left: 18px;
184
184
  }
185
185
 
186
186
  .basePaneStructure > .table .tableCell:last-child .tableCellContent {
187
- padding-right: 21px;
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 21px;
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: 99px;
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: 99px;
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: 21px;
47
+ right: 18px;
48
48
  }
49
49
 
50
50
  &.isTopStart,
51
51
  &.isBottomStart {
52
- left: 21px;
52
+ left: 18px;
53
53
  }
54
54
  }
55
55
 
@@ -81,5 +81,5 @@
81
81
  }
82
82
 
83
83
  .paneHeader + .toolbarFlat {
84
- margin-top: 21px;
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: rgb(from var(--gray-950) r g b / .9);
10
- backdrop-filter: blur(6px) saturate(180%);
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
- background: rgb(0 0 0 / .9);
39
- color: white;
38
+ color: var(--gray-700);
40
39
  }
41
40
 
42
41
  .tooltipAbove {
@@ -32,7 +32,7 @@
32
32
 
33
33
  .fadeTransitionEnterActive,
34
34
  .fadeTransitionLeaveActive {
35
- transition: opacity 180ms var(--swift-out) !important;
35
+ transition: opacity var(--transition-default) !important;
36
36
  }
37
37
 
38
38
  .fadeTransitionEnterFrom,
@@ -7,20 +7,9 @@
7
7
  }
8
8
 
9
9
  .treeNode {
10
- display: flex;
11
- width: 100%;
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
- display: flex;
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: 180ms var(--swift-out);
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: 20px;
67
+ font-size: 18px;
69
68
 
70
69
  &:only-child {
71
- margin-left: -2px;
72
- margin-right: -2px;
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
- $-shadow-list: $-shadow-list, $-xs $-ys 0 $-spread-r hsl(($i + $j) * $-group-base-angle, 100%, 75%);
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: 99px;
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
- @media (hover: hover) {
38
- &:hover {
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: 99px;
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();
@@ -0,0 +1,6 @@
1
+ @mixin button-active($background) {
2
+ &:active {
3
+ background: $background;
4
+ scale: .9875;
5
+ }
6
+ }
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  @mixin focus-ring-transition($offset: 0, $within: false) {
48
- transition: 180ms var(--swift-out);
48
+ transition: var(--transition-default);
49
49
  transition-property: focus-ring-transition-properties();
50
50
 
51
51
  @include focus-ring($offset, $within);
@@ -1,4 +1,5 @@
1
1
  @forward 'breakpoints';
2
+ @forward 'button-active';
2
3
  @forward 'focus-ring';
3
4
  @forward 'hover';
4
5
  @forward 'tree-node';
@@ -1,6 +1,6 @@
1
1
  @layer flux-base {
2
2
  h1, h2, h3, h4, h5, h6 {
3
- font-weight: 700;
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: var(--primary-400);
39
+ text-decoration-color: currentColor;
39
40
  text-decoration-skip: auto;
40
41
  text-decoration-thickness: 1px;
41
42
  text-underline-offset: 2px;
@@ -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
- --background: var(--gray-50);
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 / .3);
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;