@voidzero-dev/vitepress-theme 0.1.36 → 0.1.41

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 (96) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index100.js +13 -6
  3. package/dist/index101.js +57 -4
  4. package/dist/index102.js +5 -3
  5. package/dist/index103.js +39 -7
  6. package/dist/index104.js +20 -32
  7. package/dist/index105.js +25 -57
  8. package/dist/index106.js +9 -8
  9. package/dist/index107.js +54 -11
  10. package/dist/index108.js +34 -56
  11. package/dist/index109.js +119 -6
  12. package/dist/index110.js +86 -33
  13. package/dist/index111.js +8 -21
  14. package/dist/index112.js +2 -25
  15. package/dist/index113.js +7204 -7
  16. package/dist/index114.js +1730 -52
  17. package/dist/index115.js +434 -31
  18. package/dist/index116.js +12 -117
  19. package/dist/index117.js +5323 -91
  20. package/dist/index118.js +2 -8
  21. package/dist/index119.js +32 -438
  22. package/dist/index120.js +1202 -5
  23. package/dist/index121.js +5 -1735
  24. package/dist/index122.js +4 -2
  25. package/dist/index18.js +2 -2
  26. package/dist/index27.js +1 -1
  27. package/dist/index3.js +3 -3
  28. package/dist/index30.js +8 -8
  29. package/dist/index34.js +12 -12
  30. package/dist/index36.js +7 -7
  31. package/dist/index38.js +40 -40
  32. package/dist/index4.js +10 -10
  33. package/dist/index40.js +84 -18
  34. package/dist/index41.js +66 -18
  35. package/dist/index42.js +53 -18
  36. package/dist/index43.js +74 -23
  37. package/dist/index44.js +26 -2
  38. package/dist/index45.js +26 -30
  39. package/dist/index46.js +26 -2
  40. package/dist/index47.js +26 -2
  41. package/dist/index48.js +26 -2
  42. package/dist/index49.js +26 -2
  43. package/dist/index50.js +1 -1
  44. package/dist/index51.js +1 -1
  45. package/dist/index52.js +18 -2
  46. package/dist/index53.js +18 -2
  47. package/dist/index54.js +18 -2
  48. package/dist/index55.js +2 -2
  49. package/dist/index56.js +34 -2
  50. package/dist/index57.js +2 -2
  51. package/dist/index58.js +2 -2
  52. package/dist/index59.js +2 -2
  53. package/dist/index6.js +29 -29
  54. package/dist/index60.js +2 -2
  55. package/dist/index61.js +1 -1
  56. package/dist/index62.js +2 -2
  57. package/dist/index63.js +2 -2
  58. package/dist/index64.js +2 -2
  59. package/dist/index65.js +2 -2
  60. package/dist/index66.js +2 -2
  61. package/dist/index67.js +2 -84
  62. package/dist/index68.js +21 -65
  63. package/dist/index69.js +123 -52
  64. package/dist/index7.js +1 -1
  65. package/dist/index70.js +2 -76
  66. package/dist/index71.js +2 -26
  67. package/dist/index72.js +3 -30
  68. package/dist/index73.js +52 -26
  69. package/dist/index74.js +43 -26
  70. package/dist/index75.js +49 -22
  71. package/dist/index76.js +2 -26
  72. package/dist/index77.js +2587 -2
  73. package/dist/index78.js +2 -49
  74. package/dist/index79.js +3 -44
  75. package/dist/index8.js +2 -2
  76. package/dist/index80.js +2 -2587
  77. package/dist/index81.js +2 -51
  78. package/dist/index82.js +2 -7207
  79. package/dist/index83.js +2 -14
  80. package/dist/index84.js +2 -2
  81. package/dist/index85.js +2 -22
  82. package/dist/index86.js +2 -124
  83. package/dist/index87.js +2 -2
  84. package/dist/index88.js +2 -5324
  85. package/dist/index89.js +2 -2
  86. package/dist/index90.js +1 -1
  87. package/dist/index91.js +1 -1
  88. package/dist/index92.js +10 -2
  89. package/dist/index93.js +7 -2
  90. package/dist/index94.js +5 -2
  91. package/dist/index95.js +4 -2
  92. package/dist/index96.js +6 -3
  93. package/dist/index97.js +30 -30
  94. package/dist/index98.js +53 -1198
  95. package/dist/index99.js +8 -9
  96. package/package.json +1 -1
package/dist/index89.js CHANGED
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ import f from "./index47.js";
2
2
  export {
3
- e as __module
3
+ f as default
4
4
  };
package/dist/index90.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index71.js";
1
+ import f from "./index48.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index91.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index72.js";
1
+ import f from "./index49.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index92.js CHANGED
@@ -1,4 +1,12 @@
1
- import f from "./index73.js";
1
+ import { inject as c, provide as s } from "vue";
2
+ function x(t, r) {
3
+ const e = typeof t == "string" && !r ? `${t}Context` : r, i = Symbol(e);
4
+ return [(n) => {
5
+ const o = c(i, n);
6
+ if (o || o === null) return o;
7
+ throw new Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(t) ? `one of the following components: ${t.join(", ")}` : `\`${t}\``}`);
8
+ }, (n) => (s(i, n), n)];
9
+ }
2
10
  export {
3
- f as default
11
+ x as createContext
4
12
  };
package/dist/index93.js CHANGED
@@ -1,4 +1,9 @@
1
- import f from "./index74.js";
1
+ function t() {
2
+ let e = document.activeElement;
3
+ if (e == null) return null;
4
+ for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null; ) e = e.shadowRoot.activeElement;
5
+ return e;
6
+ }
2
7
  export {
3
- f as default
8
+ t as getActiveElement
4
9
  };
package/dist/index94.js CHANGED
@@ -1,4 +1,7 @@
1
- import f from "./index75.js";
1
+ import { Fragment as e } from "vue";
2
+ function n(t) {
3
+ return t ? t.flatMap((r) => r.type === e ? n(r.children) : [r]) : [];
4
+ }
2
5
  export {
3
- f as default
6
+ n as renderSlotFragments
4
7
  };
package/dist/index95.js CHANGED
@@ -1,4 +1,6 @@
1
- import f from "./index76.js";
1
+ import { createContext as o } from "./index92.js";
2
+ import "vue";
3
+ const [e] = o("ConfigProvider");
2
4
  export {
3
- f as default
5
+ e as injectConfigProviderContext
4
6
  };
package/dist/index96.js CHANGED
@@ -1,6 +1,9 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1
+ import { injectConfigProviderContext as o } from "./index95.js";
2
+ import { ref as e, computed as i } from "vue";
3
+ function u(r) {
4
+ const t = o({ dir: e("ltr") });
5
+ return i(() => r?.value || t.dir?.value || "ltr");
3
6
  }
4
7
  export {
5
- e as getDefaultExportFromCjs
8
+ u as useDirection
6
9
  };
package/dist/index97.js CHANGED
@@ -1,35 +1,35 @@
1
- function y(n) {
2
- return Object.prototype.toString.call(n) === "[object Object]";
3
- }
4
- function a(n) {
5
- return y(n) || Array.isArray(n);
6
- }
7
- function p() {
8
- return !!(typeof window < "u" && window.document && window.document.createElement);
9
- }
10
- function l(n, t) {
11
- const e = Object.keys(n), c = Object.keys(t);
12
- if (e.length !== c.length) return !1;
13
- const s = JSON.stringify(Object.keys(n.breakpoints || {})), u = JSON.stringify(Object.keys(t.breakpoints || {}));
14
- return s !== u ? !1 : e.every((o) => {
15
- const r = n[o], i = t[o];
16
- return typeof r == "function" ? `${r}` == `${i}` : !a(r) || !a(i) ? r === i : l(r, i);
1
+ import { getCurrentInstance as l, ref as i, computed as s } from "vue";
2
+ import { unrefElement as a } from "./index98.js";
3
+ function m() {
4
+ const t = l(), r = i(), u = s(() => ["#text", "#comment"].includes(r.value?.$el.nodeName) ? r.value?.$el.nextElementSibling : a(r)), o = Object.assign({}, t.exposed), n = {};
5
+ for (const e in t.props) Object.defineProperty(n, e, {
6
+ enumerable: !0,
7
+ configurable: !0,
8
+ get: () => t.props[e]
17
9
  });
18
- }
19
- function f(n) {
20
- return n.concat().sort((t, e) => t.name > e.name ? 1 : -1).map((t) => t.options);
21
- }
22
- function O(n, t) {
23
- if (n.length !== t.length) return !1;
24
- const e = f(n), c = f(t);
25
- return e.every((s, u) => {
26
- const o = c[u];
27
- return l(s, o);
10
+ if (Object.keys(o).length > 0) for (const e in o) Object.defineProperty(n, e, {
11
+ enumerable: !0,
12
+ configurable: !0,
13
+ get: () => o[e]
28
14
  });
15
+ Object.defineProperty(n, "$el", {
16
+ enumerable: !0,
17
+ configurable: !0,
18
+ get: () => t.vnode.el
19
+ }), t.exposed = n;
20
+ function c(e) {
21
+ r.value = e, e && (Object.defineProperty(n, "$el", {
22
+ enumerable: !0,
23
+ configurable: !0,
24
+ get: () => e instanceof Element ? e : e.$el
25
+ }), t.exposed = n);
26
+ }
27
+ return {
28
+ forwardRef: c,
29
+ currentRef: r,
30
+ currentElement: u
31
+ };
29
32
  }
30
33
  export {
31
- l as areOptionsEqual,
32
- O as arePluginsEqual,
33
- p as canUseDOM,
34
- f as sortAndMapPluginToOptions
34
+ m as useForwardExpose
35
35
  };