@mkbabb/glass-ui 3.10.1 → 3.11.1
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/{CardAction-DrAcAV4d.js → CardAction-DuArVky-.js} +2 -2
- package/dist/{CommandShortcut-mV2e1aG6.js → CommandShortcut-CefCj5mt.js} +2 -2
- package/dist/{DataTable-C3E6jZ5B.js → DataTable-CUHMukiQ.js} +2 -2
- package/dist/DeckProgress-Dmk4_AKN.js +23 -0
- package/dist/{DialogContent-BxaaafFi.js → DialogContent-BRkT1cjP.js} +1 -1
- package/dist/{HoverPopover-CDA_SaCe.js → HoverPopover-2LOIW34a.js} +1 -1
- package/dist/InstrumentRail-CUJ05YVG.js +44 -0
- package/dist/{MetricBadge-idgrkqoP.js → MetricBadge-BZVWIxNy.js} +7 -5
- package/dist/{Notification-Cu0nN17_.js → Notification-DLMhblXR.js} +1 -1
- package/dist/{NumberFieldContent-CHEWghnY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
- package/dist/{PopoverContent-DpUvdYY-.js → PopoverContent-BId6ggf_.js} +1 -1
- package/dist/{Progress-BW-StFw2.js → Progress-iEuD9pxG.js} +1 -1
- package/dist/{ScrollingText-DruYCni_.js → ScrollingText-BPP84wKo.js} +1 -1
- package/dist/{SelectScrollDownButton-pirzjm--.js → SelectScrollDownButton-T32cVFeM.js} +3 -3
- package/dist/{Switch-DeAqg6pi.js → Switch-Ch-k3Rv-.js} +1 -1
- package/dist/{TabsList-BAVzOZpg.js → TabsList-B8CVOQPC.js} +2 -2
- package/dist/{Toaster-CvuuW_y9.js → Toaster-1rYWrmAm.js} +46 -49
- package/dist/{ToggleGroupItem-DtD37b4G.js → ToggleGroupItem-COu_4IW4.js} +21 -17
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +5 -4
- package/dist/api.js +2 -2
- package/dist/aurora.js +70 -70
- package/dist/{badge-NdCQMvvB.js → badge-CaoFJzRb.js} +1 -1
- package/dist/badge.js +1 -1
- package/dist/{button-DyiWFAOE.js → button-DN39cGqL.js} +12 -12
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -2
- package/dist/card.js +1 -1
- package/dist/carousel.js +5 -5
- package/dist/collapsible.js +1 -1
- package/dist/{color-B65wWyQz.js → color-C5ls_QF7.js} +7 -9
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/constants/presets.d.ts +62 -5
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/constellation/Constellation.vue.d.ts +0 -12
- package/dist/components/custom/constellation/constellationField.d.ts +151 -10
- package/dist/components/custom/constellation/index.d.ts +1 -3
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +0 -11
- package/dist/components/custom/deck-progress/DeckProgress.vue.d.ts +27 -0
- package/dist/components/custom/deck-progress/index.d.ts +2 -0
- package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +57 -0
- package/dist/components/custom/dialog-native/index.d.ts +1 -0
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +4 -3
- package/dist/components/custom/dock/GlassDock.vue.d.ts +115 -3
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +0 -36
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +0 -44
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +37 -5
- package/dist/components/custom/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +0 -17
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +41 -0
- package/dist/components/custom/glass-panel/index.d.ts +2 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +3 -4
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +8 -11
- package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/custom/handmark/brush.d.ts +242 -0
- package/dist/components/custom/handmark/freehand.d.ts +69 -0
- package/dist/components/custom/handmark/geometry.d.ts +50 -0
- package/dist/components/custom/handmark/index.d.ts +21 -0
- package/dist/components/custom/handmark/ink.d.ts +11 -0
- package/dist/components/custom/handmark/texture.d.ts +39 -0
- package/dist/components/custom/handmark/types.d.ts +53 -0
- package/dist/components/custom/handmark/useHandMark.d.ts +87 -0
- package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
- package/dist/components/custom/header-ribbon/index.d.ts +2 -0
- package/dist/components/custom/header-ribbon/types.d.ts +7 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +2 -2
- package/dist/components/custom/instrument-rail/InstrumentRail.vue.d.ts +91 -0
- package/dist/components/custom/instrument-rail/index.d.ts +2 -0
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +8 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
- package/dist/components/ui/slider/index.d.ts +19 -22
- package/dist/components/ui/toast/use-toast.d.ts +2 -2
- package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/components/ui/toggle/index.d.ts +1 -1
- package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +7 -1
- package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +3 -1
- package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +13 -0
- package/dist/composables/color/index.d.ts +0 -12
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +21 -1
- package/dist/composables/glass/useSpecularTracking.d.ts +3 -12
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/composables/motion/index.d.ts +0 -2
- package/dist/composables/motion/useRouteTransition.d.ts +42 -0
- package/dist/composables/motion/useSpringMount.d.ts +1 -1
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +225 -260
- package/dist/controls.js +14 -48
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck-progress.d.ts +1 -0
- package/dist/deck-progress.js +2 -0
- package/dist/dialog.js +2 -2
- package/dist/dock.js +345 -340
- package/dist/dockContext-BKeIMmNk.js +9 -0
- package/dist/{dropdown-menu-DVnQcA0E.js → dropdown-menu-D77jX6Df.js} +4 -7
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +79 -38
- package/dist/forms.js +2 -2
- package/dist/fourier-field.js +102 -137
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.d.ts +1 -0
- package/dist/glass-panel.js +44 -0
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +209 -287
- package/dist/goo-blob.js +212 -243
- package/dist/handmark.d.ts +1 -0
- package/dist/handmark.js +663 -0
- package/dist/header-ribbon.d.ts +1 -0
- package/dist/header-ribbon.js +63 -0
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/instrument-rail.d.ts +1 -0
- package/dist/instrument-rail.js +2 -0
- package/dist/keyboard.js +1 -1
- package/dist/labeled-field.js +5 -5
- package/dist/{math-BUU9hHID.js → math-DTpRVC0e.js} +2 -18
- package/dist/metric-badge.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +70 -69
- package/dist/motion.js +37 -38
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-1OhFpaIC.js → presets-BP_ALM0m.js} +14 -1
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +1 -1
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +6 -6
- package/dist/select.js +1 -1
- package/dist/{sheet-ChSXcJpU.js → sheet-VZEtNFvO.js} +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-sfl8gFDD.js → slider-ClgpP7EB.js} +4 -4
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/stacked-icons.js +6 -6
- package/dist/styles/animations.css +111 -15
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock/layer-group.css +0 -22
- package/dist/styles/dock/layers.css +1 -11
- package/dist/styles/dock/morph.css +19 -95
- package/dist/styles/dock/shell.css +0 -12
- package/dist/styles/dock-controls.css +31 -28
- package/dist/styles/drawer.css +0 -2
- package/dist/styles/floating-panel.css +0 -2
- package/dist/styles/glass-refract.css +0 -2
- package/dist/styles/glass.css +1188 -31
- package/dist/styles/hover-popover.css +0 -2
- package/dist/styles/index.css +6 -24
- package/dist/styles/instrument-chassis.css +0 -4
- package/dist/styles/paper.css +68 -2
- package/dist/styles/theme.css +20 -13
- package/dist/styles/tokens.css +2360 -22
- package/dist/styles/typography.css +6 -18
- package/dist/styles/utilities.css +1291 -19
- package/dist/styles/view-transition.css +51 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +98 -98
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-DfVgP4te.js → useAnimatedNumber-Bcpy5Etf.js} +1 -1
- package/dist/{useConfiguratorState-BdQXh9ie.js → useConfiguratorState-DxAqksK6.js} +1 -1
- package/dist/useGlassRenderer-D7YGOYiM.js +69 -0
- package/dist/{useGlobalDark-D7R9OypB.js → useGlobalDark-D1wgEqfW.js} +21 -2
- package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
- package/dist/useSpringMount-BJSHcLl3.js +113 -0
- package/dist/useViewTransition-DaN5Zrox.js +21 -0
- package/dist/vReveal-zUIQk-rJ.js +53 -0
- package/dist/watercolor-dot.js +2 -2
- package/package.json +57 -33
- package/src/styles/animations.css +111 -15
- package/src/styles/dock/layer-group.css +0 -22
- package/src/styles/dock/layers.css +1 -11
- package/src/styles/dock/morph.css +19 -95
- package/src/styles/dock/shell.css +0 -12
- package/src/styles/dock-controls.css +31 -28
- package/src/styles/glass.css +1188 -31
- package/src/styles/index.css +6 -24
- package/src/styles/paper.css +68 -2
- package/src/styles/theme.css +20 -13
- package/src/styles/tokens.css +2360 -22
- package/src/styles/typography.css +6 -18
- package/src/styles/utilities.css +1291 -19
- package/src/styles/view-transition.css +51 -0
- package/dist/components/custom/aurora/constants/shaders/vangogh-medium.glsl.d.ts +0 -1
- package/dist/components/custom/constellation/composables/createConstellationField.d.ts +0 -35
- package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +0 -35
- package/dist/components/custom/constellation/constants.d.ts +0 -36
- package/dist/components/custom/constellation/constellationDraw.d.ts +0 -18
- package/dist/components/custom/constellation/constellationInteraction.d.ts +0 -102
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +0 -15
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +0 -131
- package/dist/components/custom/dock/constants.d.ts +0 -23
- package/dist/components/custom/fourier-field/presets.d.ts +0 -54
- package/dist/components/custom/goo-blob/composables/buildMetaballProgram.d.ts +0 -18
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +0 -41
- package/dist/components/custom/goo-blob/constants.d.ts +0 -52
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +0 -1
- package/dist/components/custom/tabs/constants.d.ts +0 -12
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
- package/dist/components/custom/underline/index.d.ts +0 -2
- package/dist/components/custom/underline/types.d.ts +0 -56
- package/dist/composables/motion/curves.d.ts +0 -48
- package/dist/composables/motion/springPresets.d.ts +0 -33
- package/dist/composables/motion/suite.d.ts +0 -2
- package/dist/dockContext-bho8B1A4.js +0 -17
- package/dist/motion-curves.d.ts +0 -1
- package/dist/motion-curves.js +0 -130
- package/dist/springPresets-aRSm-4_k.js +0 -40
- package/dist/styles/glass/a11y-fallback.css +0 -245
- package/dist/styles/glass/ladder.css +0 -304
- package/dist/styles/glass/material.css +0 -238
- package/dist/styles/glass/progress-rail.css +0 -78
- package/dist/styles/glass/squircle.css +0 -66
- package/dist/styles/glass/surfaces.css +0 -306
- package/dist/styles/tokens/color-radius.css +0 -250
- package/dist/styles/tokens/dark-arm.css +0 -194
- package/dist/styles/tokens/glass.css +0 -413
- package/dist/styles/tokens/light-dark.css +0 -158
- package/dist/styles/tokens/offsets-sizing.css +0 -406
- package/dist/styles/tokens/property-regs.css +0 -169
- package/dist/styles/tokens/scale-paper.css +0 -361
- package/dist/styles/tokens/scheme-motion.css +0 -334
- package/dist/styles/tokens/shadow.css +0 -132
- package/dist/styles/utilities/a11y-overrides.css +0 -140
- package/dist/styles/utilities/animate.css +0 -26
- package/dist/styles/utilities/base.css +0 -365
- package/dist/styles/utilities/btn.css +0 -399
- package/dist/styles/utilities/components.css +0 -317
- package/dist/underline.d.ts +0 -1
- package/dist/underline.js +0 -85
- package/dist/useSpecularTracking-DFK_fhpG.js +0 -32
- package/dist/useSpringMount-DXUzxBjV.js +0 -108
- package/dist/vReveal-CqaCz_mC.js +0 -44
- package/src/styles/glass/a11y-fallback.css +0 -245
- package/src/styles/glass/ladder.css +0 -304
- package/src/styles/glass/material.css +0 -238
- package/src/styles/glass/progress-rail.css +0 -78
- package/src/styles/glass/squircle.css +0 -66
- package/src/styles/glass/surfaces.css +0 -306
- package/src/styles/tokens/color-radius.css +0 -250
- package/src/styles/tokens/dark-arm.css +0 -194
- package/src/styles/tokens/glass.css +0 -413
- package/src/styles/tokens/light-dark.css +0 -158
- package/src/styles/tokens/offsets-sizing.css +0 -406
- package/src/styles/tokens/property-regs.css +0 -169
- package/src/styles/tokens/scale-paper.css +0 -361
- package/src/styles/tokens/scheme-motion.css +0 -334
- package/src/styles/tokens/shadow.css +0 -132
- package/src/styles/utilities/a11y-overrides.css +0 -140
- package/src/styles/utilities/animate.css +0 -26
- package/src/styles/utilities/base.css +0 -365
- package/src/styles/utilities/btn.css +0 -399
- package/src/styles/utilities/components.css +0 -317
- /package/dist/{CollapsibleContent-Drow5WkV.js → CollapsibleContent-CP9qF1v4.js} +0 -0
- /package/dist/{DialogFooter-DufLHi0y.js → DialogFooter-Gprw8H_A.js} +0 -0
- /package/dist/{IconTooltip-BrQ5p181.js → IconTooltip-Cus0fvK0.js} +0 -0
- /package/dist/{Input-B-F818RU.js → Input-xuDwALQR.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-DWghtRt7.js → _plugin-vue_export-helper-ok8pgSl5.js} +0 -0
- /package/dist/{compile-Ce_V55zi.js → compile-BOXjLUxu.js} +0 -0
- /package/dist/{constants-C8NMonuo.js → constants-yKeKnE84.js} +0 -0
- /package/dist/{prng-CjVgzjQT.js → prng-D27-B3tK.js} +0 -0
- /package/dist/{resolveCanvasColor-CRvVzOvP.js → resolveCanvasColor-BBiYfp8g.js} +0 -0
- /package/dist/{useCanvas2D-CSeH8h16.js → useCanvas2D-ClrQuZtp.js} +0 -0
- /package/dist/{useIntersectionPause-DAdVPVp4.js → useIntersectionPause-Cck5Uxk8.js} +0 -0
- /package/dist/{useInterval-D3USn0yc.js → useInterval-Dsmqwi03.js} +0 -0
- /package/dist/{useKeyboardShortcuts-i8tHd5WO.js → useKeyboardShortcuts-CyIYrndH.js} +0 -0
- /package/dist/{useScrollProgress-CcgmgMQt.js → useScrollProgress-CffFGLa5.js} +0 -0
- /package/dist/{useSortable-DnyGXKKY.js → useSortable-C8ReQ50P.js} +0 -0
- /package/dist/{useTextHighlight-B3b10W6r.js → useTextHighlight-CWEi25hf.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./useSpecularTracking-
|
|
3
|
-
import { t as n } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { t } from "./useSpecularTracking-BVRZsRHA.js";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
4
4
|
import { computed as r, createBlock as i, createElementBlock as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, openBlock as l, renderSlot as u, unref as d, withCtx as f } from "vue";
|
|
5
5
|
import { Primitive as p } from "reka-ui";
|
|
6
6
|
var m = /* @__PURE__ */ o({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { t } from "./search-nbkvr2dC.js";
|
|
3
|
-
import { n, t as r } from "./DialogContent-
|
|
3
|
+
import { n, t as r } from "./DialogContent-BRkT1cjP.js";
|
|
4
4
|
import { t as i } from "./menuItemVariants-CCoBNkU5.js";
|
|
5
5
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
|
|
6
6
|
import { ComboboxContent as S, ComboboxEmpty as C, ComboboxGroup as w, ComboboxInput as T, ComboboxItem as E, ComboboxLabel as D, ComboboxRoot as O, ComboboxSeparator as k, useForwardProps as A, useForwardPropsEmits as j } from "reka-ui";
|
|
@@ -160,7 +160,7 @@ var M = /* @__PURE__ */ f({
|
|
|
160
160
|
...n.$attrs
|
|
161
161
|
}, {
|
|
162
162
|
"auto-focus": "",
|
|
163
|
-
class: b(e)("flex h-(--dropdown-input-height) w-full rounded-input bg-transparent py-3 text-dropdown outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled", r.class)
|
|
163
|
+
class: b(e)("flex h-[var(--dropdown-input-height)] w-full rounded-input bg-transparent py-3 text-dropdown outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled", r.class)
|
|
164
164
|
}), null, 16, ["class"])]));
|
|
165
165
|
}
|
|
166
166
|
}), R = /* @__PURE__ */ f({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
3
|
-
import { t as n } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { n as t } from "./button-DN39cGqL.js";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
4
4
|
import { n as r, r as i, t as a } from "./ContextMenuContent-DDa0v27s.js";
|
|
5
5
|
import { t as o } from "./useResizeObserver-CWCbk5Px.js";
|
|
6
6
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeModels as g, mergeProps as _, normalizeClass as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as C, toDisplayString as w, toValue as T, unref as E, useModel as ee, useSlots as te, withCtx as D, withModifiers as O } from "vue";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { t } from "./Progress-iEuD9pxG.js";
|
|
3
|
+
import { createBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, unref as o } from "vue";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/custom/deck-progress/DeckProgress.vue
|
|
6
|
+
var s = /* @__PURE__ */ r({
|
|
7
|
+
__name: "DeckProgress",
|
|
8
|
+
props: {
|
|
9
|
+
value: {},
|
|
10
|
+
class: {}
|
|
11
|
+
},
|
|
12
|
+
setup(r) {
|
|
13
|
+
let s = r;
|
|
14
|
+
return (r, c) => (a(), n(o(t), {
|
|
15
|
+
variant: "default",
|
|
16
|
+
"model-value": s.value,
|
|
17
|
+
class: i(o(e)("glass-progress-rail", s.class)),
|
|
18
|
+
"aria-label": "Deck position"
|
|
19
|
+
}, null, 8, ["model-value", "class"]));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { s as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { t } from "./x-Dfsegz9Y.js";
|
|
3
|
-
import { t as n } from "./useSpringMount-
|
|
3
|
+
import { t as n } from "./useSpringMount-BJSHcLl3.js";
|
|
4
4
|
import { t as r } from "./ModalOverlay-B1GkAjNb.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeProps as u, openBlock as d, renderSlot as f, unref as p, withCtx as m } from "vue";
|
|
6
6
|
import { DialogClose as h, DialogContent as g, DialogPortal as _, DialogRoot as v, injectDialogRootContext as y, useForwardPropsEmits as b } from "reka-ui";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { i as t } from "./dockContext-
|
|
2
|
+
import { i as t } from "./dockContext-BKeIMmNk.js";
|
|
3
3
|
import { Fragment as n, computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useId as h, useModel as g, watch as _, withCtx as v } from "vue";
|
|
4
4
|
import { HoverCardContent as y, HoverCardPortal as b, HoverCardRoot as x, HoverCardTrigger as S } from "reka-ui";
|
|
5
5
|
//#region src/components/custom/hover-popover/HoverPopover.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { computed as t, createCommentVNode as n, createElementBlock as r, defineComponent as i, normalizeClass as a, normalizeStyle as o, openBlock as s, renderSlot as c } from "vue";
|
|
3
|
+
//#region src/components/custom/instrument-rail/InstrumentRail.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var l = [
|
|
5
|
+
"data-variant",
|
|
6
|
+
"data-bezel-hairlines",
|
|
7
|
+
"data-divider-rule"
|
|
8
|
+
], u = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "instrument-rail-status"
|
|
11
|
+
}, d = /* @__PURE__ */ i({
|
|
12
|
+
__name: "InstrumentRail",
|
|
13
|
+
props: {
|
|
14
|
+
variant: { default: "vertical" },
|
|
15
|
+
ratio: { default: .382 },
|
|
16
|
+
bezelHairlines: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
},
|
|
20
|
+
dividerRule: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !0
|
|
23
|
+
},
|
|
24
|
+
class: { type: [
|
|
25
|
+
Boolean,
|
|
26
|
+
null,
|
|
27
|
+
String,
|
|
28
|
+
Object,
|
|
29
|
+
Array
|
|
30
|
+
] }
|
|
31
|
+
},
|
|
32
|
+
setup(i) {
|
|
33
|
+
let d = i, f = t(() => e("instrument-rail", d.class)), p = t(() => ({ "--instrument-rail-ratio": String(d.ratio) }));
|
|
34
|
+
return (e, t) => (s(), r("aside", {
|
|
35
|
+
class: a(f.value),
|
|
36
|
+
"data-variant": i.variant,
|
|
37
|
+
"data-bezel-hairlines": i.bezelHairlines ? "" : null,
|
|
38
|
+
"data-divider-rule": i.dividerRule ? "" : null,
|
|
39
|
+
style: o(p.value)
|
|
40
|
+
}, [e.$slots.status ? (s(), r("header", u, [c(e.$slots, "status")])) : n("", !0), c(e.$slots, "default")], 14, l));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { d as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
3
3
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, openBlock as u, toDisplayString as d, unref as f } from "vue";
|
|
4
4
|
//#region src/components/custom/metric-badge/MetricBadge.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var p = ["data-size"], m = {
|
|
5
|
+
var p = ["data-size", "data-variant"], m = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "metric-badge__row"
|
|
8
8
|
}, h = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
@@ -16,6 +16,7 @@ var p = ["data-size"], m = {
|
|
|
16
16
|
color: {},
|
|
17
17
|
placeholder: { default: "—" },
|
|
18
18
|
size: { default: "md" },
|
|
19
|
+
variant: { default: "default" },
|
|
19
20
|
class: { type: [
|
|
20
21
|
Boolean,
|
|
21
22
|
null,
|
|
@@ -51,8 +52,9 @@ var p = ["data-size"], m = {
|
|
|
51
52
|
}
|
|
52
53
|
}), v = r(() => !!(s.labelPosition && (s.abbreviation || s.label)));
|
|
53
54
|
return (r, s) => (u(), a("div", {
|
|
54
|
-
class: c(f(e)("metric-badge cursor-pointer", "focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2", t.labelPosition && `metric-badge--label-${t.labelPosition}`, r.$props.class)),
|
|
55
|
-
"data-size": t.size
|
|
55
|
+
class: c(f(e)("metric-badge cursor-pointer", "focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2", t.labelPosition && `metric-badge--label-${t.labelPosition}`, t.variant === "record" && "metric-badge--record", r.$props.class)),
|
|
56
|
+
"data-size": t.size,
|
|
57
|
+
"data-variant": t.variant
|
|
56
58
|
}, [v.value ? (u(), a(n, { key: 0 }, [t.label ? (u(), a("span", {
|
|
57
59
|
key: 0,
|
|
58
60
|
class: c(["metric-badge__label metric-badge__label--full font-mono uppercase text-muted-foreground/80 shrink-0", _.value])
|
|
@@ -73,6 +75,6 @@ var p = ["data-size"], m = {
|
|
|
73
75
|
class: c(["metric-badge__unit font-mono text-muted-foreground shrink-0", g.value])
|
|
74
76
|
}, d(t.unit), 3)) : i("", !0)], 64))], 10, p));
|
|
75
77
|
}
|
|
76
|
-
}), [["__scopeId", "data-v-
|
|
78
|
+
}), [["__scopeId", "data-v-5ac15b4e"]]);
|
|
77
79
|
//#endregion
|
|
78
80
|
export { h as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./createLucideIcon-B6uNAU9G.js";
|
|
2
2
|
import { t } from "./x-Dfsegz9Y.js";
|
|
3
|
-
import { t as n } from "./_plugin-vue_export-helper-
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
4
4
|
import { Fragment as r, TransitionGroup as i, createBlock as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, renderList as f, resolveDynamicComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
5
5
|
var _ = e("circle-alert", [
|
|
6
6
|
["circle", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { t } from "./createLucideIcon-B6uNAU9G.js";
|
|
3
|
-
import { n } from "./button-
|
|
3
|
+
import { n } from "./button-DN39cGqL.js";
|
|
4
4
|
import { computed as r, createBlock as i, createElementBlock as a, createVNode as o, defineComponent as s, mergeProps as c, normalizeClass as l, openBlock as u, renderSlot as d, unref as f, withCtx as p } from "vue";
|
|
5
5
|
import { NumberFieldDecrement as m, NumberFieldIncrement as h, NumberFieldInput as g, NumberFieldRoot as _, useForwardProps as v, useForwardPropsEmits as y } from "reka-ui";
|
|
6
6
|
var b = t("minus", [["path", {
|
|
@@ -62,7 +62,7 @@ var b = t("minus", [["path", {
|
|
|
62
62
|
...t.$attrs
|
|
63
63
|
}, {
|
|
64
64
|
"data-slot": "input",
|
|
65
|
-
class: f(e)("input-pill h-(--control-h-md) rounded-field px-9 py-2 text-sm text-center")
|
|
65
|
+
class: f(e)("input-pill h-[var(--control-h-md)] rounded-field px-9 py-2 text-sm text-center")
|
|
66
66
|
}), null, 16, ["class"]));
|
|
67
67
|
}
|
|
68
68
|
}), w = /* @__PURE__ */ s({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { i as t } from "./dockContext-
|
|
2
|
+
import { i as t } from "./dockContext-BKeIMmNk.js";
|
|
3
3
|
import { computed as n, createBlock as r, createVNode as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l, renderSlot as u, unref as d, withCtx as f } from "vue";
|
|
4
4
|
import { PopoverContent as p, PopoverPortal as m, PopoverRoot as h, PopoverTrigger as g, useForwardPropsEmits as _ } from "reka-ui";
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
3
3
|
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeProps as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderList as m, toRef as h, unref as g, watchEffect as _, withCtx as v } from "vue";
|
|
4
4
|
import { ProgressIndicator as y, ProgressRoot as b } from "reka-ui";
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
3
3
|
import { t as n } from "./useResizeObserver-CWCbk5Px.js";
|
|
4
4
|
import { createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, ref as l, renderSlot as u, toDisplayString as d, unref as f, useTemplateRef as p, watchEffect as m } from "vue";
|
|
5
5
|
//#region src/components/custom/scrolling-text/ScrollingText.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -2,7 +2,7 @@ import { t as e } from "./cn-DJXf4yaB.js";
|
|
|
2
2
|
import { t } from "./chevron-down-BSkTP2aL.js";
|
|
3
3
|
import { t as n } from "./chevron-up-CCOD_FTz.js";
|
|
4
4
|
import { t as r } from "./menuItemVariants-CCoBNkU5.js";
|
|
5
|
-
import { i } from "./dockContext-
|
|
5
|
+
import { i } from "./dockContext-BKeIMmNk.js";
|
|
6
6
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeClass as m, normalizeProps as h, openBlock as g, renderSlot as _, unref as v, withCtx as y } from "vue";
|
|
7
7
|
import { SelectContent as b, SelectIcon as x, SelectItem as S, SelectItemIndicator as C, SelectItemText as w, SelectPortal as T, SelectRoot as E, SelectScrollDownButton as D, SelectScrollUpButton as O, SelectTrigger as k, SelectValue as A, SelectViewport as j, useForwardProps as M, useForwardPropsEmits as N } from "reka-ui";
|
|
8
8
|
//#endregion
|
|
@@ -65,8 +65,8 @@ var P = /* @__PURE__ */ d({
|
|
|
65
65
|
let r = n, i = M(a(() => {
|
|
66
66
|
let { class: e, variant: t, size: n, ...i } = r;
|
|
67
67
|
return i;
|
|
68
|
-
})), s = a(() => r.variant === "ghost" ? "bg-transparent border-none shadow-none" : "glass-wash"), c = a(() => r.size === "sm" ? "h-(--control-h-sm)" : "h-(--control-h-md)");
|
|
69
|
-
return (n, a) => (g(), o(v(k), p({ "data-slot": "select-trigger" }, v(i), { class: v(e)(s.value, c.value, "tap-squish focus-ring flex w-full items-center justify-between rounded-pill px-3 py-2 text-dropdown placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled [&>span]:line-clamp-1 transition-control aria-invalid:border-(--destructive) aria-invalid:shadow-[0_0_0_var(--focus-ring-width)_color-mix(in_srgb,var(--destructive)_35%,transparent)]", r.class) }), {
|
|
68
|
+
})), s = a(() => r.variant === "ghost" ? "bg-transparent border-none shadow-none" : "glass-wash"), c = a(() => r.size === "sm" ? "h-[var(--control-h-sm)]" : "h-[var(--control-h-md)]");
|
|
69
|
+
return (n, a) => (g(), o(v(k), p({ "data-slot": "select-trigger" }, v(i), { class: v(e)(s.value, c.value, "tap-squish focus-ring flex w-full items-center justify-between rounded-pill px-3 py-2 text-dropdown placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled [&>span]:line-clamp-1 transition-control aria-invalid:border-[var(--destructive)] aria-invalid:shadow-[0_0_0_var(--focus-ring-width)_color-mix(in_srgb,var(--destructive)_35%,transparent)]", r.class) }), {
|
|
70
70
|
default: y(() => [_(n.$slots, "default"), u(v(x), { "as-child": "" }, {
|
|
71
71
|
default: y(() => [u(v(t), { class: "transition-transform duration-200 ease-standard [&[data-state=open]]:rotate-180 h-4 w-4 shrink-0 opacity-50" })]),
|
|
72
72
|
_: 1
|
|
@@ -31,7 +31,7 @@ var p = /* @__PURE__ */ i({
|
|
|
31
31
|
let { class: e, ...t } = m;
|
|
32
32
|
return t;
|
|
33
33
|
}), h);
|
|
34
|
-
return (t, i) => (s(), n(c(u), a({ "data-slot": "switch" }, c(g), { class: c(e)("glass-wash glass-specular-track focus-ring peer
|
|
34
|
+
return (t, i) => (s(), n(c(u), a({ "data-slot": "switch" }, c(g), { class: c(e)("glass-wash glass-specular-track focus-ring peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-pill border-2 border-transparent transition-control disabled:cursor-not-allowed disabled:opacity-disabled data-[state=checked]:bg-primary data-[state=unchecked]:bg-[var(--glass-bg-wash)]", m.class) }), {
|
|
35
35
|
default: l(() => [r(c(d), {
|
|
36
36
|
class: o(c(e)("pointer-events-none block h-5 w-5 rounded-pill bg-background ring-0 data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")),
|
|
37
37
|
style: {
|
|
@@ -66,7 +66,7 @@ var g = /* @__PURE__ */ i({
|
|
|
66
66
|
let { class: e, ...t } = i;
|
|
67
67
|
return t;
|
|
68
68
|
});
|
|
69
|
-
return (t, r) => (o(), n(c(u), a({ "data-slot": "tabs-indicator" }, s.value, { class: c(e)("pointer-events-none absolute left-0 bottom-1 top-1 z-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) rounded-pill bg-(--glass-bg-quiet) [backdrop-filter:var(--glass-blur-quiet)] transition-[width,translate] duration-normal ease-spring-snappy", i.class) }), null, 16, ["class"]));
|
|
69
|
+
return (t, r) => (o(), n(c(u), a({ "data-slot": "tabs-indicator" }, s.value, { class: c(e)("pointer-events-none absolute left-0 bottom-1 top-1 z-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) rounded-pill bg-[var(--glass-bg-quiet)] [backdrop-filter:var(--glass-blur-quiet)] transition-[width,translate] duration-normal ease-spring-snappy", i.class) }), null, 16, ["class"]));
|
|
70
70
|
}
|
|
71
71
|
}), y = /* @__PURE__ */ i({
|
|
72
72
|
__name: "TabsList",
|
|
@@ -91,7 +91,7 @@ var g = /* @__PURE__ */ i({
|
|
|
91
91
|
let { class: e, indicator: t, ...n } = u;
|
|
92
92
|
return n;
|
|
93
93
|
});
|
|
94
|
-
return (t, p) => (o(), n(c(d), a({ "data-slot": "tabs-list" }, f.value, { class: c(e)("relative inline-flex h-(--control-h-md) items-center justify-center rounded-input p-1 text-muted-foreground", u.class) }), {
|
|
94
|
+
return (t, p) => (o(), n(c(d), a({ "data-slot": "tabs-list" }, f.value, { class: c(e)("relative inline-flex h-[var(--control-h-md)] items-center justify-center rounded-input p-1 text-muted-foreground", u.class) }), {
|
|
95
95
|
default: l(() => [i.indicator ? (o(), n(v, { key: 0 })) : r("", !0), s(t.$slots, "default")]),
|
|
96
96
|
_: 3
|
|
97
97
|
}, 16, ["class"]));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { t } from "./x-Dfsegz9Y.js";
|
|
3
3
|
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
4
|
-
import { ToastAction as b, ToastClose as x, ToastDescription as S,
|
|
4
|
+
import { ToastAction as b, ToastClose as x, ToastDescription as S, ToastProvider as C, ToastRoot as w, ToastTitle as T, ToastViewport as E, useForwardPropsEmits as D } from "reka-ui";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/ui/toast/Toast.vue
|
|
7
|
-
var
|
|
7
|
+
var O = /* @__PURE__ */ u({
|
|
8
8
|
__name: "Toast",
|
|
9
9
|
props: {
|
|
10
10
|
class: { type: [
|
|
@@ -34,14 +34,14 @@ var k = /* @__PURE__ */ u({
|
|
|
34
34
|
"update:open"
|
|
35
35
|
],
|
|
36
36
|
setup(t, { emit: n }) {
|
|
37
|
-
let a = t, o = n, s =
|
|
37
|
+
let a = t, o = n, s = D(r(() => {
|
|
38
38
|
let { class: e, variant: t, ...n } = a;
|
|
39
39
|
return n;
|
|
40
40
|
}), o);
|
|
41
|
-
return (n, r) => (p(), i(v(
|
|
41
|
+
return (n, r) => (p(), i(v(w), d({
|
|
42
42
|
"data-slot": "toast",
|
|
43
43
|
"data-variant": t.variant
|
|
44
|
-
}, v(s), { class: v(e)("glass-floating group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-panel p-6 pr-8 transition-[opacity,transform] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full", {
|
|
44
|
+
}, v(s), { class: v(e)("glass-floating group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-panel p-6 pr-8 transition-[opacity,transform] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--reka-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--reka-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full", {
|
|
45
45
|
"text-foreground": t.variant === "default",
|
|
46
46
|
"bg-destructive text-destructive-foreground border-destructive": t.variant === "destructive",
|
|
47
47
|
"bg-success text-success-foreground border-success": t.variant === "success",
|
|
@@ -52,7 +52,7 @@ var k = /* @__PURE__ */ u({
|
|
|
52
52
|
_: 3
|
|
53
53
|
}, 16, ["data-variant", "class"]));
|
|
54
54
|
}
|
|
55
|
-
}),
|
|
55
|
+
}), k = /* @__PURE__ */ u({
|
|
56
56
|
__name: "ToastAction",
|
|
57
57
|
props: {
|
|
58
58
|
class: { type: [
|
|
@@ -76,7 +76,7 @@ var k = /* @__PURE__ */ u({
|
|
|
76
76
|
_: 3
|
|
77
77
|
}, 16, ["class"]));
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), A = /* @__PURE__ */ u({
|
|
80
80
|
__name: "ToastClose",
|
|
81
81
|
props: {
|
|
82
82
|
class: { type: [
|
|
@@ -99,7 +99,7 @@ var k = /* @__PURE__ */ u({
|
|
|
99
99
|
_: 1
|
|
100
100
|
}, 16, ["class"]));
|
|
101
101
|
}
|
|
102
|
-
}),
|
|
102
|
+
}), j = /* @__PURE__ */ u({
|
|
103
103
|
__name: "ToastDescription",
|
|
104
104
|
props: {
|
|
105
105
|
class: { type: [
|
|
@@ -122,7 +122,7 @@ var k = /* @__PURE__ */ u({
|
|
|
122
122
|
_: 3
|
|
123
123
|
}, 16, ["class"]));
|
|
124
124
|
}
|
|
125
|
-
}),
|
|
125
|
+
}), M = /* @__PURE__ */ u({
|
|
126
126
|
__name: "ToastTitle",
|
|
127
127
|
props: {
|
|
128
128
|
class: { type: [
|
|
@@ -140,71 +140,71 @@ var k = /* @__PURE__ */ u({
|
|
|
140
140
|
let { class: e, ...t } = n;
|
|
141
141
|
return t;
|
|
142
142
|
});
|
|
143
|
-
return (t, r) => (p(), i(v(
|
|
143
|
+
return (t, r) => (p(), i(v(T), d(a.value, { class: v(e)("text-sm font-semibold", n.class) }), {
|
|
144
144
|
default: y(() => [g(t.$slots, "default")]),
|
|
145
145
|
_: 3
|
|
146
146
|
}, 16, ["class"]));
|
|
147
147
|
}
|
|
148
|
-
}),
|
|
149
|
-
function
|
|
150
|
-
if (
|
|
148
|
+
}), N = 5, P = 1e6, F = /* @__PURE__ */ new Map();
|
|
149
|
+
function I(e) {
|
|
150
|
+
if (F.has(e)) return;
|
|
151
151
|
let t = setTimeout(() => {
|
|
152
|
-
|
|
152
|
+
F.delete(e), R({
|
|
153
153
|
type: "REMOVE_TOAST",
|
|
154
154
|
toastId: e
|
|
155
155
|
});
|
|
156
|
-
},
|
|
157
|
-
|
|
156
|
+
}, P);
|
|
157
|
+
F.set(e, t);
|
|
158
158
|
}
|
|
159
|
-
var
|
|
160
|
-
function
|
|
159
|
+
var L = m([]);
|
|
160
|
+
function R(e) {
|
|
161
161
|
switch (e.type) {
|
|
162
162
|
case "ADD_TOAST":
|
|
163
|
-
|
|
163
|
+
L.value = [e.toast, ...L.value].slice(0, N);
|
|
164
164
|
break;
|
|
165
165
|
case "UPDATE_TOAST":
|
|
166
|
-
|
|
166
|
+
L.value = L.value.map((t) => t.id === e.toast.id ? {
|
|
167
167
|
...t,
|
|
168
168
|
...e.toast
|
|
169
169
|
} : t);
|
|
170
170
|
break;
|
|
171
171
|
case "DISMISS_TOAST": {
|
|
172
172
|
let { toastId: t } = e;
|
|
173
|
-
t ?
|
|
174
|
-
|
|
175
|
-
}),
|
|
173
|
+
t ? I(t) : L.value.forEach((e) => {
|
|
174
|
+
I(e.id);
|
|
175
|
+
}), L.value = L.value.map((e) => e.id === t || t === void 0 ? {
|
|
176
176
|
...e,
|
|
177
177
|
open: !1
|
|
178
178
|
} : e);
|
|
179
179
|
break;
|
|
180
180
|
}
|
|
181
181
|
case "REMOVE_TOAST":
|
|
182
|
-
e.toastId === void 0 ?
|
|
182
|
+
e.toastId === void 0 ? L.value = [] : L.value = L.value.filter((t) => t.id !== e.toastId);
|
|
183
183
|
break;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
var
|
|
187
|
-
function
|
|
188
|
-
return
|
|
186
|
+
var z = 0;
|
|
187
|
+
function B() {
|
|
188
|
+
return z = (z + 1) % Number.MAX_VALUE, z.toString();
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
let t =
|
|
190
|
+
function V(e) {
|
|
191
|
+
let t = B(), n = (e) => R({
|
|
192
192
|
type: "UPDATE_TOAST",
|
|
193
193
|
toast: {
|
|
194
194
|
...e,
|
|
195
195
|
id: t
|
|
196
196
|
}
|
|
197
|
-
}), r = () =>
|
|
197
|
+
}), r = () => R({
|
|
198
198
|
type: "DISMISS_TOAST",
|
|
199
199
|
toastId: t
|
|
200
200
|
});
|
|
201
|
-
return
|
|
201
|
+
return R({
|
|
202
202
|
type: "ADD_TOAST",
|
|
203
203
|
toast: {
|
|
204
204
|
...e,
|
|
205
205
|
id: t,
|
|
206
206
|
open: !0,
|
|
207
|
-
|
|
207
|
+
onOpenChange: (e) => {
|
|
208
208
|
e || r();
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -214,11 +214,11 @@ function H(e) {
|
|
|
214
214
|
update: n
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function H() {
|
|
218
218
|
return {
|
|
219
|
-
toasts: r(() =>
|
|
220
|
-
toast:
|
|
221
|
-
dismiss: (e) =>
|
|
219
|
+
toasts: r(() => L.value),
|
|
220
|
+
toast: V,
|
|
221
|
+
dismiss: (e) => R({
|
|
222
222
|
type: "DISMISS_TOAST",
|
|
223
223
|
toastId: e
|
|
224
224
|
})
|
|
@@ -226,11 +226,11 @@ function U() {
|
|
|
226
226
|
}
|
|
227
227
|
//#endregion
|
|
228
228
|
//#region src/components/ui/toast/Toaster.vue?vue&type=script&setup=true&lang.ts
|
|
229
|
-
var
|
|
229
|
+
var U = { class: "grid gap-1" }, W = "fixed top-0 z-toast flex max-h-screen w-full", G = "p-4", K = "md:max-w-[420px]", q = /* @__PURE__ */ u({
|
|
230
230
|
__name: "Toaster",
|
|
231
231
|
props: { position: { default: "bottom-right" } },
|
|
232
232
|
setup(t) {
|
|
233
|
-
let u = t, { toasts: m } =
|
|
233
|
+
let u = t, { toasts: m } = H(), g = {
|
|
234
234
|
"bottom-right": ["flex-col-reverse", "sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col"],
|
|
235
235
|
"bottom-left": ["flex-col-reverse", "sm:bottom-0 sm:left-0 sm:top-auto sm:flex-col"],
|
|
236
236
|
"bottom-center": ["flex-col-reverse", "sm:bottom-0 sm:left-1/2 sm:top-auto sm:-translate-x-1/2 sm:flex-col"],
|
|
@@ -239,25 +239,22 @@ var W = { class: "grid gap-1" }, G = "fixed top-0 z-toast flex max-h-screen w-fu
|
|
|
239
239
|
"top-center": ["left-1/2 -translate-x-1/2 flex-col", ""]
|
|
240
240
|
}, b = r(() => {
|
|
241
241
|
let [t, n] = g[u.position];
|
|
242
|
-
return e(
|
|
242
|
+
return e(W, t, G, n, K);
|
|
243
243
|
});
|
|
244
|
-
return (e, t) => (p(), i(v(
|
|
245
|
-
default: y(() => [(p(!0), o(n, null, h(v(m), (e) => (p(), i(
|
|
246
|
-
default: y(() => [s("div",
|
|
244
|
+
return (e, t) => (p(), i(v(C), null, {
|
|
245
|
+
default: y(() => [(p(!0), o(n, null, h(v(m), (e) => (p(), i(O, d({ key: e.id }, { ref_for: !0 }, e), {
|
|
246
|
+
default: y(() => [s("div", U, [e.title ? (p(), i(M, { key: 0 }, {
|
|
247
247
|
default: y(() => [c(_(e.title), 1)]),
|
|
248
248
|
_: 2
|
|
249
|
-
}, 1024)) : a("", !0), e.description ? (p(), i(
|
|
249
|
+
}, 1024)) : a("", !0), e.description ? (p(), i(j, { key: 1 }, {
|
|
250
250
|
default: y(() => [c(_(e.description), 1)]),
|
|
251
251
|
_: 2
|
|
252
|
-
}, 1024)) : a("", !0)]), l(
|
|
252
|
+
}, 1024)) : a("", !0)]), l(A)]),
|
|
253
253
|
_: 2
|
|
254
|
-
}, 1040))), 128)), l(v(
|
|
255
|
-
default: y(() => [l(v(D), { class: f(b.value) }, null, 8, ["class"])]),
|
|
256
|
-
_: 1
|
|
257
|
-
})]),
|
|
254
|
+
}, 1040))), 128)), l(v(E), { class: f(b.value) }, null, 8, ["class"])]),
|
|
258
255
|
_: 1
|
|
259
256
|
}));
|
|
260
257
|
}
|
|
261
258
|
});
|
|
262
259
|
//#endregion
|
|
263
|
-
export {
|
|
260
|
+
export { j as a, O as c, M as i, V as n, A as o, H as r, k as s, q as t };
|
|
@@ -50,17 +50,18 @@ var g = /* @__PURE__ */ i({
|
|
|
50
50
|
"class"
|
|
51
51
|
]));
|
|
52
52
|
}
|
|
53
|
-
}), _ = h("tap-squish focus-ring inline-flex items-center justify-center gap-2 rounded-button text-[length:var(--control-text)] font-medium transition-control hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-disabled data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg:not([class*=size-])]:size-(--ui-glyph) [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
|
|
53
|
+
}), _ = h("tap-squish focus-ring inline-flex items-center justify-center gap-2 rounded-button text-[length:var(--control-text)] font-medium transition-control hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-disabled data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg:not([class*=size-])]:size-[var(--ui-glyph)] [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
|
|
54
54
|
variants: {
|
|
55
55
|
variant: {
|
|
56
56
|
default: "bg-transparent",
|
|
57
57
|
outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",
|
|
58
|
-
card: "glass-card w-full transform-gpu cursor-pointer flex-col gap-4 p-8 text-center transition-[background-color,border-color,box-shadow,color,opacity,transform] duration-fast ease-standard hover:bg-glass-quiet hover:text-foreground active:scale-95 data-[state=on]:border-glass-border-quiet data-[state=on]:bg-glass-quiet data-[state=on]:text-foreground data-[state=on]:shadow-glass-quiet"
|
|
58
|
+
card: "glass-card w-full transform-gpu cursor-pointer flex-col gap-4 p-8 text-center transition-[background-color,border-color,box-shadow,color,opacity,transform] duration-fast ease-standard hover:bg-glass-quiet hover:text-foreground active:scale-95 data-[state=on]:border-glass-border-quiet data-[state=on]:bg-glass-quiet data-[state=on]:text-foreground data-[state=on]:shadow-glass-quiet",
|
|
59
|
+
glass: "glass-wash text-muted-foreground transition-[background-color,border-color,box-shadow,color] duration-fast ease-standard hover:bg-glass-quiet hover:text-foreground data-[state=on]:bg-glass-quiet data-[state=on]:border-glass-border-quiet data-[state=on]:text-foreground data-[state=on]:shadow-glass-quiet data-[state=on]:font-medium"
|
|
59
60
|
},
|
|
60
61
|
size: {
|
|
61
|
-
default: "h-(--control-h-md) px-3",
|
|
62
|
-
sm: "h-(--control-h-sm) px-2.5",
|
|
63
|
-
lg: "h-(--control-h-lg) px-5"
|
|
62
|
+
default: "h-[var(--control-h-md)] px-3",
|
|
63
|
+
sm: "h-[var(--control-h-sm)] px-2.5",
|
|
64
|
+
lg: "h-[var(--control-h-lg)] px-5"
|
|
64
65
|
}
|
|
65
66
|
},
|
|
66
67
|
compoundVariants: [{
|
|
@@ -104,18 +105,20 @@ var b = v.use, x = /* @__PURE__ */ i({
|
|
|
104
105
|
Array
|
|
105
106
|
] },
|
|
106
107
|
variant: {},
|
|
107
|
-
size: {}
|
|
108
|
+
size: {},
|
|
109
|
+
register: {}
|
|
108
110
|
},
|
|
109
111
|
emits: ["update:modelValue"],
|
|
110
112
|
setup(t, { emit: i }) {
|
|
111
113
|
let u = t, d = i;
|
|
112
114
|
y({
|
|
113
115
|
variant: u.variant,
|
|
114
|
-
size: u.size
|
|
116
|
+
size: u.size,
|
|
117
|
+
register: u.register
|
|
115
118
|
});
|
|
116
119
|
let p = m(n(() => {
|
|
117
|
-
let { class: e,
|
|
118
|
-
return
|
|
120
|
+
let { class: e, register: t, ...n } = u;
|
|
121
|
+
return n;
|
|
119
122
|
}), d);
|
|
120
123
|
return (t, n) => (o(), r(c(f), a({ "data-slot": "toggle-group" }, c(p), { class: c(e)("flex items-center justify-center gap-1", u.class) }), {
|
|
121
124
|
default: l(() => [s(t.$slots, "default")]),
|
|
@@ -137,18 +140,19 @@ var b = v.use, x = /* @__PURE__ */ i({
|
|
|
137
140
|
Array
|
|
138
141
|
] },
|
|
139
142
|
variant: {},
|
|
140
|
-
size: {}
|
|
143
|
+
size: {},
|
|
144
|
+
register: {}
|
|
141
145
|
},
|
|
142
146
|
setup(t) {
|
|
143
|
-
let i = t, u = b(), f = p(n(() => {
|
|
144
|
-
let { class: e, variant: t, size: n,
|
|
145
|
-
return
|
|
147
|
+
let i = t, u = b(), f = n(() => (i.variant ?? u?.variant) || ((i.register ?? u?.register) === "glass" ? "glass" : void 0)), m = p(n(() => {
|
|
148
|
+
let { class: e, variant: t, size: n, register: r, ...a } = i;
|
|
149
|
+
return a;
|
|
146
150
|
}));
|
|
147
|
-
return (
|
|
148
|
-
variant:
|
|
149
|
-
size: c(u)?.size ||
|
|
151
|
+
return (t, n) => (o(), r(c(d), a(c(m), { class: c(e)(c(_)({
|
|
152
|
+
variant: f.value,
|
|
153
|
+
size: c(u)?.size || i.size
|
|
150
154
|
}), i.class) }), {
|
|
151
|
-
default: l(() => [s(
|
|
155
|
+
default: l(() => [s(t.$slots, "default")]),
|
|
152
156
|
_: 3
|
|
153
157
|
}, 16, ["class"]));
|
|
154
158
|
}
|
package/dist/animated-digit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
3
|
-
import { t as n } from "./useAnimatedNumber-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
3
|
+
import { t as n } from "./useAnimatedNumber-Bcpy5Etf.js";
|
|
4
4
|
import { computed as r, createElementBlock as i, defineComponent as a, normalizeClass as o, normalizeStyle as s, openBlock as c, toDisplayString as l, unref as u } from "vue";
|
|
5
5
|
//#region src/components/custom/animated-digit/AnimatedDigit.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var d = ["data-is-animating"], f = /* @__PURE__ */ t(/* @__PURE__ */ a({
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type { AuroraAtoms, AuroraConfig, AuroraCursorApi, AuroraFlow, AuroraHarmony, AuroraHuePath, AuroraInstance, AuroraInteractivity, AuroraInteractivityAtom, AuroraMedium, AuroraMediumAtom, AuroraMotionAtom, AuroraNucleus, AuroraRuntimeMode, AuroraRuntimeOptions, AuroraZoneArrangement, AuroraZones, DeriveAuroraOptions, DeriveEasing, FlowPattern, OklchStop, StrokeMode, StrokeOrient, WarpMode, } from "../components/custom/aurora";
|
|
2
|
-
export { DEFAULT_AURORA_CONFIG, MAX_NUCLEI, MAX_STOPS, } from "../components/custom/aurora";
|
|
2
|
+
export { DEFAULT_AURORA_CONFIG, PAPER_WASH_GROUND, MAX_NUCLEI, MAX_STOPS, } from "../components/custom/aurora";
|
|
3
3
|
export type { ConfiguratorCloneMode, ConfiguratorPreset, ConfiguratorScrollMode, ConfiguratorState, ConfiguratorStateOptions, } from "../components/custom/configurator";
|
|
4
4
|
export type { TimelineSegment, TimelineSegmentGradient, TimelineSegmentState, } from "../components/custom/timeline";
|
|
5
5
|
export type { CardTier, CardSurface } from "../components/ui/card";
|
|
6
|
+
export type { GlassPanelVariant } from "../components/custom/glass-panel";
|
|
6
7
|
export type { InstrumentChassisPhase } from "../components/custom/instrument-chassis";
|
|
7
8
|
export type { ToastVariant } from "../components/ui/toast";
|
|
8
|
-
export type { GlassUnderlineClock, GlassUnderlineVariant, GlassUnderlinePaths, GlassUnderlineProps, GlassUnderlineExpose, } from "../components/custom/underline";
|
|
9
9
|
export type { AlertVariants } from "../components/ui/alert";
|
|
10
10
|
export type { AvatarVariants } from "../components/ui/avatar";
|
|
11
11
|
export type { BadgeVariants } from "../components/ui/badge";
|
|
@@ -17,13 +17,14 @@ export type { ToggleChipVariants } from "../components/custom/toggle-chip";
|
|
|
17
17
|
export type { MenuItemVariants } from "../components/ui/_shared";
|
|
18
18
|
export type { ScrollTrackerOptions, SidebarIndexEntry, SidebarSection, SidebarState, TreeIndexEntry, TreeNode, } from "../composables/sidebar";
|
|
19
19
|
export type { FuzzySearchState, SearchableItem, SearchIndex, SearchResult, UseFuzzySearchOptions, } from "../components/custom/search";
|
|
20
|
+
export type { GlassPanelProps } from "../components/custom/glass-panel";
|
|
20
21
|
export type { ToastType } from "../components/ui/toast";
|
|
22
|
+
export type { DeckProgressProps } from "../components/custom/deck-progress";
|
|
21
23
|
export type { UseClipboardOptions, UseClipboardReturn, } from "../composables/dom/useClipboard";
|
|
22
24
|
export type { UseUserInvalidAriaOptions, UseUserInvalidAriaReturn, } from "../composables/dom/useUserInvalidAria";
|
|
23
25
|
export type { ViewTransitionResult } from "../composables/motion/useViewTransition";
|
|
24
26
|
export type { Countup, UseCountupOptions } from "../composables/motion/useCountup";
|
|
25
|
-
export type {
|
|
26
|
-
export type { MotionCurve, MotionCurveKind, CurveFn, SpringPresetRow, SpringPresetName, } from "../composables/motion/curves";
|
|
27
|
+
export type { HeaderRibbonPosition, HeaderRibbonProps, } from "../components/custom/header-ribbon";
|
|
27
28
|
export type { ConstellationProps, ConstellationField, ConstellationWarp, } from "../components/custom/constellation";
|
|
28
29
|
export type { FourierFieldProps, FourierFieldVariant, } from "../components/custom/fourier-field";
|
|
29
30
|
export type { MetricCellAppearance, MetricCellProps, } from "../components/custom/metric-cell";
|
package/dist/api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./presets-BP_ALM0m.js";
|
|
2
|
+
export { r as DEFAULT_AURORA_CONFIG, t as MAX_NUCLEI, n as MAX_STOPS, e as PAPER_WASH_GROUND };
|