@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.
Files changed (124) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.d.ts +2 -0
  3. package/dist/index10.js +2 -2
  4. package/dist/index11.js +2 -2
  5. package/dist/index12.js +2 -2
  6. package/dist/index13.js +1 -1
  7. package/dist/index14.js +2 -2
  8. package/dist/index15.js +1 -1
  9. package/dist/index16.js +2 -2
  10. package/dist/index17.js +1 -1
  11. package/dist/index18.js +7 -0
  12. package/dist/index19.js +20 -2
  13. package/dist/index2.js +6 -4
  14. package/dist/index21.js +1 -1
  15. package/dist/index22.js +1 -1
  16. package/dist/index23.js +1 -1
  17. package/dist/index24.js +1 -1
  18. package/dist/index25.js +2 -21
  19. package/dist/index26.js +4 -0
  20. package/dist/index27.js +21 -7
  21. package/dist/index29.js +9 -0
  22. package/dist/index3.js +3 -3
  23. package/dist/index30.js +105 -2
  24. package/dist/index32.js +2 -295
  25. package/dist/index34.js +275 -127
  26. package/dist/index36.js +147 -18
  27. package/dist/index38.js +114 -18
  28. package/dist/index4.js +6 -6
  29. package/dist/index40.js +2 -26
  30. package/dist/index41.js +14 -18
  31. package/dist/index42.js +20 -16
  32. package/dist/index43.js +16 -16
  33. package/dist/index44.js +13 -13
  34. package/dist/index45.js +14 -14
  35. package/dist/index46.js +26 -2
  36. package/dist/index47.js +2 -2
  37. package/dist/index48.js +2 -2
  38. package/dist/index49.js +2 -2
  39. package/dist/index50.js +2 -2
  40. package/dist/index51.js +2 -2
  41. package/dist/index52.js +2 -2
  42. package/dist/index53.js +2 -2
  43. package/dist/index54.js +2 -2
  44. package/dist/index55.js +2 -2
  45. package/dist/index56.js +1 -1
  46. package/dist/index57.js +2 -2
  47. package/dist/index58.js +18 -2
  48. package/dist/index59.js +18 -2
  49. package/dist/index60.js +18 -2
  50. package/dist/index61.js +1 -1
  51. package/dist/index62.js +49 -2
  52. package/dist/index63.js +43 -34
  53. package/dist/index64.js +2587 -2
  54. package/dist/index65.js +51 -2
  55. package/dist/index66.js +7207 -2
  56. package/dist/index67.js +14 -2
  57. package/dist/index68.js +34 -2
  58. package/dist/index69.js +2 -2
  59. package/dist/index7.js +1 -1
  60. package/dist/index70.js +2 -2
  61. package/dist/index71.js +2 -2
  62. package/dist/index72.js +2 -2
  63. package/dist/index73.js +2 -2
  64. package/dist/index74.js +2 -2
  65. package/dist/index75.js +2 -2
  66. package/dist/index76.js +2 -22
  67. package/dist/index77.js +2 -124
  68. package/dist/index78.js +2 -2
  69. package/dist/index79.js +2 -33
  70. package/dist/index8.js +2 -2
  71. package/dist/index80.js +21 -1201
  72. package/dist/index81.js +124 -5
  73. package/dist/index82.js +2 -4
  74. package/dist/index83.js +436 -312
  75. package/dist/index84.js +1735 -2
  76. package/dist/index85.js +4 -0
  77. package/dist/index86.js +4 -0
  78. package/dist/index87.js +4 -0
  79. package/dist/index88.js +4 -0
  80. package/dist/index89.js +4 -0
  81. package/dist/index9.js +2 -2
  82. package/dist/index90.js +4 -0
  83. package/dist/index91.js +35 -0
  84. package/dist/index92.js +1204 -0
  85. package/dist/index93.js +448 -0
  86. package/dist/index94.js +7 -0
  87. package/dist/index95.js +4 -0
  88. package/dist/index96.js +317 -0
  89. package/dist/index97.js +4 -0
  90. package/dist/index98.js +6 -0
  91. package/dist/vitepress/components/shared/Eyebrow.vue.d.ts +5 -0
  92. package/dist/vitepress/components/shared/Footer.vue.d.ts +2 -0
  93. package/dist/vitepress/components/shared/RiveAnimation.vue.d.ts +20 -0
  94. package/dist/vitepress/components/shared/Terminal.vue.d.ts +4 -0
  95. package/dist/vitepress/components/shared/icons/VZIconBluesky.vue.d.ts +2 -0
  96. package/dist/vitepress/components/shared/icons/VZIconGitHub.vue.d.ts +2 -0
  97. package/dist/vitepress/components/shared/icons/VZIconTwitter.vue.d.ts +2 -0
  98. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation1.vue.d.ts +5 -0
  99. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation2.vue.d.ts +5 -0
  100. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation3.vue.d.ts +5 -0
  101. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation4.vue.d.ts +5 -0
  102. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation5.vue.d.ts +5 -0
  103. package/dist/vitepress/components/shared/terminal-animations/TerminalAnimation6.vue.d.ts +5 -0
  104. package/dist/vitepress/components/viteplus/Header.vue.d.ts +17 -0
  105. package/dist/vitepress/components/voidzero/CaseStudySlider.vue.d.ts +5 -0
  106. package/dist/vitepress/components/voidzero/CustomersSectionHeading.vue.d.ts +2 -0
  107. package/dist/vitepress/components/voidzero/GitHubStats.vue.d.ts +7 -0
  108. package/dist/vitepress/components/voidzero/Header.vue.d.ts +2 -0
  109. package/dist/vitepress/components/voidzero/Hero.vue.d.ts +2 -0
  110. package/dist/vitepress/components/voidzero/OpenSourceSectionHeading.vue.d.ts +2 -0
  111. package/dist/vitepress/components/voidzero/OpenSourceSectionProjects.vue.d.ts +2 -0
  112. package/dist/vitepress/components/voidzero/Statistics.vue.d.ts +7 -0
  113. package/dist/vitepress/components/voidzero/StatisticsSectionHeading.vue.d.ts +2 -0
  114. package/dist/vitepress/components/voidzero/TeamCTA.vue.d.ts +2 -0
  115. package/dist/vitepress/components/voidzero/TrustedBy.vue.d.ts +2 -0
  116. package/dist/vitepress/components/voidzero/VitePlusSectionFeatures.vue.d.ts +2 -0
  117. package/dist/vitepress/components/voidzero/VitePlusSectionHeading.vue.d.ts +2 -0
  118. package/dist/vitepress/index.d.ts +6 -0
  119. package/package.json +9 -6
  120. package/dist/index20.js +0 -4
  121. package/dist/index28.js +0 -107
  122. package/dist/index37.js +0 -20
  123. package/dist/index39.js +0 -4
  124. /package/dist/{index31.js → index33.js} +0 -0
package/dist/index38.js CHANGED
@@ -1,20 +1,116 @@
1
- import { createElementBlock as c, openBlock as t, createElementVNode as o } from "vue";
2
- import r from "./index27.js";
3
- const n = {}, l = {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- "aria-hidden": "true",
6
- focusable: "false",
7
- viewBox: "0 0 24 24"
8
- };
9
- function s(a, e) {
10
- return t(), c("svg", l, [...e[0] || (e[0] = [
11
- o("path", {
12
- fill: "currentColor",
13
- d: "M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.2 4.2 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.52 8.52 0 0 1-5.33 1.84q-.51 0-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const d = /* @__PURE__ */ r(n, [["render", s]]);
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
- d as default
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 "./index40.js";
4
- import B from "./index41.js";
5
- import O from "./index42.js";
6
- import R from "./index43.js";
7
- import U from "./index44.js";
8
- import j from "./index45.js";
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) {