@mkbabb/glass-ui 3.6.0 → 3.8.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/CardAction-q2qHCJFG.js +157 -0
- package/dist/CollapsibleContent-CP9qF1v4.js +63 -0
- package/dist/{CommandShortcut-BiVyqipe.js → CommandShortcut-SzWRhROC.js} +4 -4
- package/dist/{ContextMenuContent-De01_83g.js → ContextMenuContent-DDa0v27s.js} +1 -1
- package/dist/{ContextMenuSubContent-DrWkXKQP.js → ContextMenuSubContent-Do977Cbf.js} +4 -4
- package/dist/{DataTable-BGVXx0Ww.js → DataTable-CvlWXz65.js} +14 -7
- package/dist/DeckProgress-AVgbIULY.js +23 -0
- package/dist/{DialogContent-IQ8_BRrC.js → DialogContent-DjZWT3lK.js} +24 -24
- package/dist/{DialogFooter-Er0wA3K6.js → DialogFooter-Gprw8H_A.js} +2 -2
- package/dist/{DiscoGlyph-BaZ8OawK.js → DiscoGlyph-CG0F410s.js} +1 -1
- package/dist/{GlyphFace-B_7vOmYn.js → GlyphFace-DRjDkB0s.js} +1 -1
- package/dist/{HoverCardContent-ICfIMZX1.js → HoverCardContent-B6CcQ8He.js} +1 -1
- package/dist/{HoverPopover-DTSYkJtw.js → HoverPopover-D56O6Ylp.js} +1 -1
- package/dist/{IconTooltip-DZlCkU-0.js → IconTooltip-D2T5nYOM.js} +1 -1
- package/dist/{Input-CRJ2owjN.js → Input-DVG_J0ne.js} +4 -1
- package/dist/{Label-CZk-3nTc.js → Label-zRfbQdCn.js} +1 -1
- package/dist/{MetricBadge-BlrdbOGN.js → MetricBadge-lTc002u2.js} +1 -1
- package/dist/{Notification-DP_ApJLo.js → Notification-BxK8LZMw.js} +5 -4
- package/dist/{NumberFieldContent-Bhhmk95p.js → NumberFieldContent-CLNVR1iY.js} +5 -5
- package/dist/{PopoverContent-B8WtJECb.js → PopoverContent-BId6ggf_.js} +2 -2
- package/dist/{Progress-DjM86vfb.js → Progress-iEuD9pxG.js} +7 -7
- package/dist/{ScrollingText-P9o_DuMn.js → ScrollingText-CVyqxvfv.js} +2 -2
- package/dist/{SelectScrollDownButton-BGn3rjs9.js → SelectScrollDownButton-C7TRe-ep.js} +8 -7
- package/dist/{Separator-C2XtAXRp.js → Separator-D7sD7RKj.js} +1 -1
- package/dist/{Switch-x8n6husW.js → Switch-LDKLmmgx.js} +8 -2
- package/dist/TabsList-qyHZ2lKY.js +101 -0
- package/dist/{Toaster-DdhMKfus.js → Toaster-CabYEEF_.js} +54 -60
- package/dist/{ToggleGroupItem-gyXj998A.js → ToggleGroupItem-CkXUcBlt.js} +13 -5
- package/dist/{TooltipProvider-D-JrSqDu.js → TooltipProvider-CmZzCuaG.js} +1 -1
- package/dist/{UnderlineTabs-CuIK16JI.js → UnderlineTabs-Uxn-R3MT.js} +2 -2
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +4 -2
- package/dist/api.js +1 -1
- package/dist/aurora.js +753 -359
- package/dist/{badge-Cl6JZ1B7.js → badge-DHQrc_GQ.js} +13 -9
- package/dist/badge.js +1 -1
- package/dist/{button-BcMzVrqs.js → button-CAywcrhO.js} +6 -3
- package/dist/button.js +1 -1
- package/dist/canvas.d.ts +1 -0
- package/dist/canvas.js +3 -0
- package/dist/card.js +2 -2
- package/dist/carousel.js +110 -109
- package/dist/{check-CdkxGxXJ.js → check-BBKKKSTf.js} +1 -1
- package/dist/{chevron-down-pBY8sYfV.js → chevron-down-BSkTP2aL.js} +1 -1
- package/dist/{chevron-right-BjeKC22V.js → chevron-right-sDM0Yvrf.js} +1 -1
- package/dist/{chevron-up-DBeNHUm1.js → chevron-up-CCOD_FTz.js} +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color-DMLTunJK.js +84 -0
- package/dist/color.js +2 -2
- package/dist/command.js +1 -1
- package/dist/compile-BBTRjvQS.js +158 -0
- package/dist/components/custom/aurora/Aurora.vue.d.ts +1 -0
- package/dist/components/custom/aurora/composables/atoms.d.ts +125 -0
- package/dist/components/custom/aurora/composables/color.d.ts +7 -25
- package/dist/components/custom/aurora/composables/cursorModel.d.ts +35 -2
- package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
- package/dist/components/custom/aurora/composables/gpuRuntime.d.ts +16 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +18 -0
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +46 -12
- package/dist/components/custom/aurora/composables/useAurora.d.ts +6 -0
- package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +8 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +60 -4
- package/dist/components/custom/aurora/constants/renderMode.d.ts +32 -0
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +7 -0
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -2
- package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +7 -0
- package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +4 -0
- package/dist/components/custom/aurora/index.d.ts +4 -3
- package/dist/components/custom/constellation/Constellation.vue.d.ts +40 -5
- package/dist/components/custom/constellation/constellationField.d.ts +110 -5
- package/dist/components/custom/constellation/index.d.ts +2 -2
- package/dist/components/custom/dock/GlassDock.vue.d.ts +12 -4
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +57 -0
- package/dist/components/custom/dock/composables/index.d.ts +3 -0
- package/dist/components/custom/dock/composables/useDockHold.d.ts +61 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -59
- package/dist/components/custom/dock/index.d.ts +2 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +38 -0
- package/dist/components/custom/fourier-field/index.d.ts +2 -0
- package/dist/components/custom/fourier-field/math.d.ts +57 -0
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +15 -0
- package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +18 -2
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +47 -4
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +2 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +19 -4
- package/dist/components/custom/goo-blob/index.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -2
- package/dist/components/custom/goo-blob/types.d.ts +48 -0
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +1 -1
- package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
- package/dist/components/ui/_shared/ModalOverlay.vue.d.ts +1 -1
- package/dist/components/ui/alert/index.d.ts +1 -1
- package/dist/components/ui/card/Card.vue.d.ts +26 -3
- package/dist/components/ui/card/CardAction.vue.d.ts +24 -0
- package/dist/components/ui/card/index.d.ts +2 -1
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +5 -1
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -4
- package/dist/components/ui/slider/Slider.vue.d.ts +3 -1
- package/dist/components/ui/tabs/TabsList.vue.d.ts +13 -3
- package/dist/components/ui/toast/Toast.vue.d.ts +5 -5
- package/dist/components/ui/toast/use-toast.d.ts +1 -1
- package/dist/composables/color/index.d.ts +69 -0
- package/dist/composables/dom/index.d.ts +1 -1
- package/dist/composables/dom/useResolveTokenColor.d.ts +27 -0
- package/dist/composables/glass/canvas2d/index.d.ts +2 -1
- package/dist/composables/glass/canvas2d/resolveCanvasColor.d.ts +20 -0
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +15 -1
- package/dist/composables/glass/createGPUCanvas.d.ts +40 -0
- package/dist/composables/glass/index.d.ts +3 -1
- package/dist/composables/glass/useSpecularTracking.d.ts +33 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +45 -0
- package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +7 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +5 -5
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +3 -3
- package/dist/constellation.js +144 -75
- 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/deck-progress.d.ts +1 -0
- package/dist/deck-progress.js +2 -0
- package/dist/dialog.js +2 -2
- package/dist/disco-glyph.js +1 -1
- package/dist/dock.js +388 -287
- package/dist/{dockContext-spUj_-E5.js → dockContext-BKeIMmNk.js} +1 -1
- package/dist/dom.js +6 -6
- package/dist/{dropdown-menu-EFjl5iKo.js → dropdown-menu-B_4bWyyG.js} +5 -5
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +2 -2
- package/dist/fonts/README.md +26 -18
- package/dist/forms.js +10 -7
- package/dist/fourier-field.d.ts +1 -0
- package/dist/fourier-field.js +166 -0
- package/dist/glass-carousel.js +12 -7
- package/dist/glass-panel.js +7 -7
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +209 -206
- package/dist/glyph-face.js +2 -2
- package/dist/goo-blob.js +485 -300
- 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/index.d.ts +1 -0
- package/dist/instrument-chassis.js +1 -1
- package/dist/instrument-rail.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/{keys-BFoma9vm.js → keys-BsYjEFOW.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-BP27-qBY.js → minimize-2-lcXOuc6V.js} +1 -1
- package/dist/motion-core.js +68 -98
- 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/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/resolveCanvasColor-BBiYfp8g.js +11 -0
- package/dist/responsive-tabs.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/{search-DBG8qaRs.js → search-nbkvr2dC.js} +1 -1
- package/dist/search.js +12 -12
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-CQYYrkr9.js → sheet-VZEtNFvO.js} +4 -4
- package/dist/sheet.js +1 -1
- package/dist/slider-D9puf-Ko.js +142 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock-controls.css +21 -18
- package/dist/styles/dock.css +415 -224
- package/dist/styles/fonts.css +0 -25
- package/dist/styles/glass.css +100 -41
- package/dist/styles/theme.css +58 -2
- package/dist/styles/tokens.css +139 -32
- package/dist/styles/typography.css +55 -72
- package/dist/styles/utilities.css +19 -14
- package/dist/styles/view-transition.css +12 -40
- package/dist/supportsCssTimeline-C5oe0lnD.js +12 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +5 -5
- package/dist/timeline.js +3 -3
- 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-DfVgP4te.js → useAnimatedNumber-C_3wZLx4.js} +1 -1
- package/dist/{useCanvas2D-BeNJqqIS.js → useCanvas2D-ClrQuZtp.js} +2 -1
- package/dist/{useConfiguratorState-DUtC1jxr.js → useConfiguratorState-CMff4GzH.js} +5 -5
- package/dist/useResolveTokenColor-r9pnNjqK.js +24 -0
- package/dist/useScrollProgress-C9ysDic5.js +35 -0
- package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
- package/dist/{useTextHighlight-Dmtofpk2.js → useTextHighlight-9nMW23Qb.js} +1 -1
- package/dist/{useTouchGate-CS5Csc2h.js → useTouchGate-WFyJYsth.js} +1 -1
- package/dist/vReveal-CqaCz_mC.js +44 -0
- package/dist/watercolor-dot.js +2 -2
- package/dist/{x-C4pz9nbD.js → x-Dfsegz9Y.js} +1 -1
- package/package.json +64 -4
- package/src/fonts/README.md +26 -18
- package/src/styles/dock-controls.css +21 -18
- package/src/styles/dock.css +415 -224
- package/src/styles/fonts.css +0 -25
- package/src/styles/glass.css +100 -41
- package/src/styles/theme.css +58 -2
- package/src/styles/tokens.css +139 -32
- package/src/styles/typography.css +55 -72
- package/src/styles/utilities.css +19 -14
- package/src/styles/view-transition.css +12 -40
- package/dist/CardFooter-C390imy7.js +0 -129
- package/dist/CollapsibleContent-cauTbZEM.js +0 -52
- package/dist/TabsIndicator-DA0x9gPr.js +0 -97
- package/dist/color-DS-iLRVM.js +0 -33
- package/dist/compile-C62K_FpC.js +0 -106
- package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/dist/slider-CgNzRSh6.js +0 -129
- package/dist/useViewTransition-DI0Rs2rV.js +0 -21
- package/dist/vReveal-u2wSG2El.js +0 -35
- package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
- /package/dist/{InstrumentChassis-DaHIZCqy.js → InstrumentChassis-C2f6cBaQ.js} +0 -0
- /package/dist/{InstrumentRail-B0qqLFN0.js → InstrumentRail-CUJ05YVG.js} +0 -0
- /package/dist/{ModalOverlay-B_CBtqcE.js → ModalOverlay-B1GkAjNb.js} +0 -0
- /package/dist/{PaperBackdrop-D_YZW47j.js → PaperBackdrop-CqwjnfLv.js} +0 -0
- /package/dist/{SelectGroup-CMdoCjRE.js → SelectGroup-BFiod7X2.js} +0 -0
- /package/dist/{SelectSeparator-CaJnPF3_.js → SelectSeparator-L8pPEn4L.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-ok8pgSl5.js} +0 -0
- /package/dist/composables/{dom → motion}/useTextHighlight.d.ts +0 -0
- /package/dist/{constants-C8NMonuo.js → constants-BPOqYJAm.js} +0 -0
- /package/dist/{createContext-DBMGRlx4.js → createContext-B44Sah_H.js} +0 -0
- /package/dist/{createLucideIcon-DuDoe_ra.js → createLucideIcon-B6uNAU9G.js} +0 -0
- /package/dist/{menuItemVariants-C2QlXqT3.js → menuItemVariants-DKM85SNE.js} +0 -0
- /package/dist/{presets-Dyv9Zl7W.js → presets-D1XPuTj-.js} +0 -0
- /package/dist/{prng-CjVgzjQT.js → prng-COGhh02-.js} +0 -0
- /package/dist/{useGlassRenderer-Dn3WpfG-.js → useGlassRenderer-5I0YkI4t.js} +0 -0
- /package/dist/{useGlobalDark-D7R9OypB.js → useGlobalDark-D3EBWzXK.js} +0 -0
- /package/dist/{useIntersectionPause-DsQYGc8V.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
- /package/dist/{useInterval-CHVYFpXV.js → useInterval-CcLfq2WU.js} +0 -0
- /package/dist/{useKeyboardShortcuts-i8tHd5WO.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
- /package/dist/{useResizeObserver-DX-STszm.js → useResizeObserver-CWCbk5Px.js} +0 -0
- /package/dist/{useSortable-muI29agz.js → useSortable-MGAbCGVJ.js} +0 -0
- /package/dist/{useSpringMount-CnizvZGm.js → useSpringMount-BJSHcLl3.js} +0 -0
- /package/dist/{useTimer-DGgoxTXL.js → useTimer-3xqf_54b.js} +0 -0
- /package/dist/{useUserInvalidAria-DmvZ_6Dx.js → useUserInvalidAria-DoJKMZ3s.js} +0 -0
- /package/dist/{useViewportReady-Dcvf0c4p.js → useViewportReady-RIr5Wgkh.js} +0 -0
|
@@ -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 "./useResizeObserver-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-ok8pgSl5.js";
|
|
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
|
|
6
6
|
var h = ["data-overflows"], g = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./chevron-down-
|
|
3
|
-
import { t as n } from "./chevron-up-
|
|
4
|
-
import { t as r } from "./menuItemVariants-
|
|
5
|
-
import { i } from "./dockContext-
|
|
2
|
+
import { t } from "./chevron-down-BSkTP2aL.js";
|
|
3
|
+
import { t as n } from "./chevron-up-CCOD_FTz.js";
|
|
4
|
+
import { t as r } from "./menuItemVariants-DKM85SNE.js";
|
|
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
|
|
@@ -25,7 +25,7 @@ var P = /* @__PURE__ */ d({
|
|
|
25
25
|
emits: ["update:modelValue", "update:open"],
|
|
26
26
|
setup(e, { emit: t }) {
|
|
27
27
|
let n = N(e, t);
|
|
28
|
-
return (e, t) => (g(), o(v(E),
|
|
28
|
+
return (e, t) => (g(), o(v(E), p({ "data-slot": "select" }, v(n)), {
|
|
29
29
|
default: y(() => [_(e.$slots, "default")]),
|
|
30
30
|
_: 3
|
|
31
31
|
}, 16));
|
|
@@ -66,7 +66,7 @@ var P = /* @__PURE__ */ d({
|
|
|
66
66
|
let { class: e, variant: t, size: n, ...i } = r;
|
|
67
67
|
return i;
|
|
68
68
|
})), s = a(() => r.variant === "ghost" ? "bg-transparent border-none shadow-none" : "glass-wash"), c = a(() => r.size === "sm" ? "h-9" : "h-10");
|
|
69
|
-
return (n, a) => (g(), o(v(k), p(v(i), { class: v(e)(s.value, c.value, "focus-ring flex w-full items-center justify-between rounded-pill px-3 py-2 text-sm placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled [&>span]:line-clamp-1 transition-control", r.class) }), {
|
|
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-sm 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
|
|
@@ -127,7 +127,8 @@ var P = /* @__PURE__ */ d({
|
|
|
127
127
|
}, {
|
|
128
128
|
"data-glass-dock-portal": v(l)?.id ? "" : void 0,
|
|
129
129
|
"data-glass-dock-owner": v(l)?.id,
|
|
130
|
-
|
|
130
|
+
"data-slot": "select-content",
|
|
131
|
+
class: v(e)("relative z-popover min-w-32 overflow-y-auto rounded-panel border text-popover-foreground [max-height:var(--reka-popper-available-height,60dvh)] popover-animate origin-(--reka-select-content-transform-origin)", t.position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", "glass-floating", r.class)
|
|
131
132
|
}), {
|
|
132
133
|
default: y(() => [
|
|
133
134
|
u(v(V)),
|
|
@@ -24,7 +24,7 @@ var p = /* @__PURE__ */ a({
|
|
|
24
24
|
let { class: e, ...t } = p;
|
|
25
25
|
return t;
|
|
26
26
|
});
|
|
27
|
-
return (t, a) => (c(), n(u(f), o(m.value, { class: u(e)("shrink-0 bg-border relative", p.orientation === "vertical" ? "w-px h-full" : "h-px w-full", p.class) }), {
|
|
27
|
+
return (t, a) => (c(), n(u(f), o({ "data-slot": "separator" }, m.value, { class: u(e)("shrink-0 bg-border relative", p.orientation === "vertical" ? "w-px h-full" : "h-px w-full", p.class) }), {
|
|
28
28
|
default: d(() => [p.label ? (c(), i("span", {
|
|
29
29
|
key: 0,
|
|
30
30
|
class: s(u(e)("text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex justify-center items-center", p.orientation === "vertical" ? "w-[1px] px-1 py-2" : "h-[1px] py-1 px-2"))
|
|
@@ -31,8 +31,14 @@ 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(c(g), { class: c(e)("focus-ring peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-pill border-2 border-transparent transition-
|
|
35
|
-
default: l(() => [r(c(d), {
|
|
34
|
+
return (t, i) => (s(), n(c(u), a({ "data-slot": "switch" }, c(g), { class: c(e)("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-[color-mix(in_srgb,var(--input)_80%,var(--glass-bg-quiet))]", m.class) }), {
|
|
35
|
+
default: l(() => [r(c(d), {
|
|
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
|
+
style: {
|
|
38
|
+
"box-shadow": "var(--shadow-md), var(--glass-highlight)",
|
|
39
|
+
transition: "translate var(--duration-normal) var(--spring-snappy)"
|
|
40
|
+
}
|
|
41
|
+
}, null, 8, ["class"])]),
|
|
36
42
|
_: 1
|
|
37
43
|
}, 16, ["class"]));
|
|
38
44
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { computed as t, createBlock as n, createCommentVNode as r, defineComponent as i, mergeProps as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
|
|
3
|
+
import { TabsIndicator as u, TabsList as d, TabsRoot as f, TabsTrigger as p, useForwardProps as m, useForwardPropsEmits as h } from "reka-ui";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/ui/tabs/Tabs.vue
|
|
6
|
+
var g = /* @__PURE__ */ i({
|
|
7
|
+
__name: "Tabs",
|
|
8
|
+
props: {
|
|
9
|
+
defaultValue: {},
|
|
10
|
+
orientation: {},
|
|
11
|
+
dir: {},
|
|
12
|
+
activationMode: {},
|
|
13
|
+
modelValue: {},
|
|
14
|
+
unmountOnHide: { type: Boolean },
|
|
15
|
+
asChild: { type: Boolean },
|
|
16
|
+
as: {}
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(e, { emit: t }) {
|
|
20
|
+
let r = h(e, t);
|
|
21
|
+
return (e, t) => (o(), n(c(f), a({ "data-slot": "tabs" }, c(r)), {
|
|
22
|
+
default: l(() => [s(e.$slots, "default")]),
|
|
23
|
+
_: 3
|
|
24
|
+
}, 16));
|
|
25
|
+
}
|
|
26
|
+
}), _ = /* @__PURE__ */ i({
|
|
27
|
+
__name: "TabsTrigger",
|
|
28
|
+
props: {
|
|
29
|
+
value: {},
|
|
30
|
+
disabled: { type: Boolean },
|
|
31
|
+
asChild: { type: Boolean },
|
|
32
|
+
as: {},
|
|
33
|
+
class: { type: [
|
|
34
|
+
Boolean,
|
|
35
|
+
null,
|
|
36
|
+
String,
|
|
37
|
+
Object,
|
|
38
|
+
Array
|
|
39
|
+
] }
|
|
40
|
+
},
|
|
41
|
+
setup(r) {
|
|
42
|
+
let i = r, u = m(t(() => {
|
|
43
|
+
let { class: e, ...t } = i;
|
|
44
|
+
return t;
|
|
45
|
+
}));
|
|
46
|
+
return (t, r) => (o(), n(c(p), a({ "data-slot": "tabs-trigger" }, c(u), { class: c(e)("tap-squish focus-ring relative z-[1] inline-flex items-center justify-center whitespace-nowrap rounded-control p-1 px-3 text-sm font-medium transition-control disabled:pointer-events-none disabled:opacity-disabled data-[state=active]:text-[var(--active-tab-color,var(--foreground))] hover:text-foreground/70", i.class) }), {
|
|
47
|
+
default: l(() => [s(t.$slots, "default")]),
|
|
48
|
+
_: 3
|
|
49
|
+
}, 16, ["class"]));
|
|
50
|
+
}
|
|
51
|
+
}), v = /* @__PURE__ */ i({
|
|
52
|
+
__name: "TabsIndicator",
|
|
53
|
+
props: {
|
|
54
|
+
asChild: { type: Boolean },
|
|
55
|
+
as: {},
|
|
56
|
+
class: { type: [
|
|
57
|
+
Boolean,
|
|
58
|
+
null,
|
|
59
|
+
String,
|
|
60
|
+
Object,
|
|
61
|
+
Array
|
|
62
|
+
] }
|
|
63
|
+
},
|
|
64
|
+
setup(r) {
|
|
65
|
+
let i = r, s = t(() => {
|
|
66
|
+
let { class: e, ...t } = i;
|
|
67
|
+
return t;
|
|
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-secondary/80 transition-[width,translate] duration-normal ease-spring-snappy", i.class) }), null, 16, ["class"]));
|
|
70
|
+
}
|
|
71
|
+
}), y = /* @__PURE__ */ i({
|
|
72
|
+
__name: "TabsList",
|
|
73
|
+
props: {
|
|
74
|
+
loop: { type: Boolean },
|
|
75
|
+
asChild: { type: Boolean },
|
|
76
|
+
as: {},
|
|
77
|
+
class: { type: [
|
|
78
|
+
Boolean,
|
|
79
|
+
null,
|
|
80
|
+
String,
|
|
81
|
+
Object,
|
|
82
|
+
Array
|
|
83
|
+
] },
|
|
84
|
+
indicator: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: !0
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
setup(i) {
|
|
90
|
+
let u = i, f = t(() => {
|
|
91
|
+
let { class: e, indicator: t, ...n } = u;
|
|
92
|
+
return n;
|
|
93
|
+
});
|
|
94
|
+
return (t, p) => (o(), n(c(d), a({ "data-slot": "tabs-list" }, f.value, { class: c(e)("relative inline-flex h-10 items-center justify-center rounded-input p-1 text-muted-foreground", u.class) }), {
|
|
95
|
+
default: l(() => [i.indicator ? (o(), n(v, { key: 0 })) : r("", !0), s(t.$slots, "default")]),
|
|
96
|
+
_: 3
|
|
97
|
+
}, 16, ["class"]));
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
//#endregion
|
|
101
|
+
export { g as i, v as n, _ as r, y as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./x-
|
|
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, ToastProvider as C, ToastRoot as w, ToastTitle as T, ToastViewport as E } from "reka-ui";
|
|
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: [
|
|
@@ -15,7 +15,6 @@ var D = /* @__PURE__ */ u({
|
|
|
15
15
|
Array
|
|
16
16
|
] },
|
|
17
17
|
variant: { default: "default" },
|
|
18
|
-
onOpenChange: {},
|
|
19
18
|
defaultOpen: { type: Boolean },
|
|
20
19
|
forceMount: { type: Boolean },
|
|
21
20
|
type: {},
|
|
@@ -35,30 +34,25 @@ var D = /* @__PURE__ */ u({
|
|
|
35
34
|
"update:open"
|
|
36
35
|
],
|
|
37
36
|
setup(t, { emit: n }) {
|
|
38
|
-
let a = t, o = n, s = r(() => {
|
|
37
|
+
let a = t, o = n, s = D(r(() => {
|
|
39
38
|
let { class: e, variant: t, ...n } = a;
|
|
40
39
|
return n;
|
|
41
|
-
});
|
|
42
|
-
return (n, r) => (p(), i(v(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
onSwipeCancel: r[5] ||= (e) => o("swipeCancel", e)
|
|
54
|
-
}), {
|
|
55
|
-
default: y(() => [g(n.$slots, "default")]),
|
|
56
|
-
_: 3
|
|
57
|
-
}, 16, ["class"]), l(v(E))]),
|
|
40
|
+
}), o);
|
|
41
|
+
return (n, r) => (p(), i(v(w), d({
|
|
42
|
+
"data-slot": "toast",
|
|
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-[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
|
+
"text-foreground": t.variant === "default",
|
|
46
|
+
"bg-destructive text-destructive-foreground border-destructive": t.variant === "destructive",
|
|
47
|
+
"bg-success text-success-foreground border-success": t.variant === "success",
|
|
48
|
+
"bg-warning text-warning-foreground border-warning": t.variant === "warning",
|
|
49
|
+
"bg-info text-info-foreground border-info": t.variant === "info"
|
|
50
|
+
}, a.class) }), {
|
|
51
|
+
default: y(() => [g(n.$slots, "default")]),
|
|
58
52
|
_: 3
|
|
59
|
-
}));
|
|
53
|
+
}, 16, ["data-variant", "class"]));
|
|
60
54
|
}
|
|
61
|
-
}),
|
|
55
|
+
}), k = /* @__PURE__ */ u({
|
|
62
56
|
__name: "ToastAction",
|
|
63
57
|
props: {
|
|
64
58
|
class: { type: [
|
|
@@ -82,7 +76,7 @@ var D = /* @__PURE__ */ u({
|
|
|
82
76
|
_: 3
|
|
83
77
|
}, 16, ["class"]));
|
|
84
78
|
}
|
|
85
|
-
}),
|
|
79
|
+
}), A = /* @__PURE__ */ u({
|
|
86
80
|
__name: "ToastClose",
|
|
87
81
|
props: {
|
|
88
82
|
class: { type: [
|
|
@@ -105,7 +99,7 @@ var D = /* @__PURE__ */ u({
|
|
|
105
99
|
_: 1
|
|
106
100
|
}, 16, ["class"]));
|
|
107
101
|
}
|
|
108
|
-
}),
|
|
102
|
+
}), j = /* @__PURE__ */ u({
|
|
109
103
|
__name: "ToastDescription",
|
|
110
104
|
props: {
|
|
111
105
|
class: { type: [
|
|
@@ -128,7 +122,7 @@ var D = /* @__PURE__ */ u({
|
|
|
128
122
|
_: 3
|
|
129
123
|
}, 16, ["class"]));
|
|
130
124
|
}
|
|
131
|
-
}),
|
|
125
|
+
}), M = /* @__PURE__ */ u({
|
|
132
126
|
__name: "ToastTitle",
|
|
133
127
|
props: {
|
|
134
128
|
class: { type: [
|
|
@@ -151,60 +145,60 @@ var D = /* @__PURE__ */ u({
|
|
|
151
145
|
_: 3
|
|
152
146
|
}, 16, ["class"]));
|
|
153
147
|
}
|
|
154
|
-
}),
|
|
155
|
-
function
|
|
156
|
-
if (
|
|
148
|
+
}), N = 5, P = 1e6, F = /* @__PURE__ */ new Map();
|
|
149
|
+
function I(e) {
|
|
150
|
+
if (F.has(e)) return;
|
|
157
151
|
let t = setTimeout(() => {
|
|
158
|
-
|
|
152
|
+
F.delete(e), R({
|
|
159
153
|
type: "REMOVE_TOAST",
|
|
160
154
|
toastId: e
|
|
161
155
|
});
|
|
162
|
-
},
|
|
163
|
-
|
|
156
|
+
}, P);
|
|
157
|
+
F.set(e, t);
|
|
164
158
|
}
|
|
165
|
-
var
|
|
166
|
-
function
|
|
159
|
+
var L = m([]);
|
|
160
|
+
function R(e) {
|
|
167
161
|
switch (e.type) {
|
|
168
162
|
case "ADD_TOAST":
|
|
169
|
-
|
|
163
|
+
L.value = [e.toast, ...L.value].slice(0, N);
|
|
170
164
|
break;
|
|
171
165
|
case "UPDATE_TOAST":
|
|
172
|
-
|
|
166
|
+
L.value = L.value.map((t) => t.id === e.toast.id ? {
|
|
173
167
|
...t,
|
|
174
168
|
...e.toast
|
|
175
169
|
} : t);
|
|
176
170
|
break;
|
|
177
171
|
case "DISMISS_TOAST": {
|
|
178
172
|
let { toastId: t } = e;
|
|
179
|
-
t ?
|
|
180
|
-
|
|
181
|
-
}),
|
|
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 ? {
|
|
182
176
|
...e,
|
|
183
177
|
open: !1
|
|
184
178
|
} : e);
|
|
185
179
|
break;
|
|
186
180
|
}
|
|
187
181
|
case "REMOVE_TOAST":
|
|
188
|
-
e.toastId === void 0 ?
|
|
182
|
+
e.toastId === void 0 ? L.value = [] : L.value = L.value.filter((t) => t.id !== e.toastId);
|
|
189
183
|
break;
|
|
190
184
|
}
|
|
191
185
|
}
|
|
192
|
-
var
|
|
193
|
-
function
|
|
194
|
-
return
|
|
186
|
+
var z = 0;
|
|
187
|
+
function B() {
|
|
188
|
+
return z = (z + 1) % Number.MAX_VALUE, z.toString();
|
|
195
189
|
}
|
|
196
|
-
function
|
|
197
|
-
let t =
|
|
190
|
+
function V(e) {
|
|
191
|
+
let t = B(), n = (e) => R({
|
|
198
192
|
type: "UPDATE_TOAST",
|
|
199
193
|
toast: {
|
|
200
194
|
...e,
|
|
201
195
|
id: t
|
|
202
196
|
}
|
|
203
|
-
}), r = () =>
|
|
197
|
+
}), r = () => R({
|
|
204
198
|
type: "DISMISS_TOAST",
|
|
205
199
|
toastId: t
|
|
206
200
|
});
|
|
207
|
-
return
|
|
201
|
+
return R({
|
|
208
202
|
type: "ADD_TOAST",
|
|
209
203
|
toast: {
|
|
210
204
|
...e,
|
|
@@ -220,11 +214,11 @@ function B(e) {
|
|
|
220
214
|
update: n
|
|
221
215
|
};
|
|
222
216
|
}
|
|
223
|
-
function
|
|
217
|
+
function H() {
|
|
224
218
|
return {
|
|
225
|
-
toasts: r(() =>
|
|
226
|
-
toast:
|
|
227
|
-
dismiss: (e) =>
|
|
219
|
+
toasts: r(() => L.value),
|
|
220
|
+
toast: V,
|
|
221
|
+
dismiss: (e) => R({
|
|
228
222
|
type: "DISMISS_TOAST",
|
|
229
223
|
toastId: e
|
|
230
224
|
})
|
|
@@ -232,11 +226,11 @@ function V() {
|
|
|
232
226
|
}
|
|
233
227
|
//#endregion
|
|
234
228
|
//#region src/components/ui/toast/Toaster.vue?vue&type=script&setup=true&lang.ts
|
|
235
|
-
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({
|
|
236
230
|
__name: "Toaster",
|
|
237
231
|
props: { position: { default: "bottom-right" } },
|
|
238
232
|
setup(t) {
|
|
239
|
-
let u = t, { toasts: m } =
|
|
233
|
+
let u = t, { toasts: m } = H(), g = {
|
|
240
234
|
"bottom-right": ["flex-col-reverse", "sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col"],
|
|
241
235
|
"bottom-left": ["flex-col-reverse", "sm:bottom-0 sm:left-0 sm:top-auto sm:flex-col"],
|
|
242
236
|
"bottom-center": ["flex-col-reverse", "sm:bottom-0 sm:left-1/2 sm:top-auto sm:-translate-x-1/2 sm:flex-col"],
|
|
@@ -245,17 +239,17 @@ var H = { class: "grid gap-1" }, U = "fixed top-0 z-toast flex max-h-screen w-fu
|
|
|
245
239
|
"top-center": ["left-1/2 -translate-x-1/2 flex-col", ""]
|
|
246
240
|
}, b = r(() => {
|
|
247
241
|
let [t, n] = g[u.position];
|
|
248
|
-
return e(
|
|
242
|
+
return e(W, t, G, n, K);
|
|
249
243
|
});
|
|
250
244
|
return (e, t) => (p(), i(v(C), null, {
|
|
251
|
-
default: y(() => [(p(!0), o(n, null, h(v(m), (e) => (p(), i(
|
|
252
|
-
default: y(() => [s("div",
|
|
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 }, {
|
|
253
247
|
default: y(() => [c(_(e.title), 1)]),
|
|
254
248
|
_: 2
|
|
255
|
-
}, 1024)) : a("", !0), e.description ? (p(), i(
|
|
249
|
+
}, 1024)) : a("", !0), e.description ? (p(), i(j, { key: 1 }, {
|
|
256
250
|
default: y(() => [c(_(e.description), 1)]),
|
|
257
251
|
_: 2
|
|
258
|
-
}, 1024)) : a("", !0)]), l(
|
|
252
|
+
}, 1024)) : a("", !0)]), l(A)]),
|
|
259
253
|
_: 2
|
|
260
254
|
}, 1040))), 128)), l(v(E), { class: f(b.value) }, null, 8, ["class"])]),
|
|
261
255
|
_: 1
|
|
@@ -263,4 +257,4 @@ var H = { class: "grid gap-1" }, U = "fixed top-0 z-toast flex max-h-screen w-fu
|
|
|
263
257
|
}
|
|
264
258
|
});
|
|
265
259
|
//#endregion
|
|
266
|
-
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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./createContext-
|
|
2
|
+
import { t } from "./createContext-B44Sah_H.js";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, mergeProps as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
|
|
4
4
|
import { Toggle as u, ToggleGroupItem as d, ToggleGroupRoot as f, useForwardProps as p, useForwardPropsEmits as m } from "reka-ui";
|
|
5
5
|
import { cva as h } from "class-variance-authority";
|
|
@@ -34,15 +34,23 @@ var g = /* @__PURE__ */ i({
|
|
|
34
34
|
let { class: e, size: t, variant: n, ...r } = d;
|
|
35
35
|
return r;
|
|
36
36
|
}), f);
|
|
37
|
-
return (n, i) => (o(), r(c(u), a(
|
|
37
|
+
return (n, i) => (o(), r(c(u), a({
|
|
38
|
+
"data-slot": "toggle",
|
|
39
|
+
"data-variant": t.variant,
|
|
40
|
+
"data-size": t.size
|
|
41
|
+
}, c(p), { class: c(e)(c(_)({
|
|
38
42
|
variant: t.variant,
|
|
39
43
|
size: t.size
|
|
40
44
|
}), d.class) }), {
|
|
41
45
|
default: l(() => [s(n.$slots, "default")]),
|
|
42
46
|
_: 3
|
|
43
|
-
}, 16, [
|
|
47
|
+
}, 16, [
|
|
48
|
+
"data-variant",
|
|
49
|
+
"data-size",
|
|
50
|
+
"class"
|
|
51
|
+
]));
|
|
44
52
|
}
|
|
45
|
-
}), _ = h("focus-ring inline-flex items-center justify-center rounded-button text-sm font-medium transition-
|
|
53
|
+
}), _ = h("tap-squish focus-ring inline-flex items-center justify-center gap-2 rounded-button text-sm 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-4 [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
|
|
46
54
|
variants: {
|
|
47
55
|
variant: {
|
|
48
56
|
default: "bg-transparent",
|
|
@@ -109,7 +117,7 @@ var b = v.use, x = /* @__PURE__ */ i({
|
|
|
109
117
|
let { class: e, ...t } = u;
|
|
110
118
|
return t;
|
|
111
119
|
}), d);
|
|
112
|
-
return (t, n) => (o(), r(c(f), a(c(p), { class: c(e)("flex items-center justify-center gap-1", u.class) }), {
|
|
120
|
+
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) }), {
|
|
113
121
|
default: l(() => [s(t.$slots, "default")]),
|
|
114
122
|
_: 3
|
|
115
123
|
}, 16, ["class"]));
|
|
@@ -17,7 +17,7 @@ var v = /* @__PURE__ */ i({
|
|
|
17
17
|
emits: ["update:open"],
|
|
18
18
|
setup(e, { emit: t }) {
|
|
19
19
|
let r = _(e, t);
|
|
20
|
-
return (e, t) => (c(), n(u(h),
|
|
20
|
+
return (e, t) => (c(), n(u(h), o({ "data-slot": "tooltip" }, u(r)), {
|
|
21
21
|
default: d(() => [l(e.$slots, "default")]),
|
|
22
22
|
_: 3
|
|
23
23
|
}, 16));
|
|
@@ -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, createElementBlock as r, defineComponent as i, mergeModels as a, normalizeClass as o, openBlock as s, renderList as c, toDisplayString as l, unref as u, useModel as d } from "vue";
|
|
4
4
|
//#region src/components/custom/tabs/UnderlineTabs.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var f = ["aria-selected", "onClick"], p = /* @__PURE__ */ t(/* @__PURE__ */ i({
|
|
@@ -34,6 +34,6 @@ var f = ["aria-selected", "onClick"], p = /* @__PURE__ */ t(/* @__PURE__ */ i({
|
|
|
34
34
|
onClick: (t) => p(e.value)
|
|
35
35
|
}, l(e.label), 9, f))), 128))], 2));
|
|
36
36
|
}
|
|
37
|
-
}), [["__scopeId", "data-v-
|
|
37
|
+
}), [["__scopeId", "data-v-f3ec0f83"]]);
|
|
38
38
|
//#endregion
|
|
39
39
|
export { p as t };
|
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-C_3wZLx4.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,4 +1,4 @@
|
|
|
1
|
-
export type { AuroraConfig, AuroraCursorApi, AuroraFlow, AuroraHarmony, AuroraHuePath, AuroraInstance, AuroraMedium,
|
|
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
2
|
export { DEFAULT_AURORA_CONFIG, 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";
|
|
@@ -25,7 +25,7 @@ export type { UseUserInvalidAriaOptions, UseUserInvalidAriaReturn, } from "../co
|
|
|
25
25
|
export type { ViewTransitionResult } from "../composables/motion/useViewTransition";
|
|
26
26
|
export type { Countup, UseCountupOptions } from "../composables/motion/useCountup";
|
|
27
27
|
export type { HeaderRibbonPosition, HeaderRibbonProps, } from "../components/custom/header-ribbon";
|
|
28
|
-
export type { ConstellationProps, ConstellationField, } from "../components/custom/constellation";
|
|
28
|
+
export type { ConstellationProps, ConstellationField, ConstellationWarp, } from "../components/custom/constellation";
|
|
29
29
|
export type { MetricCellAppearance, MetricCellProps, } from "../components/custom/metric-cell";
|
|
30
30
|
export type { MetricRowProps, MetricStackProps, } from "../components/custom/metric-stack";
|
|
31
31
|
export type { AnimatedDigitMode, AnimatedDigitProps, } from "../components/custom/animated-digit";
|
|
@@ -34,3 +34,5 @@ export type { StackedIconGroupProps } from "../components/custom/stacked-icons";
|
|
|
34
34
|
export type { UseDockStateReturn } from "../components/custom/dock";
|
|
35
35
|
export type { PaperBackdropFrequency, PaperBackdropProps, } from "../components/custom/paper-backdrop";
|
|
36
36
|
export type { DarkModeSyncScriptOptions, UseGlobalDarkOptions, } from "../composables/dark";
|
|
37
|
+
export type { Canvas2DFrame, Canvas2DHandle, Canvas2DOptions, Canvas2DSuspendReason, } from "../composables/glass/canvas2d";
|
|
38
|
+
export type { HighlightMatcher, UseTextHighlightControls, } from "../composables/motion/useTextHighlight";
|
package/dist/api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./presets-
|
|
1
|
+
import { n as e, r as t, t as n } from "./presets-D1XPuTj-.js";
|
|
2
2
|
export { n as DEFAULT_AURORA_CONFIG, e as MAX_NUCLEI, t as MAX_STOPS };
|