@burdenoff/fe-libs 2026.1118.12 → 2026.1119.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 (41) hide show
  1. package/dist/chrome/globalSearch/AdvancedFiltersPanel.js +128 -127
  2. package/dist/chrome/notificationCenter/NotificationFilters.js +45 -44
  3. package/dist/connections/CredentialStorageSelector.js +135 -134
  4. package/dist/connections/SharePanels.js +70 -69
  5. package/dist/credentials/AuthMethodSelector.js +33 -32
  6. package/dist/credentials/SchemaForm.js +96 -95
  7. package/dist/shared/assistant/avatar/live/LiveAvatarSettingsFields.js +74 -73
  8. package/dist/shared/assistant/images.js +14 -13
  9. package/dist/shared/assistant/index.d.ts +1 -0
  10. package/dist/shared/assistant/sandboxRegistry.js +3 -0
  11. package/dist/shared/assistant/ui/AssistantLanguageMenu.d.ts +2 -0
  12. package/dist/shared/assistant/ui/AssistantLanguageMenu.js +41 -40
  13. package/dist/shared/assistant/ui/AssistantReplyLanguageSelector.d.ts +3 -1
  14. package/dist/shared/assistant/ui/AssistantReplyLanguageSelector.js +26 -25
  15. package/dist/shared/assistant/ui/composer/AssistantLanguageSelector.d.ts +3 -1
  16. package/dist/shared/assistant/ui/composer/AssistantLanguageSelector.js +22 -21
  17. package/dist/shared/assistant/ui/composer/AssistantVoiceGraceSelector.d.ts +2 -1
  18. package/dist/shared/assistant/ui/composer/AssistantVoiceGraceSelector.js +17 -16
  19. package/dist/shared/assistant/ui/composer/AssistantVoiceSelector.d.ts +3 -1
  20. package/dist/shared/assistant/ui/composer/AssistantVoiceSelector.js +22 -21
  21. package/dist/shared/pages/searchPage/FiltersPanel.js +129 -128
  22. package/dist/shared/pages/searchPage/SearchToolbar.js +24 -23
  23. package/dist/shared/providers/AppShellProvider.d.ts +8 -0
  24. package/dist/shared/providers/AppShellProvider.js +199 -193
  25. package/dist/shared/providers/shell/ThemeProvider.d.ts +6 -1
  26. package/dist/shared/providers/shell/ThemeProvider.js +65 -62
  27. package/dist/shared/providers/shell/themedNativeControls.d.ts +25 -0
  28. package/dist/shared/providers/shell/themedNativeControls.js +13 -0
  29. package/dist/shared-assistant.js +373 -372
  30. package/dist/sharing/ShareDialog.js +33 -32
  31. package/dist/storage/StorageFolderPicker.js +50 -49
  32. package/dist/ui/index.d.ts +2 -0
  33. package/dist/ui/themed-select-context.d.ts +9 -0
  34. package/dist/ui/themed-select-context.js +15 -0
  35. package/dist/ui/themed-select-options.d.ts +42 -0
  36. package/dist/ui/themed-select-options.js +88 -0
  37. package/dist/ui/themed-select.d.ts +7 -0
  38. package/dist/ui/themed-select.js +234 -0
  39. package/dist/ui.js +31 -29
  40. package/package.json +1 -1
  41. package/src/shared/tokens/tokens.css +100 -0
@@ -0,0 +1,234 @@
1
+ import { cn as e } from "../shared-utils.js";
2
+ import { useThemedSelects as t } from "./themed-select-context.js";
3
+ import { readThemedSelectChildren as n, selectValueString as r, selectedOptionIndex as i } from "./themed-select-options.js";
4
+ import { Fragment as ee, useCallback as a, useEffect as te, useEffectEvent as ne, useLayoutEffect as re, useRef as o, useState as s } from "react";
5
+ import { Check as c, ChevronDown as ie } from "lucide-react";
6
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
7
+ import * as f from "@radix-ui/react-select";
8
+ // src/ui/themed-select.tsx
9
+ var p = /* @__PURE__ */ new Set([
10
+ "onChange",
11
+ "onInput",
12
+ "onInvalid",
13
+ "onFocus",
14
+ "onBlur"
15
+ ]);
16
+ function m(e) {
17
+ return Object.entries(e);
18
+ }
19
+ function h(e) {
20
+ return e.startsWith("aria-") || e.startsWith("data-");
21
+ }
22
+ function g(e) {
23
+ return m(e).some(([e, t]) => /^on[A-Z]/.test(e) && !p.has(e) && t !== void 0);
24
+ }
25
+ function ae(e) {
26
+ let t = {};
27
+ for (let [n, r] of m(e)) h(n) && (t[n] = r);
28
+ return t;
29
+ }
30
+ function _(e) {
31
+ return e.multiple || typeof e.size == "number" && e.size > 1 || e.ref && e.value === void 0 || g(e) ? null : n(e.children);
32
+ }
33
+ function v(e, t) {
34
+ if (typeof e == "function") {
35
+ let n = e(t);
36
+ return typeof n == "function" ? n : void 0;
37
+ }
38
+ e && (e.current = t);
39
+ }
40
+ function y(e) {
41
+ e.ctrlKey || e.metaKey || e.altKey || e.key !== "Escape" && e.key !== "Tab" && e.stopPropagation();
42
+ }
43
+ function b(e) {
44
+ e.stopPropagation();
45
+ }
46
+ function oe(e) {
47
+ e.stopPropagation();
48
+ }
49
+ function x(e, t, n) {
50
+ let r = n instanceof Element ? n : null;
51
+ e.dispatchEvent(new FocusEvent(t, {
52
+ bubbles: !0,
53
+ relatedTarget: r
54
+ }));
55
+ }
56
+ var S = "inline-block cursor-default text-start disabled:cursor-not-allowed disabled:opacity-60", se = "relative z-50 max-h-[min(22.5rem,var(--radix-select-content-available-height))] min-w-[var(--radix-select-trigger-width)] max-w-[calc(100vw-1rem)] overflow-hidden rounded-card border border-border-subtle bg-bg-elevated text-text-primary shadow-elevation-3 motion-safe:data-[state=open]:animate-in motion-safe:data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2", ce = "scrollbar-slim scrollbar-box overscroll-contain p-1", C = "relative flex min-h-11 w-full cursor-default select-none items-center rounded-lg py-1.5 ps-8 pe-2 text-sm text-text-primary outline-none motion-safe:transition-colors focus:bg-[var(--color-accent-soft)] focus:text-text-primary data-[state=checked]:bg-action-primary-bg/10 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 sm:min-h-0", w = "-mx-1 my-1 h-px bg-border-subtle", T = "px-3 pb-1 pt-2 text-[11px] font-semibold uppercase tracking-wider text-text-muted";
57
+ function E(e) {
58
+ return /* @__PURE__ */ d(f.Item, {
59
+ value: String(e.index),
60
+ disabled: e.disabled,
61
+ textValue: e.label,
62
+ className: C,
63
+ "data-slot": "themed-select-item",
64
+ children: [/* @__PURE__ */ u("span", {
65
+ className: "absolute start-2 flex size-4 items-center justify-center",
66
+ children: /* @__PURE__ */ u(f.ItemIndicator, { children: /* @__PURE__ */ u(c, {
67
+ className: "size-4 text-action-primary-bg",
68
+ "aria-hidden": "true"
69
+ }) })
70
+ }), /* @__PURE__ */ u(f.ItemText, { children: e.label })]
71
+ }, e.index);
72
+ }
73
+ function D({ model: t, ref: n, id: c, className: p, style: m, title: h, hidden: g, lang: _, dir: C, tabIndex: D, autoFocus: O, name: le, form: k, required: A, autoComplete: ue, value: j, defaultValue: M, onChange: N, onInput: P, onInvalid: F, onFocus: I, onBlur: L, disabled: R, children: z, ...B }) {
74
+ let V = o(null), H = o(null), U = o(null), W = o(!1), G = o(!1), [de, fe] = s(!1), K = j !== void 0, [q, J] = s(() => {
75
+ let e = i(t.options, r(M));
76
+ return {
77
+ value: t.options[e]?.value,
78
+ index: e
79
+ };
80
+ }), Y = K ? i(t.options, r(j)) : q.value !== void 0 && t.options[q.index]?.value === q.value ? q.index : i(t.options, q.value), X = Y >= 0 ? t.options[Y] : void 0, pe = JSON.stringify(t.options.map((e) => e.value)), me = typeof p == "string" && /(^|\s)appearance-none(\s|$)/.test(p), he = t.options.filter((e) => !e.hidden), Z = t.entries.flatMap((e) => {
81
+ if (e.kind === "option") return e.option.hidden ? [] : [e];
82
+ let t = e.options.filter((e) => !e.hidden);
83
+ return t.length > 0 ? [{
84
+ ...e,
85
+ options: t
86
+ }] : [];
87
+ }), ge = a((e) => {
88
+ V.current = e;
89
+ let t = v(n, e);
90
+ return () => {
91
+ V.current = null, t ? t() : v(n, null);
92
+ };
93
+ }, [n]);
94
+ re(() => {
95
+ let e = V.current;
96
+ !K && e && J((t) => t.index === e.selectedIndex && t.value === e.value ? t : {
97
+ value: e.value,
98
+ index: e.selectedIndex
99
+ });
100
+ }, [K, pe]);
101
+ let _e = (e) => {
102
+ if (G.current) return;
103
+ let n = t.options[Number(e)], r = V.current;
104
+ n && r && (K || J({
105
+ value: n.value,
106
+ index: n.index
107
+ }), r.selectedIndex !== n.index && (r.selectedIndex = n.index, r.dispatchEvent(new Event("input", { bubbles: !0 })), r.dispatchEvent(new Event("change", { bubbles: !0 }))));
108
+ }, ve = ne(() => {
109
+ G.current = !1;
110
+ let e = V.current;
111
+ e && (K ? Y >= 0 && e.selectedIndex !== Y && (e.selectedIndex = Y) : J({
112
+ value: e.value,
113
+ index: e.selectedIndex
114
+ }));
115
+ });
116
+ te(() => {
117
+ let e = V.current?.form;
118
+ if (!e) return;
119
+ let t, n = () => {
120
+ G.current = !0, clearTimeout(t), t = setTimeout(() => ve(), 0);
121
+ };
122
+ return e.addEventListener("reset", n, !0), () => {
123
+ e.removeEventListener("reset", n, !0), clearTimeout(t), G.current = !1;
124
+ };
125
+ }, [k]);
126
+ let ye = (e) => e instanceof Node && (!!H.current?.contains(e) || !!U.current?.contains(e)), Q = (e) => {
127
+ W.current || (W.current = !0, I && V.current && x(V.current, "focusin", e.relatedTarget));
128
+ }, $ = (e) => {
129
+ W.current && !ye(e.relatedTarget) && (W.current = !1, L && V.current && x(V.current, "focusout", e.relatedTarget));
130
+ };
131
+ return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ d(f.Root, {
132
+ value: X ? String(X.index) : "",
133
+ onValueChange: _e,
134
+ open: de,
135
+ onOpenChange: fe,
136
+ disabled: R,
137
+ dir: C === "rtl" || C === "ltr" ? C : void 0,
138
+ children: [/* @__PURE__ */ u(f.Trigger, {
139
+ ref: H,
140
+ id: c,
141
+ title: h,
142
+ hidden: g,
143
+ lang: _,
144
+ tabIndex: D,
145
+ autoFocus: O,
146
+ style: m,
147
+ "aria-required": A ? !0 : void 0,
148
+ ...ae(B),
149
+ "data-slot": "themed-select-trigger",
150
+ className: e(S, p),
151
+ onFocus: Q,
152
+ onBlur: $,
153
+ onKeyDown: y,
154
+ children: /* @__PURE__ */ d("span", {
155
+ className: "flex w-full min-w-0 items-center gap-2",
156
+ children: [/* @__PURE__ */ d("span", {
157
+ className: "grid min-w-0 flex-1",
158
+ children: [/* @__PURE__ */ u("span", {
159
+ className: "col-start-1 row-start-1 min-w-0 truncate",
160
+ "data-slot": "themed-select-value",
161
+ children: /* @__PURE__ */ u(f.Value, { children: X?.label ?? "" })
162
+ }), he.map((e) => /* @__PURE__ */ u("span", {
163
+ "aria-hidden": "true",
164
+ className: "invisible col-start-1 row-start-1 h-0 min-w-0 overflow-hidden whitespace-nowrap",
165
+ children: e.label
166
+ }, e.index))]
167
+ }), me ? null : /* @__PURE__ */ u(f.Icon, {
168
+ asChild: !0,
169
+ children: /* @__PURE__ */ u(ie, {
170
+ className: "size-4 shrink-0 text-text-muted",
171
+ "aria-hidden": "true"
172
+ })
173
+ })]
174
+ })
175
+ }), /* @__PURE__ */ u(f.Portal, { children: /* @__PURE__ */ u(f.Content, {
176
+ ref: U,
177
+ position: "popper",
178
+ side: "bottom",
179
+ align: "start",
180
+ sideOffset: 6,
181
+ collisionPadding: 8,
182
+ className: se,
183
+ "data-slot": "themed-select-content",
184
+ onFocus: Q,
185
+ onBlur: $,
186
+ onKeyDown: b,
187
+ onEscapeKeyDown: oe,
188
+ children: /* @__PURE__ */ u(f.Viewport, {
189
+ className: ce,
190
+ children: Z.map((e, t) => {
191
+ let n = t > 0 && (e.kind === "group" || Z[t - 1]?.kind === "group") ? /* @__PURE__ */ u(f.Separator, { className: w }) : null;
192
+ return e.kind === "option" ? n ? /* @__PURE__ */ d(ee, { children: [n, E(e.option)] }, e.option.index) : E(e.option) : /* @__PURE__ */ d(f.Group, { children: [
193
+ n,
194
+ e.label ? /* @__PURE__ */ u(f.Label, {
195
+ className: T,
196
+ children: e.label
197
+ }) : null,
198
+ e.options.map(E)
199
+ ] }, `group-${e.options[0]?.index ?? t}`);
200
+ })
201
+ })
202
+ }) })]
203
+ }), /* @__PURE__ */ u("select", {
204
+ ref: ge,
205
+ "aria-hidden": "true",
206
+ tabIndex: -1,
207
+ className: "sr-only pointer-events-none",
208
+ "data-slot": "themed-select-native",
209
+ name: le,
210
+ form: k,
211
+ required: A,
212
+ autoComplete: ue,
213
+ disabled: R,
214
+ ...K ? { value: j } : { defaultValue: M },
215
+ onChange: N,
216
+ onInput: P,
217
+ onInvalid: F,
218
+ onFocus: (e) => {
219
+ e.nativeEvent.isTrusted ? H.current?.focus() : (e.stopPropagation(), I?.(e));
220
+ },
221
+ onBlur: (e) => {
222
+ e.nativeEvent.isTrusted || (e.stopPropagation(), L?.(e));
223
+ },
224
+ children: z
225
+ })] });
226
+ }
227
+ function O(e) {
228
+ let n = t() ? _(e) : null;
229
+ return n ? /* @__PURE__ */ u(D, {
230
+ ...e,
231
+ model: n
232
+ }) : /* @__PURE__ */ u("select", { ...e });
233
+ }
234
+ export { O as ThemedSelect };
package/dist/ui.js CHANGED
@@ -31,32 +31,34 @@ import { Label as et } from "./ui/label.js";
31
31
  import { Popover as tt, PopoverAnchor as nt, PopoverContent as rt, PopoverTrigger as it } from "./ui/popover.js";
32
32
  import { ScrollArea as at, ScrollBar as ot } from "./ui/scroll-area.js";
33
33
  import { NativeSelect as st, Select as ct, SelectContent as lt, SelectGroup as ut, SelectItem as dt, SelectLabel as ft, SelectScrollDownButton as pt, SelectScrollUpButton as mt, SelectSeparator as ht, SelectTrigger as gt, SelectValue as _t } from "./ui/select.js";
34
- import { Separator as vt } from "./ui/separator.js";
35
- import { Sheet as yt, SheetClose as bt, SheetContent as xt, SheetDescription as St, SheetFooter as Ct, SheetHeader as wt, SheetTitle as Tt, SheetTrigger as Et } from "./ui/sheet.js";
36
- import { Skeleton as Dt } from "./ui/skeleton.js";
37
- import { Toaster as Ot } from "./ui/sonner.js";
38
- import { Spinner as kt } from "./ui/spinner.js";
39
- import { Switch as At } from "./ui/switch.js";
40
- import { Table as jt, TableBody as Mt, TableCaption as Nt, TableCell as Pt, TableFooter as Ft, TableHead as It, TableHeader as Lt, TableRow as Rt } from "./ui/table.js";
41
- import { Tabs as zt, TabsContent as Bt, TabsList as Vt, TabsTrigger as Ht } from "./ui/tabs.js";
42
- import { Textarea as Ut } from "./ui/textarea.js";
43
- import { Tooltip as Wt, TooltipContent as Gt, TooltipProvider as Kt, TooltipTrigger as qt } from "./ui/tooltip.js";
44
- import { PageContainer as Jt } from "./ui/page-container.js";
45
- import { GlassCard as Yt, glassCardVariants as Xt } from "./ui/glass-card.js";
46
- import { EmphasisPanel as Zt } from "./ui/emphasis-panel.js";
47
- import { IconTile as Qt } from "./ui/icon-tile.js";
48
- import { ShowMore as $t } from "./ui/show-more.js";
49
- import { CTAOverflowMenu as en } from "./ui/cta-overflow-menu.js";
50
- import { BrandedSplash as tn } from "./ui/branded-splash.js";
51
- import { ModernLanding as nn } from "./ui/modern-landing.js";
52
- import { AuroraBackground as rn } from "./ui/aurora-background.js";
53
- import { IllustratedEmptyState as an, Illustration as on } from "./ui/illustration.js";
54
- import { GradientText as sn } from "./ui/gradient-text.js";
55
- import { NextSteps as cn, PagePurpose as ln } from "./ui/guidance.js";
56
- import { NativeWelcome as un } from "./ui/native-welcome.js";
57
- import { ActionSheet as dn } from "./ui/action-sheet.js";
58
- import { OfflineBanner as fn } from "./ui/offline-banner.js";
59
- import { PullToRefresh as pn } from "./ui/pull-to-refresh.js";
60
- import { PWAUpdateToast as mn } from "./ui/pwa-update-toast.js";
61
- import { ModalShell as hn } from "./ui/modal-shell.js";
62
- export { f as AccessGate, p as AccessNeededChip, e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, dn as ActionSheet, Z as AlertDialog, Q as AlertDialogAction, $ as AlertDialogCancel, ee as AlertDialogContent, te as AlertDialogDescription, ne as AlertDialogFooter, re as AlertDialogHeader, ie as AlertDialogOverlay, ae as AlertDialogPortal, oe as AlertDialogTitle, se as AlertDialogTrigger, rn as AuroraBackground, ce as Badge, h as BottomSheet, g as BottomSheetClose, _ as BottomSheetContent, v as BottomSheetDescription, y as BottomSheetFooter, b as BottomSheetHeader, x as BottomSheetTitle, S as BottomSheetTrigger, tn as BrandedSplash, ue as Button, en as CTAOverflowMenu, fe as Card, pe as CardContent, me as CardDescription, he as CardFooter, ge as CardHeader, _e as CardTitle, ve as Checkbox, ye as Command, be as CommandDialog, xe as CommandEmpty, Se as CommandGroup, Ce as CommandInput, we as CommandItem, Te as CommandList, Ee as CommandSeparator, De as CommandShortcut, P as DEFAULT_GALLERY_PAGER_LABELS, Oe as Dialog, ke as DialogClose, Ae as DialogContent, je as DialogDescription, Me as DialogFooter, Ne as DialogHeader, Pe as DialogOverlay, Fe as DialogPortal, Ie as DialogTitle, Le as DialogTrigger, Re as DropdownMenu, ze as DropdownMenuCheckboxItem, Be as DropdownMenuContent, Ve as DropdownMenuGroup, He as DropdownMenuItem, Ue as DropdownMenuLabel, We as DropdownMenuPortal, Ge as DropdownMenuRadioGroup, Ke as DropdownMenuRadioItem, qe as DropdownMenuSeparator, Je as DropdownMenuShortcut, Ye as DropdownMenuSub, Xe as DropdownMenuSubContent, Ze as DropdownMenuSubTrigger, Qe as DropdownMenuTrigger, Zt as EmphasisPanel, X as EmptyState, i as EntityIdModal, F as GALLERY_PAGE_SIZE, G as GalleryCategoryRail, K as GalleryChip, N as GalleryPager, q as GalleryPanel, Yt as GlassCard, sn as GradientText, Qt as IconTile, an as IllustratedEmptyState, on as Illustration, $e as Input, et as Label, hn as ModalShell, nn as ModernLanding, st as NativeSelect, un as NativeWelcome, cn as NextSteps, fn as OfflineBanner, o as OptionalFields, mn as PWAUpdateToast, Jt as PageContainer, ln as PagePurpose, l as PageTabs, M as Pagination, tt as Popover, nt as PopoverAnchor, rt as PopoverContent, it as PopoverTrigger, pn as PullToRefresh, C as ResponsiveDialog, w as ResponsiveDialogClose, T as ResponsiveDialogContent, E as ResponsiveDialogDescription, D as ResponsiveDialogFooter, O as ResponsiveDialogHeader, k as ResponsiveDialogTitle, A as ResponsiveDialogTrigger, Y as ResponsiveStack, j as ResponsiveTable, at as ScrollArea, ot as ScrollBar, ct as Select, lt as SelectContent, ut as SelectGroup, dt as SelectItem, ft as SelectLabel, pt as SelectScrollDownButton, mt as SelectScrollUpButton, ht as SelectSeparator, gt as SelectTrigger, _t as SelectValue, vt as Separator, yt as Sheet, bt as SheetClose, xt as SheetContent, St as SheetDescription, Ct as SheetFooter, wt as SheetHeader, Tt as SheetTitle, Et as SheetTrigger, $t as ShowMore, c as ShowTechnicalDetails, Dt as Skeleton, kt as Spinner, J as Stepper, At as Switch, I as TOP_CATEGORY_COUNT, jt as Table, Mt as TableBody, Nt as TableCaption, Pt as TableCell, Ft as TableFooter, It as TableHead, Lt as TableHeader, Rt as TableRow, zt as Tabs, Bt as TabsContent, Vt as TabsList, Ht as TabsTrigger, Ut as Textarea, Ot as Toaster, Wt as Tooltip, Gt as TooltipContent, Kt as TooltipProvider, qt as TooltipTrigger, le as badgeVariants, de as buttonVariants, L as clampPage, Xt as glassCardVariants, u as matchActiveTab, R as offsetForPage, z as pageItems, B as pageRange, V as parsePageParam, H as splitCategories, d as splitTabs, U as totalPagesFor, a as useEntityIdModal, m as useHeadingDocumentTitle, s as useRememberedOpen, W as withPageParam };
34
+ import { ThemedSelect as vt } from "./ui/themed-select.js";
35
+ import { ThemedSelectProvider as yt, useThemedSelects as bt } from "./ui/themed-select-context.js";
36
+ import { Separator as xt } from "./ui/separator.js";
37
+ import { Sheet as St, SheetClose as Ct, SheetContent as wt, SheetDescription as Tt, SheetFooter as Et, SheetHeader as Dt, SheetTitle as Ot, SheetTrigger as kt } from "./ui/sheet.js";
38
+ import { Skeleton as At } from "./ui/skeleton.js";
39
+ import { Toaster as jt } from "./ui/sonner.js";
40
+ import { Spinner as Mt } from "./ui/spinner.js";
41
+ import { Switch as Nt } from "./ui/switch.js";
42
+ import { Table as Pt, TableBody as Ft, TableCaption as It, TableCell as Lt, TableFooter as Rt, TableHead as zt, TableHeader as Bt, TableRow as Vt } from "./ui/table.js";
43
+ import { Tabs as Ht, TabsContent as Ut, TabsList as Wt, TabsTrigger as Gt } from "./ui/tabs.js";
44
+ import { Textarea as Kt } from "./ui/textarea.js";
45
+ import { Tooltip as qt, TooltipContent as Jt, TooltipProvider as Yt, TooltipTrigger as Xt } from "./ui/tooltip.js";
46
+ import { PageContainer as Zt } from "./ui/page-container.js";
47
+ import { GlassCard as Qt, glassCardVariants as $t } from "./ui/glass-card.js";
48
+ import { EmphasisPanel as en } from "./ui/emphasis-panel.js";
49
+ import { IconTile as tn } from "./ui/icon-tile.js";
50
+ import { ShowMore as nn } from "./ui/show-more.js";
51
+ import { CTAOverflowMenu as rn } from "./ui/cta-overflow-menu.js";
52
+ import { BrandedSplash as an } from "./ui/branded-splash.js";
53
+ import { ModernLanding as on } from "./ui/modern-landing.js";
54
+ import { AuroraBackground as sn } from "./ui/aurora-background.js";
55
+ import { IllustratedEmptyState as cn, Illustration as ln } from "./ui/illustration.js";
56
+ import { GradientText as un } from "./ui/gradient-text.js";
57
+ import { NextSteps as dn, PagePurpose as fn } from "./ui/guidance.js";
58
+ import { NativeWelcome as pn } from "./ui/native-welcome.js";
59
+ import { ActionSheet as mn } from "./ui/action-sheet.js";
60
+ import { OfflineBanner as hn } from "./ui/offline-banner.js";
61
+ import { PullToRefresh as gn } from "./ui/pull-to-refresh.js";
62
+ import { PWAUpdateToast as _n } from "./ui/pwa-update-toast.js";
63
+ import { ModalShell as vn } from "./ui/modal-shell.js";
64
+ export { f as AccessGate, p as AccessNeededChip, e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, mn as ActionSheet, Z as AlertDialog, Q as AlertDialogAction, $ as AlertDialogCancel, ee as AlertDialogContent, te as AlertDialogDescription, ne as AlertDialogFooter, re as AlertDialogHeader, ie as AlertDialogOverlay, ae as AlertDialogPortal, oe as AlertDialogTitle, se as AlertDialogTrigger, sn as AuroraBackground, ce as Badge, h as BottomSheet, g as BottomSheetClose, _ as BottomSheetContent, v as BottomSheetDescription, y as BottomSheetFooter, b as BottomSheetHeader, x as BottomSheetTitle, S as BottomSheetTrigger, an as BrandedSplash, ue as Button, rn as CTAOverflowMenu, fe as Card, pe as CardContent, me as CardDescription, he as CardFooter, ge as CardHeader, _e as CardTitle, ve as Checkbox, ye as Command, be as CommandDialog, xe as CommandEmpty, Se as CommandGroup, Ce as CommandInput, we as CommandItem, Te as CommandList, Ee as CommandSeparator, De as CommandShortcut, P as DEFAULT_GALLERY_PAGER_LABELS, Oe as Dialog, ke as DialogClose, Ae as DialogContent, je as DialogDescription, Me as DialogFooter, Ne as DialogHeader, Pe as DialogOverlay, Fe as DialogPortal, Ie as DialogTitle, Le as DialogTrigger, Re as DropdownMenu, ze as DropdownMenuCheckboxItem, Be as DropdownMenuContent, Ve as DropdownMenuGroup, He as DropdownMenuItem, Ue as DropdownMenuLabel, We as DropdownMenuPortal, Ge as DropdownMenuRadioGroup, Ke as DropdownMenuRadioItem, qe as DropdownMenuSeparator, Je as DropdownMenuShortcut, Ye as DropdownMenuSub, Xe as DropdownMenuSubContent, Ze as DropdownMenuSubTrigger, Qe as DropdownMenuTrigger, en as EmphasisPanel, X as EmptyState, i as EntityIdModal, F as GALLERY_PAGE_SIZE, G as GalleryCategoryRail, K as GalleryChip, N as GalleryPager, q as GalleryPanel, Qt as GlassCard, un as GradientText, tn as IconTile, cn as IllustratedEmptyState, ln as Illustration, $e as Input, et as Label, vn as ModalShell, on as ModernLanding, st as NativeSelect, pn as NativeWelcome, dn as NextSteps, hn as OfflineBanner, o as OptionalFields, _n as PWAUpdateToast, Zt as PageContainer, fn as PagePurpose, l as PageTabs, M as Pagination, tt as Popover, nt as PopoverAnchor, rt as PopoverContent, it as PopoverTrigger, gn as PullToRefresh, C as ResponsiveDialog, w as ResponsiveDialogClose, T as ResponsiveDialogContent, E as ResponsiveDialogDescription, D as ResponsiveDialogFooter, O as ResponsiveDialogHeader, k as ResponsiveDialogTitle, A as ResponsiveDialogTrigger, Y as ResponsiveStack, j as ResponsiveTable, at as ScrollArea, ot as ScrollBar, ct as Select, lt as SelectContent, ut as SelectGroup, dt as SelectItem, ft as SelectLabel, pt as SelectScrollDownButton, mt as SelectScrollUpButton, ht as SelectSeparator, gt as SelectTrigger, _t as SelectValue, xt as Separator, St as Sheet, Ct as SheetClose, wt as SheetContent, Tt as SheetDescription, Et as SheetFooter, Dt as SheetHeader, Ot as SheetTitle, kt as SheetTrigger, nn as ShowMore, c as ShowTechnicalDetails, At as Skeleton, Mt as Spinner, J as Stepper, Nt as Switch, I as TOP_CATEGORY_COUNT, Pt as Table, Ft as TableBody, It as TableCaption, Lt as TableCell, Rt as TableFooter, zt as TableHead, Bt as TableHeader, Vt as TableRow, Ht as Tabs, Ut as TabsContent, Wt as TabsList, Gt as TabsTrigger, Kt as Textarea, vt as ThemedSelect, yt as ThemedSelectProvider, jt as Toaster, qt as Tooltip, Jt as TooltipContent, Yt as TooltipProvider, Xt as TooltipTrigger, le as badgeVariants, de as buttonVariants, L as clampPage, $t as glassCardVariants, u as matchActiveTab, R as offsetForPage, z as pageItems, B as pageRange, V as parsePageParam, H as splitCategories, d as splitTabs, U as totalPagesFor, a as useEntityIdModal, m as useHeadingDocumentTitle, s as useRememberedOpen, bt as useThemedSelects, W as withPageParam };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.1118.12",
3
+ "version": "2026.1119.1",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "repository": {
6
6
  "type": "git",
@@ -148,6 +148,106 @@
148
148
  background-color: var(--color-action-primary-bg);
149
149
  }
150
150
 
151
+ /* BOFF-15413 — native controls follow the app's theme, not the OS. Opt-in: inert unless
152
+ * the app sets `AppShellConfig.themedNativeControls`, which puts
153
+ * <html data-native-controls="themed"> (ThemeProvider, themedNativeControls.ts); FluidGrids
154
+ * only, today. Another product turns the same look on with that one option.
155
+ *
156
+ * 1. color-scheme. The app's index.html says `color-scheme: dark light` and nothing said
157
+ * which of the two the page is in, so what the browser draws itself (scrollbars, the
158
+ * select menu, date pickers) followed the OS: on a Mac in Dark mode a page in Light got
159
+ * dark scrollbar tracks and a dark system menu. `<html>` now carries the theme's scheme
160
+ * (every element inherits it, portals and popovers included); ThemeProvider also narrows
161
+ * the meta, which is what `color-scheme: normal` (`scheme-normal`) controls read. */
162
+ :root[data-native-controls='themed'] {
163
+ color-scheme: light;
164
+ }
165
+
166
+ :root[data-native-controls='themed'].dark {
167
+ color-scheme: dark;
168
+ }
169
+
170
+ /* 2. One scrollbar for every scroll container, in the page and in every portal, popover and
171
+ * menu: the `.scrollbar-slim` + `.scrollbar-box` look the assistant got in BOFF-13461 — a
172
+ * 6px pill thumb mixed from the text colour (it inverts with the theme) on a transparent
173
+ * track, the action colour under the pointer. `:where()` keeps it at the lowest
174
+ * specificity, so `.scrollbar-slim`, `.scrollbar-hover-only`, `.platform-native` and the
175
+ * hidden-scrollbar rails still decide where they are used. The Firefox path stays behind
176
+ * @supports for the reason given above `.scrollbar-slim`. `scrollbar-color` is inherited,
177
+ * so setting it on the root reaches every element that does not set its own;
178
+ * `scrollbar-width` is not, so the thin width goes on every element. That rule sits in the
179
+ * `base` layer, below Tailwind's utilities: a `[scrollbar-width:none]` rail, `.scrollbar-slim`
180
+ * and `.platform-native *` (both unlayered) still win over it. */
181
+ @supports not selector(::-webkit-scrollbar) {
182
+ :root[data-native-controls='themed'] {
183
+ scrollbar-color: color-mix(in oklab, var(--color-text-primary) 52%, transparent) transparent;
184
+ }
185
+
186
+ @layer base {
187
+ :root[data-native-controls='themed'],
188
+ :root[data-native-controls='themed'] * {
189
+ scrollbar-width: thin;
190
+ }
191
+ }
192
+ }
193
+
194
+ :where(:root[data-native-controls='themed'], :root[data-native-controls='themed'] *)::-webkit-scrollbar {
195
+ width: 6px;
196
+ height: 6px;
197
+ }
198
+
199
+ :where(
200
+ :root[data-native-controls='themed'],
201
+ :root[data-native-controls='themed'] *
202
+ )::-webkit-scrollbar-track {
203
+ background: transparent;
204
+ }
205
+
206
+ :where(
207
+ :root[data-native-controls='themed'],
208
+ :root[data-native-controls='themed'] *
209
+ )::-webkit-scrollbar-thumb {
210
+ background-color: color-mix(in oklab, var(--color-text-primary) 52%, transparent);
211
+ border-radius: var(--radius-pill);
212
+ }
213
+
214
+ :where(
215
+ :root[data-native-controls='themed'],
216
+ :root[data-native-controls='themed'] *
217
+ )::-webkit-scrollbar-thumb:hover {
218
+ background-color: var(--color-action-primary-bg);
219
+ }
220
+
221
+ :where(
222
+ :root[data-native-controls='themed'],
223
+ :root[data-native-controls='themed'] *
224
+ )::-webkit-scrollbar-corner {
225
+ background: transparent;
226
+ }
227
+
228
+ /* Inside a floating surface (a menu, popover, select or tooltip), the vertical track keeps
229
+ * clear of the rounded corners, as `.scrollbar-box` does. */
230
+ :where(:root[data-native-controls='themed'] [data-radix-popper-content-wrapper] *)::-webkit-scrollbar-track:vertical {
231
+ margin-block: 10px;
232
+ }
233
+
234
+ /* 3. The ThemedSelect menu scrolls with the same slim bar as every other menu. Radix Select
235
+ * hides its viewport's scrollbar with an injected `[data-radix-select-viewport]` style;
236
+ * only a viewport that also carries `.scrollbar-slim` (ThemedSelect's) shows it again. */
237
+ [data-radix-select-viewport].scrollbar-slim {
238
+ scrollbar-width: auto;
239
+ }
240
+
241
+ @supports not selector(::-webkit-scrollbar) {
242
+ [data-radix-select-viewport].scrollbar-slim {
243
+ scrollbar-width: thin;
244
+ }
245
+ }
246
+
247
+ [data-radix-select-viewport].scrollbar-slim::-webkit-scrollbar {
248
+ display: block;
249
+ }
250
+
151
251
  /* Boff UI 2.0 — hover-reveal modifier for .scrollbar-slim.
152
252
  *
153
253
  * Composes with .scrollbar-slim: the thumb is transparent until the pointer is