@burdenoff/fe-libs 2026.624.2 → 2026.625.1
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 +2 -1
- package/dist/chrome/ThemePreferences.d.ts +15 -0
- package/dist/chrome/ThemePreferences.d.ts.map +1 -0
- package/dist/chrome/ThemePreferences.js +604 -0
- package/dist/chrome/index.d.ts +1 -0
- package/dist/chrome/index.d.ts.map +1 -1
- package/dist/chrome.js +2 -1
- package/dist/shared/providers/AppShellProvider.d.ts +10 -2
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +183 -175
- package/dist/shared/providers/shell/ThemeProvider.d.ts +40 -8
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/ThemeProvider.js +165 -54
- package/dist/ui/cta-overflow-menu.d.ts +39 -0
- package/dist/ui/cta-overflow-menu.d.ts.map +1 -0
- package/dist/ui/cta-overflow-menu.js +38 -0
- package/dist/ui/emphasis-panel.d.ts +18 -0
- package/dist/ui/emphasis-panel.d.ts.map +1 -0
- package/dist/ui/emphasis-panel.js +14 -0
- package/dist/ui/glass-card.d.ts +23 -0
- package/dist/ui/glass-card.d.ts.map +1 -0
- package/dist/ui/glass-card.js +27 -0
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/show-more.d.ts +28 -0
- package/dist/ui/show-more.d.ts.map +1 -0
- package/dist/ui/show-more.js +31 -0
- package/dist/ui.js +5 -1
- package/package.json +1 -1
- package/src/shared/tokens/build/brands/fluidgrids.css +2 -2
- package/src/shared/tokens/build/brands/healthybowl.css +2 -2
- package/src/shared/tokens/build/brands/tenant.css +2 -2
- package/src/shared/tokens/build/brands/workspaces.css +2 -2
- package/src/shared/tokens/build/foundation.css +9 -0
- package/src/shared/tokens/build/semantic.css +33 -0
- package/src/shared/tokens/build/tailwind.preset.js +12 -0
- package/src/shared/tokens/build/themes.css +11 -0
- package/src/shared/tokens/tokens.css +37 -0
|
@@ -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;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAOtD,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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c,EAAE,EAAE,CAAC,mBAAmB,CAwNlD,CAAC"}
|
|
@@ -39,7 +39,8 @@ var f = ({ items: f, currentPath: p, collapsed: m = !1, onItemClick: h, onToggle
|
|
|
39
39
|
"aria-label": "Close sidebar"
|
|
40
40
|
})] }), /* @__PURE__ */ d("aside", {
|
|
41
41
|
className: `
|
|
42
|
-
bg-bg-
|
|
42
|
+
bg-bg-canvas supports-[backdrop-filter]:bg-[var(--color-surface-glass)] supports-[backdrop-filter]:backdrop-blur-[var(--blur-glass)]
|
|
43
|
+
border-r border-border-seam
|
|
43
44
|
transition-all duration-normal
|
|
44
45
|
flex flex-col min-h-0
|
|
45
46
|
fixed md:relative
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface ThemePreferencesProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
/** Render the theme cards grid + custom theme editor (default true). */
|
|
4
|
+
showCustomThemes?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Boff UI 2.0 "Theme Preferences" customizer.
|
|
8
|
+
*
|
|
9
|
+
* Presentation-only: every value is read from and written through {@link useTheme}.
|
|
10
|
+
* No raw colors are used in class names — only semantic token utilities. The single
|
|
11
|
+
* exception is the `value` of the `<input type="color">` inside the custom editor,
|
|
12
|
+
* which is data entry (a hex string), never a className.
|
|
13
|
+
*/
|
|
14
|
+
export declare function ThemePreferences({ className, showCustomThemes }: ThemePreferencesProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=ThemePreferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemePreferences.d.ts","sourceRoot":"","sources":["../../src/chrome/ThemePreferences.tsx"],"names":[],"mappings":"AAqBA,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAgCD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,gBAAuB,EAAE,EAAE,qBAAqB,2CAwZ7F"}
|
|
@@ -0,0 +1,604 @@
|
|
|
1
|
+
import { Button as e } from "../ui/button.js";
|
|
2
|
+
import { Select as t, SelectContent as n, SelectItem as r, SelectTrigger as i, SelectValue as a } from "../ui/select.js";
|
|
3
|
+
import { Badge as o } from "../ui/badge.js";
|
|
4
|
+
import { Card as s, CardContent as c, CardDescription as l, CardHeader as u, CardTitle as d } from "../ui/card.js";
|
|
5
|
+
import { Input as f } from "../ui/input.js";
|
|
6
|
+
import { Label as p } from "../ui/label.js";
|
|
7
|
+
import { THEME_OPTIONS as m, useTheme as h } from "../shared/providers/shell/ThemeProvider.js";
|
|
8
|
+
import { Switch as g } from "../ui/switch.js";
|
|
9
|
+
import { cn as _ } from "../utils/cn.js";
|
|
10
|
+
import "../utils/index.js";
|
|
11
|
+
import { useCallback as v, useId as y, useMemo as b, useState as x } from "react";
|
|
12
|
+
import { Check as S, Palette as C, Pencil as ee, Plus as te, Trash2 as ne, X as re } from "lucide-react";
|
|
13
|
+
import { jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
14
|
+
//#region src/chrome/ThemePreferences.tsx
|
|
15
|
+
var E = [
|
|
16
|
+
{
|
|
17
|
+
name: "Blue",
|
|
18
|
+
varName: "--color-accent-blue"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "Purple",
|
|
22
|
+
varName: "--color-accent-purple"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "Teal",
|
|
26
|
+
varName: "--color-accent-teal"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "Indigo",
|
|
30
|
+
varName: "--color-accent-indigo"
|
|
31
|
+
}
|
|
32
|
+
], D = [
|
|
33
|
+
{
|
|
34
|
+
value: "compact",
|
|
35
|
+
label: "Compact"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
value: "comfortable",
|
|
39
|
+
label: "Comfortable"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: "spacious",
|
|
43
|
+
label: "Spacious"
|
|
44
|
+
}
|
|
45
|
+
], O = [
|
|
46
|
+
{
|
|
47
|
+
value: "small",
|
|
48
|
+
label: "Small"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
value: "default",
|
|
52
|
+
label: "Default"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
value: "large",
|
|
56
|
+
label: "Large"
|
|
57
|
+
}
|
|
58
|
+
], k = [
|
|
59
|
+
{
|
|
60
|
+
value: "off",
|
|
61
|
+
label: "Off"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
value: "subtle",
|
|
65
|
+
label: "Subtle"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
value: "full",
|
|
69
|
+
label: "Full"
|
|
70
|
+
}
|
|
71
|
+
], A = (e) => e === "dark" ? "bg-bg-sunken" : "bg-bg-surface";
|
|
72
|
+
function j({ className: t, showCustomThemes: n = !0 }) {
|
|
73
|
+
let { mode: r, density: i, typography: a, glass: y, reduceMotion: re, resolvedThemeName: j, setMode: P, setDensity: ae, setTypography: oe, setGlass: se, setReduceMotion: ce, customThemes: F, activeCustomId: I, createCustomTheme: L, updateCustomTheme: R, deleteCustomTheme: le, applyCustomTheme: z } = h(), [B, V] = x(!1), [H, ue] = x("My theme"), [U, de] = x("light"), [W, fe] = x("#6366F1"), [G, pe] = x("comfortable"), [K, me] = x("default"), [q, he] = x("full"), [J, ge] = x(!1), [Y, X] = x(null), [Z, _e] = x(""), Q = v(() => V(!0), []), ve = v(() => {
|
|
74
|
+
z(L({
|
|
75
|
+
name: H.trim() || "Untitled theme",
|
|
76
|
+
base: U,
|
|
77
|
+
accent: W,
|
|
78
|
+
density: G,
|
|
79
|
+
typography: K,
|
|
80
|
+
glass: q,
|
|
81
|
+
reduceMotion: J
|
|
82
|
+
}).id), V(!1);
|
|
83
|
+
}, [
|
|
84
|
+
H,
|
|
85
|
+
U,
|
|
86
|
+
W,
|
|
87
|
+
G,
|
|
88
|
+
K,
|
|
89
|
+
q,
|
|
90
|
+
J,
|
|
91
|
+
L,
|
|
92
|
+
z
|
|
93
|
+
]), ye = v((e) => {
|
|
94
|
+
X(e.id), _e(e.name);
|
|
95
|
+
}, []), be = v(() => {
|
|
96
|
+
Y && R(Y, { name: Z.trim() || "Untitled theme" }), X(null);
|
|
97
|
+
}, [
|
|
98
|
+
Y,
|
|
99
|
+
Z,
|
|
100
|
+
R
|
|
101
|
+
]), $ = b(() => B ? {
|
|
102
|
+
theme: U,
|
|
103
|
+
density: G,
|
|
104
|
+
typography: K,
|
|
105
|
+
glass: q
|
|
106
|
+
} : {
|
|
107
|
+
theme: j,
|
|
108
|
+
density: i,
|
|
109
|
+
typography: a,
|
|
110
|
+
glass: y
|
|
111
|
+
}, [
|
|
112
|
+
B,
|
|
113
|
+
U,
|
|
114
|
+
G,
|
|
115
|
+
K,
|
|
116
|
+
q,
|
|
117
|
+
j,
|
|
118
|
+
i,
|
|
119
|
+
a,
|
|
120
|
+
y
|
|
121
|
+
]);
|
|
122
|
+
return /* @__PURE__ */ T("div", {
|
|
123
|
+
className: _("flex flex-col gap-6", t),
|
|
124
|
+
children: [
|
|
125
|
+
n && /* @__PURE__ */ T(s, { children: [/* @__PURE__ */ T(u, { children: [/* @__PURE__ */ T(d, {
|
|
126
|
+
className: "flex items-center gap-2",
|
|
127
|
+
children: [/* @__PURE__ */ w(C, {
|
|
128
|
+
className: "size-4 text-text-secondary",
|
|
129
|
+
"aria-hidden": "true"
|
|
130
|
+
}), "Theme"]
|
|
131
|
+
}), /* @__PURE__ */ w(l, { children: "Pick a built-in theme or one of your saved custom themes." })] }), /* @__PURE__ */ w(c, { children: /* @__PURE__ */ T("div", {
|
|
132
|
+
role: "radiogroup",
|
|
133
|
+
"aria-label": "Theme",
|
|
134
|
+
className: "grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",
|
|
135
|
+
children: [
|
|
136
|
+
m.map((e) => /* @__PURE__ */ w(M, {
|
|
137
|
+
label: e.label,
|
|
138
|
+
family: e.family,
|
|
139
|
+
active: r === e.value,
|
|
140
|
+
onSelect: () => P(e.value)
|
|
141
|
+
}, e.value)),
|
|
142
|
+
F.map((e) => /* @__PURE__ */ w(M, {
|
|
143
|
+
label: e.name,
|
|
144
|
+
family: e.base,
|
|
145
|
+
accent: e.accent,
|
|
146
|
+
active: r === "custom" && I === e.id,
|
|
147
|
+
onSelect: () => z(e.id)
|
|
148
|
+
}, e.id)),
|
|
149
|
+
/* @__PURE__ */ T("button", {
|
|
150
|
+
type: "button",
|
|
151
|
+
onClick: Q,
|
|
152
|
+
className: "flex min-h-[5.5rem] flex-col items-center justify-center gap-1 rounded-card border border-dashed border-border-default bg-bg-surface text-text-secondary transition-colors hover:border-border-strong hover:bg-bg-sunken hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
|
|
153
|
+
children: [/* @__PURE__ */ w(te, {
|
|
154
|
+
className: "size-5",
|
|
155
|
+
"aria-hidden": "true"
|
|
156
|
+
}), /* @__PURE__ */ w("span", {
|
|
157
|
+
className: "text-xs font-medium",
|
|
158
|
+
children: "New theme"
|
|
159
|
+
})]
|
|
160
|
+
})
|
|
161
|
+
]
|
|
162
|
+
}) })] }),
|
|
163
|
+
/* @__PURE__ */ T(s, { children: [/* @__PURE__ */ T(u, { children: [/* @__PURE__ */ w(d, { children: "Accent" }), /* @__PURE__ */ w(l, { children: "Accent color retints buttons, links, and highlights across the app." })] }), /* @__PURE__ */ w(c, { children: /* @__PURE__ */ T("div", {
|
|
164
|
+
className: "flex flex-wrap items-center gap-3",
|
|
165
|
+
children: [E.map((e) => /* @__PURE__ */ T("div", {
|
|
166
|
+
className: "flex flex-col items-center gap-1.5",
|
|
167
|
+
children: [/* @__PURE__ */ w("span", {
|
|
168
|
+
className: "size-9 rounded-full border border-border-seam shadow-elevation-1",
|
|
169
|
+
style: { backgroundColor: `var(${e.varName})` },
|
|
170
|
+
"aria-hidden": "true"
|
|
171
|
+
}), /* @__PURE__ */ w("span", {
|
|
172
|
+
className: "text-xs text-text-secondary",
|
|
173
|
+
children: e.name
|
|
174
|
+
})]
|
|
175
|
+
}, e.name)), /* @__PURE__ */ T(e, {
|
|
176
|
+
type: "button",
|
|
177
|
+
variant: "outline",
|
|
178
|
+
size: "sm",
|
|
179
|
+
onClick: Q,
|
|
180
|
+
className: "ml-1",
|
|
181
|
+
children: [/* @__PURE__ */ w(C, {
|
|
182
|
+
className: "size-4",
|
|
183
|
+
"aria-hidden": "true"
|
|
184
|
+
}), "Custom accent"]
|
|
185
|
+
})]
|
|
186
|
+
}) })] }),
|
|
187
|
+
/* @__PURE__ */ w(N, {
|
|
188
|
+
title: "Density",
|
|
189
|
+
description: "Spacing and control sizing throughout the interface.",
|
|
190
|
+
value: i,
|
|
191
|
+
options: D,
|
|
192
|
+
onChange: ae
|
|
193
|
+
}),
|
|
194
|
+
/* @__PURE__ */ w(N, {
|
|
195
|
+
title: "Typography",
|
|
196
|
+
description: "Base font scale for text across the app.",
|
|
197
|
+
value: a,
|
|
198
|
+
options: O,
|
|
199
|
+
onChange: oe
|
|
200
|
+
}),
|
|
201
|
+
/* @__PURE__ */ w(N, {
|
|
202
|
+
title: "Glass intensity",
|
|
203
|
+
description: "Strength of the frosted-glass blur on elevated surfaces.",
|
|
204
|
+
value: y,
|
|
205
|
+
options: k,
|
|
206
|
+
onChange: se
|
|
207
|
+
}),
|
|
208
|
+
/* @__PURE__ */ w(s, { children: /* @__PURE__ */ T(c, {
|
|
209
|
+
className: "flex items-center justify-between gap-4 pt-6",
|
|
210
|
+
children: [/* @__PURE__ */ T("div", {
|
|
211
|
+
className: "flex flex-col",
|
|
212
|
+
children: [/* @__PURE__ */ w(p, {
|
|
213
|
+
htmlFor: "theme-reduce-motion",
|
|
214
|
+
className: "text-sm font-medium text-text-primary",
|
|
215
|
+
children: "Reduce motion"
|
|
216
|
+
}), /* @__PURE__ */ w("span", {
|
|
217
|
+
className: "text-xs text-text-secondary",
|
|
218
|
+
children: "Minimize animations and transitions across the app."
|
|
219
|
+
})]
|
|
220
|
+
}), /* @__PURE__ */ w(g, {
|
|
221
|
+
id: "theme-reduce-motion",
|
|
222
|
+
checked: re,
|
|
223
|
+
onCheckedChange: ce,
|
|
224
|
+
"aria-label": "Reduce motion"
|
|
225
|
+
})]
|
|
226
|
+
}) }),
|
|
227
|
+
n && B && /* @__PURE__ */ w(ie, {
|
|
228
|
+
name: H,
|
|
229
|
+
base: U,
|
|
230
|
+
accent: W,
|
|
231
|
+
density: G,
|
|
232
|
+
typography: K,
|
|
233
|
+
glass: q,
|
|
234
|
+
reduceMotion: J,
|
|
235
|
+
onName: ue,
|
|
236
|
+
onBase: de,
|
|
237
|
+
onAccent: fe,
|
|
238
|
+
onDensity: pe,
|
|
239
|
+
onTypography: me,
|
|
240
|
+
onGlass: he,
|
|
241
|
+
onReduceMotion: ge,
|
|
242
|
+
onSave: ve,
|
|
243
|
+
onCancel: () => V(!1)
|
|
244
|
+
}),
|
|
245
|
+
n && F.length > 0 && /* @__PURE__ */ T(s, { children: [/* @__PURE__ */ T(u, { children: [/* @__PURE__ */ w(d, { children: "Saved themes" }), /* @__PURE__ */ w(l, { children: "Apply, rename, or remove your custom themes." })] }), /* @__PURE__ */ w(c, { children: /* @__PURE__ */ w("ul", {
|
|
246
|
+
className: "flex flex-col divide-y divide-border-subtle",
|
|
247
|
+
children: F.map((t) => {
|
|
248
|
+
let n = r === "custom" && I === t.id;
|
|
249
|
+
return /* @__PURE__ */ T("li", {
|
|
250
|
+
className: "flex flex-wrap items-center gap-3 py-3 first:pt-0 last:pb-0",
|
|
251
|
+
children: [
|
|
252
|
+
/* @__PURE__ */ w("span", {
|
|
253
|
+
className: "size-6 rounded-full border border-border-seam",
|
|
254
|
+
style: { backgroundColor: t.accent },
|
|
255
|
+
"aria-hidden": "true"
|
|
256
|
+
}),
|
|
257
|
+
Y === t.id ? /* @__PURE__ */ w(f, {
|
|
258
|
+
autoFocus: !0,
|
|
259
|
+
value: Z,
|
|
260
|
+
"aria-label": "Theme name",
|
|
261
|
+
onChange: (e) => _e(e.target.value),
|
|
262
|
+
onBlur: be,
|
|
263
|
+
onKeyDown: (e) => {
|
|
264
|
+
e.key === "Enter" && be(), e.key === "Escape" && X(null);
|
|
265
|
+
},
|
|
266
|
+
className: "h-8 w-44"
|
|
267
|
+
}) : /* @__PURE__ */ T("span", {
|
|
268
|
+
className: "flex flex-1 items-center gap-2 text-sm text-text-primary",
|
|
269
|
+
children: [t.name, n && /* @__PURE__ */ T(o, {
|
|
270
|
+
variant: "success",
|
|
271
|
+
className: "gap-1",
|
|
272
|
+
children: [/* @__PURE__ */ w(S, {
|
|
273
|
+
className: "size-3",
|
|
274
|
+
"aria-hidden": "true"
|
|
275
|
+
}), "Active"]
|
|
276
|
+
})]
|
|
277
|
+
}),
|
|
278
|
+
/* @__PURE__ */ T("div", {
|
|
279
|
+
className: "ml-auto flex items-center gap-1",
|
|
280
|
+
children: [
|
|
281
|
+
/* @__PURE__ */ w(e, {
|
|
282
|
+
type: "button",
|
|
283
|
+
variant: "outline",
|
|
284
|
+
size: "sm",
|
|
285
|
+
disabled: n,
|
|
286
|
+
onClick: () => z(t.id),
|
|
287
|
+
children: "Apply"
|
|
288
|
+
}),
|
|
289
|
+
/* @__PURE__ */ w(e, {
|
|
290
|
+
type: "button",
|
|
291
|
+
variant: "ghost",
|
|
292
|
+
size: "icon-sm",
|
|
293
|
+
"aria-label": `Rename ${t.name}`,
|
|
294
|
+
onClick: () => ye(t),
|
|
295
|
+
children: /* @__PURE__ */ w(ee, {
|
|
296
|
+
className: "size-4",
|
|
297
|
+
"aria-hidden": "true"
|
|
298
|
+
})
|
|
299
|
+
}),
|
|
300
|
+
/* @__PURE__ */ w(e, {
|
|
301
|
+
type: "button",
|
|
302
|
+
variant: "ghost",
|
|
303
|
+
size: "icon-sm",
|
|
304
|
+
"aria-label": `Delete ${t.name}`,
|
|
305
|
+
onClick: () => le(t.id),
|
|
306
|
+
children: /* @__PURE__ */ w(ne, {
|
|
307
|
+
className: "size-4 text-action-danger-bg",
|
|
308
|
+
"aria-hidden": "true"
|
|
309
|
+
})
|
|
310
|
+
})
|
|
311
|
+
]
|
|
312
|
+
})
|
|
313
|
+
]
|
|
314
|
+
}, t.id);
|
|
315
|
+
})
|
|
316
|
+
}) })] }),
|
|
317
|
+
/* @__PURE__ */ T(s, { children: [/* @__PURE__ */ T(u, { children: [/* @__PURE__ */ w(d, { children: "Preview" }), /* @__PURE__ */ w(l, { children: "A scoped preview of the candidate theme — applies only here until you select it." })] }), /* @__PURE__ */ w(c, { children: /* @__PURE__ */ T("div", {
|
|
318
|
+
"data-theme": $.theme,
|
|
319
|
+
"data-density": $.density,
|
|
320
|
+
"data-typography": $.typography,
|
|
321
|
+
"data-glass": $.glass,
|
|
322
|
+
className: _("flex flex-col gap-4 rounded-card border border-border-seam p-4", A(m.find((e) => e.value === $.theme)?.family ?? "light")),
|
|
323
|
+
children: [
|
|
324
|
+
/* @__PURE__ */ T("div", {
|
|
325
|
+
className: "flex flex-wrap items-center gap-2",
|
|
326
|
+
children: [
|
|
327
|
+
/* @__PURE__ */ w(e, {
|
|
328
|
+
type: "button",
|
|
329
|
+
size: "sm",
|
|
330
|
+
children: "Primary"
|
|
331
|
+
}),
|
|
332
|
+
/* @__PURE__ */ w(e, {
|
|
333
|
+
type: "button",
|
|
334
|
+
variant: "secondary",
|
|
335
|
+
size: "sm",
|
|
336
|
+
children: "Secondary"
|
|
337
|
+
}),
|
|
338
|
+
/* @__PURE__ */ w(e, {
|
|
339
|
+
type: "button",
|
|
340
|
+
variant: "outline",
|
|
341
|
+
size: "sm",
|
|
342
|
+
children: "Outline"
|
|
343
|
+
}),
|
|
344
|
+
/* @__PURE__ */ w(e, {
|
|
345
|
+
type: "button",
|
|
346
|
+
variant: "ghost",
|
|
347
|
+
size: "sm",
|
|
348
|
+
children: "Ghost"
|
|
349
|
+
})
|
|
350
|
+
]
|
|
351
|
+
}),
|
|
352
|
+
/* @__PURE__ */ T("div", {
|
|
353
|
+
className: "rounded-card border border-border-seam bg-[var(--color-surface-glass)] p-4 shadow-[var(--shadow-pop)] backdrop-blur-[var(--blur-glass)]",
|
|
354
|
+
children: [
|
|
355
|
+
/* @__PURE__ */ w("p", {
|
|
356
|
+
className: "text-xs font-medium text-text-secondary",
|
|
357
|
+
children: "Active sessions"
|
|
358
|
+
}),
|
|
359
|
+
/* @__PURE__ */ w("p", {
|
|
360
|
+
className: "mt-1 text-2xl font-semibold text-text-primary",
|
|
361
|
+
children: "1,284"
|
|
362
|
+
}),
|
|
363
|
+
/* @__PURE__ */ w("p", {
|
|
364
|
+
className: "mt-1 text-xs text-status-success-text",
|
|
365
|
+
children: "+12.4% this week"
|
|
366
|
+
})
|
|
367
|
+
]
|
|
368
|
+
}),
|
|
369
|
+
/* @__PURE__ */ T("div", {
|
|
370
|
+
className: "flex flex-wrap items-center gap-2",
|
|
371
|
+
children: [
|
|
372
|
+
/* @__PURE__ */ w(o, { children: "Default" }),
|
|
373
|
+
/* @__PURE__ */ w(o, {
|
|
374
|
+
variant: "secondary",
|
|
375
|
+
children: "Secondary"
|
|
376
|
+
}),
|
|
377
|
+
/* @__PURE__ */ w(o, {
|
|
378
|
+
variant: "success",
|
|
379
|
+
children: "Success"
|
|
380
|
+
}),
|
|
381
|
+
/* @__PURE__ */ w(o, {
|
|
382
|
+
variant: "warning",
|
|
383
|
+
children: "Warning"
|
|
384
|
+
}),
|
|
385
|
+
/* @__PURE__ */ w(o, {
|
|
386
|
+
variant: "destructive",
|
|
387
|
+
children: "Error"
|
|
388
|
+
})
|
|
389
|
+
]
|
|
390
|
+
}),
|
|
391
|
+
/* @__PURE__ */ w("div", {
|
|
392
|
+
className: "flex flex-wrap items-center gap-4",
|
|
393
|
+
children: E.map((e) => /* @__PURE__ */ T("span", {
|
|
394
|
+
className: "flex items-center gap-1.5 text-xs text-text-secondary",
|
|
395
|
+
children: [/* @__PURE__ */ w("span", {
|
|
396
|
+
className: "size-3 rounded-full",
|
|
397
|
+
style: { backgroundColor: `var(${e.varName})` },
|
|
398
|
+
"aria-hidden": "true"
|
|
399
|
+
}), e.name]
|
|
400
|
+
}, e.name))
|
|
401
|
+
})
|
|
402
|
+
]
|
|
403
|
+
}) })] })
|
|
404
|
+
]
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
function M({ label: e, family: t, accent: n, active: r, onSelect: i }) {
|
|
408
|
+
return /* @__PURE__ */ T("button", {
|
|
409
|
+
type: "button",
|
|
410
|
+
role: "radio",
|
|
411
|
+
"aria-checked": r,
|
|
412
|
+
onClick: i,
|
|
413
|
+
className: _("group relative flex flex-col gap-2 rounded-card border p-2 text-left transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]", r ? "border-border-focus bg-[var(--color-accent-soft)]" : "border-border-default bg-bg-surface hover:border-border-strong hover:bg-bg-sunken"),
|
|
414
|
+
children: [/* @__PURE__ */ w("span", {
|
|
415
|
+
className: _("relative flex h-12 w-full items-end overflow-hidden rounded-button border border-border-seam", A(t)),
|
|
416
|
+
"aria-hidden": "true",
|
|
417
|
+
children: /* @__PURE__ */ w("span", {
|
|
418
|
+
className: "m-1.5 size-3 rounded-full shadow-elevation-1",
|
|
419
|
+
style: n ? { backgroundColor: n } : void 0,
|
|
420
|
+
children: !n && /* @__PURE__ */ w("span", { className: "block size-3 rounded-full bg-action-primary-bg" })
|
|
421
|
+
})
|
|
422
|
+
}), /* @__PURE__ */ T("span", {
|
|
423
|
+
className: "flex items-center justify-between gap-1",
|
|
424
|
+
children: [/* @__PURE__ */ w("span", {
|
|
425
|
+
className: "truncate text-xs font-medium text-text-primary",
|
|
426
|
+
children: e
|
|
427
|
+
}), r && /* @__PURE__ */ w(S, {
|
|
428
|
+
className: "size-3.5 shrink-0 text-action-primary-bg",
|
|
429
|
+
"aria-hidden": "true"
|
|
430
|
+
})]
|
|
431
|
+
})]
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
function N({ title: e, description: t, value: n, options: r, onChange: i }) {
|
|
435
|
+
return /* @__PURE__ */ T(s, { children: [/* @__PURE__ */ T(u, { children: [/* @__PURE__ */ w(d, { children: e }), /* @__PURE__ */ w(l, { children: t })] }), /* @__PURE__ */ w(c, { children: /* @__PURE__ */ w("div", {
|
|
436
|
+
role: "radiogroup",
|
|
437
|
+
"aria-label": e,
|
|
438
|
+
className: "inline-flex w-full flex-col gap-1 rounded-button border border-border-default bg-bg-sunken p-1 sm:w-auto sm:flex-row",
|
|
439
|
+
children: r.map((e) => {
|
|
440
|
+
let t = n === e.value;
|
|
441
|
+
return /* @__PURE__ */ w("button", {
|
|
442
|
+
type: "button",
|
|
443
|
+
role: "radio",
|
|
444
|
+
"aria-checked": t,
|
|
445
|
+
onClick: () => i(e.value),
|
|
446
|
+
className: _("flex-1 rounded-button px-4 py-1.5 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]", t ? "bg-bg-surface text-text-primary shadow-elevation-1" : "text-text-secondary hover:text-text-primary"),
|
|
447
|
+
children: e.label
|
|
448
|
+
}, e.value);
|
|
449
|
+
})
|
|
450
|
+
}) })] });
|
|
451
|
+
}
|
|
452
|
+
function ie({ name: t, base: n, accent: r, density: i, typography: a, glass: o, reduceMotion: m, onName: h, onBase: v, onAccent: b, onDensity: x, onTypography: C, onGlass: ee, onReduceMotion: te, onSave: ne, onCancel: E }) {
|
|
453
|
+
let A = y(), j = y(), M = y();
|
|
454
|
+
return /* @__PURE__ */ T(s, { children: [/* @__PURE__ */ T(u, {
|
|
455
|
+
className: "flex-row items-start justify-between gap-4 space-y-0",
|
|
456
|
+
children: [/* @__PURE__ */ T("div", {
|
|
457
|
+
className: "flex flex-col gap-1.5",
|
|
458
|
+
children: [/* @__PURE__ */ w(d, { children: "Custom theme" }), /* @__PURE__ */ w(l, { children: "Design a reusable theme and save it to your library." })]
|
|
459
|
+
}), /* @__PURE__ */ w(e, {
|
|
460
|
+
type: "button",
|
|
461
|
+
variant: "ghost",
|
|
462
|
+
size: "icon-sm",
|
|
463
|
+
"aria-label": "Close editor",
|
|
464
|
+
onClick: E,
|
|
465
|
+
children: /* @__PURE__ */ w(re, {
|
|
466
|
+
className: "size-4",
|
|
467
|
+
"aria-hidden": "true"
|
|
468
|
+
})
|
|
469
|
+
})]
|
|
470
|
+
}), /* @__PURE__ */ T(c, {
|
|
471
|
+
className: "flex flex-col gap-4",
|
|
472
|
+
children: [
|
|
473
|
+
/* @__PURE__ */ T("div", {
|
|
474
|
+
className: "flex flex-col gap-1.5",
|
|
475
|
+
children: [/* @__PURE__ */ w(p, {
|
|
476
|
+
htmlFor: A,
|
|
477
|
+
children: "Name"
|
|
478
|
+
}), /* @__PURE__ */ w(f, {
|
|
479
|
+
id: A,
|
|
480
|
+
value: t,
|
|
481
|
+
onChange: (e) => h(e.target.value),
|
|
482
|
+
placeholder: "My theme"
|
|
483
|
+
})]
|
|
484
|
+
}),
|
|
485
|
+
/* @__PURE__ */ T("div", {
|
|
486
|
+
className: "flex flex-col gap-1.5",
|
|
487
|
+
children: [/* @__PURE__ */ w("span", {
|
|
488
|
+
className: "text-sm font-medium text-text-primary",
|
|
489
|
+
id: `${A}-base`,
|
|
490
|
+
children: "Base"
|
|
491
|
+
}), /* @__PURE__ */ w("div", {
|
|
492
|
+
role: "radiogroup",
|
|
493
|
+
"aria-labelledby": `${A}-base`,
|
|
494
|
+
className: "inline-flex w-full gap-1 rounded-button border border-border-default bg-bg-sunken p-1 sm:w-auto",
|
|
495
|
+
children: ["light", "dark"].map((e) => {
|
|
496
|
+
let t = n === e;
|
|
497
|
+
return /* @__PURE__ */ w("button", {
|
|
498
|
+
type: "button",
|
|
499
|
+
role: "radio",
|
|
500
|
+
"aria-checked": t,
|
|
501
|
+
onClick: () => v(e),
|
|
502
|
+
className: _("flex-1 rounded-button px-4 py-1.5 text-sm font-medium capitalize transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]", t ? "bg-bg-surface text-text-primary shadow-elevation-1" : "text-text-secondary hover:text-text-primary"),
|
|
503
|
+
children: e
|
|
504
|
+
}, e);
|
|
505
|
+
})
|
|
506
|
+
})]
|
|
507
|
+
}),
|
|
508
|
+
/* @__PURE__ */ T("div", {
|
|
509
|
+
className: "flex flex-col gap-1.5",
|
|
510
|
+
children: [/* @__PURE__ */ w(p, {
|
|
511
|
+
htmlFor: j,
|
|
512
|
+
children: "Accent"
|
|
513
|
+
}), /* @__PURE__ */ T("div", {
|
|
514
|
+
className: "flex items-center gap-3",
|
|
515
|
+
children: [/* @__PURE__ */ w("input", {
|
|
516
|
+
id: j,
|
|
517
|
+
type: "color",
|
|
518
|
+
value: r,
|
|
519
|
+
onChange: (e) => b(e.target.value),
|
|
520
|
+
"aria-label": "Accent color",
|
|
521
|
+
className: "size-10 cursor-pointer rounded-input border border-border-default bg-bg-surface p-1 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]"
|
|
522
|
+
}), /* @__PURE__ */ w("span", {
|
|
523
|
+
className: "font-mono text-sm uppercase text-text-secondary",
|
|
524
|
+
children: r
|
|
525
|
+
})]
|
|
526
|
+
})]
|
|
527
|
+
}),
|
|
528
|
+
/* @__PURE__ */ T("div", {
|
|
529
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
530
|
+
children: [
|
|
531
|
+
/* @__PURE__ */ w(P, {
|
|
532
|
+
label: "Density",
|
|
533
|
+
value: i,
|
|
534
|
+
options: D,
|
|
535
|
+
onChange: (e) => x(e)
|
|
536
|
+
}),
|
|
537
|
+
/* @__PURE__ */ w(P, {
|
|
538
|
+
label: "Typography",
|
|
539
|
+
value: a,
|
|
540
|
+
options: O,
|
|
541
|
+
onChange: (e) => C(e)
|
|
542
|
+
}),
|
|
543
|
+
/* @__PURE__ */ w(P, {
|
|
544
|
+
label: "Glass",
|
|
545
|
+
value: o,
|
|
546
|
+
options: k,
|
|
547
|
+
onChange: (e) => ee(e)
|
|
548
|
+
})
|
|
549
|
+
]
|
|
550
|
+
}),
|
|
551
|
+
/* @__PURE__ */ T("div", {
|
|
552
|
+
className: "flex items-center justify-between gap-4",
|
|
553
|
+
children: [/* @__PURE__ */ w(p, {
|
|
554
|
+
htmlFor: M,
|
|
555
|
+
className: "text-sm font-medium text-text-primary",
|
|
556
|
+
children: "Reduce motion"
|
|
557
|
+
}), /* @__PURE__ */ w(g, {
|
|
558
|
+
id: M,
|
|
559
|
+
checked: m,
|
|
560
|
+
onCheckedChange: te,
|
|
561
|
+
"aria-label": "Reduce motion"
|
|
562
|
+
})]
|
|
563
|
+
}),
|
|
564
|
+
/* @__PURE__ */ T("div", {
|
|
565
|
+
className: "flex items-center justify-end gap-2 pt-2",
|
|
566
|
+
children: [/* @__PURE__ */ w(e, {
|
|
567
|
+
type: "button",
|
|
568
|
+
variant: "ghost",
|
|
569
|
+
onClick: E,
|
|
570
|
+
children: "Cancel"
|
|
571
|
+
}), /* @__PURE__ */ T(e, {
|
|
572
|
+
type: "button",
|
|
573
|
+
onClick: ne,
|
|
574
|
+
children: [/* @__PURE__ */ w(S, {
|
|
575
|
+
className: "size-4",
|
|
576
|
+
"aria-hidden": "true"
|
|
577
|
+
}), "Save"]
|
|
578
|
+
})]
|
|
579
|
+
})
|
|
580
|
+
]
|
|
581
|
+
})] });
|
|
582
|
+
}
|
|
583
|
+
function P({ label: e, value: o, options: s, onChange: c }) {
|
|
584
|
+
let l = y();
|
|
585
|
+
return /* @__PURE__ */ T("div", {
|
|
586
|
+
className: "flex flex-col gap-1.5",
|
|
587
|
+
children: [/* @__PURE__ */ w(p, {
|
|
588
|
+
htmlFor: l,
|
|
589
|
+
children: e
|
|
590
|
+
}), /* @__PURE__ */ T(t, {
|
|
591
|
+
value: o,
|
|
592
|
+
onValueChange: c,
|
|
593
|
+
children: [/* @__PURE__ */ w(i, {
|
|
594
|
+
id: l,
|
|
595
|
+
children: /* @__PURE__ */ w(a, {})
|
|
596
|
+
}), /* @__PURE__ */ w(n, { children: s.map((e) => /* @__PURE__ */ w(r, {
|
|
597
|
+
value: e.value,
|
|
598
|
+
children: e.label
|
|
599
|
+
}, e.value)) })]
|
|
600
|
+
})]
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
//#endregion
|
|
604
|
+
export { j as ThemePreferences };
|
package/dist/chrome/index.d.ts
CHANGED
|
@@ -107,4 +107,5 @@ export type { PluginWidgetGridProps } from './PluginWidgetGrid';
|
|
|
107
107
|
export { PluginContextMenuTarget } from './PluginContextMenuTarget';
|
|
108
108
|
export type { PluginContextMenuTargetProps } from './PluginContextMenuTarget';
|
|
109
109
|
export { PluginFooterStrip } from './PluginFooterStrip';
|
|
110
|
+
export { ThemePreferences, type ThemePreferencesProps } from './ThemePreferences';
|
|
110
111
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chrome/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;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B,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/chrome.js
CHANGED
|
@@ -32,4 +32,5 @@ import { PluginSettingsPage as P } from "./chrome/PluginSettingsPage.js";
|
|
|
32
32
|
import { PluginToolbar as F } from "./chrome/PluginToolbar.js";
|
|
33
33
|
import { PluginWidgetGrid as I } from "./chrome/PluginWidgetGrid.js";
|
|
34
34
|
import { PluginContextMenuTarget as L } from "./chrome/PluginContextMenuTarget.js";
|
|
35
|
-
|
|
35
|
+
import { ThemePreferences as R } from "./chrome/ThemePreferences.js";
|
|
36
|
+
export { w as AccountSwitcher, t as AppShellLayout, T as AutoBreadcrumbs, f as Breadcrumbs, d as CommandPalette, y as ContextSwitcher, o as DEFAULT_FOOTER_COLUMNS, s as DEFAULT_SOCIAL_LINKS, k as DynamicFooter, c as Footer, i as FooterBar, b as GeographySwitcher, u as GlobalSearch, r as HeaderBar, S as LanguagePickerSheet, v as LanguageSwitcher, p as NavLink, x as NotificationCenter, n as PageHeader, j as PanelContainer, A as PanelTabs, L as PluginContextMenuTarget, a as PluginFooterStrip, N as PluginRoutes, P as PluginSettingsPage, F as PluginToolbar, I as PluginWidgetGrid, C as ProductPickerSheet, O as ProductSideNav, _ as ProductSwitcher, g as ProfileSwitcher, e as ShortcutHelpDialog, l as SideNavigation, h as Sidebar, M as StatusBar, m as Tabs, R as ThemePreferences, E as registerBreadcrumbName, D as unregisterBreadcrumbName };
|