@voidzero-dev/vitepress-theme 0.1.41 → 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.
Files changed (172) hide show
  1. package/dist/assets/social/bluesky-light.svg +10 -0
  2. package/dist/assets/social/github-light.svg +3 -0
  3. package/dist/assets/social/twitter-light.svg +3 -0
  4. package/dist/assets/voidzero/animations/343_x_148_homepage_mobile.riv +0 -0
  5. package/dist/assets/voidzero/footer-logo.svg +5 -0
  6. package/dist/assets/voidzero/footer.jpg +0 -0
  7. package/dist/assets/voidzero/investors/accel.svg +9 -0
  8. package/dist/assets/voidzero/investors/amplify.svg +3 -0
  9. package/dist/assets/voidzero/investors/resend.svg +3 -0
  10. package/dist/assets/voidzero/investors/sentry.svg +10 -0
  11. package/dist/assets/voidzero/logo-light.svg +3 -0
  12. package/dist/index.css +1 -1
  13. package/dist/index10.js +4 -4
  14. package/dist/index100.js +25 -13
  15. package/dist/index101.js +197 -58
  16. package/dist/index102.js +1014 -6
  17. package/dist/index103.js +30 -35
  18. package/dist/index104.js +2 -21
  19. package/dist/index105.js +2 -25
  20. package/dist/index106.js +2 -10
  21. package/dist/index107.js +2 -57
  22. package/dist/index108.js +2 -36
  23. package/dist/index109.js +2 -119
  24. package/dist/index11.js +5 -11
  25. package/dist/index110.js +2 -92
  26. package/dist/index111.js +5323 -7
  27. package/dist/index112.js +2 -2
  28. package/dist/index113.js +2 -7207
  29. package/dist/index114.js +2 -1735
  30. package/dist/index115.js +2 -439
  31. package/dist/index116.js +2 -14
  32. package/dist/index117.js +2 -5324
  33. package/dist/index118.js +2 -2
  34. package/dist/index119.js +2 -33
  35. package/dist/index12.js +9 -9
  36. package/dist/index120.js +9 -1201
  37. package/dist/index121.js +7 -5
  38. package/dist/index122.js +4 -3
  39. package/dist/index123.js +4 -315
  40. package/dist/index124.js +7 -2
  41. package/dist/index125.js +29 -442
  42. package/dist/index126.js +59 -0
  43. package/dist/index127.js +11 -0
  44. package/dist/index128.js +16 -0
  45. package/dist/index129.js +60 -0
  46. package/dist/index13.js +9 -9
  47. package/dist/index130.js +8 -0
  48. package/dist/index131.js +41 -0
  49. package/dist/index132.js +23 -0
  50. package/dist/index133.js +27 -0
  51. package/dist/index134.js +12 -0
  52. package/dist/index135.js +59 -0
  53. package/dist/index136.js +38 -0
  54. package/dist/index137.js +121 -0
  55. package/dist/index138.js +94 -0
  56. package/dist/index139.js +10 -0
  57. package/dist/index14.js +11 -5
  58. package/dist/index140.js +6 -0
  59. package/dist/index141.js +5 -0
  60. package/dist/index142.js +7209 -0
  61. package/dist/index143.js +1737 -0
  62. package/dist/index144.js +441 -0
  63. package/dist/index145.js +16 -0
  64. package/dist/index146.js +35 -0
  65. package/dist/index147.js +1204 -0
  66. package/dist/index148.js +64841 -0
  67. package/dist/index149.js +7 -0
  68. package/dist/index15.js +5 -10
  69. package/dist/index150.js +4 -0
  70. package/dist/index151.js +448 -0
  71. package/dist/index152.js +317 -0
  72. package/dist/index153.js +4 -0
  73. package/dist/index16.js +10 -5
  74. package/dist/index17.js +4 -9
  75. package/dist/index18.js +10 -5
  76. package/dist/index19.js +5 -20
  77. package/dist/index2.js +15 -10
  78. package/dist/index20.js +22 -0
  79. package/dist/index21.js +28 -2
  80. package/dist/index22.js +7 -1
  81. package/dist/index23.js +114 -2
  82. package/dist/index26.js +1 -1
  83. package/dist/index27.js +2 -21
  84. package/dist/index28.js +4 -0
  85. package/dist/index29.js +115 -7
  86. package/dist/index3.js +155 -68
  87. package/dist/index31.js +9 -0
  88. package/dist/index32.js +2 -2
  89. package/dist/index33.js +2 -2
  90. package/dist/index34.js +2 -295
  91. package/dist/index35.js +24 -0
  92. package/dist/{index30.js → index37.js} +22 -22
  93. package/dist/index39.js +4 -0
  94. package/dist/index4.js +11 -156
  95. package/dist/index40.js +2 -84
  96. package/dist/index41.js +293 -64
  97. package/dist/index43.js +156 -75
  98. package/dist/index45.js +322 -26
  99. package/dist/index47.js +2 -26
  100. package/dist/index48.js +3 -26
  101. package/dist/index49.js +2 -26
  102. package/dist/index5.js +69 -9
  103. package/dist/index50.js +2 -2
  104. package/dist/index51.js +1 -1
  105. package/dist/index52.js +2 -18
  106. package/dist/index53.js +2 -18
  107. package/dist/index54.js +3 -18
  108. package/dist/index55.js +2 -2
  109. package/dist/index56.js +2 -34
  110. package/dist/index57.js +2 -2
  111. package/dist/index59.js +135 -2
  112. package/dist/index6.js +5 -73
  113. package/dist/index61.js +2 -2
  114. package/dist/index62.js +1 -1
  115. package/dist/index63.js +1 -1
  116. package/dist/index64.js +2 -2
  117. package/dist/index65.js +2 -2
  118. package/dist/index66.js +1 -1
  119. package/dist/index67.js +1 -1
  120. package/dist/index68.js +2 -22
  121. package/dist/index69.js +2 -124
  122. package/dist/index7.js +1 -1
  123. package/dist/index70.js +2 -2
  124. package/dist/index71.js +2 -2
  125. package/dist/index72.js +2 -3
  126. package/dist/index73.js +2 -52
  127. package/dist/index74.js +3 -44
  128. package/dist/index75.js +2 -53
  129. package/dist/index76.js +52 -2
  130. package/dist/index77.js +44 -2588
  131. package/dist/index78.js +53 -2
  132. package/dist/index79.js +2587 -2
  133. package/dist/index8.js +31 -30
  134. package/dist/index80.js +2 -2
  135. package/dist/index81.js +2 -2
  136. package/dist/index82.js +2 -2
  137. package/dist/index83.js +2 -2
  138. package/dist/index84.js +22 -2
  139. package/dist/index85.js +124 -2
  140. package/dist/index86.js +2 -2
  141. package/dist/index87.js +2 -2
  142. package/dist/index88.js +2 -2
  143. package/dist/index89.js +2 -2
  144. package/dist/index9.js +354 -4
  145. package/dist/index90.js +2 -2
  146. package/dist/index91.js +84 -2
  147. package/dist/index92.js +66 -10
  148. package/dist/index93.js +53 -7
  149. package/dist/index94.js +76 -5
  150. package/dist/index95.js +26 -4
  151. package/dist/index96.js +30 -7
  152. package/dist/index97.js +25 -32
  153. package/dist/index98.js +26 -57
  154. package/dist/index99.js +26 -9
  155. package/dist/vitepress/components/shared/LogoGrid.vue.d.ts +11 -0
  156. package/dist/vitepress/components/shared/ShaderBackground.vue.d.ts +2 -0
  157. package/dist/vitepress/components/shared/Spacer.vue.d.ts +2 -0
  158. package/dist/vitepress/components/voidzero/Header.vue.d.ts +22 -1
  159. package/dist/vitepress/components/voidzero/Investors.vue.d.ts +2 -0
  160. package/dist/vitepress/components/voidzero/Megamenu.vue.d.ts +16 -0
  161. package/dist/vitepress/components/voidzero/Resources.vue.d.ts +31 -0
  162. package/dist/vitepress/components/voidzero/Statistics.vue.d.ts +10 -1
  163. package/package.json +4 -2
  164. package/dist/index24.js +0 -4
  165. package/dist/index25.js +0 -4
  166. package/dist/index36.js +0 -149
  167. package/dist/index38.js +0 -116
  168. package/dist/index42.js +0 -55
  169. package/dist/index44.js +0 -28
  170. package/dist/index46.js +0 -28
  171. package/dist/index58.js +0 -4
  172. package/dist/index60.js +0 -4
package/dist/index10.js CHANGED
@@ -1,7 +1,7 @@
1
- import o from "./index30.js";
1
+ import o from "./index35.js";
2
2
  /* empty css */
3
- import t from "./index29.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4e2faa8b"]]);
3
+ import r from "./index31.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ea7e0470"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
package/dist/index100.js CHANGED
@@ -1,16 +1,28 @@
1
- import { ref as c } from "vue";
2
- function i(n, a) {
3
- const t = c(n);
4
- function r(e) {
5
- return a[t.value][e] ?? t.value;
1
+ import { defineComponent as i, onMounted as p, onUnmounted as l, createElementBlock as o, openBlock as c, createElementVNode as r } from "vue";
2
+ import d from "./index149.js";
3
+ const m = { class: "font-mono text-sm text-white leading-[1.5rem]" }, b = /* @__PURE__ */ i({
4
+ __name: "TerminalAnimation6",
5
+ props: {
6
+ onAnimationComplete: { type: Function }
7
+ },
8
+ setup(a) {
9
+ const t = a;
10
+ let s;
11
+ return p(() => {
12
+ const n = document.getElementById("terminal-code");
13
+ s = new d(n, {
14
+ loop: !1,
15
+ delay: 1
16
+ }), s.typeString("<span>$ vite build</span>").pauseFor(200).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block"><span class="text-vite">VITE+ v1.0.0</span> <span class="text-aqua">building for production</span></div>').pauseFor(100).pasteString('<div class="block">transforming...</div>').pauseFor(400).pasteString('<div class="block"><span class="text-zest">✓</span> <span class="text-grey">32 modules transformed...</span></div>').pauseFor(300).pasteString('<div class="block">rendering chunks...</div>').pasteString('<div class="block">computing gzip size...</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/<span class="text-white">index.html</span></span>&nbsp;&nbsp;0.46 kB | gzip: 0.30 kB</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/assets/<span class="text-vite">react-CHdo91hT.svg</span></span>&nbsp;&nbsp;4.13 kB | gzip: 2.05 kB</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/assets/<span class="text-electric">index-D8b4DHJx.css</span></span>&nbsp;&nbsp;1.39 kB | gzip: 0.71 kB</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/assets/<span class="text-aqua">index-CAl1KfkQ.js</span></span>188.06 kB | gzip: 59.21 kB</div>').pasteString('<div class="block"><span class="text-zest">✓ built in 308ms</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
+ t.onAnimationComplete && t.onAnimationComplete();
18
+ }).start();
19
+ }), l(() => {
20
+ s && s.stop();
21
+ }), (n, e) => (c(), o("p", m, [...e[0] || (e[0] = [
22
+ r("span", { id: "terminal-code" }, null, -1)
23
+ ])]));
6
24
  }
7
- return {
8
- state: t,
9
- dispatch: (e) => {
10
- t.value = r(e);
11
- }
12
- };
13
- }
25
+ });
14
26
  export {
15
- i as useStateMachine
27
+ b as default
16
28
  };
package/dist/index101.js CHANGED
@@ -1,60 +1,199 @@
1
- import { useStateMachine as U } from "./index100.js";
2
- import { ref as f, watch as N, nextTick as h, onUnmounted as S, computed as g } from "vue";
3
- import { defaultWindow as y } from "./index98.js";
4
- import { isClient as C } from "./index102.js";
5
- function P(o, t) {
6
- const A = f({}), r = f("none"), p = f(o), E = o.value ? "mounted" : "unmounted";
7
- let c;
8
- const M = t.value?.ownerDocument.defaultView ?? y, { state: m, dispatch: a } = U(E, {
9
- mounted: {
10
- UNMOUNT: "unmounted",
11
- ANIMATION_OUT: "unmountSuspended"
12
- },
13
- unmountSuspended: {
14
- MOUNT: "mounted",
15
- ANIMATION_END: "unmounted"
16
- },
17
- unmounted: { MOUNT: "mounted" }
18
- }), i = (e) => {
19
- if (C) {
20
- const n = new CustomEvent(e, {
21
- bubbles: !1,
22
- cancelable: !1
23
- });
24
- t.value?.dispatchEvent(n);
25
- }
26
- };
27
- N(o, async (e, n) => {
28
- const v = n !== e;
29
- if (await h(), v) {
30
- const d = r.value, u = l(t.value);
31
- e ? (a("MOUNT"), i("enter"), u === "none" && i("after-enter")) : u === "none" || u === "undefined" || A.value?.display === "none" ? (a("UNMOUNT"), i("leave"), i("after-leave")) : n && d !== u ? (a("ANIMATION_OUT"), i("leave")) : (a("UNMOUNT"), i("after-leave"));
32
- }
33
- }, { immediate: !0 });
34
- const s = (e) => {
35
- const n = l(t.value), v = n.includes(CSS.escape(e.animationName)), d = m.value === "mounted" ? "enter" : "leave";
36
- if (e.target === t.value && v && (i(`after-${d}`), a("ANIMATION_END"), !p.value)) {
37
- const u = t.value.style.animationFillMode;
38
- t.value.style.animationFillMode = "forwards", c = M?.setTimeout(() => {
39
- t.value?.style.animationFillMode === "forwards" && (t.value.style.animationFillMode = u);
40
- });
41
- }
42
- e.target === t.value && n === "none" && a("ANIMATION_END");
43
- }, T = (e) => {
44
- e.target === t.value && (r.value = l(t.value));
45
- }, O = N(t, (e, n) => {
46
- e ? (A.value = getComputedStyle(e), e.addEventListener("animationstart", T), e.addEventListener("animationcancel", s), e.addEventListener("animationend", s)) : (a("ANIMATION_END"), c !== void 0 && M?.clearTimeout(c), n?.removeEventListener("animationstart", T), n?.removeEventListener("animationcancel", s), n?.removeEventListener("animationend", s));
47
- }, { immediate: !0 }), I = N(m, () => {
48
- const e = l(t.value);
49
- r.value = m.value === "mounted" ? e : "none";
50
- });
51
- return S(() => {
52
- O(), I();
53
- }), { isPresent: g(() => ["mounted", "unmountSuspended"].includes(m.value)) };
54
- }
55
- function l(o) {
56
- return o && getComputedStyle(o).animationName || "none";
57
- }
1
+ import { defineComponent as s, createBlock as n, openBlock as f, unref as e, withCtx as c, createVNode as a } from "vue";
2
+ import { Shader as l, RadialGradient as d, Ripples as t, Circle as o, DiffuseBlur as y, Godrays as r, Glow as p, Saturation as i, FilmGrain as h } from "./index148.js";
3
+ const g = /* @__PURE__ */ s({
4
+ __name: "ShaderBackground",
5
+ setup(m) {
6
+ return (x, u) => (f(), n(e(l), { class: "hidden md:block absolute inset-0 -z-0" }, {
7
+ default: c(() => [
8
+ a(e(d), {
9
+ "color-a": "#011033",
10
+ "color-b": "#550072",
11
+ center: { x: 0.5, y: -0.4 },
12
+ radius: 1.42,
13
+ "offset-x": 0,
14
+ "offset-y": 0,
15
+ rotation: 0,
16
+ scale: 1,
17
+ "anchor-x": 0.5,
18
+ "anchor-y": 0.5,
19
+ "transform-edges": "transparent",
20
+ "mask-type": "alpha"
21
+ }),
22
+ a(e(t), {
23
+ phase: 0,
24
+ scale: 1,
25
+ speed: 0.7,
26
+ center: { x: 0.5, y: -0.4 },
27
+ "color-a": "#4b0aa600",
28
+ "color-b": "#0b003d",
29
+ "anchor-x": 0.5,
30
+ "anchor-y": 0.5,
31
+ "offset-x": 0,
32
+ "offset-y": 0,
33
+ "mask-type": "alpha",
34
+ rotation: 0,
35
+ softness: 2,
36
+ frequency: 11.4,
37
+ thickness: 0.2,
38
+ "transform-edges": "transparent"
39
+ }),
40
+ a(e(t), {
41
+ center: { x: 0.5, y: -0.4 },
42
+ "color-a": "#4b0aa600",
43
+ "color-b": "#062ab8",
44
+ speed: 1.4,
45
+ frequency: 11.4,
46
+ softness: 1,
47
+ thickness: 0.5,
48
+ phase: 5.85,
49
+ "offset-x": 0,
50
+ "offset-y": 0,
51
+ rotation: 0,
52
+ scale: 1,
53
+ "anchor-x": 0.5,
54
+ "anchor-y": 0.5,
55
+ "transform-edges": "transparent",
56
+ "blend-mode": "colorDodge",
57
+ "mask-type": "alpha",
58
+ opacity: 0.57
59
+ }),
60
+ a(e(t), {
61
+ center: { x: 0.5, y: -0.4 },
62
+ "color-a": "#4b0aa600",
63
+ "color-b": "#9cafff",
64
+ speed: 0.3,
65
+ frequency: 8,
66
+ softness: 0.5,
67
+ thickness: 0.93,
68
+ phase: 5.85,
69
+ "offset-x": 0,
70
+ "offset-y": 0,
71
+ rotation: 0,
72
+ scale: 1,
73
+ "anchor-x": 0.5,
74
+ "anchor-y": 0.5,
75
+ "transform-edges": "transparent",
76
+ "blend-mode": "linearDodge",
77
+ "mask-type": "alpha",
78
+ opacity: 0.74
79
+ }),
80
+ a(e(o), {
81
+ color: "#bde6ff",
82
+ scale: 1,
83
+ center: { x: 0.5, y: -0.2 },
84
+ radius: 0.64,
85
+ "anchor-x": 0.5,
86
+ "anchor-y": 0.5,
87
+ "offset-x": 0,
88
+ "offset-y": 0,
89
+ "mask-type": "alpha",
90
+ rotation: 0,
91
+ softness: 0.09,
92
+ "blend-mode": "screen",
93
+ "transform-edges": "transparent"
94
+ }),
95
+ a(e(o), {
96
+ color: "#00ddf5",
97
+ scale: 1,
98
+ center: { x: 0.5, y: -0.2 },
99
+ radius: 0.41,
100
+ "anchor-x": 0.5,
101
+ "anchor-y": 0.5,
102
+ "offset-x": 0,
103
+ "offset-y": 0,
104
+ "mask-type": "alpha",
105
+ rotation: 0,
106
+ softness: 0.19,
107
+ "transform-edges": "transparent"
108
+ }),
109
+ a(e(y), {
110
+ scale: 1,
111
+ "anchor-x": 0.5,
112
+ "anchor-y": 0.5,
113
+ "offset-x": 0,
114
+ "offset-y": 0,
115
+ "mask-type": "alpha",
116
+ rotation: 0,
117
+ intensity: 100,
118
+ "transform-edges": "transparent"
119
+ }),
120
+ a(e(r), {
121
+ center: { x: 0.5, y: -0.4 },
122
+ density: 0.7,
123
+ intensity: 0.6,
124
+ spotty: 1.5,
125
+ speed: 0.95,
126
+ "ray-color": "#a2f2f5",
127
+ "background-color": "transparent",
128
+ "offset-x": 0,
129
+ "offset-y": 0,
130
+ rotation: 0,
131
+ scale: 1,
132
+ "anchor-x": 0.5,
133
+ "anchor-y": 0.5,
134
+ "transform-edges": "transparent",
135
+ "blend-mode": "linearDodge",
136
+ "mask-type": "alpha",
137
+ visible: !0
138
+ }),
139
+ a(e(p), {
140
+ size: 20,
141
+ scale: 1,
142
+ "anchor-x": 0.5,
143
+ "anchor-y": 0.5,
144
+ "offset-x": 0,
145
+ "offset-y": 0,
146
+ "mask-type": "alpha",
147
+ rotation: 0,
148
+ intensity: 1.64,
149
+ threshold: 0.55,
150
+ "transform-edges": "transparent"
151
+ }),
152
+ a(e(r), {
153
+ scale: 1,
154
+ speed: -1,
155
+ center: { x: 0.5, y: -0.4 },
156
+ spotty: 0.49,
157
+ "anchor-x": 0.5,
158
+ "anchor-y": 0.5,
159
+ density: 0.14,
160
+ "offset-x": 0,
161
+ "offset-y": 0,
162
+ "mask-type": "alpha",
163
+ "ray-color": "#ce08ff",
164
+ rotation: 0,
165
+ "blend-mode": "overlay",
166
+ intensity: 0.69,
167
+ "transform-edges": "transparent",
168
+ "background-color": "transparent"
169
+ }),
170
+ a(e(i), {
171
+ scale: 1,
172
+ "anchor-x": 0.5,
173
+ "anchor-y": 0.5,
174
+ "offset-x": 0,
175
+ "offset-y": 0,
176
+ "mask-type": "alpha",
177
+ rotation: 0,
178
+ intensity: 3,
179
+ "transform-edges": "transparent"
180
+ }),
181
+ a(e(h), {
182
+ scale: 1,
183
+ "anchor-x": 0.5,
184
+ "anchor-y": 0.5,
185
+ "offset-x": 0,
186
+ "offset-y": 0,
187
+ "mask-type": "alpha",
188
+ rotation: 0,
189
+ strength: 0.8,
190
+ "transform-edges": "transparent"
191
+ })
192
+ ]),
193
+ _: 1
194
+ }));
195
+ }
196
+ });
58
197
  export {
59
- P as usePresence
198
+ g as default
60
199
  };