@quilltap/theme-storybook 1.0.39 → 1.0.41
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 +10 -0
- package/dist/{chunk-7CI72GBQ.mjs → chunk-U2PTQQL5.mjs} +1392 -1220
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1393 -1220
- package/dist/index.mjs +3 -1
- package/dist/stories/index.d.mts +16 -1
- package/dist/stories/index.d.ts +16 -1
- package/dist/stories/index.js +1393 -1220
- package/dist/stories/index.mjs +3 -1
- package/package.json +1 -1
- package/src/stories/components/Icons.tsx +165 -0
- package/src/stories/index.ts +1 -0
package/dist/stories/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __export(stories_exports, {
|
|
|
31
31
|
Dialogs: () => Dialogs,
|
|
32
32
|
EmptyState: () => EmptyState,
|
|
33
33
|
FilePreview: () => FilePreview,
|
|
34
|
+
Icons: () => Icons,
|
|
34
35
|
Inputs: () => Inputs,
|
|
35
36
|
Loading: () => Loading,
|
|
36
37
|
Participant: () => Participant,
|
|
@@ -116,157 +117,328 @@ var ColorPalette = () => {
|
|
|
116
117
|
] });
|
|
117
118
|
};
|
|
118
119
|
|
|
119
|
-
// src/stories/components/
|
|
120
|
+
// src/stories/components/Icons.tsx
|
|
120
121
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
121
|
-
var
|
|
122
|
+
var ICON_GROUPS = [
|
|
123
|
+
{
|
|
124
|
+
category: "General UI",
|
|
125
|
+
names: [
|
|
126
|
+
"close",
|
|
127
|
+
"pencil",
|
|
128
|
+
"refresh",
|
|
129
|
+
"check",
|
|
130
|
+
"check-circle",
|
|
131
|
+
"chat",
|
|
132
|
+
"info",
|
|
133
|
+
"trash",
|
|
134
|
+
"copy",
|
|
135
|
+
"plus",
|
|
136
|
+
"search",
|
|
137
|
+
"download",
|
|
138
|
+
"upload",
|
|
139
|
+
"cloud-upload",
|
|
140
|
+
"external-link",
|
|
141
|
+
"link",
|
|
142
|
+
"send",
|
|
143
|
+
"paperclip",
|
|
144
|
+
"eye",
|
|
145
|
+
"eye-off",
|
|
146
|
+
"star",
|
|
147
|
+
"bookmark",
|
|
148
|
+
"tag",
|
|
149
|
+
"expand",
|
|
150
|
+
"compress"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
category: "Navigation arrows",
|
|
155
|
+
names: [
|
|
156
|
+
"chevron-down",
|
|
157
|
+
"chevron-right",
|
|
158
|
+
"chevron-left",
|
|
159
|
+
"arrow-left",
|
|
160
|
+
"arrow-right",
|
|
161
|
+
"arrow-up",
|
|
162
|
+
"arrow-down"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
category: "Status & alerts",
|
|
167
|
+
names: ["alert-triangle", "alert-circle", "shield", "ban", "clock", "calendar"]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
category: "Media",
|
|
171
|
+
names: ["image", "camera", "play", "pause", "stop", "zoom-in", "zoom-out"]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
category: "Content & sidebar navigation",
|
|
175
|
+
names: [
|
|
176
|
+
"projects",
|
|
177
|
+
"files",
|
|
178
|
+
"file",
|
|
179
|
+
"file-plus",
|
|
180
|
+
"folder",
|
|
181
|
+
"folder-plus",
|
|
182
|
+
"book",
|
|
183
|
+
"characters",
|
|
184
|
+
"scriptorium",
|
|
185
|
+
"photos",
|
|
186
|
+
"scenarios"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
category: "People",
|
|
191
|
+
names: ["profile", "user", "user-plus", "users", "megaphone", "dice"]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
category: "System & tooling",
|
|
195
|
+
names: ["sparkles", "wand", "wrench", "code", "cpu", "database", "layers", "zap", "swap", "log-out"]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
category: "Appearance & system",
|
|
199
|
+
names: ["settings", "themes", "wardrobe", "help", "sun", "moon", "monitor"]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
category: "Brand",
|
|
203
|
+
names: ["brand"]
|
|
204
|
+
}
|
|
205
|
+
];
|
|
206
|
+
var sectionHeading = {
|
|
207
|
+
fontSize: "1.125rem",
|
|
208
|
+
fontWeight: 700,
|
|
209
|
+
marginBottom: "1rem",
|
|
210
|
+
borderBottom: "1px solid var(--color-border)",
|
|
211
|
+
paddingBottom: "0.5rem"
|
|
212
|
+
};
|
|
213
|
+
var chip = {
|
|
214
|
+
fontFamily: "var(--theme-font-mono, ui-monospace, monospace)",
|
|
215
|
+
fontSize: "0.8125rem",
|
|
216
|
+
padding: "0.25rem 0.6rem",
|
|
217
|
+
borderRadius: "var(--radius-md, 0.375rem)",
|
|
218
|
+
border: "1px solid var(--color-border)",
|
|
219
|
+
background: "var(--color-muted)",
|
|
220
|
+
color: "var(--color-foreground)"
|
|
221
|
+
};
|
|
222
|
+
var codeBlock = {
|
|
223
|
+
fontFamily: "var(--theme-font-mono, ui-monospace, monospace)",
|
|
224
|
+
fontSize: "0.8125rem",
|
|
225
|
+
background: "var(--color-muted)",
|
|
226
|
+
color: "var(--color-foreground)",
|
|
227
|
+
border: "1px solid var(--color-border)",
|
|
228
|
+
borderRadius: "var(--radius-md, 0.375rem)",
|
|
229
|
+
padding: "1rem",
|
|
230
|
+
overflowX: "auto",
|
|
231
|
+
lineHeight: 1.6
|
|
232
|
+
};
|
|
233
|
+
var Icons = () => {
|
|
122
234
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
123
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "
|
|
124
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.
|
|
125
|
-
|
|
126
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
235
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "0.5rem" }, children: "Icons" }),
|
|
236
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "2rem", maxWidth: "46rem" }, children: "Quilltap renders its UI icons through a central registry, so a theme can replace any of them. The default icons are monochrome and follow the current text color; a theme overrides an icon by mapping its name to a bundled asset." }),
|
|
237
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: { marginBottom: "2.5rem" }, children: [
|
|
238
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h3", { style: sectionHeading, children: "Overriding an icon" }),
|
|
239
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem", maxWidth: "46rem" }, children: [
|
|
240
|
+
"Drop replacement assets into your bundle's ",
|
|
241
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { children: "icons/" }),
|
|
242
|
+
" folder and add an",
|
|
243
|
+
" ",
|
|
244
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { children: "icons" }),
|
|
245
|
+
" map to ",
|
|
246
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { children: "theme.json" }),
|
|
247
|
+
", keyed by the built-in icon name:"
|
|
248
|
+
] }),
|
|
249
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("pre", { style: codeBlock, children: `{
|
|
250
|
+
"icons": {
|
|
251
|
+
"settings": "icons/settings.svg",
|
|
252
|
+
"brand": "icons/brand.webp"
|
|
253
|
+
}
|
|
254
|
+
}` }),
|
|
255
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("ul", { style: { color: "var(--color-muted-foreground)", marginTop: "1rem", maxWidth: "46rem", lineHeight: 1.7 }, children: [
|
|
256
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { children: [
|
|
257
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("strong", { style: { color: "var(--color-foreground)" }, children: ".svg overrides" }),
|
|
258
|
+
" are tinted by the current text color, exactly like the built-in icons \u2014 best for monochrome glyphs that should follow the theme."
|
|
259
|
+
] }),
|
|
260
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { children: [
|
|
261
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("strong", { style: { color: "var(--color-foreground)" }, children: ".webp overrides" }),
|
|
262
|
+
" are drawn in full color \u2014 best for textured or multi-color marks."
|
|
263
|
+
] }),
|
|
264
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { children: [
|
|
265
|
+
"The ",
|
|
266
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { children: "brand" }),
|
|
267
|
+
" mark follows the same rule: an ",
|
|
268
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { children: ".svg" }),
|
|
269
|
+
" override is tinted like any other icon, so ship it as ",
|
|
270
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { children: ".webp" }),
|
|
271
|
+
" if it should keep its own colors."
|
|
272
|
+
] }),
|
|
273
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { children: [
|
|
274
|
+
"Names must match the built-in names below; unknown names are ignored. Run",
|
|
275
|
+
" ",
|
|
276
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { children: "quilltap themes validate" }),
|
|
277
|
+
" to catch typos and bad asset paths."
|
|
142
278
|
] })
|
|
143
279
|
] })
|
|
144
280
|
] }),
|
|
145
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", {
|
|
146
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h3", { style:
|
|
147
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.
|
|
148
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
/* @__PURE__ */ (0,
|
|
166
|
-
|
|
281
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { children: [
|
|
282
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h3", { style: sectionHeading, children: "Override-able icon names" }),
|
|
283
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: { display: "flex", flexDirection: "column", gap: "1.5rem" }, children: ICON_GROUPS.map((group) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
284
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { style: { fontWeight: 600, marginBottom: "0.6rem", fontSize: "0.9375rem" }, children: group.category }),
|
|
285
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: group.names.map((name) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { style: chip, children: name }, name)) })
|
|
286
|
+
] }, group.category)) })
|
|
287
|
+
] })
|
|
288
|
+
] });
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
// src/stories/components/Typography.tsx
|
|
292
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
293
|
+
var Typography = () => {
|
|
294
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
295
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Typography" }),
|
|
296
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
297
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Headings (qt-heading-*)" }),
|
|
298
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
|
|
299
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
300
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h1", { className: "qt-heading-1", children: "Heading 1 - The quick brown fox" }),
|
|
301
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-heading-1" })
|
|
302
|
+
] }),
|
|
303
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
304
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h2", { className: "qt-heading-2", children: "Heading 2 - The quick brown fox" }),
|
|
305
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-heading-2" })
|
|
306
|
+
] }),
|
|
307
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
308
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { className: "qt-heading-3", children: "Heading 3 - The quick brown fox" }),
|
|
309
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-heading-3" })
|
|
310
|
+
] }),
|
|
311
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
312
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { className: "qt-heading-4", children: "Heading 4 - The quick brown fox" }),
|
|
313
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-heading-4" })
|
|
167
314
|
] })
|
|
168
315
|
] })
|
|
169
316
|
] }),
|
|
170
|
-
/* @__PURE__ */ (0,
|
|
171
|
-
/* @__PURE__ */ (0,
|
|
172
|
-
/* @__PURE__ */ (0,
|
|
173
|
-
/* @__PURE__ */ (0,
|
|
174
|
-
/* @__PURE__ */ (0,
|
|
175
|
-
/* @__PURE__ */ (0,
|
|
176
|
-
] }),
|
|
177
|
-
/* @__PURE__ */ (0,
|
|
178
|
-
/* @__PURE__ */ (0,
|
|
179
|
-
/* @__PURE__ */ (0,
|
|
180
|
-
] }),
|
|
181
|
-
/* @__PURE__ */ (0,
|
|
182
|
-
/* @__PURE__ */ (0,
|
|
183
|
-
/* @__PURE__ */ (0,
|
|
184
|
-
] }),
|
|
185
|
-
/* @__PURE__ */ (0,
|
|
186
|
-
/* @__PURE__ */ (0,
|
|
187
|
-
/* @__PURE__ */ (0,
|
|
188
|
-
] }),
|
|
189
|
-
/* @__PURE__ */ (0,
|
|
190
|
-
/* @__PURE__ */ (0,
|
|
191
|
-
/* @__PURE__ */ (0,
|
|
192
|
-
] }),
|
|
193
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
194
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: "qt-text-destructive", children: "Destructive text - For error messages" }),
|
|
195
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-destructive" })
|
|
196
|
-
] }),
|
|
197
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
198
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: "qt-text-info", children: "Info text - For informational messages" }),
|
|
199
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-info" })
|
|
317
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
318
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Body Text" }),
|
|
319
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "40rem" }, children: [
|
|
320
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
321
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-lead", children: "Lead text - Used for introductory paragraphs that need more emphasis. The quick brown fox jumps over the lazy dog." }),
|
|
322
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-lead" })
|
|
323
|
+
] }),
|
|
324
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
325
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-large", children: "Large text - Slightly larger than body text for emphasis. The quick brown fox jumps over the lazy dog." }),
|
|
326
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-large" })
|
|
327
|
+
] }),
|
|
328
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
329
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: "Default body text - The standard text size for most content. The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs." }),
|
|
330
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "default / no class" })
|
|
331
|
+
] }),
|
|
332
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
333
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-small", children: "Small text - For less important or supplementary information. The quick brown fox jumps over the lazy dog." }),
|
|
334
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-small" })
|
|
335
|
+
] }),
|
|
336
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
337
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-xs", children: "Extra small text - For fine print, captions, or metadata. The quick brown fox jumps over the lazy dog." }),
|
|
338
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-xs" })
|
|
200
339
|
] })
|
|
201
340
|
] })
|
|
202
341
|
] }),
|
|
203
|
-
/* @__PURE__ */ (0,
|
|
204
|
-
/* @__PURE__ */ (0,
|
|
205
|
-
/* @__PURE__ */ (0,
|
|
206
|
-
/* @__PURE__ */ (0,
|
|
207
|
-
/* @__PURE__ */ (0,
|
|
208
|
-
/* @__PURE__ */ (0,
|
|
209
|
-
] }),
|
|
210
|
-
/* @__PURE__ */ (0,
|
|
211
|
-
/* @__PURE__ */ (0,
|
|
212
|
-
/* @__PURE__ */ (0,
|
|
213
|
-
] }),
|
|
214
|
-
/* @__PURE__ */ (0,
|
|
215
|
-
/* @__PURE__ */ (0,
|
|
216
|
-
/* @__PURE__ */ (0,
|
|
217
|
-
] }),
|
|
218
|
-
/* @__PURE__ */ (0,
|
|
219
|
-
/* @__PURE__ */ (0,
|
|
220
|
-
/* @__PURE__ */ (0,
|
|
342
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
343
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Text Colors" }),
|
|
344
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
345
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
346
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: "Default text color" }),
|
|
347
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "default" })
|
|
348
|
+
] }),
|
|
349
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
350
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-muted", children: "Muted text - For secondary content" }),
|
|
351
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-muted" })
|
|
352
|
+
] }),
|
|
353
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
354
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-primary", children: "Primary text - For emphasis and links" }),
|
|
355
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-primary" })
|
|
356
|
+
] }),
|
|
357
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
358
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-success", children: "Success text - For positive messages" }),
|
|
359
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-success" })
|
|
360
|
+
] }),
|
|
361
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
362
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-warning", children: "Warning text - For caution messages" }),
|
|
363
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-warning" })
|
|
364
|
+
] }),
|
|
365
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
366
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-destructive", children: "Destructive text - For error messages" }),
|
|
367
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-destructive" })
|
|
368
|
+
] }),
|
|
369
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
370
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "qt-text-info", children: "Info text - For informational messages" }),
|
|
371
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-text-info" })
|
|
221
372
|
] })
|
|
222
373
|
] })
|
|
223
374
|
] }),
|
|
224
|
-
/* @__PURE__ */ (0,
|
|
225
|
-
/* @__PURE__ */ (0,
|
|
226
|
-
/* @__PURE__ */ (0,
|
|
227
|
-
/* @__PURE__ */ (0,
|
|
228
|
-
/* @__PURE__ */ (0,
|
|
229
|
-
/* @__PURE__ */ (0,
|
|
230
|
-
] }),
|
|
231
|
-
/* @__PURE__ */ (0,
|
|
232
|
-
/* @__PURE__ */ (0,
|
|
375
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
376
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Labels & UI Text" }),
|
|
377
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
|
|
378
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
379
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "qt-label", children: "Form Label" }),
|
|
380
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginLeft: "1rem" }, children: ".qt-label" })
|
|
381
|
+
] }),
|
|
382
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
383
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "qt-hint", children: "Hint text for form fields" }),
|
|
384
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginLeft: "1rem" }, children: ".qt-hint" })
|
|
385
|
+
] }),
|
|
386
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
387
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "qt-text-label", children: "UI Label Text" }),
|
|
388
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginLeft: "1rem" }, children: ".qt-text-label" })
|
|
389
|
+
] }),
|
|
390
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
391
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "qt-text-section", children: "Section Header" }),
|
|
392
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginLeft: "1rem" }, children: ".qt-text-section" })
|
|
393
|
+
] })
|
|
394
|
+
] })
|
|
395
|
+
] }),
|
|
396
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
397
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Code & Monospace" }),
|
|
398
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
|
|
399
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
400
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { className: "qt-code-inline", children: "inline code example" }),
|
|
401
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginLeft: "1rem" }, children: ".qt-code-inline" })
|
|
402
|
+
] }),
|
|
403
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
404
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("pre", { className: "qt-code-block", children: `function greet(name: string): string {
|
|
233
405
|
return \`Hello, \${name}!\`;
|
|
234
406
|
}
|
|
235
407
|
|
|
236
408
|
console.log(greet('World'));` }),
|
|
237
|
-
/* @__PURE__ */ (0,
|
|
409
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-code-block" })
|
|
238
410
|
] })
|
|
239
411
|
] })
|
|
240
412
|
] }),
|
|
241
|
-
/* @__PURE__ */ (0,
|
|
242
|
-
/* @__PURE__ */ (0,
|
|
243
|
-
/* @__PURE__ */ (0,
|
|
244
|
-
/* @__PURE__ */ (0,
|
|
245
|
-
/* @__PURE__ */ (0,
|
|
413
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
414
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Prose (Long-form Content)" }),
|
|
415
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "qt-prose", style: { maxWidth: "40rem" }, children: [
|
|
416
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { children: "Article Title" }),
|
|
417
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("p", { children: [
|
|
246
418
|
"This is an example of the ",
|
|
247
|
-
/* @__PURE__ */ (0,
|
|
419
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { children: ".qt-prose" }),
|
|
248
420
|
" class applied to a container. It provides sensible defaults for long-form content like articles, documentation, and chat messages."
|
|
249
421
|
] }),
|
|
250
|
-
/* @__PURE__ */ (0,
|
|
251
|
-
/* @__PURE__ */ (0,
|
|
252
|
-
/* @__PURE__ */ (0,
|
|
422
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: "The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras jump! The five boxing wizards jump quickly." }),
|
|
423
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h4", { children: "Subsection" }),
|
|
424
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris." })
|
|
253
425
|
] }),
|
|
254
|
-
/* @__PURE__ */ (0,
|
|
255
|
-
] }),
|
|
256
|
-
/* @__PURE__ */ (0,
|
|
257
|
-
/* @__PURE__ */ (0,
|
|
258
|
-
/* @__PURE__ */ (0,
|
|
259
|
-
/* @__PURE__ */ (0,
|
|
260
|
-
/* @__PURE__ */ (0,
|
|
261
|
-
/* @__PURE__ */ (0,
|
|
262
|
-
] }),
|
|
263
|
-
/* @__PURE__ */ (0,
|
|
264
|
-
/* @__PURE__ */ (0,
|
|
265
|
-
/* @__PURE__ */ (0,
|
|
266
|
-
] }),
|
|
267
|
-
/* @__PURE__ */ (0,
|
|
268
|
-
/* @__PURE__ */ (0,
|
|
269
|
-
/* @__PURE__ */ (0,
|
|
426
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: ".qt-prose" })
|
|
427
|
+
] }),
|
|
428
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
429
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Font Families" }),
|
|
430
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
431
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
432
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--font-sans" }),
|
|
433
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { style: { fontFamily: "var(--font-sans)", fontSize: "1.125rem", marginTop: "0.25rem" }, children: "The quick brown fox jumps over the lazy dog." })
|
|
434
|
+
] }),
|
|
435
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
436
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--font-serif" }),
|
|
437
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { style: { fontFamily: "var(--font-serif)", fontSize: "1.125rem", marginTop: "0.25rem" }, children: "The quick brown fox jumps over the lazy dog." })
|
|
438
|
+
] }),
|
|
439
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
440
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--font-mono" }),
|
|
441
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { style: { fontFamily: "var(--font-mono)", fontSize: "1.125rem", marginTop: "0.25rem" }, children: "The quick brown fox jumps over the lazy dog." })
|
|
270
442
|
] })
|
|
271
443
|
] })
|
|
272
444
|
] })
|
|
@@ -274,7 +446,7 @@ console.log(greet('World'));` }),
|
|
|
274
446
|
};
|
|
275
447
|
|
|
276
448
|
// src/stories/components/Spacing.tsx
|
|
277
|
-
var
|
|
449
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
278
450
|
var Spacing = () => {
|
|
279
451
|
const radiusTokens = [
|
|
280
452
|
{ name: "None", variable: "0", value: "0" },
|
|
@@ -302,12 +474,12 @@ var Spacing = () => {
|
|
|
302
474
|
{ name: "Button Primary Shadow", variable: "--qt-button-primary-shadow" },
|
|
303
475
|
{ name: "Chat Message Shadow", variable: "--qt-chat-message-shadow" }
|
|
304
476
|
];
|
|
305
|
-
return /* @__PURE__ */ (0,
|
|
306
|
-
/* @__PURE__ */ (0,
|
|
307
|
-
/* @__PURE__ */ (0,
|
|
308
|
-
/* @__PURE__ */ (0,
|
|
309
|
-
/* @__PURE__ */ (0,
|
|
310
|
-
/* @__PURE__ */ (0,
|
|
477
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
478
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Spacing & Borders" }),
|
|
479
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
480
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Border Radius Scale" }),
|
|
481
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(6rem, 1fr))", gap: "1.5rem" }, children: radiusTokens.map(({ name, variable, value }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
482
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
311
483
|
"div",
|
|
312
484
|
{
|
|
313
485
|
style: {
|
|
@@ -319,14 +491,14 @@ var Spacing = () => {
|
|
|
319
491
|
}
|
|
320
492
|
}
|
|
321
493
|
),
|
|
322
|
-
/* @__PURE__ */ (0,
|
|
323
|
-
/* @__PURE__ */ (0,
|
|
494
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { fontWeight: 500, fontSize: "0.875rem" }, children: name }),
|
|
495
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: variable })
|
|
324
496
|
] }, variable)) })
|
|
325
497
|
] }),
|
|
326
|
-
/* @__PURE__ */ (0,
|
|
327
|
-
/* @__PURE__ */ (0,
|
|
328
|
-
/* @__PURE__ */ (0,
|
|
329
|
-
/* @__PURE__ */ (0,
|
|
498
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
499
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Component Border Radii" }),
|
|
500
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gap: "1.5rem" }, children: componentRadii.map(({ name, variable }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
501
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
330
502
|
"div",
|
|
331
503
|
{
|
|
332
504
|
style: {
|
|
@@ -339,14 +511,14 @@ var Spacing = () => {
|
|
|
339
511
|
}
|
|
340
512
|
}
|
|
341
513
|
),
|
|
342
|
-
/* @__PURE__ */ (0,
|
|
343
|
-
/* @__PURE__ */ (0,
|
|
514
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { fontWeight: 500, fontSize: "0.875rem" }, children: name }),
|
|
515
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: variable })
|
|
344
516
|
] }, variable)) })
|
|
345
517
|
] }),
|
|
346
|
-
/* @__PURE__ */ (0,
|
|
347
|
-
/* @__PURE__ */ (0,
|
|
348
|
-
/* @__PURE__ */ (0,
|
|
349
|
-
/* @__PURE__ */ (0,
|
|
518
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
519
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Shadows" }),
|
|
520
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(10rem, 1fr))", gap: "1.5rem" }, children: shadowTokens.map(({ name, variable }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { padding: "1rem" }, children: [
|
|
521
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
350
522
|
"div",
|
|
351
523
|
{
|
|
352
524
|
style: {
|
|
@@ -359,15 +531,15 @@ var Spacing = () => {
|
|
|
359
531
|
}
|
|
360
532
|
}
|
|
361
533
|
),
|
|
362
|
-
/* @__PURE__ */ (0,
|
|
363
|
-
/* @__PURE__ */ (0,
|
|
534
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { fontWeight: 500, fontSize: "0.875rem" }, children: name }),
|
|
535
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: variable })
|
|
364
536
|
] }, variable)) })
|
|
365
537
|
] }),
|
|
366
|
-
/* @__PURE__ */ (0,
|
|
367
|
-
/* @__PURE__ */ (0,
|
|
368
|
-
/* @__PURE__ */ (0,
|
|
369
|
-
/* @__PURE__ */ (0,
|
|
370
|
-
/* @__PURE__ */ (0,
|
|
538
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
539
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Padding Tokens" }),
|
|
540
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
541
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
542
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
371
543
|
"div",
|
|
372
544
|
{
|
|
373
545
|
style: {
|
|
@@ -379,10 +551,10 @@ var Spacing = () => {
|
|
|
379
551
|
children: "Button padding"
|
|
380
552
|
}
|
|
381
553
|
),
|
|
382
|
-
/* @__PURE__ */ (0,
|
|
554
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--qt-button-padding-x, --qt-button-padding-y" })
|
|
383
555
|
] }),
|
|
384
|
-
/* @__PURE__ */ (0,
|
|
385
|
-
/* @__PURE__ */ (0,
|
|
556
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
557
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
386
558
|
"div",
|
|
387
559
|
{
|
|
388
560
|
style: {
|
|
@@ -394,10 +566,10 @@ var Spacing = () => {
|
|
|
394
566
|
children: "Card padding"
|
|
395
567
|
}
|
|
396
568
|
),
|
|
397
|
-
/* @__PURE__ */ (0,
|
|
569
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--qt-card-padding" })
|
|
398
570
|
] }),
|
|
399
|
-
/* @__PURE__ */ (0,
|
|
400
|
-
/* @__PURE__ */ (0,
|
|
571
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
572
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
401
573
|
"div",
|
|
402
574
|
{
|
|
403
575
|
style: {
|
|
@@ -409,10 +581,10 @@ var Spacing = () => {
|
|
|
409
581
|
children: "Input padding"
|
|
410
582
|
}
|
|
411
583
|
),
|
|
412
|
-
/* @__PURE__ */ (0,
|
|
584
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--qt-input-padding-x, --qt-input-padding-y" })
|
|
413
585
|
] }),
|
|
414
|
-
/* @__PURE__ */ (0,
|
|
415
|
-
/* @__PURE__ */ (0,
|
|
586
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
587
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
416
588
|
"div",
|
|
417
589
|
{
|
|
418
590
|
style: {
|
|
@@ -424,15 +596,15 @@ var Spacing = () => {
|
|
|
424
596
|
children: "Chat message padding"
|
|
425
597
|
}
|
|
426
598
|
),
|
|
427
|
-
/* @__PURE__ */ (0,
|
|
599
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--qt-chat-message-padding" })
|
|
428
600
|
] })
|
|
429
601
|
] })
|
|
430
602
|
] }),
|
|
431
|
-
/* @__PURE__ */ (0,
|
|
432
|
-
/* @__PURE__ */ (0,
|
|
433
|
-
/* @__PURE__ */ (0,
|
|
434
|
-
/* @__PURE__ */ (0,
|
|
435
|
-
/* @__PURE__ */ (0,
|
|
603
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { children: [
|
|
604
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Layout Dimensions" }),
|
|
605
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
606
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
607
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
436
608
|
"div",
|
|
437
609
|
{
|
|
438
610
|
style: {
|
|
@@ -447,10 +619,10 @@ var Spacing = () => {
|
|
|
447
619
|
children: "Navbar height"
|
|
448
620
|
}
|
|
449
621
|
),
|
|
450
|
-
/* @__PURE__ */ (0,
|
|
622
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--qt-navbar-height" })
|
|
451
623
|
] }),
|
|
452
|
-
/* @__PURE__ */ (0,
|
|
453
|
-
/* @__PURE__ */ (0,
|
|
624
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
625
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
454
626
|
"div",
|
|
455
627
|
{
|
|
456
628
|
style: {
|
|
@@ -465,10 +637,10 @@ var Spacing = () => {
|
|
|
465
637
|
children: "Sidebar width"
|
|
466
638
|
}
|
|
467
639
|
),
|
|
468
|
-
/* @__PURE__ */ (0,
|
|
640
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--qt-sidebar-width" })
|
|
469
641
|
] }),
|
|
470
|
-
/* @__PURE__ */ (0,
|
|
471
|
-
/* @__PURE__ */ (0,
|
|
642
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
643
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
472
644
|
"div",
|
|
473
645
|
{
|
|
474
646
|
style: {
|
|
@@ -483,7 +655,7 @@ var Spacing = () => {
|
|
|
483
655
|
children: "Chat sidebar width"
|
|
484
656
|
}
|
|
485
657
|
),
|
|
486
|
-
/* @__PURE__ */ (0,
|
|
658
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("code", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "--qt-chat-sidebar-width" })
|
|
487
659
|
] })
|
|
488
660
|
] })
|
|
489
661
|
] })
|
|
@@ -491,145 +663,145 @@ var Spacing = () => {
|
|
|
491
663
|
};
|
|
492
664
|
|
|
493
665
|
// src/stories/components/Buttons.tsx
|
|
494
|
-
var
|
|
666
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
495
667
|
var Buttons = () => {
|
|
496
|
-
return /* @__PURE__ */ (0,
|
|
497
|
-
/* @__PURE__ */ (0,
|
|
498
|
-
/* @__PURE__ */ (0,
|
|
499
|
-
/* @__PURE__ */ (0,
|
|
500
|
-
/* @__PURE__ */ (0,
|
|
501
|
-
/* @__PURE__ */ (0,
|
|
502
|
-
/* @__PURE__ */ (0,
|
|
503
|
-
/* @__PURE__ */ (0,
|
|
504
|
-
/* @__PURE__ */ (0,
|
|
668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
669
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Buttons" }),
|
|
670
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
671
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Button Variants" }),
|
|
672
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "1rem" }, children: [
|
|
673
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-primary", children: "Primary" }),
|
|
674
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-secondary", children: "Secondary" }),
|
|
675
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-ghost", children: "Ghost" }),
|
|
676
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-destructive", children: "Destructive" })
|
|
505
677
|
] })
|
|
506
678
|
] }),
|
|
507
|
-
/* @__PURE__ */ (0,
|
|
508
|
-
/* @__PURE__ */ (0,
|
|
509
|
-
/* @__PURE__ */ (0,
|
|
510
|
-
/* @__PURE__ */ (0,
|
|
511
|
-
/* @__PURE__ */ (0,
|
|
512
|
-
/* @__PURE__ */ (0,
|
|
679
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
680
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Button Sizes" }),
|
|
681
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", alignItems: "center", gap: "1rem" }, children: [
|
|
682
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-primary qt-button-sm", children: "Small" }),
|
|
683
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-primary", children: "Default" }),
|
|
684
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-primary qt-button-lg", children: "Large" })
|
|
513
685
|
] })
|
|
514
686
|
] }),
|
|
515
|
-
/* @__PURE__ */ (0,
|
|
516
|
-
/* @__PURE__ */ (0,
|
|
517
|
-
/* @__PURE__ */ (0,
|
|
518
|
-
/* @__PURE__ */ (0,
|
|
519
|
-
/* @__PURE__ */ (0,
|
|
520
|
-
/* @__PURE__ */ (0,
|
|
521
|
-
/* @__PURE__ */ (0,
|
|
687
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
688
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Disabled States" }),
|
|
689
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "1rem" }, children: [
|
|
690
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-primary", disabled: true, children: "Primary" }),
|
|
691
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-secondary", disabled: true, children: "Secondary" }),
|
|
692
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-ghost", disabled: true, children: "Ghost" }),
|
|
693
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-destructive", disabled: true, children: "Destructive" })
|
|
522
694
|
] })
|
|
523
695
|
] }),
|
|
524
|
-
/* @__PURE__ */ (0,
|
|
525
|
-
/* @__PURE__ */ (0,
|
|
526
|
-
/* @__PURE__ */ (0,
|
|
527
|
-
/* @__PURE__ */ (0,
|
|
528
|
-
/* @__PURE__ */ (0,
|
|
529
|
-
/* @__PURE__ */ (0,
|
|
696
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
697
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Icon Buttons" }),
|
|
698
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
699
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button-icon", "aria-label": "Settings", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
700
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" }),
|
|
701
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z" })
|
|
530
702
|
] }) }),
|
|
531
|
-
/* @__PURE__ */ (0,
|
|
532
|
-
/* @__PURE__ */ (0,
|
|
533
|
-
/* @__PURE__ */ (0,
|
|
703
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button-icon", "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) }),
|
|
704
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button-icon", "aria-label": "Add", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 4v16m8-8H4" }) }) }),
|
|
705
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button-icon", "aria-label": "More", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z" }) }) })
|
|
534
706
|
] })
|
|
535
707
|
] }),
|
|
536
|
-
/* @__PURE__ */ (0,
|
|
537
|
-
/* @__PURE__ */ (0,
|
|
538
|
-
/* @__PURE__ */ (0,
|
|
539
|
-
/* @__PURE__ */ (0,
|
|
540
|
-
/* @__PURE__ */ (0,
|
|
708
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("section", { children: [
|
|
709
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Button Groups" }),
|
|
710
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
711
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-ghost", children: "Cancel" }),
|
|
712
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: "qt-button qt-button-primary", children: "Save Changes" })
|
|
541
713
|
] })
|
|
542
714
|
] })
|
|
543
715
|
] });
|
|
544
716
|
};
|
|
545
717
|
|
|
546
718
|
// src/stories/components/Cards.tsx
|
|
547
|
-
var
|
|
719
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
548
720
|
var Cards = () => {
|
|
549
|
-
return /* @__PURE__ */ (0,
|
|
550
|
-
/* @__PURE__ */ (0,
|
|
551
|
-
/* @__PURE__ */ (0,
|
|
552
|
-
/* @__PURE__ */ (0,
|
|
553
|
-
/* @__PURE__ */ (0,
|
|
554
|
-
/* @__PURE__ */ (0,
|
|
555
|
-
/* @__PURE__ */ (0,
|
|
556
|
-
/* @__PURE__ */ (0,
|
|
557
|
-
] }),
|
|
558
|
-
/* @__PURE__ */ (0,
|
|
559
|
-
/* @__PURE__ */ (0,
|
|
560
|
-
/* @__PURE__ */ (0,
|
|
561
|
-
/* @__PURE__ */ (0,
|
|
721
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
722
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Cards" }),
|
|
723
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
724
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Basic Card" }),
|
|
725
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card", style: { maxWidth: "24rem" }, children: [
|
|
726
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card-header", children: [
|
|
727
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { className: "qt-card-title", children: "Card Title" }),
|
|
728
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "qt-card-description", children: "Card description goes here." })
|
|
729
|
+
] }),
|
|
730
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "qt-card-body", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { children: "This is the card body content. It can contain any content you want." }) }),
|
|
731
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card-footer", children: [
|
|
732
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { className: "qt-button qt-button-ghost", children: "Cancel" }),
|
|
733
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { className: "qt-button qt-button-primary", children: "Save" })
|
|
562
734
|
] })
|
|
563
735
|
] })
|
|
564
736
|
] }),
|
|
565
|
-
/* @__PURE__ */ (0,
|
|
566
|
-
/* @__PURE__ */ (0,
|
|
567
|
-
/* @__PURE__ */ (0,
|
|
568
|
-
/* @__PURE__ */ (0,
|
|
569
|
-
/* @__PURE__ */ (0,
|
|
570
|
-
/* @__PURE__ */ (0,
|
|
737
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
738
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Interactive Card" }),
|
|
739
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card qt-card-interactive", style: { maxWidth: "24rem", cursor: "pointer" }, children: [
|
|
740
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card-header", children: [
|
|
741
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { className: "qt-card-title", children: "Clickable Card" }),
|
|
742
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "qt-card-description", children: "Hover over me to see the effect." })
|
|
571
743
|
] }),
|
|
572
|
-
/* @__PURE__ */ (0,
|
|
744
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "qt-card-body", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { children: "This card has hover states and can be clicked." }) })
|
|
573
745
|
] })
|
|
574
746
|
] }),
|
|
575
|
-
/* @__PURE__ */ (0,
|
|
576
|
-
/* @__PURE__ */ (0,
|
|
577
|
-
/* @__PURE__ */ (0,
|
|
578
|
-
/* @__PURE__ */ (0,
|
|
579
|
-
/* @__PURE__ */ (0,
|
|
580
|
-
/* @__PURE__ */ (0,
|
|
581
|
-
/* @__PURE__ */ (0,
|
|
747
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
748
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Entity Cards" }),
|
|
749
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Used for characters, chats, and other list items." }),
|
|
750
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(16rem, 1fr))", gap: "1rem" }, children: ["Alice", "Bob", "Carol"].map((name) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "qt-entity-card", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem", padding: "1rem" }, children: [
|
|
751
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "qt-avatar-fallback", children: name[0] }) }),
|
|
752
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { children: [
|
|
753
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("h4", { style: { fontWeight: 600 }, children: [
|
|
582
754
|
name,
|
|
583
755
|
" Character"
|
|
584
756
|
] }),
|
|
585
|
-
/* @__PURE__ */ (0,
|
|
757
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: "A friendly character" })
|
|
586
758
|
] })
|
|
587
759
|
] }) }, name)) })
|
|
588
760
|
] }),
|
|
589
|
-
/* @__PURE__ */ (0,
|
|
590
|
-
/* @__PURE__ */ (0,
|
|
591
|
-
/* @__PURE__ */ (0,
|
|
592
|
-
/* @__PURE__ */ (0,
|
|
761
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
762
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Character Cards" }),
|
|
763
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Compact cards used on the homepage grid. Centered layout with avatar, name, title, provider badge, and action." }),
|
|
764
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(3, minmax(0, 140px))", gap: "0.75rem" }, children: [
|
|
593
765
|
{ name: "Alice", title: "The Adventurer", provider: "Claude Sonnet" },
|
|
594
766
|
{ name: "Bob", title: "The Keeper of Many Long Titles", provider: "GPT-4o" },
|
|
595
767
|
{ name: "Carol", title: "Scribe", provider: "Gemini Pro" }
|
|
596
|
-
].map((char) => /* @__PURE__ */ (0,
|
|
597
|
-
/* @__PURE__ */ (0,
|
|
598
|
-
/* @__PURE__ */ (0,
|
|
599
|
-
/* @__PURE__ */ (0,
|
|
600
|
-
/* @__PURE__ */ (0,
|
|
601
|
-
/* @__PURE__ */ (0,
|
|
602
|
-
] }),
|
|
603
|
-
/* @__PURE__ */ (0,
|
|
768
|
+
].map((char) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-character-card", children: [
|
|
769
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "qt-avatar", style: { width: "3rem", height: "3rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "qt-avatar-fallback", children: char.name[0] }) }),
|
|
770
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { style: { textAlign: "center", width: "100%", minWidth: 0 }, children: [
|
|
771
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "qt-card-title", style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: char.name }),
|
|
772
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "qt-card-subtitle", style: { fontStyle: "italic", minHeight: "2.5rem" }, children: char.title }),
|
|
773
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { style: { fontSize: "0.75rem", opacity: 0.6 }, children: char.provider })
|
|
774
|
+
] }),
|
|
775
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { className: "qt-button-success qt-button-sm", style: { marginTop: "auto", width: "100%" }, children: "Chat" })
|
|
604
776
|
] }, char.name)) })
|
|
605
777
|
] }),
|
|
606
|
-
/* @__PURE__ */ (0,
|
|
607
|
-
/* @__PURE__ */ (0,
|
|
608
|
-
/* @__PURE__ */ (0,
|
|
609
|
-
/* @__PURE__ */ (0,
|
|
610
|
-
/* @__PURE__ */ (0,
|
|
611
|
-
/* @__PURE__ */ (0,
|
|
612
|
-
] }),
|
|
613
|
-
/* @__PURE__ */ (0,
|
|
614
|
-
/* @__PURE__ */ (0,
|
|
615
|
-
/* @__PURE__ */ (0,
|
|
616
|
-
] }),
|
|
617
|
-
/* @__PURE__ */ (0,
|
|
618
|
-
/* @__PURE__ */ (0,
|
|
619
|
-
/* @__PURE__ */ (0,
|
|
778
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
779
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Card Grid" }),
|
|
780
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card-grid-3", children: [
|
|
781
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card", style: { padding: "1rem" }, children: [
|
|
782
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "Card 1" }),
|
|
783
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: "Grid card content" })
|
|
784
|
+
] }),
|
|
785
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card", style: { padding: "1rem" }, children: [
|
|
786
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "Card 2" }),
|
|
787
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: "Grid card content" })
|
|
788
|
+
] }),
|
|
789
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-card", style: { padding: "1rem" }, children: [
|
|
790
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "Card 3" }),
|
|
791
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: "Grid card content" })
|
|
620
792
|
] })
|
|
621
793
|
] })
|
|
622
794
|
] }),
|
|
623
|
-
/* @__PURE__ */ (0,
|
|
624
|
-
/* @__PURE__ */ (0,
|
|
625
|
-
/* @__PURE__ */ (0,
|
|
626
|
-
/* @__PURE__ */ (0,
|
|
627
|
-
/* @__PURE__ */ (0,
|
|
628
|
-
/* @__PURE__ */ (0,
|
|
629
|
-
] }),
|
|
630
|
-
/* @__PURE__ */ (0,
|
|
631
|
-
/* @__PURE__ */ (0,
|
|
632
|
-
/* @__PURE__ */ (0,
|
|
795
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
796
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Panels" }),
|
|
797
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { style: { display: "flex", gap: "1rem", flexWrap: "wrap" }, children: [
|
|
798
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-panel", style: { padding: "1.5rem", maxWidth: "20rem" }, children: [
|
|
799
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "Basic Panel" }),
|
|
800
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { color: "var(--color-muted-foreground)" }, children: "Panels are similar to cards but often used for larger content areas." })
|
|
801
|
+
] }),
|
|
802
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "qt-panel qt-panel-elevated", style: { padding: "1.5rem", maxWidth: "20rem" }, children: [
|
|
803
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "Elevated Panel" }),
|
|
804
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { style: { color: "var(--color-muted-foreground)" }, children: "This panel has additional shadow for emphasis." })
|
|
633
805
|
] })
|
|
634
806
|
] })
|
|
635
807
|
] })
|
|
@@ -637,42 +809,42 @@ var Cards = () => {
|
|
|
637
809
|
};
|
|
638
810
|
|
|
639
811
|
// src/stories/components/Inputs.tsx
|
|
640
|
-
var
|
|
812
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
641
813
|
var Inputs = () => {
|
|
642
|
-
return /* @__PURE__ */ (0,
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
644
|
-
/* @__PURE__ */ (0,
|
|
645
|
-
/* @__PURE__ */ (0,
|
|
646
|
-
/* @__PURE__ */ (0,
|
|
647
|
-
/* @__PURE__ */ (0,
|
|
648
|
-
/* @__PURE__ */ (0,
|
|
649
|
-
/* @__PURE__ */ (0,
|
|
650
|
-
] }),
|
|
651
|
-
/* @__PURE__ */ (0,
|
|
652
|
-
/* @__PURE__ */ (0,
|
|
653
|
-
/* @__PURE__ */ (0,
|
|
654
|
-
/* @__PURE__ */ (0,
|
|
655
|
-
] }),
|
|
656
|
-
/* @__PURE__ */ (0,
|
|
657
|
-
/* @__PURE__ */ (0,
|
|
658
|
-
/* @__PURE__ */ (0,
|
|
659
|
-
] }),
|
|
660
|
-
/* @__PURE__ */ (0,
|
|
661
|
-
/* @__PURE__ */ (0,
|
|
662
|
-
/* @__PURE__ */ (0,
|
|
663
|
-
] }),
|
|
664
|
-
/* @__PURE__ */ (0,
|
|
665
|
-
/* @__PURE__ */ (0,
|
|
666
|
-
/* @__PURE__ */ (0,
|
|
667
|
-
/* @__PURE__ */ (0,
|
|
814
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
815
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Inputs" }),
|
|
816
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
817
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Text Inputs" }),
|
|
818
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "24rem" }, children: [
|
|
819
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
820
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "Default" }),
|
|
821
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { className: "qt-input", type: "text", placeholder: "Enter text..." })
|
|
822
|
+
] }),
|
|
823
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "With Hint" }),
|
|
825
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { className: "qt-input", type: "text", placeholder: "Enter email..." }),
|
|
826
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "qt-hint", children: "We'll never share your email." })
|
|
827
|
+
] }),
|
|
828
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
829
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "With Value" }),
|
|
830
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { className: "qt-input", type: "text", defaultValue: "Sample text" })
|
|
831
|
+
] }),
|
|
832
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
833
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "Disabled" }),
|
|
834
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { className: "qt-input", type: "text", placeholder: "Disabled input", disabled: true })
|
|
835
|
+
] }),
|
|
836
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
837
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "With Error" }),
|
|
838
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { className: "qt-input qt-input-error", type: "text", placeholder: "Invalid input" }),
|
|
839
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "qt-hint", style: { color: "var(--color-destructive)" }, children: "This field is required." })
|
|
668
840
|
] })
|
|
669
841
|
] })
|
|
670
842
|
] }),
|
|
671
|
-
/* @__PURE__ */ (0,
|
|
672
|
-
/* @__PURE__ */ (0,
|
|
673
|
-
/* @__PURE__ */ (0,
|
|
674
|
-
/* @__PURE__ */ (0,
|
|
675
|
-
/* @__PURE__ */ (0,
|
|
843
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
844
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Textarea" }),
|
|
845
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { maxWidth: "24rem" }, children: [
|
|
846
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "Message" }),
|
|
847
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
676
848
|
"textarea",
|
|
677
849
|
{
|
|
678
850
|
className: "qt-input qt-textarea",
|
|
@@ -682,74 +854,74 @@ var Inputs = () => {
|
|
|
682
854
|
)
|
|
683
855
|
] })
|
|
684
856
|
] }),
|
|
685
|
-
/* @__PURE__ */ (0,
|
|
686
|
-
/* @__PURE__ */ (0,
|
|
687
|
-
/* @__PURE__ */ (0,
|
|
688
|
-
/* @__PURE__ */ (0,
|
|
689
|
-
/* @__PURE__ */ (0,
|
|
690
|
-
/* @__PURE__ */ (0,
|
|
691
|
-
/* @__PURE__ */ (0,
|
|
692
|
-
/* @__PURE__ */ (0,
|
|
693
|
-
/* @__PURE__ */ (0,
|
|
857
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
858
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Select" }),
|
|
859
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { maxWidth: "24rem" }, children: [
|
|
860
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "Choose an option" }),
|
|
861
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("select", { className: "qt-input qt-select", children: [
|
|
862
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("option", { value: "", children: "Select an option..." }),
|
|
863
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("option", { value: "1", children: "Option 1" }),
|
|
864
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("option", { value: "2", children: "Option 2" }),
|
|
865
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("option", { value: "3", children: "Option 3" })
|
|
694
866
|
] })
|
|
695
867
|
] })
|
|
696
868
|
] }),
|
|
697
|
-
/* @__PURE__ */ (0,
|
|
698
|
-
/* @__PURE__ */ (0,
|
|
699
|
-
/* @__PURE__ */ (0,
|
|
700
|
-
/* @__PURE__ */ (0,
|
|
701
|
-
/* @__PURE__ */ (0,
|
|
702
|
-
/* @__PURE__ */ (0,
|
|
703
|
-
] }),
|
|
704
|
-
/* @__PURE__ */ (0,
|
|
705
|
-
/* @__PURE__ */ (0,
|
|
706
|
-
/* @__PURE__ */ (0,
|
|
707
|
-
] }),
|
|
708
|
-
/* @__PURE__ */ (0,
|
|
709
|
-
/* @__PURE__ */ (0,
|
|
710
|
-
/* @__PURE__ */ (0,
|
|
711
|
-
] }),
|
|
712
|
-
/* @__PURE__ */ (0,
|
|
713
|
-
/* @__PURE__ */ (0,
|
|
714
|
-
/* @__PURE__ */ (0,
|
|
715
|
-
] }),
|
|
716
|
-
/* @__PURE__ */ (0,
|
|
717
|
-
/* @__PURE__ */ (0,
|
|
718
|
-
/* @__PURE__ */ (0,
|
|
869
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
870
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Checkboxes & Radios" }),
|
|
871
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem", maxWidth: "24rem" }, children: [
|
|
872
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
873
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { type: "checkbox", id: "check1", className: "qt-checkbox" }),
|
|
874
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { htmlFor: "check1", style: { margin: 0 }, children: "Checkbox option" })
|
|
875
|
+
] }),
|
|
876
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
877
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { type: "checkbox", id: "check2", className: "qt-checkbox", defaultChecked: true }),
|
|
878
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { htmlFor: "check2", style: { margin: 0 }, children: "Checked checkbox" })
|
|
879
|
+
] }),
|
|
880
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
881
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { type: "checkbox", id: "check3", className: "qt-checkbox", disabled: true }),
|
|
882
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { htmlFor: "check3", style: { margin: 0, color: "var(--color-muted-foreground)" }, children: "Disabled checkbox" })
|
|
883
|
+
] }),
|
|
884
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem", marginTop: "0.5rem" }, children: [
|
|
885
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { type: "radio", name: "radio", id: "radio1", className: "qt-radio" }),
|
|
886
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { htmlFor: "radio1", style: { margin: 0 }, children: "Radio option 1" })
|
|
887
|
+
] }),
|
|
888
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
889
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { type: "radio", name: "radio", id: "radio2", className: "qt-radio", defaultChecked: true }),
|
|
890
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { htmlFor: "radio2", style: { margin: 0 }, children: "Radio option 2" })
|
|
719
891
|
] })
|
|
720
892
|
] })
|
|
721
893
|
] }),
|
|
722
|
-
/* @__PURE__ */ (0,
|
|
723
|
-
/* @__PURE__ */ (0,
|
|
724
|
-
/* @__PURE__ */ (0,
|
|
725
|
-
/* @__PURE__ */ (0,
|
|
726
|
-
/* @__PURE__ */ (0,
|
|
894
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
895
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Links" }),
|
|
896
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
|
|
897
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("a", { href: "#", className: "qt-link", children: "Default link" }) }),
|
|
898
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("a", { href: "#", className: "qt-link-subtle", children: "Subtle link" }) })
|
|
727
899
|
] })
|
|
728
900
|
] }),
|
|
729
|
-
/* @__PURE__ */ (0,
|
|
730
|
-
/* @__PURE__ */ (0,
|
|
731
|
-
/* @__PURE__ */ (0,
|
|
732
|
-
/* @__PURE__ */ (0,
|
|
733
|
-
/* @__PURE__ */ (0,
|
|
734
|
-
/* @__PURE__ */ (0,
|
|
735
|
-
] }),
|
|
736
|
-
/* @__PURE__ */ (0,
|
|
737
|
-
/* @__PURE__ */ (0,
|
|
738
|
-
/* @__PURE__ */ (0,
|
|
739
|
-
/* @__PURE__ */ (0,
|
|
901
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("section", { children: [
|
|
902
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Form Example" }),
|
|
903
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "qt-card", style: { maxWidth: "24rem" }, children: [
|
|
904
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "qt-card-header", children: [
|
|
905
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h4", { className: "qt-card-title", children: "Contact Form" }),
|
|
906
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "qt-card-description", children: "Fill out the form below." })
|
|
907
|
+
] }),
|
|
908
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "qt-card-body", style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
909
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
910
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "Name" }),
|
|
911
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { className: "qt-input", type: "text", placeholder: "Your name" })
|
|
740
912
|
] }),
|
|
741
|
-
/* @__PURE__ */ (0,
|
|
742
|
-
/* @__PURE__ */ (0,
|
|
743
|
-
/* @__PURE__ */ (0,
|
|
913
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
914
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "Email" }),
|
|
915
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("input", { className: "qt-input", type: "email", placeholder: "you@example.com" })
|
|
744
916
|
] }),
|
|
745
|
-
/* @__PURE__ */ (0,
|
|
746
|
-
/* @__PURE__ */ (0,
|
|
747
|
-
/* @__PURE__ */ (0,
|
|
917
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
|
|
918
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { className: "qt-label", children: "Message" }),
|
|
919
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("textarea", { className: "qt-input qt-textarea", placeholder: "Your message...", style: { minHeight: "5rem" } })
|
|
748
920
|
] })
|
|
749
921
|
] }),
|
|
750
|
-
/* @__PURE__ */ (0,
|
|
751
|
-
/* @__PURE__ */ (0,
|
|
752
|
-
/* @__PURE__ */ (0,
|
|
922
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "qt-card-footer", children: [
|
|
923
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { className: "qt-button qt-button-ghost", children: "Cancel" }),
|
|
924
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { className: "qt-button qt-button-primary", children: "Send" })
|
|
753
925
|
] })
|
|
754
926
|
] })
|
|
755
927
|
] })
|
|
@@ -757,141 +929,141 @@ var Inputs = () => {
|
|
|
757
929
|
};
|
|
758
930
|
|
|
759
931
|
// src/stories/components/Badges.tsx
|
|
760
|
-
var
|
|
932
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
761
933
|
var Badges = () => {
|
|
762
|
-
return /* @__PURE__ */ (0,
|
|
763
|
-
/* @__PURE__ */ (0,
|
|
764
|
-
/* @__PURE__ */ (0,
|
|
765
|
-
/* @__PURE__ */ (0,
|
|
766
|
-
/* @__PURE__ */ (0,
|
|
767
|
-
/* @__PURE__ */ (0,
|
|
768
|
-
/* @__PURE__ */ (0,
|
|
769
|
-
/* @__PURE__ */ (0,
|
|
770
|
-
/* @__PURE__ */ (0,
|
|
771
|
-
/* @__PURE__ */ (0,
|
|
772
|
-
/* @__PURE__ */ (0,
|
|
934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
935
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Badges" }),
|
|
936
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
937
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Badge Variants" }),
|
|
938
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
939
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-default", children: "Default" }),
|
|
940
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-primary", children: "Primary" }),
|
|
941
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-secondary", children: "Secondary" }),
|
|
942
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-success", children: "Success" }),
|
|
943
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-warning", children: "Warning" }),
|
|
944
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-destructive", children: "Destructive" })
|
|
773
945
|
] })
|
|
774
946
|
] }),
|
|
775
|
-
/* @__PURE__ */ (0,
|
|
776
|
-
/* @__PURE__ */ (0,
|
|
777
|
-
/* @__PURE__ */ (0,
|
|
778
|
-
/* @__PURE__ */ (0,
|
|
779
|
-
/* @__PURE__ */ (0,
|
|
780
|
-
/* @__PURE__ */ (0,
|
|
781
|
-
/* @__PURE__ */ (0,
|
|
782
|
-
/* @__PURE__ */ (0,
|
|
947
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
948
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Outline Badges" }),
|
|
949
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
950
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-outline", children: "Outline" }),
|
|
951
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-outline-primary", children: "Primary" }),
|
|
952
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-outline-success", children: "Success" }),
|
|
953
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-outline-warning", children: "Warning" }),
|
|
954
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-outline-destructive", children: "Destructive" })
|
|
783
955
|
] })
|
|
784
956
|
] }),
|
|
785
|
-
/* @__PURE__ */ (0,
|
|
786
|
-
/* @__PURE__ */ (0,
|
|
787
|
-
/* @__PURE__ */ (0,
|
|
788
|
-
/* @__PURE__ */ (0,
|
|
789
|
-
/* @__PURE__ */ (0,
|
|
790
|
-
/* @__PURE__ */ (0,
|
|
791
|
-
/* @__PURE__ */ (0,
|
|
792
|
-
/* @__PURE__ */ (0,
|
|
957
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
958
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Provider Badges" }),
|
|
959
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Used to identify AI provider sources." }),
|
|
960
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
961
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-provider-openai", children: "OpenAI" }),
|
|
962
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-provider-anthropic", children: "Anthropic" }),
|
|
963
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-provider-google", children: "Google" }),
|
|
964
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-provider-openrouter", children: "OpenRouter" })
|
|
793
965
|
] })
|
|
794
966
|
] }),
|
|
795
|
-
/* @__PURE__ */ (0,
|
|
796
|
-
/* @__PURE__ */ (0,
|
|
797
|
-
/* @__PURE__ */ (0,
|
|
798
|
-
/* @__PURE__ */ (0,
|
|
799
|
-
/* @__PURE__ */ (0,
|
|
967
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
968
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Badges with Icons" }),
|
|
969
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
970
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "qt-badge qt-badge-success", style: { display: "inline-flex", alignItems: "center", gap: "0.25rem" }, children: [
|
|
971
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
|
|
800
972
|
"Complete"
|
|
801
973
|
] }),
|
|
802
|
-
/* @__PURE__ */ (0,
|
|
803
|
-
/* @__PURE__ */ (0,
|
|
974
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "qt-badge qt-badge-warning", style: { display: "inline-flex", alignItems: "center", gap: "0.25rem" }, children: [
|
|
975
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" }) }),
|
|
804
976
|
"Warning"
|
|
805
977
|
] }),
|
|
806
|
-
/* @__PURE__ */ (0,
|
|
807
|
-
/* @__PURE__ */ (0,
|
|
978
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "qt-badge qt-badge-destructive", style: { display: "inline-flex", alignItems: "center", gap: "0.25rem" }, children: [
|
|
979
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }),
|
|
808
980
|
"Error"
|
|
809
981
|
] })
|
|
810
982
|
] })
|
|
811
983
|
] }),
|
|
812
|
-
/* @__PURE__ */ (0,
|
|
813
|
-
/* @__PURE__ */ (0,
|
|
814
|
-
/* @__PURE__ */ (0,
|
|
815
|
-
/* @__PURE__ */ (0,
|
|
816
|
-
/* @__PURE__ */ (0,
|
|
817
|
-
/* @__PURE__ */ (0,
|
|
818
|
-
/* @__PURE__ */ (0,
|
|
819
|
-
/* @__PURE__ */ (0,
|
|
984
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
985
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Entity Type Badges" }),
|
|
986
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
987
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-character", children: "Character" }),
|
|
988
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-user-character", children: "User Character" }),
|
|
989
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-chat", children: "Chat" }),
|
|
990
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-tag", children: "Tag" }),
|
|
991
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-memory", children: "Memory" })
|
|
820
992
|
] })
|
|
821
993
|
] }),
|
|
822
|
-
/* @__PURE__ */ (0,
|
|
823
|
-
/* @__PURE__ */ (0,
|
|
824
|
-
/* @__PURE__ */ (0,
|
|
825
|
-
/* @__PURE__ */ (0,
|
|
826
|
-
/* @__PURE__ */ (0,
|
|
827
|
-
/* @__PURE__ */ (0,
|
|
828
|
-
/* @__PURE__ */ (0,
|
|
829
|
-
/* @__PURE__ */ (0,
|
|
994
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
995
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "State Badges" }),
|
|
996
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
997
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-enabled", children: "Enabled" }),
|
|
998
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-disabled", children: "Disabled" }),
|
|
999
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-related", children: "Related" }),
|
|
1000
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-manual", children: "Manual" }),
|
|
1001
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-auto", children: "Auto" })
|
|
830
1002
|
] })
|
|
831
1003
|
] }),
|
|
832
|
-
/* @__PURE__ */ (0,
|
|
833
|
-
/* @__PURE__ */ (0,
|
|
834
|
-
/* @__PURE__ */ (0,
|
|
835
|
-
/* @__PURE__ */ (0,
|
|
836
|
-
/* @__PURE__ */ (0,
|
|
837
|
-
/* @__PURE__ */ (0,
|
|
838
|
-
/* @__PURE__ */ (0,
|
|
1004
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1005
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Plugin Source Badges" }),
|
|
1006
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
1007
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-source-included", children: "Included" }),
|
|
1008
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-source-npm", children: "NPM" }),
|
|
1009
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-source-git", children: "Git" }),
|
|
1010
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-source-manual", children: "Manual" })
|
|
839
1011
|
] })
|
|
840
1012
|
] }),
|
|
841
|
-
/* @__PURE__ */ (0,
|
|
842
|
-
/* @__PURE__ */ (0,
|
|
843
|
-
/* @__PURE__ */ (0,
|
|
844
|
-
/* @__PURE__ */ (0,
|
|
845
|
-
/* @__PURE__ */ (0,
|
|
846
|
-
/* @__PURE__ */ (0,
|
|
847
|
-
/* @__PURE__ */ (0,
|
|
848
|
-
/* @__PURE__ */ (0,
|
|
1013
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1014
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Tag Badges" }),
|
|
1015
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
1016
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "0.75rem", fontSize: "0.875rem" }, children: "Basic tags" }),
|
|
1017
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
1018
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-tag-badge", children: "Fantasy" }),
|
|
1019
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-tag-badge", children: "Sci-Fi" }),
|
|
1020
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-tag-badge", children: "Romance" })
|
|
849
1021
|
] })
|
|
850
1022
|
] }),
|
|
851
|
-
/* @__PURE__ */ (0,
|
|
852
|
-
/* @__PURE__ */ (0,
|
|
853
|
-
/* @__PURE__ */ (0,
|
|
1023
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
1024
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "0.75rem", fontSize: "0.875rem" }, children: "Emoji tag" }),
|
|
1025
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-tag-badge qt-tag-badge-emoji", children: "Adventure" }) })
|
|
854
1026
|
] }),
|
|
855
|
-
/* @__PURE__ */ (0,
|
|
856
|
-
/* @__PURE__ */ (0,
|
|
857
|
-
/* @__PURE__ */ (0,
|
|
1027
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
1028
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "0.75rem", fontSize: "0.875rem" }, children: "Removable tag" }),
|
|
1029
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "qt-tag-badge", children: [
|
|
858
1030
|
"Fantasy",
|
|
859
|
-
/* @__PURE__ */ (0,
|
|
1031
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("button", { className: "qt-tag-badge-remove", children: "\xD7" })
|
|
860
1032
|
] }) })
|
|
861
1033
|
] }),
|
|
862
|
-
/* @__PURE__ */ (0,
|
|
863
|
-
/* @__PURE__ */ (0,
|
|
864
|
-
/* @__PURE__ */ (0,
|
|
865
|
-
/* @__PURE__ */ (0,
|
|
866
|
-
/* @__PURE__ */ (0,
|
|
1034
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { children: [
|
|
1035
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "0.75rem", fontSize: "0.875rem" }, children: "Small tags in card context" }),
|
|
1036
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "qt-card", style: { maxWidth: "24rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "qt-card-body", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
|
|
1037
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-tag-badge qt-tag-badge-sm", children: "Fantasy" }),
|
|
1038
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-tag-badge qt-tag-badge-sm", children: "Sci-Fi" })
|
|
867
1039
|
] }) }) })
|
|
868
1040
|
] })
|
|
869
1041
|
] }),
|
|
870
|
-
/* @__PURE__ */ (0,
|
|
871
|
-
/* @__PURE__ */ (0,
|
|
872
|
-
/* @__PURE__ */ (0,
|
|
873
|
-
/* @__PURE__ */ (0,
|
|
874
|
-
/* @__PURE__ */ (0,
|
|
875
|
-
/* @__PURE__ */ (0,
|
|
1042
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1043
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Participant Status Badges" }),
|
|
1044
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "0.75rem", fontSize: "0.875rem" }, children: "Status indicators shown on participant cards for silent and absent characters." }),
|
|
1045
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.75rem", alignItems: "center" }, children: [
|
|
1046
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge-silent", children: "Silent" }),
|
|
1047
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge-absent", children: "Absent" })
|
|
876
1048
|
] })
|
|
877
1049
|
] }),
|
|
878
|
-
/* @__PURE__ */ (0,
|
|
879
|
-
/* @__PURE__ */ (0,
|
|
880
|
-
/* @__PURE__ */ (0,
|
|
881
|
-
/* @__PURE__ */ (0,
|
|
882
|
-
/* @__PURE__ */ (0,
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
884
|
-
/* @__PURE__ */ (0,
|
|
1050
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("section", { children: [
|
|
1051
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Usage Examples" }),
|
|
1052
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
1053
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "qt-card", style: { maxWidth: "24rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "qt-card-header", children: [
|
|
1054
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
1055
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h4", { className: "qt-card-title", children: "Feature Name" }),
|
|
1056
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-success", children: "Active" })
|
|
885
1057
|
] }),
|
|
886
|
-
/* @__PURE__ */ (0,
|
|
1058
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "qt-card-description", children: "With status badge" })
|
|
887
1059
|
] }) }),
|
|
888
|
-
/* @__PURE__ */ (0,
|
|
889
|
-
/* @__PURE__ */ (0,
|
|
890
|
-
/* @__PURE__ */ (0,
|
|
1060
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
1061
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { style: { fontWeight: 500 }, children: "Notifications" }),
|
|
1062
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-primary", style: { borderRadius: "9999px", minWidth: "1.25rem", textAlign: "center" }, children: "5" })
|
|
891
1063
|
] }),
|
|
892
|
-
/* @__PURE__ */ (0,
|
|
893
|
-
/* @__PURE__ */ (0,
|
|
894
|
-
/* @__PURE__ */ (0,
|
|
1064
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
1065
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { style: { fontWeight: 500 }, children: "Version" }),
|
|
1066
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "qt-badge qt-badge-outline", children: "v2.5.0" })
|
|
895
1067
|
] })
|
|
896
1068
|
] })
|
|
897
1069
|
] })
|
|
@@ -899,74 +1071,74 @@ var Badges = () => {
|
|
|
899
1071
|
};
|
|
900
1072
|
|
|
901
1073
|
// src/stories/components/Avatars.tsx
|
|
902
|
-
var
|
|
1074
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
903
1075
|
var Avatars = () => {
|
|
904
|
-
return /* @__PURE__ */ (0,
|
|
905
|
-
/* @__PURE__ */ (0,
|
|
906
|
-
/* @__PURE__ */ (0,
|
|
907
|
-
/* @__PURE__ */ (0,
|
|
908
|
-
/* @__PURE__ */ (0,
|
|
909
|
-
/* @__PURE__ */ (0,
|
|
910
|
-
/* @__PURE__ */ (0,
|
|
911
|
-
/* @__PURE__ */ (0,
|
|
912
|
-
/* @__PURE__ */ (0,
|
|
1076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1077
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Avatars" }),
|
|
1078
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1079
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Avatar Sizes" }),
|
|
1080
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
1081
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "SM" }) }),
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "MD" }) }),
|
|
1083
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar qt-avatar-lg", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "LG" }) }),
|
|
1084
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar qt-avatar-xl", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "XL" }) })
|
|
913
1085
|
] })
|
|
914
1086
|
] }),
|
|
915
|
-
/* @__PURE__ */ (0,
|
|
916
|
-
/* @__PURE__ */ (0,
|
|
917
|
-
/* @__PURE__ */ (0,
|
|
918
|
-
/* @__PURE__ */ (0,
|
|
919
|
-
/* @__PURE__ */ (0,
|
|
920
|
-
/* @__PURE__ */ (0,
|
|
921
|
-
/* @__PURE__ */ (0,
|
|
1087
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1088
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Avatar with Images" }),
|
|
1089
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Avatars gracefully fall back to initials when image is unavailable." }),
|
|
1090
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
1091
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "AB" }) }),
|
|
1092
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "CD" }) }),
|
|
1093
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "EF" }) })
|
|
922
1094
|
] })
|
|
923
1095
|
] }),
|
|
924
|
-
/* @__PURE__ */ (0,
|
|
925
|
-
/* @__PURE__ */ (0,
|
|
926
|
-
/* @__PURE__ */ (0,
|
|
927
|
-
/* @__PURE__ */ (0,
|
|
928
|
-
/* @__PURE__ */ (0,
|
|
929
|
-
/* @__PURE__ */ (0,
|
|
930
|
-
] }),
|
|
931
|
-
/* @__PURE__ */ (0,
|
|
932
|
-
/* @__PURE__ */ (0,
|
|
933
|
-
/* @__PURE__ */ (0,
|
|
934
|
-
] }),
|
|
935
|
-
/* @__PURE__ */ (0,
|
|
936
|
-
/* @__PURE__ */ (0,
|
|
937
|
-
/* @__PURE__ */ (0,
|
|
1096
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1097
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Avatar Shapes" }),
|
|
1098
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
1099
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
1100
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", style: { borderRadius: "9999px" }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "CR" }) }),
|
|
1101
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { style: { marginTop: "0.5rem", fontSize: "0.75rem", color: "var(--color-muted-foreground)", textAlign: "center" }, children: "Circle" })
|
|
1102
|
+
] }),
|
|
1103
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
1104
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", style: { borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "RD" }) }),
|
|
1105
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { style: { marginTop: "0.5rem", fontSize: "0.75rem", color: "var(--color-muted-foreground)", textAlign: "center" }, children: "Rounded" })
|
|
1106
|
+
] }),
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
1108
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", style: { borderRadius: "var(--radius-sm)" }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "SQ" }) }),
|
|
1109
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { style: { marginTop: "0.5rem", fontSize: "0.75rem", color: "var(--color-muted-foreground)", textAlign: "center" }, children: "Square" })
|
|
938
1110
|
] })
|
|
939
1111
|
] })
|
|
940
1112
|
] }),
|
|
941
|
-
/* @__PURE__ */ (0,
|
|
942
|
-
/* @__PURE__ */ (0,
|
|
943
|
-
/* @__PURE__ */ (0,
|
|
944
|
-
/* @__PURE__ */ (0,
|
|
945
|
-
/* @__PURE__ */ (0,
|
|
946
|
-
/* @__PURE__ */ (0,
|
|
947
|
-
/* @__PURE__ */ (0,
|
|
948
|
-
/* @__PURE__ */ (0,
|
|
1113
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1114
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Avatar Groups" }),
|
|
1115
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "qt-avatar-group", children: [
|
|
1116
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1117
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "B" }) }),
|
|
1118
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "C" }) }),
|
|
1119
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "D" }) }),
|
|
1120
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "+3" }) })
|
|
949
1121
|
] })
|
|
950
1122
|
] }),
|
|
951
|
-
/* @__PURE__ */ (0,
|
|
952
|
-
/* @__PURE__ */ (0,
|
|
953
|
-
/* @__PURE__ */ (0,
|
|
954
|
-
/* @__PURE__ */ (0,
|
|
955
|
-
/* @__PURE__ */ (0,
|
|
956
|
-
/* @__PURE__ */ (0,
|
|
957
|
-
/* @__PURE__ */ (0,
|
|
958
|
-
/* @__PURE__ */ (0,
|
|
1123
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { children: [
|
|
1124
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Usage in Context" }),
|
|
1125
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
1126
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem", padding: "0.75rem", backgroundColor: "var(--color-muted)", borderRadius: "var(--radius-lg)" }, children: [
|
|
1127
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "JD" }) }),
|
|
1128
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { flex: 1 }, children: [
|
|
1129
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { style: { fontWeight: 600 }, children: "John Doe" }),
|
|
1130
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: "john@example.com" })
|
|
959
1131
|
] }),
|
|
960
|
-
/* @__PURE__ */ (0,
|
|
961
|
-
] }),
|
|
962
|
-
/* @__PURE__ */ (0,
|
|
963
|
-
/* @__PURE__ */ (0,
|
|
964
|
-
/* @__PURE__ */ (0,
|
|
965
|
-
/* @__PURE__ */ (0,
|
|
966
|
-
/* @__PURE__ */ (0,
|
|
967
|
-
/* @__PURE__ */ (0,
|
|
1132
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "qt-badge qt-badge-success", children: "Active" })
|
|
1133
|
+
] }),
|
|
1134
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { display: "flex", gap: "0.75rem" }, children: [
|
|
1135
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "qt-avatar-fallback", children: "SM" }) }),
|
|
1136
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { flex: 1 }, children: [
|
|
1137
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
1138
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { style: { fontWeight: 600, fontSize: "0.875rem" }, children: "Sarah Miller" }),
|
|
1139
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "2 hours ago" })
|
|
968
1140
|
] }),
|
|
969
|
-
/* @__PURE__ */ (0,
|
|
1141
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { style: { fontSize: "0.875rem", marginTop: "0.25rem" }, children: "This is a sample comment with an avatar." })
|
|
970
1142
|
] })
|
|
971
1143
|
] })
|
|
972
1144
|
] })
|
|
@@ -976,131 +1148,131 @@ var Avatars = () => {
|
|
|
976
1148
|
|
|
977
1149
|
// src/stories/components/Dialogs.tsx
|
|
978
1150
|
var import_react = require("react");
|
|
979
|
-
var
|
|
1151
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
980
1152
|
var Dialogs = () => {
|
|
981
1153
|
const [basicOpen, setBasicOpen] = (0, import_react.useState)(false);
|
|
982
1154
|
const [confirmOpen, setConfirmOpen] = (0, import_react.useState)(false);
|
|
983
1155
|
const [formOpen, setFormOpen] = (0, import_react.useState)(false);
|
|
984
|
-
return /* @__PURE__ */ (0,
|
|
985
|
-
/* @__PURE__ */ (0,
|
|
986
|
-
/* @__PURE__ */ (0,
|
|
987
|
-
/* @__PURE__ */ (0,
|
|
988
|
-
/* @__PURE__ */ (0,
|
|
989
|
-
/* @__PURE__ */ (0,
|
|
990
|
-
/* @__PURE__ */ (0,
|
|
991
|
-
/* @__PURE__ */ (0,
|
|
992
|
-
/* @__PURE__ */ (0,
|
|
993
|
-
] })
|
|
994
|
-
] }),
|
|
995
|
-
basicOpen && /* @__PURE__ */ (0,
|
|
996
|
-
/* @__PURE__ */ (0,
|
|
997
|
-
/* @__PURE__ */ (0,
|
|
998
|
-
/* @__PURE__ */ (0,
|
|
999
|
-
/* @__PURE__ */ (0,
|
|
1156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1157
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Dialogs & Modals" }),
|
|
1158
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1159
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Dialog Examples" }),
|
|
1160
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Click the buttons below to open different dialog types." }),
|
|
1161
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "1rem" }, children: [
|
|
1162
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-secondary", onClick: () => setBasicOpen(true), children: "Basic Dialog" }),
|
|
1163
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-destructive", onClick: () => setConfirmOpen(true), children: "Confirmation Dialog" }),
|
|
1164
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-primary", onClick: () => setFormOpen(true), children: "Form Dialog" })
|
|
1165
|
+
] })
|
|
1166
|
+
] }),
|
|
1167
|
+
basicOpen && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-overlay", onClick: () => setBasicOpen(false), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog", onClick: (e) => e.stopPropagation(), children: [
|
|
1168
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog-header", children: [
|
|
1169
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { className: "qt-dialog-title", children: "Basic Dialog" }),
|
|
1170
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "qt-dialog-description", children: "This is a basic dialog with some content. Dialogs are used to show important information or gather user input." }),
|
|
1171
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button-icon", onClick: () => setBasicOpen(false), "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) })
|
|
1000
1172
|
] }),
|
|
1001
|
-
/* @__PURE__ */ (0,
|
|
1002
|
-
/* @__PURE__ */ (0,
|
|
1173
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-body", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: "Dialog content area with additional details and information." }) }),
|
|
1174
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-footer", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-primary", onClick: () => setBasicOpen(false), children: "Got it" }) })
|
|
1003
1175
|
] }) }),
|
|
1004
|
-
confirmOpen && /* @__PURE__ */ (0,
|
|
1005
|
-
/* @__PURE__ */ (0,
|
|
1006
|
-
/* @__PURE__ */ (0,
|
|
1007
|
-
/* @__PURE__ */ (0,
|
|
1008
|
-
/* @__PURE__ */ (0,
|
|
1176
|
+
confirmOpen && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-overlay", onClick: () => setConfirmOpen(false), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog", onClick: (e) => e.stopPropagation(), children: [
|
|
1177
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog-header", children: [
|
|
1178
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { className: "qt-dialog-title", children: "Delete Item?" }),
|
|
1179
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "qt-dialog-description", children: "Are you sure you want to delete this item? This action cannot be undone." }),
|
|
1180
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button-icon", onClick: () => setConfirmOpen(false), "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) })
|
|
1009
1181
|
] }),
|
|
1010
|
-
/* @__PURE__ */ (0,
|
|
1011
|
-
/* @__PURE__ */ (0,
|
|
1012
|
-
/* @__PURE__ */ (0,
|
|
1013
|
-
/* @__PURE__ */ (0,
|
|
1182
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-body", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: "This will remove the item from your collection permanently." }) }),
|
|
1183
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog-footer", children: [
|
|
1184
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-ghost", onClick: () => setConfirmOpen(false), children: "Cancel" }),
|
|
1185
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-destructive", onClick: () => setConfirmOpen(false), children: "Delete" })
|
|
1014
1186
|
] })
|
|
1015
1187
|
] }) }),
|
|
1016
|
-
formOpen && /* @__PURE__ */ (0,
|
|
1017
|
-
/* @__PURE__ */ (0,
|
|
1018
|
-
/* @__PURE__ */ (0,
|
|
1019
|
-
/* @__PURE__ */ (0,
|
|
1020
|
-
/* @__PURE__ */ (0,
|
|
1188
|
+
formOpen && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-overlay", onClick: () => setFormOpen(false), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog", onClick: (e) => e.stopPropagation(), style: { maxWidth: "28rem" }, children: [
|
|
1189
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog-header", children: [
|
|
1190
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { className: "qt-dialog-title", children: "Create New Item" }),
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "qt-dialog-description", children: "Fill in the details below to create a new item." }),
|
|
1192
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button-icon", onClick: () => setFormOpen(false), "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) })
|
|
1021
1193
|
] }),
|
|
1022
|
-
/* @__PURE__ */ (0,
|
|
1023
|
-
/* @__PURE__ */ (0,
|
|
1024
|
-
/* @__PURE__ */ (0,
|
|
1025
|
-
/* @__PURE__ */ (0,
|
|
1026
|
-
] }),
|
|
1027
|
-
/* @__PURE__ */ (0,
|
|
1028
|
-
/* @__PURE__ */ (0,
|
|
1029
|
-
/* @__PURE__ */ (0,
|
|
1030
|
-
] }),
|
|
1031
|
-
/* @__PURE__ */ (0,
|
|
1032
|
-
/* @__PURE__ */ (0,
|
|
1033
|
-
/* @__PURE__ */ (0,
|
|
1034
|
-
/* @__PURE__ */ (0,
|
|
1035
|
-
/* @__PURE__ */ (0,
|
|
1036
|
-
/* @__PURE__ */ (0,
|
|
1037
|
-
/* @__PURE__ */ (0,
|
|
1194
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-body", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
1195
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
|
|
1196
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Name" }),
|
|
1197
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { className: "qt-input", type: "text", placeholder: "Enter name..." })
|
|
1198
|
+
] }),
|
|
1199
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
|
|
1200
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Description" }),
|
|
1201
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("textarea", { className: "qt-input qt-textarea", placeholder: "Enter description...", style: { minHeight: "5rem" } })
|
|
1202
|
+
] }),
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Category" }),
|
|
1205
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("select", { className: "qt-input qt-select", children: [
|
|
1206
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("option", { value: "", children: "Select category..." }),
|
|
1207
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("option", { value: "1", children: "Category 1" }),
|
|
1208
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("option", { value: "2", children: "Category 2" }),
|
|
1209
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("option", { value: "3", children: "Category 3" })
|
|
1038
1210
|
] })
|
|
1039
1211
|
] })
|
|
1040
1212
|
] }) }),
|
|
1041
|
-
/* @__PURE__ */ (0,
|
|
1042
|
-
/* @__PURE__ */ (0,
|
|
1043
|
-
/* @__PURE__ */ (0,
|
|
1213
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog-footer", children: [
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-ghost", onClick: () => setFormOpen(false), children: "Cancel" }),
|
|
1215
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-primary", onClick: () => setFormOpen(false), children: "Create" })
|
|
1044
1216
|
] })
|
|
1045
1217
|
] }) }),
|
|
1046
|
-
/* @__PURE__ */ (0,
|
|
1047
|
-
/* @__PURE__ */ (0,
|
|
1048
|
-
/* @__PURE__ */ (0,
|
|
1049
|
-
/* @__PURE__ */ (0,
|
|
1050
|
-
/* @__PURE__ */ (0,
|
|
1051
|
-
/* @__PURE__ */ (0,
|
|
1052
|
-
/* @__PURE__ */ (0,
|
|
1053
|
-
] }),
|
|
1054
|
-
/* @__PURE__ */ (0,
|
|
1055
|
-
/* @__PURE__ */ (0,
|
|
1056
|
-
/* @__PURE__ */ (0,
|
|
1057
|
-
/* @__PURE__ */ (0,
|
|
1218
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1219
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Dialog Structure (Static Preview)" }),
|
|
1220
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { backgroundColor: "var(--color-muted)", padding: "2rem", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog", style: { position: "relative", transform: "none", margin: "0 auto" }, children: [
|
|
1221
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog-header", children: [
|
|
1222
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { className: "qt-dialog-title", children: "Dialog Title" }),
|
|
1223
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "qt-dialog-description", children: "This is a dialog with a title and description." }),
|
|
1224
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button-icon", "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) })
|
|
1225
|
+
] }),
|
|
1226
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-body", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: "Dialog content area. This can contain text, forms, or any other content." }) }),
|
|
1227
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog-footer", children: [
|
|
1228
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-ghost", children: "Secondary Action" }),
|
|
1229
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-primary", children: "Primary Action" })
|
|
1058
1230
|
] })
|
|
1059
1231
|
] }) })
|
|
1060
1232
|
] }),
|
|
1061
|
-
/* @__PURE__ */ (0,
|
|
1062
|
-
/* @__PURE__ */ (0,
|
|
1063
|
-
/* @__PURE__ */ (0,
|
|
1064
|
-
/* @__PURE__ */ (0,
|
|
1065
|
-
/* @__PURE__ */ (0,
|
|
1066
|
-
/* @__PURE__ */ (0,
|
|
1067
|
-
/* @__PURE__ */ (0,
|
|
1068
|
-
/* @__PURE__ */ (0,
|
|
1233
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { children: [
|
|
1234
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Dialog Sizes" }),
|
|
1235
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
1236
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
|
|
1237
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { style: { fontSize: "0.875rem", fontWeight: 500, color: "var(--color-muted-foreground)" }, children: "Small (max-width: 24rem)" }),
|
|
1238
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { backgroundColor: "var(--color-muted)", padding: "1rem", borderRadius: "var(--radius-lg)", marginTop: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog", style: { position: "relative", transform: "none", margin: 0, maxWidth: "24rem" }, children: [
|
|
1239
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-header", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { className: "qt-dialog-title", children: "Small Dialog" }) }),
|
|
1240
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-body", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: "Compact dialog for simple confirmations." }) })
|
|
1069
1241
|
] }) })
|
|
1070
1242
|
] }),
|
|
1071
|
-
/* @__PURE__ */ (0,
|
|
1072
|
-
/* @__PURE__ */ (0,
|
|
1073
|
-
/* @__PURE__ */ (0,
|
|
1074
|
-
/* @__PURE__ */ (0,
|
|
1075
|
-
/* @__PURE__ */ (0,
|
|
1243
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
|
|
1244
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { style: { fontSize: "0.875rem", fontWeight: 500, color: "var(--color-muted-foreground)" }, children: "Large (max-width: 42rem)" }),
|
|
1245
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { backgroundColor: "var(--color-muted)", padding: "1rem", borderRadius: "var(--radius-lg)", marginTop: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dialog qt-dialog-wide", style: { position: "relative", transform: "none", margin: 0, maxWidth: "42rem" }, children: [
|
|
1246
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-header", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { className: "qt-dialog-title", children: "Large Dialog" }) }),
|
|
1247
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dialog-body", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: "Larger dialog for complex forms or detailed content that needs more space." }) })
|
|
1076
1248
|
] }) })
|
|
1077
1249
|
] })
|
|
1078
1250
|
] })
|
|
1079
1251
|
] }),
|
|
1080
|
-
/* @__PURE__ */ (0,
|
|
1081
|
-
/* @__PURE__ */ (0,
|
|
1082
|
-
/* @__PURE__ */ (0,
|
|
1083
|
-
/* @__PURE__ */ (0,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1085
|
-
/* @__PURE__ */ (0,
|
|
1086
|
-
/* @__PURE__ */ (0,
|
|
1252
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1253
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Popover" }),
|
|
1254
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { position: "relative", display: "inline-block", marginTop: "2rem" }, children: [
|
|
1255
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-secondary", children: "Hover for popover" }),
|
|
1256
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-popover", style: { position: "absolute", left: 0, top: "100%", marginTop: "0.5rem", display: "block" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { padding: "0.75rem" }, children: [
|
|
1257
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { style: { fontWeight: 600, marginBottom: "0.25rem" }, children: "Popover Title" }),
|
|
1258
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: "This is popover content that provides additional context." })
|
|
1087
1259
|
] }) })
|
|
1088
1260
|
] })
|
|
1089
1261
|
] }),
|
|
1090
|
-
/* @__PURE__ */ (0,
|
|
1091
|
-
/* @__PURE__ */ (0,
|
|
1092
|
-
/* @__PURE__ */ (0,
|
|
1093
|
-
/* @__PURE__ */ (0,
|
|
1094
|
-
/* @__PURE__ */ (0,
|
|
1095
|
-
/* @__PURE__ */ (0,
|
|
1096
|
-
/* @__PURE__ */ (0,
|
|
1262
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1263
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Dropdown Menu" }),
|
|
1264
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "qt-dropdown", style: { display: "inline-block", position: "relative" }, children: [
|
|
1265
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dropdown-item", children: "Profile" }),
|
|
1266
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dropdown-item", children: "Settings" }),
|
|
1267
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dropdown-separator" }),
|
|
1268
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-dropdown-item", style: { color: "var(--color-destructive)" }, children: "Sign Out" })
|
|
1097
1269
|
] })
|
|
1098
1270
|
] }),
|
|
1099
|
-
/* @__PURE__ */ (0,
|
|
1100
|
-
/* @__PURE__ */ (0,
|
|
1101
|
-
/* @__PURE__ */ (0,
|
|
1102
|
-
/* @__PURE__ */ (0,
|
|
1103
|
-
/* @__PURE__ */ (0,
|
|
1271
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { children: [
|
|
1272
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Tooltip" }),
|
|
1273
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { display: "flex", alignItems: "center", gap: "2rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { style: { position: "relative", display: "inline-block", marginTop: "2rem" }, children: [
|
|
1274
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "qt-button qt-button-secondary", children: "Hover me" }),
|
|
1275
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "qt-tooltip", style: { position: "absolute", left: "50%", transform: "translateX(-50%)", bottom: "100%", marginBottom: "0.5rem", display: "block" }, children: "Helpful tooltip text" })
|
|
1104
1276
|
] }) })
|
|
1105
1277
|
] })
|
|
1106
1278
|
] });
|
|
@@ -1108,15 +1280,15 @@ var Dialogs = () => {
|
|
|
1108
1280
|
|
|
1109
1281
|
// src/stories/components/Tabs.tsx
|
|
1110
1282
|
var import_react2 = require("react");
|
|
1111
|
-
var
|
|
1283
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
1112
1284
|
var Tabs = () => {
|
|
1113
1285
|
const [activeTab, setActiveTab] = (0, import_react2.useState)("tab1");
|
|
1114
|
-
return /* @__PURE__ */ (0,
|
|
1115
|
-
/* @__PURE__ */ (0,
|
|
1116
|
-
/* @__PURE__ */ (0,
|
|
1117
|
-
/* @__PURE__ */ (0,
|
|
1118
|
-
/* @__PURE__ */ (0,
|
|
1119
|
-
/* @__PURE__ */ (0,
|
|
1286
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1287
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Tabs & Navigation" }),
|
|
1288
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1289
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Basic Tabs" }),
|
|
1290
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "qt-tab-group", children: [
|
|
1291
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1120
1292
|
"button",
|
|
1121
1293
|
{
|
|
1122
1294
|
className: `qt-tab ${activeTab === "tab1" ? "qt-tab-active" : ""}`,
|
|
@@ -1124,7 +1296,7 @@ var Tabs = () => {
|
|
|
1124
1296
|
children: "Account"
|
|
1125
1297
|
}
|
|
1126
1298
|
),
|
|
1127
|
-
/* @__PURE__ */ (0,
|
|
1299
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1128
1300
|
"button",
|
|
1129
1301
|
{
|
|
1130
1302
|
className: `qt-tab ${activeTab === "tab2" ? "qt-tab-active" : ""}`,
|
|
@@ -1132,7 +1304,7 @@ var Tabs = () => {
|
|
|
1132
1304
|
children: "Settings"
|
|
1133
1305
|
}
|
|
1134
1306
|
),
|
|
1135
|
-
/* @__PURE__ */ (0,
|
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1136
1308
|
"button",
|
|
1137
1309
|
{
|
|
1138
1310
|
className: `qt-tab ${activeTab === "tab3" ? "qt-tab-active" : ""}`,
|
|
@@ -1141,56 +1313,56 @@ var Tabs = () => {
|
|
|
1141
1313
|
}
|
|
1142
1314
|
)
|
|
1143
1315
|
] }),
|
|
1144
|
-
/* @__PURE__ */ (0,
|
|
1145
|
-
activeTab === "tab1" && /* @__PURE__ */ (0,
|
|
1146
|
-
/* @__PURE__ */ (0,
|
|
1147
|
-
/* @__PURE__ */ (0,
|
|
1148
|
-
] }),
|
|
1149
|
-
activeTab === "tab2" && /* @__PURE__ */ (0,
|
|
1150
|
-
/* @__PURE__ */ (0,
|
|
1151
|
-
/* @__PURE__ */ (0,
|
|
1152
|
-
] }),
|
|
1153
|
-
activeTab === "tab3" && /* @__PURE__ */ (0,
|
|
1154
|
-
/* @__PURE__ */ (0,
|
|
1155
|
-
/* @__PURE__ */ (0,
|
|
1316
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
1317
|
+
activeTab === "tab1" && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "qt-tab-content", children: [
|
|
1318
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "Account Settings" }),
|
|
1319
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { style: { color: "var(--color-muted-foreground)" }, children: "Manage your account settings and preferences." })
|
|
1320
|
+
] }),
|
|
1321
|
+
activeTab === "tab2" && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "qt-tab-content", children: [
|
|
1322
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "General Settings" }),
|
|
1323
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { style: { color: "var(--color-muted-foreground)" }, children: "Configure general application settings." })
|
|
1324
|
+
] }),
|
|
1325
|
+
activeTab === "tab3" && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "qt-tab-content", children: [
|
|
1326
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { style: { fontWeight: 600, marginBottom: "0.5rem" }, children: "Notification Preferences" }),
|
|
1327
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { style: { color: "var(--color-muted-foreground)" }, children: "Choose how you want to receive notifications." })
|
|
1156
1328
|
] })
|
|
1157
1329
|
] })
|
|
1158
1330
|
] }),
|
|
1159
|
-
/* @__PURE__ */ (0,
|
|
1160
|
-
/* @__PURE__ */ (0,
|
|
1161
|
-
/* @__PURE__ */ (0,
|
|
1162
|
-
/* @__PURE__ */ (0,
|
|
1163
|
-
/* @__PURE__ */ (0,
|
|
1331
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1332
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Tabs with Icons" }),
|
|
1333
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "qt-tab-group", children: [
|
|
1334
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("button", { className: "qt-tab qt-tab-active", style: { display: "inline-flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
1335
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" }) }),
|
|
1164
1336
|
"Home"
|
|
1165
1337
|
] }),
|
|
1166
|
-
/* @__PURE__ */ (0,
|
|
1167
|
-
/* @__PURE__ */ (0,
|
|
1338
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("button", { className: "qt-tab", style: { display: "inline-flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
1339
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" }) }),
|
|
1168
1340
|
"Profile"
|
|
1169
1341
|
] }),
|
|
1170
|
-
/* @__PURE__ */ (0,
|
|
1171
|
-
/* @__PURE__ */ (0,
|
|
1172
|
-
/* @__PURE__ */ (0,
|
|
1173
|
-
/* @__PURE__ */ (0,
|
|
1342
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("button", { className: "qt-tab", style: { display: "inline-flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
1343
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1344
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" }),
|
|
1345
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z" })
|
|
1174
1346
|
] }),
|
|
1175
1347
|
"Settings"
|
|
1176
1348
|
] })
|
|
1177
1349
|
] })
|
|
1178
1350
|
] }),
|
|
1179
|
-
/* @__PURE__ */ (0,
|
|
1180
|
-
/* @__PURE__ */ (0,
|
|
1181
|
-
/* @__PURE__ */ (0,
|
|
1182
|
-
/* @__PURE__ */ (0,
|
|
1183
|
-
/* @__PURE__ */ (0,
|
|
1184
|
-
/* @__PURE__ */ (0,
|
|
1185
|
-
/* @__PURE__ */ (0,
|
|
1186
|
-
/* @__PURE__ */ (0,
|
|
1187
|
-
/* @__PURE__ */ (0,
|
|
1188
|
-
/* @__PURE__ */ (0,
|
|
1351
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { children: [
|
|
1352
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Navigation Bar" }),
|
|
1353
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "qt-navbar", children: [
|
|
1354
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "1rem" }, children: [
|
|
1355
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { style: { fontWeight: 700, fontSize: "1.125rem" }, children: "Quilltap" }),
|
|
1356
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("nav", { style: { display: "flex", gap: "0.25rem" }, children: [
|
|
1357
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("a", { href: "#", className: "qt-navbar-link qt-navbar-link-active", children: "Dashboard" }),
|
|
1358
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("a", { href: "#", className: "qt-navbar-link", children: "Characters" }),
|
|
1359
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("a", { href: "#", className: "qt-navbar-link", children: "Chats" }),
|
|
1360
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("a", { href: "#", className: "qt-navbar-link", children: "Settings" })
|
|
1189
1361
|
] })
|
|
1190
1362
|
] }),
|
|
1191
|
-
/* @__PURE__ */ (0,
|
|
1192
|
-
/* @__PURE__ */ (0,
|
|
1193
|
-
/* @__PURE__ */ (0,
|
|
1363
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
1364
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("button", { className: "qt-button-icon", "aria-label": "Notifications", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" }) }) }),
|
|
1365
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "qt-avatar-fallback", children: "U" }) })
|
|
1194
1366
|
] })
|
|
1195
1367
|
] })
|
|
1196
1368
|
] })
|
|
@@ -1198,215 +1370,215 @@ var Tabs = () => {
|
|
|
1198
1370
|
};
|
|
1199
1371
|
|
|
1200
1372
|
// src/stories/components/Chat.tsx
|
|
1201
|
-
var
|
|
1373
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1202
1374
|
var Chat = () => {
|
|
1203
|
-
return /* @__PURE__ */ (0,
|
|
1204
|
-
/* @__PURE__ */ (0,
|
|
1205
|
-
/* @__PURE__ */ (0,
|
|
1206
|
-
/* @__PURE__ */ (0,
|
|
1207
|
-
/* @__PURE__ */ (0,
|
|
1208
|
-
/* @__PURE__ */ (0,
|
|
1209
|
-
/* @__PURE__ */ (0,
|
|
1210
|
-
/* @__PURE__ */ (0,
|
|
1211
|
-
/* @__PURE__ */ (0,
|
|
1375
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1376
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Chat Components" }),
|
|
1377
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1378
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Message Bubbles" }),
|
|
1379
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1380
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message qt-chat-message-user", children: [
|
|
1381
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-header", children: [
|
|
1382
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-author", children: "You" }),
|
|
1383
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-time", children: "2:30 PM" })
|
|
1212
1384
|
] }),
|
|
1213
|
-
/* @__PURE__ */ (0,
|
|
1385
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "Hello! How are you today?" }) })
|
|
1214
1386
|
] }) }),
|
|
1215
|
-
/* @__PURE__ */ (0,
|
|
1216
|
-
/* @__PURE__ */ (0,
|
|
1217
|
-
/* @__PURE__ */ (0,
|
|
1218
|
-
/* @__PURE__ */ (0,
|
|
1219
|
-
/* @__PURE__ */ (0,
|
|
1220
|
-
/* @__PURE__ */ (0,
|
|
1387
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1388
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1389
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1390
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-header", children: [
|
|
1391
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-author", children: "Assistant" }),
|
|
1392
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-time", children: "2:30 PM" })
|
|
1221
1393
|
] }),
|
|
1222
|
-
/* @__PURE__ */ (0,
|
|
1394
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "Hello! I'm doing well, thank you for asking. How can I help you today?" }) })
|
|
1223
1395
|
] })
|
|
1224
1396
|
] }),
|
|
1225
|
-
/* @__PURE__ */ (0,
|
|
1226
|
-
/* @__PURE__ */ (0,
|
|
1227
|
-
/* @__PURE__ */ (0,
|
|
1228
|
-
/* @__PURE__ */ (0,
|
|
1229
|
-
/* @__PURE__ */ (0,
|
|
1230
|
-
/* @__PURE__ */ (0,
|
|
1397
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1398
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1399
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1400
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-header", children: [
|
|
1401
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-author", children: "Assistant" }),
|
|
1402
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-time", children: "2:31 PM" })
|
|
1231
1403
|
] }),
|
|
1232
|
-
/* @__PURE__ */ (0,
|
|
1233
|
-
/* @__PURE__ */ (0,
|
|
1234
|
-
/* @__PURE__ */ (0,
|
|
1235
|
-
/* @__PURE__ */ (0,
|
|
1236
|
-
/* @__PURE__ */ (0,
|
|
1237
|
-
/* @__PURE__ */ (0,
|
|
1404
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-content", children: [
|
|
1405
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "Here's some information you might find helpful:" }),
|
|
1406
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("ul", { style: { marginTop: "0.5rem", paddingLeft: "1.25rem" }, children: [
|
|
1407
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { children: "First point of interest" }),
|
|
1408
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { children: "Second important detail" }),
|
|
1409
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { children: "Third relevant fact" })
|
|
1238
1410
|
] }),
|
|
1239
|
-
/* @__PURE__ */ (0,
|
|
1411
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { marginTop: "0.5rem" }, children: "Let me know if you'd like more details about any of these!" })
|
|
1240
1412
|
] }),
|
|
1241
|
-
/* @__PURE__ */ (0,
|
|
1242
|
-
/* @__PURE__ */ (0,
|
|
1243
|
-
/* @__PURE__ */ (0,
|
|
1413
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-actions", children: [
|
|
1414
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-button-icon", title: "Edit", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" }) }) }),
|
|
1415
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-button-icon", title: "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" }) }) })
|
|
1244
1416
|
] })
|
|
1245
1417
|
] })
|
|
1246
1418
|
] }),
|
|
1247
|
-
/* @__PURE__ */ (0,
|
|
1248
|
-
/* @__PURE__ */ (0,
|
|
1249
|
-
/* @__PURE__ */ (0,
|
|
1250
|
-
/* @__PURE__ */ (0,
|
|
1419
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message qt-chat-message-system", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "Alice has joined the conversation." }) }) }),
|
|
1420
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message qt-chat-message-user", children: [
|
|
1421
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-author", children: "You" }) }),
|
|
1422
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "That's exactly what I needed, thanks!" }) })
|
|
1251
1423
|
] }) })
|
|
1252
1424
|
] })
|
|
1253
1425
|
] }),
|
|
1254
|
-
/* @__PURE__ */ (0,
|
|
1255
|
-
/* @__PURE__ */ (0,
|
|
1256
|
-
/* @__PURE__ */ (0,
|
|
1257
|
-
/* @__PURE__ */ (0,
|
|
1258
|
-
/* @__PURE__ */ (0,
|
|
1259
|
-
/* @__PURE__ */ (0,
|
|
1260
|
-
/* @__PURE__ */ (0,
|
|
1261
|
-
/* @__PURE__ */ (0,
|
|
1262
|
-
/* @__PURE__ */ (0,
|
|
1426
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1427
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Character Messages" }),
|
|
1428
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Messages from different characters with their avatars." }),
|
|
1429
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1430
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1431
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1432
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
|
|
1433
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-author", style: { fontSize: "0.75rem", fontWeight: 600, marginBottom: "0.25rem" }, children: "Alice" }),
|
|
1434
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "*waves cheerfully* Hi there! I'm so glad to meet you!" }) })
|
|
1263
1435
|
] })
|
|
1264
1436
|
] }),
|
|
1265
|
-
/* @__PURE__ */ (0,
|
|
1266
|
-
/* @__PURE__ */ (0,
|
|
1267
|
-
/* @__PURE__ */ (0,
|
|
1268
|
-
/* @__PURE__ */ (0,
|
|
1269
|
-
/* @__PURE__ */ (0,
|
|
1437
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1438
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "B" }) }),
|
|
1439
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
|
|
1440
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-author", style: { fontSize: "0.75rem", fontWeight: 600, marginBottom: "0.25rem" }, children: "Bob" }),
|
|
1441
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "*nods thoughtfully* Interesting point. Let me think about that..." }) })
|
|
1270
1442
|
] })
|
|
1271
1443
|
] })
|
|
1272
1444
|
] })
|
|
1273
1445
|
] }),
|
|
1274
|
-
/* @__PURE__ */ (0,
|
|
1275
|
-
/* @__PURE__ */ (0,
|
|
1276
|
-
/* @__PURE__ */ (0,
|
|
1277
|
-
/* @__PURE__ */ (0,
|
|
1278
|
-
/* @__PURE__ */ (0,
|
|
1279
|
-
/* @__PURE__ */ (0,
|
|
1280
|
-
/* @__PURE__ */ (0,
|
|
1281
|
-
/* @__PURE__ */ (0,
|
|
1282
|
-
/* @__PURE__ */ (0,
|
|
1446
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1447
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Roleplay Annotations" }),
|
|
1448
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Special text formatting for roleplay-style messages with narration, inner thoughts, and out-of-character text." }),
|
|
1449
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1450
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1451
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1452
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1453
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-author", children: "Alice" }) }),
|
|
1454
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("p", { children: [
|
|
1283
1455
|
'"Hello there!" ',
|
|
1284
|
-
/* @__PURE__ */ (0,
|
|
1456
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-narration", children: "she said with a warm smile, stepping forward to greet you." })
|
|
1285
1457
|
] }) })
|
|
1286
1458
|
] })
|
|
1287
1459
|
] }),
|
|
1288
|
-
/* @__PURE__ */ (0,
|
|
1289
|
-
/* @__PURE__ */ (0,
|
|
1290
|
-
/* @__PURE__ */ (0,
|
|
1291
|
-
/* @__PURE__ */ (0,
|
|
1292
|
-
/* @__PURE__ */ (0,
|
|
1293
|
-
/* @__PURE__ */ (0,
|
|
1460
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1461
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1462
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-author", children: "Alice" }) }),
|
|
1464
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("p", { children: [
|
|
1465
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-narration", children: "She paused for a moment, considering her words carefully." }),
|
|
1294
1466
|
" ",
|
|
1295
|
-
/* @__PURE__ */ (0,
|
|
1467
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-inner-monologue", children: "I wonder if they noticed..." })
|
|
1296
1468
|
] }) })
|
|
1297
1469
|
] })
|
|
1298
1470
|
] }),
|
|
1299
|
-
/* @__PURE__ */ (0,
|
|
1300
|
-
/* @__PURE__ */ (0,
|
|
1301
|
-
/* @__PURE__ */ (0,
|
|
1302
|
-
/* @__PURE__ */ (0,
|
|
1303
|
-
/* @__PURE__ */ (0,
|
|
1471
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1472
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1473
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1474
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-message-author", children: "Alice" }) }),
|
|
1475
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "qt-chat-ooc", children: "((OOC: Should we continue the scene or take a break?))" }) }) })
|
|
1304
1476
|
] })
|
|
1305
1477
|
] })
|
|
1306
1478
|
] })
|
|
1307
1479
|
] }),
|
|
1308
|
-
/* @__PURE__ */ (0,
|
|
1309
|
-
/* @__PURE__ */ (0,
|
|
1310
|
-
/* @__PURE__ */ (0,
|
|
1311
|
-
/* @__PURE__ */ (0,
|
|
1312
|
-
/* @__PURE__ */ (0,
|
|
1313
|
-
/* @__PURE__ */ (0,
|
|
1314
|
-
/* @__PURE__ */ (0,
|
|
1480
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1481
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Whisper Messages" }),
|
|
1482
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Private messages visible only to sender and recipient. Overheard whispers have a faded style." }),
|
|
1483
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1484
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-whisper", children: [
|
|
1485
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-whisper-label", children: "whispered to Elena" }),
|
|
1486
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "I don't trust the merchant. Meet me at the tavern tonight\u2014alone." })
|
|
1315
1487
|
] }) }),
|
|
1316
|
-
/* @__PURE__ */ (0,
|
|
1317
|
-
/* @__PURE__ */ (0,
|
|
1318
|
-
/* @__PURE__ */ (0,
|
|
1488
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-whisper qt-chat-message-whisper-overheard", children: [
|
|
1489
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-whisper-label", children: "whispered to Marcus" }),
|
|
1490
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "Keep an eye on the door. We may need a quick exit." })
|
|
1319
1491
|
] }) })
|
|
1320
1492
|
] })
|
|
1321
1493
|
] }),
|
|
1322
|
-
/* @__PURE__ */ (0,
|
|
1323
|
-
/* @__PURE__ */ (0,
|
|
1324
|
-
/* @__PURE__ */ (0,
|
|
1325
|
-
/* @__PURE__ */ (0,
|
|
1326
|
-
/* @__PURE__ */ (0,
|
|
1327
|
-
/* @__PURE__ */ (0,
|
|
1328
|
-
/* @__PURE__ */ (0,
|
|
1494
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1495
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Silent Messages" }),
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Inner thoughts and actions from characters in silent mode. They can think and act physically, but cannot speak aloud. Distinguished from whispers by dotted borders and sage/teal tones." }),
|
|
1497
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1498
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-silent", children: [
|
|
1499
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-silent-label", children: "silent \u2014 inner thoughts and actions only" }),
|
|
1500
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "*glances at the door, weighing whether to follow or stay behind*" })
|
|
1329
1501
|
] }) }),
|
|
1330
|
-
/* @__PURE__ */ (0,
|
|
1331
|
-
/* @__PURE__ */ (0,
|
|
1332
|
-
/* @__PURE__ */ (0,
|
|
1502
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-silent", children: [
|
|
1503
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-silent-label", children: "silent \u2014 inner thoughts and actions only" }),
|
|
1504
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "*quietly pockets the letter before anyone notices, mind racing with questions about its contents*" })
|
|
1333
1505
|
] }) })
|
|
1334
1506
|
] })
|
|
1335
1507
|
] }),
|
|
1336
|
-
/* @__PURE__ */ (0,
|
|
1337
|
-
/* @__PURE__ */ (0,
|
|
1338
|
-
/* @__PURE__ */ (0,
|
|
1339
|
-
/* @__PURE__ */ (0,
|
|
1340
|
-
/* @__PURE__ */ (0,
|
|
1341
|
-
/* @__PURE__ */ (0,
|
|
1342
|
-
/* @__PURE__ */ (0,
|
|
1343
|
-
/* @__PURE__ */ (0,
|
|
1344
|
-
/* @__PURE__ */ (0,
|
|
1508
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1509
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Wardrobe Action Notices" }),
|
|
1510
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Inline summaries of outfit changes (equip, unequip, gift). Distinguished from whispers (dashed purple) and silent messages (dotted teal) by a double border and warm amber/gold tones." }),
|
|
1511
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1512
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-wardrobe-notice", children: [
|
|
1513
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-wardrobe-label", children: "Wardrobe" }),
|
|
1514
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-wardrobe-summary", children: [
|
|
1515
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: "Equipped \u201CCrimson Evening Gown\u201D in the top slot." }),
|
|
1516
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: "Wearing: Crimson Evening Gown (top, bottom), Glass Slippers (footwear)" })
|
|
1345
1517
|
] })
|
|
1346
1518
|
] }),
|
|
1347
|
-
/* @__PURE__ */ (0,
|
|
1348
|
-
/* @__PURE__ */ (0,
|
|
1349
|
-
/* @__PURE__ */ (0,
|
|
1350
|
-
/* @__PURE__ */ (0,
|
|
1351
|
-
/* @__PURE__ */ (0,
|
|
1519
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-wardrobe-notice", children: [
|
|
1520
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-wardrobe-label", children: "Wardrobe" }),
|
|
1521
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-wardrobe-summary", children: [
|
|
1522
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: "Removed item from the footwear slot." }),
|
|
1523
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: "Wearing: Crimson Evening Gown (top, bottom), barefoot" })
|
|
1352
1524
|
] })
|
|
1353
1525
|
] }),
|
|
1354
|
-
/* @__PURE__ */ (0,
|
|
1355
|
-
/* @__PURE__ */ (0,
|
|
1356
|
-
/* @__PURE__ */ (0,
|
|
1357
|
-
/* @__PURE__ */ (0,
|
|
1358
|
-
/* @__PURE__ */ (0,
|
|
1526
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-wardrobe-notice", children: [
|
|
1527
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-wardrobe-label", children: "Wardrobe" }),
|
|
1528
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-wardrobe-summary", children: [
|
|
1529
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: "Gifted \u201CSilver Pocket Watch\u201D to Marcus." }),
|
|
1530
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: "Marcus put it on immediately." })
|
|
1359
1531
|
] })
|
|
1360
1532
|
] })
|
|
1361
1533
|
] })
|
|
1362
1534
|
] }),
|
|
1363
|
-
/* @__PURE__ */ (0,
|
|
1364
|
-
/* @__PURE__ */ (0,
|
|
1365
|
-
/* @__PURE__ */ (0,
|
|
1366
|
-
/* @__PURE__ */ (0,
|
|
1367
|
-
/* @__PURE__ */ (0,
|
|
1368
|
-
/* @__PURE__ */ (0,
|
|
1369
|
-
/* @__PURE__ */ (0,
|
|
1370
|
-
/* @__PURE__ */ (0,
|
|
1371
|
-
/* @__PURE__ */ (0,
|
|
1372
|
-
/* @__PURE__ */ (0,
|
|
1373
|
-
/* @__PURE__ */ (0,
|
|
1535
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1536
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Chat Toolbar" }),
|
|
1537
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Formatting and action buttons for chat composition." }),
|
|
1538
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-toolbar", style: { maxWidth: "32rem", display: "flex", gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
1539
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-chat-toolbar-button", title: "Bold", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 4h8a4 4 0 014 4v2M6 4v16M6 4h8a2 2 0 012 2v2M6 12h12" }) }) }),
|
|
1540
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-chat-toolbar-button", title: "Italic", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 5h4m-4 14h4M9 5h6M9 19H3" }) }) }),
|
|
1541
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-chat-toolbar-button", title: "Underline", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 5v10a4 4 0 008 0V5m0 14H7" }) }) }),
|
|
1542
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { flex: 1 } }),
|
|
1543
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-chat-toolbar-button", title: "Settings", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1544
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" }),
|
|
1545
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z" })
|
|
1374
1546
|
] }) })
|
|
1375
1547
|
] })
|
|
1376
1548
|
] }),
|
|
1377
|
-
/* @__PURE__ */ (0,
|
|
1378
|
-
/* @__PURE__ */ (0,
|
|
1379
|
-
/* @__PURE__ */ (0,
|
|
1380
|
-
/* @__PURE__ */ (0,
|
|
1381
|
-
/* @__PURE__ */ (0,
|
|
1382
|
-
/* @__PURE__ */ (0,
|
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1550
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "RP Annotation Buttons" }),
|
|
1551
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Quick-insert buttons for roleplay annotation types." }),
|
|
1552
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-rp-annotation-toolbar", style: { maxWidth: "32rem", display: "flex", gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
1553
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("button", { className: "qt-rp-annotation-button-narration", title: "Narration", children: [
|
|
1554
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { className: "w-4 h-4 mr-1", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h7" }) }),
|
|
1383
1555
|
"Narration"
|
|
1384
1556
|
] }),
|
|
1385
|
-
/* @__PURE__ */ (0,
|
|
1386
|
-
/* @__PURE__ */ (0,
|
|
1557
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("button", { className: "qt-rp-annotation-button-internal", title: "Inner Monologue", children: [
|
|
1558
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { className: "w-4 h-4 mr-1", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" }) }),
|
|
1387
1559
|
"Internal"
|
|
1388
1560
|
] }),
|
|
1389
|
-
/* @__PURE__ */ (0,
|
|
1390
|
-
/* @__PURE__ */ (0,
|
|
1561
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("button", { className: "qt-rp-annotation-button-ooc", title: "Out of Character", children: [
|
|
1562
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { className: "w-4 h-4 mr-1", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" }) }),
|
|
1391
1563
|
"OOC"
|
|
1392
1564
|
] })
|
|
1393
1565
|
] })
|
|
1394
1566
|
] }),
|
|
1395
|
-
/* @__PURE__ */ (0,
|
|
1396
|
-
/* @__PURE__ */ (0,
|
|
1397
|
-
/* @__PURE__ */ (0,
|
|
1398
|
-
/* @__PURE__ */ (0,
|
|
1399
|
-
/* @__PURE__ */ (0,
|
|
1400
|
-
/* @__PURE__ */ (0,
|
|
1401
|
-
/* @__PURE__ */ (0,
|
|
1402
|
-
/* @__PURE__ */ (0,
|
|
1567
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1568
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Attachments" }),
|
|
1569
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "File attachment chips and attachment button." }),
|
|
1570
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-composer", style: { maxWidth: "32rem" }, children: [
|
|
1571
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-attachment-list", style: { display: "flex", gap: "0.5rem", marginBottom: "0.75rem", flexWrap: "wrap" }, children: [
|
|
1572
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-attachment-chip", children: [
|
|
1573
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "document.pdf" }),
|
|
1574
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "ml-2 text-gray-400 hover:text-gray-600", style: { marginLeft: "0.5rem" }, children: "\xD7" })
|
|
1403
1575
|
] }),
|
|
1404
|
-
/* @__PURE__ */ (0,
|
|
1405
|
-
/* @__PURE__ */ (0,
|
|
1406
|
-
/* @__PURE__ */ (0,
|
|
1576
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-attachment-chip", children: [
|
|
1577
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "image.png" }),
|
|
1578
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "ml-2 text-gray-400 hover:text-gray-600", style: { marginLeft: "0.5rem" }, children: "\xD7" })
|
|
1407
1579
|
] })
|
|
1408
1580
|
] }),
|
|
1409
|
-
/* @__PURE__ */ (0,
|
|
1581
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1410
1582
|
"textarea",
|
|
1411
1583
|
{
|
|
1412
1584
|
className: "qt-chat-composer-input",
|
|
@@ -1415,17 +1587,17 @@ var Chat = () => {
|
|
|
1415
1587
|
style: { width: "100%", padding: "0.5rem", marginBottom: "0.5rem" }
|
|
1416
1588
|
}
|
|
1417
1589
|
),
|
|
1418
|
-
/* @__PURE__ */ (0,
|
|
1419
|
-
/* @__PURE__ */ (0,
|
|
1420
|
-
/* @__PURE__ */ (0,
|
|
1590
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-composer-actions", style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1591
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-chat-attachment-button", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 4v16m8-8H4" }) }) }),
|
|
1592
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-button qt-button-primary", children: "Send" })
|
|
1421
1593
|
] })
|
|
1422
1594
|
] })
|
|
1423
1595
|
] }),
|
|
1424
|
-
/* @__PURE__ */ (0,
|
|
1425
|
-
/* @__PURE__ */ (0,
|
|
1426
|
-
/* @__PURE__ */ (0,
|
|
1427
|
-
/* @__PURE__ */ (0,
|
|
1428
|
-
/* @__PURE__ */ (0,
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1597
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Chat Input" }),
|
|
1598
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-composer", style: { maxWidth: "32rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-composer-inner", style: { display: "flex", alignItems: "flex-end", gap: "0.5rem", flex: 1 }, children: [
|
|
1599
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-button-icon", "aria-label": "Attach file", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13" }) }) }),
|
|
1600
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1429
1601
|
"textarea",
|
|
1430
1602
|
{
|
|
1431
1603
|
className: "qt-chat-composer-input qt-input",
|
|
@@ -1433,65 +1605,65 @@ var Chat = () => {
|
|
|
1433
1605
|
rows: 1
|
|
1434
1606
|
}
|
|
1435
1607
|
),
|
|
1436
|
-
/* @__PURE__ */ (0,
|
|
1608
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-button qt-button-primary qt-chat-composer-send", style: { height: "auto", padding: "0.5rem 1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 19l9 2-9-18-9 18 9-2zm0 0v-8" }) }) })
|
|
1437
1609
|
] }) })
|
|
1438
1610
|
] }),
|
|
1439
|
-
/* @__PURE__ */ (0,
|
|
1440
|
-
/* @__PURE__ */ (0,
|
|
1441
|
-
/* @__PURE__ */ (0,
|
|
1442
|
-
/* @__PURE__ */ (0,
|
|
1443
|
-
/* @__PURE__ */ (0,
|
|
1444
|
-
/* @__PURE__ */ (0,
|
|
1445
|
-
/* @__PURE__ */ (0,
|
|
1446
|
-
/* @__PURE__ */ (0,
|
|
1611
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1612
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Typing Indicator" }),
|
|
1613
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem", maxWidth: "32rem" }, children: [
|
|
1614
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1615
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-typing-indicator", children: [
|
|
1616
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", {}),
|
|
1617
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", {}),
|
|
1618
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", {})
|
|
1447
1619
|
] }) })
|
|
1448
1620
|
] })
|
|
1449
1621
|
] }),
|
|
1450
|
-
/* @__PURE__ */ (0,
|
|
1451
|
-
/* @__PURE__ */ (0,
|
|
1452
|
-
/* @__PURE__ */ (0,
|
|
1453
|
-
/* @__PURE__ */ (0,
|
|
1454
|
-
/* @__PURE__ */ (0,
|
|
1455
|
-
/* @__PURE__ */ (0,
|
|
1456
|
-
/* @__PURE__ */ (0,
|
|
1457
|
-
/* @__PURE__ */ (0,
|
|
1622
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1623
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Chat Control Buttons" }),
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Continue and stop buttons for controlling AI response generation." }),
|
|
1625
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1626
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("button", { className: "qt-chat-continue-button", children: [
|
|
1627
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("svg", { className: "w-4 h-4 mr-2", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1628
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" }),
|
|
1629
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })
|
|
1458
1630
|
] }),
|
|
1459
1631
|
"Continue"
|
|
1460
1632
|
] }),
|
|
1461
|
-
/* @__PURE__ */ (0,
|
|
1462
|
-
/* @__PURE__ */ (0,
|
|
1463
|
-
/* @__PURE__ */ (0,
|
|
1464
|
-
/* @__PURE__ */ (0,
|
|
1633
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("button", { className: "qt-chat-stop-button", children: [
|
|
1634
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("svg", { className: "w-4 h-4 mr-2", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1635
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }),
|
|
1636
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 10a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-4z" })
|
|
1465
1637
|
] }),
|
|
1466
1638
|
"Stop"
|
|
1467
1639
|
] })
|
|
1468
1640
|
] })
|
|
1469
1641
|
] }),
|
|
1470
|
-
/* @__PURE__ */ (0,
|
|
1471
|
-
/* @__PURE__ */ (0,
|
|
1472
|
-
/* @__PURE__ */ (0,
|
|
1473
|
-
/* @__PURE__ */ (0,
|
|
1474
|
-
/* @__PURE__ */ (0,
|
|
1475
|
-
/* @__PURE__ */ (0,
|
|
1476
|
-
/* @__PURE__ */ (0,
|
|
1477
|
-
/* @__PURE__ */ (0,
|
|
1478
|
-
/* @__PURE__ */ (0,
|
|
1642
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("section", { children: [
|
|
1643
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Full Chat Layout" }),
|
|
1644
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-layout", style: { height: "24rem", border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)", display: "flex", flexDirection: "column" }, children: [
|
|
1645
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", padding: "0.75rem 1rem", borderBottom: "1px solid var(--color-border)" }, children: [
|
|
1646
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
1647
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1648
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
|
|
1649
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { fontWeight: 600 }, children: "Assistant" }),
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Online" })
|
|
1479
1651
|
] })
|
|
1480
1652
|
] }),
|
|
1481
|
-
/* @__PURE__ */ (0,
|
|
1482
|
-
/* @__PURE__ */ (0,
|
|
1483
|
-
/* @__PURE__ */ (0,
|
|
1653
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { display: "flex", gap: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-button-icon", "aria-label": "Settings", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1654
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" }),
|
|
1655
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z" })
|
|
1484
1656
|
] }) }) })
|
|
1485
1657
|
] }),
|
|
1486
|
-
/* @__PURE__ */ (0,
|
|
1487
|
-
/* @__PURE__ */ (0,
|
|
1488
|
-
/* @__PURE__ */ (0,
|
|
1489
|
-
/* @__PURE__ */ (0,
|
|
1658
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { flex: 1, overflow: "auto", padding: "1rem", display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
|
|
1659
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1660
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1661
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "Hello! How can I help you today?" }) })
|
|
1490
1662
|
] }),
|
|
1491
|
-
/* @__PURE__ */ (0,
|
|
1663
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "qt-chat-message qt-chat-message-user", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { children: "I'd like to know more about theming." }) }) })
|
|
1492
1664
|
] }),
|
|
1493
|
-
/* @__PURE__ */ (0,
|
|
1494
|
-
/* @__PURE__ */ (0,
|
|
1665
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "qt-chat-composer", style: { margin: "0.5rem", borderRadius: "var(--radius-lg)" }, children: [
|
|
1666
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1495
1667
|
"textarea",
|
|
1496
1668
|
{
|
|
1497
1669
|
className: "qt-chat-composer-input qt-input",
|
|
@@ -1499,7 +1671,7 @@ var Chat = () => {
|
|
|
1499
1671
|
rows: 1
|
|
1500
1672
|
}
|
|
1501
1673
|
),
|
|
1502
|
-
/* @__PURE__ */ (0,
|
|
1674
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "qt-button qt-button-primary qt-button-sm", children: "Send" })
|
|
1503
1675
|
] })
|
|
1504
1676
|
] })
|
|
1505
1677
|
] })
|
|
@@ -1507,7 +1679,7 @@ var Chat = () => {
|
|
|
1507
1679
|
};
|
|
1508
1680
|
|
|
1509
1681
|
// src/stories/components/Terminal.tsx
|
|
1510
|
-
var
|
|
1682
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1511
1683
|
var sampleOutput = `$ git status
|
|
1512
1684
|
On branch main
|
|
1513
1685
|
Your branch is up to date with 'origin/main'.
|
|
@@ -1519,117 +1691,117 @@ $ npm run dev
|
|
|
1519
1691
|
- Local: http://localhost:3000
|
|
1520
1692
|
- ready started server on 0.0.0.0:3000`;
|
|
1521
1693
|
var Terminal = () => {
|
|
1522
|
-
return /* @__PURE__ */ (0,
|
|
1523
|
-
/* @__PURE__ */ (0,
|
|
1524
|
-
/* @__PURE__ */ (0,
|
|
1694
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1695
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Terminal Components" }),
|
|
1696
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "1.5rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1525
1697
|
"The terminal carries its own identity. By default it stays dark in both light and dark themes \u2014 but a theme can override",
|
|
1526
1698
|
" ",
|
|
1527
|
-
/* @__PURE__ */ (0,
|
|
1699
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: "--qt-terminal-bg" }),
|
|
1528
1700
|
", ",
|
|
1529
|
-
/* @__PURE__ */ (0,
|
|
1701
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: "--qt-terminal-fg" }),
|
|
1530
1702
|
", and the",
|
|
1531
|
-
/* @__PURE__ */ (0,
|
|
1703
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: "--qt-terminal-chrome-*" }),
|
|
1532
1704
|
" tokens to reskin every surface below."
|
|
1533
1705
|
] }),
|
|
1534
|
-
/* @__PURE__ */ (0,
|
|
1535
|
-
/* @__PURE__ */ (0,
|
|
1536
|
-
/* @__PURE__ */ (0,
|
|
1537
|
-
/* @__PURE__ */ (0,
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "In-chat embed" }),
|
|
1708
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1709
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-embed" }),
|
|
1538
1710
|
" wraps the embed card; the header and footer strips inherit the surrounding theme so they nest cleanly with chat bubbles."
|
|
1539
1711
|
] }),
|
|
1540
|
-
/* @__PURE__ */ (0,
|
|
1541
|
-
/* @__PURE__ */ (0,
|
|
1542
|
-
/* @__PURE__ */ (0,
|
|
1543
|
-
/* @__PURE__ */ (0,
|
|
1544
|
-
/* @__PURE__ */ (0,
|
|
1545
|
-
/* @__PURE__ */ (0,
|
|
1712
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed", style: { maxWidth: "36rem" }, children: [
|
|
1713
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed-header", children: [
|
|
1714
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 500, margin: 0 }, children: "Terminal \u2014 zsh" }) }),
|
|
1715
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1716
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-icon", type: "button", children: "Pop out" }),
|
|
1717
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-icon qt-text-destructive", type: "button", children: "Kill" })
|
|
1546
1718
|
] })
|
|
1547
1719
|
] }),
|
|
1548
|
-
/* @__PURE__ */ (0,
|
|
1720
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-terminal-surface", style: { padding: "0.75rem", fontFamily: "var(--qt-font-mono, monospace)", color: "var(--qt-terminal-fg)", fontSize: "0.8125rem", whiteSpace: "pre-wrap" }, children: sampleOutput })
|
|
1549
1721
|
] })
|
|
1550
1722
|
] }),
|
|
1551
|
-
/* @__PURE__ */ (0,
|
|
1552
|
-
/* @__PURE__ */ (0,
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1554
|
-
/* @__PURE__ */ (0,
|
|
1555
|
-
/* @__PURE__ */ (0,
|
|
1556
|
-
/* @__PURE__ */ (0,
|
|
1557
|
-
/* @__PURE__ */ (0,
|
|
1723
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1724
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Embed footer (handed off to Terminal Mode pane)" }),
|
|
1725
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed", style: { maxWidth: "36rem" }, children: [
|
|
1726
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-terminal-embed-header", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 500, margin: 0 }, children: "Terminal \u2014 zsh" }) }),
|
|
1727
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed-footer", children: [
|
|
1728
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-text-secondary", children: "Showing in Terminal Mode pane." }),
|
|
1729
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-secondary", type: "button", style: { fontSize: "0.75rem", padding: "0.25rem 0.5rem" }, children: "Go to pane \u2192" })
|
|
1558
1730
|
] })
|
|
1559
1731
|
] })
|
|
1560
1732
|
] }),
|
|
1561
|
-
/* @__PURE__ */ (0,
|
|
1562
|
-
/* @__PURE__ */ (0,
|
|
1563
|
-
/* @__PURE__ */ (0,
|
|
1733
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1734
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Pop-out page chrome" }),
|
|
1735
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1564
1736
|
"The full-screen pop-out page uses",
|
|
1565
1737
|
" ",
|
|
1566
|
-
/* @__PURE__ */ (0,
|
|
1738
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-popout-page" }),
|
|
1567
1739
|
" as the outer canvas and",
|
|
1568
1740
|
" ",
|
|
1569
|
-
/* @__PURE__ */ (0,
|
|
1741
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-popout-header" }),
|
|
1570
1742
|
" for the breadcrumb bar."
|
|
1571
1743
|
] }),
|
|
1572
|
-
/* @__PURE__ */ (0,
|
|
1573
|
-
/* @__PURE__ */ (0,
|
|
1574
|
-
/* @__PURE__ */ (0,
|
|
1575
|
-
/* @__PURE__ */ (0,
|
|
1576
|
-
/* @__PURE__ */ (0,
|
|
1577
|
-
/* @__PURE__ */ (0,
|
|
1578
|
-
/* @__PURE__ */ (0,
|
|
1744
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-popout-page", style: { borderRadius: "0.5rem", overflow: "hidden", border: "1px solid var(--color-border)", height: "240px", display: "flex", flexDirection: "column" }, children: [
|
|
1745
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-popout-header", children: [
|
|
1746
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
1747
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-icon", type: "button", style: { color: "inherit" }, children: "\u2190" }),
|
|
1748
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("a", { href: "#", className: "qt-terminal-popout-link", style: { fontSize: "0.875rem" }, children: "Chat" }),
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-terminal-popout-separator", children: "/" }),
|
|
1750
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h1", { className: "qt-terminal-popout-title", style: { fontSize: "1rem", margin: 0 }, children: "Terminal \u2014 zsh" })
|
|
1579
1751
|
] }),
|
|
1580
|
-
/* @__PURE__ */ (0,
|
|
1752
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-destructive", type: "button", style: { fontSize: "0.875rem" }, children: "Kill Session" })
|
|
1581
1753
|
] }),
|
|
1582
|
-
/* @__PURE__ */ (0,
|
|
1754
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: { flex: 1, padding: "0.75rem", fontFamily: "var(--qt-font-mono, monospace)", color: "var(--qt-terminal-fg)", fontSize: "0.8125rem", whiteSpace: "pre-wrap" }, children: sampleOutput })
|
|
1583
1755
|
] })
|
|
1584
1756
|
] }),
|
|
1585
|
-
/* @__PURE__ */ (0,
|
|
1586
|
-
/* @__PURE__ */ (0,
|
|
1587
|
-
/* @__PURE__ */ (0,
|
|
1757
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { children: [
|
|
1758
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Session-exited overlay" }),
|
|
1759
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1588
1760
|
"When the PTY exits but the terminal stays mounted, the",
|
|
1589
1761
|
" ",
|
|
1590
|
-
/* @__PURE__ */ (0,
|
|
1762
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-closed-badge" }),
|
|
1591
1763
|
" overlay marks it."
|
|
1592
1764
|
] }),
|
|
1593
|
-
/* @__PURE__ */ (0,
|
|
1765
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-terminal-surface", style: { position: "relative", height: "120px", borderRadius: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-terminal-closed-badge", children: "Closed" }) })
|
|
1594
1766
|
] })
|
|
1595
1767
|
] });
|
|
1596
1768
|
};
|
|
1597
1769
|
|
|
1598
1770
|
// src/stories/components/FilePreview.tsx
|
|
1599
|
-
var
|
|
1771
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1600
1772
|
var FilePreview = () => {
|
|
1601
|
-
return /* @__PURE__ */ (0,
|
|
1602
|
-
/* @__PURE__ */ (0,
|
|
1603
|
-
/* @__PURE__ */ (0,
|
|
1604
|
-
/* @__PURE__ */ (0,
|
|
1605
|
-
/* @__PURE__ */ (0,
|
|
1606
|
-
/* @__PURE__ */ (0,
|
|
1773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1774
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "File Preview Components" }),
|
|
1775
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1776
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Scroll Container" }),
|
|
1777
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1778
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-scroll" }),
|
|
1607
1779
|
" - Scrollable container for file content with configurable max height."
|
|
1608
1780
|
] }),
|
|
1609
|
-
/* @__PURE__ */ (0,
|
|
1781
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-scroll", style: { height: "150px", border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { padding: "1rem" }, children: Array.from({ length: 20 }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { margin: "0.5rem 0" }, children: [
|
|
1610
1782
|
"Line ",
|
|
1611
1783
|
i + 1,
|
|
1612
1784
|
": Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
1613
1785
|
] }, i)) }) })
|
|
1614
1786
|
] }),
|
|
1615
|
-
/* @__PURE__ */ (0,
|
|
1616
|
-
/* @__PURE__ */ (0,
|
|
1617
|
-
/* @__PURE__ */ (0,
|
|
1618
|
-
/* @__PURE__ */ (0,
|
|
1787
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1788
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Content Panel" }),
|
|
1789
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1790
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-panel" }),
|
|
1619
1791
|
" - Background panel for rendered markdown content."
|
|
1620
1792
|
] }),
|
|
1621
|
-
/* @__PURE__ */ (0,
|
|
1622
|
-
/* @__PURE__ */ (0,
|
|
1623
|
-
/* @__PURE__ */ (0,
|
|
1793
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-file-preview-panel", children: [
|
|
1794
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h4", { style: { margin: "0 0 0.5rem 0" }, children: "Document Title" }),
|
|
1795
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { margin: 0 }, children: "This is a content panel used for displaying rendered markdown files with a subtle background." })
|
|
1624
1796
|
] })
|
|
1625
1797
|
] }),
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
1627
|
-
/* @__PURE__ */ (0,
|
|
1628
|
-
/* @__PURE__ */ (0,
|
|
1629
|
-
/* @__PURE__ */ (0,
|
|
1798
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1799
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Code Block" }),
|
|
1800
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1801
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-code" }),
|
|
1630
1802
|
" - Styled code block for plain text and source files with word wrap."
|
|
1631
1803
|
] }),
|
|
1632
|
-
/* @__PURE__ */ (0,
|
|
1804
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("pre", { className: "qt-file-preview-code", children: `function greet(name: string): string {
|
|
1633
1805
|
return \`Hello, \${name}!\`;
|
|
1634
1806
|
}
|
|
1635
1807
|
|
|
@@ -1637,133 +1809,133 @@ var FilePreview = () => {
|
|
|
1637
1809
|
const message = greet("World");
|
|
1638
1810
|
console.log(message);` })
|
|
1639
1811
|
] }),
|
|
1640
|
-
/* @__PURE__ */ (0,
|
|
1641
|
-
/* @__PURE__ */ (0,
|
|
1642
|
-
/* @__PURE__ */ (0,
|
|
1643
|
-
/* @__PURE__ */ (0,
|
|
1812
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1813
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Loading State" }),
|
|
1814
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1815
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-loading" }),
|
|
1644
1816
|
" + ",
|
|
1645
|
-
/* @__PURE__ */ (0,
|
|
1817
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-loading-text" }),
|
|
1646
1818
|
" - Loading indicator."
|
|
1647
1819
|
] }),
|
|
1648
|
-
/* @__PURE__ */ (0,
|
|
1820
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-loading", style: { minHeight: "150px" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-loading-text", children: "Loading file..." }) }) })
|
|
1649
1821
|
] }),
|
|
1650
|
-
/* @__PURE__ */ (0,
|
|
1651
|
-
/* @__PURE__ */ (0,
|
|
1652
|
-
/* @__PURE__ */ (0,
|
|
1653
|
-
/* @__PURE__ */ (0,
|
|
1822
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1823
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Empty / Error State" }),
|
|
1824
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1825
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-empty" }),
|
|
1654
1826
|
" + ",
|
|
1655
|
-
/* @__PURE__ */ (0,
|
|
1827
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-empty-icon" }),
|
|
1656
1828
|
" - Empty or error state display."
|
|
1657
1829
|
] }),
|
|
1658
|
-
/* @__PURE__ */ (0,
|
|
1659
|
-
/* @__PURE__ */ (0,
|
|
1660
|
-
/* @__PURE__ */ (0,
|
|
1661
|
-
/* @__PURE__ */ (0,
|
|
1830
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "grid", gridTemplateColumns: "repeat(2, 1fr)", gap: "1rem" }, children: [
|
|
1831
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-file-preview-empty", style: { minHeight: "150px" }, children: [
|
|
1832
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-empty-icon", children: "\u{1F4C4}" }),
|
|
1833
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "No content available" })
|
|
1662
1834
|
] }) }),
|
|
1663
|
-
/* @__PURE__ */ (0,
|
|
1664
|
-
/* @__PURE__ */ (0,
|
|
1665
|
-
/* @__PURE__ */ (0,
|
|
1835
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-file-preview-empty", style: { minHeight: "150px" }, children: [
|
|
1836
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-empty-icon", children: "\u26A0\uFE0F" }),
|
|
1837
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Failed to load file" })
|
|
1666
1838
|
] }) })
|
|
1667
1839
|
] })
|
|
1668
1840
|
] }),
|
|
1669
|
-
/* @__PURE__ */ (0,
|
|
1670
|
-
/* @__PURE__ */ (0,
|
|
1671
|
-
/* @__PURE__ */ (0,
|
|
1672
|
-
/* @__PURE__ */ (0,
|
|
1841
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1842
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Wikilinks" }),
|
|
1843
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1844
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-wikilink" }),
|
|
1673
1845
|
" + ",
|
|
1674
|
-
/* @__PURE__ */ (0,
|
|
1846
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-wikilink-broken" }),
|
|
1675
1847
|
" - Internal document links in markdown."
|
|
1676
1848
|
] }),
|
|
1677
|
-
/* @__PURE__ */ (0,
|
|
1849
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-panel", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { margin: 0, lineHeight: 2 }, children: [
|
|
1678
1850
|
"This document references ",
|
|
1679
|
-
/* @__PURE__ */ (0,
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", className: "qt-wikilink", children: "Character Profile" }),
|
|
1680
1852
|
" and links to ",
|
|
1681
|
-
/* @__PURE__ */ (0,
|
|
1853
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", className: "qt-wikilink", children: "World Building \u2192 Geography" }),
|
|
1682
1854
|
". There's also a ",
|
|
1683
|
-
/* @__PURE__ */ (0,
|
|
1855
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", className: "qt-wikilink-broken", children: "Missing Document" }),
|
|
1684
1856
|
" that doesn't exist yet."
|
|
1685
1857
|
] }) })
|
|
1686
1858
|
] }),
|
|
1687
|
-
/* @__PURE__ */ (0,
|
|
1688
|
-
/* @__PURE__ */ (0,
|
|
1689
|
-
/* @__PURE__ */ (0,
|
|
1859
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1860
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "CSS Variables" }),
|
|
1861
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(300px, 1fr))", gap: "0.5rem" }, children: [
|
|
1690
1862
|
{ name: "--qt-file-preview-max-height", value: "70vh", desc: "Max height of scroll container" },
|
|
1691
1863
|
{ name: "--qt-file-preview-min-height", value: "300px", desc: "Min height of loading/empty states" },
|
|
1692
1864
|
{ name: "--qt-file-preview-panel-bg", value: "muted/30%", desc: "Content panel background" },
|
|
1693
1865
|
{ name: "--qt-code-bg", value: "muted", desc: "Code block background" },
|
|
1694
1866
|
{ name: "--qt-code-fg", value: "foreground", desc: "Code block text color" },
|
|
1695
1867
|
{ name: "--qt-code-font", value: "monospace", desc: "Code block font family" }
|
|
1696
|
-
].map(({ name, value, desc }) => /* @__PURE__ */ (0,
|
|
1697
|
-
/* @__PURE__ */ (0,
|
|
1698
|
-
/* @__PURE__ */ (0,
|
|
1868
|
+
].map(({ name, value, desc }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { padding: "0.75rem", background: "var(--color-muted)", borderRadius: "var(--radius-md)" }, children: [
|
|
1869
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { style: { fontSize: "0.75rem", fontWeight: 600 }, children: name }),
|
|
1870
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginTop: "0.25rem" }, children: [
|
|
1699
1871
|
"Default: ",
|
|
1700
1872
|
value
|
|
1701
1873
|
] }),
|
|
1702
|
-
/* @__PURE__ */ (0,
|
|
1874
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: desc })
|
|
1703
1875
|
] }, name)) })
|
|
1704
1876
|
] })
|
|
1705
1877
|
] });
|
|
1706
1878
|
};
|
|
1707
1879
|
|
|
1708
1880
|
// src/stories/components/ThemeComparison.tsx
|
|
1709
|
-
var
|
|
1881
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1710
1882
|
var ThemePanel = ({ title, description }) => {
|
|
1711
|
-
return /* @__PURE__ */ (0,
|
|
1712
|
-
/* @__PURE__ */ (0,
|
|
1713
|
-
/* @__PURE__ */ (0,
|
|
1714
|
-
/* @__PURE__ */ (0,
|
|
1715
|
-
] }),
|
|
1716
|
-
/* @__PURE__ */ (0,
|
|
1717
|
-
/* @__PURE__ */ (0,
|
|
1718
|
-
/* @__PURE__ */ (0,
|
|
1719
|
-
/* @__PURE__ */ (0,
|
|
1883
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { flex: 1, minWidth: "20rem" }, children: [
|
|
1884
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1rem" }, children: [
|
|
1885
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontWeight: 600 }, children: title }),
|
|
1886
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: description })
|
|
1887
|
+
] }),
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card", style: { marginBottom: "1rem" }, children: [
|
|
1889
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card-header", children: [
|
|
1890
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h5", { className: "qt-card-title", children: "Sample Card" }),
|
|
1891
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "qt-card-description", children: "This is how cards look in this theme." })
|
|
1720
1892
|
] }),
|
|
1721
|
-
/* @__PURE__ */ (0,
|
|
1722
|
-
/* @__PURE__ */ (0,
|
|
1723
|
-
/* @__PURE__ */ (0,
|
|
1724
|
-
/* @__PURE__ */ (0,
|
|
1725
|
-
/* @__PURE__ */ (0,
|
|
1726
|
-
/* @__PURE__ */ (0,
|
|
1893
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card-body", children: [
|
|
1894
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { marginBottom: "1rem" }, children: "Cards are used throughout the application for grouping content." }),
|
|
1895
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
1896
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-primary", children: "Primary" }),
|
|
1897
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-secondary", children: "Secondary" }),
|
|
1898
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-success", children: "Success" })
|
|
1727
1899
|
] })
|
|
1728
1900
|
] }),
|
|
1729
|
-
/* @__PURE__ */ (0,
|
|
1730
|
-
/* @__PURE__ */ (0,
|
|
1731
|
-
/* @__PURE__ */ (0,
|
|
1901
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card-footer", children: [
|
|
1902
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-ghost", children: "Cancel" }),
|
|
1903
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary", children: "Save" })
|
|
1732
1904
|
] })
|
|
1733
1905
|
] }),
|
|
1734
|
-
/* @__PURE__ */ (0,
|
|
1735
|
-
/* @__PURE__ */ (0,
|
|
1736
|
-
/* @__PURE__ */ (0,
|
|
1737
|
-
/* @__PURE__ */ (0,
|
|
1906
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-panel", style: { padding: "1rem", marginBottom: "1rem" }, children: [
|
|
1907
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "0.75rem" }, children: [
|
|
1908
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Text Input" }),
|
|
1909
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("input", { className: "qt-input", type: "text", placeholder: "Enter text..." })
|
|
1738
1910
|
] }),
|
|
1739
|
-
/* @__PURE__ */ (0,
|
|
1740
|
-
/* @__PURE__ */ (0,
|
|
1741
|
-
/* @__PURE__ */ (0,
|
|
1742
|
-
/* @__PURE__ */ (0,
|
|
1743
|
-
/* @__PURE__ */ (0,
|
|
1911
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "0.75rem" }, children: [
|
|
1912
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Select" }),
|
|
1913
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("select", { className: "qt-input qt-select", children: [
|
|
1914
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 1" }),
|
|
1915
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 2" })
|
|
1744
1916
|
] })
|
|
1745
1917
|
] }),
|
|
1746
|
-
/* @__PURE__ */ (0,
|
|
1747
|
-
/* @__PURE__ */ (0,
|
|
1748
|
-
/* @__PURE__ */ (0,
|
|
1918
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1919
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-secondary qt-button-sm", children: "Secondary" }),
|
|
1920
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary qt-button-sm", children: "Primary" })
|
|
1749
1921
|
] })
|
|
1750
1922
|
] }),
|
|
1751
|
-
/* @__PURE__ */ (0,
|
|
1752
|
-
/* @__PURE__ */ (0,
|
|
1753
|
-
/* @__PURE__ */ (0,
|
|
1754
|
-
/* @__PURE__ */ (0,
|
|
1923
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
1924
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1925
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1926
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", style: { maxWidth: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { fontSize: "0.875rem" }, children: "Hello! This is a chat message." }) })
|
|
1755
1927
|
] }),
|
|
1756
|
-
/* @__PURE__ */ (0,
|
|
1928
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-chat-message qt-chat-message-user", style: { maxWidth: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { fontSize: "0.875rem" }, children: "Great, thanks!" }) }) })
|
|
1757
1929
|
] })
|
|
1758
1930
|
] });
|
|
1759
1931
|
};
|
|
1760
1932
|
var ThemeComparison = () => {
|
|
1761
|
-
return /* @__PURE__ */ (0,
|
|
1762
|
-
/* @__PURE__ */ (0,
|
|
1763
|
-
/* @__PURE__ */ (0,
|
|
1764
|
-
/* @__PURE__ */ (0,
|
|
1765
|
-
/* @__PURE__ */ (0,
|
|
1766
|
-
/* @__PURE__ */ (0,
|
|
1933
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1934
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "0.5rem" }, children: "Theme Comparison" }),
|
|
1935
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1.5rem" }, children: "Compare your custom theme against the default Quilltap theme. Use the theme toggle above to switch between themes." }),
|
|
1936
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1937
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Current Theme Preview" }),
|
|
1938
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1767
1939
|
ThemePanel,
|
|
1768
1940
|
{
|
|
1769
1941
|
title: "Active Theme",
|
|
@@ -1771,9 +1943,9 @@ var ThemeComparison = () => {
|
|
|
1771
1943
|
}
|
|
1772
1944
|
)
|
|
1773
1945
|
] }),
|
|
1774
|
-
/* @__PURE__ */ (0,
|
|
1775
|
-
/* @__PURE__ */ (0,
|
|
1776
|
-
/* @__PURE__ */ (0,
|
|
1946
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1947
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Key Theme Colors" }),
|
|
1948
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gap: "0.75rem" }, children: [
|
|
1777
1949
|
{ name: "Background", var: "--color-background" },
|
|
1778
1950
|
{ name: "Foreground", var: "--color-foreground" },
|
|
1779
1951
|
{ name: "Card", var: "--color-card" },
|
|
@@ -1782,8 +1954,8 @@ var ThemeComparison = () => {
|
|
|
1782
1954
|
{ name: "Muted", var: "--color-muted" },
|
|
1783
1955
|
{ name: "Accent", var: "--color-accent" },
|
|
1784
1956
|
{ name: "Border", var: "--color-border" }
|
|
1785
|
-
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0,
|
|
1786
|
-
/* @__PURE__ */ (0,
|
|
1957
|
+
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
1958
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1787
1959
|
"div",
|
|
1788
1960
|
{
|
|
1789
1961
|
style: {
|
|
@@ -1795,17 +1967,17 @@ var ThemeComparison = () => {
|
|
|
1795
1967
|
}
|
|
1796
1968
|
}
|
|
1797
1969
|
),
|
|
1798
|
-
/* @__PURE__ */ (0,
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { marginTop: "0.25rem", fontSize: "0.75rem", fontWeight: 500 }, children: name })
|
|
1799
1971
|
] }, cssVar)) })
|
|
1800
1972
|
] }),
|
|
1801
|
-
/* @__PURE__ */ (0,
|
|
1802
|
-
/* @__PURE__ */ (0,
|
|
1803
|
-
/* @__PURE__ */ (0,
|
|
1973
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1974
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Semantic Colors" }),
|
|
1975
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gap: "0.75rem" }, children: [
|
|
1804
1976
|
{ name: "Destructive", var: "--color-destructive" },
|
|
1805
1977
|
{ name: "Success", var: "--color-success" },
|
|
1806
1978
|
{ name: "Warning", var: "--color-warning" }
|
|
1807
|
-
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0,
|
|
1808
|
-
/* @__PURE__ */ (0,
|
|
1979
|
+
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
1980
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1809
1981
|
"div",
|
|
1810
1982
|
{
|
|
1811
1983
|
style: {
|
|
@@ -1817,50 +1989,50 @@ var ThemeComparison = () => {
|
|
|
1817
1989
|
}
|
|
1818
1990
|
}
|
|
1819
1991
|
),
|
|
1820
|
-
/* @__PURE__ */ (0,
|
|
1992
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { marginTop: "0.25rem", fontSize: "0.75rem", fontWeight: 500 }, children: name })
|
|
1821
1993
|
] }, cssVar)) })
|
|
1822
1994
|
] }),
|
|
1823
|
-
/* @__PURE__ */ (0,
|
|
1824
|
-
/* @__PURE__ */ (0,
|
|
1825
|
-
/* @__PURE__ */ (0,
|
|
1826
|
-
/* @__PURE__ */ (0,
|
|
1827
|
-
/* @__PURE__ */ (0,
|
|
1828
|
-
/* @__PURE__ */ (0,
|
|
1829
|
-
/* @__PURE__ */ (0,
|
|
1830
|
-
/* @__PURE__ */ (0,
|
|
1831
|
-
/* @__PURE__ */ (0,
|
|
1832
|
-
/* @__PURE__ */ (0,
|
|
1995
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { children: [
|
|
1996
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Component Showcase" }),
|
|
1997
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
1998
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Buttons" }),
|
|
1999
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
|
|
2000
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary", children: "Primary" }),
|
|
2001
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-secondary", children: "Secondary" }),
|
|
2002
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-ghost", children: "Ghost" }),
|
|
2003
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-destructive", children: "Destructive" }),
|
|
2004
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary", disabled: true, children: "Disabled" })
|
|
1833
2005
|
] })
|
|
1834
2006
|
] }),
|
|
1835
|
-
/* @__PURE__ */ (0,
|
|
1836
|
-
/* @__PURE__ */ (0,
|
|
1837
|
-
/* @__PURE__ */ (0,
|
|
1838
|
-
/* @__PURE__ */ (0,
|
|
1839
|
-
/* @__PURE__ */ (0,
|
|
1840
|
-
/* @__PURE__ */ (0,
|
|
1841
|
-
/* @__PURE__ */ (0,
|
|
1842
|
-
/* @__PURE__ */ (0,
|
|
1843
|
-
/* @__PURE__ */ (0,
|
|
2007
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
2008
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Badges" }),
|
|
2009
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
|
|
2010
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-default", children: "Default" }),
|
|
2011
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-primary", children: "Primary" }),
|
|
2012
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-secondary", children: "Secondary" }),
|
|
2013
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-success", children: "Success" }),
|
|
2014
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-warning", children: "Warning" }),
|
|
2015
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-destructive", children: "Destructive" })
|
|
1844
2016
|
] })
|
|
1845
2017
|
] }),
|
|
1846
|
-
/* @__PURE__ */ (0,
|
|
1847
|
-
/* @__PURE__ */ (0,
|
|
1848
|
-
/* @__PURE__ */ (0,
|
|
1849
|
-
/* @__PURE__ */ (0,
|
|
1850
|
-
/* @__PURE__ */ (0,
|
|
1851
|
-
/* @__PURE__ */ (0,
|
|
1852
|
-
/* @__PURE__ */ (0,
|
|
2018
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
2019
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Interactive Card" }),
|
|
2020
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-card qt-card-interactive", style: { maxWidth: "20rem", cursor: "pointer" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-card-header", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
2021
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
2022
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { children: [
|
|
2023
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h5", { className: "qt-card-title", children: "Character Name" }),
|
|
2024
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "qt-card-description", children: "Click to interact" })
|
|
1853
2025
|
] })
|
|
1854
2026
|
] }) }) })
|
|
1855
2027
|
] }),
|
|
1856
|
-
/* @__PURE__ */ (0,
|
|
1857
|
-
/* @__PURE__ */ (0,
|
|
1858
|
-
/* @__PURE__ */ (0,
|
|
1859
|
-
/* @__PURE__ */ (0,
|
|
1860
|
-
/* @__PURE__ */ (0,
|
|
1861
|
-
/* @__PURE__ */ (0,
|
|
1862
|
-
/* @__PURE__ */ (0,
|
|
1863
|
-
/* @__PURE__ */ (0,
|
|
2028
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { children: [
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Form Elements" }),
|
|
2030
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "1rem", flexWrap: "wrap", maxWidth: "32rem" }, children: [
|
|
2031
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("input", { className: "qt-input", type: "text", placeholder: "Text input", style: { flex: "1 1 10rem" } }),
|
|
2032
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("select", { className: "qt-input qt-select", style: { flex: "1 1 10rem" }, children: [
|
|
2033
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Select option" }),
|
|
2034
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 1" }),
|
|
2035
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 2" })
|
|
1864
2036
|
] })
|
|
1865
2037
|
] })
|
|
1866
2038
|
] })
|
|
@@ -1869,125 +2041,125 @@ var ThemeComparison = () => {
|
|
|
1869
2041
|
};
|
|
1870
2042
|
|
|
1871
2043
|
// src/stories/components/EmptyState.tsx
|
|
1872
|
-
var
|
|
2044
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1873
2045
|
var EmptyState = () => {
|
|
1874
|
-
return /* @__PURE__ */ (0,
|
|
1875
|
-
/* @__PURE__ */ (0,
|
|
1876
|
-
/* @__PURE__ */ (0,
|
|
1877
|
-
/* @__PURE__ */ (0,
|
|
1878
|
-
/* @__PURE__ */ (0,
|
|
1879
|
-
/* @__PURE__ */ (0,
|
|
1880
|
-
/* @__PURE__ */ (0,
|
|
1881
|
-
/* @__PURE__ */ (0,
|
|
2046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2047
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Empty States" }),
|
|
2048
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2049
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Basic Empty State" }),
|
|
2050
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2051
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4" }) }) }),
|
|
2052
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "No messages yet" }),
|
|
2053
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "Start a conversation to see messages appear here." })
|
|
1882
2054
|
] })
|
|
1883
2055
|
] }),
|
|
1884
|
-
/* @__PURE__ */ (0,
|
|
1885
|
-
/* @__PURE__ */ (0,
|
|
1886
|
-
/* @__PURE__ */ (0,
|
|
1887
|
-
/* @__PURE__ */ (0,
|
|
1888
|
-
/* @__PURE__ */ (0,
|
|
1889
|
-
/* @__PURE__ */ (0,
|
|
1890
|
-
/* @__PURE__ */ (0,
|
|
2056
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2057
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Empty State with Action" }),
|
|
2058
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z" }) }) }),
|
|
2060
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "No characters" }),
|
|
2061
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "You haven't created any characters yet. Create your first character to get started." }),
|
|
2062
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { className: "qt-button qt-button-primary", children: "Create Character" }) })
|
|
1891
2063
|
] })
|
|
1892
2064
|
] }),
|
|
1893
|
-
/* @__PURE__ */ (0,
|
|
1894
|
-
/* @__PURE__ */ (0,
|
|
1895
|
-
/* @__PURE__ */ (0,
|
|
1896
|
-
/* @__PURE__ */ (0,
|
|
1897
|
-
/* @__PURE__ */ (0,
|
|
1898
|
-
/* @__PURE__ */ (0,
|
|
1899
|
-
/* @__PURE__ */ (0,
|
|
2065
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2066
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Search Empty State" }),
|
|
2067
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2068
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" }) }) }),
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "No results found" }),
|
|
2070
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "Try adjusting your search or filters to find what you're looking for." }),
|
|
2071
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { className: "qt-button qt-button-secondary", children: "Clear Filters" }) })
|
|
1900
2072
|
] })
|
|
1901
2073
|
] }),
|
|
1902
|
-
/* @__PURE__ */ (0,
|
|
1903
|
-
/* @__PURE__ */ (0,
|
|
1904
|
-
/* @__PURE__ */ (0,
|
|
1905
|
-
/* @__PURE__ */ (0,
|
|
1906
|
-
/* @__PURE__ */ (0,
|
|
1907
|
-
/* @__PURE__ */ (0,
|
|
1908
|
-
/* @__PURE__ */ (0,
|
|
2074
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { children: [
|
|
2075
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Error Empty State" }),
|
|
2076
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2077
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon text-red-500", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" }) }) }),
|
|
2078
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "Something went wrong" }),
|
|
2079
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "We couldn't load the content. Please try again." }),
|
|
2080
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { className: "qt-button qt-button-primary", children: "Try Again" }) })
|
|
1909
2081
|
] })
|
|
1910
2082
|
] })
|
|
1911
2083
|
] });
|
|
1912
2084
|
};
|
|
1913
2085
|
|
|
1914
2086
|
// src/stories/components/Loading.tsx
|
|
1915
|
-
var
|
|
2087
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1916
2088
|
var Loading = () => {
|
|
1917
|
-
return /* @__PURE__ */ (0,
|
|
1918
|
-
/* @__PURE__ */ (0,
|
|
1919
|
-
/* @__PURE__ */ (0,
|
|
1920
|
-
/* @__PURE__ */ (0,
|
|
1921
|
-
/* @__PURE__ */ (0,
|
|
1922
|
-
/* @__PURE__ */ (0,
|
|
1923
|
-
/* @__PURE__ */ (0,
|
|
1924
|
-
/* @__PURE__ */ (0,
|
|
1925
|
-
] }),
|
|
1926
|
-
/* @__PURE__ */ (0,
|
|
1927
|
-
/* @__PURE__ */ (0,
|
|
1928
|
-
/* @__PURE__ */ (0,
|
|
1929
|
-
] }),
|
|
1930
|
-
/* @__PURE__ */ (0,
|
|
1931
|
-
/* @__PURE__ */ (0,
|
|
1932
|
-
/* @__PURE__ */ (0,
|
|
2089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2090
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Loading States" }),
|
|
2091
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2092
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Spinners" }),
|
|
2093
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "2rem", alignItems: "center" }, children: [
|
|
2094
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2095
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-sm", style: { margin: "0 auto" } }),
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Small" })
|
|
2097
|
+
] }),
|
|
2098
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2099
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner", style: { margin: "0 auto" } }),
|
|
2100
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Default" })
|
|
2101
|
+
] }),
|
|
2102
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2103
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-lg", style: { margin: "0 auto" } }),
|
|
2104
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Large" })
|
|
1933
2105
|
] })
|
|
1934
2106
|
] })
|
|
1935
2107
|
] }),
|
|
1936
|
-
/* @__PURE__ */ (0,
|
|
1937
|
-
/* @__PURE__ */ (0,
|
|
1938
|
-
/* @__PURE__ */ (0,
|
|
1939
|
-
/* @__PURE__ */ (0,
|
|
1940
|
-
/* @__PURE__ */ (0,
|
|
1941
|
-
/* @__PURE__ */ (0,
|
|
2108
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2109
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Text" }),
|
|
2110
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { maxWidth: "28rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2111
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "100%" } }),
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "80%" } }),
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } })
|
|
1942
2114
|
] })
|
|
1943
2115
|
] }),
|
|
1944
|
-
/* @__PURE__ */ (0,
|
|
1945
|
-
/* @__PURE__ */ (0,
|
|
1946
|
-
/* @__PURE__ */ (0,
|
|
1947
|
-
/* @__PURE__ */ (0,
|
|
1948
|
-
/* @__PURE__ */ (0,
|
|
1949
|
-
/* @__PURE__ */ (0,
|
|
1950
|
-
/* @__PURE__ */ (0,
|
|
1951
|
-
/* @__PURE__ */ (0,
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Card" }),
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card", style: { maxWidth: "24rem", padding: "1rem" }, children: [
|
|
2119
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "0.75rem", marginBottom: "1rem", alignItems: "flex-start" }, children: [
|
|
2120
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "40px", height: "40px", flexShrink: 0 } }),
|
|
2121
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2122
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } }),
|
|
2123
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "40%" } })
|
|
1952
2124
|
] })
|
|
1953
2125
|
] }),
|
|
1954
|
-
/* @__PURE__ */ (0,
|
|
1955
|
-
/* @__PURE__ */ (0,
|
|
1956
|
-
/* @__PURE__ */ (0,
|
|
1957
|
-
/* @__PURE__ */ (0,
|
|
2126
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2127
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2128
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2129
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "75%" } })
|
|
1958
2130
|
] })
|
|
1959
2131
|
] })
|
|
1960
2132
|
] }),
|
|
1961
|
-
/* @__PURE__ */ (0,
|
|
1962
|
-
/* @__PURE__ */ (0,
|
|
1963
|
-
/* @__PURE__ */ (0,
|
|
1964
|
-
/* @__PURE__ */ (0,
|
|
1965
|
-
/* @__PURE__ */ (0,
|
|
1966
|
-
/* @__PURE__ */ (0,
|
|
1967
|
-
/* @__PURE__ */ (0,
|
|
1968
|
-
/* @__PURE__ */ (0,
|
|
1969
|
-
/* @__PURE__ */ (0,
|
|
1970
|
-
/* @__PURE__ */ (0,
|
|
2133
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2134
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Message" }),
|
|
2135
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { maxWidth: "42rem", display: "flex", flexDirection: "column", gap: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "0.75rem" }, children: [
|
|
2136
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "32px", height: "32px", flexShrink: 0 } }),
|
|
2137
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2138
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "120px" } }),
|
|
2139
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-card", style: { padding: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2140
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2141
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2142
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } })
|
|
1971
2143
|
] }) })
|
|
1972
2144
|
] })
|
|
1973
2145
|
] }) })
|
|
1974
2146
|
] }),
|
|
1975
|
-
/* @__PURE__ */ (0,
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
1978
|
-
/* @__PURE__ */ (0,
|
|
1979
|
-
/* @__PURE__ */ (0,
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton List" }),
|
|
2149
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { maxWidth: "24rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [1, 2, 3].map((i) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card", style: { padding: "0.75rem", display: "flex", gap: "0.75rem", alignItems: "center" }, children: [
|
|
2150
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "32px", height: "32px", flexShrink: 0 } }),
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { flex: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "70%" } }) })
|
|
1980
2152
|
] }, i)) })
|
|
1981
2153
|
] }),
|
|
1982
|
-
/* @__PURE__ */ (0,
|
|
1983
|
-
/* @__PURE__ */ (0,
|
|
1984
|
-
/* @__PURE__ */ (0,
|
|
1985
|
-
/* @__PURE__ */ (0,
|
|
1986
|
-
/* @__PURE__ */ (0,
|
|
2154
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { children: [
|
|
2155
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Loading Button" }),
|
|
2156
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "1rem" }, children: [
|
|
2157
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("button", { className: "qt-button qt-button-primary", disabled: true, style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-sm" }),
|
|
1987
2159
|
"Loading..."
|
|
1988
2160
|
] }),
|
|
1989
|
-
/* @__PURE__ */ (0,
|
|
1990
|
-
/* @__PURE__ */ (0,
|
|
2161
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("button", { className: "qt-button qt-button-secondary", disabled: true, style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-sm" }),
|
|
1991
2163
|
"Saving..."
|
|
1992
2164
|
] })
|
|
1993
2165
|
] })
|
|
@@ -1996,130 +2168,130 @@ var Loading = () => {
|
|
|
1996
2168
|
};
|
|
1997
2169
|
|
|
1998
2170
|
// src/stories/components/Participant.tsx
|
|
1999
|
-
var
|
|
2171
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2000
2172
|
var Participant = () => {
|
|
2001
|
-
return /* @__PURE__ */ (0,
|
|
2002
|
-
/* @__PURE__ */ (0,
|
|
2003
|
-
/* @__PURE__ */ (0,
|
|
2004
|
-
/* @__PURE__ */ (0,
|
|
2005
|
-
/* @__PURE__ */ (0,
|
|
2006
|
-
/* @__PURE__ */ (0,
|
|
2007
|
-
/* @__PURE__ */ (0,
|
|
2008
|
-
/* @__PURE__ */ (0,
|
|
2009
|
-
/* @__PURE__ */ (0,
|
|
2010
|
-
/* @__PURE__ */ (0,
|
|
2173
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2174
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Participants" }),
|
|
2175
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2176
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Participant Cards" }),
|
|
2177
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2178
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2179
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2180
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2182
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "AI Assistant" })
|
|
2011
2183
|
] })
|
|
2012
2184
|
] }) }),
|
|
2013
|
-
/* @__PURE__ */ (0,
|
|
2014
|
-
/* @__PURE__ */ (0,
|
|
2015
|
-
/* @__PURE__ */ (0,
|
|
2016
|
-
/* @__PURE__ */ (0,
|
|
2017
|
-
/* @__PURE__ */ (0,
|
|
2185
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2186
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }) }),
|
|
2187
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2188
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2189
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Currently Speaking" })
|
|
2018
2190
|
] })
|
|
2019
2191
|
] }) }),
|
|
2020
|
-
/* @__PURE__ */ (0,
|
|
2021
|
-
/* @__PURE__ */ (0,
|
|
2022
|
-
/* @__PURE__ */ (0,
|
|
2023
|
-
/* @__PURE__ */ (0,
|
|
2024
|
-
/* @__PURE__ */ (0,
|
|
2192
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2193
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2194
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2195
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "You" }),
|
|
2196
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Human" })
|
|
2025
2197
|
] })
|
|
2026
2198
|
] }) })
|
|
2027
2199
|
] })
|
|
2028
2200
|
] }),
|
|
2029
|
-
/* @__PURE__ */ (0,
|
|
2030
|
-
/* @__PURE__ */ (0,
|
|
2031
|
-
/* @__PURE__ */ (0,
|
|
2032
|
-
/* @__PURE__ */ (0,
|
|
2033
|
-
/* @__PURE__ */ (0,
|
|
2034
|
-
/* @__PURE__ */ (0,
|
|
2035
|
-
/* @__PURE__ */ (0,
|
|
2036
|
-
/* @__PURE__ */ (0,
|
|
2037
|
-
/* @__PURE__ */ (0,
|
|
2201
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2202
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Participant Status States" }),
|
|
2203
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Characters can be active, silent (thinking but not speaking), absent (away from the scene), or removed." }),
|
|
2204
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2205
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2206
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2207
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2208
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2209
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Currently Speaking" })
|
|
2038
2210
|
] })
|
|
2039
2211
|
] }) }),
|
|
2040
|
-
/* @__PURE__ */ (0,
|
|
2041
|
-
/* @__PURE__ */ (0,
|
|
2042
|
-
/* @__PURE__ */ (0,
|
|
2043
|
-
/* @__PURE__ */ (0,
|
|
2212
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-silent", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2213
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-avatar", style: { position: "relative" }, children: [
|
|
2214
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }),
|
|
2215
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-status-overlay qt-participant-status-overlay-silent", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { width: "10", height: "10", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M16.5 12A4.5 4.5 0 0 0 12 7.5v4.09l3.13 3.13A4.46 4.46 0 0 0 16.5 12ZM19 12c0 1.68-.59 3.22-1.57 4.43L21 20l-1.41 1.41-18-18L3 2l4.57 4.57A7.97 7.97 0 0 1 12 4c4.42 0 8 3.58 8 8Zm-7-8a6 6 0 0 0-6 6c0 1.33.44 2.56 1.17 3.56L5 11.44A7.94 7.94 0 0 1 4 8" }) }) })
|
|
2044
2216
|
] }),
|
|
2045
|
-
/* @__PURE__ */ (0,
|
|
2046
|
-
/* @__PURE__ */ (0,
|
|
2047
|
-
/* @__PURE__ */ (0,
|
|
2048
|
-
/* @__PURE__ */ (0,
|
|
2217
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2218
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2219
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2220
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "qt-badge-silent", style: { fontSize: "0.625rem" }, children: "Silent" })
|
|
2049
2221
|
] }),
|
|
2050
|
-
/* @__PURE__ */ (0,
|
|
2222
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Inner thoughts only" })
|
|
2051
2223
|
] })
|
|
2052
2224
|
] }) }),
|
|
2053
|
-
/* @__PURE__ */ (0,
|
|
2054
|
-
/* @__PURE__ */ (0,
|
|
2055
|
-
/* @__PURE__ */ (0,
|
|
2056
|
-
/* @__PURE__ */ (0,
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", style: { opacity: 0.7 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2226
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-avatar", style: { position: "relative" }, children: [
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "CC" }) }),
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-status-overlay qt-participant-status-overlay-absent", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { width: "10", height: "10", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) }) })
|
|
2057
2229
|
] }),
|
|
2058
|
-
/* @__PURE__ */ (0,
|
|
2059
|
-
/* @__PURE__ */ (0,
|
|
2060
|
-
/* @__PURE__ */ (0,
|
|
2061
|
-
/* @__PURE__ */ (0,
|
|
2230
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2231
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2232
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Clara Character" }),
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "qt-badge-absent", style: { fontSize: "0.625rem" }, children: "Absent" })
|
|
2062
2234
|
] }),
|
|
2063
|
-
/* @__PURE__ */ (0,
|
|
2235
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Away from the scene" })
|
|
2064
2236
|
] })
|
|
2065
2237
|
] }) }),
|
|
2066
|
-
/* @__PURE__ */ (0,
|
|
2067
|
-
/* @__PURE__ */ (0,
|
|
2068
|
-
/* @__PURE__ */ (0,
|
|
2069
|
-
/* @__PURE__ */ (0,
|
|
2070
|
-
/* @__PURE__ */ (0,
|
|
2238
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2239
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2240
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2241
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "You" }),
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Human" })
|
|
2071
2243
|
] })
|
|
2072
2244
|
] }) })
|
|
2073
2245
|
] })
|
|
2074
2246
|
] }),
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2076
|
-
/* @__PURE__ */ (0,
|
|
2077
|
-
/* @__PURE__ */ (0,
|
|
2078
|
-
/* @__PURE__ */ (0,
|
|
2079
|
-
/* @__PURE__ */ (0,
|
|
2080
|
-
/* @__PURE__ */ (0,
|
|
2081
|
-
/* @__PURE__ */ (0,
|
|
2082
|
-
/* @__PURE__ */ (0,
|
|
2083
|
-
/* @__PURE__ */ (0,
|
|
2084
|
-
/* @__PURE__ */ (0,
|
|
2247
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2248
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Chat Sidebar Layout" }),
|
|
2249
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", gap: "1rem" }, children: [
|
|
2250
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-card", style: { flex: 1, padding: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { style: { color: "var(--color-text-muted)" }, children: "Chat messages area" }) }),
|
|
2251
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-chat-sidebar", style: { width: "16rem" }, children: [
|
|
2252
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: { padding: "1rem", borderBottom: "1px solid var(--qt-chat-sidebar-header-border)" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h4", { style: { fontWeight: 600, color: "var(--qt-chat-sidebar-heading)" }, children: "Participants" }) }),
|
|
2253
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { padding: "0.5rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2254
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2255
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2256
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-info", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", style: { fontSize: "0.875rem" }, children: "Alice" }) })
|
|
2085
2257
|
] }) }),
|
|
2086
|
-
/* @__PURE__ */ (0,
|
|
2087
|
-
/* @__PURE__ */ (0,
|
|
2088
|
-
/* @__PURE__ */ (0,
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2259
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2260
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-info", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", style: { fontSize: "0.875rem" }, children: "You" }) })
|
|
2089
2261
|
] }) })
|
|
2090
2262
|
] })
|
|
2091
2263
|
] })
|
|
2092
2264
|
] })
|
|
2093
2265
|
] }),
|
|
2094
|
-
/* @__PURE__ */ (0,
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2096
|
-
/* @__PURE__ */ (0,
|
|
2097
|
-
/* @__PURE__ */ (0,
|
|
2098
|
-
/* @__PURE__ */ (0,
|
|
2099
|
-
/* @__PURE__ */ (0,
|
|
2100
|
-
/* @__PURE__ */ (0,
|
|
2101
|
-
/* @__PURE__ */ (0,
|
|
2102
|
-
/* @__PURE__ */ (0,
|
|
2103
|
-
/* @__PURE__ */ (0,
|
|
2104
|
-
/* @__PURE__ */ (0,
|
|
2105
|
-
/* @__PURE__ */ (0,
|
|
2106
|
-
/* @__PURE__ */ (0,
|
|
2107
|
-
/* @__PURE__ */ (0,
|
|
2266
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { children: [
|
|
2267
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Connection Profile Dropdown" }),
|
|
2268
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
2269
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2270
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2271
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2272
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2273
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "AI Assistant" }),
|
|
2274
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: { marginTop: "0.25rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("select", { className: "qt-select qt-select-sm", style: { width: "100%" }, defaultValue: "gpt-4", children: [
|
|
2275
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "", children: "Select a provider..." }),
|
|
2276
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "__user__", children: "User (you type)" }),
|
|
2277
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "gpt-4", children: "gpt-4-turbo" }),
|
|
2278
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "claude", children: "claude-3-opus" }),
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "gemini", children: "gemini-pro" })
|
|
2108
2280
|
] }) })
|
|
2109
2281
|
] })
|
|
2110
2282
|
] }) }),
|
|
2111
|
-
/* @__PURE__ */ (0,
|
|
2112
|
-
/* @__PURE__ */ (0,
|
|
2113
|
-
/* @__PURE__ */ (0,
|
|
2114
|
-
/* @__PURE__ */ (0,
|
|
2115
|
-
/* @__PURE__ */ (0,
|
|
2116
|
-
/* @__PURE__ */ (0,
|
|
2283
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2284
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }) }),
|
|
2285
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2286
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2288
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "qt-badge-secondary", style: { fontSize: "0.75rem" }, children: "You" })
|
|
2117
2289
|
] }),
|
|
2118
|
-
/* @__PURE__ */ (0,
|
|
2119
|
-
/* @__PURE__ */ (0,
|
|
2120
|
-
/* @__PURE__ */ (0,
|
|
2121
|
-
/* @__PURE__ */ (0,
|
|
2122
|
-
/* @__PURE__ */ (0,
|
|
2290
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: { marginTop: "0.25rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("select", { className: "qt-select qt-select-sm", style: { width: "100%" }, defaultValue: "__user__", children: [
|
|
2291
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "", children: "Select a provider..." }),
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "__user__", children: "User (you type)" }),
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "gpt-4", children: "gpt-4-turbo" }),
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "claude", children: "claude-3-opus" })
|
|
2123
2295
|
] }) })
|
|
2124
2296
|
] })
|
|
2125
2297
|
] }) })
|
|
@@ -2140,6 +2312,7 @@ var Participant = () => {
|
|
|
2140
2312
|
Dialogs,
|
|
2141
2313
|
EmptyState,
|
|
2142
2314
|
FilePreview,
|
|
2315
|
+
Icons,
|
|
2143
2316
|
Inputs,
|
|
2144
2317
|
Loading,
|
|
2145
2318
|
Participant,
|