@mkbabb/glass-ui 3.1.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardFooter-CSGcJkqa.js → CardFooter-3-VGho1J.js} +1 -1
- package/dist/{CommandShortcut-DWT19a2Y.js → CommandShortcut-C6lsz3pG.js} +3 -3
- package/dist/{ContextMenuSubContent-gAFxJ-qi.js → ContextMenuSubContent-DrWkXKQP.js} +4 -4
- package/dist/{DataTable-R8-Zidms.js → DataTable-BsrDYdoE.js} +3 -3
- package/dist/{DialogContent-2fALDSvc.js → DialogContent-B61rP8lj.js} +3 -3
- package/dist/{DialogFooter-ClrNEOVU.js → DialogFooter-Er0wA3K6.js} +2 -2
- package/dist/{DiscoGlyph-C3JfMnRV.js → DiscoGlyph-B7YooI2-.js} +1 -1
- package/dist/{GlyphFace-BRS8vUb7.js → GlyphFace-Bvk6OIas.js} +1 -1
- package/dist/{HoverPopover-CWFCfLx3.js → HoverPopover-BlEwqG7S.js} +1 -1
- package/dist/{IconTooltip-BkaA7tZ2.js → IconTooltip-DXveGjx7.js} +1 -1
- package/dist/{MetricBadge-DmAihkXd.js → MetricBadge-J_GBCb8e.js} +1 -1
- package/dist/{Notification-OqIpADml.js → Notification-DP_ApJLo.js} +3 -3
- package/dist/{NumberFieldContent-DTH9gb_N.js → NumberFieldContent-B6L6YrQz.js} +2 -2
- package/dist/{PopoverContent-EiklFrna.js → PopoverContent-CxEEUL7Y.js} +1 -1
- package/dist/{Progress-FApA9fm_.js → Progress-Bs44qWEM.js} +1 -1
- package/dist/{ScrollingText-BFd0i2zJ.js → ScrollingText-1Qjnwz6H.js} +2 -2
- package/dist/{SelectScrollDownButton-Dth8-wXQ.js → SelectScrollDownButton-BvvvAbuh.js} +4 -4
- package/dist/{Toaster-Bjlunvq4.js → Toaster-Brs6QjBU.js} +1 -1
- package/dist/{UnderlineTabs-DAWMLmJG.js → UnderlineTabs-B4FV2zi_.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api.js +1 -1
- package/dist/aurora.js +118 -150
- package/dist/badge.js +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +5 -5
- package/dist/{check-dwgetki8.js → check-CdkxGxXJ.js} +1 -1
- package/dist/{chevron-down-DILQA1t6.js → chevron-down-pBY8sYfV.js} +1 -1
- package/dist/{chevron-right-fS7fal2t.js → chevron-right-BjeKC22V.js} +1 -1
- package/dist/{chevron-up-BtYjYQOS.js → chevron-up-DBeNHUm1.js} +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/composables/color.d.ts +56 -8
- package/dist/components/custom/aurora/index.d.ts +2 -1
- package/dist/components/custom/aurora/presets.d.ts +1 -1
- package/dist/components/custom/aurora/shaders/aurora.frag.d.ts +1 -1
- package/dist/components/custom/configurator/Configurator.vue.d.ts +26 -0
- package/dist/components/custom/configurator/index.d.ts +1 -1
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +14 -3
- package/dist/components/custom/dock/GlassDock.vue.d.ts +17 -0
- package/dist/composables/dom/index.d.ts +1 -0
- package/dist/composables/dom/useTextHighlight.d.ts +40 -0
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/composables/motion/usePrioritizedTask.d.ts +41 -0
- package/dist/composables/sortable/useSortable.d.ts +13 -0
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +3 -3
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +2 -2
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/disco-glyph.js +1 -1
- package/dist/dock.js +98 -81
- package/dist/dom.js +6 -5
- package/dist/{dropdown-menu-BvRUamNs.js → dropdown-menu-naE0skDg.js} +4 -4
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +2 -2
- package/dist/forms.js +4 -4
- package/dist/glass-carousel.js +59 -52
- package/dist/glass-panel.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +231 -224
- package/dist/glyph-face.js +2 -2
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/instrument-chassis.js +1 -1
- package/dist/instrument-rail.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/metric-badge.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/{minimize-2-LsCJ_eNt.js → minimize-2-BP27-qBY.js} +1 -1
- package/dist/motion-core.js +155 -95
- package/dist/motion.js +3 -3
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-a-D93K1S.js → presets-BpTf63Hp.js} +4 -4
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/responsive-tabs.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/{search-DBAiUABx.js → search-DBG8qaRs.js} +1 -1
- package/dist/search.js +153 -149
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-CukNDezz.js → sheet-BnvZRXPq.js} +3 -3
- package/dist/sheet.js +1 -1
- package/dist/{slider-DJvHkTRe.js → slider-wx8ifVFB.js} +3 -3
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/styles/components.css +45 -0
- package/dist/styles/dock.css +71 -2
- package/dist/styles/index.css +5 -1
- package/dist/styles/tokens.css +11 -0
- package/dist/styles/utilities.css +56 -0
- package/dist/supportsCssTimeline-IQY3gfKD.js +12 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +25 -10
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-DKQYVB7s.js → useAnimatedNumber-BOxrS3a6.js} +1 -1
- package/dist/{useConfiguratorState-CtRBE0m_.js → useConfiguratorState-Dq2gNv4A.js} +52 -40
- package/dist/{useIdleReady-Cmkhm03v.js → useIdleReady-sLhGo6CL.js} +1 -1
- package/dist/useSortable-DLK9kwZp.js +189 -0
- package/dist/useTextHighlight-CLST6an0.js +72 -0
- package/dist/{useTouchGate-D9Zvrzyc.js → useTouchGate-XX8gHfay.js} +1 -1
- package/dist/{useViewTransition-DYIK6Gzb.js → useViewTransition-CUJM7fXT.js} +5 -3
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/platformSupport.d.ts +8 -0
- package/dist/{x-q7pJa83X.js → x-C4pz9nbD.js} +1 -1
- package/package.json +13 -3
- package/src/styles/dock.css +71 -2
- package/src/styles/index.css +1 -1
- package/src/styles/tokens.css +11 -0
- package/src/styles/utilities.css +56 -0
- package/dist/useSortable-Cq2Y1JLO.js +0 -175
- /package/dist/{CollapsibleContent-CVMOcYlV.js → CollapsibleContent-wlmlDujU.js} +0 -0
- /package/dist/{ContextMenuContent-otjFIu8v.js → ContextMenuContent-De01_83g.js} +0 -0
- /package/dist/{HoverCardContent-DaGrgJBO.js → HoverCardContent-DGUhpRVt.js} +0 -0
- /package/dist/{Input-DDpFn568.js → Input-IFsIzId2.js} +0 -0
- /package/dist/{InstrumentChassis-CnHTMxds.js → InstrumentChassis-CqKPBNqp.js} +0 -0
- /package/dist/{InstrumentRail-C6dEbi8E.js → InstrumentRail-CCjvKkpB.js} +0 -0
- /package/dist/{Label-DJty89bp.js → Label-D53EOwLE.js} +0 -0
- /package/dist/{ModalOverlay-iWiAgbYH.js → ModalOverlay-B_CBtqcE.js} +0 -0
- /package/dist/{PaperBackdrop-CeZ-w0R0.js → PaperBackdrop-Ds-wDsKf.js} +0 -0
- /package/dist/{SelectGroup-DdR4tdDY.js → SelectGroup-DAgcsfFw.js} +0 -0
- /package/dist/{SelectSeparator-CXm_hlqA.js → SelectSeparator-DN1jzLaI.js} +0 -0
- /package/dist/{Separator-D8AUMhxY.js → Separator-DXxac0j8.js} +0 -0
- /package/dist/{Switch-Cr1t_F_U.js → Switch-imA0Hdjs.js} +0 -0
- /package/dist/{ToggleGroupItem-OesUouE7.js → ToggleGroupItem-Cy7xHFEo.js} +0 -0
- /package/dist/{TooltipProvider-DE78vbEP.js → TooltipProvider-MZFRxOvT.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{badge-x46my_Fo.js → badge-Cl6JZ1B7.js} +0 -0
- /package/dist/{button-C0aHmBbt.js → button-DS3ULf5i.js} +0 -0
- /package/dist/{constants-DwBwnG8N.js → constants-DfWPi8kh.js} +0 -0
- /package/dist/{createLucideIcon-Bn9a1b70.js → createLucideIcon-DuDoe_ra.js} +0 -0
- /package/dist/{dockContext-D5NZCWJs.js → dockContext-DM58L1Jt.js} +0 -0
- /package/dist/{keys-CaTQS-vx.js → keys-SIKQYNx1.js} +0 -0
- /package/dist/{menuItemVariants-BsbGNq9C.js → menuItemVariants-C2QlXqT3.js} +0 -0
- /package/dist/{useGlassRenderer-Ds-nmrGz.js → useGlassRenderer-C98tZnJ7.js} +0 -0
- /package/dist/{useGlobalDark-B0WvLJE3.js → useGlobalDark-BUUTZvkU.js} +0 -0
- /package/dist/{useIntersectionPause-IY2CwPQb.js → useIntersectionPause-CUmANkoc.js} +0 -0
- /package/dist/{useInterval-DVgGUf_y.js → useInterval-B58LmYth.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Dpw_RUcB.js → useKeyboardShortcuts-BQfnAHHW.js} +0 -0
- /package/dist/{useResizeObserver-Cg9npuM3.js → useResizeObserver-C_7GjpRn.js} +0 -0
- /package/dist/{useSpringMount-Cfk1XK1R.js → useSpringMount-CnizvZGm.js} +0 -0
- /package/dist/{useTimer-NAaj9zNq.js → useTimer-6FoosoDY.js} +0 -0
- /package/dist/{useUserInvalidAria-DVu1eTXG.js → useUserInvalidAria-BW5iyqWR.js} +0 -0
package/dist/glyph-face.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./keys-
|
|
2
|
-
import { t as r } from "./GlyphFace-
|
|
1
|
+
import { n as e, r as t, t as n } from "./keys-SIKQYNx1.js";
|
|
2
|
+
import { t as r } from "./GlyphFace-Bvk6OIas.js";
|
|
3
3
|
export { n as GLYPH_FACE_SILHOUETTE_KEY, r as GlyphFace, e as provideGlyphFaceSilhouette, t as useOptionalGlyphFaceSilhouette };
|
package/dist/header-ribbon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
2
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
3
|
//#region src/components/custom/header-ribbon/HeaderRibbon.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var d = {
|
package/dist/hover-card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./HoverCardContent-
|
|
1
|
+
import { n as e, r as t, t as n } from "./HoverCardContent-DGUhpRVt.js";
|
|
2
2
|
export { t as HoverCard, n as HoverCardContent, e as HoverCardTrigger };
|
package/dist/hover-popover.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./HoverPopover-
|
|
1
|
+
import { t as e } from "./HoverPopover-BlEwqG7S.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-DXveGjx7.js";
|
|
2
2
|
export { e as IconTooltip };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./InstrumentChassis-
|
|
1
|
+
import { n as e, t } from "./InstrumentChassis-CqKPBNqp.js";
|
|
2
2
|
export { e as ChassisDivider, t as InstrumentChassis };
|
package/dist/instrument-rail.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./InstrumentRail-
|
|
1
|
+
import { t as e } from "./InstrumentRail-CCjvKkpB.js";
|
|
2
2
|
export { e as InstrumentRail };
|
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-BQfnAHHW.js";
|
|
2
2
|
export { i as formatCombo, n as formatComboParts, r as isMac, t as registerShortcut, e as useRegisteredShortcuts };
|
package/dist/label.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./Label-
|
|
1
|
+
import { t as e } from "./Label-D53EOwLE.js";
|
|
2
2
|
export { e as Label };
|
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-
|
|
3
|
-
import { t as o } from "./SelectGroup-
|
|
4
|
-
import { n as s } from "./slider-
|
|
5
|
-
import { t as c } from "./Switch-
|
|
6
|
-
import { t as l } from "./IconTooltip-
|
|
7
|
-
import { t as u } from "./Input-
|
|
2
|
+
import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-BvvvAbuh.js";
|
|
3
|
+
import { t as o } from "./SelectGroup-DAgcsfFw.js";
|
|
4
|
+
import { n as s } from "./slider-wx8ifVFB.js";
|
|
5
|
+
import { t as c } from "./Switch-imA0Hdjs.js";
|
|
6
|
+
import { t as l } from "./IconTooltip-DXveGjx7.js";
|
|
7
|
+
import { t as u } from "./Input-IFsIzId2.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 = {
|
package/dist/metric-badge.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./MetricBadge-
|
|
1
|
+
import { t as e } from "./MetricBadge-J_GBCb8e.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-C1je1s0u.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,57 +1,47 @@
|
|
|
1
|
-
import { n as e, t } from "./
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
function h(e, t) {
|
|
7
|
-
return typeof CSS > "u" || typeof CSS.supports != "function" ? !1 : CSS.supports("animation-timeline", e) && !CSS.supports("animation-timeline", t);
|
|
8
|
-
}
|
|
9
|
-
function g() {
|
|
10
|
-
return h("scroll()", "gl-not-a-real-timeline");
|
|
11
|
-
}
|
|
12
|
-
function _() {
|
|
13
|
-
return h("view()", "gl-not-a-real-timeline");
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
1
|
+
import { n as e, t } from "./supportsCssTimeline-IQY3gfKD.js";
|
|
2
|
+
import { n, t as r } from "./useViewTransition-CUJM7fXT.js";
|
|
3
|
+
import { t as i } from "./useIntersectionPause-CUmANkoc.js";
|
|
4
|
+
import { n as a, t as o } from "./constants-DfWPi8kh.js";
|
|
5
|
+
import { computed as s, getCurrentScope as c, onBeforeUnmount as l, onMounted as u, onScopeDispose as d, reactive as f, readonly as p, ref as m, unref as h, watch as g } from "vue";
|
|
16
6
|
//#region src/composables/motion/useStaggerReveal.ts
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a =
|
|
7
|
+
var _ = e();
|
|
8
|
+
function v(e = {}) {
|
|
9
|
+
let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = m([]), o = f({}), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Set(), u = _ || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
|
|
20
10
|
for (let r of e) {
|
|
21
|
-
let e = r.target, i =
|
|
11
|
+
let e = r.target, i = s.get(e);
|
|
22
12
|
if (i !== void 0) if (r.isIntersecting) {
|
|
23
13
|
let r = setTimeout(() => {
|
|
24
|
-
o[i] = !0,
|
|
14
|
+
o[i] = !0, c.delete(r);
|
|
25
15
|
}, t * i);
|
|
26
|
-
|
|
16
|
+
c.add(r), n && u?.unobserve(e);
|
|
27
17
|
} else n || (o[i] = !1);
|
|
28
18
|
}
|
|
29
19
|
}, {
|
|
30
20
|
rootMargin: r,
|
|
31
21
|
threshold: i
|
|
32
22
|
});
|
|
33
|
-
function
|
|
23
|
+
function d(e, t) {
|
|
34
24
|
if (!e) return;
|
|
35
25
|
let n = t ?? a.value.length;
|
|
36
|
-
|
|
26
|
+
s.has(e) || (s.set(e, n), a.value.push(e), o[n] = _, u?.observe(e));
|
|
37
27
|
}
|
|
38
|
-
return
|
|
39
|
-
|
|
40
|
-
for (let e of
|
|
41
|
-
|
|
28
|
+
return l(() => {
|
|
29
|
+
u?.disconnect();
|
|
30
|
+
for (let e of c) clearTimeout(e);
|
|
31
|
+
c.clear();
|
|
42
32
|
}), {
|
|
43
33
|
targets: a,
|
|
44
|
-
register:
|
|
34
|
+
register: d,
|
|
45
35
|
revealed: o
|
|
46
36
|
};
|
|
47
37
|
}
|
|
48
38
|
//#endregion
|
|
49
39
|
//#region src/composables/motion/useScrollProgress.ts
|
|
50
|
-
var
|
|
51
|
-
function
|
|
52
|
-
let { offset: t = 0, trackExit: n = !1 } = e, r =
|
|
40
|
+
var y = t();
|
|
41
|
+
function b(e) {
|
|
42
|
+
let { offset: t = 0, trackExit: n = !1 } = e, r = m(0), i = 0, a = null;
|
|
53
43
|
function o() {
|
|
54
|
-
let i =
|
|
44
|
+
let i = h(e.target);
|
|
55
45
|
if (!i) return;
|
|
56
46
|
let a = i.getBoundingClientRect(), o = window.innerHeight + t, s = o - (n ? -a.height : 0);
|
|
57
47
|
if (s === 0) {
|
|
@@ -61,30 +51,30 @@ function x(e) {
|
|
|
61
51
|
let c = (o - a.top) / s;
|
|
62
52
|
r.value = Math.max(0, Math.min(1, c));
|
|
63
53
|
}
|
|
64
|
-
function
|
|
54
|
+
function s() {
|
|
65
55
|
i ||= requestAnimationFrame(() => {
|
|
66
56
|
i = 0, o();
|
|
67
57
|
});
|
|
68
58
|
}
|
|
69
|
-
return
|
|
70
|
-
if (o(),
|
|
71
|
-
window.addEventListener("scroll",
|
|
72
|
-
let t =
|
|
73
|
-
t && typeof ResizeObserver < "u" && (a = new ResizeObserver(
|
|
74
|
-
}),
|
|
75
|
-
t && a && a.unobserve(t), e && a && a.observe(e),
|
|
76
|
-
}),
|
|
77
|
-
window.removeEventListener("scroll",
|
|
59
|
+
return u(() => {
|
|
60
|
+
if (o(), y) return;
|
|
61
|
+
window.addEventListener("scroll", s, { passive: !0 }), window.addEventListener("resize", s, { passive: !0 });
|
|
62
|
+
let t = h(e.target);
|
|
63
|
+
t && typeof ResizeObserver < "u" && (a = new ResizeObserver(s), a.observe(t));
|
|
64
|
+
}), y || g(() => h(e.target), (e, t) => {
|
|
65
|
+
t && a && a.unobserve(t), e && a && a.observe(e), s();
|
|
66
|
+
}), l(() => {
|
|
67
|
+
window.removeEventListener("scroll", s), window.removeEventListener("resize", s), i && cancelAnimationFrame(i), a?.disconnect(), a = null;
|
|
78
68
|
}), r;
|
|
79
69
|
}
|
|
80
70
|
//#endregion
|
|
81
71
|
//#region src/composables/motion/useYieldToMain.ts
|
|
82
|
-
function
|
|
72
|
+
function x() {
|
|
83
73
|
let e = globalThis.scheduler;
|
|
84
74
|
return typeof e?.yield == "function" ? e.yield.bind(e) : null;
|
|
85
75
|
}
|
|
86
|
-
function
|
|
87
|
-
let e =
|
|
76
|
+
function S() {
|
|
77
|
+
let e = x();
|
|
88
78
|
return e ? e() : typeof MessageChannel == "function" ? new Promise((e) => {
|
|
89
79
|
let t = new MessageChannel();
|
|
90
80
|
t.port1.onmessage = () => {
|
|
@@ -92,41 +82,41 @@ function C() {
|
|
|
92
82
|
}, t.port2.postMessage(void 0);
|
|
93
83
|
}) : new Promise((e) => setTimeout(e, 0));
|
|
94
84
|
}
|
|
95
|
-
function
|
|
85
|
+
function C() {
|
|
96
86
|
return {
|
|
97
|
-
hasNativeYield:
|
|
98
|
-
yield:
|
|
87
|
+
hasNativeYield: x() !== null,
|
|
88
|
+
yield: S
|
|
99
89
|
};
|
|
100
90
|
}
|
|
101
91
|
//#endregion
|
|
102
92
|
//#region src/composables/motion/useRAFLoop.ts
|
|
103
|
-
var
|
|
104
|
-
function
|
|
93
|
+
var w = "(prefers-reduced-motion: reduce)";
|
|
94
|
+
function T() {
|
|
105
95
|
return typeof globalThis.requestAnimationFrame == "function" ? globalThis.requestAnimationFrame.bind(globalThis) : null;
|
|
106
96
|
}
|
|
107
|
-
function
|
|
97
|
+
function E() {
|
|
108
98
|
return typeof globalThis.cancelAnimationFrame == "function" ? globalThis.cancelAnimationFrame.bind(globalThis) : null;
|
|
109
99
|
}
|
|
110
|
-
function
|
|
100
|
+
function D() {
|
|
111
101
|
return typeof document > "u" ? null : document;
|
|
112
102
|
}
|
|
113
|
-
function
|
|
103
|
+
function O() {
|
|
114
104
|
return typeof window > "u" ? null : window;
|
|
115
105
|
}
|
|
116
|
-
function
|
|
117
|
-
let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t,
|
|
118
|
-
function
|
|
119
|
-
return !b &&
|
|
106
|
+
function k(e, t = {}) {
|
|
107
|
+
let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t, a = m(!1), o = m(!1), l = m(r ? !!D()?.hidden : !1), u = m(!1), f = m(!1), h = s(() => u.value && !a.value && (f.value || l.value || i && o.value || !T())), g = null, _ = null, v = 0, y = 0, b = !1, x = null;
|
|
108
|
+
function C() {
|
|
109
|
+
return !b && u.value && !f.value && !l.value && !(i && o.value) && !!T();
|
|
120
110
|
}
|
|
121
|
-
function
|
|
122
|
-
g !== null && (
|
|
111
|
+
function k() {
|
|
112
|
+
g !== null && (E()?.(g), g = null), a.value = !1, _ = null;
|
|
123
113
|
}
|
|
124
114
|
function A() {
|
|
125
|
-
if (g !== null || !
|
|
126
|
-
let t =
|
|
127
|
-
t && (
|
|
128
|
-
if (g = null, !
|
|
129
|
-
|
|
115
|
+
if (g !== null || !C()) return;
|
|
116
|
+
let t = T();
|
|
117
|
+
t && (a.value = !0, g = t((t) => {
|
|
118
|
+
if (g = null, !C()) {
|
|
119
|
+
k();
|
|
130
120
|
return;
|
|
131
121
|
}
|
|
132
122
|
let n = _ === null ? 0 : Math.max(0, t - _);
|
|
@@ -135,79 +125,79 @@ function A(e, t = {}) {
|
|
|
135
125
|
delta: n,
|
|
136
126
|
elapsed: v,
|
|
137
127
|
frame: y++
|
|
138
|
-
}),
|
|
128
|
+
}), C() ? A() : k();
|
|
139
129
|
}));
|
|
140
130
|
}
|
|
141
131
|
function j() {
|
|
142
|
-
|
|
132
|
+
C() ? A() : k();
|
|
143
133
|
}
|
|
144
134
|
function M() {
|
|
145
135
|
_ = null, v = 0, y = 0;
|
|
146
136
|
}
|
|
147
137
|
function N() {
|
|
148
|
-
b || (M(),
|
|
138
|
+
b || (M(), u.value = !0, f.value = !1, j());
|
|
149
139
|
}
|
|
150
140
|
function P() {
|
|
151
|
-
|
|
141
|
+
u.value = !1, f.value = !1, M(), k();
|
|
152
142
|
}
|
|
153
143
|
function F() {
|
|
154
|
-
|
|
144
|
+
u.value && (f.value = !0, j());
|
|
155
145
|
}
|
|
156
146
|
function I() {
|
|
157
|
-
b || (
|
|
147
|
+
b || (f.value = !1, j());
|
|
158
148
|
}
|
|
159
149
|
function L() {
|
|
160
|
-
|
|
150
|
+
l.value = r ? !!D()?.hidden : !1, j();
|
|
161
151
|
}
|
|
162
|
-
let R =
|
|
152
|
+
let R = D();
|
|
163
153
|
if (R && r && R.addEventListener("visibilitychange", L), i) {
|
|
164
|
-
let e =
|
|
154
|
+
let e = O(), t = typeof e?.matchMedia == "function" ? e.matchMedia(w) : null;
|
|
165
155
|
if (t) {
|
|
166
156
|
let e = (e) => {
|
|
167
|
-
|
|
157
|
+
o.value = e.matches, j();
|
|
168
158
|
};
|
|
169
|
-
|
|
159
|
+
o.value = t.matches, typeof t.addEventListener == "function" ? (t.addEventListener("change", e), x = () => t.removeEventListener("change", e)) : typeof t.addListener == "function" && (t.addListener(e), x = () => t.removeListener?.(e));
|
|
170
160
|
}
|
|
171
161
|
}
|
|
172
162
|
function z() {
|
|
173
163
|
b || (b = !0, P(), R?.removeEventListener("visibilitychange", L), x?.(), x = null);
|
|
174
164
|
}
|
|
175
|
-
return
|
|
176
|
-
isActive:
|
|
177
|
-
isPaused:
|
|
178
|
-
isReducedMotion:
|
|
165
|
+
return c() && d(z), n && N(), {
|
|
166
|
+
isActive: p(a),
|
|
167
|
+
isPaused: p(h),
|
|
168
|
+
isReducedMotion: p(o),
|
|
179
169
|
start: N,
|
|
180
170
|
stop: P,
|
|
181
171
|
pause: F,
|
|
182
172
|
resume: I,
|
|
183
173
|
dispose: z,
|
|
184
|
-
yieldToMain:
|
|
174
|
+
yieldToMain: S
|
|
185
175
|
};
|
|
186
176
|
}
|
|
187
177
|
//#endregion
|
|
188
178
|
//#region src/composables/motion/useStagger.ts
|
|
189
|
-
function
|
|
179
|
+
function A() {
|
|
190
180
|
return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
191
181
|
}
|
|
192
|
-
function
|
|
193
|
-
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 =
|
|
194
|
-
function
|
|
182
|
+
function j(e) {
|
|
183
|
+
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 = m(Array(t).fill(!1)), s = m(t === 0), c = /* @__PURE__ */ new Set();
|
|
184
|
+
function l() {
|
|
195
185
|
for (let e of c) clearTimeout(e);
|
|
196
186
|
c.clear();
|
|
197
187
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
188
|
+
function u() {
|
|
189
|
+
l(), o.value = Array(t).fill(!1), s.value = t === 0;
|
|
200
190
|
}
|
|
201
|
-
function
|
|
191
|
+
function f() {
|
|
202
192
|
o.value = Array(t).fill(!0), s.value = !0;
|
|
203
193
|
}
|
|
204
|
-
function
|
|
205
|
-
if (
|
|
194
|
+
function p() {
|
|
195
|
+
if (u(), t === 0) {
|
|
206
196
|
s.value = !0;
|
|
207
197
|
return;
|
|
208
198
|
}
|
|
209
|
-
if (a &&
|
|
210
|
-
|
|
199
|
+
if (a && A()) {
|
|
200
|
+
f();
|
|
211
201
|
return;
|
|
212
202
|
}
|
|
213
203
|
for (let e = 0; e < t; e++) {
|
|
@@ -218,12 +208,82 @@ function M(e) {
|
|
|
218
208
|
c.add(a);
|
|
219
209
|
}
|
|
220
210
|
}
|
|
221
|
-
return i &&
|
|
211
|
+
return i && p(), d(l), {
|
|
222
212
|
revealed: o,
|
|
223
|
-
start:
|
|
224
|
-
reset:
|
|
213
|
+
start: p,
|
|
214
|
+
reset: u,
|
|
225
215
|
isComplete: s
|
|
226
216
|
};
|
|
227
217
|
}
|
|
228
218
|
//#endregion
|
|
229
|
-
|
|
219
|
+
//#region src/composables/motion/usePrioritizedTask.ts
|
|
220
|
+
function M() {
|
|
221
|
+
let e = globalThis.scheduler;
|
|
222
|
+
return typeof e?.postTask == "function" ? e.postTask.bind(e) : null;
|
|
223
|
+
}
|
|
224
|
+
function N() {
|
|
225
|
+
let e = /* @__PURE__ */ Error("The task was aborted.");
|
|
226
|
+
return e.name = "AbortError", e;
|
|
227
|
+
}
|
|
228
|
+
function P(e) {
|
|
229
|
+
let t = e.filter((e) => e != null);
|
|
230
|
+
if (t.length === 0) return;
|
|
231
|
+
if (t.length === 1) return t[0];
|
|
232
|
+
if (typeof AbortSignal.any == "function") return AbortSignal.any(t);
|
|
233
|
+
let n = new AbortController(), r = (e) => n.abort(e.reason);
|
|
234
|
+
for (let e of t) {
|
|
235
|
+
if (e.aborted) {
|
|
236
|
+
n.abort(e.reason);
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
e.addEventListener("abort", () => r(e), { once: !0 });
|
|
240
|
+
}
|
|
241
|
+
return n.signal;
|
|
242
|
+
}
|
|
243
|
+
function F(e, t = {}) {
|
|
244
|
+
let { priority: n, signal: r, delay: i } = t, a = M();
|
|
245
|
+
return a ? a(e, {
|
|
246
|
+
priority: n,
|
|
247
|
+
signal: r,
|
|
248
|
+
delay: i
|
|
249
|
+
}) : new Promise((t, n) => {
|
|
250
|
+
if (r?.aborted) {
|
|
251
|
+
n(N());
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
let a = () => {
|
|
255
|
+
if (r?.aborted) {
|
|
256
|
+
n(N());
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
try {
|
|
260
|
+
t(e());
|
|
261
|
+
} catch (e) {
|
|
262
|
+
n(e);
|
|
263
|
+
}
|
|
264
|
+
}, o = typeof MessageChannel == "function" ? () => {
|
|
265
|
+
let e = new MessageChannel();
|
|
266
|
+
e.port1.onmessage = () => {
|
|
267
|
+
e.port1.onmessage = null, a();
|
|
268
|
+
}, e.port2.postMessage(void 0);
|
|
269
|
+
} : () => setTimeout(a, 0);
|
|
270
|
+
i && i > 0 ? setTimeout(o, i) : o();
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
function I(e) {
|
|
274
|
+
let t = globalThis.TaskController;
|
|
275
|
+
return typeof t == "function" ? new t(e ? { priority: e } : void 0) : null;
|
|
276
|
+
}
|
|
277
|
+
function L(e) {
|
|
278
|
+
let t = I(e);
|
|
279
|
+
return {
|
|
280
|
+
postTask: (n, r = {}) => F(n, {
|
|
281
|
+
priority: e,
|
|
282
|
+
...r,
|
|
283
|
+
signal: P([t?.signal, r.signal])
|
|
284
|
+
}),
|
|
285
|
+
abort: (e) => t?.abort(e)
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
289
|
+
export { o as DAMPING, a as SNAP_THRESHOLD, F as postTaskSafe, r as startViewTransition, n as supportsViewTransitions, i as useIntersectionPause, L as usePrioritizedTask, k as useRAFLoop, b as useScrollProgress, j as useStagger, v as useStaggerReveal, C as useYieldToMain, S as yieldToMain };
|
package/dist/motion.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, t } from "./useSpringMount-
|
|
2
|
-
import { n, t as r } from "./constants-
|
|
3
|
-
import { t as i } from "./useAnimatedNumber-
|
|
1
|
+
import { n as e, t } from "./useSpringMount-CnizvZGm.js";
|
|
2
|
+
import { n, t as r } from "./constants-DfWPi8kh.js";
|
|
3
|
+
import { t as i } from "./useAnimatedNumber-BOxrS3a6.js";
|
|
4
4
|
import { computed as a, onBeforeUnmount as o, ref as s, shallowRef as c } from "vue";
|
|
5
5
|
import { NumericAnimation as l } from "@mkbabb/keyframes.js";
|
|
6
6
|
//#region src/composables/motion/useSpringPress.ts
|
package/dist/notification.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./Notification-
|
|
1
|
+
import { t as e } from "./Notification-DP_ApJLo.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-B6L6YrQz.js";
|
|
2
2
|
export { e as NumberField, i as NumberFieldContent, n as NumberFieldDecrement, r as NumberFieldIncrement, t as NumberFieldInput };
|
package/dist/paper-backdrop.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./PaperBackdrop-
|
|
1
|
+
import { t as e } from "./PaperBackdrop-Ds-wDsKf.js";
|
|
2
2
|
export { e as PaperBackdrop };
|
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-CxEEUL7Y.js";
|
|
2
2
|
export { t as Popover, n as PopoverContent, e as PopoverTrigger };
|
|
@@ -23,7 +23,7 @@ var e = 6, t = 8, n = {
|
|
|
23
23
|
radius: .5,
|
|
24
24
|
paletteBias: 0,
|
|
25
25
|
valueBias: 0,
|
|
26
|
-
driftRadius: .
|
|
26
|
+
driftRadius: .045,
|
|
27
27
|
driftPhase: 0
|
|
28
28
|
}, {
|
|
29
29
|
x: .7,
|
|
@@ -31,7 +31,7 @@ var e = 6, t = 8, n = {
|
|
|
31
31
|
radius: .5,
|
|
32
32
|
paletteBias: 1,
|
|
33
33
|
valueBias: .05,
|
|
34
|
-
driftRadius: .
|
|
34
|
+
driftRadius: .045,
|
|
35
35
|
driftPhase: 2.4
|
|
36
36
|
}],
|
|
37
37
|
softmaxBeta: 3,
|
|
@@ -59,8 +59,8 @@ var e = 6, t = 8, n = {
|
|
|
59
59
|
impasto: 0,
|
|
60
60
|
brokenColor: 0,
|
|
61
61
|
canvasGrain: 0,
|
|
62
|
-
nucleiDrift: .
|
|
63
|
-
paletteDrift: .
|
|
62
|
+
nucleiDrift: .015,
|
|
63
|
+
paletteDrift: .015,
|
|
64
64
|
breathDepth: .05,
|
|
65
65
|
breathPeriod: 40,
|
|
66
66
|
saturation: 1,
|
package/dist/progress.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./Progress-
|
|
1
|
+
import { t as e } from "./Progress-Bs44qWEM.js";
|
|
2
2
|
export { e as Progress };
|
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-C1je1s0u.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
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./useTimer-
|
|
2
|
-
import { t } from "./useInterval-
|
|
1
|
+
import { t as e } from "./useTimer-6FoosoDY.js";
|
|
2
|
+
import { t } from "./useInterval-B58LmYth.js";
|
|
3
3
|
export { t as useInterval, e as useTimer };
|
package/dist/responsive-tabs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { t as o } from "./UnderlineTabs-
|
|
2
|
+
import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-BvvvAbuh.js";
|
|
3
|
+
import { t as o } from "./UnderlineTabs-B4FV2zi_.js";
|
|
4
4
|
import { Fragment as s, computed as c, createBlock as l, createElementBlock as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, withCtx as S } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/custom/responsive-tabs/ResponsiveTabs.vue
|
package/dist/scrolling-text.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./ScrollingText-
|
|
1
|
+
import { t as e } from "./ScrollingText-1Qjnwz6H.js";
|
|
2
2
|
export { e as ScrollingText };
|