@voidzero-dev/vitepress-theme 0.1.38 → 0.1.43
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/assets/social/bluesky-light.svg +10 -0
- package/dist/assets/social/github-light.svg +3 -0
- package/dist/assets/social/twitter-light.svg +3 -0
- package/dist/assets/voidzero/animations/343_x_148_homepage_mobile.riv +0 -0
- package/dist/assets/voidzero/footer-logo.svg +5 -0
- package/dist/assets/voidzero/footer.jpg +0 -0
- package/dist/assets/voidzero/investors/accel.svg +9 -0
- package/dist/assets/voidzero/investors/amplify.svg +3 -0
- package/dist/assets/voidzero/investors/resend.svg +3 -0
- package/dist/assets/voidzero/investors/sentry.svg +10 -0
- package/dist/assets/voidzero/logo-light.svg +3 -0
- package/dist/index.css +1 -1
- package/dist/index10.js +4 -4
- package/dist/index100.js +26 -7
- package/dist/index101.js +197 -5
- package/dist/index102.js +1014 -4
- package/dist/index103.js +34 -7
- package/dist/index104.js +2 -33
- package/dist/index105.js +2 -57
- package/dist/index106.js +2 -9
- package/dist/index107.js +2 -14
- package/dist/index108.js +2 -58
- package/dist/index109.js +2 -6
- package/dist/index11.js +5 -11
- package/dist/index110.js +2 -39
- package/dist/index111.js +5324 -21
- package/dist/index112.js +2 -25
- package/dist/index113.js +2 -10
- package/dist/index114.js +2 -57
- package/dist/index115.js +2 -36
- package/dist/index116.js +2 -119
- package/dist/index117.js +2 -92
- package/dist/index118.js +2 -8
- package/dist/index119.js +2 -439
- package/dist/index12.js +9 -9
- package/dist/index120.js +10 -5
- package/dist/index121.js +7 -2
- package/dist/index122.js +4 -1734
- package/dist/index123.js +4 -315
- package/dist/index124.js +7 -2
- package/dist/index125.js +29 -442
- package/dist/index126.js +59 -0
- package/dist/index127.js +11 -0
- package/dist/index128.js +16 -0
- package/dist/index129.js +60 -0
- package/dist/index13.js +9 -9
- package/dist/index130.js +8 -0
- package/dist/index131.js +41 -0
- package/dist/index132.js +23 -0
- package/dist/index133.js +27 -0
- package/dist/index134.js +12 -0
- package/dist/index135.js +59 -0
- package/dist/index136.js +38 -0
- package/dist/index137.js +121 -0
- package/dist/index138.js +94 -0
- package/dist/index139.js +10 -0
- package/dist/index14.js +11 -5
- package/dist/index140.js +6 -0
- package/dist/index141.js +5 -0
- package/dist/index142.js +7209 -0
- package/dist/index143.js +1737 -0
- package/dist/index144.js +441 -0
- package/dist/index145.js +16 -0
- package/dist/index146.js +35 -0
- package/dist/index147.js +1204 -0
- package/dist/index148.js +64841 -0
- package/dist/index149.js +7 -0
- package/dist/index15.js +5 -10
- package/dist/index150.js +4 -0
- package/dist/index151.js +448 -0
- package/dist/index152.js +317 -0
- package/dist/index153.js +4 -0
- package/dist/index16.js +10 -5
- package/dist/index17.js +4 -9
- package/dist/index18.js +10 -5
- package/dist/index19.js +5 -20
- package/dist/index2.js +15 -10
- package/dist/index20.js +22 -0
- package/dist/index21.js +28 -2
- package/dist/index22.js +7 -1
- package/dist/index23.js +114 -2
- package/dist/index26.js +1 -1
- package/dist/index27.js +2 -21
- package/dist/index28.js +4 -0
- package/dist/index29.js +115 -7
- package/dist/index3.js +155 -68
- package/dist/index31.js +9 -0
- package/dist/index32.js +2 -2
- package/dist/index33.js +2 -2
- package/dist/index34.js +2 -295
- package/dist/index35.js +24 -0
- package/dist/{index30.js → index37.js} +22 -22
- package/dist/index39.js +4 -0
- package/dist/index4.js +11 -156
- package/dist/index40.js +2 -84
- package/dist/index41.js +293 -64
- package/dist/index43.js +156 -75
- package/dist/index45.js +322 -26
- package/dist/index47.js +2 -26
- package/dist/index48.js +3 -26
- package/dist/index49.js +2 -26
- package/dist/index5.js +69 -9
- package/dist/index50.js +2 -2
- package/dist/index51.js +2 -25
- package/dist/index52.js +2 -22
- package/dist/index53.js +2 -124
- package/dist/index54.js +3 -2
- package/dist/index55.js +2 -2
- package/dist/index56.js +2 -2
- package/dist/index57.js +2 -2
- package/dist/index59.js +135 -2
- package/dist/index6.js +5 -73
- package/dist/index61.js +2 -2
- package/dist/index62.js +2 -2
- package/dist/index63.js +2 -2
- package/dist/index64.js +2 -2
- package/dist/index65.js +2 -2
- package/dist/index66.js +2 -2
- package/dist/index67.js +2 -18
- package/dist/index68.js +2 -18
- package/dist/index69.js +2 -18
- package/dist/index7.js +2 -2
- package/dist/index70.js +2 -2
- package/dist/index71.js +2 -2
- package/dist/index72.js +2 -2
- package/dist/index73.js +2 -34
- package/dist/index74.js +2 -2
- package/dist/index75.js +1 -1
- package/dist/index76.js +52 -2
- package/dist/index77.js +44 -3
- package/dist/index78.js +53 -2
- package/dist/index79.js +2587 -2
- package/dist/index8.js +31 -30
- package/dist/index80.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index82.js +2 -49
- package/dist/index83.js +3 -44
- package/dist/index84.js +22 -2587
- package/dist/index85.js +124 -51
- package/dist/index86.js +2 -7207
- package/dist/index87.js +2 -14
- package/dist/index88.js +2 -5324
- package/dist/index89.js +2 -2
- package/dist/index9.js +354 -4
- package/dist/index90.js +2 -2
- package/dist/index91.js +84 -2
- package/dist/index92.js +66 -2
- package/dist/index93.js +53 -2
- package/dist/index94.js +76 -2
- package/dist/index95.js +25 -1
- package/dist/index96.js +30 -33
- package/dist/index97.js +26 -1202
- package/dist/index98.js +26 -4
- package/dist/index99.js +26 -10
- package/dist/vitepress/components/shared/LogoGrid.vue.d.ts +11 -0
- package/dist/vitepress/components/shared/ShaderBackground.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/Spacer.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/Header.vue.d.ts +22 -1
- package/dist/vitepress/components/voidzero/Investors.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/Megamenu.vue.d.ts +16 -0
- package/dist/vitepress/components/voidzero/Resources.vue.d.ts +31 -0
- package/dist/vitepress/components/voidzero/Statistics.vue.d.ts +10 -1
- package/package.json +4 -2
- package/dist/index24.js +0 -4
- package/dist/index25.js +0 -4
- package/dist/index36.js +0 -149
- package/dist/index38.js +0 -116
- package/dist/index42.js +0 -55
- package/dist/index44.js +0 -28
- package/dist/index46.js +0 -28
- package/dist/index58.js +0 -4
- package/dist/index60.js +0 -4
package/dist/index94.js
CHANGED
|
@@ -1,4 +1,78 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useForwardExpose as p } from "./index125.js";
|
|
2
|
+
import { Primitive as b } from "./index133.js";
|
|
3
|
+
import { RovingFocusItem_default as m } from "./index138.js";
|
|
4
|
+
import { injectTabsRootContext as c } from "./index91.js";
|
|
5
|
+
import { makeTriggerId as g, makeContentId as y } from "./index139.js";
|
|
6
|
+
import { defineComponent as T, computed as d, createBlock as w, openBlock as C, unref as t, withCtx as s, createVNode as I, withKeys as h, withModifiers as M, renderSlot as V } from "vue";
|
|
7
|
+
var k = /* @__PURE__ */ T({
|
|
8
|
+
__name: "TabsTrigger",
|
|
9
|
+
props: {
|
|
10
|
+
value: {
|
|
11
|
+
type: [String, Number],
|
|
12
|
+
required: !0
|
|
13
|
+
},
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
required: !1,
|
|
17
|
+
default: !1
|
|
18
|
+
},
|
|
19
|
+
asChild: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
required: !1
|
|
22
|
+
},
|
|
23
|
+
as: {
|
|
24
|
+
type: null,
|
|
25
|
+
required: !1,
|
|
26
|
+
default: "button"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(u) {
|
|
30
|
+
const r = u, { forwardRef: n } = p(), a = c(), f = d(() => g(a.baseId, r.value)), v = d(() => y(a.baseId, r.value)), i = d(() => r.value === a.modelValue.value);
|
|
31
|
+
return (e, o) => (C(), w(t(m), {
|
|
32
|
+
"as-child": "",
|
|
33
|
+
focusable: !e.disabled,
|
|
34
|
+
active: i.value
|
|
35
|
+
}, {
|
|
36
|
+
default: s(() => [I(t(b), {
|
|
37
|
+
id: f.value,
|
|
38
|
+
ref: t(n),
|
|
39
|
+
role: "tab",
|
|
40
|
+
type: e.as === "button" ? "button" : void 0,
|
|
41
|
+
as: e.as,
|
|
42
|
+
"as-child": e.asChild,
|
|
43
|
+
"aria-selected": i.value ? "true" : "false",
|
|
44
|
+
"aria-controls": v.value,
|
|
45
|
+
"data-state": i.value ? "active" : "inactive",
|
|
46
|
+
disabled: e.disabled,
|
|
47
|
+
"data-disabled": e.disabled ? "" : void 0,
|
|
48
|
+
"data-orientation": t(a).orientation.value,
|
|
49
|
+
onMousedown: o[0] || (o[0] = M((l) => {
|
|
50
|
+
!e.disabled && l.ctrlKey === !1 ? t(a).changeModelValue(e.value) : l.preventDefault();
|
|
51
|
+
}, ["left"])),
|
|
52
|
+
onKeydown: o[1] || (o[1] = h((l) => t(a).changeModelValue(e.value), ["enter", "space"])),
|
|
53
|
+
onFocus: o[2] || (o[2] = () => {
|
|
54
|
+
const l = t(a).activationMode !== "manual";
|
|
55
|
+
!i.value && !e.disabled && l && t(a).changeModelValue(e.value);
|
|
56
|
+
})
|
|
57
|
+
}, {
|
|
58
|
+
default: s(() => [V(e.$slots, "default")]),
|
|
59
|
+
_: 3
|
|
60
|
+
}, 8, [
|
|
61
|
+
"id",
|
|
62
|
+
"type",
|
|
63
|
+
"as",
|
|
64
|
+
"as-child",
|
|
65
|
+
"aria-selected",
|
|
66
|
+
"aria-controls",
|
|
67
|
+
"data-state",
|
|
68
|
+
"disabled",
|
|
69
|
+
"data-disabled",
|
|
70
|
+
"data-orientation"
|
|
71
|
+
])]),
|
|
72
|
+
_: 3
|
|
73
|
+
}, 8, ["focusable", "active"]));
|
|
74
|
+
}
|
|
75
|
+
}), A = k;
|
|
2
76
|
export {
|
|
3
|
-
|
|
77
|
+
A as TabsTrigger_default
|
|
4
78
|
};
|
package/dist/index95.js
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as p, onMounted as l, onUnmounted as o, createElementBlock as r, openBlock as i, createElementVNode as c } from "vue";
|
|
2
|
+
import d from "./index149.js";
|
|
3
|
+
const m = { class: "font-mono text-sm text-white leading-[1.5rem]" }, f = /* @__PURE__ */ p({
|
|
4
|
+
__name: "TerminalAnimation1",
|
|
5
|
+
props: {
|
|
6
|
+
onAnimationComplete: { type: Function }
|
|
7
|
+
},
|
|
8
|
+
setup(a) {
|
|
9
|
+
const s = a;
|
|
10
|
+
let e;
|
|
11
|
+
return l(() => {
|
|
12
|
+
const t = document.getElementById("terminal-code");
|
|
13
|
+
e = new d(t, {
|
|
14
|
+
loop: !1,
|
|
15
|
+
delay: 1
|
|
16
|
+
}), e.typeString("<span>$ vite new vite-plus-demo --template react-ts</span>").pauseFor(500).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<span class="text-aqua">◇ Scaffolding project in ~/vite-plus-demo</span>').pauseFor(500).pasteString('<span class="text-grey block">|</span>').pasteString('<span class="text-zest block">└ Done.</span>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(500).pasteString('<span class="block"><span class="text-zest">✓</span> Installing dependencies using default package manager: <span class="text-vite">pnpm@v10.16.1</span></span>').pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block"><span class="text-grey">Progress:</span> resolved 1, reused 0, downloaded 0, added 0</div>').pasteString('<div class="block"><span class="text-grey">Packages:</span> <span class="text-vite">+31</span></div>').typeString('<span class="text-grey block">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>').pasteString('<div class="block"><span class="text-grey">Progress:</span> resolved 31, reused 31, downloaded 0, added 31, <span class="text-zest">done</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
|
|
17
|
+
s.onAnimationComplete && s.onAnimationComplete();
|
|
18
|
+
}).start();
|
|
19
|
+
}), o(() => {
|
|
20
|
+
e && e.stop();
|
|
21
|
+
}), (t, n) => (i(), r("p", m, [...n[0] || (n[0] = [
|
|
22
|
+
c("span", { id: "terminal-code" }, null, -1)
|
|
23
|
+
])]));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
2
26
|
export {
|
|
3
27
|
f as default
|
|
4
28
|
};
|
package/dist/index96.js
CHANGED
|
@@ -1,35 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
import { defineComponent as c, onMounted as m, onUnmounted as d, createElementBlock as u, openBlock as g, createElementVNode as x } from "vue";
|
|
2
|
+
import f from "./index149.js";
|
|
3
|
+
const v = { class: "font-mono text-sm text-white leading-[1.5rem]" }, h = /* @__PURE__ */ c({
|
|
4
|
+
__name: "TerminalAnimation2",
|
|
5
|
+
props: {
|
|
6
|
+
onAnimationComplete: { type: Function }
|
|
7
|
+
},
|
|
8
|
+
setup(a) {
|
|
9
|
+
const n = a;
|
|
10
|
+
let e;
|
|
11
|
+
return m(() => {
|
|
12
|
+
const s = /* @__PURE__ */ new Date();
|
|
13
|
+
let t = s.getHours();
|
|
14
|
+
const o = s.getMinutes().toString().padStart(2, "0"), p = s.getSeconds().toString().padStart(2, "0"), i = t >= 12 ? "pm" : "am";
|
|
15
|
+
t = t % 12 || 12;
|
|
16
|
+
const l = `${t}:${o}:${p} ${i}`, r = document.getElementById("terminal-code");
|
|
17
|
+
e = new f(r, {
|
|
18
|
+
loop: !1,
|
|
19
|
+
delay: 1
|
|
20
|
+
}), e.typeString("<span>$ vite dev</span>").pauseFor(200).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block text-grey"><span class="text-vite">VITE+ v1.0.0</span> ready in <span class="text-white font-medium">65</span> ms</div>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(500).pasteString('<div class="block"><span class="text-vite"> → Local: </span><span class="text-aqua">http://localhost:5173/</span></div>').pasteString('<div class="block text-grey">→ Network: use <span class="text-white font-medium">--host</span> to expose</div>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(1500).pasteString(`<div class="block text-grey">${l} <span class="text-aqua">[vite]</span> (client) <span class="text-vite">hmr update</span> /src/App.tsx</div>`).pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
|
|
21
|
+
n.onAnimationComplete && n.onAnimationComplete();
|
|
22
|
+
}).start();
|
|
23
|
+
}), d(() => {
|
|
24
|
+
e && e.stop();
|
|
25
|
+
}), (s, t) => (g(), u("p", v, [...t[0] || (t[0] = [
|
|
26
|
+
x("span", { id: "terminal-code" }, null, -1)
|
|
27
|
+
])]));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
32
|
-
O as arePluginsEqual,
|
|
33
|
-
p as canUseDOM,
|
|
34
|
-
f as sortAndMapPluginToOptions
|
|
31
|
+
h as default
|
|
35
32
|
};
|