highsoft-ui 1.0.152 → 1.0.154

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 (70) hide show
  1. package/CLAUDE.md +60 -6
  2. package/dist/{Button-BGsqFCRW.js → Button-DSGsV45k.js} +1 -1
  3. package/dist/{ButtonGroup-DKfaXOeS.js → ButtonGroup-DNTpDU-E.js} +1 -1
  4. package/dist/{Checkbox-CniRhVkQ.js → Checkbox-imALf2_N.js} +1 -1
  5. package/dist/{CodeBlock-BKiZQpA5.js → CodeBlock-7BTXXf30.js} +4 -4
  6. package/dist/{CookiePolicyModal-k89sCBEJ.js → CookiePolicyModal-DulwuSp4.js} +2 -2
  7. package/dist/{CopyCode-_yeXCeeq.js → CopyCode-PbZbRLn-.js} +2 -2
  8. package/dist/{Dropdown-B_Ib6i1c.js → Dropdown-c_EhnzqC.js} +1 -1
  9. package/dist/{Footer-ZdzuxuhY.js → Footer-C6a3PeJq.js} +8 -8
  10. package/dist/{FooterBottom-CqpN8Wky.js → FooterBottom-DADUJdzz.js} +1 -1
  11. package/dist/{FooterHelp-Cb5sraAE.js → FooterHelp-DN7Mdy40.js} +1 -1
  12. package/dist/{FooterLinks-HGxMx6Xz.js → FooterLinks-rrtsCIdv.js} +2 -2
  13. package/dist/{Header-CVKH_INR.js → Header-BokKjfF7.js} +38 -38
  14. package/dist/{InputGrouped-CHGCMmsK.js → InputGrouped-BJEodhml.js} +11 -11
  15. package/dist/{Label-CgiWi1v6.js → Label-BhFeSC8Z.js} +1 -1
  16. package/dist/{NewsletterSignup-DrcPfdrg.js → NewsletterSignup-mPKBEpYq.js} +2 -2
  17. package/dist/{Notification-B3skQvZE.js → Notification-JovL5anc.js} +3 -3
  18. package/dist/{PrefPanel-BGw72I_D.js → PrefPanel-DxSIkYDF.js} +8 -8
  19. package/dist/{RoadmapDetails-XS0OylnP.js → RoadmapDetails-ZnyXG2j7.js} +6 -6
  20. package/dist/{Search-UPVxQliM.js → Search-Cc9ZJgGx.js} +13 -13
  21. package/dist/{SearchDropdown-L_rQz1vn.js → SearchDropdown-B5CFwNib.js} +1 -1
  22. package/dist/{VideoCover-DqMDvzvA.js → VideoCover-BkbLsmQ_.js} +1 -1
  23. package/dist/{VideoPlayer-Cq_garSg.js → VideoPlayer-CY63501h.js} +7 -7
  24. package/dist/{VideoPlayerModal-D1v1O2kW.js → VideoPlayerModal-DIHMoFgS.js} +2 -2
  25. package/dist/{YoutubeModal-BBYdQil8.js → YoutubeModal-DqBis8Cm.js} +2 -2
  26. package/dist/components/Button/index.js +1 -1
  27. package/dist/components/ButtonGroup/index.js +1 -1
  28. package/dist/components/Checkbox/index.js +1 -1
  29. package/dist/components/CodeBlock/index.js +1 -1
  30. package/dist/components/CopyCode/index.js +1 -1
  31. package/dist/components/Dropdown/index.js +1 -1
  32. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  33. package/dist/components/Footer/FooterBottom.js +1 -1
  34. package/dist/components/Footer/FooterHelp.js +1 -1
  35. package/dist/components/Footer/FooterLinks.js +1 -1
  36. package/dist/components/Footer/YoutubeModal.js +1 -1
  37. package/dist/components/Footer/index.js +1 -1
  38. package/dist/components/Header/index.js +1 -1
  39. package/dist/components/InputGrouped/index.js +1 -1
  40. package/dist/components/Label/index.js +1 -1
  41. package/dist/components/Modal/ModalContactFooter.js +4 -3
  42. package/dist/components/Modal/index.js +2 -2
  43. package/dist/components/NewsletterSignup/index.js +1 -1
  44. package/dist/components/Notification/index.js +1 -1
  45. package/dist/components/PrefPanel/index.js +1 -1
  46. package/dist/components/RoadmapDetails/index.js +1 -1
  47. package/dist/components/Search/index.js +1 -1
  48. package/dist/components/SearchDropdown/index.js +1 -1
  49. package/dist/components/Sidebar/NavDisclosure.js +26 -31
  50. package/dist/components/Sidebar/NavGroup.js +69 -56
  51. package/dist/components/Sidebar/NavItem.js +23 -16
  52. package/dist/components/Sidebar/Sidebar.js +115 -82
  53. package/dist/components/Sidebar/SidebarLayout.js +109 -69
  54. package/dist/components/Sidebar/SidebarResizer.js +1 -1
  55. package/dist/components/Sidebar/navPath.js +12 -0
  56. package/dist/components/VideoCover/index.js +1 -1
  57. package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
  58. package/dist/components/VideoPlayer/index.js +1 -1
  59. package/dist/{create-element-CDnUGrhg.js → create-element-C3ORyDVw.js} +1 -1
  60. package/dist/{esm-BnxclXHW.js → esm-C4Ybr9s4.js} +85 -43
  61. package/dist/highsoft-ui.css +1 -1
  62. package/dist/lib/components/Modal/ModalContactFooter.d.ts +3 -2
  63. package/dist/lib/components/Sidebar/Sidebar.d.ts +10 -5
  64. package/dist/lib/components/Sidebar/SidebarLayout.d.ts +37 -5
  65. package/dist/lib/components/Sidebar/context.d.ts +30 -2
  66. package/dist/lib/components/Sidebar/navPath.d.ts +17 -0
  67. package/dist/main.js +18 -18
  68. package/dist/{prism-light-COlcVrfu.js → prism-light-BLaY8zo6.js} +1 -1
  69. package/dist/{styles.module-Bd4HbnpA.js → styles.module-DGKft2EO.js} +12 -1
  70. package/package.json +1 -1
@@ -1,107 +1,140 @@
1
1
  "use client";
2
2
  import { t as e } from "../../clsx-BWCAbrjV.js";
3
- import { t } from "../../Button-BGsqFCRW.js";
4
- import { SidebarSectionContext as n, useSidebarLayout as r } from "./context.js";
5
- import { t as i } from "../../styles.module-Bd4HbnpA.js";
6
- import { SidebarResizer as a } from "./SidebarResizer.js";
7
- import { useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
8
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
3
+ import { E as t, t as n } from "../../esm-C4Ybr9s4.js";
4
+ import { t as r } from "../../Button-DSGsV45k.js";
5
+ import { t as i } from "../../Icon-VeXJMj8Q.js";
6
+ import { t as a } from "../../Typography-AvvBRu-u.js";
7
+ import { SidebarSectionContext as o, useSidebarLayout as s } from "./context.js";
8
+ import { t as c } from "../../styles.module-DGKft2EO.js";
9
+ import { SidebarResizer as l } from "./SidebarResizer.js";
10
+ import { useCallback as u, useEffect as d, useRef as f, useState as p } from "react";
11
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
9
12
  //#region lib/components/Sidebar/Sidebar.tsx
10
- function f({ children: t, "aria-label": n = "Sidebar navigation", closeLabel: o = "Close navigation", className: l }) {
11
- let { resizable: f, mobileOpen: p, closeMobile: m } = r(), h = c(null);
12
- return s(() => {
13
- p && h.current?.focus();
14
- }, [p]), /* @__PURE__ */ d("aside", {
13
+ var g = 72, _ = 56, v = .84, y = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
14
+ function b({ children: t, "aria-label": a = "Sidebar navigation", closeLabel: o = "Close navigation", className: p }) {
15
+ let { resizable: b, isMobile: x, mobileOpen: S, closeMobile: C, openFocus: w } = s(), T = f(null), E = x && S;
16
+ d(() => {
17
+ let e = T.current;
18
+ !S || !e || ((w === "search" ? e.querySelector(`.${c.header} input:not([type='hidden']):not([disabled])`) : null) ?? e).focus();
19
+ }, [S, w]), d(() => {
20
+ let e = window.visualViewport, t = T.current;
21
+ if (!E || !e || !t) return;
22
+ let n = () => {
23
+ let n = document.documentElement.clientHeight, r = Math.max(0, Math.round(n - e.offsetTop - e.height)), i = Math.max(0, Math.round(Math.min(e.height - _, n * v)));
24
+ t.style.setProperty("--hs-sheet-lift", `${r}px`), t.style.setProperty("--hs-sheet-max-h", `${i}px`);
25
+ };
26
+ return n(), e.addEventListener("resize", n), e.addEventListener("scroll", n), () => {
27
+ e.removeEventListener("resize", n), e.removeEventListener("scroll", n), t.style.removeProperty("--hs-sheet-lift"), t.style.removeProperty("--hs-sheet-max-h");
28
+ };
29
+ }, [E]), d(() => {
30
+ if (!E) return;
31
+ let e = (e) => {
32
+ let t = T.current;
33
+ if (e.key !== "Tab" || !t) return;
34
+ let n = Array.from(t.querySelectorAll(y)).filter((e) => e.offsetParent !== null || e === document.activeElement);
35
+ if (!n.length) return;
36
+ let r = n[0], i = n[n.length - 1], a = document.activeElement;
37
+ a === t ? e.shiftKey && (e.preventDefault(), i.focus()) : t.contains(a) ? a === (e.shiftKey ? r : i) && (e.preventDefault(), (e.shiftKey ? i : r).focus()) : (e.preventDefault(), r.focus());
38
+ };
39
+ return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
40
+ }, [E]);
41
+ let D = f(!1), O = f(0), k = f(0), A = u((e) => {
42
+ D.current = !1;
43
+ let t = T.current;
44
+ t?.classList.remove(c.sheetDragging), t?.style.removeProperty("--hs-sheet-dy"), e && C();
45
+ }, [C]), j = (e) => {
46
+ E && (e.currentTarget.setPointerCapture(e.pointerId), D.current = !0, O.current = e.clientY, k.current = 0, T.current?.classList.add(c.sheetDragging));
47
+ }, M = (e) => {
48
+ D.current && (k.current = Math.max(0, e.clientY - O.current), T.current?.style.setProperty("--hs-sheet-dy", `${k.current}px`));
49
+ }, N = (e) => {
50
+ D.current && (e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), A(k.current > g));
51
+ };
52
+ return d(() => {
53
+ !S && D.current && A(!1);
54
+ }, [S, A]), /* @__PURE__ */ h("aside", {
55
+ ref: T,
15
56
  id: "hs-sidebar-drawer",
16
- className: e(i.sidebar, p && i.sidebarOpen, l),
17
- "aria-label": n,
57
+ className: e(c.sidebar, S && c.sidebarOpen, p),
58
+ "aria-label": a,
59
+ role: E ? "dialog" : void 0,
60
+ "aria-modal": E ? !0 : void 0,
61
+ tabIndex: -1,
62
+ inert: x && !S ? !0 : void 0,
18
63
  children: [
19
- /* @__PURE__ */ u("button", {
20
- ref: h,
21
- type: "button",
22
- className: i.close,
23
- "aria-label": o,
24
- onClick: m,
25
- children: /* @__PURE__ */ u(_, {})
64
+ /* @__PURE__ */ m("div", {
65
+ className: c.grabber,
66
+ "aria-hidden": "true",
67
+ onPointerDown: j,
68
+ onPointerMove: M,
69
+ onPointerUp: N,
70
+ onPointerCancel: N,
71
+ children: /* @__PURE__ */ m("span", { className: c.grabberPill })
26
72
  }),
73
+ x ? /* @__PURE__ */ m("span", {
74
+ className: c.close,
75
+ children: /* @__PURE__ */ m(r, {
76
+ variant: "plain",
77
+ size: 300,
78
+ "aria-label": o,
79
+ onClick: C,
80
+ children: /* @__PURE__ */ m(i, {
81
+ name: n,
82
+ size: 16
83
+ })
84
+ })
85
+ }) : null,
27
86
  t,
28
- f ? /* @__PURE__ */ u(a, {}) : null
87
+ b ? /* @__PURE__ */ m(l, {}) : null
29
88
  ]
30
89
  });
31
90
  }
32
- function p({ children: t, className: n }) {
33
- return /* @__PURE__ */ u("div", {
34
- className: e(i.header, n),
91
+ function x({ children: t, className: n }) {
92
+ return /* @__PURE__ */ m("div", {
93
+ className: e(c.header, n),
35
94
  children: t
36
95
  });
37
96
  }
38
- function m({ children: t, className: n }) {
39
- return /* @__PURE__ */ u("div", {
40
- className: e(i.body, n),
97
+ function S({ children: t, className: n }) {
98
+ return /* @__PURE__ */ m("div", {
99
+ className: e(c.body, n),
41
100
  children: t
42
101
  });
43
102
  }
44
- function h({ children: r, label: a, collapsible: s = !1, minimizeLabel: f = "Minimize", action: p, className: m }) {
45
- let [h, _] = l(0), v = c(/* @__PURE__ */ new Set()), [y, b] = l(0), x = o((e, t) => {
46
- let n = v.current;
47
- t ? n.add(e) : n.delete(e), b(n.size);
48
- }, []), S = s && p == null && y > 0, C = a != null || p != null || S;
49
- return /* @__PURE__ */ u(n.Provider, {
103
+ function C({ children: n, label: s, collapsible: l = !1, minimizeLabel: d = "Minimize", action: g, className: _ }) {
104
+ let [v, y] = p(0), b = f(/* @__PURE__ */ new Set()), [x, S] = p(0), C = u((e, t) => {
105
+ let n = b.current;
106
+ t ? n.add(e) : n.delete(e), S(n.size);
107
+ }, []), w = l && g == null && x > 0, T = s != null || g != null || w;
108
+ return /* @__PURE__ */ m(o.Provider, {
50
109
  value: {
51
- collapseNonce: h,
52
- reportOpen: x
110
+ collapseNonce: v,
111
+ reportOpen: C
53
112
  },
54
- children: /* @__PURE__ */ d("section", {
55
- className: e(i.section, C && i.hasStickyHead, m),
56
- children: [C ? /* @__PURE__ */ d("div", {
57
- className: i.sectionHead,
58
- children: [a == null ? null : /* @__PURE__ */ u("h3", {
59
- className: i.sectionLabel,
60
- children: a
61
- }), p ?? (S ? /* @__PURE__ */ u(t, {
113
+ children: /* @__PURE__ */ h("section", {
114
+ className: e(c.section, T && c.hasStickyHead, _),
115
+ children: [T ? /* @__PURE__ */ h("div", {
116
+ className: c.sectionHead,
117
+ children: [s == null ? null : /* @__PURE__ */ m(a, {
118
+ as: "h3",
119
+ size: 75,
120
+ weight: "semi",
121
+ color: "secondary",
122
+ className: c.sectionLabel,
123
+ children: s
124
+ }), g ?? (w ? /* @__PURE__ */ m(r, {
62
125
  variant: "plain",
63
126
  size: 100,
64
- className: i.minimizeBtn,
65
- iconLeft: /* @__PURE__ */ u(g, {}),
66
- onClick: () => _((e) => e + 1),
67
- children: f
127
+ className: c.minimizeBtn,
128
+ iconLeft: /* @__PURE__ */ m(i, {
129
+ name: t,
130
+ size: 12
131
+ }),
132
+ onClick: () => y((e) => e + 1),
133
+ children: d
68
134
  }) : null)]
69
- }) : null, r]
135
+ }) : null, n]
70
136
  })
71
137
  });
72
138
  }
73
- function g() {
74
- return /* @__PURE__ */ d("svg", {
75
- width: "14",
76
- height: "14",
77
- viewBox: "0 0 16 16",
78
- fill: "none",
79
- stroke: "currentColor",
80
- strokeWidth: "1.25",
81
- strokeLinecap: "round",
82
- strokeLinejoin: "round",
83
- "aria-hidden": "true",
84
- children: [/* @__PURE__ */ u("rect", {
85
- x: "2.5",
86
- y: "2.5",
87
- width: "11",
88
- height: "11",
89
- rx: "2"
90
- }), /* @__PURE__ */ u("path", { d: "M5.5 8h5" })]
91
- });
92
- }
93
- function _() {
94
- return /* @__PURE__ */ u("svg", {
95
- width: "18",
96
- height: "18",
97
- viewBox: "0 0 24 24",
98
- fill: "none",
99
- stroke: "currentColor",
100
- strokeWidth: "2",
101
- strokeLinecap: "round",
102
- "aria-hidden": "true",
103
- children: /* @__PURE__ */ u("path", { d: "M18 6 6 18M6 6l12 12" })
104
- });
105
- }
106
139
  //#endregion
107
- export { f as Sidebar, m as SidebarBody, p as SidebarHeader, h as SidebarSection };
140
+ export { b as Sidebar, S as SidebarBody, x as SidebarHeader, C as SidebarSection };
@@ -1,95 +1,135 @@
1
1
  "use client";
2
- import { t as e } from "../../clsx-BWCAbrjV.js";
3
- import { SidebarLayoutContext as t } from "./context.js";
4
- import { t as n } from "../../styles.module-Bd4HbnpA.js";
5
- import { useCallback as r, useEffect as i, useRef as a, useState as o } from "react";
6
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
2
+ import { a as e } from "../../utils-K9S_6_Eq.js";
3
+ import { t } from "../../clsx-BWCAbrjV.js";
4
+ import { G as n } from "../../esm-C4Ybr9s4.js";
5
+ import { t as r } from "../../Typography-AvvBRu-u.js";
6
+ import { SidebarLayoutContext as i } from "./context.js";
7
+ import { t as a } from "../../styles.module-DGKft2EO.js";
8
+ import { useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
9
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
10
  //#region lib/components/Sidebar/SidebarLayout.tsx
8
- function l({ children: l, defaultWidth: u = 320, minWidth: f = 230, maxWidth: p = 460, resizable: m = !0, storageKey: h, mobileTriggerLabel: g = "Menu", fill: _ = !0, className: v, style: y }) {
9
- let [b, x] = o(u), [S, C] = o(!1), w = a(null), T = r((e) => {
10
- let t = Math.min(Math.max(Math.round(e), f), p);
11
- if (x(t), h) try {
12
- localStorage.setItem(h, String(t));
11
+ var f = "(max-width: 760px)";
12
+ function p({ children: p, defaultWidth: m = 320, minWidth: h = 230, maxWidth: g = 460, resizable: _ = !0, storageKey: v, mobileTriggerLabel: y = "Navigation", mobileTriggerValue: b, mobileTriggerIcon: x, mobileTriggerAction: S, mobileBar: C = !0, fill: w = !0, className: T, style: E }) {
13
+ let [D, O] = l(m), [k, A] = l(!1), [j, M] = l("sheet"), [N, P] = l(""), F = e(f), I = c(null), L = c(null), R = o((e, t) => {
14
+ if (t === null) {
15
+ L.current === e && (L.current = null, P(""));
16
+ return;
17
+ }
18
+ L.current = e, P(t);
19
+ }, []), z = o((e) => {
20
+ let t = Math.min(Math.max(Math.round(e), h), g);
21
+ if (O(t), v) try {
22
+ localStorage.setItem(v, String(t));
13
23
  } catch {}
14
24
  }, [
15
- f,
16
- p,
17
- h
25
+ h,
26
+ g,
27
+ v
18
28
  ]);
19
- i(() => {
20
- if (h) try {
21
- let e = localStorage.getItem(h);
22
- e && T(Number(e) || u);
29
+ s(() => {
30
+ if (v) try {
31
+ let e = localStorage.getItem(v);
32
+ e && z(Number(e) || m);
23
33
  } catch {}
24
34
  }, []);
25
- let E = r(() => {
26
- C(!1), w.current?.focus();
27
- }, []), D = r(() => C(!0), []);
28
- return i(() => {
29
- if (!S) return;
35
+ let B = o(() => {
36
+ A(!1), I.current?.focus();
37
+ }, []), V = o((e) => {
38
+ M(e?.focus === "search" ? "search" : "sheet"), A(!0);
39
+ }, []);
40
+ s(() => {
41
+ F || A(!1);
42
+ }, [F]), s(() => {
43
+ if (!k) return;
30
44
  let e = (e) => {
31
- e.key === "Escape" && E();
45
+ e.key === "Escape" && B();
32
46
  };
33
47
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
34
- }, [S, E]), /* @__PURE__ */ s(t.Provider, {
48
+ }, [k, B]), s(() => {
49
+ if (!k || !F) return;
50
+ let { body: e } = document, t = e.style.overflow, n = e.style.paddingRight, r = window.innerWidth - document.documentElement.clientWidth;
51
+ return e.style.overflow = "hidden", r > 0 && (e.style.paddingRight = `${r}px`), () => {
52
+ e.style.overflow = t, e.style.paddingRight = n;
53
+ };
54
+ }, [k, F]);
55
+ let H = b === !1 ? null : (b ?? N) || null;
56
+ return /* @__PURE__ */ u(i.Provider, {
35
57
  value: {
36
- resizable: m,
37
- width: b,
38
- setWidth: T,
39
- minWidth: f,
40
- maxWidth: p,
41
- mobileOpen: S,
42
- openMobile: D,
43
- closeMobile: E
58
+ resizable: _,
59
+ width: D,
60
+ setWidth: z,
61
+ minWidth: h,
62
+ maxWidth: g,
63
+ isMobile: F,
64
+ mobileOpen: k,
65
+ openMobile: V,
66
+ closeMobile: B,
67
+ openFocus: j,
68
+ activePage: N,
69
+ reportActivePage: R
44
70
  },
45
- children: /* @__PURE__ */ c("div", {
46
- className: e(n.layout, _ && n.fill, v),
71
+ children: /* @__PURE__ */ d("div", {
72
+ className: t(a.layout, w && a.fill, C && a.hasMobileBar, T),
47
73
  style: {
48
- "--hs-sidebar-w": `${b}px`,
49
- ...y
74
+ "--hs-sidebar-w": `${D}px`,
75
+ ...E
50
76
  },
51
77
  children: [
52
- /* @__PURE__ */ s("div", {
53
- className: n.mobileBar,
54
- children: /* @__PURE__ */ c("button", {
55
- ref: w,
78
+ C ? /* @__PURE__ */ d("div", {
79
+ className: a.mobileBar,
80
+ children: [/* @__PURE__ */ d("button", {
81
+ ref: I,
56
82
  type: "button",
57
- className: n.trigger,
58
- "aria-expanded": S,
83
+ className: a.trigger,
84
+ "aria-expanded": k,
59
85
  "aria-controls": "hs-sidebar-drawer",
60
- onClick: D,
61
- children: [/* @__PURE__ */ s(d, {}), g]
62
- })
63
- }),
64
- l,
65
- /* @__PURE__ */ s("div", {
66
- className: e(n.backdrop, S && n.backdropOpen),
67
- onClick: E,
86
+ onClick: () => V(),
87
+ children: [
88
+ x == null ? null : /* @__PURE__ */ u("span", {
89
+ className: a.triggerIcon,
90
+ children: x
91
+ }),
92
+ /* @__PURE__ */ d("span", {
93
+ className: a.triggerText,
94
+ children: [/* @__PURE__ */ u(r, {
95
+ size: H ? 75 : 100,
96
+ weight: "semi",
97
+ color: H ? "tertiary" : "primary",
98
+ className: t(a.triggerLine, H && a.triggerOverline),
99
+ children: y
100
+ }), H ? /* @__PURE__ */ u(r, {
101
+ size: 100,
102
+ weight: "semi",
103
+ className: a.triggerLine,
104
+ children: H
105
+ }) : null]
106
+ }),
107
+ /* @__PURE__ */ u(n, {
108
+ className: a.triggerChevron,
109
+ "aria-hidden": "true"
110
+ })
111
+ ]
112
+ }), S == null ? null : /* @__PURE__ */ u("div", {
113
+ className: a.mobileBarAction,
114
+ children: S
115
+ })]
116
+ }) : null,
117
+ p,
118
+ /* @__PURE__ */ u("div", {
119
+ className: t(a.backdrop, k && a.backdropOpen),
120
+ onClick: B,
68
121
  "aria-hidden": "true"
69
122
  })
70
123
  ]
71
124
  })
72
125
  });
73
126
  }
74
- function u({ children: t, className: r, ...i }) {
75
- return /* @__PURE__ */ s("main", {
76
- className: e(n.main, r),
77
- ...i,
78
- children: t
79
- });
80
- }
81
- function d() {
82
- return /* @__PURE__ */ s("svg", {
83
- width: "18",
84
- height: "18",
85
- viewBox: "0 0 24 24",
86
- fill: "none",
87
- stroke: "currentColor",
88
- strokeWidth: "2",
89
- strokeLinecap: "round",
90
- "aria-hidden": "true",
91
- children: /* @__PURE__ */ s("path", { d: "M3 6h18M3 12h18M3 18h18" })
127
+ function m({ children: e, className: n, ...r }) {
128
+ return /* @__PURE__ */ u("main", {
129
+ className: t(a.main, n),
130
+ ...r,
131
+ children: e
92
132
  });
93
133
  }
94
134
  //#endregion
95
- export { l as SidebarLayout, u as SidebarMain };
135
+ export { p as SidebarLayout, m as SidebarMain };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { useSidebarLayout as e } from "./context.js";
3
- import { t } from "../../styles.module-Bd4HbnpA.js";
3
+ import { t } from "../../styles.module-DGKft2EO.js";
4
4
  import { useCallback as n, useEffect as r, useRef as i, useState as a } from "react";
5
5
  import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
6
6
  //#region lib/components/Sidebar/SidebarResizer.tsx
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import { createContext as e, isValidElement as t, useContext as n } from "react";
3
+ //#region lib/components/Sidebar/navPath.ts
4
+ var r = e([]);
5
+ function i() {
6
+ return n(r);
7
+ }
8
+ function a(e) {
9
+ return e == null || typeof e == "boolean" ? "" : typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(a).join("") : t(e) ? a(e.props.children) : "";
10
+ }
11
+ //#endregion
12
+ export { r as NavPathContext, a as textOf, i as useNavPath };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../VideoCover-DqMDvzvA.js";
1
+ import { t as e } from "../../VideoCover-BkbLsmQ_.js";
2
2
  export { e as VideoCover };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../VideoPlayerModal-D1v1O2kW.js";
1
+ import { t as e } from "../../VideoPlayerModal-DIHMoFgS.js";
2
2
  export { e as VideoPlayerModal };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../VideoPlayer-Cq_garSg.js";
1
+ import { t as e } from "../../VideoPlayer-CY63501h.js";
2
2
  export { e as VideoPlayer };
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./chunk-jwUa06l-.js";
2
- import { nt as t } from "./esm-BnxclXHW.js";
2
+ import { at as t } from "./esm-C4Ybr9s4.js";
3
3
  import n from "react";
4
4
  //#region node_modules/@babel/runtime/helpers/esm/typeof.js
5
5
  function r(e) {