@flux-ui/components 3.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/README.md +45 -0
  2. package/package.json +77 -0
  3. package/src/component/FluxAction.vue +27 -0
  4. package/src/component/FluxActionBar.vue +94 -0
  5. package/src/component/FluxActionPane.vue +40 -0
  6. package/src/component/FluxActions.vue +27 -0
  7. package/src/component/FluxAlert.vue +37 -0
  8. package/src/component/FluxAnimatedColors.vue +141 -0
  9. package/src/component/FluxAspectRatio.vue +21 -0
  10. package/src/component/FluxAutoGrid.vue +27 -0
  11. package/src/component/FluxAvatar.vue +119 -0
  12. package/src/component/FluxBadge.vue +84 -0
  13. package/src/component/FluxBadgeStack.vue +18 -0
  14. package/src/component/FluxBorderShine.vue +36 -0
  15. package/src/component/FluxBoxedIcon.vue +36 -0
  16. package/src/component/FluxButton.vue +110 -0
  17. package/src/component/FluxButtonGroup.vue +15 -0
  18. package/src/component/FluxButtonStack.vue +28 -0
  19. package/src/component/FluxCalendar.vue +254 -0
  20. package/src/component/FluxCalendarEvent.vue +41 -0
  21. package/src/component/FluxCheckbox.vue +60 -0
  22. package/src/component/FluxChip.vue +57 -0
  23. package/src/component/FluxClickablePane.vue +61 -0
  24. package/src/component/FluxColorPicker.vue +265 -0
  25. package/src/component/FluxColorSelect.vue +81 -0
  26. package/src/component/FluxComment.vue +71 -0
  27. package/src/component/FluxConfirm.vue +42 -0
  28. package/src/component/FluxContainer.vue +23 -0
  29. package/src/component/FluxDataTable.vue +96 -0
  30. package/src/component/FluxDatePicker.vue +353 -0
  31. package/src/component/FluxDestructiveButton.vue +28 -0
  32. package/src/component/FluxDisabled.vue +22 -0
  33. package/src/component/FluxDivider.vue +37 -0
  34. package/src/component/FluxDotPattern.vue +72 -0
  35. package/src/component/FluxDropZone.vue +202 -0
  36. package/src/component/FluxDynamicView.vue +16 -0
  37. package/src/component/FluxExpandable.vue +119 -0
  38. package/src/component/FluxExpandableGroup.vue +53 -0
  39. package/src/component/FluxFader.vue +64 -0
  40. package/src/component/FluxFaderItem.vue +15 -0
  41. package/src/component/FluxFilter.vue +133 -0
  42. package/src/component/FluxFilterDate.vue +58 -0
  43. package/src/component/FluxFilterDateRange.vue +59 -0
  44. package/src/component/FluxFilterOption.vue +49 -0
  45. package/src/component/FluxFilterOptionAsync.vue +103 -0
  46. package/src/component/FluxFilterOptions.vue +62 -0
  47. package/src/component/FluxFilterOptionsAsync.vue +113 -0
  48. package/src/component/FluxFilterRange.vue +91 -0
  49. package/src/component/FluxFlickeringGrid.vue +141 -0
  50. package/src/component/FluxFlyout.vue +205 -0
  51. package/src/component/FluxFocalPointEditor.vue +137 -0
  52. package/src/component/FluxFocalPointImage.vue +29 -0
  53. package/src/component/FluxForm.vue +35 -0
  54. package/src/component/FluxFormColumn.vue +15 -0
  55. package/src/component/FluxFormDateInput.vue +92 -0
  56. package/src/component/FluxFormDateRangeInput.vue +87 -0
  57. package/src/component/FluxFormDateTimeInput.vue +120 -0
  58. package/src/component/FluxFormField.vue +98 -0
  59. package/src/component/FluxFormFieldAddition.vue +37 -0
  60. package/src/component/FluxFormInput.vue +223 -0
  61. package/src/component/FluxFormInputAddition.vue +31 -0
  62. package/src/component/FluxFormInputGroup.vue +25 -0
  63. package/src/component/FluxFormPinInput.vue +135 -0
  64. package/src/component/FluxFormRangeSlider.vue +179 -0
  65. package/src/component/FluxFormRow.vue +15 -0
  66. package/src/component/FluxFormSection.vue +23 -0
  67. package/src/component/FluxFormSelect.vue +59 -0
  68. package/src/component/FluxFormSelectAsync.vue +118 -0
  69. package/src/component/FluxFormSlider.vue +123 -0
  70. package/src/component/FluxFormTextArea.vue +53 -0
  71. package/src/component/FluxFormTimeZonePicker.vue +713 -0
  72. package/src/component/FluxGallery.vue +99 -0
  73. package/src/component/FluxGalleryItem.vue +49 -0
  74. package/src/component/FluxGrid.vue +28 -0
  75. package/src/component/FluxGridColumn.vue +31 -0
  76. package/src/component/FluxGridPattern.vue +60 -0
  77. package/src/component/FluxIcon.vue +79 -0
  78. package/src/component/FluxInfo.vue +28 -0
  79. package/src/component/FluxInfoStack.vue +17 -0
  80. package/src/component/FluxLegend.vue +27 -0
  81. package/src/component/FluxLink.vue +35 -0
  82. package/src/component/FluxMenu.vue +31 -0
  83. package/src/component/FluxMenuGroup.vue +21 -0
  84. package/src/component/FluxMenuItem.vue +84 -0
  85. package/src/component/FluxMenuOptions.vue +38 -0
  86. package/src/component/FluxMenuSubHeader.vue +33 -0
  87. package/src/component/FluxMenuTitle.vue +17 -0
  88. package/src/component/FluxNotice.vue +79 -0
  89. package/src/component/FluxNoticeStack.vue +17 -0
  90. package/src/component/FluxOverlay.vue +31 -0
  91. package/src/component/FluxPagination.vue +148 -0
  92. package/src/component/FluxPaginationBar.vue +81 -0
  93. package/src/component/FluxPane.vue +45 -0
  94. package/src/component/FluxPaneBody.vue +15 -0
  95. package/src/component/FluxPaneDeck.vue +24 -0
  96. package/src/component/FluxPaneFooter.vue +15 -0
  97. package/src/component/FluxPaneGroup.vue +15 -0
  98. package/src/component/FluxPaneHeader.vue +44 -0
  99. package/src/component/FluxPaneIllustration.vue +68 -0
  100. package/src/component/FluxPaneMedia.vue +31 -0
  101. package/src/component/FluxPercentageBar.vue +45 -0
  102. package/src/component/FluxPersona.vue +48 -0
  103. package/src/component/FluxPlaceholder.vue +56 -0
  104. package/src/component/FluxPressable.vue +77 -0
  105. package/src/component/FluxPrimaryButton.vue +28 -0
  106. package/src/component/FluxProgressBar.vue +75 -0
  107. package/src/component/FluxPrompt.vue +77 -0
  108. package/src/component/FluxPublishButton.vue +59 -0
  109. package/src/component/FluxQuantitySelector.vue +109 -0
  110. package/src/component/FluxRemove.vue +34 -0
  111. package/src/component/FluxRoot.vue +60 -0
  112. package/src/component/FluxSecondaryButton.vue +28 -0
  113. package/src/component/FluxSegmentedControl.vue +77 -0
  114. package/src/component/FluxSegmentedView.vue +15 -0
  115. package/src/component/FluxSeparator.vue +19 -0
  116. package/src/component/FluxSlideOver.vue +25 -0
  117. package/src/component/FluxSnackbar.vue +154 -0
  118. package/src/component/FluxSnackbarProvider.vue +34 -0
  119. package/src/component/FluxSpacer.vue +9 -0
  120. package/src/component/FluxSpacing.vue +32 -0
  121. package/src/component/FluxSpinner.vue +48 -0
  122. package/src/component/FluxSplitButton.vue +61 -0
  123. package/src/component/FluxStack.vue +40 -0
  124. package/src/component/FluxStatistic.vue +68 -0
  125. package/src/component/FluxStepper.vue +69 -0
  126. package/src/component/FluxStepperStep.vue +15 -0
  127. package/src/component/FluxStepperSteps.vue +62 -0
  128. package/src/component/FluxTab.vue +23 -0
  129. package/src/component/FluxTabBar.vue +87 -0
  130. package/src/component/FluxTabBarItem.vue +104 -0
  131. package/src/component/FluxTable.vue +68 -0
  132. package/src/component/FluxTableActions.vue +16 -0
  133. package/src/component/FluxTableCell.vue +47 -0
  134. package/src/component/FluxTableHeader.vue +111 -0
  135. package/src/component/FluxTableRow.vue +15 -0
  136. package/src/component/FluxTabs.vue +91 -0
  137. package/src/component/FluxTag.vue +85 -0
  138. package/src/component/FluxTagStack.vue +18 -0
  139. package/src/component/FluxTicks.vue +44 -0
  140. package/src/component/FluxTimeline.vue +17 -0
  141. package/src/component/FluxTimelineItem.vue +73 -0
  142. package/src/component/FluxToggle.vue +64 -0
  143. package/src/component/FluxToolbar.vue +32 -0
  144. package/src/component/FluxToolbarGroup.vue +18 -0
  145. package/src/component/FluxTooltip.vue +56 -0
  146. package/src/component/FluxTooltipProvider.vue +176 -0
  147. package/src/component/FluxWindow.vue +47 -0
  148. package/src/component/index.ts +142 -0
  149. package/src/component/primitive/Anchor.vue +17 -0
  150. package/src/component/primitive/AnchorPopup.vue +194 -0
  151. package/src/component/primitive/CoordinatePicker.vue +155 -0
  152. package/src/component/primitive/CoordinatePickerThumb.vue +71 -0
  153. package/src/component/primitive/FilterItem.vue +44 -0
  154. package/src/component/primitive/FilterMenuRenderer.ts +233 -0
  155. package/src/component/primitive/FilterOptionBase.vue +67 -0
  156. package/src/component/primitive/SelectBase.vue +340 -0
  157. package/src/component/primitive/SliderBase.vue +89 -0
  158. package/src/component/primitive/SliderThumb.vue +64 -0
  159. package/src/component/primitive/SliderTrack.vue +22 -0
  160. package/src/component/primitive/VNodeRenderer.ts +11 -0
  161. package/src/component/primitive/index.ts +10 -0
  162. package/src/composable/index.ts +9 -0
  163. package/src/composable/private/index.ts +3 -0
  164. package/src/composable/private/useFormSelect.ts +66 -0
  165. package/src/composable/private/useLoaded.ts +21 -0
  166. package/src/composable/private/useTranslate.ts +35 -0
  167. package/src/composable/useBreakpoints.ts +54 -0
  168. package/src/composable/useDisabled.ts +9 -0
  169. package/src/composable/useDisabledInjection.ts +6 -0
  170. package/src/composable/useExpandableGroupInjection.ts +10 -0
  171. package/src/composable/useFilterInjection.ts +22 -0
  172. package/src/composable/useFlyoutInjection.ts +10 -0
  173. package/src/composable/useFormFieldInjection.ts +8 -0
  174. package/src/composable/useTableInjection.ts +11 -0
  175. package/src/css/base.scss +33 -0
  176. package/src/css/component/Action.module.scss +107 -0
  177. package/src/css/component/Avatar.module.scss +177 -0
  178. package/src/css/component/Badge.module.scss +189 -0
  179. package/src/css/component/Button.module.scss +293 -0
  180. package/src/css/component/Calendar.module.scss +171 -0
  181. package/src/css/component/Chip.module.scss +58 -0
  182. package/src/css/component/Color.module.scss +184 -0
  183. package/src/css/component/Comment.module.scss +123 -0
  184. package/src/css/component/DatePicker.module.scss +193 -0
  185. package/src/css/component/Divider.module.scss +79 -0
  186. package/src/css/component/DropZone.module.scss +99 -0
  187. package/src/css/component/Expandable.module.scss +112 -0
  188. package/src/css/component/Fader.module.scss +38 -0
  189. package/src/css/component/Filter.module.scss +80 -0
  190. package/src/css/component/Flyout.module.scss +63 -0
  191. package/src/css/component/FocalPoint.module.scss +84 -0
  192. package/src/css/component/Form.module.scss +812 -0
  193. package/src/css/component/Gallery.module.scss +64 -0
  194. package/src/css/component/Grid.module.scss +24 -0
  195. package/src/css/component/Icon.module.scss +104 -0
  196. package/src/css/component/Info.module.scss +15 -0
  197. package/src/css/component/Layout.module.scss +63 -0
  198. package/src/css/component/Legend.module.scss +32 -0
  199. package/src/css/component/Menu.module.scss +314 -0
  200. package/src/css/component/Notice.module.scss +279 -0
  201. package/src/css/component/Overlay.module.scss +149 -0
  202. package/src/css/component/Pagination.module.scss +59 -0
  203. package/src/css/component/Pane.module.scss +218 -0
  204. package/src/css/component/PercentageBar.module.scss +31 -0
  205. package/src/css/component/Placeholder.module.scss +72 -0
  206. package/src/css/component/Progress.module.scss +84 -0
  207. package/src/css/component/Remove.module.scss +29 -0
  208. package/src/css/component/Root.module.scss +8 -0
  209. package/src/css/component/SegmentedControl.module.scss +82 -0
  210. package/src/css/component/Snackbar.module.scss +227 -0
  211. package/src/css/component/Spinner.module.scss +36 -0
  212. package/src/css/component/Statistic.module.scss +118 -0
  213. package/src/css/component/Stepper.module.scss +103 -0
  214. package/src/css/component/Tab.module.scss +162 -0
  215. package/src/css/component/Table.module.scss +164 -0
  216. package/src/css/component/Timeline.module.scss +173 -0
  217. package/src/css/component/Toolbar.module.scss +82 -0
  218. package/src/css/component/Tooltip.module.scss +62 -0
  219. package/src/css/component/Transition.module.scss +142 -0
  220. package/src/css/component/Visual.module.scss +70 -0
  221. package/src/css/component/base/Button.module.scss +87 -0
  222. package/src/css/component/base/Effect.module.scss +139 -0
  223. package/src/css/component/base/Grid.module.scss +8 -0
  224. package/src/css/component/base/Pane.module.scss +54 -0
  225. package/src/css/component/primitive/CoordinatePicker.module.scss +24 -0
  226. package/src/css/component/primitive/Slider.module.scss +116 -0
  227. package/src/css/index.scss +5 -0
  228. package/src/css/layers.scss +1 -0
  229. package/src/css/mixin/breakpoints.scss +112 -0
  230. package/src/css/mixin/focus-ring.scss +56 -0
  231. package/src/css/mixin/hover.scss +7 -0
  232. package/src/css/mixin/index.scss +3 -0
  233. package/src/css/reset.scss +169 -0
  234. package/src/css/typography.scss +87 -0
  235. package/src/css/variables.scss +214 -0
  236. package/src/data/di.ts +42 -0
  237. package/src/data/filter.ts +9 -0
  238. package/src/data/helper.ts +9 -0
  239. package/src/data/i18n.ts +55 -0
  240. package/src/data/iconRegistry.ts +21 -0
  241. package/src/data/index.ts +8 -0
  242. package/src/data/inputMask.ts +34 -0
  243. package/src/data/store.ts +233 -0
  244. package/src/image/avatar-mask.svg +3 -0
  245. package/src/index.ts +25 -0
  246. package/src/transition/FluxAutoHeightTransition.vue +59 -0
  247. package/src/transition/FluxAutoWidthTransition.vue +59 -0
  248. package/src/transition/FluxBreakthroughTransition.vue +23 -0
  249. package/src/transition/FluxFadeTransition.vue +24 -0
  250. package/src/transition/FluxOverlayTransition.vue +22 -0
  251. package/src/transition/FluxRouteTransition.vue +23 -0
  252. package/src/transition/FluxSlideOverTransition.vue +22 -0
  253. package/src/transition/FluxTooltipTransition.vue +22 -0
  254. package/src/transition/FluxVerticalWindowTransition.vue +23 -0
  255. package/src/transition/FluxWindowTransition.vue +23 -0
  256. package/src/transition/index.ts +10 -0
  257. package/src/util/createDialogRenderer.ts +64 -0
  258. package/src/util/createLabelForDateRange.ts +61 -0
  259. package/src/util/index.ts +2 -0
  260. package/src/vite.d.ts +13 -0
  261. package/tsconfig.json +45 -0
@@ -0,0 +1,79 @@
1
+ .divider {
2
+ position: relative;
3
+ display: grid;
4
+ contain: paint;
5
+ margin-top: 18px;
6
+ margin-bottom: 18px;
7
+ align-items: center;
8
+ flex-shrink: 0;
9
+ }
10
+
11
+ .dividerContentStart {
12
+ composes: divider;
13
+
14
+ justify-items: start;
15
+ }
16
+
17
+ .dividerContentCenter {
18
+ composes: divider;
19
+
20
+ justify-items: center;
21
+ }
22
+
23
+ .dividerContentEnd {
24
+ composes: divider;
25
+
26
+ justify-items: end;
27
+ }
28
+
29
+ .dividerContent {
30
+ position: relative;
31
+ display: flex;
32
+
33
+ &::before,
34
+ &::after {
35
+ position: absolute;
36
+ display: block;
37
+ top: 50%;
38
+ translate: 0 -50%;
39
+ }
40
+
41
+ &::before {
42
+ left: -100dvh;
43
+ right: calc(100% + 15px);
44
+ }
45
+
46
+ &::after {
47
+ left: calc(100% + 15px);
48
+ right: -100dvh;
49
+ }
50
+ }
51
+
52
+ .dividerLine {
53
+ width: 100%;
54
+ border: 0;
55
+ }
56
+
57
+ .dividerContent::before,
58
+ .dividerContent::after,
59
+ .dividerLine {
60
+ height: 1px;
61
+ content: '';
62
+ background: rgb(var(--gray-2));
63
+ }
64
+
65
+ .separator {
66
+ background: rgb(var(--gray-2));
67
+ }
68
+
69
+ .separatorHorizontal {
70
+ composes: separator;
71
+
72
+ height: 1px;
73
+ }
74
+
75
+ .separatorVertical {
76
+ composes: separator;
77
+
78
+ width: 1px;
79
+ }
@@ -0,0 +1,99 @@
1
+ .dropZone {
2
+ display: grid;
3
+ align-items: center;
4
+ gap: 15px 30px;
5
+ grid-template-columns: 1fr;
6
+
7
+ &:has(> .dropZoneActions) {
8
+ grid-template-columns: auto 1fr;
9
+ }
10
+ }
11
+
12
+ .dropZoneActions {
13
+ display: flex;
14
+ flex-flow: column;
15
+ gap: 15px;
16
+ }
17
+
18
+ .dropZoneBorder {
19
+ position: absolute;
20
+ inset: var(--dz-inset);
21
+ height: var(--dz-height);
22
+ width: var(--dz-width);
23
+ overflow: visible;
24
+ pointer-events: none;
25
+
26
+ :global(rect) {
27
+ fill: var(--dz-fill);
28
+ rx: var(--dz-radius);
29
+ stroke: var(--dz-stroke);
30
+ stroke-dasharray: 6px 6px;
31
+ stroke-width: 2px;
32
+ transition: 270ms var(--swift-out);
33
+ transition-property: fill, stroke;
34
+ }
35
+ }
36
+
37
+ .dropZoneContent {
38
+ --dz-fill: transparent;
39
+ --dz-stroke: transparent;
40
+ --dz-inset: -1px;
41
+ --dz-radius: var(--radius);
42
+ --dz-height: calc(100% + 2px);
43
+ --dz-width: calc(100% + 2px);
44
+
45
+ position: relative;
46
+
47
+ &:has(.avatar) {
48
+ --dz-inset: -3px;
49
+ --dz-radius: 999px;
50
+ --dz-height: calc(100% + 6px);
51
+ --dz-width: calc(100% + 6px);
52
+ }
53
+
54
+ &:has(.placeholder) {
55
+ --dz-fill: rgb(var(--gray-1));
56
+ --dz-stroke: rgb(var(--gray-3));
57
+ }
58
+
59
+ :local(.avatar) {
60
+ display: block;
61
+ }
62
+
63
+ :local(.placeholder) {
64
+ background: transparent;
65
+ border: 0;
66
+ }
67
+ }
68
+
69
+ .isDragging .dropZoneContent {
70
+ --dz-stroke: rgb(var(--primary-7));
71
+ }
72
+
73
+ .isDraggingOver .dropZoneContent {
74
+ &:has(.placeholder) {
75
+ --dz-fill: rgb(var(--primary-2));
76
+ }
77
+
78
+ .dropZoneBorder rect {
79
+ animation: dropZoneBorderAnimation 480ms linear infinite both;
80
+ }
81
+ }
82
+
83
+ .dropZoneLoader {
84
+ position: absolute;
85
+ display: flex;
86
+ inset: var(--dz-inset);
87
+ align-items: center;
88
+ justify-content: center;
89
+ background: rgb(var(--gray-1) / .84);
90
+ backdrop-filter: blur(3px) saturate(180%);
91
+ border-radius: var(--dz-radius);
92
+ z-index: 100;
93
+ }
94
+
95
+ @keyframes dropZoneBorderAnimation {
96
+ to {
97
+ stroke-dashoffset: -12px;
98
+ }
99
+ }
@@ -0,0 +1,112 @@
1
+ @use '$flux/css/mixin';
2
+
3
+ @value basePane from './base/Pane.module.scss';
4
+
5
+ .expandable {
6
+ display: flex;
7
+ flex-flow: column;
8
+ }
9
+
10
+ .expandableOpened {
11
+ composes: expandable;
12
+ }
13
+
14
+ .expandableHeader {
15
+ display: flex;
16
+ height: 60px;
17
+ padding-left: 21px;
18
+ padding-right: 21px;
19
+ align-items: center;
20
+ gap: 12px;
21
+ background: unset;
22
+ border: 0;
23
+ color: var(--foreground-prominent);
24
+ cursor: pointer;
25
+ text-align: left;
26
+ transition: background 180ms var(--swift-out);
27
+ transition-property: background, mixin.focus-ring-transition-properties();
28
+ z-index: 1;
29
+
30
+ @include mixin.focus-ring();
31
+
32
+ @include mixin.hover {
33
+ background: rgb(var(--gray-1));
34
+ }
35
+
36
+ :is(span) {
37
+ flex-grow: 1;
38
+ font-weight: 600;
39
+ }
40
+
41
+ :local(.icon):last-child {
42
+ color: var(--foreground-secondary);
43
+ }
44
+ }
45
+
46
+ .expandableBody {
47
+ transition: height 390ms var(--swift-out), translate 300ms var(--swift-out) 120ms, opacity 300ms var(--swift-out) 120ms;
48
+
49
+ &:global(.v-enter-from),
50
+ &:global(.v-leave-to) {
51
+ opacity: 0;
52
+ translate: 0 -15px;
53
+ }
54
+
55
+ &:global(.v-enter-to),
56
+ &:global(.v-leave-from) {
57
+ opacity: 1;
58
+ }
59
+
60
+ &:global(.v-leave-active) {
61
+ transition-delay: 0s;
62
+ }
63
+
64
+ &:global(.v-enter-active),
65
+ &:global(.v-leave-active) {
66
+ overflow: hidden;
67
+ }
68
+ }
69
+
70
+ .expandableContent {
71
+ padding: 0 21px 21px;
72
+ }
73
+
74
+ :local(.basePane) > .expandable {
75
+ border-radius: inherit;
76
+ }
77
+
78
+ :local(.basePane) > .expandable .expandableHeader {
79
+ border-radius: inherit;
80
+ }
81
+
82
+ :local(.basePane) > .expandableOpened .expandableHeader {
83
+ border-bottom-left-radius: 0;
84
+ border-bottom-right-radius: 0;
85
+ }
86
+
87
+ .expandableGroup {
88
+ display: flex;
89
+ flex-flow: column;
90
+
91
+ .expandable + .expandable {
92
+ border-top: 1px solid rgb(var(--gray-2));
93
+ }
94
+
95
+ &:not(:first-child) {
96
+ border-top: 1px solid rgb(var(--gray-2));
97
+ }
98
+
99
+ &:not(:last-child) {
100
+ border-bottom: 1px solid rgb(var(--gray-2));
101
+ }
102
+ }
103
+
104
+ :local(.basePane) > .expandableGroup:first-child .expandable:first-child .expandableHeader {
105
+ border-top-left-radius: var(--radius);
106
+ border-top-right-radius: var(--radius);
107
+ }
108
+
109
+ :local(.basePane) > .expandableGroup:last-child .expandable:not(.expandableOpened):last-child .expandableHeader {
110
+ border-bottom-left-radius: var(--radius);
111
+ border-bottom-right-radius: var(--radius);
112
+ }
@@ -0,0 +1,38 @@
1
+ .fader {
2
+ position: relative;
3
+ background: black;
4
+ border-radius: inherit;
5
+ contain: paint;
6
+ z-index: 0;
7
+ }
8
+
9
+ .faderItem {
10
+ position: absolute;
11
+ display: block;
12
+ inset: 0;
13
+ transition: 660ms var(--deceleration-curve);
14
+
15
+ &.isCurrent {}
16
+
17
+ &:not(.isCurrent) {
18
+ opacity: 0;
19
+ pointer-events: none;
20
+ scale: 1.05;
21
+ transition-delay: 90ms;
22
+ z-index: 1;
23
+ }
24
+
25
+ :is(img) {
26
+ position: absolute;
27
+ display: block;
28
+ inset: 0;
29
+ height: 100%;
30
+ width: 100%;
31
+ border-radius: 0;
32
+
33
+ &:not(.focalPointImage) {
34
+ object-fit: cover;
35
+ object-position: center;
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,80 @@
1
+ @value basePaneStructure from './base/Pane.module.scss';
2
+
3
+ .filter {
4
+ max-height: 50dvh;
5
+ max-width: 100%;
6
+ padding: 9px;
7
+ width: 330px;
8
+ overflow: auto;
9
+ scrollbar-width: none;
10
+ transition: height 150ms var(--deceleration-curve);
11
+ z-index: 0;
12
+
13
+ &::-webkit-scrollbar {
14
+ display: none;
15
+ height: 0;
16
+ width: 0;
17
+ }
18
+
19
+ .menu {
20
+ > :where(.divider, .separator) {
21
+ margin: 3px -9px;
22
+ }
23
+
24
+ > .menuGroup > .menuSubHeader {
25
+ top: 51px;
26
+ }
27
+
28
+ > .menuGroup:has(.filterSearch) > .menuSubHeader {
29
+ top: 105px;
30
+ }
31
+
32
+ .menuItemLabel {
33
+ min-width: 0;
34
+ overflow: hidden;
35
+ text-overflow: ellipsis;
36
+ white-space: nowrap;
37
+ }
38
+ }
39
+
40
+ .paneBody {
41
+ margin: -9px;
42
+ }
43
+ }
44
+
45
+ .filterHeader {
46
+ position: sticky;
47
+ margin: -9px -9px 3px;
48
+ padding: 9px;
49
+ top: -9px;
50
+ background: rgb(var(--gray-0));
51
+ border-bottom: 1px solid rgb(var(--gray-2));
52
+ z-index: 2;
53
+
54
+ &:first-child {
55
+ border-top-left-radius: var(--radius);
56
+ border-top-right-radius: var(--radius);
57
+ }
58
+ }
59
+
60
+ .filterBack {
61
+ flex-grow: 1;
62
+ }
63
+
64
+ .filterReset {
65
+ width: 42px;
66
+ justify-content: center;
67
+ }
68
+
69
+ .filterDatePicker {
70
+ margin: -9px;
71
+ }
72
+
73
+ .filterSearch {
74
+ position: sticky;
75
+ top: 52px;
76
+ margin: -9px -9px 0;
77
+ padding: 9px;
78
+ background: linear-gradient(to bottom, rgb(var(--gray-0)) 75%, transparent);
79
+ z-index: 1;
80
+ }
@@ -0,0 +1,63 @@
1
+ .flyout {
2
+ display: contents;
3
+ }
4
+
5
+ .flyoutDialog {
6
+ top: var(--pane-y);
7
+ left: var(--pane-x);
8
+ margin: 0;
9
+ padding: 12px;
10
+ background: unset;
11
+ border: 0;
12
+ font-size: 1rem;
13
+
14
+ &::backdrop {
15
+ background: unset;
16
+ }
17
+ }
18
+
19
+ .flyoutPane {
20
+ max-height: calc(100dvh - 120px);
21
+ box-shadow: var(--shadow-md);
22
+ overflow: auto;
23
+ transform: translate3d(var(--pane-mx), var(--pane-my), 0);
24
+
25
+ &.isAutoWidth {
26
+ width: var(--opener-width);
27
+ }
28
+
29
+ &.isClosing {
30
+ animation: close 210ms var(--swift-out) both;
31
+ }
32
+
33
+ &.isOpening {
34
+ animation: open 210ms var(--deceleration-curve) both;
35
+ }
36
+ }
37
+
38
+ @keyframes close {
39
+ to {
40
+ opacity: 0;
41
+ }
42
+ }
43
+
44
+ @keyframes open {
45
+ from {
46
+ opacity: 0;
47
+ transform: translate3d(0, 0, 0)
48
+ }
49
+ }
50
+
51
+ @keyframes mobileClose {
52
+ to {
53
+ opacity: 0;
54
+ transform: translate3d(0, 100%, 0)
55
+ }
56
+ }
57
+
58
+ @keyframes mobileOpen {
59
+ from {
60
+ opacity: 0;
61
+ transform: translate3d(0, 100%, 0)
62
+ }
63
+ }
@@ -0,0 +1,84 @@
1
+ .focalPointImage {
2
+ object-fit: cover;
3
+ }
4
+
5
+ .focalPointEditor {
6
+ position: relative;
7
+ margin-left: auto;
8
+ margin-right: auto;
9
+ max-height: 210px;
10
+ max-width: 100%;
11
+ aspect-ratio: var(--aspect-ratio);
12
+ user-select: none;
13
+ }
14
+
15
+ .focalPointEditorArea {
16
+ position: absolute;
17
+ height: 42px;
18
+ width: 42px;
19
+ background: rgb(0 0 0 / .1);
20
+ border: 4px solid white;
21
+ border-radius: 99px;
22
+ box-shadow: var(--shadow-md);
23
+ cursor: move;
24
+ transform: translate3d(-50%, -50%, 0);
25
+ }
26
+
27
+ .focalPointEditorImage {
28
+ position: relative;
29
+ display: block;
30
+ height: 100%;
31
+ width: 100%;
32
+ border-radius: var(--radius);
33
+ box-shadow: var(--shadow-lg);
34
+ pointer-events: none;
35
+ }
36
+
37
+ .focalPointPreview {
38
+ position: relative;
39
+ height: 210px;
40
+ width: 100%;
41
+ margin-left: auto;
42
+ margin-right: auto;
43
+ }
44
+
45
+ .focalPointPreviewImage {
46
+ position: absolute;
47
+ top: 50%;
48
+ left: 50%;
49
+ right: -50%;
50
+ bottom: -50%;
51
+ max-height: 210px;
52
+ max-width: 100%;
53
+ background-size: cover;
54
+ border-radius: var(--radius);
55
+ box-shadow: var(--shadow-lg);
56
+ transform: translate3d(-50%, -50%, 0);
57
+ animation: focalPointPreview 6s var(--swift-out) infinite;
58
+ }
59
+
60
+ @keyframes focalPointPreview {
61
+ 0% {
62
+ aspect-ratio: var(--aspect-ratio);
63
+ }
64
+
65
+ 20% {
66
+ aspect-ratio: 1;
67
+ }
68
+
69
+ 40% {
70
+ aspect-ratio: 16 / 9;
71
+ }
72
+
73
+ 60% {
74
+ aspect-ratio: 3 / 4;
75
+ }
76
+
77
+ 80% {
78
+ aspect-ratio: 3 / 1;
79
+ }
80
+
81
+ 100% {
82
+ aspect-ratio: var(--aspect-ratio);
83
+ }
84
+ }