@burdenoff/fe-libs 2026.1116.1 → 2026.1116.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chrome/Tabs.js +4 -0
- package/dist/shared/assistant/history/useHistoryRowControls.d.ts +16 -0
- package/dist/shared/assistant/history/useHistoryRowControls.js +38 -14
- package/dist/shared/assistant/i18nManifest.d.ts +9 -0
- package/dist/shared/assistant/i18nManifest.js +9 -0
- package/dist/shared/assistant/index.d.ts +2 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts +16 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.js +247 -223
- package/dist/shared/assistant/ui/AssistantChatArea.js +1355 -1347
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts +6 -0
- package/dist/shared/assistant/ui/AssistantOverlay.js +4 -2
- package/dist/shared/assistant/ui/AssistantPageHost.d.ts +14 -1
- package/dist/shared/assistant/ui/AssistantPageHost.js +32 -19
- package/dist/shared/assistant/ui/AssistantRenameConversationDialog.d.ts +33 -0
- package/dist/shared/assistant/ui/AssistantRenameConversationDialog.js +70 -0
- package/dist/shared/assistant/ui/assistantPageBar.d.ts +33 -0
- package/dist/shared/assistant/ui/assistantPageBar.js +53 -0
- package/dist/shared/assistant/ui/assistantPageLayout.d.ts +20 -0
- package/dist/shared/assistant/ui/assistantPageLayout.js +10 -2
- package/dist/shared/assistant/ui/assistantPageStart.d.ts +17 -0
- package/dist/shared/assistant/ui/assistantPageStart.js +7 -4
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.d.ts +30 -0
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.js +174 -53
- package/dist/shared/assistant/ui/compact/AssistantPageBar.d.ts +19 -0
- package/dist/shared/assistant/ui/compact/AssistantPageBar.js +24 -19
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts +2 -0
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +347 -340
- package/dist/shared/assistant/ui/composer/AssistantDictation.d.ts +5 -0
- package/dist/shared/assistant/ui/composer/AssistantDictation.js +41 -40
- package/dist/shared/assistant/ui/composer/pageBoxClass.d.ts +28 -1
- package/dist/shared/assistant/ui/composer/pageBoxClass.js +17 -1
- package/dist/shared/assistant/ui/conversationDeleteDialog.d.ts +14 -4
- package/dist/shared/assistant/ui/conversationDeleteDialog.js +7 -6
- package/dist/shared/assistant/ui/voice/AssistantVoiceSessionButton.js +1 -1
- package/dist/shared/assistant/ui/voice/LiveWaveform.js +1 -1
- package/dist/shared-assistant.js +256 -254
- package/dist/ui/aurora-background.js +1 -0
- package/dist/ui/badge.d.ts +5 -0
- package/dist/ui/badge.js +2 -0
- package/dist/ui/card.d.ts +6 -0
- package/dist/ui/card.js +8 -0
- package/dist/ui/emphasis-panel.js +1 -0
- package/dist/ui/empty-state.js +4 -0
- package/dist/ui/glass-card.d.ts +9 -0
- package/dist/ui/glass-card.js +5 -0
- package/dist/ui/icon-tile.d.ts +19 -0
- package/dist/ui/icon-tile.js +21 -0
- package/dist/ui/illustration.d.ts +4 -0
- package/dist/ui/illustration.js +4 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/input.js +1 -0
- package/dist/ui/page-tabs.js +2 -0
- package/dist/ui/responsive-table.js +3 -0
- package/dist/ui/select.js +2 -0
- package/dist/ui/table.js +9 -0
- package/dist/ui/textarea.js +1 -0
- package/dist/ui.js +16 -15
- package/package.json +2 -1
- package/src/shared/tokens/depth.css +760 -0
- package/src/shared/tokens/tokens.css +6 -0
|
@@ -9,6 +9,7 @@ var r = {
|
|
|
9
9
|
function i({ intensity: i = "normal", image: a, className: o, ...s }) {
|
|
10
10
|
return /* @__PURE__ */ n("div", {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
|
+
"data-slot": "aurora-background",
|
|
12
13
|
className: e("pointer-events-none absolute inset-0 -z-10 overflow-hidden", o),
|
|
13
14
|
...s,
|
|
14
15
|
children: [a && /* @__PURE__ */ t("img", {
|
package/dist/ui/badge.d.ts
CHANGED
|
@@ -5,5 +5,10 @@ declare const badgeVariants: (props?: ({
|
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* `data-slot="badge"` and `data-badge-variant` are hooks for opt-in layers (BOFF-14994). Not
|
|
10
|
+
* `data-variant`: the UI agent tools treat anything inside `[data-variant="destructive"]` as a
|
|
11
|
+
* destructive Button that needs the person's confirmation (agent-tools/ui/uiTools.ts).
|
|
12
|
+
*/
|
|
8
13
|
declare function Badge({ className, variant, ...props }: BadgeProps): import('react').JSX.Element;
|
|
9
14
|
export { Badge, badgeVariants };
|
package/dist/ui/badge.js
CHANGED
|
@@ -16,6 +16,8 @@ var r = n("inline-flex items-center gap-1 rounded-full border px-2.5 py-0.5 text
|
|
|
16
16
|
});
|
|
17
17
|
function i({ className: n, variant: i, ...a }) {
|
|
18
18
|
return /* @__PURE__ */ t("div", {
|
|
19
|
+
"data-slot": "badge",
|
|
20
|
+
"data-badge-variant": i ?? "default",
|
|
19
21
|
className: e(r({ variant: i }), n),
|
|
20
22
|
...a
|
|
21
23
|
});
|
package/dist/ui/card.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Card and its parts carry the shadcn v4 `data-slot` names (`card`, `card-header`, …).
|
|
4
|
+
* A card the user can click (an `onClick`, or the role of a button or link) also carries
|
|
5
|
+
* `data-interactive`, so an opt-in layer such as the FluidGrids depth layer
|
|
6
|
+
* (shared/tokens/depth.css, BOFF-14994) can tell it apart. The hooks change no style.
|
|
7
|
+
*/
|
|
2
8
|
declare function Card({ ref, className, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
3
9
|
ref?: React.Ref<HTMLDivElement>;
|
|
4
10
|
}): import('react').JSX.Element;
|
package/dist/ui/card.js
CHANGED
|
@@ -2,8 +2,11 @@ import { cn as e } from "../shared-utils.js";
|
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
// src/ui/card.tsx
|
|
4
4
|
function n({ ref: n, className: r, ...i }) {
|
|
5
|
+
let a = i.onClick !== void 0 || i.role === "button" || i.role === "link";
|
|
5
6
|
return /* @__PURE__ */ t("div", {
|
|
6
7
|
ref: n,
|
|
8
|
+
"data-slot": "card",
|
|
9
|
+
"data-interactive": a ? "" : void 0,
|
|
7
10
|
className: e("rounded-card border border-border-subtle bg-bg-surface text-text-primary shadow-elevation-1 transition-all duration-200 ease-[var(--motion-easing-out)] hover:border-border-strong hover:shadow-elevation-2", r),
|
|
8
11
|
...i
|
|
9
12
|
});
|
|
@@ -11,6 +14,7 @@ function n({ ref: n, className: r, ...i }) {
|
|
|
11
14
|
function r({ ref: n, className: r, ...i }) {
|
|
12
15
|
return /* @__PURE__ */ t("div", {
|
|
13
16
|
ref: n,
|
|
17
|
+
"data-slot": "card-header",
|
|
14
18
|
className: e("flex flex-col space-y-1.5 p-6", r),
|
|
15
19
|
...i
|
|
16
20
|
});
|
|
@@ -18,6 +22,7 @@ function r({ ref: n, className: r, ...i }) {
|
|
|
18
22
|
function i({ ref: n, className: r, ...i }) {
|
|
19
23
|
return /* @__PURE__ */ t("h3", {
|
|
20
24
|
ref: n,
|
|
25
|
+
"data-slot": "card-title",
|
|
21
26
|
className: e("text-lg font-semibold leading-tight tracking-tight text-text-primary", r),
|
|
22
27
|
...i
|
|
23
28
|
});
|
|
@@ -25,6 +30,7 @@ function i({ ref: n, className: r, ...i }) {
|
|
|
25
30
|
function a({ ref: n, className: r, ...i }) {
|
|
26
31
|
return /* @__PURE__ */ t("p", {
|
|
27
32
|
ref: n,
|
|
33
|
+
"data-slot": "card-description",
|
|
28
34
|
className: e("text-sm text-text-secondary", r),
|
|
29
35
|
...i
|
|
30
36
|
});
|
|
@@ -32,6 +38,7 @@ function a({ ref: n, className: r, ...i }) {
|
|
|
32
38
|
function o({ ref: n, className: r, ...i }) {
|
|
33
39
|
return /* @__PURE__ */ t("div", {
|
|
34
40
|
ref: n,
|
|
41
|
+
"data-slot": "card-content",
|
|
35
42
|
className: e("p-6 pt-0", r),
|
|
36
43
|
...i
|
|
37
44
|
});
|
|
@@ -39,6 +46,7 @@ function o({ ref: n, className: r, ...i }) {
|
|
|
39
46
|
function s({ ref: n, className: r, ...i }) {
|
|
40
47
|
return /* @__PURE__ */ t("div", {
|
|
41
48
|
ref: n,
|
|
49
|
+
"data-slot": "card-footer",
|
|
42
50
|
className: e("flex items-center p-6 pt-0", r),
|
|
43
51
|
...i
|
|
44
52
|
});
|
|
@@ -4,6 +4,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
4
4
|
function n({ ref: n, className: r, children: i, ...a }) {
|
|
5
5
|
return /* @__PURE__ */ t("div", {
|
|
6
6
|
ref: n,
|
|
7
|
+
"data-slot": "emphasis-panel",
|
|
7
8
|
className: e("rounded-card border border-border-seam bg-accent-wash p-6 text-text-primary", r),
|
|
8
9
|
...a,
|
|
9
10
|
children: i
|
package/dist/ui/empty-state.js
CHANGED
|
@@ -12,18 +12,22 @@ function i({ icon: i = /* @__PURE__ */ n(t, {
|
|
|
12
12
|
className: e("flex flex-col items-center justify-center text-center", l ? "py-6 px-4" : "py-12 px-4", u),
|
|
13
13
|
children: [
|
|
14
14
|
i === null ? null : /* @__PURE__ */ n("div", {
|
|
15
|
+
"data-slot": "empty-state-icon",
|
|
15
16
|
className: e("flex items-center justify-center rounded-full bg-[var(--color-accent-soft)]", l ? "size-12 mb-3" : "size-14 mb-4"),
|
|
16
17
|
children: i
|
|
17
18
|
}),
|
|
18
19
|
/* @__PURE__ */ n("h3", {
|
|
20
|
+
"data-slot": "empty-state-title",
|
|
19
21
|
className: "text-base font-semibold text-text-primary mb-1",
|
|
20
22
|
children: a
|
|
21
23
|
}),
|
|
22
24
|
o ? /* @__PURE__ */ n("p", {
|
|
25
|
+
"data-slot": "empty-state-description",
|
|
23
26
|
className: "text-sm text-text-secondary max-w-md mb-4",
|
|
24
27
|
children: o
|
|
25
28
|
}) : null,
|
|
26
29
|
s || c ? /* @__PURE__ */ r("div", {
|
|
30
|
+
"data-slot": "empty-state-actions",
|
|
27
31
|
className: "mt-1 flex flex-col-reverse gap-2 sm:flex-row sm:items-center sm:justify-center",
|
|
28
32
|
children: [c, s]
|
|
29
33
|
}) : null
|
package/dist/ui/glass-card.d.ts
CHANGED
|
@@ -9,6 +9,15 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
9
9
|
* intensifies the shadow/border (a calm highlight) — it never translates,
|
|
10
10
|
* scales, or removes the resting shadow. Reduced-motion / high-contrast
|
|
11
11
|
* collapse the glass + glow via the underlying tokens.
|
|
12
|
+
*
|
|
13
|
+
* One opt-in exception (BOFF-14994): under the FluidGrids depth layer
|
|
14
|
+
* (`<html data-depth="rich">`, shared/tokens/depth.css) a clickable card
|
|
15
|
+
* (`data-interactive`, or the role of a button or link) lifts 2 px under the
|
|
16
|
+
* pointer. Reduced motion (the OS setting or `data-reduce-motion`) keeps it still,
|
|
17
|
+
* and every other product renders exactly as described above.
|
|
18
|
+
*
|
|
19
|
+
* Hooks for that layer, which change no style on their own: `data-slot="glass-card"`,
|
|
20
|
+
* `data-treatment`, `data-glow` and `data-interactive`.
|
|
12
21
|
*/
|
|
13
22
|
declare const glassCardVariants: (props?: ({
|
|
14
23
|
treatment?: "metric" | "glass" | "plain" | "insight" | null | undefined;
|
package/dist/ui/glass-card.js
CHANGED
|
@@ -12,8 +12,13 @@ var r = n("relative rounded-card text-text-primary transition-[box-shadow,border
|
|
|
12
12
|
defaultVariants: { treatment: "plain" }
|
|
13
13
|
});
|
|
14
14
|
function i({ ref: n, className: i, treatment: a = "plain", glow: o = !1, children: s, ...c }) {
|
|
15
|
+
let l = c.onClick !== void 0 || c.role === "button" || c.role === "link";
|
|
15
16
|
return /* @__PURE__ */ t("div", {
|
|
16
17
|
ref: n,
|
|
18
|
+
"data-slot": "glass-card",
|
|
19
|
+
"data-treatment": a ?? void 0,
|
|
20
|
+
"data-glow": o ? "" : void 0,
|
|
21
|
+
"data-interactive": l ? "" : void 0,
|
|
17
22
|
className: e(r({ treatment: a }), o && "border-[color-mix(in_oklab,var(--color-action-primary-bg)_34%,transparent)] shadow-[var(--shadow-glow)]", i),
|
|
18
23
|
...c,
|
|
19
24
|
children: /* @__PURE__ */ t("div", {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* IconTile — a small rounded tile that holds one icon on the accent's soft tint: the mark of a
|
|
5
|
+
* workspace, a stat or a feature. Pass the icon as the only child.
|
|
6
|
+
*
|
|
7
|
+
* `data-slot="icon-tile"` is the hook an opt-in layer styles: the FluidGrids depth layer
|
|
8
|
+
* (shared/tokens/depth.css, BOFF-14994) paints the tile with the accent glow and the icon in
|
|
9
|
+
* `--boff-on-glow`. On its own the hook changes nothing, so a hand-drawn tile in module code
|
|
10
|
+
* can move to IconTile without a visual change.
|
|
11
|
+
*/
|
|
12
|
+
declare const iconTileVariants: (props?: ({
|
|
13
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
14
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
15
|
+
export interface IconTileProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof iconTileVariants> {
|
|
16
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
17
|
+
}
|
|
18
|
+
declare function IconTile({ ref, className, size, ...props }: IconTileProps): import('react').JSX.Element;
|
|
19
|
+
export { IconTile };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { cn as e } from "../shared-utils.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { cva as n } from "class-variance-authority";
|
|
4
|
+
// src/ui/icon-tile.tsx
|
|
5
|
+
var r = n("inline-flex shrink-0 items-center justify-center rounded-lg bg-[var(--color-accent-soft)] text-[var(--color-accent-primary)]", {
|
|
6
|
+
variants: { size: {
|
|
7
|
+
sm: "size-8 [&>svg]:size-4",
|
|
8
|
+
md: "size-10 [&>svg]:size-5",
|
|
9
|
+
lg: "size-12 [&>svg]:size-6"
|
|
10
|
+
} },
|
|
11
|
+
defaultVariants: { size: "md" }
|
|
12
|
+
});
|
|
13
|
+
function i({ ref: n, className: i, size: a, ...o }) {
|
|
14
|
+
return /* @__PURE__ */ t("span", {
|
|
15
|
+
ref: n,
|
|
16
|
+
"data-slot": "icon-tile",
|
|
17
|
+
className: e(r({ size: a }), i),
|
|
18
|
+
...o
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export { i as IconTile };
|
|
@@ -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;
|
package/dist/ui/illustration.js
CHANGED
|
@@ -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,
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/ui/page-tabs.js
CHANGED
|
@@ -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
|
});
|
package/dist/ui/textarea.js
CHANGED
|
@@ -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 {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
|
|
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.
|
|
3
|
+
"version": "2026.1116.3",
|
|
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",
|