@voidzero-dev/vitepress-theme 0.0.18 → 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/README.md +60 -0
- package/dist/assets/clients/bolt.svg +5 -0
- package/dist/assets/clients/cloudflare.svg +26 -0
- package/dist/assets/clients/framer.svg +16 -0
- package/dist/assets/clients/hugging-face.svg +9 -0
- package/dist/assets/clients/linear.svg +7 -0
- package/dist/assets/clients/mercedes.svg +2865 -0
- package/dist/assets/clients/openai.svg +1 -0
- package/dist/assets/clients/plaid.svg +7 -0
- package/dist/assets/clients/ramp.svg +1 -0
- package/dist/assets/clients/shopify.svg +30 -0
- package/dist/assets/icons/oxc-dark.svg +124 -0
- package/dist/assets/icons/oxc-light.svg +124 -0
- package/dist/assets/icons/oxc-mono.svg +5 -0
- package/dist/assets/icons/rolldown-dark.svg +92 -0
- package/dist/assets/icons/rolldown-light.svg +92 -0
- package/dist/assets/icons/rolldown-mono.svg +5 -0
- package/dist/assets/icons/vite-dark.svg +132 -0
- package/dist/assets/icons/vite-light.svg +132 -0
- package/dist/assets/icons/vite-mono.svg +5 -0
- package/dist/assets/icons/viteplus-dark.svg +133 -0
- package/dist/assets/icons/viteplus-light.svg +133 -0
- package/dist/assets/icons/viteplus-mono.svg +6 -0
- package/dist/assets/icons/vitest-dark.svg +52 -0
- package/dist/assets/icons/vitest-light.svg +52 -0
- package/dist/assets/icons/vitest-mono.svg +5 -0
- package/dist/assets/logos/oxc-dark.svg +125 -0
- package/dist/assets/logos/oxc-light.svg +125 -0
- package/dist/assets/logos/rolldown-dark.svg +93 -0
- package/dist/assets/logos/rolldown-light.svg +93 -0
- package/dist/assets/logos/vite-dark.svg +133 -0
- package/dist/assets/logos/vite-light.svg +133 -0
- package/dist/assets/logos/viteplus-dark.svg +133 -0
- package/dist/assets/logos/viteplus-light.svg +133 -0
- package/dist/assets/logos/vitest-dark.svg +53 -0
- package/dist/assets/logos/vitest-light.svg +53 -0
- package/dist/assets/logos/voidzero-dark.svg +3 -0
- package/dist/assets/logos/voidzero-light.svg +3 -0
- package/dist/assets/social/github.svg +3 -0
- package/dist/assets/terminal-background.jpg +0 -0
- package/dist/assets/viteplus/logo.svg +1 -0
- package/dist/assets/voidzero/animations/1280_x_552_homepage.riv +0 -0
- package/dist/assets/voidzero/animations/480_x_480_build_tool_for_web.riv +0 -0
- package/dist/assets/voidzero/animations/480_x_480_fastest_javascript_bundler.riv +0 -0
- package/dist/assets/voidzero/animations/480_x_480_language_toolchain.riv +0 -0
- package/dist/assets/voidzero/animations/480_x_480_next_generation_runner.riv +0 -0
- package/dist/assets/voidzero/backgrounds/casestudies.jpg +0 -0
- package/dist/assets/voidzero/backgrounds/oxc.jpg +0 -0
- package/dist/assets/voidzero/backgrounds/rolldown.jpg +0 -0
- package/dist/assets/voidzero/backgrounds/vite.jpg +0 -0
- package/dist/assets/voidzero/backgrounds/vitest.jpg +0 -0
- package/dist/assets/voidzero/logo.svg +3 -0
- package/dist/assets/voidzero/terminals/rolldown.svg +7 -0
- package/dist/assets/voidzero/terminals/vite.svg +9 -0
- package/dist/assets/voidzero/terminals/vitest.svg +49 -0
- package/dist/index.css +1 -346
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -3
- package/dist/index10.js +7 -0
- package/dist/index11.js +13 -0
- package/dist/index12.js +13 -0
- package/dist/index13.js +13 -0
- package/dist/index14.js +7 -0
- package/dist/index15.js +12 -0
- package/dist/index16.js +7 -0
- package/dist/index17.js +12 -0
- package/dist/index18.js +7 -0
- package/dist/index19.js +22 -0
- package/dist/index2.js +29 -0
- package/dist/index21.js +4 -0
- package/dist/index22.js +4 -0
- package/dist/index23.js +4 -0
- package/dist/index24.js +4 -0
- package/dist/index25.js +4 -0
- package/dist/index26.js +4 -0
- package/dist/index27.js +23 -0
- package/dist/index29.js +9 -0
- package/dist/index3.js +75 -0
- package/dist/index30.js +107 -0
- package/dist/index32.js +4 -0
- package/dist/index33.js +4 -0
- package/dist/index34.js +297 -0
- package/dist/index36.js +149 -0
- package/dist/index38.js +116 -0
- package/dist/index4.js +157 -0
- package/dist/index40.js +4 -0
- package/dist/index41.js +28 -0
- package/dist/index42.js +32 -0
- package/dist/index43.js +28 -0
- package/dist/index44.js +28 -0
- package/dist/index45.js +28 -0
- package/dist/index46.js +28 -0
- package/dist/index47.js +4 -0
- package/dist/index48.js +4 -0
- package/dist/index49.js +4 -0
- package/dist/index5.js +15 -0
- package/dist/index50.js +4 -0
- package/dist/index51.js +4 -0
- package/dist/index52.js +4 -0
- package/dist/index53.js +4 -0
- package/dist/index54.js +4 -0
- package/dist/index55.js +4 -0
- package/dist/index56.js +4 -0
- package/dist/index57.js +4 -0
- package/dist/index58.js +20 -0
- package/dist/index59.js +20 -0
- package/dist/index6.js +75 -0
- package/dist/index60.js +20 -0
- package/dist/index61.js +4 -0
- package/dist/index62.js +51 -0
- package/dist/index63.js +45 -0
- package/dist/index64.js +2589 -0
- package/dist/index65.js +53 -0
- package/dist/index66.js +7209 -0
- package/dist/index67.js +16 -0
- package/dist/index68.js +36 -0
- package/dist/index69.js +4 -0
- package/dist/index7.js +36 -0
- package/dist/index70.js +4 -0
- package/dist/index71.js +4 -0
- package/dist/index72.js +4 -0
- package/dist/index73.js +4 -0
- package/dist/index74.js +4 -0
- package/dist/index75.js +4 -0
- package/dist/index76.js +4 -0
- package/dist/index77.js +4 -0
- package/dist/index78.js +4 -0
- package/dist/index79.js +4 -0
- package/dist/index8.js +35 -0
- package/dist/index80.js +24 -0
- package/dist/index81.js +126 -0
- package/dist/index82.js +4 -0
- package/dist/index83.js +441 -0
- package/dist/index84.js +1737 -0
- 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 +7 -0
- 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 +4 -32
- package/package.json +13 -3
- package/dist/_virtual/_/plugin-vue/export-helper.js +0 -11
- package/dist/assets/cta-background-CgYtVhnO.jpg +0 -1
- package/dist/vitepress/assets/cta-background.js +0 -5
- package/dist/vitepress/components/Eyebrow.js +0 -18
- package/dist/vitepress/components/Footer.js +0 -72
- package/dist/vitepress/components/Header.js +0 -34
- package/dist/vitepress/components/RiveAnimation.js +0 -117
- package/dist/vitepress/components/Terminal.js +0 -161
- package/dist/vitepress/components/icons/VZIconBluesky.js +0 -21
- package/dist/vitepress/components/icons/VZIconGitHub.js +0 -21
- package/dist/vitepress/components/icons/VZIconLogo.js +0 -24
- package/dist/vitepress/components/icons/VZIconTwitter.js +0 -21
- package/dist/vitepress/components/terminal-animations/TerminalAnimation1.js +0 -37
- package/dist/vitepress/components/terminal-animations/TerminalAnimation2.js +0 -44
- package/dist/vitepress/components/terminal-animations/TerminalAnimation3.js +0 -37
- package/dist/vitepress/components/terminal-animations/TerminalAnimation4.js +0 -37
- package/dist/vitepress/components/terminal-animations/TerminalAnimation5.js +0 -37
- package/dist/vitepress/components/terminal-animations/TerminalAnimation6.js +0 -37
- package/dist/vitepress/index.js +0 -21
package/dist/index96.js
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { __module as q } from "./index97.js";
|
|
2
|
+
var fe = q.exports, te;
|
|
3
|
+
function he() {
|
|
4
|
+
return te ? q.exports : (te = 1, (function(ne, ve) {
|
|
5
|
+
(function(z, Q) {
|
|
6
|
+
ne.exports = Q();
|
|
7
|
+
})(typeof self < "u" ? self : fe, (() => (() => {
|
|
8
|
+
var z = { 3146: (s, c, p) => {
|
|
9
|
+
for (var S = p(3491), m = typeof window > "u" ? p.g : window, g = ["moz", "webkit"], h = "AnimationFrame", d = m["request" + h], _ = m["cancel" + h] || m["cancelRequest" + h], O = 0; !d && O < g.length; O++) d = m[g[O] + "Request" + h], _ = m[g[O] + "Cancel" + h] || m[g[O] + "CancelRequest" + h];
|
|
10
|
+
if (!d || !_) {
|
|
11
|
+
var D = 0, x = 0, b = [], R = 1e3 / 60;
|
|
12
|
+
d = function(y) {
|
|
13
|
+
if (b.length === 0) {
|
|
14
|
+
var T = S(), L = Math.max(0, R - (T - D));
|
|
15
|
+
D = L + T, setTimeout((function() {
|
|
16
|
+
var M = b.slice(0);
|
|
17
|
+
b.length = 0;
|
|
18
|
+
for (var C = 0; C < M.length; C++) if (!M[C].cancelled) try {
|
|
19
|
+
M[C].callback(D);
|
|
20
|
+
} catch (N) {
|
|
21
|
+
setTimeout((function() {
|
|
22
|
+
throw N;
|
|
23
|
+
}), 0);
|
|
24
|
+
}
|
|
25
|
+
}), Math.round(L));
|
|
26
|
+
}
|
|
27
|
+
return b.push({ handle: ++x, callback: y, cancelled: !1 }), x;
|
|
28
|
+
}, _ = function(y) {
|
|
29
|
+
for (var T = 0; T < b.length; T++) b[T].handle === y && (b[T].cancelled = !0);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
s.exports = function(y) {
|
|
33
|
+
return d.call(m, y);
|
|
34
|
+
}, s.exports.cancel = function() {
|
|
35
|
+
_.apply(m, arguments);
|
|
36
|
+
}, s.exports.polyfill = function(y) {
|
|
37
|
+
y || (y = m), y.requestAnimationFrame = d, y.cancelAnimationFrame = _;
|
|
38
|
+
};
|
|
39
|
+
}, 3491: function(s) {
|
|
40
|
+
(function() {
|
|
41
|
+
var c, p, S, m, g, h;
|
|
42
|
+
typeof performance < "u" && performance !== null && performance.now ? s.exports = function() {
|
|
43
|
+
return performance.now();
|
|
44
|
+
} : typeof process < "u" && process !== null && process.hrtime ? (s.exports = function() {
|
|
45
|
+
return (c() - g) / 1e6;
|
|
46
|
+
}, p = process.hrtime, m = (c = function() {
|
|
47
|
+
var d;
|
|
48
|
+
return 1e9 * (d = p())[0] + d[1];
|
|
49
|
+
})(), h = 1e9 * process.uptime(), g = m - h) : Date.now ? (s.exports = function() {
|
|
50
|
+
return Date.now() - S;
|
|
51
|
+
}, S = Date.now()) : (s.exports = function() {
|
|
52
|
+
return (/* @__PURE__ */ new Date()).getTime() - S;
|
|
53
|
+
}, S = (/* @__PURE__ */ new Date()).getTime());
|
|
54
|
+
}).call(this);
|
|
55
|
+
} }, Q = {};
|
|
56
|
+
function w(s) {
|
|
57
|
+
var c = Q[s];
|
|
58
|
+
if (c !== void 0) return c.exports;
|
|
59
|
+
var p = Q[s] = { exports: {} };
|
|
60
|
+
return z[s].call(p.exports, p, p.exports, w), p.exports;
|
|
61
|
+
}
|
|
62
|
+
w.n = (s) => {
|
|
63
|
+
var c = s && s.__esModule ? () => s.default : () => s;
|
|
64
|
+
return w.d(c, { a: c }), c;
|
|
65
|
+
}, w.d = (s, c) => {
|
|
66
|
+
for (var p in c) w.o(c, p) && !w.o(s, p) && Object.defineProperty(s, p, { enumerable: !0, get: c[p] });
|
|
67
|
+
}, w.g = (function() {
|
|
68
|
+
if (typeof globalThis == "object") return globalThis;
|
|
69
|
+
try {
|
|
70
|
+
return this || new Function("return this")();
|
|
71
|
+
} catch {
|
|
72
|
+
if (typeof window == "object") return window;
|
|
73
|
+
}
|
|
74
|
+
})(), w.o = (s, c) => Object.prototype.hasOwnProperty.call(s, c);
|
|
75
|
+
var J = {};
|
|
76
|
+
return (() => {
|
|
77
|
+
w.d(J, { default: () => oe });
|
|
78
|
+
var s = w(3146), c = w.n(s);
|
|
79
|
+
const p = function(o) {
|
|
80
|
+
return new RegExp(/<[a-z][\s\S]*>/i).test(o);
|
|
81
|
+
}, S = function(o, t) {
|
|
82
|
+
return Math.floor(Math.random() * (t - o + 1)) + o;
|
|
83
|
+
};
|
|
84
|
+
var m = "TYPE_CHARACTER", g = "REMOVE_CHARACTER", h = "REMOVE_ALL", d = "REMOVE_LAST_VISIBLE_NODE", _ = "PAUSE_FOR", O = "CALL_FUNCTION", D = "ADD_HTML_TAG_ELEMENT", x = "CHANGE_DELETE_SPEED", b = "CHANGE_DELAY", R = "CHANGE_CURSOR", y = "PASTE_STRING", T = "HTML_TAG";
|
|
85
|
+
function L(o) {
|
|
86
|
+
return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
87
|
+
return typeof t;
|
|
88
|
+
} : function(t) {
|
|
89
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
90
|
+
}, L(o);
|
|
91
|
+
}
|
|
92
|
+
function M(o, t) {
|
|
93
|
+
var a = Object.keys(o);
|
|
94
|
+
if (Object.getOwnPropertySymbols) {
|
|
95
|
+
var r = Object.getOwnPropertySymbols(o);
|
|
96
|
+
t && (r = r.filter((function(A) {
|
|
97
|
+
return Object.getOwnPropertyDescriptor(o, A).enumerable;
|
|
98
|
+
}))), a.push.apply(a, r);
|
|
99
|
+
}
|
|
100
|
+
return a;
|
|
101
|
+
}
|
|
102
|
+
function C(o) {
|
|
103
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
104
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
105
|
+
t % 2 ? M(Object(a), !0).forEach((function(r) {
|
|
106
|
+
u(o, r, a[r]);
|
|
107
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(a)) : M(Object(a)).forEach((function(r) {
|
|
108
|
+
Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(a, r));
|
|
109
|
+
}));
|
|
110
|
+
}
|
|
111
|
+
return o;
|
|
112
|
+
}
|
|
113
|
+
function N(o) {
|
|
114
|
+
return (function(t) {
|
|
115
|
+
if (Array.isArray(t)) return U(t);
|
|
116
|
+
})(o) || (function(t) {
|
|
117
|
+
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
118
|
+
})(o) || (function(t, a) {
|
|
119
|
+
if (t) {
|
|
120
|
+
if (typeof t == "string") return U(t, a);
|
|
121
|
+
var r = {}.toString.call(t).slice(8, -1);
|
|
122
|
+
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? U(t, a) : void 0;
|
|
123
|
+
}
|
|
124
|
+
})(o) || (function() {
|
|
125
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
126
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
127
|
+
})();
|
|
128
|
+
}
|
|
129
|
+
function U(o, t) {
|
|
130
|
+
(t == null || t > o.length) && (t = o.length);
|
|
131
|
+
for (var a = 0, r = Array(t); a < t; a++) r[a] = o[a];
|
|
132
|
+
return r;
|
|
133
|
+
}
|
|
134
|
+
function re(o, t) {
|
|
135
|
+
for (var a = 0; a < t.length; a++) {
|
|
136
|
+
var r = t[a];
|
|
137
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(o, $(r.key), r);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
function u(o, t, a) {
|
|
141
|
+
return (t = $(t)) in o ? Object.defineProperty(o, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : o[t] = a, o;
|
|
142
|
+
}
|
|
143
|
+
function $(o) {
|
|
144
|
+
var t = (function(a) {
|
|
145
|
+
if (L(a) != "object" || !a) return a;
|
|
146
|
+
var r = a[Symbol.toPrimitive];
|
|
147
|
+
if (r !== void 0) {
|
|
148
|
+
var A = r.call(a, "string");
|
|
149
|
+
if (L(A) != "object") return A;
|
|
150
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
151
|
+
}
|
|
152
|
+
return String(a);
|
|
153
|
+
})(o);
|
|
154
|
+
return L(t) == "symbol" ? t : t + "";
|
|
155
|
+
}
|
|
156
|
+
const oe = (function() {
|
|
157
|
+
function o(r, A) {
|
|
158
|
+
var e = this;
|
|
159
|
+
if ((function(n, i) {
|
|
160
|
+
if (!(n instanceof i)) throw new TypeError("Cannot call a class as a function");
|
|
161
|
+
})(this, o), u(this, "state", { cursorAnimation: null, lastFrameTime: null, pauseUntil: null, eventQueue: [], eventLoop: null, eventLoopPaused: !1, reverseCalledEvents: [], calledEvents: [], visibleNodes: [], initialOptions: null, elements: { container: null, wrapper: document.createElement("span"), cursor: document.createElement("span") } }), u(this, "options", { strings: null, cursor: "|", delay: "natural", pauseFor: 1500, deleteSpeed: "natural", loop: !1, autoStart: !1, devMode: !1, skipAddStyles: !1, wrapperClassName: "Typewriter__wrapper", cursorClassName: "Typewriter__cursor", stringSplitter: null, onCreateTextNode: null, onRemoveNode: null }), u(this, "setupWrapperElement", (function() {
|
|
162
|
+
e.state.elements.container && (e.state.elements.wrapper.className = e.options.wrapperClassName, e.state.elements.cursor.className = e.options.cursorClassName, e.state.elements.cursor.innerHTML = e.options.cursor, e.state.elements.container.innerHTML = "", e.state.elements.container.appendChild(e.state.elements.wrapper), e.state.elements.container.appendChild(e.state.elements.cursor));
|
|
163
|
+
})), u(this, "start", (function() {
|
|
164
|
+
return e.state.eventLoopPaused = !1, e.runEventLoop(), e;
|
|
165
|
+
})), u(this, "pause", (function() {
|
|
166
|
+
return e.state.eventLoopPaused = !0, e;
|
|
167
|
+
})), u(this, "stop", (function() {
|
|
168
|
+
return e.state.eventLoop && ((0, s.cancel)(e.state.eventLoop), e.state.eventLoop = null), e;
|
|
169
|
+
})), u(this, "pauseFor", (function(n) {
|
|
170
|
+
return e.addEventToQueue(_, { ms: n }), e;
|
|
171
|
+
})), u(this, "typeOutAllStrings", (function() {
|
|
172
|
+
return typeof e.options.strings == "string" ? (e.typeString(e.options.strings).pauseFor(e.options.pauseFor), e) : (e.options.strings.forEach((function(n) {
|
|
173
|
+
e.typeString(n).pauseFor(e.options.pauseFor).deleteAll(e.options.deleteSpeed);
|
|
174
|
+
})), e);
|
|
175
|
+
})), u(this, "typeString", (function(n) {
|
|
176
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
177
|
+
if (p(n)) return e.typeOutHTMLString(n, i);
|
|
178
|
+
if (n) {
|
|
179
|
+
var f = (e.options || {}).stringSplitter, v = typeof f == "function" ? f(n) : n.split("");
|
|
180
|
+
e.typeCharacters(v, i);
|
|
181
|
+
}
|
|
182
|
+
return e;
|
|
183
|
+
})), u(this, "pasteString", (function(n) {
|
|
184
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
185
|
+
return p(n) ? e.typeOutHTMLString(n, i, !0) : (n && e.addEventToQueue(y, { character: n, node: i }), e);
|
|
186
|
+
})), u(this, "typeOutHTMLString", (function(n) {
|
|
187
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, f = arguments.length > 2 ? arguments[2] : void 0, v = (function(k) {
|
|
188
|
+
var j = document.createElement("div");
|
|
189
|
+
return j.innerHTML = k, j.childNodes;
|
|
190
|
+
})(n);
|
|
191
|
+
if (v.length > 0) for (var l = 0; l < v.length; l++) {
|
|
192
|
+
var E = v[l], P = E.innerHTML;
|
|
193
|
+
E && E.nodeType !== 3 ? (E.innerHTML = "", e.addEventToQueue(D, { node: E, parentNode: i }), f ? e.pasteString(P, E) : e.typeString(P, E)) : E.textContent && (f ? e.pasteString(E.textContent, i) : e.typeString(E.textContent, i));
|
|
194
|
+
}
|
|
195
|
+
return e;
|
|
196
|
+
})), u(this, "deleteAll", (function() {
|
|
197
|
+
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "natural";
|
|
198
|
+
return e.addEventToQueue(h, { speed: n }), e;
|
|
199
|
+
})), u(this, "changeDeleteSpeed", (function(n) {
|
|
200
|
+
if (!n) throw new Error("Must provide new delete speed");
|
|
201
|
+
return e.addEventToQueue(x, { speed: n }), e;
|
|
202
|
+
})), u(this, "changeDelay", (function(n) {
|
|
203
|
+
if (!n) throw new Error("Must provide new delay");
|
|
204
|
+
return e.addEventToQueue(b, { delay: n }), e;
|
|
205
|
+
})), u(this, "changeCursor", (function(n) {
|
|
206
|
+
if (!n) throw new Error("Must provide new cursor");
|
|
207
|
+
return e.addEventToQueue(R, { cursor: n }), e;
|
|
208
|
+
})), u(this, "deleteChars", (function(n) {
|
|
209
|
+
if (!n) throw new Error("Must provide amount of characters to delete");
|
|
210
|
+
for (var i = 0; i < n; i++) e.addEventToQueue(g);
|
|
211
|
+
return e;
|
|
212
|
+
})), u(this, "callFunction", (function(n, i) {
|
|
213
|
+
if (!n || typeof n != "function") throw new Error("Callback must be a function");
|
|
214
|
+
return e.addEventToQueue(O, { cb: n, thisArg: i }), e;
|
|
215
|
+
})), u(this, "typeCharacters", (function(n) {
|
|
216
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
217
|
+
if (!n || !Array.isArray(n)) throw new Error("Characters must be an array");
|
|
218
|
+
return n.forEach((function(f) {
|
|
219
|
+
e.addEventToQueue(m, { character: f, node: i });
|
|
220
|
+
})), e;
|
|
221
|
+
})), u(this, "removeCharacters", (function(n) {
|
|
222
|
+
if (!n || !Array.isArray(n)) throw new Error("Characters must be an array");
|
|
223
|
+
return n.forEach((function() {
|
|
224
|
+
e.addEventToQueue(g);
|
|
225
|
+
})), e;
|
|
226
|
+
})), u(this, "addEventToQueue", (function(n, i) {
|
|
227
|
+
var f = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
|
|
228
|
+
return e.addEventToStateProperty(n, i, f, "eventQueue");
|
|
229
|
+
})), u(this, "addReverseCalledEvent", (function(n, i) {
|
|
230
|
+
var f = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
|
|
231
|
+
return e.options.loop ? e.addEventToStateProperty(n, i, f, "reverseCalledEvents") : e;
|
|
232
|
+
})), u(this, "addEventToStateProperty", (function(n, i) {
|
|
233
|
+
var f = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], v = arguments.length > 3 ? arguments[3] : void 0, l = { eventName: n, eventArgs: i || {} };
|
|
234
|
+
return e.state[v] = f ? [l].concat(N(e.state[v])) : [].concat(N(e.state[v]), [l]), e;
|
|
235
|
+
})), u(this, "runEventLoop", (function() {
|
|
236
|
+
e.state.lastFrameTime || (e.state.lastFrameTime = Date.now());
|
|
237
|
+
var n = Date.now(), i = n - e.state.lastFrameTime;
|
|
238
|
+
if (!e.state.eventQueue.length) {
|
|
239
|
+
if (!e.options.loop) return;
|
|
240
|
+
e.state.eventQueue = N(e.state.calledEvents), e.state.calledEvents = [], e.options = C({}, e.state.initialOptions);
|
|
241
|
+
}
|
|
242
|
+
if (e.state.eventLoop = c()(e.runEventLoop), !e.state.eventLoopPaused) {
|
|
243
|
+
if (e.state.pauseUntil) {
|
|
244
|
+
if (n < e.state.pauseUntil) return;
|
|
245
|
+
e.state.pauseUntil = null;
|
|
246
|
+
}
|
|
247
|
+
var f, v = N(e.state.eventQueue), l = v.shift();
|
|
248
|
+
if (!(i <= (f = l.eventName === d || l.eventName === g ? e.options.deleteSpeed === "natural" ? S(40, 80) : e.options.deleteSpeed : e.options.delay === "natural" ? S(120, 160) : e.options.delay))) {
|
|
249
|
+
var E = l.eventName, P = l.eventArgs;
|
|
250
|
+
switch (e.logInDevMode({ currentEvent: l, state: e.state, delay: f }), E) {
|
|
251
|
+
case y:
|
|
252
|
+
case m:
|
|
253
|
+
var k = P.character, j = P.node, X = document.createTextNode(k), F = X;
|
|
254
|
+
e.options.onCreateTextNode && typeof e.options.onCreateTextNode == "function" && (F = e.options.onCreateTextNode(k, X)), F && (j ? j.appendChild(F) : e.state.elements.wrapper.appendChild(F)), e.state.visibleNodes = [].concat(N(e.state.visibleNodes), [{ type: "TEXT_NODE", character: k, node: F }]);
|
|
255
|
+
break;
|
|
256
|
+
case g:
|
|
257
|
+
v.unshift({ eventName: d, eventArgs: { removingCharacterNode: !0 } });
|
|
258
|
+
break;
|
|
259
|
+
case _:
|
|
260
|
+
var ae = l.eventArgs.ms;
|
|
261
|
+
e.state.pauseUntil = Date.now() + parseInt(ae);
|
|
262
|
+
break;
|
|
263
|
+
case O:
|
|
264
|
+
var K = l.eventArgs, se = K.cb, ie = K.thisArg;
|
|
265
|
+
se.call(ie, { elements: e.state.elements });
|
|
266
|
+
break;
|
|
267
|
+
case D:
|
|
268
|
+
var Z = l.eventArgs, Y = Z.node, V = Z.parentNode;
|
|
269
|
+
V ? V.appendChild(Y) : e.state.elements.wrapper.appendChild(Y), e.state.visibleNodes = [].concat(N(e.state.visibleNodes), [{ type: T, node: Y, parentNode: V || e.state.elements.wrapper }]);
|
|
270
|
+
break;
|
|
271
|
+
case h:
|
|
272
|
+
var ue = e.state.visibleNodes, W = P.speed, H = [];
|
|
273
|
+
W && H.push({ eventName: x, eventArgs: { speed: W, temp: !0 } });
|
|
274
|
+
for (var ee = 0, le = ue.length; ee < le; ee++) H.push({ eventName: d, eventArgs: { removingCharacterNode: !1 } });
|
|
275
|
+
W && H.push({ eventName: x, eventArgs: { speed: e.options.deleteSpeed, temp: !0 } }), v.unshift.apply(v, H);
|
|
276
|
+
break;
|
|
277
|
+
case d:
|
|
278
|
+
var ce = l.eventArgs.removingCharacterNode;
|
|
279
|
+
if (e.state.visibleNodes.length) {
|
|
280
|
+
var G = e.state.visibleNodes.pop(), pe = G.type, I = G.node, de = G.character;
|
|
281
|
+
e.options.onRemoveNode && typeof e.options.onRemoveNode == "function" && e.options.onRemoveNode({ node: I, character: de }), I && I.parentNode.removeChild(I), pe === T && ce && v.unshift({ eventName: d, eventArgs: {} });
|
|
282
|
+
}
|
|
283
|
+
break;
|
|
284
|
+
case x:
|
|
285
|
+
e.options.deleteSpeed = l.eventArgs.speed;
|
|
286
|
+
break;
|
|
287
|
+
case b:
|
|
288
|
+
e.options.delay = l.eventArgs.delay;
|
|
289
|
+
break;
|
|
290
|
+
case R:
|
|
291
|
+
e.options.cursor = l.eventArgs.cursor, e.state.elements.cursor.innerHTML = l.eventArgs.cursor;
|
|
292
|
+
}
|
|
293
|
+
e.options.loop && (l.eventName === d || l.eventArgs && l.eventArgs.temp || (e.state.calledEvents = [].concat(N(e.state.calledEvents), [l]))), e.state.eventQueue = v, e.state.lastFrameTime = n;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
})), r) if (typeof r == "string") {
|
|
297
|
+
var B = document.querySelector(r);
|
|
298
|
+
if (!B) throw new Error("Could not find container element");
|
|
299
|
+
this.state.elements.container = B;
|
|
300
|
+
} else this.state.elements.container = r;
|
|
301
|
+
A && (this.options = C(C({}, this.options), A)), this.state.initialOptions = C({}, this.options), this.init();
|
|
302
|
+
}
|
|
303
|
+
var t, a;
|
|
304
|
+
return t = o, (a = [{ key: "init", value: function() {
|
|
305
|
+
var r, A;
|
|
306
|
+
this.setupWrapperElement(), this.addEventToQueue(R, { cursor: this.options.cursor }, !0), this.addEventToQueue(h, null, !0), !window || window.___TYPEWRITER_JS_STYLES_ADDED___ || this.options.skipAddStyles || (r = ".Typewriter__cursor{-webkit-animation:Typewriter-cursor 1s infinite;animation:Typewriter-cursor 1s infinite;margin-left:1px}@-webkit-keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}", (A = document.createElement("style")).appendChild(document.createTextNode(r)), document.head.appendChild(A), window.___TYPEWRITER_JS_STYLES_ADDED___ = !0), this.options.autoStart === !0 && this.options.strings && this.typeOutAllStrings().start();
|
|
307
|
+
} }, { key: "logInDevMode", value: function(r) {
|
|
308
|
+
this.options.devMode && console.log(r);
|
|
309
|
+
} }]) && re(t.prototype, a), Object.defineProperty(t, "prototype", { writable: !1 }), o;
|
|
310
|
+
})();
|
|
311
|
+
})(), J.default;
|
|
312
|
+
})()));
|
|
313
|
+
})(q), q.exports);
|
|
314
|
+
}
|
|
315
|
+
export {
|
|
316
|
+
he as __require
|
|
317
|
+
};
|
package/dist/index97.js
ADDED
package/dist/index98.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
desktopSrc: string;
|
|
3
|
+
mobileSrc?: string;
|
|
4
|
+
breakpoint?: number;
|
|
5
|
+
stateMachines?: string;
|
|
6
|
+
canvasClass?: string;
|
|
7
|
+
desktopWidth?: number;
|
|
8
|
+
desktopHeight?: number;
|
|
9
|
+
mobileWidth?: number;
|
|
10
|
+
mobileHeight?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
+
breakpoint: number;
|
|
14
|
+
stateMachines: string;
|
|
15
|
+
canvasClass: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
containerRef: HTMLDivElement;
|
|
18
|
+
canvasRef: HTMLCanvasElement;
|
|
19
|
+
}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
sectionRef: HTMLElement;
|
|
3
|
+
}, HTMLElement>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
onAnimationComplete?: () => void;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLParagraphElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
onAnimationComplete?: () => void;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLParagraphElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
onAnimationComplete?: () => void;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLParagraphElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
onAnimationComplete?: () => void;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLParagraphElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
onAnimationComplete?: () => void;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLParagraphElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
onAnimationComplete?: () => void;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLParagraphElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
'right-side'?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
emblaMainRef: HTMLDivElement;
|
|
3
|
+
emblaThumbRef: HTMLDivElement;
|
|
4
|
+
}, HTMLElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
href: string;
|
|
3
|
+
stars: string;
|
|
4
|
+
contributors: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
statsUrl?: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
5
|
+
statsUrl: string;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
import * as vitepress0 from "vitepress";
|
|
2
|
-
|
|
3
|
-
//#region src/vitepress/index.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @voidzerodev/vitepress-theme
|
|
7
|
-
*
|
|
8
|
-
* Shared VitePress theme providing base styles, fonts, and design tokens
|
|
9
|
-
* for VoidZero projects.
|
|
10
|
-
*
|
|
11
|
-
* Usage:
|
|
12
|
-
* Extend this theme in your project's VitePress theme.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* // In your-project/.vitepress/theme/index.ts
|
|
17
|
-
* import Theme from '@voidzero-dev/vitepress-theme'
|
|
18
|
-
* import './overrides.css' // Your project-specific styles
|
|
19
|
-
*
|
|
20
|
-
* export default {
|
|
21
|
-
* extends: Theme,
|
|
22
|
-
* Layout: YourLayout
|
|
23
|
-
* }
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
1
|
declare const VPTheme: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
app
|
|
31
|
-
}: vitepress0.EnhanceAppContext): void;
|
|
2
|
+
Layout: () => null;
|
|
3
|
+
enhanceApp({ app, siteData }: import('vitepress').EnhanceAppContext): void;
|
|
32
4
|
};
|
|
33
|
-
|
|
34
|
-
export
|
|
5
|
+
export { VPTheme };
|
|
6
|
+
export default VPTheme;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voidzero-dev/vitepress-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"description": "Shared VitePress theme for VoidZero projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,25 +18,35 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
|
-
"dev": "
|
|
22
|
-
"build": "
|
|
21
|
+
"dev": "vite build --watch",
|
|
22
|
+
"build": "vite build"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"vitepress": "^2.0.0-alpha.12",
|
|
26
26
|
"vue": "^3.5.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
+
"@number-flow/vue": "^0.4.8",
|
|
29
30
|
"@rive-app/canvas": "^2.31.6",
|
|
30
31
|
"@tailwindcss/typography": "^0.5.19",
|
|
31
32
|
"@tailwindcss/vite": "^4.1.13",
|
|
33
|
+
"chart.js": "^4.5.1",
|
|
34
|
+
"chartjs-adapter-moment": "^1.0.1",
|
|
35
|
+
"embla-carousel-autoplay": "^8.6.0",
|
|
36
|
+
"embla-carousel-vue": "^8.6.0",
|
|
37
|
+
"moment": "^2.30.1",
|
|
32
38
|
"reka-ui": "^2.5.1",
|
|
33
39
|
"tailwindcss": "^4.1.13",
|
|
34
40
|
"typewriter-effect": "^2.22.0"
|
|
35
41
|
},
|
|
36
42
|
"devDependencies": {
|
|
43
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
37
44
|
"tsdown": "^0.15.11",
|
|
38
45
|
"typescript": "^5.9.3",
|
|
39
46
|
"unplugin-vue": "^7.0.4",
|
|
47
|
+
"vite": "^7.1.12",
|
|
48
|
+
"vite-plugin-dts": "^4.5.4",
|
|
49
|
+
"vite-plugin-static-copy": "^3.1.4",
|
|
40
50
|
"vue-tsc": "^3.1.2"
|
|
41
51
|
}
|
|
42
52
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region \0/plugin-vue/export-helper
|
|
2
|
-
var export_helper_default = (sfc, props) => {
|
|
3
|
-
const target = sfc.__vccOpts || sfc;
|
|
4
|
-
for (const [key, val] of props) {
|
|
5
|
-
target[key] = val;
|
|
6
|
-
}
|
|
7
|
-
return target;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { export_helper_default as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
PLACEHOLDER - Replace with actual cta-background.jpg from viteplus.dev repository
|