highsoft-ui 1.0.153 → 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.
- package/CLAUDE.md +60 -6
- package/dist/{Button-BGsqFCRW.js → Button-DSGsV45k.js} +1 -1
- package/dist/{ButtonGroup-DKfaXOeS.js → ButtonGroup-DNTpDU-E.js} +1 -1
- package/dist/{Checkbox-CniRhVkQ.js → Checkbox-imALf2_N.js} +1 -1
- package/dist/{CodeBlock-BKiZQpA5.js → CodeBlock-7BTXXf30.js} +4 -4
- package/dist/{CookiePolicyModal-k89sCBEJ.js → CookiePolicyModal-DulwuSp4.js} +2 -2
- package/dist/{CopyCode-_yeXCeeq.js → CopyCode-PbZbRLn-.js} +2 -2
- package/dist/{Dropdown-B_Ib6i1c.js → Dropdown-c_EhnzqC.js} +1 -1
- package/dist/{Footer-ZdzuxuhY.js → Footer-C6a3PeJq.js} +8 -8
- package/dist/{FooterBottom-CqpN8Wky.js → FooterBottom-DADUJdzz.js} +1 -1
- package/dist/{FooterHelp-Cb5sraAE.js → FooterHelp-DN7Mdy40.js} +1 -1
- package/dist/{FooterLinks-HGxMx6Xz.js → FooterLinks-rrtsCIdv.js} +2 -2
- package/dist/{Header-CVKH_INR.js → Header-BokKjfF7.js} +38 -38
- package/dist/{InputGrouped-CHGCMmsK.js → InputGrouped-BJEodhml.js} +11 -11
- package/dist/{Label-CgiWi1v6.js → Label-BhFeSC8Z.js} +1 -1
- package/dist/{NewsletterSignup-DrcPfdrg.js → NewsletterSignup-mPKBEpYq.js} +2 -2
- package/dist/{Notification-B3skQvZE.js → Notification-JovL5anc.js} +3 -3
- package/dist/{PrefPanel-BGw72I_D.js → PrefPanel-DxSIkYDF.js} +8 -8
- package/dist/{RoadmapDetails-XS0OylnP.js → RoadmapDetails-ZnyXG2j7.js} +6 -6
- package/dist/{Search-UPVxQliM.js → Search-Cc9ZJgGx.js} +13 -13
- package/dist/{SearchDropdown-L_rQz1vn.js → SearchDropdown-B5CFwNib.js} +1 -1
- package/dist/{VideoCover-DqMDvzvA.js → VideoCover-BkbLsmQ_.js} +1 -1
- package/dist/{VideoPlayer-Cq_garSg.js → VideoPlayer-CY63501h.js} +7 -7
- package/dist/{VideoPlayerModal-D1v1O2kW.js → VideoPlayerModal-DIHMoFgS.js} +2 -2
- package/dist/{YoutubeModal-BBYdQil8.js → YoutubeModal-DqBis8Cm.js} +2 -2
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/CopyCode/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Footer/CookiePolicyModal.js +1 -1
- package/dist/components/Footer/FooterBottom.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/YoutubeModal.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +2 -2
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/NewsletterSignup/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/SearchDropdown/index.js +1 -1
- package/dist/components/Sidebar/NavDisclosure.js +26 -31
- package/dist/components/Sidebar/NavGroup.js +69 -56
- package/dist/components/Sidebar/NavItem.js +23 -16
- package/dist/components/Sidebar/Sidebar.js +115 -82
- package/dist/components/Sidebar/SidebarLayout.js +109 -69
- package/dist/components/Sidebar/SidebarResizer.js +1 -1
- package/dist/components/Sidebar/navPath.js +12 -0
- package/dist/components/VideoCover/index.js +1 -1
- package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
- package/dist/components/VideoPlayer/index.js +1 -1
- package/dist/{create-element-CDnUGrhg.js → create-element-C3ORyDVw.js} +1 -1
- package/dist/{esm-BnxclXHW.js → esm-C4Ybr9s4.js} +85 -43
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/Sidebar/Sidebar.d.ts +10 -5
- package/dist/lib/components/Sidebar/SidebarLayout.d.ts +37 -5
- package/dist/lib/components/Sidebar/context.d.ts +30 -2
- package/dist/lib/components/Sidebar/navPath.d.ts +17 -0
- package/dist/main.js +18 -18
- package/dist/{prism-light-COlcVrfu.js → prism-light-BLaY8zo6.js} +1 -1
- package/dist/{styles.module-Bd4HbnpA.js → styles.module-DGKft2EO.js} +12 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as a } from "./Button-
|
|
2
|
+
import { F as t, c as n, j as r, q as i } from "./esm-C4Ybr9s4.js";
|
|
3
|
+
import { t as a } from "./Button-DSGsV45k.js";
|
|
4
4
|
import { t as o } from "./Typography-AvvBRu-u.js";
|
|
5
5
|
import { useEffect as s, useRef as c } from "react";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
@@ -46,7 +46,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
|
|
|
46
46
|
}), /* @__PURE__ */ l("span", {
|
|
47
47
|
className: d.chevron,
|
|
48
48
|
"aria-hidden": "true",
|
|
49
|
-
children: /* @__PURE__ */ l(
|
|
49
|
+
children: /* @__PURE__ */ l(i, {})
|
|
50
50
|
})]
|
|
51
51
|
}),
|
|
52
52
|
p && p.length > 0 && /* @__PURE__ */ l("ul", {
|
|
@@ -56,7 +56,7 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
|
|
|
56
56
|
children: [/* @__PURE__ */ l("span", {
|
|
57
57
|
className: d.itemIcon,
|
|
58
58
|
"aria-hidden": "true",
|
|
59
|
-
children: e.icon ?? /* @__PURE__ */ l(
|
|
59
|
+
children: e.icon ?? /* @__PURE__ */ l(n, {})
|
|
60
60
|
}), /* @__PURE__ */ l(o, {
|
|
61
61
|
as: "span",
|
|
62
62
|
size: 200,
|
|
@@ -68,9 +68,9 @@ function f({ title: f, items: p, primaryAction: m, meta: h, open: g, defaultOpen
|
|
|
68
68
|
(m || h) && /* @__PURE__ */ u("div", {
|
|
69
69
|
className: d.actions,
|
|
70
70
|
children: [m && ((e) => {
|
|
71
|
-
let
|
|
71
|
+
let n = e.variant ?? "neutral", i = l(n === "soft" ? t : r, {}), o = e.icon === null ? void 0 : e.icon === void 0 ? i : e.icon;
|
|
72
72
|
return /* @__PURE__ */ l(a, {
|
|
73
|
-
variant:
|
|
73
|
+
variant: n,
|
|
74
74
|
size: 200,
|
|
75
75
|
href: e.href,
|
|
76
76
|
onClick: (t) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./chunk-jwUa06l-.js";
|
|
2
|
-
import { $ as o,
|
|
3
|
-
import { t as v } from "./Button-
|
|
2
|
+
import { $ as o, H as s, I as c, S as l, Z as u, et as d, m as f, nt as p, p as m, v as h, y as g, z as _ } from "./esm-C4Ybr9s4.js";
|
|
3
|
+
import { t as v } from "./Button-DSGsV45k.js";
|
|
4
4
|
import { d as y, h as b, l as x, m as S, p as C, u as w } from "./es2015-DWa0ZZ7A.js";
|
|
5
5
|
import { t as ee } from "./dist-J9cXmrDi.js";
|
|
6
6
|
import { i as T, n as E, r as D, t as O } from "./dist-CE9LFbij.js";
|
|
@@ -4501,13 +4501,13 @@ function Wt() {
|
|
|
4501
4501
|
}, le = (e) => {
|
|
4502
4502
|
n(e.target.value);
|
|
4503
4503
|
}, ue = {
|
|
4504
|
-
products: /* @__PURE__ */ F(
|
|
4505
|
-
demo: /* @__PURE__ */ F(
|
|
4506
|
-
docs: /* @__PURE__ */ F(
|
|
4507
|
-
blog: /* @__PURE__ */ F(
|
|
4508
|
-
misc: /* @__PURE__ */ F(
|
|
4509
|
-
shop: /* @__PURE__ */ F(
|
|
4510
|
-
file: /* @__PURE__ */ F(
|
|
4504
|
+
products: /* @__PURE__ */ F(f, {}),
|
|
4505
|
+
demo: /* @__PURE__ */ F(l, {}),
|
|
4506
|
+
docs: /* @__PURE__ */ F(u, {}),
|
|
4507
|
+
blog: /* @__PURE__ */ F(p, {}),
|
|
4508
|
+
misc: /* @__PURE__ */ F(c, {}),
|
|
4509
|
+
shop: /* @__PURE__ */ F(m, {}),
|
|
4510
|
+
file: /* @__PURE__ */ F(_, {})
|
|
4511
4511
|
};
|
|
4512
4512
|
return /* @__PURE__ */ I(ie, {
|
|
4513
4513
|
open: a,
|
|
@@ -4517,7 +4517,7 @@ function Wt() {
|
|
|
4517
4517
|
children: /* @__PURE__ */ F(v, {
|
|
4518
4518
|
variant: "transparent",
|
|
4519
4519
|
"aria-label": "Search",
|
|
4520
|
-
children: /* @__PURE__ */ F(
|
|
4520
|
+
children: /* @__PURE__ */ F(h, {})
|
|
4521
4521
|
})
|
|
4522
4522
|
}), /* @__PURE__ */ I(k, { children: [/* @__PURE__ */ F(A, { className: Z.overlay }), /* @__PURE__ */ I(ne, {
|
|
4523
4523
|
className: Z.search,
|
|
@@ -4526,7 +4526,7 @@ function Wt() {
|
|
|
4526
4526
|
/* @__PURE__ */ F(ee, { children: /* @__PURE__ */ F(te, { children: "Search" }) }),
|
|
4527
4527
|
/* @__PURE__ */ I("label", {
|
|
4528
4528
|
className: Z.label,
|
|
4529
|
-
children: [/* @__PURE__ */ F(
|
|
4529
|
+
children: [/* @__PURE__ */ F(g, {}), /* @__PURE__ */ F("input", {
|
|
4530
4530
|
className: Z.input,
|
|
4531
4531
|
placeholder: "Search charts, tutorials, blog posts, or keywords...",
|
|
4532
4532
|
ref: S,
|
|
@@ -4601,14 +4601,14 @@ function Wt() {
|
|
|
4601
4601
|
className: Z.bottomGroup,
|
|
4602
4602
|
children: [/* @__PURE__ */ I("div", {
|
|
4603
4603
|
className: Z.bottomIcons,
|
|
4604
|
-
children: [/* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(
|
|
4604
|
+
children: [/* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(d, {}) }), /* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(o, {}) })]
|
|
4605
4605
|
}), "Navigate"]
|
|
4606
4606
|
}),
|
|
4607
4607
|
/* @__PURE__ */ I("div", {
|
|
4608
4608
|
className: Z.bottomGroup,
|
|
4609
4609
|
children: [/* @__PURE__ */ F("div", {
|
|
4610
4610
|
className: Z.bottomIcons,
|
|
4611
|
-
children: /* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(
|
|
4611
|
+
children: /* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(s, {}) })
|
|
4612
4612
|
}), "Select"]
|
|
4613
4613
|
}),
|
|
4614
4614
|
/* @__PURE__ */ I("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { _ as t } from "./esm-
|
|
2
|
+
import { _ as t } from "./esm-C4Ybr9s4.js";
|
|
3
3
|
import { t as n } from "./Icon-VeXJMj8Q.js";
|
|
4
4
|
import { t as r } from "./InputSolo-DUdKtZjX.js";
|
|
5
5
|
import { useCallback as i, useEffect as a, useId as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { rt as t } from "./esm-C4Ybr9s4.js";
|
|
3
3
|
import { t as n } from "./Icon-VeXJMj8Q.js";
|
|
4
4
|
import { t as r } from "./Typography-AvvBRu-u.js";
|
|
5
5
|
import { forwardRef as i, useCallback as a, useEffect as o, useRef as s, useState as c } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { A as t, C as n, D as r, a as i, i as a, it as o, o as s, r as ee, t as c, x as l } from "./esm-C4Ybr9s4.js";
|
|
3
3
|
import { t as u } from "./Icon-VeXJMj8Q.js";
|
|
4
4
|
import { detectProvider as d, providerPosterUrl as f, useMediaEngine as p } from "./components/VideoPlayer/useMediaEngine.js";
|
|
5
5
|
import { forwardRef as m, useCallback as h, useEffect as g, useId as _, useImperativeHandle as v, useRef as y, useState as b } from "react";
|
|
@@ -216,7 +216,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
216
216
|
break;
|
|
217
217
|
default:
|
|
218
218
|
}
|
|
219
|
-
}, De = k ?? f(I, m) ?? xe, Oe = V.duration ? E(V.currentTime / V.duration) : 0, ke = V.muted || V.volume === 0 ?
|
|
219
|
+
}, De = k ?? f(I, m) ?? xe, Oe = V.duration ? E(V.currentTime / V.duration) : 0, ke = V.muted || V.volume === 0 ? ee : V.volume < .5 ? a : i, Ae = {
|
|
220
220
|
"--vp-radius": `${j}px`,
|
|
221
221
|
"--vp-gradient": ce,
|
|
222
222
|
aspectRatio: K ? void 0 : se
|
|
@@ -307,7 +307,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
307
307
|
onClick: B.toggle,
|
|
308
308
|
"aria-label": V.playing ? "Pause" : "Play",
|
|
309
309
|
children: /* @__PURE__ */ x(u, {
|
|
310
|
-
name: V.playing ?
|
|
310
|
+
name: V.playing ? n : l,
|
|
311
311
|
size: 20
|
|
312
312
|
})
|
|
313
313
|
}),
|
|
@@ -365,7 +365,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
365
365
|
"aria-controls": Q,
|
|
366
366
|
"aria-label": X ? "Hide transcript" : "Show transcript",
|
|
367
367
|
children: /* @__PURE__ */ x(u, {
|
|
368
|
-
name:
|
|
368
|
+
name: o,
|
|
369
369
|
size: 20
|
|
370
370
|
})
|
|
371
371
|
}),
|
|
@@ -376,7 +376,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
376
376
|
"aria-pressed": Y !== -1,
|
|
377
377
|
"aria-label": Y === -1 ? "Turn on captions" : z.length > 1 ? `Captions: ${R[Y]?.label ?? ""} — next track` : "Turn off captions",
|
|
378
378
|
children: /* @__PURE__ */ x(u, {
|
|
379
|
-
name:
|
|
379
|
+
name: s,
|
|
380
380
|
size: 20
|
|
381
381
|
})
|
|
382
382
|
}),
|
|
@@ -386,7 +386,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
386
386
|
onClick: $,
|
|
387
387
|
"aria-label": K ? "Exit fullscreen" : "Enter fullscreen",
|
|
388
388
|
children: /* @__PURE__ */ x(u, {
|
|
389
|
-
name: K ?
|
|
389
|
+
name: K ? r : t,
|
|
390
390
|
size: 20
|
|
391
391
|
})
|
|
392
392
|
})
|
|
@@ -414,7 +414,7 @@ var O = m(({ src: m, sources: O, poster: k, muted: re = !1, autoPlay: ie = !1, l
|
|
|
414
414
|
onClick: we,
|
|
415
415
|
"aria-label": "Close transcript",
|
|
416
416
|
children: /* @__PURE__ */ x(u, {
|
|
417
|
-
name:
|
|
417
|
+
name: c,
|
|
418
418
|
size: 20
|
|
419
419
|
})
|
|
420
420
|
})]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./esm-
|
|
1
|
+
import { n as e } from "./esm-C4Ybr9s4.js";
|
|
2
2
|
import { t } from "./dist-J9cXmrDi.js";
|
|
3
3
|
import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-f0z6DapB.js";
|
|
4
|
-
import { t as l } from "./VideoPlayer-
|
|
4
|
+
import { t as l } from "./VideoPlayer-CY63501h.js";
|
|
5
5
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
6
|
var f = {
|
|
7
7
|
close: "ig0T5q_close",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as e } from "./fa-B95RwBpz.js";
|
|
2
|
-
import { t } from "./VideoCover-
|
|
3
|
-
import { t as n } from "./VideoPlayerModal-
|
|
2
|
+
import { t } from "./VideoCover-BkbLsmQ_.js";
|
|
3
|
+
import { t as n } from "./VideoPlayerModal-DIHMoFgS.js";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
var a = {
|
|
6
6
|
youtube: "elwCNG_youtube",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Button-
|
|
1
|
+
import { t as e } from "../../Button-DSGsV45k.js";
|
|
2
2
|
export { e as Button };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../ButtonGroup-
|
|
1
|
+
import { t as e } from "../../ButtonGroup-DNTpDU-E.js";
|
|
2
2
|
export { e as ButtonGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Checkbox-
|
|
1
|
+
import { n as e, t } from "../../Checkbox-imALf2_N.js";
|
|
2
2
|
export { t as Checkbox, e as CheckboxGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CodeBlock-
|
|
1
|
+
import { t as e } from "../../CodeBlock-7BTXXf30.js";
|
|
2
2
|
export { e as CodeBlock };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CopyCode-
|
|
1
|
+
import { t as e } from "../../CopyCode-PbZbRLn-.js";
|
|
2
2
|
export { e as CopyCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../Dropdown-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../Dropdown-c_EhnzqC.js";
|
|
2
2
|
export { n as Dropdown, e as DropdownItem, t as DropdownSeparator };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CookiePolicyModal-
|
|
1
|
+
import { t as e } from "../../CookiePolicyModal-DulwuSp4.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterBottom-
|
|
1
|
+
import { t as e } from "../../FooterBottom-DADUJdzz.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterHelp-
|
|
1
|
+
import { t as e } from "../../FooterHelp-DN7Mdy40.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterLinks-
|
|
1
|
+
import { t as e } from "../../FooterLinks-rrtsCIdv.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../YoutubeModal-
|
|
1
|
+
import { t as e } from "../../YoutubeModal-DqBis8Cm.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Footer-
|
|
1
|
+
import { t as e } from "../../Footer-C6a3PeJq.js";
|
|
2
2
|
export { e as Footer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Header-
|
|
1
|
+
import { n as e, t } from "../../Header-BokKjfF7.js";
|
|
2
2
|
export { t as Header, e as SubHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../../InputGrouped-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../../InputGrouped-BJEodhml.js";
|
|
2
2
|
export { r as FormGroup, t as FormRow, n as InputGrouped, e as SelectGrouped };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Label-
|
|
1
|
+
import { n as e, t } from "../../Label-BhFeSC8Z.js";
|
|
2
2
|
export { t as Label, e as NewTag };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../../Button-
|
|
1
|
+
import { j as e } from "../../esm-C4Ybr9s4.js";
|
|
2
|
+
import { t } from "../../Button-DSGsV45k.js";
|
|
3
3
|
import { t as n } from "../../Typography-AvvBRu-u.js";
|
|
4
4
|
import { t as r } from "../../styles.module-BDcr8Smc.js";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../clsx-BWCAbrjV.js";
|
|
2
|
-
import { t } from "../../esm-
|
|
3
|
-
import { t as n } from "../../Button-
|
|
2
|
+
import { t } from "../../esm-C4Ybr9s4.js";
|
|
3
|
+
import { t as n } from "../../Button-DSGsV45k.js";
|
|
4
4
|
import { t as r } from "../../Typography-AvvBRu-u.js";
|
|
5
5
|
import { t as i } from "../../styles.module-BDcr8Smc.js";
|
|
6
6
|
import { useEffect as a, useRef as o } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../NewsletterSignup-
|
|
1
|
+
import { t as e } from "../../NewsletterSignup-mPKBEpYq.js";
|
|
2
2
|
export { e as NewsletterSignup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Notification-
|
|
1
|
+
import { t as e } from "../../Notification-JovL5anc.js";
|
|
2
2
|
export { e as Notification };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../PrefPanel-
|
|
1
|
+
import { n as e, t } from "../../PrefPanel-DxSIkYDF.js";
|
|
2
2
|
export { t as PrefPanel, e as PrefRadio };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../RoadmapDetails-
|
|
1
|
+
import { t as e } from "../../RoadmapDetails-ZnyXG2j7.js";
|
|
2
2
|
export { e as RoadmapDetails };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Search-
|
|
1
|
+
import { t as e } from "../../Search-Cc9ZJgGx.js";
|
|
2
2
|
export { e as Search };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../SearchDropdown-
|
|
1
|
+
import { t as e } from "../../SearchDropdown-B5CFwNib.js";
|
|
2
2
|
export { e as SearchDropdown };
|
|
@@ -1,39 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "../../clsx-BWCAbrjV.js";
|
|
3
|
-
import { t } from "../../
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { K as t } from "../../esm-C4Ybr9s4.js";
|
|
4
|
+
import { t as n } from "../../Icon-VeXJMj8Q.js";
|
|
5
|
+
import { t as r } from "../../styles.module-DGKft2EO.js";
|
|
6
|
+
import { useId as i, useState as a } from "react";
|
|
7
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
6
8
|
//#region lib/components/Sidebar/NavDisclosure.tsx
|
|
7
|
-
function
|
|
8
|
-
let [
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
className: e(
|
|
11
|
-
"data-open":
|
|
12
|
-
children: [/* @__PURE__ */
|
|
9
|
+
function c({ label: c, children: l, className: u }) {
|
|
10
|
+
let [d, f] = a(!1), p = i();
|
|
11
|
+
return /* @__PURE__ */ s("div", {
|
|
12
|
+
className: e(r.disclosure, u),
|
|
13
|
+
"data-open": d,
|
|
14
|
+
children: [/* @__PURE__ */ s("button", {
|
|
13
15
|
type: "button",
|
|
14
|
-
className:
|
|
15
|
-
"aria-expanded":
|
|
16
|
-
"aria-controls":
|
|
17
|
-
onClick: () =>
|
|
18
|
-
children: [/* @__PURE__ */
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"aria-hidden": "true",
|
|
29
|
-
children: /* @__PURE__ */ i("path", { d: "m9 18 6-6-6-6" })
|
|
30
|
-
}), /* @__PURE__ */ i("span", { children: o })]
|
|
31
|
-
}), /* @__PURE__ */ i("div", {
|
|
32
|
-
id: d,
|
|
33
|
-
className: t.disclosureBody,
|
|
34
|
-
children: s
|
|
16
|
+
className: r.disclosureToggle,
|
|
17
|
+
"aria-expanded": d,
|
|
18
|
+
"aria-controls": p,
|
|
19
|
+
onClick: () => f((e) => !e),
|
|
20
|
+
children: [/* @__PURE__ */ o(n, {
|
|
21
|
+
name: t,
|
|
22
|
+
size: 16,
|
|
23
|
+
className: r.disclosureChevron,
|
|
24
|
+
"aria-hidden": "true"
|
|
25
|
+
}), /* @__PURE__ */ o("span", { children: c })]
|
|
26
|
+
}), /* @__PURE__ */ o("div", {
|
|
27
|
+
id: p,
|
|
28
|
+
className: r.disclosureBody,
|
|
29
|
+
children: l
|
|
35
30
|
})]
|
|
36
31
|
});
|
|
37
32
|
}
|
|
38
33
|
//#endregion
|
|
39
|
-
export {
|
|
34
|
+
export { c as NavDisclosure };
|
|
@@ -1,74 +1,87 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "../../clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as n } from "../../
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { K as t } from "../../esm-C4Ybr9s4.js";
|
|
4
|
+
import { t as n } from "../../Icon-VeXJMj8Q.js";
|
|
5
|
+
import { useOptionalSidebarSection as r } from "./context.js";
|
|
6
|
+
import { t as i } from "../../styles.module-DGKft2EO.js";
|
|
7
|
+
import { NavPathContext as a, textOf as o, useNavPath as s } from "./navPath.js";
|
|
8
|
+
import { useCallback as c, useEffect as l, useId as u, useMemo as d, useRef as f, useState as p } from "react";
|
|
9
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
7
10
|
//#region lib/components/Sidebar/NavGroup.tsx
|
|
8
|
-
var
|
|
9
|
-
function
|
|
10
|
-
let [
|
|
11
|
-
|
|
12
|
-
}, [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
var g = "grid-template-rows";
|
|
12
|
+
function _({ label: _, children: v, icon: y, defaultOpen: b = !1, open: x, onOpenChange: S, active: C, className: w }) {
|
|
13
|
+
let [T, E] = p(b), D = x !== void 0, O = D ? x : T, k = u(), A = u(), j = r(), M = s(), N = M.length, P = o(_), F = d(() => [...M, P], [M, P]), I = c((e) => {
|
|
14
|
+
D || E(e), S?.(e);
|
|
15
|
+
}, [D, S]), L = c(() => I(!O), [O, I]);
|
|
16
|
+
l(() => (j?.reportOpen(A, O), () => j?.reportOpen(A, !1)), [
|
|
17
|
+
O,
|
|
18
|
+
A,
|
|
19
|
+
j
|
|
17
20
|
]);
|
|
18
|
-
let
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
e
|
|
21
|
+
let [R, z] = p(!1), B = f(null), V = f(O);
|
|
22
|
+
V.current !== O && (V.current = O, z(O)), l(() => {
|
|
23
|
+
if (!R) return;
|
|
24
|
+
let e = B.current;
|
|
25
|
+
if (!e) return;
|
|
26
|
+
if (!parseFloat(getComputedStyle(e).transitionDuration)) {
|
|
27
|
+
z(!1);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
let t = (t) => {
|
|
31
|
+
t.target === e && t.propertyName === g && z(!1);
|
|
32
|
+
};
|
|
33
|
+
return e.addEventListener("transitionend", t), e.addEventListener("transitioncancel", t), () => {
|
|
34
|
+
e.removeEventListener("transitionend", t), e.removeEventListener("transitioncancel", t);
|
|
35
|
+
};
|
|
36
|
+
}, [R]);
|
|
37
|
+
let H = f(j?.collapseNonce ?? 0);
|
|
38
|
+
return l(() => {
|
|
39
|
+
let e = j?.collapseNonce ?? 0;
|
|
40
|
+
e !== H.current && (H.current = e, O && I(!1));
|
|
22
41
|
}, [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
]), /* @__PURE__ */
|
|
28
|
-
className: e(
|
|
29
|
-
style: { "--hs-nav-depth":
|
|
30
|
-
children: [/* @__PURE__ */
|
|
42
|
+
j?.collapseNonce,
|
|
43
|
+
O,
|
|
44
|
+
j,
|
|
45
|
+
I
|
|
46
|
+
]), /* @__PURE__ */ h("div", {
|
|
47
|
+
className: e(i.group, O && i.groupOpen, R && i.groupExpanding, C && i.groupActive, w),
|
|
48
|
+
style: { "--hs-nav-depth": N },
|
|
49
|
+
children: [/* @__PURE__ */ h("button", {
|
|
31
50
|
type: "button",
|
|
32
|
-
className:
|
|
33
|
-
"aria-expanded":
|
|
34
|
-
"aria-controls":
|
|
35
|
-
onClick:
|
|
51
|
+
className: i.groupToggle,
|
|
52
|
+
"aria-expanded": O,
|
|
53
|
+
"aria-controls": k,
|
|
54
|
+
onClick: L,
|
|
36
55
|
children: [
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
fill: "none",
|
|
43
|
-
stroke: "currentColor",
|
|
44
|
-
strokeWidth: "2.5",
|
|
45
|
-
strokeLinecap: "round",
|
|
46
|
-
strokeLinejoin: "round",
|
|
47
|
-
"aria-hidden": "true",
|
|
48
|
-
children: /* @__PURE__ */ u("path", { d: "m9 18 6-6-6-6" })
|
|
56
|
+
/* @__PURE__ */ m(n, {
|
|
57
|
+
name: t,
|
|
58
|
+
size: 16,
|
|
59
|
+
className: i.groupChevron,
|
|
60
|
+
"aria-hidden": "true"
|
|
49
61
|
}),
|
|
50
|
-
|
|
51
|
-
className:
|
|
52
|
-
children:
|
|
62
|
+
y == null ? null : /* @__PURE__ */ m("span", {
|
|
63
|
+
className: i.itemIcon,
|
|
64
|
+
children: y
|
|
53
65
|
}),
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
className:
|
|
56
|
-
children:
|
|
66
|
+
/* @__PURE__ */ m("span", {
|
|
67
|
+
className: i.groupLabel,
|
|
68
|
+
children: _
|
|
57
69
|
})
|
|
58
70
|
]
|
|
59
|
-
}), /* @__PURE__ */
|
|
60
|
-
|
|
61
|
-
|
|
71
|
+
}), /* @__PURE__ */ m("div", {
|
|
72
|
+
ref: B,
|
|
73
|
+
id: k,
|
|
74
|
+
className: i.groupChildren,
|
|
62
75
|
role: "group",
|
|
63
|
-
children: /* @__PURE__ */
|
|
64
|
-
className:
|
|
65
|
-
children: /* @__PURE__ */
|
|
66
|
-
value:
|
|
67
|
-
children:
|
|
76
|
+
children: /* @__PURE__ */ m("div", {
|
|
77
|
+
className: i.groupChildrenInner,
|
|
78
|
+
children: /* @__PURE__ */ m(a.Provider, {
|
|
79
|
+
value: F,
|
|
80
|
+
children: v
|
|
68
81
|
})
|
|
69
82
|
})
|
|
70
83
|
})]
|
|
71
84
|
});
|
|
72
85
|
}
|
|
73
86
|
//#endregion
|
|
74
|
-
export {
|
|
87
|
+
export { _ as NavGroup };
|
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "../../clsx-BWCAbrjV.js";
|
|
3
3
|
import { useOptionalSidebarLayout as t } from "./context.js";
|
|
4
|
-
import { t as n } from "../../styles.module-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { t as n } from "../../styles.module-DGKft2EO.js";
|
|
5
|
+
import { textOf as r, useNavPath as i } from "./navPath.js";
|
|
6
|
+
import { forwardRef as a, useEffect as o, useId as s } from "react";
|
|
7
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
8
|
//#region lib/components/Sidebar/NavItem.tsx
|
|
8
|
-
var
|
|
9
|
-
let
|
|
10
|
-
return
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
var u = 350, d = a(function({ as: a, active: d, icon: f, children: p, className: m, onClick: h, ...g }, _) {
|
|
10
|
+
let v = a || "a", y = t(), b = s(), x = i(), S = r(p), C = d && S ? [...x.filter(Boolean), S].slice(-2).join(" / ") : null, w = y?.reportActivePage;
|
|
11
|
+
return o(() => {
|
|
12
|
+
if (w) return w(b, C), () => w(b, null);
|
|
13
|
+
}, [
|
|
14
|
+
w,
|
|
15
|
+
b,
|
|
16
|
+
C
|
|
17
|
+
]), /* @__PURE__ */ l(v, {
|
|
18
|
+
ref: _,
|
|
19
|
+
className: e(n.item, d && n.itemActive, m),
|
|
20
|
+
"aria-current": d ? "page" : void 0,
|
|
14
21
|
onClick: (e) => {
|
|
15
|
-
|
|
22
|
+
h?.(e), y && (window.matchMedia("(pointer: coarse)").matches && y.isMobile && y.mobileOpen ? window.setTimeout(() => y.closeMobile(), u) : y.closeMobile());
|
|
16
23
|
},
|
|
17
|
-
...
|
|
18
|
-
children: [
|
|
24
|
+
...g,
|
|
25
|
+
children: [f == null ? null : /* @__PURE__ */ c("span", {
|
|
19
26
|
className: n.itemIcon,
|
|
20
|
-
children:
|
|
21
|
-
}), /* @__PURE__ */
|
|
27
|
+
children: f
|
|
28
|
+
}), /* @__PURE__ */ c("span", {
|
|
22
29
|
className: n.itemLabel,
|
|
23
|
-
children:
|
|
30
|
+
children: p
|
|
24
31
|
})]
|
|
25
32
|
});
|
|
26
33
|
});
|
|
27
34
|
//#endregion
|
|
28
|
-
export {
|
|
35
|
+
export { d as NavItem };
|