@voidzero-dev/vitepress-theme 0.1.38 → 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 +26 -7
  15. package/dist/index101.js +197 -5
  16. package/dist/index102.js +1014 -4
  17. package/dist/index103.js +34 -7
  18. package/dist/index104.js +2 -33
  19. package/dist/index105.js +2 -57
  20. package/dist/index106.js +2 -9
  21. package/dist/index107.js +2 -14
  22. package/dist/index108.js +2 -58
  23. package/dist/index109.js +2 -6
  24. package/dist/index11.js +5 -11
  25. package/dist/index110.js +2 -39
  26. package/dist/index111.js +5324 -21
  27. package/dist/index112.js +2 -25
  28. package/dist/index113.js +2 -10
  29. package/dist/index114.js +2 -57
  30. package/dist/index115.js +2 -36
  31. package/dist/index116.js +2 -119
  32. package/dist/index117.js +2 -92
  33. package/dist/index118.js +2 -8
  34. package/dist/index119.js +2 -439
  35. package/dist/index12.js +9 -9
  36. package/dist/index120.js +10 -5
  37. package/dist/index121.js +7 -2
  38. package/dist/index122.js +4 -1734
  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 +2 -25
  105. package/dist/index52.js +2 -22
  106. package/dist/index53.js +2 -124
  107. package/dist/index54.js +3 -2
  108. package/dist/index55.js +2 -2
  109. package/dist/index56.js +2 -2
  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 +2 -2
  115. package/dist/index63.js +2 -2
  116. package/dist/index64.js +2 -2
  117. package/dist/index65.js +2 -2
  118. package/dist/index66.js +2 -2
  119. package/dist/index67.js +2 -18
  120. package/dist/index68.js +2 -18
  121. package/dist/index69.js +2 -18
  122. package/dist/index7.js +2 -2
  123. package/dist/index70.js +2 -2
  124. package/dist/index71.js +2 -2
  125. package/dist/index72.js +2 -2
  126. package/dist/index73.js +2 -34
  127. package/dist/index74.js +2 -2
  128. package/dist/index75.js +1 -1
  129. package/dist/index76.js +52 -2
  130. package/dist/index77.js +44 -3
  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 +1 -1
  136. package/dist/index82.js +2 -49
  137. package/dist/index83.js +3 -44
  138. package/dist/index84.js +22 -2587
  139. package/dist/index85.js +124 -51
  140. package/dist/index86.js +2 -7207
  141. package/dist/index87.js +2 -14
  142. package/dist/index88.js +2 -5324
  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 -2
  148. package/dist/index93.js +53 -2
  149. package/dist/index94.js +76 -2
  150. package/dist/index95.js +25 -1
  151. package/dist/index96.js +30 -33
  152. package/dist/index97.js +26 -1202
  153. package/dist/index98.js +26 -4
  154. package/dist/index99.js +26 -10
  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/index85.js CHANGED
@@ -1,53 +1,126 @@
1
- import { defineComponent as g, ref as T, computed as l, inject as P, createElementBlock as y, openBlock as h, mergeProps as w, unref as m } from "vue";
2
- import { d as v, N as i, f as b } from "./index119.js";
3
- const x = Symbol(), M = ["batched", "trend", "plugins", "animated", "transformTiming", "spinTiming", "opacityTiming", "respectMotionPreference", "data-will-change", "digits", "innerHTML", "data"], k = /* @__PURE__ */ g({
4
- inheritAttrs: !1,
5
- __name: "index",
6
- props: {
7
- transformTiming: { default: () => i.defaultProps.transformTiming },
8
- spinTiming: { default: () => i.defaultProps.spinTiming },
9
- opacityTiming: { default: () => i.defaultProps.opacityTiming },
10
- animated: { type: Boolean, default: () => i.defaultProps.animated },
11
- respectMotionPreference: { type: Boolean, default: () => i.defaultProps.respectMotionPreference },
12
- trend: { type: [Number, Function], default: () => i.defaultProps.trend },
13
- plugins: { default: () => i.defaultProps.plugins },
14
- digits: { default: () => i.defaultProps.digits },
15
- locales: {},
16
- format: {},
17
- value: {},
18
- prefix: {},
19
- suffix: {},
20
- willChange: { type: Boolean, default: !1 }
21
- },
22
- emits: ["animationsstart", "animationsfinish"],
23
- setup(t, { expose: f, emit: p }) {
24
- const a = T();
25
- f({ el: a });
26
- const r = p, d = l(() => new Intl.NumberFormat(t.locales, t.format)), s = l(() => b(t.value, d.value, t.prefix, t.suffix)), u = void 0, o = P(x, void 0);
27
- return o?.(a, s), (e, n) => (h(), y("number-flow-vue", w({
28
- ref_key: "el",
29
- ref: a
30
- }, e.$attrs, {
31
- batched: !!m(o),
32
- trend: e.trend,
33
- plugins: e.plugins,
34
- animated: e.animated,
35
- transformTiming: e.transformTiming,
36
- spinTiming: e.spinTiming,
37
- opacityTiming: e.opacityTiming,
38
- respectMotionPreference: e.respectMotionPreference,
39
- "data-will-change": e.willChange ? "" : void 0,
40
- digits: e.digits,
41
- innerHTML: m(u),
42
- "data-allow-mismatch": "",
43
- onAnimationsstart: n[0] || (n[0] = (c) => r("animationsstart")),
44
- onAnimationsfinish: n[1] || (n[1] = (c) => r("animationsfinish")),
45
- data: s.value
46
- }), null, 16, M));
47
- }
48
- });
49
- v("number-flow-vue", i);
1
+ const B = {
2
+ active: !0,
3
+ breakpoints: {},
4
+ delay: 4e3,
5
+ jump: !1,
6
+ playOnInit: !0,
7
+ stopOnFocusIn: !0,
8
+ stopOnInteraction: !0,
9
+ stopOnMouseEnter: !1,
10
+ stopOnLastSnap: !1,
11
+ rootNode: null
12
+ };
13
+ function C(l, n) {
14
+ const t = l.scrollSnapList();
15
+ return typeof n == "number" ? t.map(() => n) : n(t, l);
16
+ }
17
+ function H(l, n) {
18
+ const t = l.rootNode();
19
+ return n && n(t) || t;
20
+ }
21
+ function E(l = {}) {
22
+ let n, t, r, y, u = null, c = 0, o = !1, f = !1, g = !1, p = !1;
23
+ function x(e, a) {
24
+ t = e;
25
+ const {
26
+ mergeOptions: d,
27
+ optionsAtMedia: O
28
+ } = a, R = d(B, E.globalOptions), W = d(R, l);
29
+ if (n = O(W), t.scrollSnapList().length <= 1) return;
30
+ p = n.jump, r = !1, y = C(t, n.delay);
31
+ const {
32
+ eventStore: m,
33
+ ownerDocument: z
34
+ } = t.internalEngine(), D = !!t.internalEngine().options.watchDrag, b = H(t, n.rootNode);
35
+ m.add(z, "visibilitychange", h), D && t.on("pointerDown", I), D && !n.stopOnInteraction && t.on("pointerUp", w), n.stopOnMouseEnter && m.add(b, "mouseenter", A), n.stopOnMouseEnter && !n.stopOnInteraction && m.add(b, "mouseleave", L), n.stopOnFocusIn && t.on("slideFocusStart", s), n.stopOnFocusIn && !n.stopOnInteraction && m.add(t.containerNode(), "focusout", i), n.playOnInit && i();
36
+ }
37
+ function T() {
38
+ t.off("pointerDown", I).off("pointerUp", w).off("slideFocusStart", s), s(), r = !0, o = !1;
39
+ }
40
+ function v() {
41
+ const {
42
+ ownerWindow: e
43
+ } = t.internalEngine();
44
+ e.clearTimeout(c), c = e.setTimeout(k, y[t.selectedScrollSnap()]), u = (/* @__PURE__ */ new Date()).getTime(), t.emit("autoplay:timerset");
45
+ }
46
+ function N() {
47
+ const {
48
+ ownerWindow: e
49
+ } = t.internalEngine();
50
+ e.clearTimeout(c), c = 0, u = null, t.emit("autoplay:timerstopped");
51
+ }
52
+ function i() {
53
+ if (!r) {
54
+ if (S()) {
55
+ g = !0;
56
+ return;
57
+ }
58
+ o || t.emit("autoplay:play"), v(), o = !0;
59
+ }
60
+ }
61
+ function s() {
62
+ r || (o && t.emit("autoplay:stop"), N(), o = !1);
63
+ }
64
+ function h() {
65
+ if (S())
66
+ return g = o, s();
67
+ g && i();
68
+ }
69
+ function S() {
70
+ const {
71
+ ownerDocument: e
72
+ } = t.internalEngine();
73
+ return e.visibilityState === "hidden";
74
+ }
75
+ function I() {
76
+ f || s();
77
+ }
78
+ function w() {
79
+ f || i();
80
+ }
81
+ function A() {
82
+ f = !0, s();
83
+ }
84
+ function L() {
85
+ f = !1, i();
86
+ }
87
+ function F(e) {
88
+ typeof e < "u" && (p = e), i();
89
+ }
90
+ function M() {
91
+ o && s();
92
+ }
93
+ function U() {
94
+ o && i();
95
+ }
96
+ function j() {
97
+ return o;
98
+ }
99
+ function k() {
100
+ const {
101
+ index: e
102
+ } = t.internalEngine(), a = e.clone().add(1).get(), d = t.scrollSnapList().length - 1, O = n.stopOnLastSnap && a === d;
103
+ if (t.canScrollNext() ? t.scrollNext(p) : t.scrollTo(0, p), t.emit("autoplay:select"), O) return s();
104
+ i();
105
+ }
106
+ function P() {
107
+ if (!u) return null;
108
+ const e = y[t.selectedScrollSnap()], a = (/* @__PURE__ */ new Date()).getTime() - u;
109
+ return e - a;
110
+ }
111
+ return {
112
+ name: "autoplay",
113
+ options: l,
114
+ init: x,
115
+ destroy: T,
116
+ play: F,
117
+ stop: M,
118
+ reset: U,
119
+ isPlaying: j,
120
+ timeUntilNext: P
121
+ };
122
+ }
123
+ E.globalOptions = void 0;
50
124
  export {
51
- i as NumberFlowElement,
52
- k as default
125
+ E as default
53
126
  };