@burdenoff/fe-libs 2026.819.1 → 2026.819.3
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/chrome/SideNavigation.d.ts.map +1 -1
- package/dist/chrome/SideNavigation.js +67 -70
- package/dist/chrome/sideNavigation/SidebarHeader.d.ts +6 -1
- package/dist/chrome/sideNavigation/SidebarHeader.d.ts.map +1 -1
- package/dist/chrome/sideNavigation/SidebarHeader.js +34 -26
- package/dist/shared/config/products.d.ts.map +1 -1
- package/dist/shared/config/products.js +30 -60
- package/package.json +1 -1
- package/dist/chrome/sideNavigation/CollapseToggle.d.ts +0 -9
- package/dist/chrome/sideNavigation/CollapseToggle.d.ts.map +0 -1
- package/dist/chrome/sideNavigation/CollapseToggle.js +0 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavigation.d.ts","sourceRoot":"","sources":["../../src/chrome/SideNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"SideNavigation.d.ts","sourceRoot":"","sources":["../../src/chrome/SideNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAMtD,YAAY,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,kCAAkC;IAClC,KAAK,EAAE,OAAO,EAAE,CAAC;IAEjB,0BAA0B;IAC1B,WAAW,EAAE,MAAM,CAAC;IAEpB,mCAAmC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,yBAAyB;IACzB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEpC,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAE9B,4BAA4B;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,sEAAsE;IACtE,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEnC,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAErC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,eAAe,CAAC;CACvC;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAuNlD,CAAC"}
|
|
@@ -3,18 +3,17 @@ import { useShellLabel as i } from "../shared/providers/shell/useShellLabel.js";
|
|
|
3
3
|
import { NavItemRenderer as a } from "./sideNavigation/NavItemRenderer.js";
|
|
4
4
|
import { SidebarHeader as o } from "./sideNavigation/SidebarHeader.js";
|
|
5
5
|
import { MobileActionsBar as s } from "./sideNavigation/MobileActionsBar.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
|
+
import { useSideNavigationState as c } from "./sideNavigation/useSideNavigationState.js";
|
|
7
|
+
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
8
|
//#region src/chrome/SideNavigation.tsx
|
|
10
|
-
var
|
|
11
|
-
let { expandedItems:
|
|
12
|
-
items:
|
|
13
|
-
currentPath:
|
|
14
|
-
collapsed:
|
|
15
|
-
onToggleCollapse:
|
|
16
|
-
}),
|
|
17
|
-
if (
|
|
9
|
+
var f = ({ items: f, currentPath: p, collapsed: m = !1, onItemClick: h, onToggleCollapse: g, collapseLabel: _, header: v, footer: y, mobileActions: b, groupOrder: x, groupLabels: S, maxDepth: C = 4, contextSearchParams: w }) => {
|
|
10
|
+
let { expandedItems: T, toggleExpand: E, collapseAll: D } = c({
|
|
11
|
+
items: f,
|
|
12
|
+
currentPath: p,
|
|
13
|
+
collapsed: m,
|
|
14
|
+
onToggleCollapse: g
|
|
15
|
+
}), O = i(), k = _ ?? O("nav.collapse", "Collapse"), A = O("nav.expand", "Expand"), j = f.filter((e) => e.visible !== !1), M = (() => {
|
|
16
|
+
if (m) return [{
|
|
18
17
|
id: "__all__",
|
|
19
18
|
label: null,
|
|
20
19
|
items: j
|
|
@@ -24,21 +23,21 @@ var p = ({ items: p, currentPath: m, collapsed: h = !1, onItemClick: g, onToggle
|
|
|
24
23
|
let n = t.group ?? "__default__", r = e.get(n);
|
|
25
24
|
r ? r.push(t) : e.set(n, [t]);
|
|
26
25
|
}
|
|
27
|
-
return [...
|
|
26
|
+
return [...x ?? [], ...Array.from(e.keys()).filter((e) => !(x ?? []).includes(e))].filter((t) => (e.get(t)?.length ?? 0) > 0).map((t) => ({
|
|
28
27
|
id: t,
|
|
29
|
-
label: t === "__default__" ? null :
|
|
28
|
+
label: t === "__default__" ? null : S?.[t] ?? t,
|
|
30
29
|
items: e.get(t) ?? []
|
|
31
30
|
}));
|
|
32
31
|
})();
|
|
33
|
-
return /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ d(l, { children: [!m && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
|
|
34
33
|
className: "fixed inset-0 bg-bg-overlay z-[109] md:hidden",
|
|
35
34
|
"aria-hidden": "true"
|
|
36
|
-
}), /* @__PURE__ */
|
|
35
|
+
}), /* @__PURE__ */ u("button", {
|
|
37
36
|
type: "button",
|
|
38
37
|
className: "fixed inset-y-0 right-0 left-64 z-[112] md:hidden cursor-pointer",
|
|
39
|
-
onClick:
|
|
38
|
+
onClick: g,
|
|
40
39
|
"aria-label": "Close sidebar"
|
|
41
|
-
})] }), /* @__PURE__ */
|
|
40
|
+
})] }), /* @__PURE__ */ d("aside", {
|
|
42
41
|
className: `
|
|
43
42
|
bg-bg-canvas supports-[backdrop-filter]:bg-[var(--color-surface-glass)] supports-[backdrop-filter]:backdrop-blur-[var(--blur-glass)]
|
|
44
43
|
border-r border-border-seam
|
|
@@ -49,28 +48,28 @@ var p = ({ items: p, currentPath: m, collapsed: h = !1, onItemClick: g, onToggle
|
|
|
49
48
|
z-[110] md:z-auto
|
|
50
49
|
md:h-full
|
|
51
50
|
overflow-x-hidden
|
|
52
|
-
${
|
|
51
|
+
${m ? "-translate-x-full md:translate-x-0" : "translate-x-0"}
|
|
53
52
|
w-64 md:w-auto
|
|
54
|
-
${
|
|
53
|
+
${m ? "md:w-16" : "md:w-64"}
|
|
55
54
|
`,
|
|
56
55
|
style: {
|
|
57
56
|
paddingTop: "env(safe-area-inset-top)",
|
|
58
57
|
paddingBottom: "env(safe-area-inset-bottom)"
|
|
59
58
|
},
|
|
60
59
|
children: [
|
|
61
|
-
!
|
|
60
|
+
!m && g && /* @__PURE__ */ u("div", {
|
|
62
61
|
className: "md:hidden flex justify-end px-2 pt-2",
|
|
63
|
-
children: /* @__PURE__ */
|
|
62
|
+
children: /* @__PURE__ */ u("button", {
|
|
64
63
|
type: "button",
|
|
65
|
-
onClick:
|
|
64
|
+
onClick: g,
|
|
66
65
|
className: "p-2 rounded-button hover:bg-bg-sunken text-text-secondary hover:text-text-primary transition-colors",
|
|
67
66
|
"aria-label": "Close sidebar",
|
|
68
|
-
children: /* @__PURE__ */
|
|
67
|
+
children: /* @__PURE__ */ u("svg", {
|
|
69
68
|
className: "size-5",
|
|
70
69
|
fill: "none",
|
|
71
70
|
stroke: "currentColor",
|
|
72
71
|
viewBox: "0 0 24 24",
|
|
73
|
-
children: /* @__PURE__ */
|
|
72
|
+
children: /* @__PURE__ */ u("path", {
|
|
74
73
|
strokeLinecap: "round",
|
|
75
74
|
strokeLinejoin: "round",
|
|
76
75
|
strokeWidth: 2,
|
|
@@ -79,59 +78,62 @@ var p = ({ items: p, currentPath: m, collapsed: h = !1, onItemClick: g, onToggle
|
|
|
79
78
|
})
|
|
80
79
|
})
|
|
81
80
|
}),
|
|
82
|
-
|
|
83
|
-
header:
|
|
84
|
-
collapsed:
|
|
85
|
-
expandedCount:
|
|
86
|
-
onCollapseAll:
|
|
81
|
+
(v || g) && /* @__PURE__ */ u(o, {
|
|
82
|
+
header: v,
|
|
83
|
+
collapsed: m,
|
|
84
|
+
expandedCount: T.size,
|
|
85
|
+
onCollapseAll: D,
|
|
86
|
+
onToggleCollapse: g,
|
|
87
|
+
collapseLabel: k,
|
|
88
|
+
expandLabel: A
|
|
87
89
|
}),
|
|
88
|
-
/* @__PURE__ */
|
|
90
|
+
/* @__PURE__ */ u("nav", {
|
|
89
91
|
className: "scrollbar-slim scrollbar-hover-only flex-1 min-h-0 py-card-padding overflow-y-auto overflow-x-hidden",
|
|
90
|
-
children: /* @__PURE__ */
|
|
92
|
+
children: /* @__PURE__ */ u(n, {
|
|
91
93
|
delayDuration: 300,
|
|
92
|
-
children: /* @__PURE__ */
|
|
94
|
+
children: /* @__PURE__ */ u("ul", {
|
|
93
95
|
className: "space-y-list-gap",
|
|
94
|
-
children: M.map((n, i) => /* @__PURE__ */
|
|
96
|
+
children: M.map((n, i) => /* @__PURE__ */ d("li", {
|
|
95
97
|
className: "list-none",
|
|
96
98
|
children: [
|
|
97
|
-
i > 0 && !
|
|
98
|
-
n.label && !
|
|
99
|
+
i > 0 && !m && /* @__PURE__ */ u("div", { className: "my-2 border-t border-border-subtle" }),
|
|
100
|
+
n.label && !m && /* @__PURE__ */ u("p", {
|
|
99
101
|
className: "px-3 pb-1.5 pt-0.5 text-[11px] font-medium uppercase tracking-wider text-text-muted",
|
|
100
102
|
children: n.label
|
|
101
103
|
}),
|
|
102
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ u("ul", {
|
|
103
105
|
className: "space-y-list-gap",
|
|
104
|
-
children: n.items.map((n) =>
|
|
106
|
+
children: n.items.map((n) => m ? /* @__PURE__ */ d(e, { children: [/* @__PURE__ */ u(r, {
|
|
105
107
|
asChild: !0,
|
|
106
|
-
children: /* @__PURE__ */
|
|
108
|
+
children: /* @__PURE__ */ u(a, {
|
|
107
109
|
item: n,
|
|
108
110
|
depth: 0,
|
|
109
|
-
maxDepth:
|
|
110
|
-
currentPath:
|
|
111
|
-
expandedItems:
|
|
112
|
-
toggleExpand:
|
|
113
|
-
onItemClick:
|
|
114
|
-
onToggleCollapse:
|
|
115
|
-
collapsed:
|
|
116
|
-
contextSearchParams:
|
|
111
|
+
maxDepth: C,
|
|
112
|
+
currentPath: p,
|
|
113
|
+
expandedItems: T,
|
|
114
|
+
toggleExpand: E,
|
|
115
|
+
onItemClick: h,
|
|
116
|
+
onToggleCollapse: g,
|
|
117
|
+
collapsed: m,
|
|
118
|
+
contextSearchParams: w
|
|
117
119
|
})
|
|
118
|
-
}), /* @__PURE__ */
|
|
120
|
+
}), /* @__PURE__ */ d(t, {
|
|
119
121
|
side: "right",
|
|
120
|
-
children: [/* @__PURE__ */
|
|
122
|
+
children: [/* @__PURE__ */ u("p", { children: n.label }), n.badge !== void 0 && n.badge > 0 && /* @__PURE__ */ u("span", {
|
|
121
123
|
className: "ml-2 text-xs bg-status-error-bg-subtle text-status-error-text px-2 py-0.5 rounded-full",
|
|
122
124
|
children: n.badge
|
|
123
125
|
})]
|
|
124
|
-
})] }, n.id) : /* @__PURE__ */
|
|
126
|
+
})] }, n.id) : /* @__PURE__ */ u(a, {
|
|
125
127
|
item: n,
|
|
126
128
|
depth: 0,
|
|
127
|
-
maxDepth:
|
|
128
|
-
currentPath:
|
|
129
|
-
expandedItems:
|
|
130
|
-
toggleExpand:
|
|
131
|
-
onItemClick:
|
|
132
|
-
onToggleCollapse:
|
|
133
|
-
collapsed:
|
|
134
|
-
contextSearchParams:
|
|
129
|
+
maxDepth: C,
|
|
130
|
+
currentPath: p,
|
|
131
|
+
expandedItems: T,
|
|
132
|
+
toggleExpand: E,
|
|
133
|
+
onItemClick: h,
|
|
134
|
+
onToggleCollapse: g,
|
|
135
|
+
collapsed: m,
|
|
136
|
+
contextSearchParams: w
|
|
135
137
|
}, n.id))
|
|
136
138
|
})
|
|
137
139
|
]
|
|
@@ -139,22 +141,17 @@ var p = ({ items: p, currentPath: m, collapsed: h = !1, onItemClick: g, onToggle
|
|
|
139
141
|
})
|
|
140
142
|
})
|
|
141
143
|
}),
|
|
142
|
-
|
|
143
|
-
className: `py-card-padding border-t border-border-subtle ${
|
|
144
|
-
children:
|
|
144
|
+
y && /* @__PURE__ */ u("div", {
|
|
145
|
+
className: `py-card-padding border-t border-border-subtle ${m ? "md:px-2" : "px-card-padding"}`,
|
|
146
|
+
children: y
|
|
145
147
|
}),
|
|
146
|
-
|
|
147
|
-
actions:
|
|
148
|
-
collapsed:
|
|
149
|
-
onToggleCollapse:
|
|
150
|
-
}),
|
|
151
|
-
_ && /* @__PURE__ */ d(c, {
|
|
152
|
-
collapsed: h,
|
|
153
|
-
collapseLabel: A,
|
|
154
|
-
onToggleCollapse: _
|
|
148
|
+
b && b.length > 0 && /* @__PURE__ */ u(s, {
|
|
149
|
+
actions: b,
|
|
150
|
+
collapsed: m,
|
|
151
|
+
onToggleCollapse: g
|
|
155
152
|
})
|
|
156
153
|
]
|
|
157
154
|
})] });
|
|
158
155
|
};
|
|
159
156
|
//#endregion
|
|
160
|
-
export {
|
|
157
|
+
export { f as SideNavigation };
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
2
|
interface SidebarHeaderProps {
|
|
3
|
-
header
|
|
3
|
+
header?: ReactNode;
|
|
4
4
|
collapsed: boolean;
|
|
5
5
|
expandedCount: number;
|
|
6
6
|
onCollapseAll: () => void;
|
|
7
|
+
/** Collapses/expands the whole sidebar. Omitted when the host pins it open. */
|
|
8
|
+
onToggleCollapse?: () => void;
|
|
9
|
+
/** Translated control labels. Now the button's tooltip rather than visible text. */
|
|
10
|
+
collapseLabel: string;
|
|
11
|
+
expandLabel: string;
|
|
7
12
|
}
|
|
8
13
|
export declare const SidebarHeader: FC<SidebarHeaderProps>;
|
|
9
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarHeader.d.ts","sourceRoot":"","sources":["../../../src/chrome/sideNavigation/SidebarHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SidebarHeader.d.ts","sourceRoot":"","sources":["../../../src/chrome/sideNavigation/SidebarHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,+EAA+E;IAC/E,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,oFAAoF;IACpF,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAmDhD,CAAC"}
|
|
@@ -1,29 +1,37 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChevronUp as e, PanelLeft as t } from "lucide-react";
|
|
2
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
2
3
|
//#region src/chrome/sideNavigation/SidebarHeader.tsx
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
className:
|
|
7
|
-
children:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
4
|
+
var i = ({ header: i, collapsed: a, expandedCount: o, onCollapseAll: s, onToggleCollapse: c, collapseLabel: l, expandLabel: u }) => {
|
|
5
|
+
let d = a ? u : l;
|
|
6
|
+
return /* @__PURE__ */ n("div", {
|
|
7
|
+
className: `py-card-padding border-b border-border-subtle ${a ? "md:px-2" : "px-card-padding"}`,
|
|
8
|
+
children: /* @__PURE__ */ r("div", {
|
|
9
|
+
className: `flex items-center gap-2 ${a ? "justify-center" : ""}`,
|
|
10
|
+
children: [
|
|
11
|
+
i && !a && /* @__PURE__ */ n("div", {
|
|
12
|
+
className: "min-w-0 flex-1",
|
|
13
|
+
children: i
|
|
14
|
+
}),
|
|
15
|
+
!a && o > 0 && /* @__PURE__ */ n("button", {
|
|
16
|
+
type: "button",
|
|
17
|
+
onClick: s,
|
|
18
|
+
className: "shrink-0 rounded-button p-1.5 text-text-secondary transition-colors hover:bg-bg-sunken hover:text-text-primary",
|
|
19
|
+
title: "Collapse all",
|
|
20
|
+
"aria-label": "Collapse all menu items",
|
|
21
|
+
children: /* @__PURE__ */ n(e, { className: "size-4" })
|
|
22
|
+
}),
|
|
23
|
+
c && /* @__PURE__ */ n("button", {
|
|
24
|
+
type: "button",
|
|
25
|
+
onClick: c,
|
|
26
|
+
className: "hidden shrink-0 rounded-button p-1.5 text-text-secondary transition-colors hover:bg-bg-sunken hover:text-text-primary md:block",
|
|
27
|
+
"aria-label": d,
|
|
28
|
+
"aria-expanded": !a,
|
|
29
|
+
title: d,
|
|
30
|
+
children: /* @__PURE__ */ n(t, { className: "size-5" })
|
|
31
|
+
})
|
|
32
|
+
]
|
|
25
33
|
})
|
|
26
|
-
})
|
|
27
|
-
}
|
|
34
|
+
});
|
|
35
|
+
};
|
|
28
36
|
//#endregion
|
|
29
|
-
export {
|
|
37
|
+
export { i as SidebarHeader };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../src/shared/config/products.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDf,CAAC;AAEX,eAAO,MAAM,QAAQ,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../src/shared/config/products.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDf,CAAC;AAEX,eAAO,MAAM,QAAQ,EAAE,aAAa,EAgRnC,CAAC;AAOF,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGvE;AAED;;GAEG;AACH,wBAAgB,mBAAmB;;QA9W7B,MAAM;UACJ,MAAM;UACN,MAAM;WACL,MAAM;kBACC,MAAM;IACpB;;;;;OAKG;iBACU,OAAO;IAqWrB"}
|
|
@@ -95,32 +95,28 @@ var e = {
|
|
|
95
95
|
name: "AdapterCloud",
|
|
96
96
|
icon: "AC",
|
|
97
97
|
color: "#0ea5e9",
|
|
98
|
-
description: "Digital infrastructure continuum"
|
|
99
|
-
comingSoon: !0
|
|
98
|
+
description: "Digital infrastructure continuum"
|
|
100
99
|
},
|
|
101
100
|
{
|
|
102
101
|
id: "artistrybase",
|
|
103
102
|
name: "ArtistryBase",
|
|
104
103
|
icon: "AB",
|
|
105
104
|
color: "#8b5cf6",
|
|
106
|
-
description: "Audio, video, stories & art platform"
|
|
107
|
-
comingSoon: !0
|
|
105
|
+
description: "Audio, video, stories & art platform"
|
|
108
106
|
},
|
|
109
107
|
{
|
|
110
108
|
id: "atheletebridge",
|
|
111
109
|
name: "AtheleteBridge",
|
|
112
110
|
icon: "AB",
|
|
113
111
|
color: "#f97316",
|
|
114
|
-
description: "Sports, gaming & training platform"
|
|
115
|
-
comingSoon: !0
|
|
112
|
+
description: "Sports, gaming & training platform"
|
|
116
113
|
},
|
|
117
114
|
{
|
|
118
115
|
id: "coolandlovely",
|
|
119
116
|
name: "CoolAndLovely",
|
|
120
117
|
icon: "CL",
|
|
121
118
|
color: "#ec4899",
|
|
122
|
-
description: "Fashion & lifestyle platform"
|
|
123
|
-
comingSoon: !0
|
|
119
|
+
description: "Fashion & lifestyle platform"
|
|
124
120
|
},
|
|
125
121
|
{
|
|
126
122
|
id: "hookmovies",
|
|
@@ -135,184 +131,161 @@ var e = {
|
|
|
135
131
|
name: "LabsOfScience",
|
|
136
132
|
icon: "LS",
|
|
137
133
|
color: "#14b8a6",
|
|
138
|
-
description: "Science & discovery platform"
|
|
139
|
-
comingSoon: !0
|
|
134
|
+
description: "Science & discovery platform"
|
|
140
135
|
},
|
|
141
136
|
{
|
|
142
137
|
id: "subscriberbot",
|
|
143
138
|
name: "SubscriberBot",
|
|
144
139
|
icon: "SB",
|
|
145
140
|
color: "#a855f7",
|
|
146
|
-
description: "Recurring-subscription management"
|
|
147
|
-
comingSoon: !0
|
|
141
|
+
description: "Recurring-subscription management"
|
|
148
142
|
},
|
|
149
143
|
{
|
|
150
144
|
id: "crewfoundry",
|
|
151
145
|
name: "Crewfoundry",
|
|
152
146
|
icon: "CF",
|
|
153
147
|
color: "#6366f1",
|
|
154
|
-
description: "Workforce & crew management platform"
|
|
155
|
-
comingSoon: !0
|
|
148
|
+
description: "Workforce & crew management platform"
|
|
156
149
|
},
|
|
157
150
|
{
|
|
158
151
|
id: "kadaikodi",
|
|
159
152
|
name: "Kadaikodi",
|
|
160
153
|
icon: "KK",
|
|
161
154
|
color: "#eab308",
|
|
162
|
-
description: "Local commerce marketplace"
|
|
163
|
-
comingSoon: !0
|
|
155
|
+
description: "Local commerce marketplace"
|
|
164
156
|
},
|
|
165
157
|
{
|
|
166
158
|
id: "headshotmarketing",
|
|
167
159
|
name: "HeadshotMarketing",
|
|
168
160
|
icon: "HS",
|
|
169
161
|
color: "#d946ef",
|
|
170
|
-
description: "AI-powered marketing platform"
|
|
171
|
-
comingSoon: !0
|
|
162
|
+
description: "AI-powered marketing platform"
|
|
172
163
|
},
|
|
173
164
|
{
|
|
174
165
|
id: "ggnomad",
|
|
175
166
|
name: "GGNomad",
|
|
176
167
|
icon: "GG",
|
|
177
168
|
color: "#2563EB",
|
|
178
|
-
description: "Travel, tourism & entertainment"
|
|
179
|
-
comingSoon: !0
|
|
169
|
+
description: "Travel, tourism & entertainment"
|
|
180
170
|
},
|
|
181
171
|
{
|
|
182
172
|
id: "assethandler",
|
|
183
173
|
name: "AssetHandler",
|
|
184
174
|
icon: "AH",
|
|
185
175
|
color: "#0891b2",
|
|
186
|
-
description: "Asset lifecycle management platform"
|
|
187
|
-
comingSoon: !0
|
|
176
|
+
description: "Asset lifecycle management platform"
|
|
188
177
|
},
|
|
189
178
|
{
|
|
190
179
|
id: "eventfullymanaged",
|
|
191
180
|
name: "EventfullyManaged",
|
|
192
181
|
icon: "EM",
|
|
193
182
|
color: "#e11d48",
|
|
194
|
-
description: "Event management platform"
|
|
195
|
-
comingSoon: !0
|
|
183
|
+
description: "Event management platform"
|
|
196
184
|
},
|
|
197
185
|
{
|
|
198
186
|
id: "housingvista",
|
|
199
187
|
name: "HousingVista",
|
|
200
188
|
icon: "HV",
|
|
201
189
|
color: "#059669",
|
|
202
|
-
description: "Real estate & housing platform"
|
|
203
|
-
comingSoon: !0
|
|
190
|
+
description: "Real estate & housing platform"
|
|
204
191
|
},
|
|
205
192
|
{
|
|
206
193
|
id: "timecampus",
|
|
207
194
|
name: "Timecampus",
|
|
208
195
|
icon: "TC",
|
|
209
196
|
color: "#2563eb",
|
|
210
|
-
description: "Time & scheduling platform"
|
|
211
|
-
comingSoon: !0
|
|
197
|
+
description: "Time & scheduling platform"
|
|
212
198
|
},
|
|
213
199
|
{
|
|
214
200
|
id: "movethewheels",
|
|
215
201
|
name: "MoveTheWheels",
|
|
216
202
|
icon: "MW",
|
|
217
203
|
color: "#ea580c",
|
|
218
|
-
description: "Logistics & mobility platform"
|
|
219
|
-
comingSoon: !0
|
|
204
|
+
description: "Logistics & mobility platform"
|
|
220
205
|
},
|
|
221
206
|
{
|
|
222
207
|
id: "manufacturedops",
|
|
223
208
|
name: "ManufacturedOps",
|
|
224
209
|
icon: "MO",
|
|
225
210
|
color: "#475569",
|
|
226
|
-
description: "Manufacturing execution system"
|
|
227
|
-
comingSoon: !0
|
|
211
|
+
description: "Manufacturing execution system"
|
|
228
212
|
},
|
|
229
213
|
{
|
|
230
214
|
id: "proserviceworld",
|
|
231
215
|
name: "ProServiceWorld",
|
|
232
216
|
icon: "PS",
|
|
233
217
|
color: "#7c3aed",
|
|
234
|
-
description: "Professional services platform"
|
|
235
|
-
comingSoon: !0
|
|
218
|
+
description: "Professional services platform"
|
|
236
219
|
},
|
|
237
220
|
{
|
|
238
221
|
id: "intelwatchtower",
|
|
239
222
|
name: "IntelWatchtower",
|
|
240
223
|
icon: "IW",
|
|
241
224
|
color: "#0369a1",
|
|
242
|
-
description: "Military & intelligence platform"
|
|
243
|
-
comingSoon: !0
|
|
225
|
+
description: "Military & intelligence platform"
|
|
244
226
|
},
|
|
245
227
|
{
|
|
246
228
|
id: "govcitizenhub",
|
|
247
229
|
name: "GovCitizenHub",
|
|
248
230
|
icon: "GC",
|
|
249
231
|
color: "#e34003",
|
|
250
|
-
description: "Government & citizen operations platform"
|
|
251
|
-
comingSoon: !0
|
|
232
|
+
description: "Government & citizen operations platform"
|
|
252
233
|
},
|
|
253
234
|
{
|
|
254
235
|
id: "brainyrich",
|
|
255
236
|
name: "BrainyRich",
|
|
256
237
|
icon: "BR",
|
|
257
238
|
color: "#059669",
|
|
258
|
-
description: "Wealth management platform"
|
|
259
|
-
comingSoon: !0
|
|
239
|
+
description: "Wealth management platform"
|
|
260
240
|
},
|
|
261
241
|
{
|
|
262
242
|
id: "buildmyiq",
|
|
263
243
|
name: "BuildMyIQ",
|
|
264
244
|
icon: "BI",
|
|
265
245
|
color: "#6366f1",
|
|
266
|
-
description: "AI-native learning platform"
|
|
267
|
-
comingSoon: !0
|
|
246
|
+
description: "AI-native learning platform"
|
|
268
247
|
},
|
|
269
248
|
{
|
|
270
249
|
id: "collabkin",
|
|
271
250
|
name: "CollabKin",
|
|
272
251
|
icon: "CK",
|
|
273
252
|
color: "#f59e0b",
|
|
274
|
-
description: "Private family & ancestry"
|
|
275
|
-
comingSoon: !0
|
|
253
|
+
description: "Private family & ancestry"
|
|
276
254
|
},
|
|
277
255
|
{
|
|
278
256
|
id: "comradecircle",
|
|
279
257
|
name: "ComradeCircle",
|
|
280
258
|
icon: "CC",
|
|
281
259
|
color: "#0d9488",
|
|
282
|
-
description: "Community engagement platform"
|
|
283
|
-
comingSoon: !0
|
|
260
|
+
description: "Community engagement platform"
|
|
284
261
|
},
|
|
285
262
|
{
|
|
286
263
|
id: "cosmicintersection",
|
|
287
264
|
name: "CosmicIntersection",
|
|
288
265
|
icon: "CI",
|
|
289
266
|
color: "#7c3aed",
|
|
290
|
-
description: "Space & science data platform"
|
|
291
|
-
comingSoon: !0
|
|
267
|
+
description: "Space & science data platform"
|
|
292
268
|
},
|
|
293
269
|
{
|
|
294
270
|
id: "ecoimpacthub",
|
|
295
271
|
name: "EcoImpactHub",
|
|
296
272
|
icon: "EI",
|
|
297
273
|
color: "#16a34a",
|
|
298
|
-
description: "Environment, sustainability & conservation"
|
|
299
|
-
comingSoon: !0
|
|
274
|
+
description: "Environment, sustainability & conservation"
|
|
300
275
|
},
|
|
301
276
|
{
|
|
302
277
|
id: "mybodyshield",
|
|
303
278
|
name: "MyBodyShield",
|
|
304
279
|
icon: "MB",
|
|
305
280
|
color: "#2563eb",
|
|
306
|
-
description: "Complete health & fitness platform"
|
|
307
|
-
comingSoon: !0
|
|
281
|
+
description: "Complete health & fitness platform"
|
|
308
282
|
},
|
|
309
283
|
{
|
|
310
284
|
id: "planmagnet",
|
|
311
285
|
name: "PlanMagnet",
|
|
312
286
|
icon: "PM",
|
|
313
287
|
color: "#3b82f6",
|
|
314
|
-
description: "Product & project management"
|
|
315
|
-
comingSoon: !0
|
|
288
|
+
description: "Product & project management"
|
|
316
289
|
},
|
|
317
290
|
{
|
|
318
291
|
id: "semanticfed",
|
|
@@ -327,24 +300,21 @@ var e = {
|
|
|
327
300
|
name: "TechnoSpam",
|
|
328
301
|
icon: "TS",
|
|
329
302
|
color: "#8b5cf6",
|
|
330
|
-
description: "Learn technology by doing"
|
|
331
|
-
comingSoon: !0
|
|
303
|
+
description: "Learn technology by doing"
|
|
332
304
|
},
|
|
333
305
|
{
|
|
334
306
|
id: "theculturepost",
|
|
335
307
|
name: "TheCulturePost",
|
|
336
308
|
icon: "CP",
|
|
337
309
|
color: "#db2777",
|
|
338
|
-
description: "Sourced cultural storytelling"
|
|
339
|
-
comingSoon: !0
|
|
310
|
+
description: "Sourced cultural storytelling"
|
|
340
311
|
},
|
|
341
312
|
{
|
|
342
313
|
id: "theglobalfuel",
|
|
343
314
|
name: "TheGlobalFuel",
|
|
344
315
|
icon: "TF",
|
|
345
316
|
color: "#f59e0b",
|
|
346
|
-
description: "Energy, minerals & resources platform"
|
|
347
|
-
comingSoon: !0
|
|
317
|
+
description: "Energy, minerals & resources platform"
|
|
348
318
|
}
|
|
349
319
|
];
|
|
350
320
|
function n() {
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface CollapseToggleProps {
|
|
3
|
-
collapsed: boolean;
|
|
4
|
-
collapseLabel: string;
|
|
5
|
-
onToggleCollapse: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const CollapseToggle: FC<CollapseToggleProps>;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=CollapseToggle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CollapseToggle.d.ts","sourceRoot":"","sources":["../../../src/chrome/sideNavigation/CollapseToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA4BlD,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
//#region src/chrome/sideNavigation/CollapseToggle.tsx
|
|
3
|
-
var n = ({ collapsed: n, collapseLabel: r, onToggleCollapse: i }) => /* @__PURE__ */ e("div", {
|
|
4
|
-
className: `hidden md:block py-4 border-t border-border-subtle ${n ? "px-2" : "px-card-padding"}`,
|
|
5
|
-
children: /* @__PURE__ */ t("button", {
|
|
6
|
-
type: "button",
|
|
7
|
-
onClick: i,
|
|
8
|
-
className: `w-full flex items-center gap-3 py-2 rounded-button text-sm text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors ${n ? "justify-center px-2" : "px-3"}`,
|
|
9
|
-
"aria-label": n ? "Expand sidebar" : "Collapse sidebar",
|
|
10
|
-
title: n ? "Expand sidebar" : "Collapse sidebar",
|
|
11
|
-
children: [/* @__PURE__ */ e("svg", {
|
|
12
|
-
className: `w-icon-md h-icon-md transition-transform ${n ? "rotate-180" : ""}`,
|
|
13
|
-
fill: "none",
|
|
14
|
-
stroke: "currentColor",
|
|
15
|
-
viewBox: "0 0 24 24",
|
|
16
|
-
children: /* @__PURE__ */ e("path", {
|
|
17
|
-
strokeLinecap: "round",
|
|
18
|
-
strokeLinejoin: "round",
|
|
19
|
-
strokeWidth: 2,
|
|
20
|
-
d: "M15 19l-7-7 7-7"
|
|
21
|
-
})
|
|
22
|
-
}), !n && /* @__PURE__ */ e("span", {
|
|
23
|
-
className: "text-body-sm font-medium",
|
|
24
|
-
children: r
|
|
25
|
-
})]
|
|
26
|
-
})
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
|
-
export { n as CollapseToggle };
|