@voidzero-dev/vitepress-theme 0.1.32 → 0.1.33
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/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index10.js +2 -2
- package/dist/index11.js +2 -2
- package/dist/index12.js +2 -2
- package/dist/index13.js +1 -1
- package/dist/index14.js +2 -2
- package/dist/index15.js +1 -1
- package/dist/index16.js +2 -2
- package/dist/index17.js +1 -1
- package/dist/index18.js +7 -0
- package/dist/index19.js +20 -2
- package/dist/index2.js +6 -4
- package/dist/index21.js +1 -1
- package/dist/index22.js +1 -1
- package/dist/index23.js +1 -1
- package/dist/index24.js +1 -1
- package/dist/index25.js +2 -21
- package/dist/index26.js +4 -0
- package/dist/index27.js +21 -7
- package/dist/index29.js +9 -0
- package/dist/index3.js +3 -3
- package/dist/index30.js +105 -2
- package/dist/index32.js +2 -295
- package/dist/index34.js +275 -127
- package/dist/index36.js +147 -18
- package/dist/index38.js +114 -18
- package/dist/index4.js +6 -6
- package/dist/index40.js +2 -26
- package/dist/index41.js +14 -18
- package/dist/index42.js +20 -16
- package/dist/index43.js +16 -16
- package/dist/index44.js +13 -13
- package/dist/index45.js +14 -14
- package/dist/index46.js +26 -2
- package/dist/index47.js +2 -2
- package/dist/index48.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index50.js +2 -2
- package/dist/index51.js +2 -2
- package/dist/index52.js +2 -2
- package/dist/index53.js +2 -2
- package/dist/index54.js +2 -2
- package/dist/index55.js +2 -2
- package/dist/index56.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index58.js +18 -2
- package/dist/index59.js +18 -2
- package/dist/index60.js +18 -2
- package/dist/index61.js +1 -1
- package/dist/index62.js +49 -2
- package/dist/index63.js +43 -34
- package/dist/index64.js +2587 -2
- package/dist/index65.js +51 -2
- package/dist/index66.js +7207 -2
- package/dist/index67.js +14 -2
- package/dist/index68.js +34 -2
- package/dist/index69.js +2 -2
- package/dist/index7.js +1 -1
- package/dist/index70.js +2 -2
- package/dist/index71.js +2 -2
- package/dist/index72.js +2 -2
- package/dist/index73.js +2 -2
- package/dist/index74.js +2 -2
- package/dist/index75.js +2 -2
- package/dist/index76.js +2 -22
- package/dist/index77.js +2 -124
- package/dist/index78.js +2 -2
- package/dist/index79.js +2 -33
- package/dist/index8.js +2 -2
- package/dist/index80.js +21 -1201
- package/dist/index81.js +124 -5
- package/dist/index82.js +2 -4
- package/dist/index83.js +436 -312
- package/dist/index84.js +1735 -2
- package/dist/index85.js +4 -0
- package/dist/index86.js +4 -0
- package/dist/index87.js +4 -0
- package/dist/index88.js +4 -0
- package/dist/index89.js +4 -0
- package/dist/index9.js +2 -2
- package/dist/index90.js +4 -0
- package/dist/index91.js +35 -0
- package/dist/index92.js +1204 -0
- package/dist/index93.js +448 -0
- package/dist/index94.js +7 -0
- package/dist/index95.js +4 -0
- package/dist/index96.js +317 -0
- package/dist/index97.js +4 -0
- package/dist/index98.js +6 -0
- package/dist/vitepress/components/shared/Eyebrow.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/Footer.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/RiveAnimation.vue.d.ts +20 -0
- package/dist/vitepress/components/shared/Terminal.vue.d.ts +4 -0
- package/dist/vitepress/components/shared/icons/VZIconBluesky.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/icons/VZIconGitHub.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/icons/VZIconTwitter.vue.d.ts +2 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation1.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation2.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation3.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation4.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation5.vue.d.ts +5 -0
- package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation6.vue.d.ts +5 -0
- package/dist/vitepress/components/viteplus/Header.vue.d.ts +17 -0
- package/dist/vitepress/components/voidzero/CaseStudySlider.vue.d.ts +5 -0
- package/dist/vitepress/components/voidzero/CustomersSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/GitHubStats.vue.d.ts +7 -0
- package/dist/vitepress/components/voidzero/Header.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/Hero.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/OpenSourceSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/OpenSourceSectionProjects.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/Statistics.vue.d.ts +7 -0
- package/dist/vitepress/components/voidzero/StatisticsSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/TeamCTA.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/TrustedBy.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/VitePlusSectionFeatures.vue.d.ts +2 -0
- package/dist/vitepress/components/voidzero/VitePlusSectionHeading.vue.d.ts +2 -0
- package/dist/vitepress/index.d.ts +6 -0
- package/package.json +9 -6
- package/dist/index20.js +0 -4
- package/dist/index28.js +0 -107
- package/dist/index37.js +0 -20
- package/dist/index39.js +0 -4
- /package/dist/{index31.js → index33.js} +0 -0
package/dist/index38.js
CHANGED
|
@@ -1,20 +1,116 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { defineComponent as x, ref as l, computed as g, onMounted as y, onUnmounted as h, createElementBlock as w, openBlock as b, Fragment as k, createElementVNode as t, createStaticVNode as c, createTextVNode as C, createVNode as S, unref as f } from "vue";
|
|
2
|
+
import _ from "./index61.js";
|
|
3
|
+
import "./index62.js";
|
|
4
|
+
import "./index63.js";
|
|
5
|
+
import A from "./index64.js";
|
|
6
|
+
import B from "./index65.js";
|
|
7
|
+
import { Chart as F } from "./index66.js";
|
|
8
|
+
import { continuous as N } from "./index67.js";
|
|
9
|
+
const P = { class: "wrapper wrapper--ticks border-t grid grid-cols-2 divide-x divide-ceramic" }, T = { class: "p-10 flex flex-col justify-between" }, z = /* @__PURE__ */ x({
|
|
10
|
+
__name: "Statistics",
|
|
11
|
+
props: {
|
|
12
|
+
statsUrl: { default: "/stats.json" }
|
|
13
|
+
},
|
|
14
|
+
setup(v) {
|
|
15
|
+
const u = v, a = l([]), i = l({
|
|
16
|
+
datasets: []
|
|
17
|
+
}), s = l(null), m = g(() => a.value.slice().reverse().find((d) => d.y > 0)?.y || 0);
|
|
18
|
+
return y(async () => {
|
|
19
|
+
const n = (await (await fetch(u.statsUrl)).json()).map((p) => ({
|
|
20
|
+
x: A(p.x).valueOf(),
|
|
21
|
+
y: p.y
|
|
22
|
+
}));
|
|
23
|
+
n.pop(), a.value = n;
|
|
24
|
+
const r = document.getElementById("chart-canvas"), o = r.getContext("2d").createLinearGradient(0, 0, -50, 400);
|
|
25
|
+
o.addColorStop(0, "#AA3BFF"), o.addColorStop(1, "#AA3BFF"), i.value = {
|
|
26
|
+
datasets: [
|
|
27
|
+
{
|
|
28
|
+
data: a.value,
|
|
29
|
+
/*fill: {
|
|
30
|
+
target: 'origin',
|
|
31
|
+
above: 'rgba(0, 0, 0, 0.02)'
|
|
32
|
+
},*/
|
|
33
|
+
pointStyle: !1,
|
|
34
|
+
borderWidth: 3,
|
|
35
|
+
borderColor: o,
|
|
36
|
+
stepped: !1
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}, s.value = new F(r, {
|
|
40
|
+
type: "line",
|
|
41
|
+
options: {
|
|
42
|
+
scales: {
|
|
43
|
+
x: {
|
|
44
|
+
type: "time",
|
|
45
|
+
time: {
|
|
46
|
+
unit: "week"
|
|
47
|
+
},
|
|
48
|
+
display: !1,
|
|
49
|
+
alignToPixels: !0,
|
|
50
|
+
ticks: { padding: 0 },
|
|
51
|
+
border: {
|
|
52
|
+
display: !1
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
y: {
|
|
56
|
+
min: 0,
|
|
57
|
+
display: !1,
|
|
58
|
+
ticks: { padding: 0 },
|
|
59
|
+
alignToPixels: !0,
|
|
60
|
+
border: {
|
|
61
|
+
display: !1
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
plugins: {
|
|
66
|
+
legend: {
|
|
67
|
+
display: !1
|
|
68
|
+
},
|
|
69
|
+
tooltip: {
|
|
70
|
+
enabled: !1
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
layout: {
|
|
74
|
+
autoPadding: !1,
|
|
75
|
+
padding: {
|
|
76
|
+
left: 0,
|
|
77
|
+
right: 0,
|
|
78
|
+
top: 0,
|
|
79
|
+
bottom: 100
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
aspectRatio: 5 / 3.5
|
|
83
|
+
},
|
|
84
|
+
data: {
|
|
85
|
+
datasets: i.value.datasets
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}), h(() => {
|
|
89
|
+
s.value && s.value.destroy();
|
|
90
|
+
}), (d, e) => (b(), w(k, null, [
|
|
91
|
+
t("section", P, [
|
|
92
|
+
t("div", T, [
|
|
93
|
+
e[0] || (e[0] = t("h6", { class: "flex gap-2 items-center" }, [
|
|
94
|
+
t("img", {
|
|
95
|
+
src: _,
|
|
96
|
+
class: "size-8",
|
|
97
|
+
alt: "Vite"
|
|
98
|
+
}),
|
|
99
|
+
C(" Weekly downloads")
|
|
100
|
+
], -1)),
|
|
101
|
+
t("h1", null, [
|
|
102
|
+
S(f(B), {
|
|
103
|
+
plugins: [f(N)],
|
|
104
|
+
value: m.value
|
|
105
|
+
}, null, 8, ["plugins", "value"])
|
|
106
|
+
])
|
|
107
|
+
]),
|
|
108
|
+
e[1] || (e[1] = c('<div class="relative aspect-[5/3.5]" data-v-5e416fd5><canvas id="chart-canvas" width="200" height="200" data-v-5e416fd5></canvas><div class="flex justify-between absolute bottom-10 left-10 right-10" data-v-5e416fd5><p class="font-mono text-sm text-nickel" data-v-5e416fd5>April 2020</p><p class="font-mono text-sm text-nickel" data-v-5e416fd5>Today</p></div></div>', 1))
|
|
109
|
+
]),
|
|
110
|
+
e[2] || (e[2] = c('<section class="wrapper wrapper--ticks border-t grid grid-cols-3 divide-x divide-ceramic" data-v-5e416fd5><div class="flex flex-col gap-2 p-10" data-v-5e416fd5><h2 data-v-5e416fd5>30m+</h2><p class="lead" data-v-5e416fd5>Weekly NPM downloads</p></div><div class="flex flex-col gap-2 p-10" data-v-5e416fd5><h2 data-v-5e416fd5>118k+</h2><p class="lead" data-v-5e416fd5>Total GitHub Stars</p></div><div class="flex flex-col gap-2 p-10" data-v-5e416fd5><h2 data-v-5e416fd5>6.2m+</h2><p class="lead" data-v-5e416fd5>GitHub Dependents</p></div></section>', 1))
|
|
111
|
+
], 64));
|
|
112
|
+
}
|
|
113
|
+
});
|
|
18
114
|
export {
|
|
19
|
-
|
|
115
|
+
z as default
|
|
20
116
|
};
|
package/dist/index4.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as w, ref as d, onMounted as V, onUnmounted as C, createElementBlock as k, openBlock as _, createElementVNode as A, normalizeClass as x, createBlock as E, createCommentVNode as N, unref as a, withCtx as n, createVNode as e, createTextVNode as r } from "vue";
|
|
2
2
|
import { TabsRoot as $, TabsList as I, TabsTrigger as i, TabsContent as u } from "reka-ui";
|
|
3
|
-
import z from "./
|
|
4
|
-
import B from "./
|
|
5
|
-
import O from "./
|
|
6
|
-
import R from "./
|
|
7
|
-
import U from "./
|
|
8
|
-
import j from "./
|
|
3
|
+
import z from "./index41.js";
|
|
4
|
+
import B from "./index42.js";
|
|
5
|
+
import O from "./index43.js";
|
|
6
|
+
import R from "./index44.js";
|
|
7
|
+
import U from "./index45.js";
|
|
8
|
+
import j from "./index46.js";
|
|
9
9
|
const D = 1500, J = /* @__PURE__ */ w({
|
|
10
10
|
__name: "Terminal",
|
|
11
11
|
setup(L) {
|