highsoft-ui 1.0.131 → 1.0.133
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/dist/{Button-BP0Qtl-y.js → Button-BWe-hGo0.js} +1 -1
- package/dist/{ButtonGroup-QZcOfEOk.js → ButtonGroup-CXgj-MxA.js} +1 -1
- package/dist/{Checkbox-XmV-ct6i.js → Checkbox-Dgs_Bq30.js} +1 -1
- package/dist/{CookiePolicyModal-ZhDUWeuL.js → CookiePolicyModal-loN0LAaO.js} +2 -2
- package/dist/{CopyCode-DV4tMvJJ.js → CopyCode-D6zuZ3nb.js} +2 -2
- package/dist/{Dropdown-CdyVsA2J.js → Dropdown-fBTRMHW7.js} +1 -1
- package/dist/{Footer-CtbVnoXe.js → Footer-CLBv8yI9.js} +7 -7
- package/dist/{FooterBottom-BED_bbc3.js → FooterBottom-BuUj1R5w.js} +1 -1
- package/dist/{FooterHelp-D_JeBigK.js → FooterHelp-aae_c9D0.js} +1 -1
- package/dist/{FooterLinks-C4jnnter.js → FooterLinks-CMoTnXpW.js} +2 -2
- package/dist/{Header-CrmaxbLK.js → Header-DjRIOI5-.js} +19 -19
- package/dist/{InputGrouped-C4gOUDMt.js → InputGrouped-qenKO8Jl.js} +2 -2
- package/dist/{Label-Cdeu77Zv.js → Label-DkJ9JjU6.js} +1 -1
- package/dist/{NewsletterSignup-ClRW0eNY.js → NewsletterSignup-CQ16wS4l.js} +2 -2
- package/dist/{Notification-D37v6ajG.js → Notification-BDC_8mYw.js} +3 -3
- package/dist/{PrefPanel-C52fIBvK.js → PrefPanel-Cf-9oKfS.js} +5 -5
- package/dist/RoadmapDetails-8I0H8cJO.js +93 -0
- package/dist/{Search-DDAu456d.js → Search-BvuVKy00.js} +2 -2
- package/dist/{YoutubeModal-C4vLIssA.js → YoutubeModal-CcsPAJj8.js} +1 -1
- 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/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/{esm-BZjXJo1W.js → esm-CH52zwuf.js} +10 -10
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/RoadmapDetails/index.d.ts +3 -2
- package/dist/main.js +13 -13
- package/package.json +1 -1
- package/dist/RoadmapDetails-hMyd6BTO.js +0 -89
|
@@ -5,6 +5,7 @@ export interface RoadmapDetailsItem {
|
|
|
5
5
|
}
|
|
6
6
|
export interface RoadmapDetailsAction {
|
|
7
7
|
label: string;
|
|
8
|
+
variant?: 'neutral' | 'soft';
|
|
8
9
|
onClick?: () => void;
|
|
9
10
|
href?: string;
|
|
10
11
|
icon?: ReactNode;
|
|
@@ -13,11 +14,11 @@ export interface RoadmapDetailsProps {
|
|
|
13
14
|
title: string;
|
|
14
15
|
items?: RoadmapDetailsItem[];
|
|
15
16
|
primaryAction?: RoadmapDetailsAction;
|
|
16
|
-
|
|
17
|
+
meta?: ReactNode;
|
|
17
18
|
open?: boolean;
|
|
18
19
|
defaultOpen?: boolean;
|
|
19
20
|
onOpenChange?: (open: boolean) => void;
|
|
20
21
|
className?: string;
|
|
21
22
|
style?: CSSProperties;
|
|
22
23
|
}
|
|
23
|
-
export declare function RoadmapDetails({ title, items, primaryAction,
|
|
24
|
+
export declare function RoadmapDetails({ title, items, primaryAction, meta, open: openProp, defaultOpen, onOpenChange, className, style }: RoadmapDetailsProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/main.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { c as e, d as t, r as n, s as r, u as i } from "./utils-BCI5dixg.js";
|
|
2
2
|
import { t as a } from "./Box-Bi-n_ZxQ.js";
|
|
3
|
-
import { t as o } from "./Button-
|
|
4
|
-
import { t as s } from "./CopyCode-
|
|
3
|
+
import { t as o } from "./Button-BWe-hGo0.js";
|
|
4
|
+
import { t as s } from "./CopyCode-D6zuZ3nb.js";
|
|
5
5
|
import { t as c } from "./Icon-Dwo9ZDNX.js";
|
|
6
6
|
import { t as l } from "./Link-DGMiLJES.js";
|
|
7
7
|
import { t as u } from "./ProductIcon-DjgAODwc.js";
|
|
8
|
-
import { t as d } from "./ButtonGroup-
|
|
8
|
+
import { t as d } from "./ButtonGroup-CXgj-MxA.js";
|
|
9
9
|
import { t as f } from "./InputSolo-DOZp13Mv.js";
|
|
10
|
-
import { i as p, n as m, r as h, t as g } from "./InputGrouped-
|
|
10
|
+
import { i as p, n as m, r as h, t as g } from "./InputGrouped-qenKO8Jl.js";
|
|
11
11
|
import { t as _ } from "./Container-mH6tG_kR.js";
|
|
12
12
|
import { t as v } from "./DiscordInvite-CR7g5hay.js";
|
|
13
13
|
import { t as y } from "./Heading-DvLlRFvQ.js";
|
|
14
14
|
import { t as b } from "./Typography-Dw2_XzMu.js";
|
|
15
15
|
import { t as x } from "./Logo-BRXxiQk8.js";
|
|
16
|
-
import { t as S } from "./NewsletterSignup-
|
|
17
|
-
import { n as C, r as w, t as T } from "./Dropdown-
|
|
18
|
-
import { t as E } from "./PrefPanel-
|
|
19
|
-
import { n as D, t as O } from "./Label-
|
|
20
|
-
import { t as k } from "./Footer-
|
|
16
|
+
import { t as S } from "./NewsletterSignup-CQ16wS4l.js";
|
|
17
|
+
import { n as C, r as w, t as T } from "./Dropdown-fBTRMHW7.js";
|
|
18
|
+
import { t as E } from "./PrefPanel-Cf-9oKfS.js";
|
|
19
|
+
import { n as D, t as O } from "./Label-DkJ9JjU6.js";
|
|
20
|
+
import { t as k } from "./Footer-CLBv8yI9.js";
|
|
21
21
|
import { n as A } from "./GPTInput-Cgu6_F53.js";
|
|
22
|
-
import { t as j } from "./Notification-
|
|
23
|
-
import { n as M, t as N } from "./Header-
|
|
22
|
+
import { t as j } from "./Notification-BDC_8mYw.js";
|
|
23
|
+
import { n as M, t as N } from "./Header-DjRIOI5-.js";
|
|
24
24
|
import { t as P } from "./Tabs-DanjfIHP.js";
|
|
25
25
|
import { n as F, t as I } from "./RadioBox-B9rLrNTK.js";
|
|
26
|
-
import { n as L, t as R } from "./Checkbox-
|
|
26
|
+
import { n as L, t as R } from "./Checkbox-Dgs_Bq30.js";
|
|
27
27
|
import { Modal as z } from "./components/Modal/index.js";
|
|
28
|
-
import { t as B } from "./RoadmapDetails-
|
|
28
|
+
import { t as B } from "./RoadmapDetails-8I0H8cJO.js";
|
|
29
29
|
import { ModalContactFooter as V } from "./components/Modal/ModalContactFooter.js";
|
|
30
30
|
import { ThemeLoader as H, themeLoaderScript as U } from "./components/ThemeLoader/index.js";
|
|
31
31
|
export { a as Box, o as Button, d as ButtonGroup, R as Checkbox, L as CheckboxGroup, _ as Container, s as CopyCode, v as DiscordInvite, T as Dropdown, C as DropdownItem, w as DropdownSeparator, k as Footer, g as FormGroup, m as FormRow, A as GPTInput, N as Header, y as Heading, c as Icon, h as InputGrouped, f as InputSolo, O as Label, l as Link, x as Logo, z as Modal, V as ModalContactFooter, D as NewTag, S as NewsletterSignup, j as Notification, E as PrefPanel, u as ProductIcon, I as RadioBox, F as RadioBoxGroup, B as RoadmapDetails, p as SelectGrouped, M as SubHeader, P as Tabs, H as ThemeLoader, i as ThemeProvider, b as Typography, U as themeLoaderScript, n as useClipboard, t as useNextTheme, r as useSuccessFlash, e as useTheme };
|
package/package.json
CHANGED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./clsx-D7D_XZ_-.js";
|
|
2
|
-
import { F as t, g as n, i as r } from "./esm-BZjXJo1W.js";
|
|
3
|
-
import { t as i } from "./Button-BP0Qtl-y.js";
|
|
4
|
-
import { t as a } from "./Typography-Dw2_XzMu.js";
|
|
5
|
-
import { useEffect as o, useRef as s } from "react";
|
|
6
|
-
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
|
-
var u = {
|
|
8
|
-
actions: "oRbWvq_actions",
|
|
9
|
-
chevron: "oRbWvq_chevron",
|
|
10
|
-
item: "oRbWvq_item",
|
|
11
|
-
itemIcon: "oRbWvq_itemIcon",
|
|
12
|
-
items: "oRbWvq_items",
|
|
13
|
-
itemText: "oRbWvq_itemText",
|
|
14
|
-
root: "oRbWvq_root",
|
|
15
|
-
summary: "oRbWvq_summary",
|
|
16
|
-
title: "oRbWvq_title"
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region lib/components/RoadmapDetails/index.tsx
|
|
20
|
-
function d({ title: d, items: f, primaryAction: p, secondaryAction: m, open: h, defaultOpen: g = !1, onOpenChange: _, className: v, style: y }) {
|
|
21
|
-
let b = h !== void 0, x = s(null);
|
|
22
|
-
o(() => {
|
|
23
|
-
let e = x.current;
|
|
24
|
-
e && (e.open = b ? h : g);
|
|
25
|
-
}, []), o(() => {
|
|
26
|
-
if (!b) return;
|
|
27
|
-
let e = x.current;
|
|
28
|
-
!e || e.open === h || (e.open = h);
|
|
29
|
-
}, [b, h]);
|
|
30
|
-
let S = (e) => {
|
|
31
|
-
_?.(e.currentTarget.open);
|
|
32
|
-
}, C = (e, t) => {
|
|
33
|
-
let r = e.icon === null ? void 0 : e.icon === void 0 ? t === "neutral" ? /* @__PURE__ */ c(n, {}) : void 0 : e.icon;
|
|
34
|
-
return /* @__PURE__ */ c(i, {
|
|
35
|
-
variant: t,
|
|
36
|
-
size: 200,
|
|
37
|
-
href: e.href,
|
|
38
|
-
onClick: (t) => {
|
|
39
|
-
t.stopPropagation(), e.onClick?.();
|
|
40
|
-
},
|
|
41
|
-
iconLeft: r,
|
|
42
|
-
children: e.label
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
return /* @__PURE__ */ l("details", {
|
|
46
|
-
ref: x,
|
|
47
|
-
className: e("hsui-roadmap-details", u.root, v),
|
|
48
|
-
onToggle: S,
|
|
49
|
-
style: y,
|
|
50
|
-
children: [
|
|
51
|
-
/* @__PURE__ */ l("summary", {
|
|
52
|
-
className: u.summary,
|
|
53
|
-
children: [/* @__PURE__ */ c(a, {
|
|
54
|
-
as: "span",
|
|
55
|
-
size: 300,
|
|
56
|
-
weight: "medium",
|
|
57
|
-
className: u.title,
|
|
58
|
-
children: d
|
|
59
|
-
}), /* @__PURE__ */ c("span", {
|
|
60
|
-
className: u.chevron,
|
|
61
|
-
"aria-hidden": "true",
|
|
62
|
-
children: /* @__PURE__ */ c(t, {})
|
|
63
|
-
})]
|
|
64
|
-
}),
|
|
65
|
-
f && f.length > 0 && /* @__PURE__ */ c("ul", {
|
|
66
|
-
className: u.items,
|
|
67
|
-
children: f.map((e, t) => /* @__PURE__ */ l("li", {
|
|
68
|
-
className: u.item,
|
|
69
|
-
children: [/* @__PURE__ */ c("span", {
|
|
70
|
-
className: u.itemIcon,
|
|
71
|
-
"aria-hidden": "true",
|
|
72
|
-
children: e.icon ?? /* @__PURE__ */ c(r, {})
|
|
73
|
-
}), /* @__PURE__ */ c(a, {
|
|
74
|
-
as: "span",
|
|
75
|
-
size: 200,
|
|
76
|
-
className: u.itemText,
|
|
77
|
-
children: e.text
|
|
78
|
-
})]
|
|
79
|
-
}, t))
|
|
80
|
-
}),
|
|
81
|
-
(p || m) && /* @__PURE__ */ l("div", {
|
|
82
|
-
className: u.actions,
|
|
83
|
-
children: [p && C(p, "neutral"), m && C(m, "plain")]
|
|
84
|
-
})
|
|
85
|
-
]
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
//#endregion
|
|
89
|
-
export { d as t };
|