tembro 3.1.10 → 3.1.12
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/CHANGELOG.md +11 -0
- package/dist/components/charts/demo.cjs +1 -0
- package/dist/components/charts/demo.d.ts +6 -0
- package/dist/components/charts/demo.js +1 -0
- package/dist/components/data-table/data-table.d.ts +3 -1
- package/dist/showcase/package-meta.d.ts +2 -2
- package/dist/src/components/charts/charts.cjs +1 -1
- package/dist/src/components/charts/charts.js +6 -5
- package/dist/src/components/charts/demo.cjs +1 -0
- package/dist/src/components/charts/demo.js +5 -0
- package/dist/src/components/data-table/data-table.cjs +1 -1
- package/dist/src/components/data-table/data-table.js +146 -111
- package/dist/src/components/display/kanban.cjs +1 -1
- package/dist/src/components/display/kanban.js +1 -1
- package/dist/src/showcase/index.cjs +1 -1
- package/dist/src/showcase/index.js +18 -16
- package/dist/src/showcase/package-meta.cjs +1 -1
- package/dist/src/showcase/package-meta.js +1 -1
- package/dist/src/showcase/preview-registry.cjs +1 -1
- package/dist/src/showcase/preview-registry.js +290 -288
- package/dist/src/showcase/render-registry-preview.cjs +1 -1
- package/dist/src/showcase/render-registry-preview.js +257 -182
- package/dist/src/showcase/site-data.cjs +1 -1
- package/dist/src/showcase/site-data.js +1 -1
- package/dist/src/showcase/tembro-registry.json.cjs +1 -1
- package/dist/src/showcase/tembro-registry.json.js +2 -2
- package/package.json +1 -1
- package/packages/cli/dist/index.cjs +14 -14
- package/packages/cli/vendor/src/components/charts/charts.tsx +5 -3
- package/packages/cli/vendor/src/components/charts/demo.tsx +5 -0
- package/packages/cli/vendor/src/components/data-table/data-table.tsx +112 -41
- package/packages/cli/vendor/src/components/display/kanban.tsx +4 -4
- package/packages/cli/vendor/src/showcase/index.ts +6 -4
- package/packages/cli/vendor/src/showcase/package-meta.ts +1 -1
- package/packages/cli/vendor/src/showcase/preview-registry.tsx +2 -0
- package/packages/cli/vendor/src/showcase/render-registry-preview.tsx +36 -0
- package/packages/cli/vendor/src/showcase/tembro-registry.json +5 -2
- package/packages/cli/vendor/templates/showcase/src/App.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/layout/HeroSection.tsx +3 -3
- package/packages/cli/vendor/templates/showcase/src/showcase/layout/WorkbenchSidebar.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/CalendarSection.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/ComponentLivePreview.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/CoreUiSection.tsx +2 -2
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/FormsSection.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/OverlaySection.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/PatternsSection.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/VerificationSection.tsx +1 -1
- package/packages/cli/vendor/templates/showcase/src/showcase/sections/WizardSection.tsx +1 -1
- package/registry.json +5 -2
|
@@ -11,118 +11,119 @@ import { AlertDialog as d } from "../components/overlay/alert-dialog.js";
|
|
|
11
11
|
import { Drawer as f } from "../components/overlay/drawer.js";
|
|
12
12
|
import { OtpInput as p } from "../components/inputs/otp-input.js";
|
|
13
13
|
import { Rating as m } from "../components/inputs/rating.js";
|
|
14
|
-
import { RangeSlider as h, Slider as
|
|
15
|
-
import { TagInput as
|
|
16
|
-
import { Calendar as
|
|
17
|
-
import { Alert as
|
|
18
|
-
import { PageState as
|
|
19
|
-
import { DescriptionList as
|
|
20
|
-
import { Avatar as
|
|
21
|
-
import { List as
|
|
22
|
-
import { Progress as
|
|
23
|
-
import { StatusDot as
|
|
24
|
-
import { StatusLegend as
|
|
25
|
-
import { Timeline as
|
|
26
|
-
import { InfoCard as
|
|
27
|
-
import { CommandPalette as
|
|
28
|
-
import { FileUpload as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
14
|
+
import { RangeSlider as h, Slider as g } from "../components/inputs/slider.js";
|
|
15
|
+
import { TagInput as _ } from "../components/inputs/tag-input.js";
|
|
16
|
+
import { Calendar as v } from "../components/calendar/calendar.js";
|
|
17
|
+
import { Alert as y } from "../components/feedback/alert.js";
|
|
18
|
+
import { PageState as b } from "../components/feedback/page-state.js";
|
|
19
|
+
import { DescriptionList as x } from "../components/display/description-list.js";
|
|
20
|
+
import { Avatar as S } from "../components/display/avatar.js";
|
|
21
|
+
import { List as C } from "../components/display/list.js";
|
|
22
|
+
import { Progress as w } from "../components/display/progress.js";
|
|
23
|
+
import { StatusDot as T } from "../components/display/status-dot.js";
|
|
24
|
+
import { StatusLegend as E } from "../components/display/status-legend.js";
|
|
25
|
+
import { Timeline as D } from "../components/display/timeline.js";
|
|
26
|
+
import { InfoCard as O } from "../components/display/info-card.js";
|
|
27
|
+
import { CommandPalette as k } from "../components/command/command-palette.js";
|
|
28
|
+
import { FileUpload as A } from "../components/upload/file-upload.js";
|
|
29
|
+
import { BarChart as j, ChartFrame as M, ChartLegend as N, DonutChart as P } from "../components/charts/charts.js";
|
|
30
|
+
import { ResourcePage as F, ResourcePageSection as I } from "../components/patterns/resource-page.js";
|
|
31
|
+
import { ResourceDetailPage as L } from "../components/patterns/resource-detail-page.js";
|
|
32
|
+
import { Stepper as R } from "../components/wizard/stepper.js";
|
|
33
|
+
import { Wizard as z } from "../components/wizard/wizard.js";
|
|
34
|
+
import { PreviewFileDropzone as B, PreviewStatCard as V } from "./preview-compositions.js";
|
|
34
35
|
import "react";
|
|
35
|
-
import { ArchiveIcon as
|
|
36
|
-
import { jsx as
|
|
36
|
+
import { ArchiveIcon as H, BellIcon as U, ChevronRightIcon as ee, DownloadIcon as W, FilterIcon as G, LayoutDashboardIcon as K, MoreHorizontalIcon as q, SearchIcon as J, UploadCloudIcon as Y } from "lucide-react";
|
|
37
|
+
import { jsx as X, jsxs as Z } from "react/jsx-runtime";
|
|
37
38
|
//#region src/showcase/render-registry-preview.tsx
|
|
38
|
-
function
|
|
39
|
-
return e.kind === "inputs" ? /* @__PURE__ */
|
|
39
|
+
function Q(e, t, n) {
|
|
40
|
+
return e.kind === "inputs" ? /* @__PURE__ */ X(te, {
|
|
40
41
|
slug: e.slug,
|
|
41
42
|
state: t,
|
|
42
43
|
setState: n
|
|
43
|
-
}) : e.kind === "form" ? /* @__PURE__ */
|
|
44
|
+
}) : e.kind === "form" ? /* @__PURE__ */ X(ne, {
|
|
44
45
|
state: t,
|
|
45
46
|
setState: n
|
|
46
|
-
}) : e.kind === "overlay" ? /* @__PURE__ */
|
|
47
|
+
}) : e.kind === "overlay" ? /* @__PURE__ */ X(re, { slug: e.slug }) : e.kind === "navigation" ? /* @__PURE__ */ X(ie, { slug: e.slug }) : e.kind === "feedback" ? /* @__PURE__ */ X(ae, { slug: e.slug }) : e.kind === "display" ? /* @__PURE__ */ X(oe, { slug: e.slug }) : e.kind === "actions" ? /* @__PURE__ */ X(se, {
|
|
47
48
|
slug: e.slug,
|
|
48
49
|
state: t,
|
|
49
50
|
setState: n
|
|
50
|
-
}) : e.kind === "layout" ? /* @__PURE__ */
|
|
51
|
+
}) : e.kind === "layout" ? /* @__PURE__ */ X(ce, { slug: e.slug }) : e.kind === "data-table" ? /* @__PURE__ */ X(le, { slug: e.slug }) : e.kind === "calendar" ? /* @__PURE__ */ X(ue, {}) : e.kind === "upload" ? /* @__PURE__ */ X(de, { slug: e.slug }) : e.kind === "wizard" ? /* @__PURE__ */ X(fe, { slug: e.slug }) : e.kind === "patterns" ? /* @__PURE__ */ X(pe, { slug: e.slug }) : null;
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
-
return /* @__PURE__ */
|
|
53
|
+
function $({ tone: e, children: t }) {
|
|
54
|
+
return /* @__PURE__ */ X(i, {
|
|
54
55
|
variant: e === "danger" ? "destructive" : e === "warning" ? "outline" : "secondary",
|
|
55
56
|
children: t
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
+
function te({ slug: e, state: t, setState: n }) {
|
|
59
60
|
let i = t.textValue;
|
|
60
|
-
return e === "slider" ? /* @__PURE__ */
|
|
61
|
+
return e === "slider" ? /* @__PURE__ */ X(g, {
|
|
61
62
|
label: "Density",
|
|
62
63
|
description: "Tune content density.",
|
|
63
64
|
defaultValue: 64,
|
|
64
65
|
showValue: !0
|
|
65
|
-
}) : e === "range-slider" ? /* @__PURE__ */
|
|
66
|
+
}) : e === "range-slider" ? /* @__PURE__ */ X(h, {
|
|
66
67
|
label: "Revenue range",
|
|
67
68
|
description: "Filter between two values.",
|
|
68
69
|
defaultValue: [20, 80],
|
|
69
70
|
showValue: !0
|
|
70
|
-
}) : e === "rating" ? /* @__PURE__ */
|
|
71
|
+
}) : e === "rating" ? /* @__PURE__ */ X(m, {
|
|
71
72
|
defaultValue: 4,
|
|
72
73
|
labels: { clear: "Reset" }
|
|
73
|
-
}) : e === "otp-input" ? /* @__PURE__ */
|
|
74
|
+
}) : e === "otp-input" ? /* @__PURE__ */ X(p, {
|
|
74
75
|
value: i.replace(/\D/g, "").slice(0, 6),
|
|
75
76
|
onValueChange: (e) => n({ textValue: e })
|
|
76
|
-
}) : e === "color-input" ? /* @__PURE__ */
|
|
77
|
+
}) : e === "color-input" ? /* @__PURE__ */ X(r, {
|
|
77
78
|
type: "color",
|
|
78
79
|
defaultValue: "#22c55e",
|
|
79
80
|
"aria-label": "Accent color"
|
|
80
|
-
}) : e === "tag-input" ? /* @__PURE__ */
|
|
81
|
+
}) : e === "tag-input" ? /* @__PURE__ */ X(_, {
|
|
81
82
|
defaultValue: [
|
|
82
83
|
"dashboard",
|
|
83
84
|
"beta",
|
|
84
85
|
"ops"
|
|
85
86
|
],
|
|
86
87
|
placeholder: "Add label"
|
|
87
|
-
}) : /* @__PURE__ */
|
|
88
|
+
}) : /* @__PURE__ */ X(r, {
|
|
88
89
|
value: i,
|
|
89
90
|
onChange: (e) => n({ textValue: e.currentTarget.value }),
|
|
90
91
|
placeholder: "Unified input"
|
|
91
92
|
});
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
-
return /* @__PURE__ */
|
|
94
|
+
function ne({ state: e, setState: t }) {
|
|
95
|
+
return /* @__PURE__ */ Z("div", {
|
|
95
96
|
className: "grid gap-4 md:grid-cols-2",
|
|
96
|
-
children: [/* @__PURE__ */
|
|
97
|
+
children: [/* @__PURE__ */ Z("label", {
|
|
97
98
|
className: "grid gap-2",
|
|
98
99
|
children: [
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ X("span", {
|
|
100
101
|
className: "text-sm font-medium text-[color:var(--aui-page-foreground)]",
|
|
101
102
|
children: "Email address"
|
|
102
103
|
}),
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ X(r, {
|
|
104
105
|
value: e.textValue,
|
|
105
106
|
onChange: (e) => t({ textValue: e.currentTarget.value })
|
|
106
107
|
}),
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ X("span", {
|
|
108
109
|
className: "text-xs text-[color:var(--aui-page-muted)]",
|
|
109
110
|
children: "Form wrappers keep label, hint and error spacing consistent."
|
|
110
111
|
})
|
|
111
112
|
]
|
|
112
|
-
}), /* @__PURE__ */
|
|
113
|
+
}), /* @__PURE__ */ Z("label", {
|
|
113
114
|
className: "grid gap-2",
|
|
114
115
|
children: [
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ X("span", {
|
|
116
117
|
className: "text-sm font-medium text-[color:var(--aui-page-foreground)]",
|
|
117
118
|
children: "Status"
|
|
118
119
|
}),
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ X(r, {
|
|
120
121
|
type: "search",
|
|
121
122
|
value: "Active customers",
|
|
122
123
|
resultCount: 7,
|
|
123
124
|
readOnly: !0
|
|
124
125
|
}),
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ X("span", {
|
|
126
127
|
className: "text-xs text-emerald-500",
|
|
127
128
|
children: "Ready to submit"
|
|
128
129
|
})
|
|
@@ -130,40 +131,40 @@ function X({ state: e, setState: t }) {
|
|
|
130
131
|
})]
|
|
131
132
|
});
|
|
132
133
|
}
|
|
133
|
-
function
|
|
134
|
-
return t === "dialog-actions" ? /* @__PURE__ */
|
|
134
|
+
function re({ slug: t }) {
|
|
135
|
+
return t === "dialog-actions" ? /* @__PURE__ */ X("div", {
|
|
135
136
|
className: "rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
136
|
-
children: /* @__PURE__ */
|
|
137
|
+
children: /* @__PURE__ */ Z(n, {
|
|
137
138
|
attached: !1,
|
|
138
139
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ X(e, {
|
|
140
141
|
variant: "ghost",
|
|
141
142
|
children: "Cancel"
|
|
142
143
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ X(e, {
|
|
144
145
|
variant: "outline",
|
|
145
146
|
children: "Save draft"
|
|
146
147
|
}),
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ X(e, { children: "Publish" })
|
|
148
149
|
]
|
|
149
150
|
})
|
|
150
|
-
}) : t === "alert-dialog" ? /* @__PURE__ */
|
|
151
|
+
}) : t === "alert-dialog" ? /* @__PURE__ */ X(d, {
|
|
151
152
|
open: !1,
|
|
152
153
|
title: "Archive invoice?",
|
|
153
154
|
description: "This keeps the invoice readable but removes it from active queues.",
|
|
154
|
-
children: /* @__PURE__ */
|
|
155
|
+
children: /* @__PURE__ */ X(e, {
|
|
155
156
|
variant: "destructive",
|
|
156
157
|
children: "Open alert"
|
|
157
158
|
})
|
|
158
|
-
}) : t === "drawer" ? /* @__PURE__ */
|
|
159
|
+
}) : t === "drawer" ? /* @__PURE__ */ X(f, {
|
|
159
160
|
open: !1,
|
|
160
|
-
trigger: /* @__PURE__ */
|
|
161
|
+
trigger: /* @__PURE__ */ X(e, {
|
|
161
162
|
variant: "outline",
|
|
162
163
|
children: "Open drawer"
|
|
163
164
|
}),
|
|
164
165
|
title: "Customer details",
|
|
165
166
|
description: "Side panel for fast inspection.",
|
|
166
|
-
children: /* @__PURE__ */
|
|
167
|
+
children: /* @__PURE__ */ X(x, { items: [{
|
|
167
168
|
key: "plan",
|
|
168
169
|
label: "Plan",
|
|
169
170
|
value: "Scale"
|
|
@@ -172,43 +173,43 @@ function Z({ slug: t }) {
|
|
|
172
173
|
label: "Owner",
|
|
173
174
|
value: "Tembro"
|
|
174
175
|
}] })
|
|
175
|
-
}) : /* @__PURE__ */
|
|
176
|
+
}) : /* @__PURE__ */ Z("div", {
|
|
176
177
|
className: "flex flex-wrap items-center justify-end gap-2 rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
177
178
|
children: [
|
|
178
|
-
/* @__PURE__ */
|
|
179
|
+
/* @__PURE__ */ X(e, {
|
|
179
180
|
variant: "ghost",
|
|
180
181
|
children: "Cancel"
|
|
181
182
|
}),
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ X(e, {
|
|
183
184
|
variant: "outline",
|
|
184
185
|
children: "Save draft"
|
|
185
186
|
}),
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ X(e, { children: "Publish" })
|
|
187
188
|
]
|
|
188
189
|
});
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
-
return e === "pagination" ? /* @__PURE__ */
|
|
191
|
+
function ie({ slug: e }) {
|
|
192
|
+
return e === "pagination" ? /* @__PURE__ */ X(l, {
|
|
192
193
|
page: 3,
|
|
193
194
|
pageCount: 9,
|
|
194
195
|
onPageChange: () => void 0
|
|
195
|
-
}) : /* @__PURE__ */
|
|
196
|
+
}) : /* @__PURE__ */ X(a, {
|
|
196
197
|
defaultValue: "overview",
|
|
197
|
-
children: /* @__PURE__ */
|
|
198
|
+
children: /* @__PURE__ */ Z(o, {
|
|
198
199
|
variant: "pills",
|
|
199
200
|
overflow: "wrap",
|
|
200
201
|
children: [
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
+
/* @__PURE__ */ X(s, {
|
|
202
203
|
value: "overview",
|
|
203
204
|
variant: "pills",
|
|
204
205
|
children: "Overview"
|
|
205
206
|
}),
|
|
206
|
-
/* @__PURE__ */
|
|
207
|
+
/* @__PURE__ */ X(s, {
|
|
207
208
|
value: "usage",
|
|
208
209
|
variant: "pills",
|
|
209
210
|
children: "Usage"
|
|
210
211
|
}),
|
|
211
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ X(s, {
|
|
212
213
|
value: "api",
|
|
213
214
|
variant: "pills",
|
|
214
215
|
children: "API"
|
|
@@ -217,47 +218,47 @@ function Q({ slug: e }) {
|
|
|
217
218
|
})
|
|
218
219
|
});
|
|
219
220
|
}
|
|
220
|
-
function
|
|
221
|
-
return t === "alert" ? /* @__PURE__ */
|
|
221
|
+
function ae({ slug: t }) {
|
|
222
|
+
return t === "alert" ? /* @__PURE__ */ X(y, {
|
|
222
223
|
tone: "warning",
|
|
223
224
|
title: "Review needed",
|
|
224
225
|
description: "Billing rules changed and one approval is pending.",
|
|
225
|
-
action: /* @__PURE__ */
|
|
226
|
+
action: /* @__PURE__ */ X(e, {
|
|
226
227
|
size: "sm",
|
|
227
228
|
children: "Open"
|
|
228
229
|
})
|
|
229
|
-
}) : t === "page-state" ? /* @__PURE__ */
|
|
230
|
+
}) : t === "page-state" ? /* @__PURE__ */ X(b, {
|
|
230
231
|
title: "Workspace connected",
|
|
231
232
|
description: "The route is ready to accept live data and team actions.",
|
|
232
233
|
tone: "success",
|
|
233
|
-
action: /* @__PURE__ */
|
|
234
|
+
action: /* @__PURE__ */ X(e, {
|
|
234
235
|
size: "sm",
|
|
235
236
|
children: "Continue"
|
|
236
237
|
})
|
|
237
|
-
}) : /* @__PURE__ */
|
|
238
|
+
}) : /* @__PURE__ */ Z("div", {
|
|
238
239
|
className: "flex flex-wrap gap-2",
|
|
239
240
|
children: [
|
|
240
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ X($, {
|
|
241
242
|
tone: "success",
|
|
242
243
|
children: "Live"
|
|
243
244
|
}),
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ X($, {
|
|
245
246
|
tone: "warning",
|
|
246
247
|
children: "Needs review"
|
|
247
248
|
}),
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
+
/* @__PURE__ */ X($, {
|
|
249
250
|
tone: "danger",
|
|
250
251
|
children: "Blocked"
|
|
251
252
|
}),
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ X($, {
|
|
253
254
|
tone: "info",
|
|
254
255
|
children: "Queued"
|
|
255
256
|
})
|
|
256
257
|
]
|
|
257
258
|
});
|
|
258
259
|
}
|
|
259
|
-
function
|
|
260
|
-
|
|
260
|
+
function oe({ slug: t }) {
|
|
261
|
+
if (t === "description-list") return /* @__PURE__ */ X(x, {
|
|
261
262
|
title: "Invoice details",
|
|
262
263
|
description: "Structured facts with responsive columns.",
|
|
263
264
|
items: [
|
|
@@ -274,7 +275,7 @@ function re({ slug: t }) {
|
|
|
274
275
|
{
|
|
275
276
|
key: "status",
|
|
276
277
|
label: "Status",
|
|
277
|
-
value: /* @__PURE__ */
|
|
278
|
+
value: /* @__PURE__ */ X($, {
|
|
278
279
|
tone: "success",
|
|
279
280
|
children: "Paid"
|
|
280
281
|
})
|
|
@@ -285,13 +286,15 @@ function re({ slug: t }) {
|
|
|
285
286
|
value: "Finance team"
|
|
286
287
|
}
|
|
287
288
|
]
|
|
288
|
-
})
|
|
289
|
+
});
|
|
290
|
+
if (t === "progress") return /* @__PURE__ */ X(w, {
|
|
289
291
|
label: "Migration progress",
|
|
290
292
|
description: "Production rollout",
|
|
291
293
|
value: 68,
|
|
292
294
|
tone: "success",
|
|
293
295
|
showValue: !0
|
|
294
|
-
})
|
|
296
|
+
});
|
|
297
|
+
if (t === "timeline") return /* @__PURE__ */ X(D, {
|
|
295
298
|
items: [
|
|
296
299
|
{
|
|
297
300
|
key: "created",
|
|
@@ -317,7 +320,8 @@ function re({ slug: t }) {
|
|
|
317
320
|
],
|
|
318
321
|
pending: !0,
|
|
319
322
|
pendingLabel: "Paid"
|
|
320
|
-
})
|
|
323
|
+
});
|
|
324
|
+
if (t === "metric-card" || t === "stat-card") return /* @__PURE__ */ X(V, {
|
|
321
325
|
title: "Revenue",
|
|
322
326
|
value: "$84.2k",
|
|
323
327
|
description: "Compared with last month",
|
|
@@ -325,25 +329,27 @@ function re({ slug: t }) {
|
|
|
325
329
|
value: "+12.4%",
|
|
326
330
|
tone: "success"
|
|
327
331
|
},
|
|
328
|
-
icon: /* @__PURE__ */
|
|
329
|
-
})
|
|
332
|
+
icon: /* @__PURE__ */ X(K, {})
|
|
333
|
+
});
|
|
334
|
+
if (t === "status-dot") return /* @__PURE__ */ Z("div", {
|
|
330
335
|
className: "grid gap-3",
|
|
331
336
|
children: [
|
|
332
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ X(T, {
|
|
333
338
|
tone: "success",
|
|
334
339
|
pulse: !0,
|
|
335
340
|
label: "API healthy"
|
|
336
341
|
}),
|
|
337
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ X(T, {
|
|
338
343
|
tone: "warning",
|
|
339
344
|
label: "Sync delayed"
|
|
340
345
|
}),
|
|
341
|
-
/* @__PURE__ */
|
|
346
|
+
/* @__PURE__ */ X(T, {
|
|
342
347
|
tone: "danger",
|
|
343
348
|
label: "Webhook failed"
|
|
344
349
|
})
|
|
345
350
|
]
|
|
346
|
-
})
|
|
351
|
+
});
|
|
352
|
+
if (t === "notification-center") return /* @__PURE__ */ X(C, { items: [
|
|
347
353
|
{
|
|
348
354
|
key: "1",
|
|
349
355
|
title: "Build completed",
|
|
@@ -362,7 +368,8 @@ function re({ slug: t }) {
|
|
|
362
368
|
description: "Package version is ready for release.",
|
|
363
369
|
extra: "1h"
|
|
364
370
|
}
|
|
365
|
-
] })
|
|
371
|
+
] });
|
|
372
|
+
if (t === "status-legend") return /* @__PURE__ */ X(E, {
|
|
366
373
|
title: "Delivery states",
|
|
367
374
|
description: "Explain what each state means and how often it appears.",
|
|
368
375
|
orientation: "grid",
|
|
@@ -389,19 +396,87 @@ function re({ slug: t }) {
|
|
|
389
396
|
count: 1
|
|
390
397
|
}
|
|
391
398
|
]
|
|
392
|
-
})
|
|
399
|
+
});
|
|
400
|
+
if (t === "charts") {
|
|
401
|
+
let e = [
|
|
402
|
+
{
|
|
403
|
+
label: "Organic",
|
|
404
|
+
value: 42,
|
|
405
|
+
color: "var(--aui-brand)"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
label: "Paid",
|
|
409
|
+
value: 28,
|
|
410
|
+
color: "var(--aui-success)"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
label: "Referral",
|
|
414
|
+
value: 18,
|
|
415
|
+
color: "var(--aui-warning)"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
label: "Direct",
|
|
419
|
+
value: 12,
|
|
420
|
+
color: "var(--aui-danger)"
|
|
421
|
+
}
|
|
422
|
+
];
|
|
423
|
+
return /* @__PURE__ */ Z("div", {
|
|
424
|
+
className: "grid items-start gap-4 lg:grid-cols-[1.2fr_0.8fr]",
|
|
425
|
+
children: [/* @__PURE__ */ X(M, {
|
|
426
|
+
title: "Pipeline by week",
|
|
427
|
+
description: "BarChart inside the shared chart frame.",
|
|
428
|
+
children: /* @__PURE__ */ X(j, {
|
|
429
|
+
data: [
|
|
430
|
+
{
|
|
431
|
+
label: "Mon",
|
|
432
|
+
value: 18
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
label: "Tue",
|
|
436
|
+
value: 26
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
label: "Wed",
|
|
440
|
+
value: 21
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
label: "Thu",
|
|
444
|
+
value: 34
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
label: "Fri",
|
|
448
|
+
value: 29
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
valueFormatter: (e) => `$${e}k`
|
|
452
|
+
})
|
|
453
|
+
}), /* @__PURE__ */ X(M, {
|
|
454
|
+
title: "Traffic mix",
|
|
455
|
+
description: "DonutChart with legend and center value.",
|
|
456
|
+
children: /* @__PURE__ */ Z("div", {
|
|
457
|
+
className: "grid justify-items-center gap-4",
|
|
458
|
+
children: [/* @__PURE__ */ X(P, {
|
|
459
|
+
data: e,
|
|
460
|
+
centerValue: "88k",
|
|
461
|
+
centerLabel: "Visitors"
|
|
462
|
+
}), /* @__PURE__ */ X(N, { data: e })]
|
|
463
|
+
})
|
|
464
|
+
})]
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
return /* @__PURE__ */ X(O, {
|
|
393
468
|
title: "Azamat Jurayev",
|
|
394
469
|
description: "Product designer and maintainer",
|
|
395
|
-
media: /* @__PURE__ */
|
|
396
|
-
actions: /* @__PURE__ */
|
|
470
|
+
media: /* @__PURE__ */ X(S, { name: "Azamat Jurayev" }),
|
|
471
|
+
actions: /* @__PURE__ */ X(e, {
|
|
397
472
|
size: "sm",
|
|
398
473
|
children: "Invite"
|
|
399
474
|
})
|
|
400
475
|
});
|
|
401
476
|
}
|
|
402
|
-
function
|
|
403
|
-
return i === "filter-bar" ? /* @__PURE__ */
|
|
404
|
-
search: /* @__PURE__ */
|
|
477
|
+
function se({ slug: i, state: a, setState: o }) {
|
|
478
|
+
return i === "filter-bar" ? /* @__PURE__ */ X(u, {
|
|
479
|
+
search: /* @__PURE__ */ X(r, {
|
|
405
480
|
type: "search",
|
|
406
481
|
value: a.textValue,
|
|
407
482
|
onValueChange: (e) => o({ textValue: e }),
|
|
@@ -420,24 +495,24 @@ function ie({ slug: i, state: a, setState: o }) {
|
|
|
420
495
|
tone: "default"
|
|
421
496
|
}],
|
|
422
497
|
onRemoveChip: () => void 0,
|
|
423
|
-
filters: /* @__PURE__ */
|
|
498
|
+
filters: /* @__PURE__ */ Z(e, {
|
|
424
499
|
variant: "outline",
|
|
425
500
|
size: "sm",
|
|
426
|
-
children: [/* @__PURE__ */ G
|
|
501
|
+
children: [/* @__PURE__ */ X(G, { "data-icon": "inline-start" }), "Status"]
|
|
427
502
|
}),
|
|
428
|
-
actions: /* @__PURE__ */
|
|
503
|
+
actions: /* @__PURE__ */ X(e, {
|
|
429
504
|
size: "sm",
|
|
430
505
|
children: "Export"
|
|
431
506
|
})
|
|
432
|
-
}) : i === "command-palette" ? /* @__PURE__ */
|
|
507
|
+
}) : i === "command-palette" ? /* @__PURE__ */ Z("div", {
|
|
433
508
|
className: "grid gap-3",
|
|
434
|
-
children: [/* @__PURE__ */
|
|
509
|
+
children: [/* @__PURE__ */ Z("div", {
|
|
435
510
|
className: "flex items-center gap-2 rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] px-3 py-2",
|
|
436
|
-
children: [/* @__PURE__ */
|
|
511
|
+
children: [/* @__PURE__ */ X(J, { className: "size-4 text-[color:var(--aui-page-muted)]" }), /* @__PURE__ */ X("span", {
|
|
437
512
|
className: "text-sm text-[color:var(--aui-page-muted)]",
|
|
438
513
|
children: "Command palette preview: search routes, components and actions."
|
|
439
514
|
})]
|
|
440
|
-
}), /* @__PURE__ */
|
|
515
|
+
}), /* @__PURE__ */ X(k, {
|
|
441
516
|
open: !1,
|
|
442
517
|
onOpenChange: () => void 0,
|
|
443
518
|
groups: [{
|
|
@@ -446,15 +521,15 @@ function ie({ slug: i, state: a, setState: o }) {
|
|
|
446
521
|
items: [{
|
|
447
522
|
id: "docs",
|
|
448
523
|
label: "Open docs",
|
|
449
|
-
icon: /* @__PURE__ */
|
|
524
|
+
icon: /* @__PURE__ */ X(J, { className: "size-4" })
|
|
450
525
|
}, {
|
|
451
526
|
id: "components",
|
|
452
527
|
label: "Browse components",
|
|
453
|
-
icon: /* @__PURE__ */
|
|
528
|
+
icon: /* @__PURE__ */ X(K, { className: "size-4" })
|
|
454
529
|
}]
|
|
455
530
|
}]
|
|
456
531
|
})]
|
|
457
|
-
}) : i === "button-group" ? /* @__PURE__ */
|
|
532
|
+
}) : i === "button-group" ? /* @__PURE__ */ X(n, { items: [
|
|
458
533
|
{
|
|
459
534
|
key: "day",
|
|
460
535
|
label: "Day"
|
|
@@ -467,7 +542,7 @@ function ie({ slug: i, state: a, setState: o }) {
|
|
|
467
542
|
key: "month",
|
|
468
543
|
label: "Month"
|
|
469
544
|
}
|
|
470
|
-
] }) : i === "quick-action-grid" ? /* @__PURE__ */
|
|
545
|
+
] }) : i === "quick-action-grid" ? /* @__PURE__ */ X(c, {
|
|
471
546
|
columns: 3,
|
|
472
547
|
items: [
|
|
473
548
|
{
|
|
@@ -489,9 +564,9 @@ function ie({ slug: i, state: a, setState: o }) {
|
|
|
489
564
|
badge: "S"
|
|
490
565
|
}
|
|
491
566
|
]
|
|
492
|
-
}) : i === "data-table-saved-filters" ? /* @__PURE__ */
|
|
567
|
+
}) : i === "data-table-saved-filters" ? /* @__PURE__ */ Z("div", {
|
|
493
568
|
className: "grid gap-3",
|
|
494
|
-
children: [/* @__PURE__ */
|
|
569
|
+
children: [/* @__PURE__ */ X(u, {
|
|
495
570
|
chips: [
|
|
496
571
|
{
|
|
497
572
|
key: "status",
|
|
@@ -514,7 +589,7 @@ function ie({ slug: i, state: a, setState: o }) {
|
|
|
514
589
|
],
|
|
515
590
|
onRemoveChip: () => void 0,
|
|
516
591
|
onReset: () => void 0
|
|
517
|
-
}), /* @__PURE__ */
|
|
592
|
+
}), /* @__PURE__ */ X(n, {
|
|
518
593
|
attached: !1,
|
|
519
594
|
items: [
|
|
520
595
|
{
|
|
@@ -532,72 +607,72 @@ function ie({ slug: i, state: a, setState: o }) {
|
|
|
532
607
|
}
|
|
533
608
|
]
|
|
534
609
|
})]
|
|
535
|
-
}) : /* @__PURE__ */
|
|
610
|
+
}) : /* @__PURE__ */ Z("div", {
|
|
536
611
|
className: "flex items-center justify-between rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
537
|
-
children: [/* @__PURE__ */
|
|
612
|
+
children: [/* @__PURE__ */ Z("div", { children: [/* @__PURE__ */ X("p", {
|
|
538
613
|
className: "font-medium text-[color:var(--aui-page-foreground)]",
|
|
539
614
|
children: "Invoice #4821"
|
|
540
|
-
}), /* @__PURE__ */
|
|
615
|
+
}), /* @__PURE__ */ X("p", {
|
|
541
616
|
className: "text-sm text-[color:var(--aui-page-muted)]",
|
|
542
617
|
children: "Pending approval"
|
|
543
|
-
})] }), /* @__PURE__ */
|
|
618
|
+
})] }), /* @__PURE__ */ X(t, {
|
|
544
619
|
label: "Actions",
|
|
545
620
|
actions: [
|
|
546
621
|
{
|
|
547
622
|
key: "open",
|
|
548
623
|
label: "Open",
|
|
549
|
-
icon: /* @__PURE__ */
|
|
624
|
+
icon: /* @__PURE__ */ X(ee, { className: "size-4" })
|
|
550
625
|
},
|
|
551
626
|
{
|
|
552
627
|
key: "download",
|
|
553
628
|
label: "Download",
|
|
554
|
-
icon: /* @__PURE__ */
|
|
629
|
+
icon: /* @__PURE__ */ X(W, { className: "size-4" })
|
|
555
630
|
},
|
|
556
631
|
{
|
|
557
632
|
key: "archive",
|
|
558
633
|
label: "Archive",
|
|
559
|
-
icon: /* @__PURE__ */
|
|
634
|
+
icon: /* @__PURE__ */ X(H, { className: "size-4" }),
|
|
560
635
|
destructive: !0
|
|
561
636
|
}
|
|
562
637
|
],
|
|
563
|
-
trigger: /* @__PURE__ */
|
|
638
|
+
trigger: /* @__PURE__ */ X(e, {
|
|
564
639
|
variant: "outline",
|
|
565
640
|
size: "icon-sm",
|
|
566
641
|
"aria-label": "Open actions",
|
|
567
|
-
children: /* @__PURE__ */
|
|
642
|
+
children: /* @__PURE__ */ X(q, {})
|
|
568
643
|
})
|
|
569
644
|
})]
|
|
570
645
|
});
|
|
571
646
|
}
|
|
572
|
-
function
|
|
573
|
-
return t === "app-header" ? /* @__PURE__ */
|
|
647
|
+
function ce({ slug: t }) {
|
|
648
|
+
return t === "app-header" ? /* @__PURE__ */ Z("div", {
|
|
574
649
|
className: "flex flex-wrap items-center justify-between gap-3 rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-3",
|
|
575
650
|
children: [
|
|
576
|
-
/* @__PURE__ */
|
|
651
|
+
/* @__PURE__ */ Z("div", {
|
|
577
652
|
className: "flex items-center gap-2",
|
|
578
|
-
children: [/* @__PURE__ */
|
|
653
|
+
children: [/* @__PURE__ */ X(K, { className: "size-4" }), /* @__PURE__ */ X("span", {
|
|
579
654
|
className: "font-medium",
|
|
580
655
|
children: "Dashboard"
|
|
581
656
|
})]
|
|
582
657
|
}),
|
|
583
|
-
/* @__PURE__ */
|
|
658
|
+
/* @__PURE__ */ X(i, {
|
|
584
659
|
variant: "secondary",
|
|
585
660
|
children: "Preview"
|
|
586
661
|
}),
|
|
587
|
-
/* @__PURE__ */
|
|
662
|
+
/* @__PURE__ */ Z("div", {
|
|
588
663
|
className: "flex items-center gap-2",
|
|
589
|
-
children: [/* @__PURE__ */
|
|
664
|
+
children: [/* @__PURE__ */ X(e, {
|
|
590
665
|
variant: "ghost",
|
|
591
666
|
size: "icon-sm",
|
|
592
667
|
"aria-label": "Notifications",
|
|
593
|
-
children: /* @__PURE__ */
|
|
594
|
-
}), /* @__PURE__ */
|
|
668
|
+
children: /* @__PURE__ */ X(U, {})
|
|
669
|
+
}), /* @__PURE__ */ X(e, {
|
|
595
670
|
size: "sm",
|
|
596
671
|
children: "Deploy"
|
|
597
672
|
})]
|
|
598
673
|
})
|
|
599
674
|
]
|
|
600
|
-
}) : /* @__PURE__ */
|
|
675
|
+
}) : /* @__PURE__ */ X(V, {
|
|
601
676
|
title: "Revenue",
|
|
602
677
|
value: "$84.2k",
|
|
603
678
|
description: "Compared with last month",
|
|
@@ -608,73 +683,73 @@ function ae({ slug: t }) {
|
|
|
608
683
|
helperText: "StatCard keeps KPI, helper text and trend in one compact tile."
|
|
609
684
|
});
|
|
610
685
|
}
|
|
611
|
-
function
|
|
612
|
-
return /* @__PURE__ */
|
|
686
|
+
function le({ slug: t }) {
|
|
687
|
+
return /* @__PURE__ */ Z("div", {
|
|
613
688
|
className: "overflow-hidden rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)]",
|
|
614
689
|
children: [
|
|
615
|
-
/* @__PURE__ */
|
|
690
|
+
/* @__PURE__ */ Z("div", {
|
|
616
691
|
className: "flex flex-wrap items-center justify-between gap-3 border-b border-[color:var(--aui-divider)] p-3",
|
|
617
|
-
children: [/* @__PURE__ */
|
|
692
|
+
children: [/* @__PURE__ */ X(r, {
|
|
618
693
|
type: "search",
|
|
619
694
|
value: "",
|
|
620
695
|
placeholder: "Search rows...",
|
|
621
696
|
className: "max-w-xs",
|
|
622
697
|
readOnly: !0
|
|
623
|
-
}), /* @__PURE__ */
|
|
698
|
+
}), /* @__PURE__ */ Z("div", {
|
|
624
699
|
className: "flex gap-2",
|
|
625
|
-
children: [/* @__PURE__ */
|
|
700
|
+
children: [/* @__PURE__ */ Z(e, {
|
|
626
701
|
variant: "outline",
|
|
627
702
|
size: "sm",
|
|
628
|
-
children: [/* @__PURE__ */ G
|
|
629
|
-
}), /* @__PURE__ */
|
|
703
|
+
children: [/* @__PURE__ */ X(G, { "data-icon": "inline-start" }), "Filters"]
|
|
704
|
+
}), /* @__PURE__ */ X(e, {
|
|
630
705
|
size: "sm",
|
|
631
706
|
children: "Create"
|
|
632
707
|
})]
|
|
633
708
|
})]
|
|
634
709
|
}),
|
|
635
|
-
/* @__PURE__ */
|
|
710
|
+
/* @__PURE__ */ Z("div", {
|
|
636
711
|
className: "grid grid-cols-[40px_1fr_120px_72px] border-b border-[color:var(--aui-divider)] px-3 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-[color:var(--aui-page-muted)]",
|
|
637
712
|
children: [
|
|
638
|
-
/* @__PURE__ */
|
|
713
|
+
/* @__PURE__ */ X("span", { children: /* @__PURE__ */ X("input", {
|
|
639
714
|
type: "checkbox",
|
|
640
715
|
"aria-label": "Select rows"
|
|
641
716
|
}) }),
|
|
642
|
-
/* @__PURE__ */
|
|
643
|
-
/* @__PURE__ */
|
|
644
|
-
/* @__PURE__ */
|
|
717
|
+
/* @__PURE__ */ X("span", { children: "Name" }),
|
|
718
|
+
/* @__PURE__ */ X("span", { children: "Status" }),
|
|
719
|
+
/* @__PURE__ */ X("span", { children: "Actions" })
|
|
645
720
|
]
|
|
646
721
|
}),
|
|
647
722
|
[
|
|
648
723
|
"Tembro",
|
|
649
724
|
"Registry",
|
|
650
725
|
"Dashboard"
|
|
651
|
-
].map((t, n) => /* @__PURE__ */
|
|
726
|
+
].map((t, n) => /* @__PURE__ */ Z("div", {
|
|
652
727
|
className: "grid grid-cols-[40px_1fr_120px_72px] items-center border-b border-[color:var(--aui-divider)] px-3 py-3 last:border-b-0",
|
|
653
728
|
children: [
|
|
654
|
-
/* @__PURE__ */
|
|
729
|
+
/* @__PURE__ */ X("span", { children: /* @__PURE__ */ X("input", {
|
|
655
730
|
type: "checkbox",
|
|
656
731
|
"aria-label": `Select ${t}`,
|
|
657
732
|
defaultChecked: n === 0
|
|
658
733
|
}) }),
|
|
659
|
-
/* @__PURE__ */
|
|
734
|
+
/* @__PURE__ */ X("span", {
|
|
660
735
|
className: "font-medium text-[color:var(--aui-page-foreground)]",
|
|
661
736
|
children: t
|
|
662
737
|
}),
|
|
663
|
-
/* @__PURE__ */
|
|
738
|
+
/* @__PURE__ */ X("span", { children: /* @__PURE__ */ X($, {
|
|
664
739
|
tone: n === 2 ? "warning" : "success",
|
|
665
740
|
children: n === 2 ? "Review" : "Live"
|
|
666
741
|
}) }),
|
|
667
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ X("span", { children: /* @__PURE__ */ X(e, {
|
|
668
743
|
variant: "ghost",
|
|
669
744
|
size: "icon-sm",
|
|
670
745
|
"aria-label": "Row actions",
|
|
671
|
-
children: /* @__PURE__ */
|
|
746
|
+
children: /* @__PURE__ */ X(q, {})
|
|
672
747
|
}) })
|
|
673
748
|
]
|
|
674
749
|
}, t)),
|
|
675
|
-
/* @__PURE__ */
|
|
750
|
+
/* @__PURE__ */ Z("div", {
|
|
676
751
|
className: "flex flex-wrap items-center justify-between gap-3 border-t border-[color:var(--aui-divider)] p-3 text-sm text-[color:var(--aui-page-muted)]",
|
|
677
|
-
children: [/* @__PURE__ */
|
|
752
|
+
children: [/* @__PURE__ */ Z("span", { children: [{
|
|
678
753
|
"data-table-pagination": "Pagination footer",
|
|
679
754
|
"data-table-toolbar": "Search and filter toolbar",
|
|
680
755
|
"data-table-column-visibility-menu": "Column visibility",
|
|
@@ -684,7 +759,7 @@ function oe({ slug: t }) {
|
|
|
684
759
|
"data-table-actions-column": "Actions column",
|
|
685
760
|
"data-table-bulk-actions": "Bulk action bar",
|
|
686
761
|
"data-table-view-presets": "Saved view presets"
|
|
687
|
-
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */
|
|
762
|
+
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */ X(l, {
|
|
688
763
|
page: 1,
|
|
689
764
|
pageCount: 4,
|
|
690
765
|
onPageChange: () => void 0,
|
|
@@ -694,32 +769,32 @@ function oe({ slug: t }) {
|
|
|
694
769
|
]
|
|
695
770
|
});
|
|
696
771
|
}
|
|
697
|
-
function
|
|
698
|
-
return /* @__PURE__ */
|
|
772
|
+
function ue() {
|
|
773
|
+
return /* @__PURE__ */ X(v, {
|
|
699
774
|
value: "2026-06-18",
|
|
700
775
|
defaultMonth: "2026-06-01",
|
|
701
776
|
onValueChange: () => void 0
|
|
702
777
|
});
|
|
703
778
|
}
|
|
704
|
-
function
|
|
705
|
-
return e === "file-upload" ? /* @__PURE__ */
|
|
779
|
+
function de({ slug: e }) {
|
|
780
|
+
return e === "file-upload" ? /* @__PURE__ */ X(A, {
|
|
706
781
|
dropzoneLabel: "Upload documents",
|
|
707
782
|
dropzoneDescription: "Drag files here or choose from your device.",
|
|
708
783
|
buttonLabel: "Choose files",
|
|
709
784
|
helperText: "Supports PDF, CSV and images."
|
|
710
|
-
}) : /* @__PURE__ */
|
|
785
|
+
}) : /* @__PURE__ */ Z("div", {
|
|
711
786
|
className: "grid gap-4 md:grid-cols-[160px_1fr] md:items-center",
|
|
712
|
-
children: [/* @__PURE__ */
|
|
787
|
+
children: [/* @__PURE__ */ X("div", {
|
|
713
788
|
className: "flex aspect-square items-center justify-center rounded-2xl border border-dashed border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)]",
|
|
714
|
-
children: /* @__PURE__ */
|
|
715
|
-
}), /* @__PURE__ */
|
|
789
|
+
children: /* @__PURE__ */ X(Y, { className: "size-8 text-[color:var(--aui-page-muted)]" })
|
|
790
|
+
}), /* @__PURE__ */ X(B, {
|
|
716
791
|
label: "Upload product image",
|
|
717
792
|
description: "Shows the image-upload flow without custom CSS.",
|
|
718
793
|
accept: "image/*"
|
|
719
794
|
})]
|
|
720
795
|
});
|
|
721
796
|
}
|
|
722
|
-
function
|
|
797
|
+
function fe({ slug: e }) {
|
|
723
798
|
let t = [
|
|
724
799
|
{
|
|
725
800
|
id: "profile",
|
|
@@ -738,39 +813,39 @@ function ce({ slug: e }) {
|
|
|
738
813
|
description: "Confirm data"
|
|
739
814
|
}
|
|
740
815
|
];
|
|
741
|
-
return e === "stepper" ? /* @__PURE__ */
|
|
816
|
+
return e === "stepper" ? /* @__PURE__ */ X(R, {
|
|
742
817
|
steps: t,
|
|
743
818
|
currentStep: "billing",
|
|
744
819
|
onStepChange: () => void 0
|
|
745
|
-
}) : /* @__PURE__ */
|
|
820
|
+
}) : /* @__PURE__ */ X(z, {
|
|
746
821
|
steps: t,
|
|
747
822
|
currentStep: "billing",
|
|
748
823
|
onNext: () => void 0,
|
|
749
824
|
onPrevious: () => void 0,
|
|
750
825
|
onFinish: () => void 0,
|
|
751
|
-
children: /* @__PURE__ */
|
|
826
|
+
children: /* @__PURE__ */ Z("div", {
|
|
752
827
|
className: "rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
753
|
-
children: [/* @__PURE__ */
|
|
828
|
+
children: [/* @__PURE__ */ X("p", {
|
|
754
829
|
className: "font-medium text-[color:var(--aui-page-foreground)]",
|
|
755
830
|
children: "Billing setup"
|
|
756
|
-
}), /* @__PURE__ */
|
|
831
|
+
}), /* @__PURE__ */ X("p", {
|
|
757
832
|
className: "mt-1 text-sm text-[color:var(--aui-page-muted)]",
|
|
758
833
|
children: "Wizard combines steps, content and footer controls."
|
|
759
834
|
})]
|
|
760
835
|
})
|
|
761
836
|
});
|
|
762
837
|
}
|
|
763
|
-
function
|
|
764
|
-
return t === "resource-detail-page" ? /* @__PURE__ */
|
|
838
|
+
function pe({ slug: t }) {
|
|
839
|
+
return t === "resource-detail-page" ? /* @__PURE__ */ X(L, {
|
|
765
840
|
title: "Customer profile",
|
|
766
841
|
description: "ResourceDetailPage organizes detail screens.",
|
|
767
|
-
actions: /* @__PURE__ */
|
|
842
|
+
actions: /* @__PURE__ */ X(e, {
|
|
768
843
|
size: "sm",
|
|
769
844
|
children: "Edit"
|
|
770
845
|
}),
|
|
771
|
-
children: /* @__PURE__ */
|
|
846
|
+
children: /* @__PURE__ */ X(I, {
|
|
772
847
|
title: "Account",
|
|
773
|
-
children: /* @__PURE__ */
|
|
848
|
+
children: /* @__PURE__ */ X(x, { items: [{
|
|
774
849
|
key: "plan",
|
|
775
850
|
label: "Plan",
|
|
776
851
|
value: "Scale"
|
|
@@ -780,23 +855,23 @@ function le({ slug: t }) {
|
|
|
780
855
|
value: "Design team"
|
|
781
856
|
}] })
|
|
782
857
|
})
|
|
783
|
-
}) : /* @__PURE__ */
|
|
858
|
+
}) : /* @__PURE__ */ X(F, {
|
|
784
859
|
title: "Customers",
|
|
785
860
|
description: "ResourcePage combines header, stats, filters and sections.",
|
|
786
|
-
actions: /* @__PURE__ */
|
|
861
|
+
actions: /* @__PURE__ */ X(e, {
|
|
787
862
|
size: "sm",
|
|
788
863
|
children: "New customer"
|
|
789
864
|
}),
|
|
790
|
-
stats: /* @__PURE__ */
|
|
865
|
+
stats: /* @__PURE__ */ Z("div", {
|
|
791
866
|
className: "grid gap-3 sm:grid-cols-2",
|
|
792
|
-
children: [/* @__PURE__ */
|
|
867
|
+
children: [/* @__PURE__ */ X(V, {
|
|
793
868
|
title: "Active",
|
|
794
869
|
value: "2,418",
|
|
795
870
|
trend: {
|
|
796
871
|
value: "+8%",
|
|
797
872
|
tone: "success"
|
|
798
873
|
}
|
|
799
|
-
}), /* @__PURE__ */
|
|
874
|
+
}), /* @__PURE__ */ X(V, {
|
|
800
875
|
title: "Health",
|
|
801
876
|
value: "94%",
|
|
802
877
|
trend: {
|
|
@@ -805,8 +880,8 @@ function le({ slug: t }) {
|
|
|
805
880
|
}
|
|
806
881
|
})]
|
|
807
882
|
}),
|
|
808
|
-
filters: /* @__PURE__ */
|
|
809
|
-
search: /* @__PURE__ */
|
|
883
|
+
filters: /* @__PURE__ */ X(u, {
|
|
884
|
+
search: /* @__PURE__ */ X(r, {
|
|
810
885
|
type: "search",
|
|
811
886
|
value: "",
|
|
812
887
|
placeholder: "Search...",
|
|
@@ -814,9 +889,9 @@ function le({ slug: t }) {
|
|
|
814
889
|
}),
|
|
815
890
|
activeCount: 1
|
|
816
891
|
}),
|
|
817
|
-
children: /* @__PURE__ */
|
|
892
|
+
children: /* @__PURE__ */ X(I, {
|
|
818
893
|
title: "Recent activity",
|
|
819
|
-
children: /* @__PURE__ */
|
|
894
|
+
children: /* @__PURE__ */ X(D, { items: [{
|
|
820
895
|
key: "a",
|
|
821
896
|
title: "Customer added",
|
|
822
897
|
description: "Acme workspace",
|
|
@@ -831,4 +906,4 @@ function le({ slug: t }) {
|
|
|
831
906
|
});
|
|
832
907
|
}
|
|
833
908
|
//#endregion
|
|
834
|
-
export {
|
|
909
|
+
export { Q as renderShowcasePreview };
|