@burdenoff/fe-libs 2026.624.1 → 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.
Files changed (44) hide show
  1. package/dist/chrome/HeaderBar.d.ts.map +1 -1
  2. package/dist/chrome/HeaderBar.js +49 -76
  3. package/dist/chrome/HeaderThemeSwitcher.d.ts +9 -0
  4. package/dist/chrome/HeaderThemeSwitcher.d.ts.map +1 -0
  5. package/dist/chrome/HeaderThemeSwitcher.js +111 -0
  6. package/dist/chrome/SideNavigation.d.ts.map +1 -1
  7. package/dist/chrome/SideNavigation.js +2 -1
  8. package/dist/chrome/ThemePreferences.d.ts +15 -0
  9. package/dist/chrome/ThemePreferences.d.ts.map +1 -0
  10. package/dist/chrome/ThemePreferences.js +604 -0
  11. package/dist/chrome/index.d.ts +1 -0
  12. package/dist/chrome/index.d.ts.map +1 -1
  13. package/dist/chrome.js +2 -1
  14. package/dist/shared/providers/AppShellProvider.d.ts +10 -2
  15. package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
  16. package/dist/shared/providers/AppShellProvider.js +183 -175
  17. package/dist/shared/providers/shell/ThemeProvider.d.ts +40 -8
  18. package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
  19. package/dist/shared/providers/shell/ThemeProvider.js +165 -54
  20. package/dist/ui/cta-overflow-menu.d.ts +39 -0
  21. package/dist/ui/cta-overflow-menu.d.ts.map +1 -0
  22. package/dist/ui/cta-overflow-menu.js +38 -0
  23. package/dist/ui/emphasis-panel.d.ts +18 -0
  24. package/dist/ui/emphasis-panel.d.ts.map +1 -0
  25. package/dist/ui/emphasis-panel.js +14 -0
  26. package/dist/ui/glass-card.d.ts +23 -0
  27. package/dist/ui/glass-card.d.ts.map +1 -0
  28. package/dist/ui/glass-card.js +27 -0
  29. package/dist/ui/index.d.ts +4 -0
  30. package/dist/ui/index.d.ts.map +1 -1
  31. package/dist/ui/show-more.d.ts +28 -0
  32. package/dist/ui/show-more.d.ts.map +1 -0
  33. package/dist/ui/show-more.js +31 -0
  34. package/dist/ui.js +5 -1
  35. package/package.json +1 -1
  36. package/src/shared/tokens/build/brands/fluidgrids.css +2 -2
  37. package/src/shared/tokens/build/brands/healthybowl.css +2 -2
  38. package/src/shared/tokens/build/brands/tenant.css +2 -2
  39. package/src/shared/tokens/build/brands/workspaces.css +2 -2
  40. package/src/shared/tokens/build/foundation.css +9 -0
  41. package/src/shared/tokens/build/semantic.css +33 -0
  42. package/src/shared/tokens/build/tailwind.preset.js +12 -0
  43. package/src/shared/tokens/build/themes.css +11 -0
  44. package/src/shared/tokens/tokens.css +37 -0
@@ -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 };
@@ -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;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;A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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
- 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, E as registerBreadcrumbName, D as unregisterBreadcrumbName };
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 };
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { Brand } from './shell/ThemeProvider';
2
+ import { Brand, ThemeMode, Density, Typography, GlassIntensity } from './shell/ThemeProvider';
3
3
  import { TranslationDictionary } from './shell/I18nProvider';
4
4
  import { BurdenoffEventName } from '../events';
5
5
  export interface AppShellConfig {
@@ -24,8 +24,16 @@ export interface AppShellConfig {
24
24
  allowedOrigins?: string;
25
25
  debug?: boolean;
26
26
  };
27
- /** Default theme brand */
27
+ /** Default theme brand (per-product accent) */
28
28
  defaultBrand?: Brand;
29
+ /** Per-product default theme mode (e.g. a product can default to dark/midnight). */
30
+ defaultMode?: ThemeMode;
31
+ /** Per-product default density. */
32
+ defaultDensity?: Density;
33
+ /** Per-product default typography scale. */
34
+ defaultTypography?: Typography;
35
+ /** Per-product default glass intensity. */
36
+ defaultGlass?: GlassIntensity;
29
37
  /** Enable PWA install banner */
30
38
  enablePWA?: boolean;
31
39
  /** Brand initial for PWA banner icon */
@@ -1 +1 @@
1
- {"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","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