@voidzero-dev/vitepress-theme 0.1.36 → 0.1.38

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 (62) hide show
  1. package/dist/index120.js +1 -1
  2. package/dist/index121.js +2 -1735
  3. package/dist/index122.js +1735 -2
  4. package/dist/index27.js +1 -1
  5. package/dist/index3.js +3 -3
  6. package/dist/index34.js +12 -12
  7. package/dist/index36.js +7 -7
  8. package/dist/index38.js +7 -7
  9. package/dist/index4.js +10 -10
  10. package/dist/index40.js +84 -18
  11. package/dist/index41.js +66 -18
  12. package/dist/index42.js +53 -18
  13. package/dist/index43.js +74 -23
  14. package/dist/index44.js +26 -2
  15. package/dist/index45.js +26 -30
  16. package/dist/index46.js +26 -2
  17. package/dist/index47.js +26 -2
  18. package/dist/index48.js +26 -2
  19. package/dist/index49.js +26 -2
  20. package/dist/index50.js +2 -2
  21. package/dist/index51.js +25 -2
  22. package/dist/index52.js +22 -2
  23. package/dist/index53.js +124 -2
  24. package/dist/index54.js +2 -2
  25. package/dist/index55.js +2 -2
  26. package/dist/index56.js +2 -2
  27. package/dist/index57.js +2 -2
  28. package/dist/index58.js +2 -2
  29. package/dist/index6.js +1 -1
  30. package/dist/index67.js +18 -84
  31. package/dist/index68.js +18 -66
  32. package/dist/index69.js +18 -53
  33. package/dist/index7.js +2 -2
  34. package/dist/index70.js +2 -76
  35. package/dist/index71.js +2 -26
  36. package/dist/index72.js +2 -30
  37. package/dist/index73.js +30 -22
  38. package/dist/index74.js +2 -26
  39. package/dist/index75.js +2 -26
  40. package/dist/index76.js +2 -26
  41. package/dist/index77.js +2 -2
  42. package/dist/index78.js +2 -49
  43. package/dist/index79.js +3 -44
  44. package/dist/index8.js +3 -3
  45. package/dist/index80.js +2 -2587
  46. package/dist/index81.js +2 -51
  47. package/dist/index82.js +49 -7207
  48. package/dist/index83.js +43 -14
  49. package/dist/index84.js +2587 -2
  50. package/dist/index85.js +50 -21
  51. package/dist/index86.js +7186 -103
  52. package/dist/index87.js +14 -2
  53. package/dist/index90.js +1 -1
  54. package/dist/index91.js +1 -1
  55. package/dist/index92.js +1 -1
  56. package/dist/index93.js +1 -1
  57. package/dist/index94.js +1 -1
  58. package/dist/index95.js +1 -1
  59. package/dist/index96.js +32 -3
  60. package/dist/index97.js +1201 -32
  61. package/dist/index98.js +3 -1201
  62. package/package.json +1 -1
package/dist/index68.js CHANGED
@@ -1,68 +1,20 @@
1
- import { useForwardExpose as p } from "./index104.js";
2
- import { Presence_default as c } from "./index110.js";
3
- import { Primitive as v } from "./index112.js";
4
- import { injectTabsRootContext as b } from "./index67.js";
5
- import { makeTriggerId as _, makeContentId as y } from "./index118.js";
6
- import { defineComponent as C, computed as n, ref as h, onMounted as g, createBlock as I, openBlock as k, unref as t, withCtx as u, createVNode as q, normalizeStyle as T, renderSlot as B, createCommentVNode as M } from "vue";
7
- var S = /* @__PURE__ */ C({
8
- __name: "TabsContent",
9
- props: {
10
- value: {
11
- type: [String, Number],
12
- required: !0
13
- },
14
- forceMount: {
15
- type: Boolean,
16
- required: !1
17
- },
18
- asChild: {
19
- type: Boolean,
20
- required: !1
21
- },
22
- as: {
23
- type: null,
24
- required: !1
25
- }
26
- },
27
- setup(d) {
28
- const o = d, { forwardRef: s } = p(), e = b(), m = n(() => _(e.baseId, o.value)), f = n(() => y(e.baseId, o.value)), r = n(() => o.value === e.modelValue.value), i = h(r.value);
29
- return g(() => {
30
- requestAnimationFrame(() => {
31
- i.value = !1;
32
- });
33
- }), (a, w) => (k(), I(t(c), {
34
- present: a.forceMount || r.value,
35
- "force-mount": ""
36
- }, {
37
- default: u(({ present: l }) => [q(t(v), {
38
- id: f.value,
39
- ref: t(s),
40
- "as-child": a.asChild,
41
- as: a.as,
42
- role: "tabpanel",
43
- "data-state": r.value ? "active" : "inactive",
44
- "data-orientation": t(e).orientation.value,
45
- "aria-labelledby": m.value,
46
- hidden: !l,
47
- tabindex: "0",
48
- style: T({ animationDuration: i.value ? "0s" : void 0 })
49
- }, {
50
- default: u(() => [!t(e).unmountOnHide.value || l ? B(a.$slots, "default", { key: 0 }) : M("v-if", !0)]),
51
- _: 2
52
- }, 1032, [
53
- "id",
54
- "as-child",
55
- "as",
56
- "data-state",
57
- "data-orientation",
58
- "aria-labelledby",
59
- "hidden",
60
- "style"
61
- ])]),
62
- _: 3
63
- }, 8, ["present"]));
64
- }
65
- }), F = S;
1
+ import { createElementBlock as c, openBlock as o, createElementVNode as t } from "vue";
2
+ import r from "./index29.js";
3
+ const n = {}, l = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ "aria-hidden": "true",
6
+ focusable: "false",
7
+ viewBox: "0 0 24 24"
8
+ };
9
+ function s(f, e) {
10
+ return o(), c("svg", l, [...e[0] || (e[0] = [
11
+ t("path", {
12
+ fill: "currentColor",
13
+ d: "M5.202 2.857C7.954 4.922 10.913 9.11 12 11.358c1.087-2.247 4.046-6.436 6.798-8.501C20.783 1.366 24 .213 24 3.883c0 .732-.42 6.156-.667 7.037c-.856 3.061-3.978 3.842-6.755 3.37c4.854.826 6.089 3.562 3.422 6.299c-5.065 5.196-7.28-1.304-7.847-2.97c-.104-.305-.152-.448-.153-.327c0-.121-.05.022-.153.327c-.568 1.666-2.782 8.166-7.847 2.97c-2.667-2.737-1.432-5.473 3.422-6.3c-2.777.473-5.899-.308-6.755-3.369C.42 10.04 0 4.615 0 3.883c0-3.67 3.217-2.517 5.202-1.026"
14
+ }, null, -1)
15
+ ])]);
16
+ }
17
+ const d = /* @__PURE__ */ r(n, [["render", s]]);
66
18
  export {
67
- F as TabsContent_default
19
+ d as default
68
20
  };
package/dist/index69.js CHANGED
@@ -1,55 +1,20 @@
1
- import { useForwardExpose as u } from "./index104.js";
2
- import { Primitive as p } from "./index112.js";
3
- import { RovingFocusGroup_default as d } from "./index116.js";
4
- import { injectTabsRootContext as f } from "./index67.js";
5
- import { defineComponent as c, toRefs as m, createBlock as _, openBlock as v, unref as e, withCtx as r, createVNode as h, renderSlot as b } from "vue";
6
- var C = /* @__PURE__ */ c({
7
- __name: "TabsList",
8
- props: {
9
- loop: {
10
- type: Boolean,
11
- required: !1,
12
- default: !0
13
- },
14
- asChild: {
15
- type: Boolean,
16
- required: !1
17
- },
18
- as: {
19
- type: null,
20
- required: !1
21
- }
22
- },
23
- setup(a) {
24
- const i = a, { loop: s } = m(i), { forwardRef: n, currentElement: l } = u(), t = f();
25
- return t.tabsList = l, (o, y) => (v(), _(e(d), {
26
- "as-child": "",
27
- orientation: e(t).orientation.value,
28
- dir: e(t).dir.value,
29
- loop: e(s)
30
- }, {
31
- default: r(() => [h(e(p), {
32
- ref: e(n),
33
- role: "tablist",
34
- "as-child": o.asChild,
35
- as: o.as,
36
- "aria-orientation": e(t).orientation.value
37
- }, {
38
- default: r(() => [b(o.$slots, "default")]),
39
- _: 3
40
- }, 8, [
41
- "as-child",
42
- "as",
43
- "aria-orientation"
44
- ])]),
45
- _: 3
46
- }, 8, [
47
- "orientation",
48
- "dir",
49
- "loop"
50
- ]));
51
- }
52
- }), w = C;
1
+ import { createElementBlock as c, openBlock as t, createElementVNode as o } from "vue";
2
+ import r from "./index29.js";
3
+ const n = {}, l = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ "aria-hidden": "true",
6
+ focusable: "false",
7
+ viewBox: "0 0 24 24"
8
+ };
9
+ function s(a, e) {
10
+ return t(), c("svg", l, [...e[0] || (e[0] = [
11
+ o("path", {
12
+ fill: "currentColor",
13
+ d: "M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.2 4.2 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.52 8.52 0 0 1-5.33 1.84q-.51 0-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23"
14
+ }, null, -1)
15
+ ])]);
16
+ }
17
+ const d = /* @__PURE__ */ r(n, [["render", s]]);
53
18
  export {
54
- w as TabsList_default
19
+ d as default
55
20
  };
package/dist/index7.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, createElementBlock as s, openBlock as r, createElementVNode as e, Fragment as _, renderList as m, unref as n, normalizeClass as d, toDisplayString as u, renderSlot as f } from "vue";
2
- import h from "./index44.js";
3
- import { useData as g, useRoute as k } from "vitepress";
2
+ import h from "./index50.js";
3
+ import { useData as g, useRoute as k } from "vitepress/client";
4
4
  const x = { class: "wrapper px-6 py-7 flex items-center justify-between" }, v = { class: "flex items-center gap-10" }, y = { class: "nav" }, w = ["href"], B = { class: "flex items-center gap-6" }, b = /* @__PURE__ */ p({
5
5
  __name: "Header",
6
6
  setup(C) {