@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
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
2
|
+
import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, onBeforeUnmount as s, openBlock as c, ref as l, renderSlot as u } from "vue";
|
|
3
|
+
//#region src/components/custom/header-ribbon/HeaderRibbon.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var d = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "pointer-events-auto shrink-0 mr-2"
|
|
7
|
+
}, f = /* @__PURE__ */ e(/* @__PURE__ */ a({
|
|
8
|
+
__name: "HeaderRibbon",
|
|
9
|
+
props: {
|
|
10
|
+
position: { default: "left" },
|
|
11
|
+
hideTimeoutMs: { default: 2e3 }
|
|
12
|
+
},
|
|
13
|
+
setup(e, { expose: a }) {
|
|
14
|
+
let f = e, p = l(!1), m = l(!1), h = l(!1), g = l(!1), _, v = t(() => p.value || m.value);
|
|
15
|
+
function y() {
|
|
16
|
+
_ != null && (clearTimeout(_), _ = void 0);
|
|
17
|
+
}
|
|
18
|
+
function b() {
|
|
19
|
+
g.value || (y(), _ = setTimeout(() => {
|
|
20
|
+
p.value = !1;
|
|
21
|
+
}, f.hideTimeoutMs));
|
|
22
|
+
}
|
|
23
|
+
function x() {
|
|
24
|
+
g.value = !0, y(), p.value = !0;
|
|
25
|
+
}
|
|
26
|
+
function S() {
|
|
27
|
+
g.value = !1, m.value || b();
|
|
28
|
+
}
|
|
29
|
+
function C() {
|
|
30
|
+
m.value ? (m.value = !1, h.value = !1, b()) : (m.value = !0, p.value = !0, h.value = !0, y());
|
|
31
|
+
}
|
|
32
|
+
return s(y), a({
|
|
33
|
+
isPinned: m,
|
|
34
|
+
isExpanded: p,
|
|
35
|
+
isVisible: v,
|
|
36
|
+
isToggled: h
|
|
37
|
+
}), (t, a) => (c(), r("div", {
|
|
38
|
+
class: o(["fixed z-dock pointer-events-none w-fit flex items-center px-4 pt-4 pb-2", e.position === "left" ? "top-0 left-0" : "top-0 right-0"]),
|
|
39
|
+
onMouseleave: S
|
|
40
|
+
}, [t.$slots.left ? (c(), r("div", d, [u(t.$slots, "left", {}, void 0, !0)])) : n("", !0), i("div", {
|
|
41
|
+
class: "pointer-events-auto flex items-center h-6",
|
|
42
|
+
onMouseenter: x
|
|
43
|
+
}, [
|
|
44
|
+
e.position === "right" ? (c(), r("div", {
|
|
45
|
+
key: 0,
|
|
46
|
+
class: o(["header-items-wrapper header-items-right flex items-center gap-3", v.value ? "" : "header-collapsed-right"])
|
|
47
|
+
}, [u(t.$slots, "items", {}, void 0, !0)], 2)) : n("", !0),
|
|
48
|
+
i("div", {
|
|
49
|
+
class: "shrink-0",
|
|
50
|
+
onClick: C
|
|
51
|
+
}, [u(t.$slots, "anchor", {
|
|
52
|
+
pinned: m.value,
|
|
53
|
+
toggled: h.value
|
|
54
|
+
}, void 0, !0)]),
|
|
55
|
+
e.position === "left" ? (c(), r("div", {
|
|
56
|
+
key: 1,
|
|
57
|
+
class: o(["header-items-wrapper header-items-left flex items-center gap-3", v.value ? "" : "header-collapsed-left"])
|
|
58
|
+
}, [u(t.$slots, "items", {}, void 0, !0)], 2)) : n("", !0)
|
|
59
|
+
], 32)], 34));
|
|
60
|
+
}
|
|
61
|
+
}), [["__scopeId", "data-v-7f77154a"]]);
|
|
62
|
+
//#endregion
|
|
63
|
+
export { f as HeaderRibbon };
|
package/dist/hover-popover.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./HoverPopover-
|
|
1
|
+
import { t as e } from "./HoverPopover-2LOIW34a.js";
|
|
2
2
|
export { e as HoverPopover };
|
package/dist/icon-tooltip.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./IconTooltip-
|
|
1
|
+
import { t as e } from "./IconTooltip-Cus0fvK0.js";
|
|
2
2
|
export { e as IconTooltip };
|
package/dist/index.d.ts
CHANGED
|
@@ -36,14 +36,17 @@ export * from "./components/ui/toggle";
|
|
|
36
36
|
export * from "./components/ui/toggle-group";
|
|
37
37
|
export * from "./components/ui/tooltip";
|
|
38
38
|
export * from "./components/custom/instrument-chassis";
|
|
39
|
+
export * from "./components/custom/instrument-rail";
|
|
39
40
|
export * from "./components/custom/hover-popover";
|
|
40
41
|
export * from "./components/custom/configurator";
|
|
41
42
|
export * from "./components/custom/scrolling-text";
|
|
43
|
+
export * from "./components/custom/deck-progress";
|
|
42
44
|
export * from "./composables/reactive";
|
|
43
45
|
export * from "./composables/dom";
|
|
44
46
|
export * from "./composables/glass";
|
|
45
47
|
export * from "./composables/sortable";
|
|
46
48
|
export { startViewTransition, supportsViewTransitions, type ViewTransitionResult, } from "./composables/motion/useViewTransition";
|
|
49
|
+
export { useRouteTransition, supportsRouteTransitions, type RouteTransitionOptions, type RouteTransitionResult, type UseRouteTransitionReturn, } from "./composables/motion/useRouteTransition";
|
|
47
50
|
export { vReveal } from "./composables/motion/vReveal";
|
|
48
51
|
export { useTextHighlight, type HighlightMatcher, type UseTextHighlightControls, } from "./composables/motion/useTextHighlight";
|
|
49
52
|
export * from "./utils";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components/custom/instrument-rail";
|
package/dist/keyboard.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./useKeyboardShortcuts-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./useKeyboardShortcuts-CyIYrndH.js";
|
|
2
2
|
export { i as formatCombo, n as formatComboParts, r as isMac, t as registerShortcut, e as useRegisteredShortcuts };
|
package/dist/labeled-field.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-
|
|
2
|
+
import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-T32cVFeM.js";
|
|
3
3
|
import { t as o } from "./SelectGroup-BFiod7X2.js";
|
|
4
|
-
import { n as s } from "./slider-
|
|
5
|
-
import { t as c } from "./Switch-
|
|
6
|
-
import { t as l } from "./Input-
|
|
7
|
-
import { t as u } from "./IconTooltip-
|
|
4
|
+
import { n as s } from "./slider-ClgpP7EB.js";
|
|
5
|
+
import { t as c } from "./Switch-Ch-k3Rv-.js";
|
|
6
|
+
import { t as l } from "./Input-xuDwALQR.js";
|
|
7
|
+
import { t as u } from "./IconTooltip-Cus0fvK0.js";
|
|
8
8
|
import { Fragment as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeClass as b, openBlock as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useId as E, withCtx as D } from "vue";
|
|
9
9
|
//#region src/components/custom/labeled-field/LabeledField.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var O = { class: "labeled-field" }, k = ["id", "for"], A = {
|
|
@@ -15,23 +15,7 @@ function t(e, t, n) {
|
|
|
15
15
|
}
|
|
16
16
|
return r;
|
|
17
17
|
}
|
|
18
|
-
function n(t) {
|
|
19
|
-
let n = t.length;
|
|
20
|
-
if (n === 0) return [];
|
|
21
|
-
let r = [0], i = Math.floor(n / 2);
|
|
22
|
-
for (let e = 1; e <= i; e++) r.push(e), e !== n - e && r.push(-e);
|
|
23
|
-
let a = [];
|
|
24
|
-
for (let i of r) {
|
|
25
|
-
let r = 0, o = 0;
|
|
26
|
-
for (let e = 0; e < n; e++) {
|
|
27
|
-
let [a, s] = t[e], c = -2 * Math.PI * i * e / n, l = Math.cos(c), u = Math.sin(c);
|
|
28
|
-
r += a * l - s * u, o += a * u + s * l;
|
|
29
|
-
}
|
|
30
|
-
a.push(e(i, r / n, o / n));
|
|
31
|
-
}
|
|
32
|
-
return a;
|
|
33
|
-
}
|
|
34
|
-
function r(t, n = {}) {
|
|
18
|
+
function n(t, n = {}) {
|
|
35
19
|
let { harmonics: r = 4, harmonicScale: i = .22 } = n, a = .62 + t() * .18, o = a * (.34 + t() * .3), s = t() * Math.PI * 2, c = t() * Math.PI * 2, l = [e(1, a * Math.cos(s), a * Math.sin(s)), e(-1, o * Math.cos(c), o * Math.sin(c))];
|
|
36
20
|
for (let n = 0; n < r; n++) {
|
|
37
21
|
let r = 2 + Math.floor(n / 2), a = n % 2 == 0 ? r : -r, o = i / r * (.4 + t() * .6), s = t() * Math.PI * 2;
|
|
@@ -40,4 +24,4 @@ function r(t, n = {}) {
|
|
|
40
24
|
return l;
|
|
41
25
|
}
|
|
42
26
|
//#endregion
|
|
43
|
-
export { t as
|
|
27
|
+
export { n, t as r, e as t };
|
package/dist/metric-badge.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./MetricBadge-
|
|
1
|
+
import { t as e } from "./MetricBadge-BZVWIxNy.js";
|
|
2
2
|
export { e as MetricBadge };
|
package/dist/metric-stack.js
CHANGED
|
@@ -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 { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderSlot as f, resolveDynamicComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/custom/metric-stack/MetricStack.vue
|
package/dist/motion-core.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./vReveal-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./vReveal-zUIQk-rJ.js";
|
|
2
2
|
import { n as i } from "./supportsCssTimeline-C5oe0lnD.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { n as a, t as o } from "./useViewTransition-DaN5Zrox.js";
|
|
4
|
+
import { t as s } from "./useTextHighlight-CWEi25hf.js";
|
|
5
|
+
import { n as c, t as l } from "./useIntersectionPause-Cck5Uxk8.js";
|
|
6
|
+
import { t as u } from "./useScrollProgress-CffFGLa5.js";
|
|
7
|
+
import { n as d, t as f } from "./constants-yKeKnE84.js";
|
|
8
|
+
import { computed as p, getCurrentScope as m, onBeforeUnmount as h, onScopeDispose as g, reactive as _, readonly as v, ref as y, watch as b } from "vue";
|
|
8
9
|
//#region src/composables/motion/useStaggerReveal.ts
|
|
9
|
-
var
|
|
10
|
-
function
|
|
11
|
-
let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a =
|
|
10
|
+
var x = i();
|
|
11
|
+
function S(e = {}) {
|
|
12
|
+
let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = y([]), o = _({}), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Set(), l = x || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
|
|
12
13
|
for (let r of e) {
|
|
13
14
|
let e = r.target, i = s.get(e);
|
|
14
15
|
if (i !== void 0) if (r.isIntersecting) {
|
|
@@ -25,9 +26,9 @@ function b(e = {}) {
|
|
|
25
26
|
function u(e, t) {
|
|
26
27
|
if (!e) return;
|
|
27
28
|
let n = t ?? a.value.length;
|
|
28
|
-
s.has(e) || (s.set(e, n), a.value.push(e), o[n] =
|
|
29
|
+
s.has(e) || (s.set(e, n), a.value.push(e), o[n] = x, l?.observe(e));
|
|
29
30
|
}
|
|
30
|
-
return
|
|
31
|
+
return h(() => {
|
|
31
32
|
l?.disconnect();
|
|
32
33
|
for (let e of c) clearTimeout(e);
|
|
33
34
|
c.clear();
|
|
@@ -39,11 +40,11 @@ function b(e = {}) {
|
|
|
39
40
|
}
|
|
40
41
|
//#endregion
|
|
41
42
|
//#region src/composables/motion/useStagger.ts
|
|
42
|
-
function
|
|
43
|
+
function C() {
|
|
43
44
|
return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
-
let t = Math.max(0, Math.floor(e.items)), n = e.delayMs ?? 80, r = e.initialDelayMs ?? 0, i = e.immediate !== !1, a = e.respectReducedMotion !== !1, o =
|
|
46
|
+
function w(e) {
|
|
47
|
+
let t = Math.max(0, Math.floor(e.items)), n = e.delayMs ?? 80, r = e.initialDelayMs ?? 0, i = e.immediate !== !1, a = e.respectReducedMotion !== !1, o = y(Array(t).fill(!1)), s = y(t === 0), c = /* @__PURE__ */ new Set();
|
|
47
48
|
function l() {
|
|
48
49
|
for (let e of c) clearTimeout(e);
|
|
49
50
|
c.clear();
|
|
@@ -59,7 +60,7 @@ function S(e) {
|
|
|
59
60
|
s.value = !0;
|
|
60
61
|
return;
|
|
61
62
|
}
|
|
62
|
-
if (a &&
|
|
63
|
+
if (a && C()) {
|
|
63
64
|
d();
|
|
64
65
|
return;
|
|
65
66
|
}
|
|
@@ -71,7 +72,7 @@ function S(e) {
|
|
|
71
72
|
c.add(a);
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
|
-
return i && f(),
|
|
75
|
+
return i && f(), g(l), {
|
|
75
76
|
revealed: o,
|
|
76
77
|
start: f,
|
|
77
78
|
reset: u,
|
|
@@ -80,12 +81,12 @@ function S(e) {
|
|
|
80
81
|
}
|
|
81
82
|
//#endregion
|
|
82
83
|
//#region src/composables/motion/useYieldToMain.ts
|
|
83
|
-
function
|
|
84
|
+
function T() {
|
|
84
85
|
let e = globalThis.scheduler;
|
|
85
86
|
return typeof e?.yield == "function" ? e.yield.bind(e) : null;
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
-
let e =
|
|
88
|
+
function E() {
|
|
89
|
+
let e = T();
|
|
89
90
|
return e ? e() : typeof MessageChannel == "function" ? new Promise((e) => {
|
|
90
91
|
let t = new MessageChannel();
|
|
91
92
|
t.port1.onmessage = () => {
|
|
@@ -93,60 +94,60 @@ function w() {
|
|
|
93
94
|
}, t.port2.postMessage(void 0);
|
|
94
95
|
}) : new Promise((e) => setTimeout(e, 0));
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function D() {
|
|
97
98
|
return {
|
|
98
|
-
hasNativeYield:
|
|
99
|
-
yield:
|
|
99
|
+
hasNativeYield: T() !== null,
|
|
100
|
+
yield: E
|
|
100
101
|
};
|
|
101
102
|
}
|
|
102
103
|
//#endregion
|
|
103
104
|
//#region src/composables/motion/useRAFLoop.ts
|
|
104
|
-
var
|
|
105
|
-
function
|
|
105
|
+
var O = "(prefers-reduced-motion: reduce)";
|
|
106
|
+
function k() {
|
|
106
107
|
return typeof globalThis.requestAnimationFrame == "function" ? globalThis.requestAnimationFrame.bind(globalThis) : null;
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function A() {
|
|
109
110
|
return typeof globalThis.cancelAnimationFrame == "function" ? globalThis.cancelAnimationFrame.bind(globalThis) : null;
|
|
110
111
|
}
|
|
111
|
-
function
|
|
112
|
+
function j() {
|
|
112
113
|
return typeof window > "u" ? null : window;
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
-
let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t, a =
|
|
116
|
-
function
|
|
117
|
-
return !S && l.value && !u.value && !
|
|
115
|
+
function M(e, t = {}) {
|
|
116
|
+
let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t, a = y(!1), o = y(!1), s = y(!1), l = y(!1), u = y(!1), d = p(() => l.value && !a.value && (u.value || s.value || i && o.value || !k())), f = null, h = null, _ = 0, x = 0, S = !1, C = null;
|
|
117
|
+
function w() {
|
|
118
|
+
return !S && l.value && !u.value && !s.value && !(i && o.value) && !!k();
|
|
118
119
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
120
|
+
function T() {
|
|
121
|
+
f !== null && (A()?.(f), f = null), a.value = !1, h = null;
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
-
if (
|
|
124
|
-
let t =
|
|
125
|
-
t && (a.value = !0,
|
|
126
|
-
if (
|
|
127
|
-
|
|
123
|
+
function D() {
|
|
124
|
+
if (f !== null || !w()) return;
|
|
125
|
+
let t = k();
|
|
126
|
+
t && (a.value = !0, f = t((t) => {
|
|
127
|
+
if (f = null, !w()) {
|
|
128
|
+
T();
|
|
128
129
|
return;
|
|
129
130
|
}
|
|
130
|
-
let n =
|
|
131
|
-
|
|
131
|
+
let n = h === null ? 0 : Math.max(0, t - h);
|
|
132
|
+
h = t, _ += n, e({
|
|
132
133
|
now: t,
|
|
133
134
|
delta: n,
|
|
134
|
-
elapsed:
|
|
135
|
+
elapsed: _,
|
|
135
136
|
frame: x++
|
|
136
|
-
}),
|
|
137
|
+
}), w() ? D() : T();
|
|
137
138
|
}));
|
|
138
139
|
}
|
|
139
140
|
function M() {
|
|
140
|
-
|
|
141
|
+
w() ? D() : T();
|
|
141
142
|
}
|
|
142
143
|
function N() {
|
|
143
|
-
|
|
144
|
+
h = null, _ = 0, x = 0;
|
|
144
145
|
}
|
|
145
146
|
function P() {
|
|
146
147
|
S || (N(), l.value = !0, u.value = !1, M());
|
|
147
148
|
}
|
|
148
149
|
function F() {
|
|
149
|
-
l.value = !1, u.value = !1, N(),
|
|
150
|
+
l.value = !1, u.value = !1, N(), T();
|
|
150
151
|
}
|
|
151
152
|
function I() {
|
|
152
153
|
l.value && (u.value = !0, M());
|
|
@@ -155,47 +156,47 @@ function A(e, t = {}) {
|
|
|
155
156
|
S || (u.value = !1, M());
|
|
156
157
|
}
|
|
157
158
|
if (r) {
|
|
158
|
-
let { hidden: e } =
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
let { hidden: e } = c();
|
|
160
|
+
s.value = e.value, b(e, (e) => {
|
|
161
|
+
s.value = e, M();
|
|
161
162
|
}, { flush: "sync" });
|
|
162
163
|
}
|
|
163
164
|
if (i) {
|
|
164
|
-
let e =
|
|
165
|
+
let e = j(), t = typeof e?.matchMedia == "function" ? e.matchMedia(O) : null;
|
|
165
166
|
if (t) {
|
|
166
167
|
let e = (e) => {
|
|
167
|
-
|
|
168
|
+
o.value = e.matches, M();
|
|
168
169
|
};
|
|
169
|
-
|
|
170
|
+
o.value = t.matches, typeof t.addEventListener == "function" ? (t.addEventListener("change", e), C = () => t.removeEventListener("change", e)) : typeof t.addListener == "function" && (t.addListener(e), C = () => t.removeListener?.(e));
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
173
|
function R() {
|
|
173
174
|
S || (S = !0, F(), C?.(), C = null);
|
|
174
175
|
}
|
|
175
|
-
return
|
|
176
|
-
isActive:
|
|
177
|
-
isPaused:
|
|
178
|
-
isReducedMotion:
|
|
176
|
+
return m() && g(R), n && P(), {
|
|
177
|
+
isActive: v(a),
|
|
178
|
+
isPaused: v(d),
|
|
179
|
+
isReducedMotion: v(o),
|
|
179
180
|
start: P,
|
|
180
181
|
stop: F,
|
|
181
182
|
pause: I,
|
|
182
183
|
resume: L,
|
|
183
184
|
dispose: R,
|
|
184
|
-
yieldToMain:
|
|
185
|
+
yieldToMain: E
|
|
185
186
|
};
|
|
186
187
|
}
|
|
187
188
|
//#endregion
|
|
188
189
|
//#region src/composables/motion/usePrioritizedTask.ts
|
|
189
|
-
function
|
|
190
|
+
function N() {
|
|
190
191
|
if (!e()) return null;
|
|
191
192
|
let t = globalThis.scheduler;
|
|
192
193
|
return t?.postTask?.bind(t) ?? null;
|
|
193
194
|
}
|
|
194
|
-
function
|
|
195
|
+
function P() {
|
|
195
196
|
let e = /* @__PURE__ */ Error("The task was aborted.");
|
|
196
197
|
return e.name = "AbortError", e;
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
+
function F(e) {
|
|
199
200
|
let t = e.filter((e) => e != null);
|
|
200
201
|
if (t.length === 0) return;
|
|
201
202
|
if (t.length === 1) return t[0];
|
|
@@ -210,20 +211,20 @@ function N(e) {
|
|
|
210
211
|
}
|
|
211
212
|
return n.signal;
|
|
212
213
|
}
|
|
213
|
-
function
|
|
214
|
-
let { priority: n, signal: r, delay: i } = t, a =
|
|
214
|
+
function I(e, t = {}) {
|
|
215
|
+
let { priority: n, signal: r, delay: i } = t, a = N();
|
|
215
216
|
return a ? a(e, {
|
|
216
217
|
priority: n,
|
|
217
218
|
signal: r,
|
|
218
219
|
delay: i
|
|
219
220
|
}) : new Promise((t, n) => {
|
|
220
221
|
if (r?.aborted) {
|
|
221
|
-
n(
|
|
222
|
+
n(P());
|
|
222
223
|
return;
|
|
223
224
|
}
|
|
224
225
|
let a = () => {
|
|
225
226
|
if (r?.aborted) {
|
|
226
|
-
n(
|
|
227
|
+
n(P());
|
|
227
228
|
return;
|
|
228
229
|
}
|
|
229
230
|
try {
|
|
@@ -240,20 +241,20 @@ function P(e, t = {}) {
|
|
|
240
241
|
i && i > 0 ? setTimeout(o, i) : o();
|
|
241
242
|
});
|
|
242
243
|
}
|
|
243
|
-
function
|
|
244
|
+
function L(e) {
|
|
244
245
|
let t = globalThis.TaskController;
|
|
245
246
|
return typeof t == "function" ? new t(e ? { priority: e } : void 0) : null;
|
|
246
247
|
}
|
|
247
|
-
function
|
|
248
|
-
let t =
|
|
248
|
+
function R(e) {
|
|
249
|
+
let t = L(e);
|
|
249
250
|
return {
|
|
250
|
-
postTask: (n, r = {}) =>
|
|
251
|
+
postTask: (n, r = {}) => I(n, {
|
|
251
252
|
priority: e,
|
|
252
253
|
...r,
|
|
253
|
-
signal:
|
|
254
|
+
signal: F([t?.signal, r.signal])
|
|
254
255
|
}),
|
|
255
256
|
abort: (e) => t?.abort(e)
|
|
256
257
|
};
|
|
257
258
|
}
|
|
258
259
|
//#endregion
|
|
259
|
-
export {
|
|
260
|
+
export { f as DAMPING, d as SNAP_THRESHOLD, I as postTaskSafe, o as startViewTransition, t as supportsRouteTransitions, a as supportsViewTransitions, l as useIntersectionPause, R as usePrioritizedTask, M as useRAFLoop, n as useRouteTransition, u as useScrollProgress, w as useStagger, S as useStaggerReveal, s as useTextHighlight, D as useYieldToMain, r as vReveal, E as yieldToMain };
|
package/dist/motion.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { n as e, t } from "./useSpringMount-
|
|
2
|
-
import { n, t as r } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { AnimationOptionError as f, Draggable as p, ElementMorph as m, ManualTimeline as h, NumericAnimation as g, NumericAnimation as _, RAFPlayback as v, ScrollTimeline as y, Sequence as b, SmoothProgress as x, SpringProgress as S, Timeline as C, UnknownEasingError as w, createNativeTimeline as T, decay as E, decayRest as D, drag as O, flip as k, flipShared as A, loadAnimationEngine as j, resolveEasing as M, springLinearStops as N, springTimingFunction as P, stagger as F, toEasing as I } from "@mkbabb/keyframes.js";
|
|
1
|
+
import { n as e, t } from "./useSpringMount-BJSHcLl3.js";
|
|
2
|
+
import { n, t as r } from "./constants-yKeKnE84.js";
|
|
3
|
+
import { t as i } from "./useAnimatedNumber-Bcpy5Etf.js";
|
|
4
|
+
import { computed as a, onBeforeUnmount as o, onScopeDispose as s, ref as c, shallowRef as l } from "vue";
|
|
5
|
+
import { NumericAnimation as u } from "@mkbabb/keyframes.js";
|
|
7
6
|
//#region src/composables/motion/useSpringPress.ts
|
|
8
|
-
function
|
|
9
|
-
let n =
|
|
7
|
+
function d(t = {}) {
|
|
8
|
+
let n = c(0), r = e(n, {
|
|
10
9
|
response: t.response ?? .25,
|
|
11
10
|
dampingFraction: t.dampingFraction ?? .7,
|
|
12
11
|
initial: t.initial ?? 0,
|
|
@@ -36,16 +35,16 @@ function L(t = {}) {
|
|
|
36
35
|
}
|
|
37
36
|
//#endregion
|
|
38
37
|
//#region src/composables/motion/useNumericTransition.ts
|
|
39
|
-
function
|
|
40
|
-
let t =
|
|
38
|
+
function f(e) {
|
|
39
|
+
let t = c(0), n = c(!1), { from: r, to: i, duration: a, timingFunction: s, onFrame: d } = e, f = l(new u([r, i], {
|
|
41
40
|
duration: a,
|
|
42
|
-
timingFunction:
|
|
41
|
+
timingFunction: s
|
|
43
42
|
}));
|
|
44
|
-
async function
|
|
45
|
-
n.value &&
|
|
43
|
+
async function p() {
|
|
44
|
+
n.value && f.value.stop(), n.value = !0, t.value = 0;
|
|
46
45
|
try {
|
|
47
|
-
await
|
|
48
|
-
|
|
46
|
+
await f.value.play((e) => {
|
|
47
|
+
d?.(e);
|
|
49
48
|
let n = Object.keys(r);
|
|
50
49
|
if (n.length > 0) {
|
|
51
50
|
let a = n[0], o = i[a] - r[a];
|
|
@@ -59,34 +58,34 @@ function R(e) {
|
|
|
59
58
|
n.value = !1;
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
|
-
function
|
|
63
|
-
|
|
61
|
+
function m() {
|
|
62
|
+
f.value.stop(), n.value = !1;
|
|
64
63
|
}
|
|
65
|
-
return
|
|
66
|
-
|
|
64
|
+
return o(() => {
|
|
65
|
+
m();
|
|
67
66
|
}), {
|
|
68
|
-
start:
|
|
69
|
-
stop:
|
|
67
|
+
start: p,
|
|
68
|
+
stop: m,
|
|
70
69
|
progress: t,
|
|
71
70
|
playing: n
|
|
72
71
|
};
|
|
73
72
|
}
|
|
74
73
|
//#endregion
|
|
75
74
|
//#region src/composables/motion/useAnimatedNumberMap.ts
|
|
76
|
-
function
|
|
77
|
-
let { keys: t, source: n, ...r } = e,
|
|
75
|
+
function p(e) {
|
|
76
|
+
let { keys: t, source: n, ...r } = e, o = {};
|
|
78
77
|
for (let e of t) {
|
|
79
|
-
let t = n(e), { current:
|
|
80
|
-
|
|
78
|
+
let t = n(e), { current: s } = i(() => t.value, r);
|
|
79
|
+
o[e] = a(() => t.value === null ? null : s.value);
|
|
81
80
|
}
|
|
82
|
-
return
|
|
81
|
+
return o;
|
|
83
82
|
}
|
|
84
83
|
//#endregion
|
|
85
84
|
//#region src/composables/motion/useCountup.ts
|
|
86
|
-
function
|
|
85
|
+
function m() {
|
|
87
86
|
return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
88
87
|
}
|
|
89
|
-
function
|
|
88
|
+
function h(e, t) {
|
|
90
89
|
let { easeFn: n, skip: r } = t, i = /* @__PURE__ */ new Map();
|
|
91
90
|
function a(e) {
|
|
92
91
|
let t = i.get(e);
|
|
@@ -95,12 +94,12 @@ function V(e, t) {
|
|
|
95
94
|
function o(e) {
|
|
96
95
|
e.querySelectorAll("[data-countup]").forEach((e) => {
|
|
97
96
|
let t = parseFloat(e.getAttribute("data-countup") ?? "0") || 0, r = parseFloat(e.getAttribute("data-countup-dur") ?? "1200"), o = parseFloat(e.getAttribute("data-countup-delay") ?? "0");
|
|
98
|
-
if (a(e),
|
|
97
|
+
if (a(e), m()) {
|
|
99
98
|
e.textContent = String(t);
|
|
100
99
|
return;
|
|
101
100
|
}
|
|
102
101
|
e.textContent = "0";
|
|
103
|
-
let s = new
|
|
102
|
+
let s = new u([{ v: 0 }, { v: t }], {
|
|
104
103
|
duration: r,
|
|
105
104
|
timingFunction: n
|
|
106
105
|
});
|
|
@@ -120,24 +119,24 @@ function V(e, t) {
|
|
|
120
119
|
} else c();
|
|
121
120
|
});
|
|
122
121
|
}
|
|
123
|
-
function
|
|
122
|
+
function c() {
|
|
124
123
|
if (r?.()) return;
|
|
125
124
|
let t = e.value?.querySelector("[data-state=\"active\"]");
|
|
126
125
|
t && o(t);
|
|
127
126
|
}
|
|
128
|
-
function
|
|
127
|
+
function l() {
|
|
129
128
|
document.querySelectorAll("[data-countup]").forEach((e) => {
|
|
130
129
|
a(e), e.textContent = e.getAttribute("data-countup") ?? e.textContent;
|
|
131
130
|
});
|
|
132
131
|
}
|
|
133
|
-
function
|
|
132
|
+
function d() {
|
|
134
133
|
for (let e of [...i.keys()]) a(e);
|
|
135
134
|
}
|
|
136
|
-
return
|
|
137
|
-
runActive:
|
|
138
|
-
settle:
|
|
139
|
-
cancel:
|
|
135
|
+
return s(d), {
|
|
136
|
+
runActive: c,
|
|
137
|
+
settle: l,
|
|
138
|
+
cancel: d
|
|
140
139
|
};
|
|
141
140
|
}
|
|
142
141
|
//#endregion
|
|
143
|
-
export {
|
|
142
|
+
export { r as DAMPING, n as SNAP_THRESHOLD, i as useAnimatedNumber, p as useAnimatedNumberMap, h as useCountup, f as useNumericTransition, e as useSpring, t as useSpringMount, d as useSpringPress };
|
package/dist/notification.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./Notification-
|
|
1
|
+
import { t as e } from "./Notification-DLMhblXR.js";
|
|
2
2
|
export { e as Notification };
|
package/dist/number-field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./NumberFieldContent-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./NumberFieldContent-BbLOh8RU.js";
|
|
2
2
|
export { e as NumberField, i as NumberFieldContent, n as NumberFieldDecrement, r as NumberFieldIncrement, t as NumberFieldInput };
|
package/dist/popover.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./PopoverContent-
|
|
1
|
+
import { n as e, r as t, t as n } from "./PopoverContent-BId6ggf_.js";
|
|
2
2
|
export { t as Popover, n as PopoverContent, e as PopoverTrigger };
|
|
@@ -66,6 +66,19 @@ var e = 6, t = 8, n = {
|
|
|
66
66
|
saturation: 1,
|
|
67
67
|
paperGrain: .008,
|
|
68
68
|
alpha: 1
|
|
69
|
+
}, r = {
|
|
70
|
+
medium: "crayon",
|
|
71
|
+
strokeOrient: "tensor",
|
|
72
|
+
granulation: .3,
|
|
73
|
+
canvasGrain: .5,
|
|
74
|
+
strokeAmount: .35,
|
|
75
|
+
strokeAnisotropy: .5,
|
|
76
|
+
strokeLayers: 1,
|
|
77
|
+
impasto: 0,
|
|
78
|
+
brokenColor: 0,
|
|
79
|
+
wetEdge: 0,
|
|
80
|
+
saturation: .92,
|
|
81
|
+
paperGrain: .008
|
|
69
82
|
};
|
|
70
83
|
//#endregion
|
|
71
|
-
export { e as n, t as r, n as t };
|
|
84
|
+
export { r as i, e as n, t as r, n as t };
|
package/dist/progress.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./Progress-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./Progress-iEuD9pxG.js";
|
|
2
2
|
export { i as Progress, e as ProgressDefault, t as ProgressGradient, n as ProgressSectioned, r as useProgressGeometry };
|
package/dist/pulse.js
CHANGED
|
@@ -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, createCommentVNode as i, createElementBlock as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, openBlock as l, renderList as u, unref as d } from "vue";
|
|
4
4
|
//#region src/components/custom/pulse/Pulse.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var f = {
|
package/dist/reactive.js
CHANGED