@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/index112.js CHANGED
@@ -1,27 +1,4 @@
1
- import { Slot as r } from "./index111.js";
2
- import { defineComponent as f, h as a } from "vue";
3
- const l = [
4
- "area",
5
- "img",
6
- "input"
7
- ], d = f({
8
- name: "Primitive",
9
- inheritAttrs: !1,
10
- props: {
11
- asChild: {
12
- type: Boolean,
13
- default: !1
14
- },
15
- as: {
16
- type: [String, Object],
17
- default: "div"
18
- }
19
- },
20
- setup(t, { attrs: i, slots: n }) {
21
- const e = t.asChild ? "template" : t.as;
22
- return typeof e == "string" && l.includes(e) ? () => a(e, i) : e !== "template" ? () => a(t.as, i, { default: n.default }) : () => a(r, i, { default: n.default });
23
- }
24
- });
1
+ var e = { exports: {} };
25
2
  export {
26
- d as Primitive
3
+ e as __module
27
4
  };
package/dist/index113.js CHANGED
@@ -1,12 +1,4 @@
1
- import { ref as n, computed as m } from "vue";
2
- import { unrefElement as r } from "./index105.js";
3
- function o() {
4
- const e = n(), t = m(() => ["#text", "#comment"].includes(e.value?.$el.nodeName) ? e.value?.$el.nextElementSibling : r(e));
5
- return {
6
- primitiveElement: e,
7
- currentElement: t
8
- };
9
- }
1
+ import f from "./index95.js";
10
2
  export {
11
- o as usePrimitiveElement
3
+ f as default
12
4
  };
package/dist/index114.js CHANGED
@@ -1,59 +1,4 @@
1
- import { Slot as s } from "./index111.js";
2
- import { usePrimitiveElement as m } from "./index113.js";
3
- import { ref as u, provide as h, inject as k, defineComponent as f, watch as w, h as v, watchEffect as x, markRaw as T, computed as p } from "vue";
4
- const d = "data-reka-collection-item";
5
- function j(M = {}) {
6
- const { key: A = "", isProvider: y = !1 } = M, a = `${A}CollectionProvider`;
7
- let e;
8
- if (y) {
9
- const o = u(/* @__PURE__ */ new Map());
10
- e = {
11
- collectionRef: u(),
12
- itemMap: o
13
- }, h(a, e);
14
- } else e = k(a);
15
- const C = (o = !1) => {
16
- const t = e.collectionRef.value;
17
- if (!t) return [];
18
- const r = Array.from(t.querySelectorAll(`[${d}]`)), l = Array.from(e.itemMap.value.values()).sort((n, c) => r.indexOf(n.ref) - r.indexOf(c.ref));
19
- return o ? l : l.filter((n) => n.ref.dataset.disabled !== "");
20
- }, E = f({
21
- name: "CollectionSlot",
22
- setup(o, { slots: t }) {
23
- const { primitiveElement: r, currentElement: i } = m();
24
- return w(i, () => {
25
- e.collectionRef.value = i.value;
26
- }), () => v(s, { ref: r }, t);
27
- }
28
- }), I = f({
29
- name: "CollectionItem",
30
- inheritAttrs: !1,
31
- props: { value: { validator: () => !0 } },
32
- setup(o, { slots: t, attrs: r }) {
33
- const { primitiveElement: i, currentElement: l } = m();
34
- return x((n) => {
35
- if (l.value) {
36
- const c = T(l.value);
37
- e.itemMap.value.set(c, {
38
- ref: l.value,
39
- value: o.value
40
- }), n(() => e.itemMap.value.delete(c));
41
- }
42
- }), () => v(s, {
43
- ...r,
44
- [d]: "",
45
- ref: i
46
- }, t);
47
- }
48
- }), R = p(() => Array.from(e.itemMap.value.values())), S = p(() => e.itemMap.value.size);
49
- return {
50
- getItems: C,
51
- reactiveItems: R,
52
- itemMapSize: S,
53
- CollectionSlot: E,
54
- CollectionItem: I
55
- };
56
- }
1
+ import f from "./index96.js";
57
2
  export {
58
- j as useCollection
3
+ f as default
59
4
  };
package/dist/index115.js CHANGED
@@ -1,38 +1,4 @@
1
- import { getActiveElement as n } from "./index100.js";
2
- const u = "rovingFocusGroup.onEntryFocus", s = {
3
- bubbles: !1,
4
- cancelable: !0
5
- }, i = {
6
- ArrowLeft: "prev",
7
- ArrowUp: "prev",
8
- ArrowRight: "next",
9
- ArrowDown: "next",
10
- PageUp: "first",
11
- Home: "first",
12
- PageDown: "last",
13
- End: "last"
14
- };
15
- function c(r, t) {
16
- return t !== "rtl" ? r : r === "ArrowLeft" ? "ArrowRight" : r === "ArrowRight" ? "ArrowLeft" : r;
17
- }
18
- function w(r, t, e) {
19
- const o = c(r.key, e);
20
- if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o)))
21
- return i[o];
22
- }
23
- function A(r, t = !1) {
24
- const e = n();
25
- for (const o of r)
26
- if (o === e || (o.focus({ preventScroll: t }), n() !== e)) return;
27
- }
28
- function l(r, t) {
29
- return r.map((e, o) => r[(t + o) % r.length]);
30
- }
1
+ import f from "./index97.js";
31
2
  export {
32
- u as ENTRY_FOCUS,
33
- s as EVENT_OPTIONS,
34
- i as MAP_KEY_TO_FOCUS_INTENT,
35
- A as focusFirst,
36
- w as getFocusIntent,
37
- l as wrapArray
3
+ f as default
38
4
  };
package/dist/index116.js CHANGED
@@ -1,121 +1,4 @@
1
- import { createContext as E } from "./index99.js";
2
- import { useDirection as x } from "./index103.js";
3
- import { Primitive as G } from "./index112.js";
4
- import { useCollection as O } from "./index114.js";
5
- import { focusFirst as k, ENTRY_FOCUS as M, EVENT_OPTIONS as N } from "./index115.js";
6
- import { defineComponent as P, toRefs as V, ref as c, createBlock as w, openBlock as A, unref as s, withCtx as g, createVNode as $, renderSlot as D } from "vue";
7
- import { useVModel as U } from "./index105.js";
8
- const [X, j] = E("RovingFocusGroup");
9
- var K = /* @__PURE__ */ P({
10
- __name: "RovingFocusGroup",
11
- props: {
12
- orientation: {
13
- type: String,
14
- required: !1,
15
- default: void 0
16
- },
17
- dir: {
18
- type: String,
19
- required: !1
20
- },
21
- loop: {
22
- type: Boolean,
23
- required: !1,
24
- default: !1
25
- },
26
- currentTabStopId: {
27
- type: [String, null],
28
- required: !1
29
- },
30
- defaultCurrentTabStopId: {
31
- type: String,
32
- required: !1
33
- },
34
- preventScrollOnEntryFocus: {
35
- type: Boolean,
36
- required: !1,
37
- default: !1
38
- },
39
- asChild: {
40
- type: Boolean,
41
- required: !1
42
- },
43
- as: {
44
- type: null,
45
- required: !1
46
- }
47
- },
48
- emits: ["entryFocus", "update:currentTabStopId"],
49
- setup(F, { expose: b, emit: I }) {
50
- const r = F, p = I, { loop: S, orientation: f, dir: y } = V(r), v = x(y), l = U(r, "currentTabStopId", p, {
51
- defaultValue: r.defaultCurrentTabStopId,
52
- passive: r.currentTabStopId === void 0
53
- }), u = c(!1), a = c(!1), d = c(0), { getItems: m, CollectionSlot: T } = O({ isProvider: !0 });
54
- function C(e) {
55
- const o = !a.value;
56
- if (e.currentTarget && e.target === e.currentTarget && o && !u.value) {
57
- const n = new CustomEvent(M, N);
58
- if (e.currentTarget.dispatchEvent(n), p("entryFocus", n), !n.defaultPrevented) {
59
- const i = m().map((t) => t.ref).filter((t) => t.dataset.disabled !== ""), _ = i.find((t) => t.getAttribute("data-active") === ""), R = i.find((t) => t.getAttribute("data-highlighted") === ""), q = i.find((t) => t.id === l.value), B = [
60
- _,
61
- R,
62
- q,
63
- ...i
64
- ].filter(Boolean);
65
- k(B, r.preventScrollOnEntryFocus);
66
- }
67
- }
68
- a.value = !1;
69
- }
70
- function h() {
71
- setTimeout(() => {
72
- a.value = !1;
73
- }, 1);
74
- }
75
- return b({ getItems: m }), j({
76
- loop: S,
77
- dir: v,
78
- orientation: f,
79
- currentTabStopId: l,
80
- onItemFocus: (e) => {
81
- l.value = e;
82
- },
83
- onItemShiftTab: () => {
84
- u.value = !0;
85
- },
86
- onFocusableItemAdd: () => {
87
- d.value++;
88
- },
89
- onFocusableItemRemove: () => {
90
- d.value--;
91
- }
92
- }), (e, o) => (A(), w(s(T), null, {
93
- default: g(() => [$(s(G), {
94
- tabindex: u.value || d.value === 0 ? -1 : 0,
95
- "data-orientation": s(f),
96
- as: e.as,
97
- "as-child": e.asChild,
98
- dir: s(v),
99
- style: { outline: "none" },
100
- onMousedown: o[0] || (o[0] = (n) => a.value = !0),
101
- onMouseup: h,
102
- onFocus: C,
103
- onBlur: o[1] || (o[1] = (n) => u.value = !1)
104
- }, {
105
- default: g(() => [D(e.$slots, "default")]),
106
- _: 3
107
- }, 8, [
108
- "tabindex",
109
- "data-orientation",
110
- "as",
111
- "as-child",
112
- "dir"
113
- ])]),
114
- _: 3
115
- }));
116
- }
117
- }), Z = K;
1
+ import f from "./index98.js";
118
2
  export {
119
- Z as RovingFocusGroup_default,
120
- X as injectRovingFocusGroupContext
3
+ f as default
121
4
  };
package/dist/index117.js CHANGED
@@ -1,94 +1,4 @@
1
- import { useId as b } from "./index106.js";
2
- import { Primitive as y } from "./index112.js";
3
- import { useCollection as I } from "./index114.js";
4
- import { getFocusIntent as g, wrapArray as F, focusFirst as K } from "./index115.js";
5
- import { injectRovingFocusGroupContext as S } from "./index116.js";
6
- import { defineComponent as h, computed as u, onMounted as C, onUnmounted as w, createBlock as T, openBlock as q, unref as i, withCtx as s, createVNode as B, renderSlot as x, nextTick as R } from "vue";
7
- var _ = /* @__PURE__ */ h({
8
- __name: "RovingFocusItem",
9
- props: {
10
- tabStopId: {
11
- type: String,
12
- required: !1
13
- },
14
- focusable: {
15
- type: Boolean,
16
- required: !1,
17
- default: !0
18
- },
19
- active: {
20
- type: Boolean,
21
- required: !1
22
- },
23
- allowShiftKey: {
24
- type: Boolean,
25
- required: !1
26
- },
27
- asChild: {
28
- type: Boolean,
29
- required: !1
30
- },
31
- as: {
32
- type: null,
33
- required: !1,
34
- default: "span"
35
- }
36
- },
37
- setup(d) {
38
- const n = d, t = S(), f = b(), l = u(() => n.tabStopId || f), c = u(() => t.currentTabStopId.value === l.value), { getItems: p, CollectionItem: m } = I();
39
- C(() => {
40
- n.focusable && t.onFocusableItemAdd();
41
- }), w(() => {
42
- n.focusable && t.onFocusableItemRemove();
43
- });
44
- function v(e) {
45
- if (e.key === "Tab" && e.shiftKey) {
46
- t.onItemShiftTab();
47
- return;
48
- }
49
- if (e.target !== e.currentTarget) return;
50
- const o = g(e, t.orientation.value, t.dir.value);
51
- if (o !== void 0) {
52
- if (e.metaKey || e.ctrlKey || e.altKey || !n.allowShiftKey && e.shiftKey) return;
53
- e.preventDefault();
54
- let a = [...p().map((r) => r.ref).filter((r) => r.dataset.disabled !== "")];
55
- if (o === "last") a.reverse();
56
- else if (o === "prev" || o === "next") {
57
- o === "prev" && a.reverse();
58
- const r = a.indexOf(e.currentTarget);
59
- a = t.loop.value ? F(a, r + 1) : a.slice(r + 1);
60
- }
61
- R(() => K(a));
62
- }
63
- }
64
- return (e, o) => (q(), T(i(m), null, {
65
- default: s(() => [B(i(y), {
66
- tabindex: c.value ? 0 : -1,
67
- "data-orientation": i(t).orientation.value,
68
- "data-active": e.active ? "" : void 0,
69
- "data-disabled": e.focusable ? void 0 : "",
70
- as: e.as,
71
- "as-child": e.asChild,
72
- onMousedown: o[0] || (o[0] = (a) => {
73
- e.focusable ? i(t).onItemFocus(l.value) : a.preventDefault();
74
- }),
75
- onFocus: o[1] || (o[1] = (a) => i(t).onItemFocus(l.value)),
76
- onKeydown: v
77
- }, {
78
- default: s(() => [x(e.$slots, "default")]),
79
- _: 3
80
- }, 8, [
81
- "tabindex",
82
- "data-orientation",
83
- "data-active",
84
- "data-disabled",
85
- "as",
86
- "as-child"
87
- ])]),
88
- _: 3
89
- }));
90
- }
91
- }), j = _;
1
+ import f from "./index99.js";
92
2
  export {
93
- j as RovingFocusItem_default
3
+ f as default
94
4
  };
package/dist/index118.js CHANGED
@@ -1,10 +1,4 @@
1
- function e(n, t) {
2
- return `${n}-trigger-${t}`;
3
- }
4
- function r(n, t) {
5
- return `${n}-content-${t}`;
6
- }
1
+ import f from "./index100.js";
7
2
  export {
8
- r as makeContentId,
9
- e as makeTriggerId
3
+ f as default
10
4
  };