@burdenoff/fe-libs 2026.1120.1 → 2026.1120.2

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.
@@ -0,0 +1,210 @@
1
+ import { cn as e } from "../lib/utils.js";
2
+ import { useEmptyStateArt as t } from "./empty-state-art-loader.js";
3
+ import { cloneElement as n, createElement as r, isValidElement as i, useId as a } from "react";
4
+ import { CircleAlert as o, CircleCheck as s, FileQuestionMark as c, FunnelX as l, Inbox as u, Lock as d, SearchX as f, WifiOff as p } from "lucide-react";
5
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
6
+ // src/ui/empty-state-glass.tsx
7
+ var _ = {
8
+ "no-results": f,
9
+ filtered: l,
10
+ error: o,
11
+ offline: p,
12
+ "no-access": d,
13
+ "all-done": s,
14
+ "not-found": c
15
+ }, v = {
16
+ page: {
17
+ root: "flex-col justify-center text-center pt-7 pb-9 px-4",
18
+ art: "mb-4.5",
19
+ title: "text-xl leading-tight tracking-tight",
20
+ description: "mt-1.5 max-w-[46ch] text-sm leading-normal",
21
+ actions: "mt-4.5"
22
+ },
23
+ panel: {
24
+ root: "flex-col justify-center text-center pt-4.5 pb-5 px-3.5",
25
+ art: "mb-3",
26
+ title: "text-base leading-snug",
27
+ description: "mt-1 max-w-[40ch] text-[0.8125rem] leading-snug",
28
+ actions: "mt-3.5"
29
+ },
30
+ table: {
31
+ root: "flex-col justify-center text-center py-4.5 px-3",
32
+ art: "mb-2.5",
33
+ title: "text-sm",
34
+ description: "mt-0.5 max-w-[44ch] text-[0.8125rem]",
35
+ actions: "mt-2.5"
36
+ },
37
+ inline: {
38
+ root: "flex-row text-start gap-3 py-2.5 px-1.5",
39
+ art: "",
40
+ title: "text-[0.8125rem]",
41
+ description: "text-xs",
42
+ actions: "mt-1.5"
43
+ },
44
+ menu: {
45
+ root: "flex-row text-start gap-2.5 py-2.5 px-2",
46
+ art: "",
47
+ title: "text-[0.8125rem]",
48
+ description: "text-xs",
49
+ actions: "mt-1.5"
50
+ }
51
+ }, y = /* @__PURE__ */ new Set([
52
+ "page",
53
+ "panel",
54
+ "table"
55
+ ]), b = (e) => Object.hasOwn(v, e), x = (e) => Object.hasOwn(_, e);
56
+ function S({ slot: t, icon: n, title: r, description: i, action: a, secondaryAction: o, kind: s, illustration: c, size: l, className: u }) {
57
+ let d = x(s) ? s : "first-use", f = b(l) ? l : "page", p = v[f], _ = y.has(f), S = c === "none" || c === "auto" && d === "first-use" && (n === null || n === !1) ? null : c, C = /* @__PURE__ */ g(m, { children: [
58
+ /* @__PURE__ */ h("h3", {
59
+ "data-slot": "empty-state-title",
60
+ className: e("font-semibold text-balance text-text-primary", p.title),
61
+ children: r
62
+ }),
63
+ i ? /* @__PURE__ */ h("p", {
64
+ "data-slot": "empty-state-description",
65
+ className: e("text-pretty text-text-secondary", p.description),
66
+ children: i
67
+ }) : null,
68
+ a || o ? /* @__PURE__ */ g("div", {
69
+ "data-slot": "empty-state-actions",
70
+ className: e(_ ? "flex flex-col-reverse gap-2 sm:flex-row sm:items-center sm:justify-center" : "flex flex-wrap items-center gap-2", p.actions),
71
+ children: [o, a]
72
+ }) : null
73
+ ] });
74
+ return /* @__PURE__ */ g("div", {
75
+ "data-slot": t,
76
+ "data-empty-state": "glass",
77
+ "data-size": f,
78
+ "data-kind": d,
79
+ className: e("flex min-w-0 items-center", p.root, u),
80
+ children: [S === null ? null : /* @__PURE__ */ h(T, {
81
+ icon: n,
82
+ kind: d,
83
+ illustration: S,
84
+ illustrated: _,
85
+ className: p.art
86
+ }), _ ? C : /* @__PURE__ */ h("div", {
87
+ "data-slot": "empty-state-text",
88
+ className: "flex min-w-0 flex-col",
89
+ children: C
90
+ })]
91
+ });
92
+ }
93
+ function C(e) {
94
+ return e == null || typeof e == "boolean" ? null : e;
95
+ }
96
+ function w({ icon: e, kind: t, illustration: n, illustrated: i }, a, o) {
97
+ let s = C(e), c = t === "first-use" ? null : r(_[t]), l = s ?? c;
98
+ if (!i) return {
99
+ state: "icon",
100
+ drawing: null,
101
+ glyph: l ?? r(u)
102
+ };
103
+ if (!a) return {
104
+ state: "loading",
105
+ drawing: null,
106
+ glyph: l ?? r(u)
107
+ };
108
+ let d = a.resolveEmptyStateArt({
109
+ kind: t,
110
+ illustration: n,
111
+ icon: s
112
+ });
113
+ if (a.isEmptyStateArtDrawn(d)) return {
114
+ state: "art",
115
+ art: d,
116
+ drawing: /* @__PURE__ */ h(a.EmptyStateDrawing, {
117
+ art: d,
118
+ uid: o
119
+ }),
120
+ glyph: null
121
+ };
122
+ let f = a.emptyStateSubjectGlyph(d);
123
+ return {
124
+ state: "icon",
125
+ art: d,
126
+ drawing: null,
127
+ glyph: l ?? r(f || u)
128
+ };
129
+ }
130
+ function T({ className: n, ...r }) {
131
+ let i = `es${a().replace(/[^\w-]/g, "")}`, o = w(r, t(r.illustrated), i);
132
+ return /* @__PURE__ */ g("div", {
133
+ "data-slot": "empty-state-art",
134
+ "data-state": o.state,
135
+ "data-art": o.art,
136
+ "aria-hidden": "true",
137
+ className: e("es-art", n),
138
+ children: [
139
+ /* @__PURE__ */ h("span", { className: "es-orb es-o1" }),
140
+ /* @__PURE__ */ h("span", { className: "es-orb es-o2" }),
141
+ /* @__PURE__ */ h("span", { className: "es-orb es-o3" }),
142
+ /* @__PURE__ */ h("span", { className: "es-tile" }),
143
+ o.drawing ?? /* @__PURE__ */ h(D, {
144
+ glyph: o.glyph,
145
+ uid: i
146
+ })
147
+ ]
148
+ });
149
+ }
150
+ function E(e) {
151
+ return {
152
+ className: "es-gl-svg",
153
+ style: void 0,
154
+ focusable: "false",
155
+ "aria-hidden": !0,
156
+ ...e === void 0 ? {} : { stroke: e }
157
+ };
158
+ }
159
+ function D({ glyph: e, uid: t }) {
160
+ let r = `url(#${t}-g)`;
161
+ return /* @__PURE__ */ g("span", {
162
+ className: "es-gi",
163
+ children: [/* @__PURE__ */ h("svg", {
164
+ className: "es-gi-defs",
165
+ width: "0",
166
+ height: "0",
167
+ focusable: "false",
168
+ "aria-hidden": "true",
169
+ children: /* @__PURE__ */ h("defs", { children: /* @__PURE__ */ g("linearGradient", {
170
+ id: `${t}-g`,
171
+ gradientUnits: "userSpaceOnUse",
172
+ x1: "2",
173
+ y1: "0",
174
+ x2: "22",
175
+ y2: "24",
176
+ children: [
177
+ /* @__PURE__ */ h("stop", {
178
+ className: "es-q1",
179
+ offset: "0"
180
+ }),
181
+ /* @__PURE__ */ h("stop", {
182
+ className: "es-q2",
183
+ offset: "0.52"
184
+ }),
185
+ /* @__PURE__ */ h("stop", {
186
+ className: "es-q3",
187
+ offset: "1"
188
+ })
189
+ ]
190
+ }) })
191
+ }), i(e) && typeof e.type != "string" ? /* @__PURE__ */ g(m, { children: [
192
+ /* @__PURE__ */ h("span", {
193
+ className: "es-gl es-gl-body",
194
+ children: n(e, E(r))
195
+ }),
196
+ /* @__PURE__ */ h("span", {
197
+ className: "es-gl es-gl-main",
198
+ children: n(e, E(r))
199
+ }),
200
+ /* @__PURE__ */ h("span", {
201
+ className: "es-gl es-gl-spec",
202
+ children: n(e, E())
203
+ })
204
+ ] }) : /* @__PURE__ */ h("span", {
205
+ className: "es-gl es-gl-main",
206
+ children: e
207
+ })]
208
+ });
209
+ }
210
+ export { _ as EMPTY_STATE_KIND_GLYPHS, S as GlassEmptyState };
@@ -0,0 +1,10 @@
1
+ import { EmptyStateKind, EmptyStateSubject } from './empty-state';
2
+ export interface LegacyGlassArt {
3
+ kind: EmptyStateKind;
4
+ illustration: EmptyStateSubject | 'auto';
5
+ }
6
+ /**
7
+ * The glass art for an old picture name. A product prefix is dropped (`vc-empty-agents` is
8
+ * `empty-agents`); a name with no match is the box.
9
+ */
10
+ export declare function glassArtForLegacyName(name: string): LegacyGlassArt;
@@ -0,0 +1,29 @@
1
+ // src/ui/empty-state-legacy.ts
2
+ var e = (e) => ({
3
+ kind: "first-use",
4
+ illustration: e
5
+ }), t = (e) => ({
6
+ kind: e,
7
+ illustration: "auto"
8
+ }), n = /* @__PURE__ */ new Map([
9
+ ["empty-data", e("box")],
10
+ ["empty-generic", e("box")],
11
+ ["empty-inbox", e("box")],
12
+ ["empty-people", e("people")],
13
+ ["empty-files", e("files")],
14
+ ["empty-notifications", e("notifications")],
15
+ ["empty-agents", e("assistant")],
16
+ ["empty-vibes", e("assistant")],
17
+ ["empty-sessions", e("servers")],
18
+ ["empty-calendar", e("calendar")],
19
+ ["empty-tasks", e("tasks")],
20
+ ["empty-analytics", e("charts")],
21
+ ["empty-media", e("media")],
22
+ ["onboarding", e("goals")],
23
+ ["empty-search", t("no-results")],
24
+ ["empty-success", t("all-done")]
25
+ ]);
26
+ function r(t) {
27
+ return n.get(t) ?? n.get(t.replace(/^[a-z0-9]+-(?=empty-)/, "")) ?? e("box");
28
+ }
29
+ export { r as glassArtForLegacyName };
@@ -0,0 +1,31 @@
1
+ import { ReactNode } from 'react';
2
+ import { EmptyStateKind, EmptyStateSubject } from './empty-state';
3
+ /** A kind with its own illustration: every kind but `first-use`. */
4
+ export type EmptyStateSituation = Exclude<EmptyStateKind, 'first-use'>;
5
+ /** Every illustration there is a name for: the 24 subjects and the 7 situations. */
6
+ export type EmptyStateArtKey = EmptyStateSubject | EmptyStateSituation;
7
+ /** The lucide icons that mean each subject (the prototype's map, plus lucide's current names). */
8
+ export declare const SUBJECT_ICONS: Readonly<Record<EmptyStateSubject, readonly string[]>>;
9
+ /**
10
+ * Icons that already say a situation pick that situation's art, ahead of any subject. Not
11
+ * found has none: its icons (FileQuestion, SearchX, Ghost, Unlink) mean other things too, so
12
+ * only `kind="not-found"` picks it.
13
+ */
14
+ export declare const SITUATION_ICONS: Readonly<Partial<Record<EmptyStateSituation, readonly string[]>>>;
15
+ /** The art an icon name picks (`Users`, `LucideUsers` and `UsersIcon` alike), if any. */
16
+ export declare function artForIconName(name: string): EmptyStateArtKey | undefined;
17
+ /** The component name of an icon element: lucide's own, or a memo'd component's. */
18
+ export declare function iconNameOf(icon: ReactNode): string | null;
19
+ export interface EmptyStateArtRequest {
20
+ kind: EmptyStateKind;
21
+ illustration: EmptyStateSubject | 'auto';
22
+ /** The icon the call site passed (`undefined` when it passed none). */
23
+ icon: ReactNode;
24
+ }
25
+ /**
26
+ * The picture for an empty state that has one (`illustration="none"`, and `auto` with
27
+ * `icon={null}` on a first-use state, have none and never get here): a kind other than
28
+ * `first-use` picks its situation; an explicit subject is used as is; an icon picks by its
29
+ * name; an icon with no match keeps its own glyph in glass (`glass`); no icon is the box.
30
+ */
31
+ export declare function resolveEmptyStateArt({ kind, illustration, icon, }: EmptyStateArtRequest): EmptyStateArtKey | 'glass';
@@ -0,0 +1,351 @@
1
+ import { isValidElement as e } from "react";
2
+ // src/ui/empty-state-map.ts
3
+ var t = {
4
+ box: [
5
+ "Inbox",
6
+ "Package",
7
+ "Boxes",
8
+ "Box",
9
+ "Archive",
10
+ "PackageSearch",
11
+ "PackageOpen",
12
+ "ShoppingBag",
13
+ "ShoppingCart",
14
+ "ShoppingBasket",
15
+ "Gift",
16
+ "Tag",
17
+ "Ticket",
18
+ "Shirt",
19
+ "Hammer",
20
+ "Wrench",
21
+ "Shapes"
22
+ ],
23
+ people: [
24
+ "Users",
25
+ "UsersRound",
26
+ "Users2",
27
+ "UserPlus",
28
+ "UserRoundPlus",
29
+ "UserCircle",
30
+ "CircleUser",
31
+ "User",
32
+ "UserRound",
33
+ "Contact",
34
+ "UserX",
35
+ "Handshake",
36
+ "HeartHandshake"
37
+ ],
38
+ documents: [
39
+ "FileText",
40
+ "ScrollText",
41
+ "FileSignature",
42
+ "FilePenLine",
43
+ "FileWarning",
44
+ "FileExclamationPoint",
45
+ "FileQuestion",
46
+ "FileQuestionMark",
47
+ "NotebookText",
48
+ "NotebookPen",
49
+ "Newspaper",
50
+ "Scale",
51
+ "File",
52
+ "Files",
53
+ "ClipboardType"
54
+ ],
55
+ charts: [
56
+ "BarChart3",
57
+ "ChartColumn",
58
+ "BarChart",
59
+ "ChartNoAxesColumnIncreasing",
60
+ "ChartBar",
61
+ "PieChart",
62
+ "ChartPie",
63
+ "TrendingUp",
64
+ "TrendingDown",
65
+ "LineChart",
66
+ "ChartLine",
67
+ "Gauge",
68
+ "DollarSign",
69
+ "ChartNoAxesColumn"
70
+ ],
71
+ messages: [
72
+ "MessageSquare",
73
+ "MessagesSquare",
74
+ "MessageCircle",
75
+ "MessageSquareQuote",
76
+ "MessageSquarePlus",
77
+ "MessageSquareText",
78
+ "Mail",
79
+ "Hash",
80
+ "Megaphone"
81
+ ],
82
+ assistant: [
83
+ "Sparkles",
84
+ "Sparkle",
85
+ "Bot",
86
+ "BotMessageSquare",
87
+ "Wand2",
88
+ "WandSparkles",
89
+ "BrainCircuit",
90
+ "Brain",
91
+ "Zap"
92
+ ],
93
+ calendar: [
94
+ "CalendarClock",
95
+ "CalendarDays",
96
+ "Calendar",
97
+ "CalendarRange",
98
+ "CalendarCheck",
99
+ "CalendarCheck2",
100
+ "Clock",
101
+ "TimerOff",
102
+ "Timer",
103
+ "AlarmClock"
104
+ ],
105
+ tasks: [
106
+ "ClipboardList",
107
+ "ClipboardCheck",
108
+ "ListChecks",
109
+ "CheckSquare",
110
+ "SquareCheckBig",
111
+ "SquareCheck",
112
+ "List",
113
+ "ListTodo",
114
+ "GraduationCap"
115
+ ],
116
+ security: [
117
+ "Shield",
118
+ "ShieldCheck",
119
+ "KeyRound",
120
+ "Key",
121
+ "Fingerprint",
122
+ "FingerprintPattern",
123
+ "Vault"
124
+ ],
125
+ workflows: [
126
+ "GitBranch",
127
+ "Workflow",
128
+ "Network",
129
+ "Route",
130
+ "GitMerge",
131
+ "Share2",
132
+ "Rocket",
133
+ "ListTree",
134
+ "Split"
135
+ ],
136
+ connections: [
137
+ "Plug",
138
+ "PlugZap",
139
+ "Link2",
140
+ "Link",
141
+ "Webhook",
142
+ "Cable",
143
+ "Unplug",
144
+ "Radio",
145
+ "Antenna",
146
+ "Satellite",
147
+ "AppWindow"
148
+ ],
149
+ servers: [
150
+ "Server",
151
+ "Cpu",
152
+ "Terminal",
153
+ "HardDrive",
154
+ "Container",
155
+ "Cloud"
156
+ ],
157
+ "data-tables": [
158
+ "Database",
159
+ "Table",
160
+ "Table2",
161
+ "Sheet",
162
+ "Columns3",
163
+ "Rows3",
164
+ "Layers",
165
+ "LayoutGrid"
166
+ ],
167
+ variables: [
168
+ "Braces",
169
+ "Variable",
170
+ "Code",
171
+ "Code2",
172
+ "CodeXml",
173
+ "FileCode",
174
+ "FileCode2",
175
+ "FileCodeCorner",
176
+ "ToggleLeft",
177
+ "SlidersHorizontal",
178
+ "Settings"
179
+ ],
180
+ history: [
181
+ "History",
182
+ "RefreshCw",
183
+ "RotateCcw",
184
+ "GitCommit",
185
+ "GitCommitHorizontal",
186
+ "Activity",
187
+ "Repeat2"
188
+ ],
189
+ notifications: [
190
+ "BellRing",
191
+ "Bell",
192
+ "BellDot"
193
+ ],
194
+ money: [
195
+ "Wallet",
196
+ "Receipt",
197
+ "ReceiptText",
198
+ "CreditCard",
199
+ "Coins",
200
+ "Landmark",
201
+ "Banknote",
202
+ "PiggyBank",
203
+ "Briefcase"
204
+ ],
205
+ places: [
206
+ "Building2",
207
+ "Building",
208
+ "Factory",
209
+ "Store",
210
+ "Warehouse",
211
+ "Home",
212
+ "House",
213
+ "Hotel"
214
+ ],
215
+ maps: [
216
+ "MapPin",
217
+ "MapPinOff",
218
+ "Compass",
219
+ "Truck",
220
+ "Ship",
221
+ "Globe",
222
+ "Map",
223
+ "Navigation"
224
+ ],
225
+ plants: [
226
+ "Sprout",
227
+ "Leaf",
228
+ "Trees",
229
+ "TreePine",
230
+ "Salad",
231
+ "Tractor",
232
+ "Recycle",
233
+ "Rabbit",
234
+ "Flower2",
235
+ "Wheat",
236
+ "Carrot"
237
+ ],
238
+ goals: [
239
+ "Target",
240
+ "Trophy",
241
+ "Award",
242
+ "Star",
243
+ "Flame",
244
+ "Medal",
245
+ "Gamepad2",
246
+ "Dumbbell",
247
+ "Heart",
248
+ "HeartPulse",
249
+ "Plus"
250
+ ],
251
+ media: [
252
+ "Clapperboard",
253
+ "Film",
254
+ "Images",
255
+ "Image",
256
+ "FileImage",
257
+ "ListVideo",
258
+ "Captions",
259
+ "Play",
260
+ "AudioLines",
261
+ "Palette",
262
+ "Camera",
263
+ "Scissors",
264
+ "Eye",
265
+ "Music"
266
+ ],
267
+ files: [
268
+ "FolderOpen",
269
+ "Folder",
270
+ "FolderKanban",
271
+ "FolderPlus",
272
+ "Upload",
273
+ "Paperclip",
274
+ "Library",
275
+ "BookMarked"
276
+ ],
277
+ learning: [
278
+ "BookOpen",
279
+ "Book",
280
+ "BookHeart",
281
+ "FlaskConical",
282
+ "Beaker",
283
+ "Microscope",
284
+ "Lightbulb"
285
+ ]
286
+ }, n = {
287
+ "no-results": [
288
+ "Search",
289
+ "SearchX",
290
+ "FolderSearch",
291
+ "ScanSearch",
292
+ "Binoculars",
293
+ "TextSearch"
294
+ ],
295
+ filtered: [
296
+ "Filter",
297
+ "FilterX",
298
+ "Funnel",
299
+ "FunnelX",
300
+ "ListFilter"
301
+ ],
302
+ error: [
303
+ "AlertCircle",
304
+ "CircleAlert",
305
+ "AlertTriangle",
306
+ "TriangleAlert",
307
+ "XCircle",
308
+ "CircleX",
309
+ "X",
310
+ "Bug"
311
+ ],
312
+ offline: [
313
+ "CloudOff",
314
+ "WifiOff",
315
+ "ServerOff"
316
+ ],
317
+ "no-access": [
318
+ "ShieldAlert",
319
+ "ShieldX",
320
+ "Lock",
321
+ "LockKeyhole",
322
+ "Ban"
323
+ ],
324
+ "all-done": [
325
+ "CheckCircle2",
326
+ "CircleCheck",
327
+ "CheckCircle",
328
+ "CircleCheckBig",
329
+ "BadgeCheck",
330
+ "PartyPopper"
331
+ ]
332
+ }, r = (e) => Object.hasOwn(t, e), i = (e) => Object.hasOwn(n, e), a = new Map([...Object.keys(t).filter(r).flatMap((e) => t[e].map((t) => [t, e])), ...Object.keys(n).filter(i).flatMap((e) => (n[e] ?? []).map((t) => [t, e]))]);
333
+ function o(e) {
334
+ return a.get(e.replace(/^Lucide(?=[A-Z])/, "").replace(/(?<=.)Icon$/, ""));
335
+ }
336
+ function s(e) {
337
+ return (typeof e == "function" || typeof e == "object" && e) && "displayName" in e && typeof e.displayName == "string" ? e.displayName : null;
338
+ }
339
+ function c(t) {
340
+ if (!e(t)) return null;
341
+ let n = t.type;
342
+ return s(n) || (typeof n == "object" && n && "type" in n ? s(n.type) : null);
343
+ }
344
+ function l({ kind: e, illustration: t, icon: n }) {
345
+ if (e !== "first-use") return e;
346
+ if (t !== "auto") return t;
347
+ if (n == null || typeof n == "boolean") return "box";
348
+ let r = c(n);
349
+ return r !== null && o(r) || "glass";
350
+ }
351
+ export { n as SITUATION_ICONS, t as SUBJECT_ICONS, o as artForIconName, c as iconNameOf, l as resolveEmptyStateArt };
@@ -1,4 +1,19 @@
1
1
  import * as React from 'react';
2
+ /**
3
+ * What the empty state is saying (BOFF-15560). Under the glass opt-in anything but
4
+ * `first-use` picks that situation's illustration; without the opt-in it changes nothing.
5
+ */
6
+ export type EmptyStateKind = 'first-use' | 'no-results' | 'filtered' | 'error' | 'offline' | 'no-access' | 'all-done' | 'not-found';
7
+ /**
8
+ * What the empty state is about (BOFF-15560): the subject illustration under the glass
9
+ * opt-in. A subject that is not drawn yet shows the glass icon.
10
+ */
11
+ export type EmptyStateSubject = 'box' | 'people' | 'money' | 'files' | 'tasks' | 'calendar' | 'data-tables' | 'notifications' | 'goals' | 'connections' | 'security' | 'places' | 'workflows' | 'assistant' | 'documents' | 'messages' | 'media' | 'plants' | 'history' | 'servers' | 'charts' | 'learning' | 'maps' | 'variables';
12
+ /**
13
+ * Where the empty state sits (BOFF-15560). `page`, `panel` and `table` show an illustration
14
+ * (176, 120 and 92 px); `inline` and `menu` are a row with the 44 and 34 px glass icon.
15
+ */
16
+ export type EmptyStateSize = 'page' | 'panel' | 'inline' | 'table' | 'menu';
2
17
  export interface EmptyStateProps {
3
18
  icon?: React.ReactNode | null;
4
19
  title: React.ReactNode;
@@ -7,6 +22,19 @@ export interface EmptyStateProps {
7
22
  secondaryAction?: React.ReactNode;
8
23
  compact?: boolean;
9
24
  className?: string;
25
+ /**
26
+ * Glass opt-in only (`AppShellConfig.glassEmptyStates`); ignored otherwise. Default
27
+ * `first-use`. Any other kind shows that situation's illustration, whatever the icon.
28
+ */
29
+ kind?: EmptyStateKind;
30
+ /**
31
+ * Glass opt-in only; ignored otherwise. Default `auto`: from the kind (when not
32
+ * `first-use`), else from the icon (its lucide name), else the box. `none` shows no
33
+ * picture at all; so does `auto` with `icon={null}` (or `false`) on a `first-use` state.
34
+ */
35
+ illustration?: EmptyStateSubject | 'auto' | 'none';
36
+ /** Glass opt-in only; ignored otherwise. Default `panel` when `compact`, else `page`. */
37
+ size?: EmptyStateSize;
10
38
  }
11
39
  /** Canonical empty-state layout: icon → title → description → action. */
12
- export declare function EmptyState({ icon, title, description, action, secondaryAction, compact, className, }: EmptyStateProps): React.JSX.Element;
40
+ export declare function EmptyState({ icon, title, description, action, secondaryAction, compact, className, kind, illustration, size, }: EmptyStateProps): React.JSX.Element;