@voidzero-dev/vitepress-theme 0.0.17 → 0.1.32

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 (159) hide show
  1. package/README.md +60 -0
  2. package/dist/assets/clients/bolt.svg +5 -0
  3. package/dist/assets/clients/cloudflare.svg +26 -0
  4. package/dist/assets/clients/framer.svg +16 -0
  5. package/dist/assets/clients/hugging-face.svg +9 -0
  6. package/dist/assets/clients/linear.svg +7 -0
  7. package/dist/assets/clients/mercedes.svg +2865 -0
  8. package/dist/assets/clients/openai.svg +1 -0
  9. package/dist/assets/clients/plaid.svg +7 -0
  10. package/dist/assets/clients/ramp.svg +1 -0
  11. package/dist/assets/clients/shopify.svg +30 -0
  12. package/dist/assets/cta-background.jpg +1 -0
  13. package/dist/assets/icons/oxc-dark.svg +124 -0
  14. package/dist/assets/icons/oxc-light.svg +124 -0
  15. package/dist/assets/icons/oxc-mono.svg +5 -0
  16. package/dist/assets/icons/rolldown-dark.svg +92 -0
  17. package/dist/assets/icons/rolldown-light.svg +92 -0
  18. package/dist/assets/icons/rolldown-mono.svg +5 -0
  19. package/dist/assets/icons/vite-dark.svg +132 -0
  20. package/dist/assets/icons/vite-light.svg +132 -0
  21. package/dist/assets/icons/vite-mono.svg +5 -0
  22. package/dist/assets/icons/viteplus-dark.svg +133 -0
  23. package/dist/assets/icons/viteplus-light.svg +133 -0
  24. package/dist/assets/icons/viteplus-mono.svg +6 -0
  25. package/dist/assets/icons/vitest-dark.svg +52 -0
  26. package/dist/assets/icons/vitest-light.svg +52 -0
  27. package/dist/assets/icons/vitest-mono.svg +5 -0
  28. package/dist/assets/logos/oxc-dark.svg +125 -0
  29. package/dist/assets/logos/oxc-light.svg +125 -0
  30. package/dist/assets/logos/rolldown-dark.svg +93 -0
  31. package/dist/assets/logos/rolldown-light.svg +93 -0
  32. package/dist/assets/logos/vite-dark.svg +133 -0
  33. package/dist/assets/logos/vite-light.svg +133 -0
  34. package/dist/assets/logos/viteplus-dark.svg +133 -0
  35. package/dist/assets/logos/viteplus-light.svg +133 -0
  36. package/dist/assets/logos/vitest-dark.svg +53 -0
  37. package/dist/assets/logos/vitest-light.svg +53 -0
  38. package/dist/assets/logos/voidzero-dark.svg +3 -0
  39. package/dist/assets/logos/voidzero-light.svg +3 -0
  40. package/dist/assets/social/github.svg +3 -0
  41. package/dist/assets/viteplus/logo.svg +1 -0
  42. package/dist/assets/voidzero/animations/1280_x_552_homepage.riv +0 -0
  43. package/dist/assets/voidzero/animations/480_x_480_build_tool_for_web.riv +0 -0
  44. package/dist/assets/voidzero/animations/480_x_480_fastest_javascript_bundler.riv +0 -0
  45. package/dist/assets/voidzero/animations/480_x_480_language_toolchain.riv +0 -0
  46. package/dist/assets/voidzero/animations/480_x_480_next_generation_runner.riv +0 -0
  47. package/dist/assets/voidzero/backgrounds/casestudies.jpg +0 -0
  48. package/dist/assets/voidzero/backgrounds/oxc.jpg +0 -0
  49. package/dist/assets/voidzero/backgrounds/rolldown.jpg +0 -0
  50. package/dist/assets/voidzero/backgrounds/vite.jpg +0 -0
  51. package/dist/assets/voidzero/backgrounds/vitest.jpg +0 -0
  52. package/dist/assets/voidzero/logo.svg +3 -0
  53. package/dist/assets/voidzero/terminals/rolldown.svg +7 -0
  54. package/dist/assets/voidzero/terminals/vite.svg +9 -0
  55. package/dist/assets/voidzero/terminals/vitest.svg +49 -0
  56. package/dist/index.css +1 -0
  57. package/dist/index.js +3 -6542
  58. package/dist/index10.js +7 -0
  59. package/dist/index11.js +13 -0
  60. package/dist/index12.js +13 -0
  61. package/dist/index13.js +13 -0
  62. package/dist/index14.js +7 -0
  63. package/dist/index15.js +12 -0
  64. package/dist/index16.js +7 -0
  65. package/dist/index17.js +12 -0
  66. package/dist/index19.js +4 -0
  67. package/dist/index2.js +27 -0
  68. package/dist/index20.js +4 -0
  69. package/dist/index21.js +4 -0
  70. package/dist/index22.js +4 -0
  71. package/dist/index23.js +4 -0
  72. package/dist/index24.js +4 -0
  73. package/dist/index25.js +23 -0
  74. package/dist/index27.js +9 -0
  75. package/dist/index28.js +107 -0
  76. package/dist/index3.js +75 -0
  77. package/dist/index30.js +4 -0
  78. package/dist/index31.js +4 -0
  79. package/dist/index32.js +297 -0
  80. package/dist/index34.js +149 -0
  81. package/dist/index36.js +20 -0
  82. package/dist/index37.js +20 -0
  83. package/dist/index38.js +20 -0
  84. package/dist/index39.js +4 -0
  85. package/dist/index4.js +157 -0
  86. package/dist/index40.js +28 -0
  87. package/dist/index41.js +32 -0
  88. package/dist/index42.js +28 -0
  89. package/dist/index43.js +28 -0
  90. package/dist/index44.js +28 -0
  91. package/dist/index45.js +28 -0
  92. package/dist/index46.js +4 -0
  93. package/dist/index47.js +4 -0
  94. package/dist/index48.js +4 -0
  95. package/dist/index49.js +4 -0
  96. package/dist/index5.js +15 -0
  97. package/dist/index50.js +4 -0
  98. package/dist/index51.js +4 -0
  99. package/dist/index52.js +4 -0
  100. package/dist/index53.js +4 -0
  101. package/dist/index54.js +4 -0
  102. package/dist/index55.js +4 -0
  103. package/dist/index56.js +4 -0
  104. package/dist/index57.js +4 -0
  105. package/dist/index58.js +4 -0
  106. package/dist/index59.js +4 -0
  107. package/dist/index6.js +75 -0
  108. package/dist/index60.js +4 -0
  109. package/dist/index61.js +4 -0
  110. package/dist/index62.js +4 -0
  111. package/dist/index63.js +36 -0
  112. package/dist/index64.js +4 -0
  113. package/dist/index65.js +4 -0
  114. package/dist/index66.js +4 -0
  115. package/dist/index67.js +4 -0
  116. package/dist/index68.js +4 -0
  117. package/dist/index69.js +4 -0
  118. package/dist/index7.js +36 -0
  119. package/dist/index70.js +4 -0
  120. package/dist/index71.js +4 -0
  121. package/dist/index72.js +4 -0
  122. package/dist/index73.js +4 -0
  123. package/dist/index74.js +4 -0
  124. package/dist/index75.js +4 -0
  125. package/dist/index76.js +24 -0
  126. package/dist/index77.js +126 -0
  127. package/dist/index78.js +4 -0
  128. package/dist/index79.js +35 -0
  129. package/dist/index8.js +35 -0
  130. package/dist/index80.js +1204 -0
  131. package/dist/index81.js +7 -0
  132. package/dist/index82.js +6 -0
  133. package/dist/index83.js +317 -0
  134. package/dist/index84.js +4 -0
  135. package/dist/index9.js +7 -0
  136. package/package.json +19 -20
  137. package/assets/checkmark.svg +0 -1
  138. package/assets/primary-button-background.jpg +0 -0
  139. package/assets/terminal-background.jpg +0 -0
  140. package/components/Eyebrow.vue +0 -11
  141. package/components/Footer.vue +0 -44
  142. package/components/Header.vue +0 -38
  143. package/components/RiveAnimation.vue +0 -144
  144. package/components/Terminal.vue +0 -165
  145. package/components/terminal-animations/TerminalAnimation1.vue +0 -54
  146. package/components/terminal-animations/TerminalAnimation2.vue +0 -59
  147. package/components/terminal-animations/TerminalAnimation3.vue +0 -46
  148. package/components/terminal-animations/TerminalAnimation4.vue +0 -50
  149. package/components/terminal-animations/TerminalAnimation5.vue +0 -51
  150. package/components/terminal-animations/TerminalAnimation6.vue +0 -55
  151. package/composables/useTypewriter.ts +0 -43
  152. package/dist/index.js.map +0 -1
  153. package/dist/style.css +0 -343
  154. package/fonts/APK-Protocol-Medium.woff2 +0 -0
  155. package/fonts/KHTeka-Medium.woff2 +0 -0
  156. package/fonts/KHTeka-Regular.woff2 +0 -0
  157. package/fonts/KHTekaMono-Medium.woff2 +0 -0
  158. package/fonts/KHTekaMono-Regular.woff2 +0 -0
  159. package/style.css +0 -343
package/dist/index4.js ADDED
@@ -0,0 +1,157 @@
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
+ 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";
9
+ const D = 1500, J = /* @__PURE__ */ w({
10
+ __name: "Terminal",
11
+ setup(L) {
12
+ const f = d("tab1"), v = d(!0);
13
+ let o = null;
14
+ const b = d(null), s = d(!1);
15
+ let m = null;
16
+ const c = ["tab1", "tab2", "tab3", "tab4", "tab5", "tab6"], T = () => {
17
+ const t = (c.indexOf(f.value) + 1) % c.length;
18
+ f.value = c[t];
19
+ }, l = () => {
20
+ v.value && (o && clearTimeout(o), o = setTimeout(() => {
21
+ T();
22
+ }, D));
23
+ }, g = () => {
24
+ v.value = !1, o && (clearTimeout(o), o = null);
25
+ };
26
+ return V(() => {
27
+ b.value && (m = new IntersectionObserver(
28
+ (p) => {
29
+ p.forEach((t) => {
30
+ t.isIntersecting && !s.value && (s.value = !0, m?.disconnect());
31
+ });
32
+ },
33
+ {
34
+ threshold: 0.2,
35
+ // Trigger when 20% of the element is visible
36
+ rootMargin: "0px"
37
+ }
38
+ ), m.observe(b.value));
39
+ }), C(() => {
40
+ o && clearTimeout(o), m && m.disconnect();
41
+ }), (p, t) => (_(), k("section", {
42
+ ref_key: "sectionRef",
43
+ ref: b,
44
+ class: "wrapper border-t h-[40rem] bg-wine terminal-background flex justify-center pt-28 overflow-clip"
45
+ }, [
46
+ A("div", {
47
+ class: x([
48
+ "self-stretch px-4 sm:px-8 py-5 sm:py-7 relative bg-primary rounded-tl-lg rounded-tr-lg inline-flex flex-col justify-start items-start gap-2 overflow-hidden w-[62rem] outline-1 outline-offset-[3px] outline-white/30",
49
+ "transition-transform duration-1000",
50
+ s.value ? "translate-y-0" : "translate-y-24"
51
+ ]),
52
+ style: { "transition-timing-function": "cubic-bezier(0.16, 1, 0.3, 1)" }
53
+ }, [
54
+ s.value ? (_(), E(a($), {
55
+ key: 0,
56
+ modelValue: f.value,
57
+ "onUpdate:modelValue": [
58
+ t[0] || (t[0] = (y) => f.value = y),
59
+ g
60
+ ]
61
+ }, {
62
+ default: n(() => [
63
+ e(a(I), {
64
+ "aria-label": "features",
65
+ class: x([
66
+ "absolute bottom-6 left-1/2 -translate-x-1/2 flex items-center p-1 rounded-md border border-white/10",
67
+ "transition-transform duration-700 delay-300",
68
+ s.value ? "translate-y-0" : "translate-y-12"
69
+ ]),
70
+ style: { "transition-timing-function": "cubic-bezier(0.16, 1, 0.3, 1)" }
71
+ }, {
72
+ default: n(() => [
73
+ e(a(i), { value: "tab1" }, {
74
+ default: n(() => [...t[1] || (t[1] = [
75
+ r(" new ", -1)
76
+ ])]),
77
+ _: 1
78
+ }),
79
+ e(a(i), { value: "tab2" }, {
80
+ default: n(() => [...t[2] || (t[2] = [
81
+ r(" dev ", -1)
82
+ ])]),
83
+ _: 1
84
+ }),
85
+ e(a(i), { value: "tab3" }, {
86
+ default: n(() => [...t[3] || (t[3] = [
87
+ r(" lint ", -1)
88
+ ])]),
89
+ _: 1
90
+ }),
91
+ e(a(i), { value: "tab4" }, {
92
+ default: n(() => [...t[4] || (t[4] = [
93
+ r(" fmt ", -1)
94
+ ])]),
95
+ _: 1
96
+ }),
97
+ e(a(i), { value: "tab5" }, {
98
+ default: n(() => [...t[5] || (t[5] = [
99
+ r(" test ", -1)
100
+ ])]),
101
+ _: 1
102
+ }),
103
+ e(a(i), { value: "tab6" }, {
104
+ default: n(() => [...t[6] || (t[6] = [
105
+ r(" build ", -1)
106
+ ])]),
107
+ _: 1
108
+ })
109
+ ]),
110
+ _: 1
111
+ }, 8, ["class"]),
112
+ e(a(u), { value: "tab1" }, {
113
+ default: n(() => [
114
+ e(z, { "on-animation-complete": l })
115
+ ]),
116
+ _: 1
117
+ }),
118
+ e(a(u), { value: "tab2" }, {
119
+ default: n(() => [
120
+ e(B, { "on-animation-complete": l })
121
+ ]),
122
+ _: 1
123
+ }),
124
+ e(a(u), { value: "tab3" }, {
125
+ default: n(() => [
126
+ e(O, { "on-animation-complete": l })
127
+ ]),
128
+ _: 1
129
+ }),
130
+ e(a(u), { value: "tab4" }, {
131
+ default: n(() => [
132
+ e(R, { "on-animation-complete": l })
133
+ ]),
134
+ _: 1
135
+ }),
136
+ e(a(u), { value: "tab5" }, {
137
+ default: n(() => [
138
+ e(U, { "on-animation-complete": l })
139
+ ]),
140
+ _: 1
141
+ }),
142
+ e(a(u), { value: "tab6" }, {
143
+ default: n(() => [
144
+ e(j, { "on-animation-complete": l })
145
+ ]),
146
+ _: 1
147
+ })
148
+ ]),
149
+ _: 1
150
+ }, 8, ["modelValue"])) : N("", !0)
151
+ ], 2)
152
+ ], 512));
153
+ }
154
+ });
155
+ export {
156
+ J as default
157
+ };
@@ -0,0 +1,28 @@
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 "./index81.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
+ });
26
+ export {
27
+ f as default
28
+ };
@@ -0,0 +1,32 @@
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 "./index81.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
+ export {
31
+ h as default
32
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as i, onMounted as o, onUnmounted as p, createElementBlock as l, openBlock as r, createElementVNode as c } from "vue";
2
+ import m from "./index81.js";
3
+ const d = { class: "font-mono text-sm text-white leading-[1.5rem]" }, g = /* @__PURE__ */ i({
4
+ __name: "TerminalAnimation3",
5
+ props: {
6
+ onAnimationComplete: { type: Function }
7
+ },
8
+ setup(a) {
9
+ const e = a;
10
+ let t;
11
+ return o(() => {
12
+ const n = document.getElementById("terminal-code");
13
+ t = new m(n, {
14
+ loop: !1,
15
+ delay: 1
16
+ }), t.typeString("<span>$ vite lint</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> <span class="text-aqua">lint</span></div>').pauseFor(500).pasteString('<div class="block text-grey">Found <span class="text-white">0 warnings</span> and <span class="text-white">0 errors</span>.</div>').pasteString('<div class="block text-grey"><span class="text-zest">✓</span> Finished in <span class="text-white">1ms</span> on <span class="text-white">3 files</span> with <span class="text-white">88 rules</span> using <span class="text-white">10 threads</span>.</div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
+ e.onAnimationComplete && e.onAnimationComplete();
18
+ }).start();
19
+ }), p(() => {
20
+ t && t.stop();
21
+ }), (n, s) => (r(), l("p", d, [...s[0] || (s[0] = [
22
+ c("span", { id: "terminal-code" }, null, -1)
23
+ ])]));
24
+ }
25
+ });
26
+ export {
27
+ g as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as p, onMounted as l, onUnmounted as c, createElementBlock as i, openBlock as o, createElementVNode as r } from "vue";
2
+ import m from "./index81.js";
3
+ const d = { class: "font-mono text-sm text-white leading-[1.5rem]" }, g = /* @__PURE__ */ p({
4
+ __name: "TerminalAnimation4",
5
+ props: {
6
+ onAnimationComplete: { type: Function }
7
+ },
8
+ setup(e) {
9
+ const t = e;
10
+ let s;
11
+ return l(() => {
12
+ const a = document.getElementById("terminal-code");
13
+ s = new m(a, {
14
+ loop: !1,
15
+ delay: 1
16
+ }), s.typeString("<span>$ vite fmt</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> <span class="text-aqua">fmt</span></div>').pauseFor(500).pasteString('<div class="block">src/App.css <span class="text-aqua">0ms</span> <span class="text-grey">(unchanged)</span></div>').pasteString('<div class="block">src/App.tsx <span class="text-aqua">1ms</span></div>').pasteString('<div class="block">src/index.css <span class="text-aqua">0ms</span> <span class="text-grey">(unchanged)</span></div>').pasteString('<div class="block">src/main.tsx <span class="text-aqua">1ms</span></div>').pasteString('<div class="block">src/vite-env.d.ts <span class="text-aqua">0ms</span> <span class="text-grey">(unchanged)</span></div>').pasteString('<div class="block"><span class="text-zest">✓</span> Formatted <span class="text-aqua">2 files</span> in <span class="text-aqua">2ms</span>.</div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
+ t.onAnimationComplete && t.onAnimationComplete();
18
+ }).start();
19
+ }), c(() => {
20
+ s && s.stop();
21
+ }), (a, n) => (o(), i("p", d, [...n[0] || (n[0] = [
22
+ r("span", { id: "terminal-code" }, null, -1)
23
+ ])]));
24
+ }
25
+ });
26
+ export {
27
+ g as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as p, onMounted as l, onUnmounted as o, createElementBlock as i, openBlock as r, createElementVNode as c } from "vue";
2
+ import m from "./index81.js";
3
+ const d = { class: "font-mono text-sm text-white leading-[1.5rem]" }, x = /* @__PURE__ */ p({
4
+ __name: "TerminalAnimation5",
5
+ props: {
6
+ onAnimationComplete: { type: Function }
7
+ },
8
+ setup(n) {
9
+ const t = n;
10
+ let s;
11
+ return l(() => {
12
+ const e = document.getElementById("terminal-code");
13
+ s = new m(e, {
14
+ loop: !1,
15
+ delay: 1
16
+ }), s.typeString("<span>$ vite test</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">test</span> RUN ~/vite-plus-demo</div>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(300).pasteString('<div class="block"><span class="text-zest">✓</span> test/hello.spec.ts <span class="text-grey">(1 test)</span> <span class="text-zest">1ms</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block text-grey">Test Files <span class="text-zest">1 passed</span> <span class="text-grey">(1)</span></div>').pasteString('<div class="block text-grey">Tests <span class="text-zest">1 passed</span> <span class="text-grey">(1)</span></div>').pasteString('<div class="block text-grey">Start at <span class="text-white">00:13:44</span></div>').pasteString('<div class="block text-grey">Duration <span class="text-white">199ms</span> <span class="text-grey">(transform 13ms, setup 0ms, collect 8ms, tests 1ms, environment 0ms, prepare 33ms)</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
+ t.onAnimationComplete && t.onAnimationComplete();
18
+ }).start();
19
+ }), o(() => {
20
+ s && s.stop();
21
+ }), (e, a) => (r(), i("p", d, [...a[0] || (a[0] = [
22
+ c("span", { id: "terminal-code" }, null, -1)
23
+ ])]));
24
+ }
25
+ });
26
+ export {
27
+ x as default
28
+ };
@@ -0,0 +1,28 @@
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 "./index81.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
+ ])]));
24
+ }
25
+ });
26
+ export {
27
+ b as default
28
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./index40.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./index41.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./index42.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./index43.js";
2
+ export {
3
+ f as default
4
+ };
package/dist/index5.js ADDED
@@ -0,0 +1,15 @@
1
+ import { defineComponent as t, createElementBlock as o, openBlock as n, createElementVNode as r, toDisplayString as s } from "vue";
2
+ const c = { class: "wrapper wrapper--ticks border-t p-5 pl-10" }, p = { class: "text-nickel dark:text-white text-xs font-medium font-mono uppercase tracking-wide" }, m = /* @__PURE__ */ t({
3
+ __name: "Eyebrow",
4
+ props: {
5
+ title: {}
6
+ },
7
+ setup(e) {
8
+ return (a, i) => (n(), o("section", c, [
9
+ r("span", p, s(e.title), 1)
10
+ ]));
11
+ }
12
+ });
13
+ export {
14
+ m as default
15
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./index44.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./index45.js";
2
+ export {
3
+ f as default
4
+ };