tembro 3.1.9 → 3.1.11
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 +6 -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/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/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 +286 -13
- 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
|
@@ -4,26 +4,27 @@ import { Badge as n } from "../components/ui/badge/index.js";
|
|
|
4
4
|
import { Table as r, TableBody as i, TableCell as a, TableHead as o, TableHeader as s, TableRow as c } from "../components/ui/table/index.js";
|
|
5
5
|
import { actionsShowcaseDemoRegistry as l } from "../components/actions/demo.js";
|
|
6
6
|
import { calendarShowcaseDemoRegistry as u } from "../components/calendar/demo.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
7
|
+
import { chartsShowcaseDemoRegistry as d } from "../components/charts/demo.js";
|
|
8
|
+
import { dataTableShowcaseDemoRegistry as f } from "../components/data-table/demo.js";
|
|
9
|
+
import { displayShowcaseDemoRegistry as p } from "../components/display/demo.js";
|
|
10
|
+
import { feedbackShowcaseDemoRegistry as m } from "../components/feedback/demo.js";
|
|
11
|
+
import { filtersShowcaseDemoRegistry as h } from "../components/filters/demo.js";
|
|
12
|
+
import { formShowcaseDemoRegistry as g } from "../components/form/demo.js";
|
|
13
|
+
import { inputsShowcaseDemoRegistry as _ } from "../components/inputs/demo.js";
|
|
14
|
+
import { layoutShowcaseDemoRegistry as v } from "../components/layout/demo.js";
|
|
15
|
+
import { navigationShowcaseDemoRegistry as y } from "../components/navigation/demo.js";
|
|
16
|
+
import { overlayShowcaseDemoRegistry as b } from "../components/overlay/demo.js";
|
|
17
|
+
import { patternsShowcaseDemoRegistry as x } from "../components/patterns/demo.js";
|
|
18
|
+
import { uploadShowcaseDemoRegistry as S } from "../components/upload/demo.js";
|
|
19
|
+
import { wizardShowcaseDemoRegistry as C } from "../components/wizard/demo.js";
|
|
20
|
+
import { defaultComponentDemoState as w } from "./premium/types.js";
|
|
21
|
+
import { premiumShowcaseDemoRegistry as T } from "./premium/index.js";
|
|
22
|
+
import { registrySpecificDemoRegistry as E } from "./registry-specific.js";
|
|
23
|
+
import { supplementalShowcaseDemoRegistry as D } from "./supplemental.js";
|
|
24
|
+
import { previewSurfaceCatalog as O } from "./preview-catalog.js";
|
|
25
|
+
import { jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
25
26
|
//#region src/showcase/preview-registry.tsx
|
|
26
|
-
var
|
|
27
|
+
var j = [
|
|
27
28
|
{
|
|
28
29
|
label: "Revenue",
|
|
29
30
|
value: "$24,780",
|
|
@@ -44,7 +45,7 @@ var A = [
|
|
|
44
45
|
value: "6.3%",
|
|
45
46
|
delta: "+1.1%"
|
|
46
47
|
}
|
|
47
|
-
],
|
|
48
|
+
], M = [
|
|
48
49
|
[
|
|
49
50
|
"TM-001",
|
|
50
51
|
"Acme Dashboard",
|
|
@@ -69,7 +70,7 @@ var A = [
|
|
|
69
70
|
"Live",
|
|
70
71
|
"$7,620"
|
|
71
72
|
]
|
|
72
|
-
],
|
|
73
|
+
], N = [
|
|
73
74
|
[
|
|
74
75
|
"INV-001",
|
|
75
76
|
"Acme Inc.",
|
|
@@ -100,7 +101,7 @@ var A = [
|
|
|
100
101
|
"Paid",
|
|
101
102
|
"$3,860"
|
|
102
103
|
]
|
|
103
|
-
],
|
|
104
|
+
], P = "min-h-screen bg-[var(--aui-page-bg-alt)] p-6 aui-text-strong", F = "border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] shadow-[var(--aui-shadow-panel)]", I = "border border-[color:var(--aui-divider)] bg-[color:var(--aui-surface-muted)]", L = "aui-surface-strong text-[color:var(--aui-surface-strong-foreground)]", R = "aui-text-muted", z = "text-[color:color-mix(in_oklch,var(--aui-surface-strong-foreground),transparent_28%)]", B = "border-[color:color-mix(in_oklch,var(--aui-surface-strong-foreground),transparent_88%)] bg-[color:color-mix(in_oklch,var(--aui-surface-strong-foreground),transparent_90%)] text-[color:var(--aui-surface-strong-foreground)]", V = "border-[color:color-mix(in_oklch,var(--aui-surface-strong-foreground),transparent_88%)] bg-[color:color-mix(in_oklch,var(--aui-surface-strong-foreground),transparent_95%)] text-[color:color-mix(in_oklch,var(--aui-surface-strong-foreground),transparent_18%)]", H = {
|
|
104
105
|
...l,
|
|
105
106
|
...u,
|
|
106
107
|
...d,
|
|
@@ -115,33 +116,34 @@ var A = [
|
|
|
115
116
|
...b,
|
|
116
117
|
...x,
|
|
117
118
|
...S,
|
|
118
|
-
...
|
|
119
|
+
...C,
|
|
119
120
|
...E,
|
|
120
|
-
...
|
|
121
|
+
...D,
|
|
122
|
+
...T
|
|
121
123
|
};
|
|
122
|
-
function
|
|
123
|
-
return /* @__PURE__ */
|
|
124
|
+
function U() {
|
|
125
|
+
return /* @__PURE__ */ k("div", {
|
|
124
126
|
className: "flex size-11 items-center justify-center rounded-2xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-surface-strong)] text-sm font-semibold tracking-[0.2em] text-[color:var(--aui-surface-strong-foreground)]",
|
|
125
127
|
children: "AZ"
|
|
126
128
|
});
|
|
127
129
|
}
|
|
128
|
-
function
|
|
129
|
-
return l === "dashboard" ? /* @__PURE__ */
|
|
130
|
-
className:
|
|
131
|
-
children: /* @__PURE__ */
|
|
130
|
+
function W({ tone: l }) {
|
|
131
|
+
return l === "dashboard" ? /* @__PURE__ */ k("div", {
|
|
132
|
+
className: P,
|
|
133
|
+
children: /* @__PURE__ */ A("div", {
|
|
132
134
|
className: "grid min-h-[720px] gap-6 lg:grid-cols-[260px_1fr]",
|
|
133
|
-
children: [/* @__PURE__ */
|
|
134
|
-
className: `rounded-[28px] p-5 ${
|
|
135
|
-
children: [/* @__PURE__ */
|
|
135
|
+
children: [/* @__PURE__ */ A("aside", {
|
|
136
|
+
className: `rounded-[28px] p-5 ${F}`,
|
|
137
|
+
children: [/* @__PURE__ */ A("div", {
|
|
136
138
|
className: "mb-6 flex items-center gap-3",
|
|
137
|
-
children: [/* @__PURE__ */
|
|
139
|
+
children: [/* @__PURE__ */ k(U, {}), /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
138
140
|
className: "font-semibold",
|
|
139
141
|
children: "Tembro"
|
|
140
|
-
}), /* @__PURE__ */
|
|
141
|
-
className: `text-sm ${
|
|
142
|
+
}), /* @__PURE__ */ k("p", {
|
|
143
|
+
className: `text-sm ${R}`,
|
|
142
144
|
children: "Dashboard shell"
|
|
143
145
|
})] })]
|
|
144
|
-
}), /* @__PURE__ */
|
|
146
|
+
}), /* @__PURE__ */ k("div", {
|
|
145
147
|
className: "space-y-2 text-sm",
|
|
146
148
|
children: [
|
|
147
149
|
"Overview",
|
|
@@ -150,90 +152,90 @@ function U({ tone: l }) {
|
|
|
150
152
|
"Orders",
|
|
151
153
|
"Finance",
|
|
152
154
|
"Settings"
|
|
153
|
-
].map((e, t) => /* @__PURE__ */
|
|
154
|
-
className: t === 0 ? `rounded-2xl px-4 py-3 ${
|
|
155
|
+
].map((e, t) => /* @__PURE__ */ k("div", {
|
|
156
|
+
className: t === 0 ? `rounded-2xl px-4 py-3 ${L}` : `rounded-2xl px-4 py-3 ${R}`,
|
|
155
157
|
children: e
|
|
156
158
|
}, e))
|
|
157
159
|
})]
|
|
158
|
-
}), /* @__PURE__ */
|
|
159
|
-
className: `space-y-6 rounded-[32px] p-6 ${
|
|
160
|
+
}), /* @__PURE__ */ A("main", {
|
|
161
|
+
className: `space-y-6 rounded-[32px] p-6 ${F}`,
|
|
160
162
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ A("div", {
|
|
162
164
|
className: "flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",
|
|
163
|
-
children: [/* @__PURE__ */
|
|
164
|
-
className: `text-sm uppercase tracking-[0.24em] ${
|
|
165
|
+
children: [/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
166
|
+
className: `text-sm uppercase tracking-[0.24em] ${R}`,
|
|
165
167
|
children: "Overview"
|
|
166
|
-
}), /* @__PURE__ */
|
|
168
|
+
}), /* @__PURE__ */ k("h1", {
|
|
167
169
|
className: "mt-2 text-4xl font-semibold tracking-tight",
|
|
168
170
|
children: "Operations dashboard"
|
|
169
|
-
})] }), /* @__PURE__ */
|
|
171
|
+
})] }), /* @__PURE__ */ A("div", {
|
|
170
172
|
className: "flex gap-3",
|
|
171
|
-
children: [/* @__PURE__ */
|
|
173
|
+
children: [/* @__PURE__ */ k(e, {
|
|
172
174
|
variant: "outline",
|
|
173
175
|
className: "rounded-2xl",
|
|
174
176
|
children: "Route preview"
|
|
175
|
-
}), /* @__PURE__ */
|
|
177
|
+
}), /* @__PURE__ */ k(e, {
|
|
176
178
|
className: "rounded-2xl",
|
|
177
179
|
children: "Create report"
|
|
178
180
|
})]
|
|
179
181
|
})]
|
|
180
182
|
}),
|
|
181
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ k("div", {
|
|
182
184
|
className: "grid gap-4 xl:grid-cols-4",
|
|
183
|
-
children:
|
|
184
|
-
className: `rounded-[24px] p-5 ${
|
|
185
|
+
children: j.map((e) => /* @__PURE__ */ A("div", {
|
|
186
|
+
className: `rounded-[24px] p-5 ${I}`,
|
|
185
187
|
children: [
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
className: `text-sm ${
|
|
188
|
+
/* @__PURE__ */ k("p", {
|
|
189
|
+
className: `text-sm ${R}`,
|
|
188
190
|
children: e.label
|
|
189
191
|
}),
|
|
190
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ k("p", {
|
|
191
193
|
className: "mt-2 text-3xl font-semibold tracking-tight",
|
|
192
194
|
children: e.value
|
|
193
195
|
}),
|
|
194
|
-
/* @__PURE__ */
|
|
196
|
+
/* @__PURE__ */ k("p", {
|
|
195
197
|
className: "mt-3 text-sm text-emerald-600",
|
|
196
198
|
children: e.delta
|
|
197
199
|
})
|
|
198
200
|
]
|
|
199
201
|
}, e.label))
|
|
200
202
|
}),
|
|
201
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ A("div", {
|
|
202
204
|
className: "grid gap-6 xl:grid-cols-[1.15fr_0.85fr]",
|
|
203
|
-
children: [/* @__PURE__ */
|
|
204
|
-
className: `rounded-[28px] p-5 ${
|
|
205
|
+
children: [/* @__PURE__ */ A("section", {
|
|
206
|
+
className: `rounded-[28px] p-5 ${I}`,
|
|
205
207
|
children: [
|
|
206
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ k("h2", {
|
|
207
209
|
className: "text-xl font-semibold",
|
|
208
210
|
children: "Revenue trend"
|
|
209
211
|
}),
|
|
210
|
-
/* @__PURE__ */
|
|
211
|
-
className: `mt-2 text-sm leading-6 ${
|
|
212
|
+
/* @__PURE__ */ k("p", {
|
|
213
|
+
className: `mt-2 text-sm leading-6 ${R}`,
|
|
212
214
|
children: "Monthly performance with steady lift across product lines."
|
|
213
215
|
}),
|
|
214
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ k("div", { className: "mt-5 h-72 rounded-[24px] bg-[color:var(--aui-page-bg)] [background-image:linear-gradient(180deg,color-mix(in_oklch,var(--aui-accent)_18%,transparent),transparent),radial-gradient(circle_at_bottom_left,color-mix(in_oklch,var(--aui-success)_20%,transparent),transparent_40%)]" })
|
|
215
217
|
]
|
|
216
|
-
}), /* @__PURE__ */
|
|
217
|
-
className: `rounded-[28px] p-5 ${
|
|
218
|
+
}), /* @__PURE__ */ A("section", {
|
|
219
|
+
className: `rounded-[28px] p-5 ${I}`,
|
|
218
220
|
children: [
|
|
219
|
-
/* @__PURE__ */
|
|
221
|
+
/* @__PURE__ */ k("h2", {
|
|
220
222
|
className: "text-xl font-semibold",
|
|
221
223
|
children: "Release checklist"
|
|
222
224
|
}),
|
|
223
|
-
/* @__PURE__ */
|
|
224
|
-
className: `mt-2 text-sm leading-6 ${
|
|
225
|
+
/* @__PURE__ */ k("p", {
|
|
226
|
+
className: `mt-2 text-sm leading-6 ${R}`,
|
|
225
227
|
children: "Production gating before public deployment."
|
|
226
228
|
}),
|
|
227
|
-
/* @__PURE__ */
|
|
229
|
+
/* @__PURE__ */ k("div", {
|
|
228
230
|
className: "mt-5 space-y-3",
|
|
229
231
|
children: [
|
|
230
232
|
"QA approved",
|
|
231
233
|
"Docs updated",
|
|
232
234
|
"Tokens synced",
|
|
233
235
|
"Routes verified"
|
|
234
|
-
].map((e, t) => /* @__PURE__ */
|
|
235
|
-
className: `flex items-center justify-between rounded-2xl px-4 py-3 ${
|
|
236
|
-
children: [/* @__PURE__ */
|
|
236
|
+
].map((e, t) => /* @__PURE__ */ A("div", {
|
|
237
|
+
className: `flex items-center justify-between rounded-2xl px-4 py-3 ${F}`,
|
|
238
|
+
children: [/* @__PURE__ */ k("span", { children: e }), /* @__PURE__ */ k(n, {
|
|
237
239
|
variant: t === 3 ? "outline" : "secondary",
|
|
238
240
|
children: t === 3 ? "Pending" : "Done"
|
|
239
241
|
})]
|
|
@@ -242,45 +244,45 @@ function U({ tone: l }) {
|
|
|
242
244
|
]
|
|
243
245
|
})]
|
|
244
246
|
}),
|
|
245
|
-
/* @__PURE__ */
|
|
246
|
-
className: `rounded-[28px] p-5 ${
|
|
247
|
-
children: [/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ A("section", {
|
|
248
|
+
className: `rounded-[28px] p-5 ${I}`,
|
|
249
|
+
children: [/* @__PURE__ */ A("div", {
|
|
248
250
|
className: "flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",
|
|
249
|
-
children: [/* @__PURE__ */
|
|
251
|
+
children: [/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("h2", {
|
|
250
252
|
className: "text-xl font-semibold",
|
|
251
253
|
children: "Recent workspaces"
|
|
252
|
-
}), /* @__PURE__ */
|
|
253
|
-
className: `mt-2 text-sm leading-6 ${
|
|
254
|
+
}), /* @__PURE__ */ k("p", {
|
|
255
|
+
className: `mt-2 text-sm leading-6 ${R}`,
|
|
254
256
|
children: "Dense table preview inside a public docs frame."
|
|
255
|
-
})] }), /* @__PURE__ */
|
|
257
|
+
})] }), /* @__PURE__ */ A("div", {
|
|
256
258
|
className: "flex gap-3",
|
|
257
|
-
children: [/* @__PURE__ */
|
|
259
|
+
children: [/* @__PURE__ */ k(t, {
|
|
258
260
|
placeholder: "Filter rows...",
|
|
259
261
|
className: "w-full lg:w-64"
|
|
260
|
-
}), /* @__PURE__ */
|
|
262
|
+
}), /* @__PURE__ */ k(e, {
|
|
261
263
|
variant: "outline",
|
|
262
264
|
className: "rounded-2xl",
|
|
263
265
|
children: "Export"
|
|
264
266
|
})]
|
|
265
267
|
})]
|
|
266
|
-
}), /* @__PURE__ */
|
|
267
|
-
className: `mt-5 overflow-hidden rounded-[24px] ${
|
|
268
|
-
children: /* @__PURE__ */
|
|
269
|
-
/* @__PURE__ */
|
|
270
|
-
/* @__PURE__ */
|
|
271
|
-
/* @__PURE__ */
|
|
272
|
-
/* @__PURE__ */
|
|
268
|
+
}), /* @__PURE__ */ k("div", {
|
|
269
|
+
className: `mt-5 overflow-hidden rounded-[24px] ${F}`,
|
|
270
|
+
children: /* @__PURE__ */ A(r, { children: [/* @__PURE__ */ k(s, { children: /* @__PURE__ */ A(c, { children: [
|
|
271
|
+
/* @__PURE__ */ k(o, { children: "ID" }),
|
|
272
|
+
/* @__PURE__ */ k(o, { children: "Name" }),
|
|
273
|
+
/* @__PURE__ */ k(o, { children: "Status" }),
|
|
274
|
+
/* @__PURE__ */ k(o, {
|
|
273
275
|
className: "text-right",
|
|
274
276
|
children: "Revenue"
|
|
275
277
|
})
|
|
276
|
-
] }) }), /* @__PURE__ */
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
/* @__PURE__ */
|
|
279
|
-
/* @__PURE__ */
|
|
278
|
+
] }) }), /* @__PURE__ */ k(i, { children: M.map(([e, t, r, i]) => /* @__PURE__ */ A(c, { children: [
|
|
279
|
+
/* @__PURE__ */ k(a, { children: e }),
|
|
280
|
+
/* @__PURE__ */ k(a, { children: t }),
|
|
281
|
+
/* @__PURE__ */ k(a, { children: /* @__PURE__ */ k(n, {
|
|
280
282
|
variant: r === "Live" ? "secondary" : r === "Review" ? "outline" : "destructive",
|
|
281
283
|
children: r
|
|
282
284
|
}) }),
|
|
283
|
-
/* @__PURE__ */
|
|
285
|
+
/* @__PURE__ */ k(a, {
|
|
284
286
|
className: "text-right",
|
|
285
287
|
children: i
|
|
286
288
|
})
|
|
@@ -290,83 +292,83 @@ function U({ tone: l }) {
|
|
|
290
292
|
]
|
|
291
293
|
})]
|
|
292
294
|
})
|
|
293
|
-
}) : l === "table" ? /* @__PURE__ */
|
|
294
|
-
className:
|
|
295
|
-
children: /* @__PURE__ */
|
|
296
|
-
className: `mx-auto max-w-6xl rounded-[32px] p-6 ${
|
|
297
|
-
children: [/* @__PURE__ */
|
|
295
|
+
}) : l === "table" ? /* @__PURE__ */ k("div", {
|
|
296
|
+
className: P,
|
|
297
|
+
children: /* @__PURE__ */ A("section", {
|
|
298
|
+
className: `mx-auto max-w-6xl rounded-[32px] p-6 ${F}`,
|
|
299
|
+
children: [/* @__PURE__ */ A("div", {
|
|
298
300
|
className: "flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between",
|
|
299
|
-
children: [/* @__PURE__ */
|
|
301
|
+
children: [/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("h1", {
|
|
300
302
|
className: "text-3xl font-semibold tracking-tight",
|
|
301
303
|
children: "Invoices table"
|
|
302
|
-
}), /* @__PURE__ */
|
|
303
|
-
className: `mt-2 text-sm leading-6 ${
|
|
304
|
+
}), /* @__PURE__ */ k("p", {
|
|
305
|
+
className: `mt-2 text-sm leading-6 ${R}`,
|
|
304
306
|
children: "Responsive data-table preview route with filters, states and pagination shell."
|
|
305
|
-
})] }), /* @__PURE__ */
|
|
307
|
+
})] }), /* @__PURE__ */ A("div", {
|
|
306
308
|
className: "flex gap-3",
|
|
307
309
|
children: [
|
|
308
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ k(t, {
|
|
309
311
|
placeholder: "Search invoices...",
|
|
310
312
|
className: "w-full lg:w-64"
|
|
311
313
|
}),
|
|
312
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ k(e, {
|
|
313
315
|
variant: "outline",
|
|
314
316
|
className: "rounded-2xl",
|
|
315
317
|
children: "Columns"
|
|
316
318
|
}),
|
|
317
|
-
/* @__PURE__ */
|
|
319
|
+
/* @__PURE__ */ k(e, {
|
|
318
320
|
className: "rounded-2xl",
|
|
319
321
|
children: "Export CSV"
|
|
320
322
|
})
|
|
321
323
|
]
|
|
322
324
|
})]
|
|
323
|
-
}), /* @__PURE__ */
|
|
325
|
+
}), /* @__PURE__ */ A("div", {
|
|
324
326
|
className: "mt-5 space-y-5",
|
|
325
327
|
children: [
|
|
326
|
-
/* @__PURE__ */
|
|
328
|
+
/* @__PURE__ */ k("div", {
|
|
327
329
|
className: "flex flex-wrap gap-2",
|
|
328
330
|
children: [
|
|
329
331
|
"All",
|
|
330
332
|
"Paid",
|
|
331
333
|
"Review",
|
|
332
334
|
"Draft"
|
|
333
|
-
].map((e, t) => /* @__PURE__ */
|
|
335
|
+
].map((e, t) => /* @__PURE__ */ k(n, {
|
|
334
336
|
variant: t === 0 ? "default" : "outline",
|
|
335
337
|
children: e
|
|
336
338
|
}, e))
|
|
337
339
|
}),
|
|
338
|
-
/* @__PURE__ */
|
|
339
|
-
className: `overflow-hidden rounded-[24px] ${
|
|
340
|
-
children: /* @__PURE__ */
|
|
341
|
-
/* @__PURE__ */
|
|
342
|
-
/* @__PURE__ */
|
|
343
|
-
/* @__PURE__ */
|
|
344
|
-
/* @__PURE__ */
|
|
340
|
+
/* @__PURE__ */ k("div", {
|
|
341
|
+
className: `overflow-hidden rounded-[24px] ${F}`,
|
|
342
|
+
children: /* @__PURE__ */ A(r, { children: [/* @__PURE__ */ k(s, { children: /* @__PURE__ */ A(c, { children: [
|
|
343
|
+
/* @__PURE__ */ k(o, { children: "Invoice" }),
|
|
344
|
+
/* @__PURE__ */ k(o, { children: "Customer" }),
|
|
345
|
+
/* @__PURE__ */ k(o, { children: "Status" }),
|
|
346
|
+
/* @__PURE__ */ k(o, {
|
|
345
347
|
className: "text-right",
|
|
346
348
|
children: "Amount"
|
|
347
349
|
})
|
|
348
|
-
] }) }), /* @__PURE__ */
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
/* @__PURE__ */
|
|
351
|
-
/* @__PURE__ */
|
|
350
|
+
] }) }), /* @__PURE__ */ k(i, { children: N.map(([e, t, r, i]) => /* @__PURE__ */ A(c, { children: [
|
|
351
|
+
/* @__PURE__ */ k(a, { children: e }),
|
|
352
|
+
/* @__PURE__ */ k(a, { children: t }),
|
|
353
|
+
/* @__PURE__ */ k(a, { children: /* @__PURE__ */ k(n, {
|
|
352
354
|
variant: r === "Paid" ? "secondary" : r === "Review" ? "outline" : "destructive",
|
|
353
355
|
children: r
|
|
354
356
|
}) }),
|
|
355
|
-
/* @__PURE__ */
|
|
357
|
+
/* @__PURE__ */ k(a, {
|
|
356
358
|
className: "text-right",
|
|
357
359
|
children: i
|
|
358
360
|
})
|
|
359
361
|
] }, e)) })] })
|
|
360
362
|
}),
|
|
361
|
-
/* @__PURE__ */
|
|
362
|
-
className: `flex items-center justify-between rounded-[24px] px-4 py-3 text-sm ${
|
|
363
|
-
children: [/* @__PURE__ */
|
|
363
|
+
/* @__PURE__ */ A("div", {
|
|
364
|
+
className: `flex items-center justify-between rounded-[24px] px-4 py-3 text-sm ${I} ${R}`,
|
|
365
|
+
children: [/* @__PURE__ */ k("span", { children: "5 rows visible" }), /* @__PURE__ */ A("div", {
|
|
364
366
|
className: "flex gap-2",
|
|
365
|
-
children: [/* @__PURE__ */
|
|
367
|
+
children: [/* @__PURE__ */ k(e, {
|
|
366
368
|
variant: "outline",
|
|
367
369
|
size: "sm",
|
|
368
370
|
children: "Prev"
|
|
369
|
-
}), /* @__PURE__ */
|
|
371
|
+
}), /* @__PURE__ */ k(e, {
|
|
370
372
|
size: "sm",
|
|
371
373
|
children: "Next"
|
|
372
374
|
})]
|
|
@@ -375,185 +377,185 @@ function U({ tone: l }) {
|
|
|
375
377
|
]
|
|
376
378
|
})]
|
|
377
379
|
})
|
|
378
|
-
}) : l === "auth" ? /* @__PURE__ */
|
|
380
|
+
}) : l === "auth" ? /* @__PURE__ */ k("div", {
|
|
379
381
|
className: "min-h-screen bg-[linear-gradient(180deg,color-mix(in_oklch,var(--aui-warning)_14%,var(--aui-page-bg-alt)),var(--aui-page-bg))] p-6 aui-text-strong",
|
|
380
|
-
children: /* @__PURE__ */
|
|
382
|
+
children: /* @__PURE__ */ A("div", {
|
|
381
383
|
className: "mx-auto grid min-h-[720px] max-w-6xl gap-6 lg:grid-cols-[1.05fr_0.95fr]",
|
|
382
|
-
children: [/* @__PURE__ */
|
|
384
|
+
children: [/* @__PURE__ */ A("div", {
|
|
383
385
|
className: "flex flex-col justify-between rounded-[36px] border border-[color:color-mix(in_oklch,var(--aui-warning)_40%,transparent)] bg-[radial-gradient(circle_at_top_left,color-mix(in_oklch,var(--aui-warning)_22%,transparent),transparent_35%),var(--aui-surface-strong)] p-8 text-[color:var(--aui-surface-strong-foreground)] shadow-[var(--aui-shadow-panel)]",
|
|
384
|
-
children: [/* @__PURE__ */
|
|
385
|
-
/* @__PURE__ */
|
|
386
|
-
className: `inline-flex items-center gap-3 rounded-full border px-3 py-2 ${
|
|
387
|
-
children: [/* @__PURE__ */
|
|
386
|
+
children: [/* @__PURE__ */ A("div", { children: [
|
|
387
|
+
/* @__PURE__ */ A("div", {
|
|
388
|
+
className: `inline-flex items-center gap-3 rounded-full border px-3 py-2 ${B}`,
|
|
389
|
+
children: [/* @__PURE__ */ k("div", {
|
|
388
390
|
className: "flex size-8 items-center justify-center rounded-xl border-[color:color-mix(in_oklch,var(--aui-surface-strong-foreground),transparent_88%)] bg-[color:var(--aui-page-bg)] text-xs font-semibold tracking-[0.22em] text-[color:var(--aui-page-foreground)]",
|
|
389
391
|
children: "AZ"
|
|
390
|
-
}), /* @__PURE__ */
|
|
392
|
+
}), /* @__PURE__ */ k("span", {
|
|
391
393
|
className: "text-sm font-medium",
|
|
392
394
|
children: "Tembro"
|
|
393
395
|
})]
|
|
394
396
|
}),
|
|
395
|
-
/* @__PURE__ */
|
|
397
|
+
/* @__PURE__ */ k("h1", {
|
|
396
398
|
className: "mt-8 max-w-lg text-5xl font-semibold tracking-tight",
|
|
397
399
|
children: "Production sign in flow for modern product surfaces."
|
|
398
400
|
}),
|
|
399
|
-
/* @__PURE__ */
|
|
400
|
-
className: `mt-4 max-w-md text-base leading-7 ${
|
|
401
|
+
/* @__PURE__ */ k("p", {
|
|
402
|
+
className: `mt-4 max-w-md text-base leading-7 ${z}`,
|
|
401
403
|
children: "Preview a reusable auth block inside the docs system without leaving the library site."
|
|
402
404
|
})
|
|
403
|
-
] }), /* @__PURE__ */
|
|
405
|
+
] }), /* @__PURE__ */ k("div", {
|
|
404
406
|
className: "grid gap-3 sm:grid-cols-3",
|
|
405
407
|
children: [
|
|
406
408
|
"Social login",
|
|
407
409
|
"Password reset",
|
|
408
410
|
"Session states"
|
|
409
|
-
].map((e) => /* @__PURE__ */
|
|
410
|
-
className: `rounded-2xl border px-4 py-4 text-sm ${
|
|
411
|
+
].map((e) => /* @__PURE__ */ k("div", {
|
|
412
|
+
className: `rounded-2xl border px-4 py-4 text-sm ${V}`,
|
|
411
413
|
children: e
|
|
412
414
|
}, e))
|
|
413
415
|
})]
|
|
414
|
-
}), /* @__PURE__ */
|
|
415
|
-
className: `flex items-center rounded-[36px] p-8 ${
|
|
416
|
-
children: /* @__PURE__ */
|
|
416
|
+
}), /* @__PURE__ */ k("section", {
|
|
417
|
+
className: `flex items-center rounded-[36px] p-8 ${F}`,
|
|
418
|
+
children: /* @__PURE__ */ A("div", {
|
|
417
419
|
className: "mx-auto w-full max-w-md space-y-6",
|
|
418
420
|
children: [
|
|
419
|
-
/* @__PURE__ */
|
|
421
|
+
/* @__PURE__ */ A("div", {
|
|
420
422
|
className: "space-y-2 text-center",
|
|
421
|
-
children: [/* @__PURE__ */
|
|
423
|
+
children: [/* @__PURE__ */ k("h2", {
|
|
422
424
|
className: "text-3xl font-semibold tracking-tight",
|
|
423
425
|
children: "Welcome back"
|
|
424
|
-
}), /* @__PURE__ */
|
|
425
|
-
className: `text-sm leading-6 ${
|
|
426
|
+
}), /* @__PURE__ */ k("p", {
|
|
427
|
+
className: `text-sm leading-6 ${R}`,
|
|
426
428
|
children: "Sign in to continue to your workspace and preview environment."
|
|
427
429
|
})]
|
|
428
430
|
}),
|
|
429
|
-
/* @__PURE__ */
|
|
431
|
+
/* @__PURE__ */ k(e, {
|
|
430
432
|
variant: "outline",
|
|
431
433
|
className: "w-full rounded-2xl",
|
|
432
434
|
children: "Continue with Google"
|
|
433
435
|
}),
|
|
434
|
-
/* @__PURE__ */
|
|
436
|
+
/* @__PURE__ */ A("div", {
|
|
435
437
|
className: "grid gap-4",
|
|
436
|
-
children: [/* @__PURE__ */
|
|
438
|
+
children: [/* @__PURE__ */ A("div", {
|
|
437
439
|
className: "space-y-2",
|
|
438
|
-
children: [/* @__PURE__ */
|
|
440
|
+
children: [/* @__PURE__ */ k("label", {
|
|
439
441
|
className: "text-sm font-medium aui-text-subtle",
|
|
440
442
|
children: "Email"
|
|
441
|
-
}), /* @__PURE__ */
|
|
442
|
-
}), /* @__PURE__ */
|
|
443
|
+
}), /* @__PURE__ */ k(t, { defaultValue: "jane@example.com" })]
|
|
444
|
+
}), /* @__PURE__ */ A("div", {
|
|
443
445
|
className: "space-y-2",
|
|
444
|
-
children: [/* @__PURE__ */
|
|
446
|
+
children: [/* @__PURE__ */ k("label", {
|
|
445
447
|
className: "text-sm font-medium aui-text-subtle",
|
|
446
448
|
children: "Password"
|
|
447
|
-
}), /* @__PURE__ */
|
|
449
|
+
}), /* @__PURE__ */ k(t, {
|
|
448
450
|
type: "password",
|
|
449
451
|
defaultValue: "password123"
|
|
450
452
|
})]
|
|
451
453
|
})]
|
|
452
454
|
}),
|
|
453
|
-
/* @__PURE__ */
|
|
455
|
+
/* @__PURE__ */ k(e, {
|
|
454
456
|
className: "w-full rounded-2xl",
|
|
455
457
|
children: "Sign in"
|
|
456
458
|
}),
|
|
457
|
-
/* @__PURE__ */
|
|
458
|
-
className: `flex items-center justify-between text-sm ${
|
|
459
|
-
children: [/* @__PURE__ */
|
|
459
|
+
/* @__PURE__ */ A("div", {
|
|
460
|
+
className: `flex items-center justify-between text-sm ${R}`,
|
|
461
|
+
children: [/* @__PURE__ */ k("span", { children: "Forgot password?" }), /* @__PURE__ */ k("span", { children: "Create account" })]
|
|
460
462
|
})
|
|
461
463
|
]
|
|
462
464
|
})
|
|
463
465
|
})]
|
|
464
466
|
})
|
|
465
|
-
}) : l === "product" ? /* @__PURE__ */
|
|
467
|
+
}) : l === "product" ? /* @__PURE__ */ k("div", {
|
|
466
468
|
className: "min-h-screen bg-[linear-gradient(180deg,color-mix(in_oklch,var(--aui-danger)_10%,var(--aui-page-bg-alt)),var(--aui-page-bg))] p-6 aui-text-strong",
|
|
467
|
-
children: /* @__PURE__ */
|
|
469
|
+
children: /* @__PURE__ */ A("div", {
|
|
468
470
|
className: "mx-auto grid max-w-6xl gap-6 lg:grid-cols-[1.05fr_0.95fr]",
|
|
469
|
-
children: [/* @__PURE__ */
|
|
470
|
-
className: `rounded-[36px] p-8 ${
|
|
471
|
-
children: /* @__PURE__ */
|
|
471
|
+
children: [/* @__PURE__ */ k("section", {
|
|
472
|
+
className: `rounded-[36px] p-8 ${F}`,
|
|
473
|
+
children: /* @__PURE__ */ k("div", {
|
|
472
474
|
className: "flex h-[560px] items-center justify-center rounded-[28px] bg-[radial-gradient(circle_at_top,color-mix(in_oklch,var(--aui-danger)_16%,transparent),transparent_35%),linear-gradient(180deg,var(--aui-page-bg),color-mix(in_oklch,var(--aui-danger)_8%,var(--aui-page-bg)))]",
|
|
473
|
-
children: /* @__PURE__ */
|
|
475
|
+
children: /* @__PURE__ */ A("div", {
|
|
474
476
|
className: "grid gap-6",
|
|
475
|
-
children: [/* @__PURE__ */
|
|
477
|
+
children: [/* @__PURE__ */ k("div", { className: `mx-auto h-72 w-56 rounded-[28px] ${F}` }), /* @__PURE__ */ k("div", {
|
|
476
478
|
className: "grid grid-cols-4 gap-3",
|
|
477
479
|
children: [
|
|
478
480
|
,
|
|
479
481
|
,
|
|
480
482
|
,
|
|
481
483
|
,
|
|
482
|
-
].fill(null).map((e, t) => /* @__PURE__ */
|
|
484
|
+
].fill(null).map((e, t) => /* @__PURE__ */ k("div", { className: `h-20 rounded-2xl ${F}` }, t))
|
|
483
485
|
})]
|
|
484
486
|
})
|
|
485
487
|
})
|
|
486
|
-
}), /* @__PURE__ */
|
|
487
|
-
className: `space-y-6 rounded-[36px] p-8 ${
|
|
488
|
+
}), /* @__PURE__ */ A("div", {
|
|
489
|
+
className: `space-y-6 rounded-[36px] p-8 ${F}`,
|
|
488
490
|
children: [
|
|
489
|
-
/* @__PURE__ */
|
|
491
|
+
/* @__PURE__ */ A("div", {
|
|
490
492
|
className: "space-y-4",
|
|
491
493
|
children: [
|
|
492
|
-
/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ A("div", {
|
|
493
495
|
className: "flex items-center gap-3",
|
|
494
|
-
children: [/* @__PURE__ */
|
|
496
|
+
children: [/* @__PURE__ */ k(n, {
|
|
495
497
|
className: "rounded-full bg-emerald-50 text-emerald-700 hover:bg-emerald-50",
|
|
496
498
|
children: "In stock"
|
|
497
|
-
}), /* @__PURE__ */
|
|
499
|
+
}), /* @__PURE__ */ k(n, {
|
|
498
500
|
variant: "outline",
|
|
499
501
|
children: "Ships today"
|
|
500
502
|
})]
|
|
501
503
|
}),
|
|
502
|
-
/* @__PURE__ */
|
|
504
|
+
/* @__PURE__ */ k("h1", {
|
|
503
505
|
className: "text-5xl font-semibold tracking-tight",
|
|
504
506
|
children: "Azamat Chair"
|
|
505
507
|
}),
|
|
506
|
-
/* @__PURE__ */
|
|
507
|
-
className: `text-lg leading-8 ${
|
|
508
|
+
/* @__PURE__ */ k("p", {
|
|
509
|
+
className: `text-lg leading-8 ${R}`,
|
|
508
510
|
children: "A clean product detail surface with media gallery, pricing hierarchy and conversion controls."
|
|
509
511
|
})
|
|
510
512
|
]
|
|
511
513
|
}),
|
|
512
|
-
/* @__PURE__ */
|
|
513
|
-
className: `rounded-[28px] p-6 ${
|
|
514
|
-
children: /* @__PURE__ */
|
|
514
|
+
/* @__PURE__ */ k("div", {
|
|
515
|
+
className: `rounded-[28px] p-6 ${I}`,
|
|
516
|
+
children: /* @__PURE__ */ A("div", {
|
|
515
517
|
className: "flex items-end justify-between",
|
|
516
|
-
children: [/* @__PURE__ */
|
|
517
|
-
className: `text-sm ${
|
|
518
|
+
children: [/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
519
|
+
className: `text-sm ${R}`,
|
|
518
520
|
children: "Price"
|
|
519
|
-
}), /* @__PURE__ */
|
|
521
|
+
}), /* @__PURE__ */ k("p", {
|
|
520
522
|
className: "mt-2 text-4xl font-semibold",
|
|
521
523
|
children: "$249"
|
|
522
|
-
})] }), /* @__PURE__ */
|
|
524
|
+
})] }), /* @__PURE__ */ k("p", {
|
|
523
525
|
className: "text-sm text-emerald-600",
|
|
524
526
|
children: "Free shipping"
|
|
525
527
|
})]
|
|
526
528
|
})
|
|
527
529
|
}),
|
|
528
|
-
/* @__PURE__ */
|
|
530
|
+
/* @__PURE__ */ k("div", {
|
|
529
531
|
className: "grid gap-3 sm:grid-cols-3",
|
|
530
532
|
children: [
|
|
531
533
|
"Oak",
|
|
532
534
|
"Walnut",
|
|
533
535
|
"Black"
|
|
534
|
-
].map((e, t) => /* @__PURE__ */
|
|
535
|
-
className: t === 0 ? `rounded-2xl border px-4 py-3 text-sm ${
|
|
536
|
+
].map((e, t) => /* @__PURE__ */ k("button", {
|
|
537
|
+
className: t === 0 ? `rounded-2xl border px-4 py-3 text-sm ${L}` : "rounded-2xl border border-[color:var(--aui-divider)] px-4 py-3 text-sm aui-text-subtle",
|
|
536
538
|
children: e
|
|
537
539
|
}, e))
|
|
538
540
|
}),
|
|
539
|
-
/* @__PURE__ */
|
|
541
|
+
/* @__PURE__ */ A("div", {
|
|
540
542
|
className: "flex gap-3",
|
|
541
|
-
children: [/* @__PURE__ */
|
|
543
|
+
children: [/* @__PURE__ */ k(e, {
|
|
542
544
|
className: "flex-1 rounded-2xl",
|
|
543
545
|
children: "Add to cart"
|
|
544
|
-
}), /* @__PURE__ */
|
|
546
|
+
}), /* @__PURE__ */ k(e, {
|
|
545
547
|
variant: "outline",
|
|
546
548
|
className: "flex-1 rounded-2xl",
|
|
547
549
|
children: "Save"
|
|
548
550
|
})]
|
|
549
551
|
}),
|
|
550
|
-
/* @__PURE__ */
|
|
552
|
+
/* @__PURE__ */ k("div", {
|
|
551
553
|
className: "grid gap-3",
|
|
552
554
|
children: [
|
|
553
555
|
"Premium ash wood frame",
|
|
554
556
|
"Textured linen seat",
|
|
555
557
|
"Two-year warranty"
|
|
556
|
-
].map((e) => /* @__PURE__ */
|
|
558
|
+
].map((e) => /* @__PURE__ */ k("div", {
|
|
557
559
|
className: "rounded-2xl border border-[color:var(--aui-divider)] px-4 py-3 text-sm aui-text-subtle",
|
|
558
560
|
children: e
|
|
559
561
|
}, e))
|
|
@@ -561,24 +563,24 @@ function U({ tone: l }) {
|
|
|
561
563
|
]
|
|
562
564
|
})]
|
|
563
565
|
})
|
|
564
|
-
}) : l === "command" ? /* @__PURE__ */
|
|
565
|
-
className:
|
|
566
|
-
children: /* @__PURE__ */
|
|
567
|
-
className: `mx-auto max-w-4xl rounded-[36px] p-6 ${
|
|
568
|
-
children: /* @__PURE__ */
|
|
569
|
-
className: `mx-auto max-w-3xl overflow-hidden rounded-[28px] bg-[linear-gradient(180deg,var(--aui-page-bg),var(--aui-page-bg-alt))] ${
|
|
570
|
-
children: [/* @__PURE__ */
|
|
566
|
+
}) : l === "command" ? /* @__PURE__ */ k("div", {
|
|
567
|
+
className: P,
|
|
568
|
+
children: /* @__PURE__ */ k("div", {
|
|
569
|
+
className: `mx-auto max-w-4xl rounded-[36px] p-6 ${F}`,
|
|
570
|
+
children: /* @__PURE__ */ A("div", {
|
|
571
|
+
className: `mx-auto max-w-3xl overflow-hidden rounded-[28px] bg-[linear-gradient(180deg,var(--aui-page-bg),var(--aui-page-bg-alt))] ${F}`,
|
|
572
|
+
children: [/* @__PURE__ */ k("div", {
|
|
571
573
|
className: "border-b border-[color:var(--aui-divider)] px-5 py-4",
|
|
572
|
-
children: /* @__PURE__ */
|
|
574
|
+
children: /* @__PURE__ */ k(t, {
|
|
573
575
|
defaultValue: "Search components, blocks, templates...",
|
|
574
576
|
className: "border-0 px-0 text-base shadow-none focus-visible:ring-0"
|
|
575
577
|
})
|
|
576
|
-
}), /* @__PURE__ */
|
|
578
|
+
}), /* @__PURE__ */ A("div", {
|
|
577
579
|
className: "grid gap-6 p-5 md:grid-cols-2",
|
|
578
|
-
children: [/* @__PURE__ */
|
|
579
|
-
className: `mb-3 text-xs font-semibold uppercase tracking-[0.24em] ${
|
|
580
|
+
children: [/* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
581
|
+
className: `mb-3 text-xs font-semibold uppercase tracking-[0.24em] ${R}`,
|
|
580
582
|
children: "Trending"
|
|
581
|
-
}), /* @__PURE__ */
|
|
583
|
+
}), /* @__PURE__ */ k("div", {
|
|
582
584
|
className: "space-y-2",
|
|
583
585
|
children: [
|
|
584
586
|
"Button",
|
|
@@ -586,24 +588,24 @@ function U({ tone: l }) {
|
|
|
586
588
|
"Card",
|
|
587
589
|
"Dialog",
|
|
588
590
|
"Data Table"
|
|
589
|
-
].map((e, t) => /* @__PURE__ */
|
|
590
|
-
className: t === 0 ? `flex items-center justify-between rounded-2xl px-4 py-3 text-sm ${
|
|
591
|
-
children: [/* @__PURE__ */
|
|
591
|
+
].map((e, t) => /* @__PURE__ */ A("div", {
|
|
592
|
+
className: t === 0 ? `flex items-center justify-between rounded-2xl px-4 py-3 text-sm ${L}` : "flex items-center justify-between rounded-2xl px-4 py-3 text-sm aui-text-subtle",
|
|
593
|
+
children: [/* @__PURE__ */ k("span", { children: e }), /* @__PURE__ */ k(n, {
|
|
592
594
|
variant: t === 0 ? "secondary" : "outline",
|
|
593
595
|
children: String.fromCharCode(66 + t)
|
|
594
596
|
})]
|
|
595
597
|
}, e))
|
|
596
|
-
})] }), /* @__PURE__ */
|
|
597
|
-
className: `mb-3 text-xs font-semibold uppercase tracking-[0.24em] ${
|
|
598
|
+
})] }), /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("p", {
|
|
599
|
+
className: `mb-3 text-xs font-semibold uppercase tracking-[0.24em] ${R}`,
|
|
598
600
|
children: "Quick actions"
|
|
599
|
-
}), /* @__PURE__ */
|
|
601
|
+
}), /* @__PURE__ */ k("div", {
|
|
600
602
|
className: "space-y-2",
|
|
601
603
|
children: [
|
|
602
604
|
"Open docs",
|
|
603
605
|
"Preview template",
|
|
604
606
|
"Copy install command",
|
|
605
607
|
"Switch theme"
|
|
606
|
-
].map((e) => /* @__PURE__ */
|
|
608
|
+
].map((e) => /* @__PURE__ */ k("div", {
|
|
607
609
|
className: "rounded-2xl border border-[color:var(--aui-divider)] px-4 py-3 text-sm aui-text-subtle",
|
|
608
610
|
children: e
|
|
609
611
|
}, e))
|
|
@@ -611,22 +613,22 @@ function U({ tone: l }) {
|
|
|
611
613
|
})]
|
|
612
614
|
})
|
|
613
615
|
})
|
|
614
|
-
}) : l === "calendar" ? /* @__PURE__ */
|
|
616
|
+
}) : l === "calendar" ? /* @__PURE__ */ k("div", {
|
|
615
617
|
className: "min-h-screen bg-[linear-gradient(180deg,color-mix(in_oklch,var(--aui-accent)_10%,var(--aui-page-bg-alt)),var(--aui-page-bg))] p-6 aui-text-strong",
|
|
616
|
-
children: /* @__PURE__ */
|
|
618
|
+
children: /* @__PURE__ */ A("div", {
|
|
617
619
|
className: "mx-auto grid max-w-5xl gap-6 lg:grid-cols-[0.95fr_1.05fr]",
|
|
618
|
-
children: [/* @__PURE__ */
|
|
619
|
-
className: `rounded-[32px] p-6 ${
|
|
620
|
+
children: [/* @__PURE__ */ A("section", {
|
|
621
|
+
className: `rounded-[32px] p-6 ${F}`,
|
|
620
622
|
children: [
|
|
621
|
-
/* @__PURE__ */
|
|
623
|
+
/* @__PURE__ */ k("h1", {
|
|
622
624
|
className: "text-3xl font-semibold tracking-tight",
|
|
623
625
|
children: "June 2026"
|
|
624
626
|
}),
|
|
625
|
-
/* @__PURE__ */
|
|
626
|
-
className: `mt-2 text-sm leading-6 ${
|
|
627
|
+
/* @__PURE__ */ k("p", {
|
|
628
|
+
className: `mt-2 text-sm leading-6 ${R}`,
|
|
627
629
|
children: "Calendar family preview with selected dates and scheduling context."
|
|
628
630
|
}),
|
|
629
|
-
/* @__PURE__ */
|
|
631
|
+
/* @__PURE__ */ k("div", {
|
|
630
632
|
className: "mt-5 grid grid-cols-7 gap-2 text-center text-sm",
|
|
631
633
|
children: [
|
|
632
634
|
"Mo",
|
|
@@ -637,46 +639,46 @@ function U({ tone: l }) {
|
|
|
637
639
|
"Sa",
|
|
638
640
|
"Su",
|
|
639
641
|
...Array.from({ length: 35 }, (e, t) => `${t + 1}`)
|
|
640
|
-
].map((e, t) => /* @__PURE__ */
|
|
641
|
-
className: t > 10 && t < 13 ? `rounded-2xl px-3 py-3 ${
|
|
642
|
+
].map((e, t) => /* @__PURE__ */ k("div", {
|
|
643
|
+
className: t > 10 && t < 13 ? `rounded-2xl px-3 py-3 ${L}` : "rounded-2xl border border-[color:var(--aui-divider)] px-3 py-3 aui-text-subtle",
|
|
642
644
|
children: e
|
|
643
645
|
}, `${e}-${t}`))
|
|
644
646
|
})
|
|
645
647
|
]
|
|
646
|
-
}), /* @__PURE__ */
|
|
647
|
-
className: `rounded-[32px] p-6 ${
|
|
648
|
+
}), /* @__PURE__ */ A("section", {
|
|
649
|
+
className: `rounded-[32px] p-6 ${F}`,
|
|
648
650
|
children: [
|
|
649
|
-
/* @__PURE__ */
|
|
651
|
+
/* @__PURE__ */ k("h2", {
|
|
650
652
|
className: "text-2xl font-semibold tracking-tight",
|
|
651
653
|
children: "Schedule event"
|
|
652
654
|
}),
|
|
653
|
-
/* @__PURE__ */
|
|
654
|
-
className: `mt-2 text-sm leading-6 ${
|
|
655
|
+
/* @__PURE__ */ k("p", {
|
|
656
|
+
className: `mt-2 text-sm leading-6 ${R}`,
|
|
655
657
|
children: "Pair calendar surfaces with summary cards and chosen range context."
|
|
656
658
|
}),
|
|
657
|
-
/* @__PURE__ */
|
|
659
|
+
/* @__PURE__ */ A("div", {
|
|
658
660
|
className: "mt-5 space-y-4",
|
|
659
|
-
children: [/* @__PURE__ */
|
|
660
|
-
className: `rounded-[24px] p-5 ${
|
|
661
|
-
children: [/* @__PURE__ */
|
|
662
|
-
className: `text-sm ${
|
|
661
|
+
children: [/* @__PURE__ */ A("div", {
|
|
662
|
+
className: `rounded-[24px] p-5 ${I}`,
|
|
663
|
+
children: [/* @__PURE__ */ k("p", {
|
|
664
|
+
className: `text-sm ${R}`,
|
|
663
665
|
children: "Selected range"
|
|
664
|
-
}), /* @__PURE__ */
|
|
666
|
+
}), /* @__PURE__ */ k("p", {
|
|
665
667
|
className: "mt-2 text-2xl font-semibold",
|
|
666
668
|
children: "12 Jun - 18 Jun"
|
|
667
669
|
})]
|
|
668
|
-
}), /* @__PURE__ */
|
|
670
|
+
}), /* @__PURE__ */ k("div", {
|
|
669
671
|
className: "grid gap-3",
|
|
670
672
|
children: [
|
|
671
673
|
"Design review",
|
|
672
674
|
"Prototype handoff",
|
|
673
675
|
"Release QA"
|
|
674
|
-
].map((e) => /* @__PURE__ */
|
|
676
|
+
].map((e) => /* @__PURE__ */ A("div", {
|
|
675
677
|
className: "flex items-center justify-between rounded-2xl border border-[color:var(--aui-divider)] px-4 py-3",
|
|
676
|
-
children: [/* @__PURE__ */
|
|
678
|
+
children: [/* @__PURE__ */ k("span", {
|
|
677
679
|
className: "text-sm aui-text-subtle",
|
|
678
680
|
children: e
|
|
679
|
-
}), /* @__PURE__ */
|
|
681
|
+
}), /* @__PURE__ */ k(n, {
|
|
680
682
|
variant: "outline",
|
|
681
683
|
children: "Scheduled"
|
|
682
684
|
})]
|
|
@@ -686,62 +688,62 @@ function U({ tone: l }) {
|
|
|
686
688
|
]
|
|
687
689
|
})]
|
|
688
690
|
})
|
|
689
|
-
}) : /* @__PURE__ */
|
|
691
|
+
}) : /* @__PURE__ */ k("div", {
|
|
690
692
|
className: "min-h-screen bg-[linear-gradient(180deg,color-mix(in_oklch,var(--aui-success)_8%,var(--aui-page-bg-alt)),var(--aui-page-bg))] p-6 aui-text-strong",
|
|
691
|
-
children: /* @__PURE__ */
|
|
693
|
+
children: /* @__PURE__ */ k("div", {
|
|
692
694
|
className: "mx-auto max-w-5xl space-y-6",
|
|
693
|
-
children: /* @__PURE__ */
|
|
694
|
-
className: `rounded-[32px] p-6 ${
|
|
695
|
+
children: /* @__PURE__ */ A("section", {
|
|
696
|
+
className: `rounded-[32px] p-6 ${F}`,
|
|
695
697
|
children: [
|
|
696
|
-
/* @__PURE__ */
|
|
698
|
+
/* @__PURE__ */ k("h1", {
|
|
697
699
|
className: "text-3xl font-semibold tracking-tight",
|
|
698
700
|
children: "Upload assets"
|
|
699
701
|
}),
|
|
700
|
-
/* @__PURE__ */
|
|
701
|
-
className: `mt-2 text-sm leading-6 ${
|
|
702
|
+
/* @__PURE__ */ k("p", {
|
|
703
|
+
className: `mt-2 text-sm leading-6 ${R}`,
|
|
702
704
|
children: "Preview drag, status and asset-library patterns in one route."
|
|
703
705
|
}),
|
|
704
|
-
/* @__PURE__ */
|
|
706
|
+
/* @__PURE__ */ A("div", {
|
|
705
707
|
className: "mt-5 grid gap-6 lg:grid-cols-[1.05fr_0.95fr]",
|
|
706
|
-
children: [/* @__PURE__ */
|
|
708
|
+
children: [/* @__PURE__ */ k("div", {
|
|
707
709
|
className: "flex min-h-[320px] items-center justify-center rounded-[28px] border border-dashed border-[color:var(--aui-surface-border)] bg-[color:var(--aui-surface-muted)]",
|
|
708
|
-
children: /* @__PURE__ */
|
|
710
|
+
children: /* @__PURE__ */ A("div", {
|
|
709
711
|
className: "space-y-3 text-center",
|
|
710
712
|
children: [
|
|
711
|
-
/* @__PURE__ */
|
|
713
|
+
/* @__PURE__ */ k("p", {
|
|
712
714
|
className: "text-lg font-semibold",
|
|
713
715
|
children: "Drop files here"
|
|
714
716
|
}),
|
|
715
|
-
/* @__PURE__ */
|
|
716
|
-
className: `text-sm ${
|
|
717
|
+
/* @__PURE__ */ k("p", {
|
|
718
|
+
className: `text-sm ${R}`,
|
|
717
719
|
children: "PNG, JPG, SVG, PDF up to 20MB"
|
|
718
720
|
}),
|
|
719
|
-
/* @__PURE__ */
|
|
721
|
+
/* @__PURE__ */ k(e, {
|
|
720
722
|
className: "rounded-2xl",
|
|
721
723
|
children: "Browse files"
|
|
722
724
|
})
|
|
723
725
|
]
|
|
724
726
|
})
|
|
725
|
-
}), /* @__PURE__ */
|
|
727
|
+
}), /* @__PURE__ */ k("div", {
|
|
726
728
|
className: "space-y-3",
|
|
727
729
|
children: [
|
|
728
730
|
"Brand-guide.pdf",
|
|
729
731
|
"hero-image.png",
|
|
730
732
|
"avatar-collection.zip"
|
|
731
|
-
].map((e, t) => /* @__PURE__ */
|
|
733
|
+
].map((e, t) => /* @__PURE__ */ A("div", {
|
|
732
734
|
className: "rounded-2xl border border-[color:var(--aui-divider)] px-4 py-4",
|
|
733
|
-
children: [/* @__PURE__ */
|
|
735
|
+
children: [/* @__PURE__ */ A("div", {
|
|
734
736
|
className: "flex items-center justify-between",
|
|
735
|
-
children: [/* @__PURE__ */
|
|
737
|
+
children: [/* @__PURE__ */ k("span", {
|
|
736
738
|
className: "font-medium aui-text-strong",
|
|
737
739
|
children: e
|
|
738
|
-
}), /* @__PURE__ */
|
|
740
|
+
}), /* @__PURE__ */ k(n, {
|
|
739
741
|
variant: t === 2 ? "outline" : "secondary",
|
|
740
742
|
children: t === 2 ? "Uploading" : "Done"
|
|
741
743
|
})]
|
|
742
|
-
}), /* @__PURE__ */
|
|
744
|
+
}), /* @__PURE__ */ k("div", {
|
|
743
745
|
className: "mt-3 h-2 rounded-full bg-[color:var(--aui-surface-muted)]",
|
|
744
|
-
children: /* @__PURE__ */
|
|
746
|
+
children: /* @__PURE__ */ k("div", { className: t === 2 ? "h-2 w-2/3 rounded-full bg-[color:var(--aui-surface-strong)]" : "h-2 w-full rounded-full bg-emerald-500" })
|
|
745
747
|
})]
|
|
746
748
|
}, e))
|
|
747
749
|
})]
|
|
@@ -751,81 +753,81 @@ function U({ tone: l }) {
|
|
|
751
753
|
})
|
|
752
754
|
});
|
|
753
755
|
}
|
|
754
|
-
var
|
|
756
|
+
var G = Object.fromEntries(O.map((e) => [e.slug, {
|
|
755
757
|
title: e.title,
|
|
756
758
|
command: e.command,
|
|
757
759
|
code: e.code,
|
|
758
760
|
Render: function() {
|
|
759
|
-
return /* @__PURE__ */
|
|
761
|
+
return /* @__PURE__ */ k(W, { tone: e.tone });
|
|
760
762
|
}
|
|
761
763
|
}]));
|
|
762
|
-
function
|
|
763
|
-
let t =
|
|
764
|
+
function K(e) {
|
|
765
|
+
let t = H[e];
|
|
764
766
|
return t ? {
|
|
765
767
|
title: `${e} preview`,
|
|
766
768
|
command: `npx tembro add ${e}`,
|
|
767
769
|
code: t.mock.code,
|
|
768
770
|
Render() {
|
|
769
|
-
return /* @__PURE__ */
|
|
770
|
-
className:
|
|
771
|
-
children: /* @__PURE__ */
|
|
772
|
-
className: `mx-auto max-w-5xl space-y-6 rounded-[32px] p-6 ${
|
|
771
|
+
return /* @__PURE__ */ k("div", {
|
|
772
|
+
className: P,
|
|
773
|
+
children: /* @__PURE__ */ A("div", {
|
|
774
|
+
className: `mx-auto max-w-5xl space-y-6 rounded-[32px] p-6 ${F}`,
|
|
773
775
|
children: [
|
|
774
|
-
/* @__PURE__ */
|
|
776
|
+
/* @__PURE__ */ A("div", {
|
|
775
777
|
className: "space-y-2",
|
|
776
778
|
children: [
|
|
777
|
-
/* @__PURE__ */
|
|
779
|
+
/* @__PURE__ */ A("div", {
|
|
778
780
|
className: "flex flex-wrap gap-2",
|
|
779
|
-
children: [/* @__PURE__ */
|
|
780
|
-
className: `rounded-full border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg-alt)] px-2.5 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] ${
|
|
781
|
+
children: [/* @__PURE__ */ k("span", {
|
|
782
|
+
className: `rounded-full border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg-alt)] px-2.5 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] ${R}`,
|
|
781
783
|
children: "Component preview"
|
|
782
|
-
}), /* @__PURE__ */
|
|
783
|
-
className: `rounded-full border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg-alt)] px-2.5 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] ${
|
|
784
|
+
}), /* @__PURE__ */ k("span", {
|
|
785
|
+
className: `rounded-full border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg-alt)] px-2.5 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] ${R}`,
|
|
784
786
|
children: "Playground route"
|
|
785
787
|
})]
|
|
786
788
|
}),
|
|
787
|
-
/* @__PURE__ */
|
|
789
|
+
/* @__PURE__ */ k("h1", {
|
|
788
790
|
className: "text-4xl font-semibold tracking-tight capitalize",
|
|
789
791
|
children: e
|
|
790
792
|
}),
|
|
791
|
-
/* @__PURE__ */
|
|
792
|
-
className: `text-base leading-7 ${
|
|
793
|
+
/* @__PURE__ */ k("p", {
|
|
794
|
+
className: `text-base leading-7 ${R}`,
|
|
793
795
|
children: "Direct component demo route for iframe-based docs preview."
|
|
794
796
|
})
|
|
795
797
|
]
|
|
796
798
|
}),
|
|
797
|
-
/* @__PURE__ */
|
|
799
|
+
/* @__PURE__ */ k("div", {
|
|
798
800
|
className: "rounded-[28px] border border-[color:var(--aui-divider)] bg-[linear-gradient(180deg,var(--aui-page-bg),var(--aui-page-bg-alt))] p-6",
|
|
799
|
-
children: /* @__PURE__ */
|
|
801
|
+
children: /* @__PURE__ */ k(t.Showcase, {
|
|
800
802
|
mode: "playground",
|
|
801
|
-
state:
|
|
803
|
+
state: w,
|
|
802
804
|
setState: () => void 0
|
|
803
805
|
})
|
|
804
806
|
}),
|
|
805
|
-
/* @__PURE__ */
|
|
807
|
+
/* @__PURE__ */ k("div", {
|
|
806
808
|
className: "grid gap-4 md:grid-cols-3",
|
|
807
|
-
children: t.mock.highlights.map((e) => /* @__PURE__ */
|
|
809
|
+
children: t.mock.highlights.map((e) => /* @__PURE__ */ k("div", {
|
|
808
810
|
className: "rounded-[24px] border border-[color:var(--aui-divider)] bg-[color:var(--aui-surface-muted)] p-4 text-sm aui-text-subtle",
|
|
809
811
|
children: e
|
|
810
812
|
}, e))
|
|
811
813
|
}),
|
|
812
|
-
/* @__PURE__ */
|
|
814
|
+
/* @__PURE__ */ A("div", {
|
|
813
815
|
className: "grid gap-4 md:grid-cols-2",
|
|
814
|
-
children: [/* @__PURE__ */
|
|
815
|
-
className: `rounded-[24px] p-4 ${
|
|
816
|
-
children: [/* @__PURE__ */
|
|
817
|
-
className: `text-xs font-semibold uppercase tracking-[0.22em] ${
|
|
816
|
+
children: [/* @__PURE__ */ A("div", {
|
|
817
|
+
className: `rounded-[24px] p-4 ${I}`,
|
|
818
|
+
children: [/* @__PURE__ */ k("p", {
|
|
819
|
+
className: `text-xs font-semibold uppercase tracking-[0.22em] ${R}`,
|
|
818
820
|
children: "CLI"
|
|
819
|
-
}), /* @__PURE__ */
|
|
821
|
+
}), /* @__PURE__ */ k("code", {
|
|
820
822
|
className: "mt-3 block text-sm aui-text-strong",
|
|
821
823
|
children: `npx tembro add ${e}`
|
|
822
824
|
})]
|
|
823
|
-
}), /* @__PURE__ */
|
|
824
|
-
className: `rounded-[24px] p-4 ${
|
|
825
|
-
children: [/* @__PURE__ */
|
|
826
|
-
className: `text-xs font-semibold uppercase tracking-[0.22em] ${
|
|
825
|
+
}), /* @__PURE__ */ A("div", {
|
|
826
|
+
className: `rounded-[24px] p-4 ${I}`,
|
|
827
|
+
children: [/* @__PURE__ */ k("p", {
|
|
828
|
+
className: `text-xs font-semibold uppercase tracking-[0.22em] ${R}`,
|
|
827
829
|
children: "Preview note"
|
|
828
|
-
}), /* @__PURE__ */
|
|
830
|
+
}), /* @__PURE__ */ k("p", {
|
|
829
831
|
className: "mt-3 text-sm leading-6 aui-text-subtle",
|
|
830
832
|
children: "This route exists to inspect the live reusable surface in isolation before wiring it into docs, templates or application pages."
|
|
831
833
|
})]
|
|
@@ -838,4 +840,4 @@ function G(e) {
|
|
|
838
840
|
} : null;
|
|
839
841
|
}
|
|
840
842
|
//#endregion
|
|
841
|
-
export {
|
|
843
|
+
export { K as getComponentPreview, G as previewBlockRegistry };
|