@burdenoff/fe-libs 2026.1116.2 → 2026.1116.4

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.
@@ -23,6 +23,10 @@ export declare namespace Illustration {
23
23
  * {@link Illustration} with a title, description and an optional primary action.
24
24
  * Clutter-free by design; use the matching illustration for the context
25
25
  * (e.g. name="vc-empty-agents").
26
+ *
27
+ * Its hooks (`illustrated-empty-state`, `illustrated-empty-state-halo`, `illustration`)
28
+ * are named apart from `EmptyState`'s `empty-state`, so code that counts
29
+ * `[data-slot="empty-state"]` is unaffected (BOFF-14994).
26
30
  */
27
31
  export interface IllustratedEmptyStateProps {
28
32
  illustration: string;
@@ -13,10 +13,12 @@ function i({ name: n, alt: i, size: a = "md", framed: o = !1, className: s, load
13
13
  alt: i,
14
14
  loading: c,
15
15
  decoding: "async",
16
+ "data-slot": "illustration",
16
17
  className: e("select-none object-contain [filter:drop-shadow(0_6px_22px_color-mix(in_oklab,var(--color-action-primary-bg)_28%,transparent))]", r[a], o ? "rounded-2xl" : "", s),
17
18
  ...l
18
19
  });
19
20
  return o ? /* @__PURE__ */ t("div", {
21
+ "data-slot": "illustration-frame",
20
22
  className: "relative inline-flex rounded-2xl border border-border-seam bg-[var(--color-surface-glass)] p-1 shadow-[var(--shadow-pop)] backdrop-blur-[var(--blur-glass)]",
21
23
  children: u
22
24
  }) : u;
@@ -24,12 +26,14 @@ function i({ name: n, alt: i, size: a = "md", framed: o = !1, className: s, load
24
26
  i.displayName = "Illustration";
25
27
  function a({ illustration: r, title: a, description: o, action: s, alt: c, className: l }) {
26
28
  return /* @__PURE__ */ n("div", {
29
+ "data-slot": "illustrated-empty-state",
27
30
  className: e("relative flex flex-col items-center justify-center gap-4 px-6 py-12 text-center", l),
28
31
  children: [
29
32
  /* @__PURE__ */ n("div", {
30
33
  className: "relative flex items-center justify-center",
31
34
  children: [/* @__PURE__ */ t("div", {
32
35
  "aria-hidden": "true",
36
+ "data-slot": "illustrated-empty-state-halo",
33
37
  className: "pointer-events-none absolute size-48 rounded-full bg-[radial-gradient(circle,var(--color-accent-soft),transparent_68%)] blur-2xl"
34
38
  }), /* @__PURE__ */ t(i, {
35
39
  name: r,
@@ -40,6 +40,7 @@ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './tool
40
40
  export { PageContainer, type PageContainerProps, type PageContainerVariant, } from './page-container';
41
41
  export { GlassCard, glassCardVariants, type GlassCardProps } from './glass-card';
42
42
  export { EmphasisPanel, type EmphasisPanelProps } from './emphasis-panel';
43
+ export { IconTile, type IconTileProps } from './icon-tile';
43
44
  export { ShowMore, type ShowMoreProps } from './show-more';
44
45
  export { CTAOverflowMenu, type CTAOverflowMenuProps, type CTAAction, type CTAPrimaryAction, } from './cta-overflow-menu';
45
46
  export { BrandedSplash, type BrandedSplashPhase, type BrandedSplashProps } from './branded-splash';
package/dist/ui/input.js CHANGED
@@ -6,6 +6,7 @@ function n({ ref: n, className: r, type: i, ...a }) {
6
6
  type: i,
7
7
  className: e("flex h-10 w-full rounded-input border border-border-default bg-bg-surface px-3 py-2 text-sm text-text-primary transition-colors duration-200 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-text-primary placeholder:text-text-placeholder focus-visible:border-border-focus focus-visible:outline-none focus-visible:shadow-[var(--shadow-focus)] focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid=true]:border-status-error-border", r),
8
8
  ref: n,
9
+ "data-slot": "input",
9
10
  ...a
10
11
  });
11
12
  }
@@ -82,6 +82,7 @@ function x({ tabs: f, activeId: p, maxVisible: m = h, ariaLabel: x, className: S
82
82
  children: [/* @__PURE__ */ u("div", {
83
83
  ref: D,
84
84
  role: "tablist",
85
+ "data-slot": "page-tabs-list",
85
86
  "aria-label": x ?? T("common.tabs", "Tabs"),
86
87
  onKeyDown: F,
87
88
  className: "-mb-px flex items-end overflow-hidden",
@@ -95,6 +96,7 @@ function x({ tabs: f, activeId: p, maxVisible: m = h, ariaLabel: x, className: S
95
96
  "aria-selected": e.id === E,
96
97
  "aria-current": e.id === E ? "page" : void 0,
97
98
  tabIndex: e.id === I ? 0 : -1,
99
+ "data-slot": "page-tabs-tab",
98
100
  "data-tab-stop": "",
99
101
  "data-state": e.id === E ? "active" : "inactive",
100
102
  className: g(e.id === E),
@@ -17,6 +17,8 @@ function u({ columns: u, data: d, rowKey: f, className: p, onRowClick: m, rowAct
17
17
  let r = u.find((e) => e.priority === "primary"), i = u.filter((e) => e.priority !== "primary" && e.priority !== "hidden-on-mobile");
18
18
  return /* @__PURE__ */ l("div", {
19
19
  role: "listitem",
20
+ "data-slot": "responsive-table-card",
21
+ "data-interactive": m ? "" : void 0,
20
22
  className: t("rounded-card border border-border-subtle bg-bg-surface p-4 shadow-elevation-1 transition-all duration-200", m && "cursor-pointer hover:border-border-strong hover:shadow-elevation-2 active:bg-bg-sunken focus-visible:bg-bg-sunken focus-visible:outline-none focus-visible:shadow-[var(--shadow-focus)] min-h-11"),
21
23
  tabIndex: m ? 0 : void 0,
22
24
  onClick: m ? () => m(e, n) : void 0,
@@ -66,6 +68,7 @@ function u({ columns: u, data: d, rowKey: f, className: p, onRowClick: m, rowAct
66
68
  children: g
67
69
  })
68
70
  }) : null] }) }), /* @__PURE__ */ c(r, { children: d.map((e, t) => /* @__PURE__ */ l(s, {
71
+ "data-interactive": m ? "" : void 0,
69
72
  onClick: m ? () => m(e, t) : void 0,
70
73
  className: m ? "cursor-pointer" : void 0,
71
74
  children: [u.map((n) => /* @__PURE__ */ c(i, {
package/dist/ui/select.js CHANGED
@@ -11,6 +11,7 @@ var g = h.Root, _ = h.Group, v = h.Value;
11
11
  function y({ ref: e, className: t, children: r, ...i }) {
12
12
  return /* @__PURE__ */ m(h.Trigger, {
13
13
  ref: e,
14
+ "data-slot": "select-trigger",
14
15
  className: n("flex h-10 w-full items-center justify-between rounded-input border border-border-default bg-bg-surface px-3 py-2 text-sm text-text-primary transition-colors duration-200 data-[placeholder]:text-text-placeholder focus:border-border-focus focus:outline-none focus:shadow-[var(--shadow-focus)] focus:ring-1 focus:ring-[var(--color-focus-ring)] disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid=true]:border-status-error-border [&>span]:line-clamp-1", t),
15
16
  ...i,
16
17
  children: [r, /* @__PURE__ */ p(h.Icon, {
@@ -123,6 +124,7 @@ function O({ options: t, value: s, defaultValue: d, onValueChange: h, placeholde
123
124
  type: "button",
124
125
  id: E,
125
126
  "data-native-select-trigger": "",
127
+ "data-slot": "select-trigger",
126
128
  "aria-label": k,
127
129
  "aria-haspopup": "listbox",
128
130
  "aria-expanded": N,
package/dist/ui/table.js CHANGED
@@ -3,9 +3,11 @@ import { jsx as t } from "react/jsx-runtime";
3
3
  // src/ui/table.tsx
4
4
  function n({ ref: n, className: r, ...i }) {
5
5
  return /* @__PURE__ */ t("div", {
6
+ "data-slot": "table-container",
6
7
  className: "relative w-full overflow-auto",
7
8
  children: /* @__PURE__ */ t("table", {
8
9
  ref: n,
10
+ "data-slot": "table",
9
11
  className: e("w-full caption-bottom text-sm", r),
10
12
  ...i
11
13
  })
@@ -14,6 +16,7 @@ function n({ ref: n, className: r, ...i }) {
14
16
  function r({ ref: n, className: r, ...i }) {
15
17
  return /* @__PURE__ */ t("thead", {
16
18
  ref: n,
19
+ "data-slot": "table-header",
17
20
  className: e("[&_tr]:border-b [&_tr]:border-border-subtle", r),
18
21
  ...i
19
22
  });
@@ -21,6 +24,7 @@ function r({ ref: n, className: r, ...i }) {
21
24
  function i({ ref: n, className: r, ...i }) {
22
25
  return /* @__PURE__ */ t("tbody", {
23
26
  ref: n,
27
+ "data-slot": "table-body",
24
28
  className: e("divide-y divide-border-subtle [&_tr:last-child]:border-0", r),
25
29
  ...i
26
30
  });
@@ -28,6 +32,7 @@ function i({ ref: n, className: r, ...i }) {
28
32
  function a({ ref: n, className: r, ...i }) {
29
33
  return /* @__PURE__ */ t("tfoot", {
30
34
  ref: n,
35
+ "data-slot": "table-footer",
31
36
  className: e("border-t border-border-subtle bg-bg-sunken font-medium text-text-primary [&>tr]:last:border-b-0", r),
32
37
  ...i
33
38
  });
@@ -35,6 +40,7 @@ function a({ ref: n, className: r, ...i }) {
35
40
  function o({ ref: n, className: r, ...i }) {
36
41
  return /* @__PURE__ */ t("tr", {
37
42
  ref: n,
43
+ "data-slot": "table-row",
38
44
  className: e("border-b border-border-subtle transition-colors hover:bg-bg-sunken data-[state=selected]:bg-[var(--color-accent-soft)]", r),
39
45
  ...i
40
46
  });
@@ -42,6 +48,7 @@ function o({ ref: n, className: r, ...i }) {
42
48
  function s({ ref: n, className: r, ...i }) {
43
49
  return /* @__PURE__ */ t("th", {
44
50
  ref: n,
51
+ "data-slot": "table-head",
45
52
  className: e("h-11 px-4 text-start align-middle text-xs font-medium uppercase tracking-wide text-text-muted [&:has([role=checkbox])]:pe-0", r),
46
53
  ...i
47
54
  });
@@ -49,6 +56,7 @@ function s({ ref: n, className: r, ...i }) {
49
56
  function c({ ref: n, className: r, ...i }) {
50
57
  return /* @__PURE__ */ t("td", {
51
58
  ref: n,
59
+ "data-slot": "table-cell",
52
60
  className: e("p-4 align-middle text-text-primary [&:has([role=checkbox])]:pe-0", r),
53
61
  ...i
54
62
  });
@@ -56,6 +64,7 @@ function c({ ref: n, className: r, ...i }) {
56
64
  function l({ ref: n, className: r, ...i }) {
57
65
  return /* @__PURE__ */ t("caption", {
58
66
  ref: n,
67
+ "data-slot": "table-caption",
59
68
  className: e("mt-4 text-sm text-text-secondary", r),
60
69
  ...i
61
70
  });
@@ -5,6 +5,7 @@ function n({ ref: n, className: r, ...i }) {
5
5
  return /* @__PURE__ */ t("textarea", {
6
6
  className: e("flex min-h-[80px] w-full rounded-input border border-border-default bg-bg-surface px-3 py-2 text-sm text-text-primary transition-colors duration-200 placeholder:text-text-placeholder focus-visible:border-border-focus focus-visible:outline-none focus-visible:shadow-[var(--shadow-focus)] focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] disabled:cursor-not-allowed disabled:opacity-50 aria-[invalid=true]:border-status-error-border", r),
7
7
  ref: n,
8
+ "data-slot": "textarea",
8
9
  ...i
9
10
  });
10
11
  }
package/dist/ui.js CHANGED
@@ -40,18 +40,19 @@ import { Tooltip as kt, TooltipContent as At, TooltipProvider as jt, TooltipTrig
40
40
  import { PageContainer as Nt } from "./ui/page-container.js";
41
41
  import { GlassCard as Pt, glassCardVariants as Ft } from "./ui/glass-card.js";
42
42
  import { EmphasisPanel as It } from "./ui/emphasis-panel.js";
43
- import { ShowMore as Lt } from "./ui/show-more.js";
44
- import { CTAOverflowMenu as Rt } from "./ui/cta-overflow-menu.js";
45
- import { BrandedSplash as zt } from "./ui/branded-splash.js";
46
- import { ModernLanding as Bt } from "./ui/modern-landing.js";
47
- import { AuroraBackground as Vt } from "./ui/aurora-background.js";
48
- import { IllustratedEmptyState as Ht, Illustration as Ut } from "./ui/illustration.js";
49
- import { GradientText as Wt } from "./ui/gradient-text.js";
50
- import { NextSteps as Gt, PagePurpose as Kt } from "./ui/guidance.js";
51
- import { NativeWelcome as qt } from "./ui/native-welcome.js";
52
- import { ActionSheet as Jt } from "./ui/action-sheet.js";
53
- import { OfflineBanner as Yt } from "./ui/offline-banner.js";
54
- import { PullToRefresh as Xt } from "./ui/pull-to-refresh.js";
55
- import { PWAUpdateToast as Zt } from "./ui/pwa-update-toast.js";
56
- import { ModalShell as Qt } from "./ui/modal-shell.js";
57
- export { f as AccessGate, p as AccessNeededChip, e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, Jt as ActionSheet, I as AlertDialog, L as AlertDialogAction, R as AlertDialogCancel, z as AlertDialogContent, B as AlertDialogDescription, V as AlertDialogFooter, H as AlertDialogHeader, U as AlertDialogOverlay, W as AlertDialogPortal, G as AlertDialogTitle, K as AlertDialogTrigger, Vt as AuroraBackground, q 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, zt as BrandedSplash, Y as Button, Rt as CTAOverflowMenu, Z as Card, Q as CardContent, $ as CardDescription, ee as CardFooter, te as CardHeader, ne as CardTitle, re as Checkbox, ie as Command, ae as CommandDialog, oe as CommandEmpty, se as CommandGroup, ce as CommandInput, le as CommandItem, ue as CommandList, de as CommandSeparator, fe as CommandShortcut, pe as Dialog, me as DialogClose, he as DialogContent, ge as DialogDescription, _e as DialogFooter, ve as DialogHeader, ye as DialogOverlay, be as DialogPortal, xe as DialogTitle, Se as DialogTrigger, Ce as DropdownMenu, we as DropdownMenuCheckboxItem, Te as DropdownMenuContent, Ee as DropdownMenuGroup, De as DropdownMenuItem, Oe as DropdownMenuLabel, ke as DropdownMenuPortal, Ae as DropdownMenuRadioGroup, je as DropdownMenuRadioItem, Me as DropdownMenuSeparator, Ne as DropdownMenuShortcut, Pe as DropdownMenuSub, Fe as DropdownMenuSubContent, Ie as DropdownMenuSubTrigger, Le as DropdownMenuTrigger, It as EmphasisPanel, F as EmptyState, i as EntityIdModal, Pt as GlassCard, Wt as GradientText, Ht as IllustratedEmptyState, Ut as Illustration, Re as Input, ze as Label, Qt as ModalShell, Bt as ModernLanding, Ke as NativeSelect, qt as NativeWelcome, Gt as NextSteps, Yt as OfflineBanner, o as OptionalFields, Zt as PWAUpdateToast, Nt as PageContainer, Kt as PagePurpose, l as PageTabs, M as Pagination, Be as Popover, Ve as PopoverAnchor, He as PopoverContent, Ue as PopoverTrigger, Xt 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, P as ResponsiveStack, j as ResponsiveTable, We as ScrollArea, Ge as ScrollBar, qe as Select, Je as SelectContent, Ye as SelectGroup, Xe as SelectItem, Ze as SelectLabel, Qe as SelectScrollDownButton, $e as SelectScrollUpButton, et as SelectSeparator, tt as SelectTrigger, nt as SelectValue, rt as Separator, it as Sheet, at as SheetClose, ot as SheetContent, st as SheetDescription, ct as SheetFooter, lt as SheetHeader, ut as SheetTitle, dt as SheetTrigger, Lt as ShowMore, c as ShowTechnicalDetails, ft as Skeleton, mt as Spinner, N as Stepper, ht as Switch, gt as Table, _t as TableBody, vt as TableCaption, yt as TableCell, bt as TableFooter, xt as TableHead, St as TableHeader, Ct as TableRow, wt as Tabs, Tt as TabsContent, Et as TabsList, Dt as TabsTrigger, Ot as Textarea, pt as Toaster, kt as Tooltip, At as TooltipContent, jt as TooltipProvider, Mt as TooltipTrigger, J as badgeVariants, X as buttonVariants, Ft as glassCardVariants, u as matchActiveTab, d as splitTabs, a as useEntityIdModal, m as useHeadingDocumentTitle, s as useRememberedOpen };
43
+ import { IconTile as Lt } from "./ui/icon-tile.js";
44
+ import { ShowMore as Rt } from "./ui/show-more.js";
45
+ import { CTAOverflowMenu as zt } from "./ui/cta-overflow-menu.js";
46
+ import { BrandedSplash as Bt } from "./ui/branded-splash.js";
47
+ import { ModernLanding as Vt } from "./ui/modern-landing.js";
48
+ import { AuroraBackground as Ht } from "./ui/aurora-background.js";
49
+ import { IllustratedEmptyState as Ut, Illustration as Wt } from "./ui/illustration.js";
50
+ import { GradientText as Gt } from "./ui/gradient-text.js";
51
+ import { NextSteps as Kt, PagePurpose as qt } from "./ui/guidance.js";
52
+ import { NativeWelcome as Jt } from "./ui/native-welcome.js";
53
+ import { ActionSheet as Yt } from "./ui/action-sheet.js";
54
+ import { OfflineBanner as Xt } from "./ui/offline-banner.js";
55
+ import { PullToRefresh as Zt } from "./ui/pull-to-refresh.js";
56
+ import { PWAUpdateToast as Qt } from "./ui/pwa-update-toast.js";
57
+ import { ModalShell as $t } from "./ui/modal-shell.js";
58
+ export { f as AccessGate, p as AccessNeededChip, e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, Yt as ActionSheet, I as AlertDialog, L as AlertDialogAction, R as AlertDialogCancel, z as AlertDialogContent, B as AlertDialogDescription, V as AlertDialogFooter, H as AlertDialogHeader, U as AlertDialogOverlay, W as AlertDialogPortal, G as AlertDialogTitle, K as AlertDialogTrigger, Ht as AuroraBackground, q 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, Bt as BrandedSplash, Y as Button, zt as CTAOverflowMenu, Z as Card, Q as CardContent, $ as CardDescription, ee as CardFooter, te as CardHeader, ne as CardTitle, re as Checkbox, ie as Command, ae as CommandDialog, oe as CommandEmpty, se as CommandGroup, ce as CommandInput, le as CommandItem, ue as CommandList, de as CommandSeparator, fe as CommandShortcut, pe as Dialog, me as DialogClose, he as DialogContent, ge as DialogDescription, _e as DialogFooter, ve as DialogHeader, ye as DialogOverlay, be as DialogPortal, xe as DialogTitle, Se as DialogTrigger, Ce as DropdownMenu, we as DropdownMenuCheckboxItem, Te as DropdownMenuContent, Ee as DropdownMenuGroup, De as DropdownMenuItem, Oe as DropdownMenuLabel, ke as DropdownMenuPortal, Ae as DropdownMenuRadioGroup, je as DropdownMenuRadioItem, Me as DropdownMenuSeparator, Ne as DropdownMenuShortcut, Pe as DropdownMenuSub, Fe as DropdownMenuSubContent, Ie as DropdownMenuSubTrigger, Le as DropdownMenuTrigger, It as EmphasisPanel, F as EmptyState, i as EntityIdModal, Pt as GlassCard, Gt as GradientText, Lt as IconTile, Ut as IllustratedEmptyState, Wt as Illustration, Re as Input, ze as Label, $t as ModalShell, Vt as ModernLanding, Ke as NativeSelect, Jt as NativeWelcome, Kt as NextSteps, Xt as OfflineBanner, o as OptionalFields, Qt as PWAUpdateToast, Nt as PageContainer, qt as PagePurpose, l as PageTabs, M as Pagination, Be as Popover, Ve as PopoverAnchor, He as PopoverContent, Ue as PopoverTrigger, Zt 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, P as ResponsiveStack, j as ResponsiveTable, We as ScrollArea, Ge as ScrollBar, qe as Select, Je as SelectContent, Ye as SelectGroup, Xe as SelectItem, Ze as SelectLabel, Qe as SelectScrollDownButton, $e as SelectScrollUpButton, et as SelectSeparator, tt as SelectTrigger, nt as SelectValue, rt as Separator, it as Sheet, at as SheetClose, ot as SheetContent, st as SheetDescription, ct as SheetFooter, lt as SheetHeader, ut as SheetTitle, dt as SheetTrigger, Rt as ShowMore, c as ShowTechnicalDetails, ft as Skeleton, mt as Spinner, N as Stepper, ht as Switch, gt as Table, _t as TableBody, vt as TableCaption, yt as TableCell, bt as TableFooter, xt as TableHead, St as TableHeader, Ct as TableRow, wt as Tabs, Tt as TabsContent, Et as TabsList, Dt as TabsTrigger, Ot as Textarea, pt as Toaster, kt as Tooltip, At as TooltipContent, jt as TooltipProvider, Mt as TooltipTrigger, J as badgeVariants, X as buttonVariants, Ft as glassCardVariants, u as matchActiveTab, d as splitTabs, a as useEntityIdModal, m as useHeadingDocumentTitle, s as useRememberedOpen };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.1116.2",
3
+ "version": "2026.1116.4",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "repository": {
6
6
  "type": "git",
@@ -370,6 +370,7 @@
370
370
  "verify:shims": "node scripts/verify-shim-initialization.mjs",
371
371
  "test:handsfree-browser": "node scripts/handsfree-browser-run.mjs",
372
372
  "test:rtl-browser": "node scripts/rtl-logical-browser-run.mjs",
373
+ "test:depth-browser": "node scripts/depth-layer-browser-run.mjs",
373
374
  "test": "bun test",
374
375
  "sanity": "boff sanity",
375
376
  "switch:status": "boff deps-mode status",