@quilltap/theme-storybook 1.0.45 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-77W5TNBS.mjs → chunk-ENP3AWD5.mjs} +675 -583
- package/dist/index.css +97 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +676 -583
- package/dist/index.mjs +4 -2
- package/dist/stories/index.d.mts +19 -1
- package/dist/stories/index.d.ts +19 -1
- package/dist/stories/index.js +678 -585
- package/dist/stories/index.mjs +5 -3
- package/package.json +1 -1
- package/src/css/qt-components.css +128 -0
- package/src/stories/components/Workspace.tsx +139 -0
- package/src/stories/index.ts +1 -0
package/dist/stories/index.js
CHANGED
|
@@ -40,7 +40,8 @@ __export(stories_exports, {
|
|
|
40
40
|
Tabs: () => Tabs,
|
|
41
41
|
Terminal: () => Terminal,
|
|
42
42
|
ThemeComparison: () => ThemeComparison,
|
|
43
|
-
Typography: () => Typography
|
|
43
|
+
Typography: () => Typography,
|
|
44
|
+
Workspace: () => Workspace
|
|
44
45
|
});
|
|
45
46
|
module.exports = __toCommonJS(stories_exports);
|
|
46
47
|
|
|
@@ -1472,244 +1473,335 @@ var Tabs = () => {
|
|
|
1472
1473
|
] });
|
|
1473
1474
|
};
|
|
1474
1475
|
|
|
1475
|
-
// src/stories/components/
|
|
1476
|
+
// src/stories/components/Workspace.tsx
|
|
1477
|
+
var import_react3 = require("react");
|
|
1476
1478
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1477
|
-
var
|
|
1479
|
+
var SectionHeading = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1480
|
+
"h3",
|
|
1481
|
+
{
|
|
1482
|
+
style: {
|
|
1483
|
+
fontSize: "1.125rem",
|
|
1484
|
+
fontWeight: 700,
|
|
1485
|
+
marginBottom: "1rem",
|
|
1486
|
+
borderBottom: "1px solid var(--color-border)",
|
|
1487
|
+
paddingBottom: "0.5rem"
|
|
1488
|
+
},
|
|
1489
|
+
children
|
|
1490
|
+
}
|
|
1491
|
+
);
|
|
1492
|
+
var CloseGlyph = () => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("svg", { className: "qt-tab-close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) });
|
|
1493
|
+
var WorkspaceTab = ({ label, active, closeable = true }) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
1494
|
+
"div",
|
|
1495
|
+
{
|
|
1496
|
+
className: `qt-tab ${active ? "qt-tab-active" : ""}`,
|
|
1497
|
+
style: { display: "inline-flex", alignItems: "center", gap: "0.5rem", cursor: "pointer" },
|
|
1498
|
+
children: [
|
|
1499
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-tab-label", children: label }),
|
|
1500
|
+
closeable && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-tab-close", role: "button", "aria-label": `Close ${label}`, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CloseGlyph, {}) })
|
|
1501
|
+
]
|
|
1502
|
+
}
|
|
1503
|
+
);
|
|
1504
|
+
var Workspace = () => {
|
|
1505
|
+
const [active, setActive] = (0, import_react3.useState)("salon");
|
|
1478
1506
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1479
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "
|
|
1507
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "0.5rem" }, children: "Workspace" }),
|
|
1508
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1.5rem", maxWidth: "46rem" }, children: [
|
|
1509
|
+
"The tabbed two-pane shell. Set ",
|
|
1510
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: "--qt-workspace-accent" }),
|
|
1511
|
+
" in your theme to re-tint the active tab, the pane divider, and the split drop-zone in one move."
|
|
1512
|
+
] }),
|
|
1480
1513
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1481
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1482
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1514
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SectionHeading, { children: "Tab strip \u2014 active & inactive" }),
|
|
1515
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-tab-strip", role: "tablist", style: { borderRadius: "0.5rem 0.5rem 0 0" }, children: [
|
|
1516
|
+
{ id: "home", label: "Home" },
|
|
1517
|
+
{ id: "salon", label: "The Salon \u2014 Bertie" },
|
|
1518
|
+
{ id: "aurora", label: "Aurora" },
|
|
1519
|
+
{ id: "scriptorium", label: "The Scriptorium" }
|
|
1520
|
+
].map((t) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { onClick: () => setActive(t.id), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(WorkspaceTab, { label: t.label, active: active === t.id, closeable: t.id !== "home" }) }, t.id)) })
|
|
1521
|
+
] }),
|
|
1522
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1523
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SectionHeading, { children: "Pane divider" }),
|
|
1524
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "0.75rem" }, children: "Resizable split between the two panes. Hover (or focus) to see the accent." }),
|
|
1525
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
1526
|
+
"div",
|
|
1527
|
+
{
|
|
1528
|
+
style: {
|
|
1529
|
+
display: "grid",
|
|
1530
|
+
gridTemplateColumns: "1fr 8px 1fr",
|
|
1531
|
+
height: "120px",
|
|
1532
|
+
border: "1px solid var(--color-border)",
|
|
1533
|
+
borderRadius: "0.5rem",
|
|
1534
|
+
overflow: "hidden"
|
|
1535
|
+
},
|
|
1536
|
+
children: [
|
|
1537
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-panel", style: { display: "grid", placeItems: "center" }, children: "Left pane" }),
|
|
1538
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-workspace-divider", tabIndex: 0, role: "separator", "aria-label": "Resize panes", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-workspace-divider-grip" }) }),
|
|
1539
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-panel", style: { display: "grid", placeItems: "center" }, children: "Right pane" })
|
|
1540
|
+
]
|
|
1541
|
+
}
|
|
1542
|
+
)
|
|
1543
|
+
] }),
|
|
1544
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { children: [
|
|
1545
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SectionHeading, { children: "Split drop-zone" }),
|
|
1546
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "0.75rem" }, children: "Shown while a tab is dragged toward a pane edge to create the split." }),
|
|
1547
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
1548
|
+
"div",
|
|
1549
|
+
{
|
|
1550
|
+
style: {
|
|
1551
|
+
position: "relative",
|
|
1552
|
+
height: "120px",
|
|
1553
|
+
border: "1px solid var(--color-border)",
|
|
1554
|
+
borderRadius: "0.5rem",
|
|
1555
|
+
overflow: "hidden"
|
|
1556
|
+
},
|
|
1557
|
+
children: [
|
|
1558
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-panel", style: { height: "100%", display: "grid", placeItems: "center" }, children: "Pane" }),
|
|
1559
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-tab-drop-zone", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-tab-drop-zone-hint", children: "Drop to split" }) })
|
|
1560
|
+
]
|
|
1561
|
+
}
|
|
1562
|
+
)
|
|
1563
|
+
] })
|
|
1564
|
+
] });
|
|
1565
|
+
};
|
|
1566
|
+
|
|
1567
|
+
// src/stories/components/Chat.tsx
|
|
1568
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1569
|
+
var Chat = () => {
|
|
1570
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1571
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Chat Components" }),
|
|
1572
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1573
|
+
/* @__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: "Message Bubbles" }),
|
|
1574
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1575
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message qt-chat-message-user", children: [
|
|
1576
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-header", children: [
|
|
1577
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-author", children: "You" }),
|
|
1578
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-time", children: "2:30 PM" })
|
|
1487
1579
|
] }),
|
|
1488
|
-
/* @__PURE__ */ (0,
|
|
1580
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Hello! How are you today?" }) })
|
|
1489
1581
|
] }) }),
|
|
1490
|
-
/* @__PURE__ */ (0,
|
|
1491
|
-
/* @__PURE__ */ (0,
|
|
1492
|
-
/* @__PURE__ */ (0,
|
|
1493
|
-
/* @__PURE__ */ (0,
|
|
1494
|
-
/* @__PURE__ */ (0,
|
|
1495
|
-
/* @__PURE__ */ (0,
|
|
1582
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1583
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1584
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1585
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-header", children: [
|
|
1586
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-author", children: "Assistant" }),
|
|
1587
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-time", children: "2:30 PM" })
|
|
1496
1588
|
] }),
|
|
1497
|
-
/* @__PURE__ */ (0,
|
|
1589
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Hello! I'm doing well, thank you for asking. How can I help you today?" }) })
|
|
1498
1590
|
] })
|
|
1499
1591
|
] }),
|
|
1500
|
-
/* @__PURE__ */ (0,
|
|
1501
|
-
/* @__PURE__ */ (0,
|
|
1502
|
-
/* @__PURE__ */ (0,
|
|
1503
|
-
/* @__PURE__ */ (0,
|
|
1504
|
-
/* @__PURE__ */ (0,
|
|
1505
|
-
/* @__PURE__ */ (0,
|
|
1592
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1593
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1594
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1595
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-header", children: [
|
|
1596
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-author", children: "Assistant" }),
|
|
1597
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-time", children: "2:31 PM" })
|
|
1506
1598
|
] }),
|
|
1507
|
-
/* @__PURE__ */ (0,
|
|
1508
|
-
/* @__PURE__ */ (0,
|
|
1509
|
-
/* @__PURE__ */ (0,
|
|
1510
|
-
/* @__PURE__ */ (0,
|
|
1511
|
-
/* @__PURE__ */ (0,
|
|
1512
|
-
/* @__PURE__ */ (0,
|
|
1599
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-content", children: [
|
|
1600
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Here's some information you might find helpful:" }),
|
|
1601
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("ul", { style: { marginTop: "0.5rem", paddingLeft: "1.25rem" }, children: [
|
|
1602
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("li", { children: "First point of interest" }),
|
|
1603
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("li", { children: "Second important detail" }),
|
|
1604
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("li", { children: "Third relevant fact" })
|
|
1513
1605
|
] }),
|
|
1514
|
-
/* @__PURE__ */ (0,
|
|
1606
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { marginTop: "0.5rem" }, children: "Let me know if you'd like more details about any of these!" })
|
|
1515
1607
|
] }),
|
|
1516
|
-
/* @__PURE__ */ (0,
|
|
1517
|
-
/* @__PURE__ */ (0,
|
|
1518
|
-
/* @__PURE__ */ (0,
|
|
1608
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-actions", children: [
|
|
1609
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-button-icon", title: "Edit", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.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" }) }) }),
|
|
1610
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-button-icon", title: "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { className: "w-4 h-4", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.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" }) }) })
|
|
1519
1611
|
] })
|
|
1520
1612
|
] })
|
|
1521
1613
|
] }),
|
|
1522
|
-
/* @__PURE__ */ (0,
|
|
1523
|
-
/* @__PURE__ */ (0,
|
|
1524
|
-
/* @__PURE__ */ (0,
|
|
1525
|
-
/* @__PURE__ */ (0,
|
|
1614
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message qt-chat-message-system", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Alice has joined the conversation." }) }) }),
|
|
1615
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message qt-chat-message-user", children: [
|
|
1616
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-author", children: "You" }) }),
|
|
1617
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "That's exactly what I needed, thanks!" }) })
|
|
1526
1618
|
] }) })
|
|
1527
1619
|
] })
|
|
1528
1620
|
] }),
|
|
1529
|
-
/* @__PURE__ */ (0,
|
|
1530
|
-
/* @__PURE__ */ (0,
|
|
1531
|
-
/* @__PURE__ */ (0,
|
|
1532
|
-
/* @__PURE__ */ (0,
|
|
1533
|
-
/* @__PURE__ */ (0,
|
|
1534
|
-
/* @__PURE__ */ (0,
|
|
1535
|
-
/* @__PURE__ */ (0,
|
|
1536
|
-
/* @__PURE__ */ (0,
|
|
1537
|
-
/* @__PURE__ */ (0,
|
|
1621
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1622
|
+
/* @__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: "Character Messages" }),
|
|
1623
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Messages from different characters with their avatars." }),
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1625
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1626
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1627
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { children: [
|
|
1628
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-author", style: { fontSize: "0.75rem", fontWeight: 600, marginBottom: "0.25rem" }, children: "Alice" }),
|
|
1629
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "*waves cheerfully* Hi there! I'm so glad to meet you!" }) })
|
|
1538
1630
|
] })
|
|
1539
1631
|
] }),
|
|
1540
|
-
/* @__PURE__ */ (0,
|
|
1541
|
-
/* @__PURE__ */ (0,
|
|
1542
|
-
/* @__PURE__ */ (0,
|
|
1543
|
-
/* @__PURE__ */ (0,
|
|
1544
|
-
/* @__PURE__ */ (0,
|
|
1632
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1633
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "B" }) }),
|
|
1634
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { children: [
|
|
1635
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-author", style: { fontSize: "0.75rem", fontWeight: 600, marginBottom: "0.25rem" }, children: "Bob" }),
|
|
1636
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "*nods thoughtfully* Interesting point. Let me think about that..." }) })
|
|
1545
1637
|
] })
|
|
1546
1638
|
] })
|
|
1547
1639
|
] })
|
|
1548
1640
|
] }),
|
|
1549
|
-
/* @__PURE__ */ (0,
|
|
1550
|
-
/* @__PURE__ */ (0,
|
|
1551
|
-
/* @__PURE__ */ (0,
|
|
1552
|
-
/* @__PURE__ */ (0,
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1554
|
-
/* @__PURE__ */ (0,
|
|
1555
|
-
/* @__PURE__ */ (0,
|
|
1556
|
-
/* @__PURE__ */ (0,
|
|
1557
|
-
/* @__PURE__ */ (0,
|
|
1641
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1642
|
+
/* @__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: "Roleplay Annotations" }),
|
|
1643
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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." }),
|
|
1644
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1645
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1646
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1647
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1648
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-author", children: "Alice" }) }),
|
|
1649
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { children: [
|
|
1558
1650
|
'"Hello there!" ',
|
|
1559
|
-
/* @__PURE__ */ (0,
|
|
1651
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-narration", children: "she said with a warm smile, stepping forward to greet you." })
|
|
1560
1652
|
] }) })
|
|
1561
1653
|
] })
|
|
1562
1654
|
] }),
|
|
1563
|
-
/* @__PURE__ */ (0,
|
|
1564
|
-
/* @__PURE__ */ (0,
|
|
1565
|
-
/* @__PURE__ */ (0,
|
|
1566
|
-
/* @__PURE__ */ (0,
|
|
1567
|
-
/* @__PURE__ */ (0,
|
|
1568
|
-
/* @__PURE__ */ (0,
|
|
1655
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1656
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1657
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1658
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-author", children: "Alice" }) }),
|
|
1659
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { children: [
|
|
1660
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-narration", children: "She paused for a moment, considering her words carefully." }),
|
|
1569
1661
|
" ",
|
|
1570
|
-
/* @__PURE__ */ (0,
|
|
1662
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-inner-monologue", children: "I wonder if they noticed..." })
|
|
1571
1663
|
] }) })
|
|
1572
1664
|
] })
|
|
1573
1665
|
] }),
|
|
1574
|
-
/* @__PURE__ */ (0,
|
|
1575
|
-
/* @__PURE__ */ (0,
|
|
1576
|
-
/* @__PURE__ */ (0,
|
|
1577
|
-
/* @__PURE__ */ (0,
|
|
1578
|
-
/* @__PURE__ */ (0,
|
|
1666
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1667
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1668
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message qt-chat-message-assistant", children: [
|
|
1669
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-header", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-message-author", children: "Alice" }) }),
|
|
1670
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-content", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-chat-ooc", children: "((OOC: Should we continue the scene or take a break?))" }) }) })
|
|
1579
1671
|
] })
|
|
1580
1672
|
] })
|
|
1581
1673
|
] })
|
|
1582
1674
|
] }),
|
|
1583
|
-
/* @__PURE__ */ (0,
|
|
1584
|
-
/* @__PURE__ */ (0,
|
|
1585
|
-
/* @__PURE__ */ (0,
|
|
1586
|
-
/* @__PURE__ */ (0,
|
|
1587
|
-
/* @__PURE__ */ (0,
|
|
1588
|
-
/* @__PURE__ */ (0,
|
|
1589
|
-
/* @__PURE__ */ (0,
|
|
1590
|
-
/* @__PURE__ */ (0,
|
|
1591
|
-
/* @__PURE__ */ (0,
|
|
1592
|
-
] }),
|
|
1593
|
-
/* @__PURE__ */ (0,
|
|
1594
|
-
/* @__PURE__ */ (0,
|
|
1595
|
-
/* @__PURE__ */ (0,
|
|
1596
|
-
/* @__PURE__ */ (0,
|
|
1597
|
-
/* @__PURE__ */ (0,
|
|
1598
|
-
/* @__PURE__ */ (0,
|
|
1599
|
-
/* @__PURE__ */ (0,
|
|
1600
|
-
] }),
|
|
1601
|
-
/* @__PURE__ */ (0,
|
|
1602
|
-
/* @__PURE__ */ (0,
|
|
1603
|
-
/* @__PURE__ */ (0,
|
|
1604
|
-
/* @__PURE__ */ (0,
|
|
1605
|
-
/* @__PURE__ */ (0,
|
|
1606
|
-
/* @__PURE__ */ (0,
|
|
1607
|
-
/* @__PURE__ */ (0,
|
|
1675
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1676
|
+
/* @__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: "Roleplay-Template Styles" }),
|
|
1677
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Style classes a roleplay-template delimiter can be assigned: four high-contrast chips (each theme picks its own four hues) plus a semantic set. Add-on flourishes (bold, italic, reverse, underline, border, font) compose on top." }),
|
|
1678
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-content", style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "36rem" }, children: [
|
|
1679
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem", alignItems: "center" }, children: [
|
|
1680
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-1", children: "Style 1" }),
|
|
1681
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-2", children: "Style 2" }),
|
|
1682
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-3", children: "Style 3" }),
|
|
1683
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-4", children: "Style 4" })
|
|
1684
|
+
] }),
|
|
1685
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem", alignItems: "center" }, children: [
|
|
1686
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-danger", children: "Danger" }),
|
|
1687
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-warning", children: "Warning" }),
|
|
1688
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-success", children: "Success" }),
|
|
1689
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-info", children: "Info" }),
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-muted", children: "Muted" }),
|
|
1691
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-code", children: "code" })
|
|
1692
|
+
] }),
|
|
1693
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem", alignItems: "center" }, children: [
|
|
1694
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-2 qt-rp-bold", children: "Bold" }),
|
|
1695
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-3 qt-rp-italic", children: "Italic" }),
|
|
1696
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-1 qt-rp-reverse", children: "Reverse" }),
|
|
1697
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-4 qt-rp-underline-double", children: "Underline" }),
|
|
1698
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-info qt-rp-border-dashed", children: "Dashed border" }),
|
|
1699
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "qt-roleplay-muted qt-rp-font-serif", children: "Serif font" })
|
|
1608
1700
|
] })
|
|
1609
1701
|
] })
|
|
1610
1702
|
] }),
|
|
1611
|
-
/* @__PURE__ */ (0,
|
|
1612
|
-
/* @__PURE__ */ (0,
|
|
1613
|
-
/* @__PURE__ */ (0,
|
|
1614
|
-
/* @__PURE__ */ (0,
|
|
1615
|
-
/* @__PURE__ */ (0,
|
|
1616
|
-
/* @__PURE__ */ (0,
|
|
1617
|
-
/* @__PURE__ */ (0,
|
|
1703
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1704
|
+
/* @__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: "Whisper Messages" }),
|
|
1705
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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." }),
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1707
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-whisper", children: [
|
|
1708
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-whisper-label", children: "whispered to Elena" }),
|
|
1709
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "I don't trust the merchant. Meet me at the tavern tonight\u2014alone." })
|
|
1618
1710
|
] }) }),
|
|
1619
|
-
/* @__PURE__ */ (0,
|
|
1620
|
-
/* @__PURE__ */ (0,
|
|
1621
|
-
/* @__PURE__ */ (0,
|
|
1711
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-whisper qt-chat-message-whisper-overheard", children: [
|
|
1712
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-whisper-label", children: "whispered to Marcus" }),
|
|
1713
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Keep an eye on the door. We may need a quick exit." })
|
|
1622
1714
|
] }) })
|
|
1623
1715
|
] })
|
|
1624
1716
|
] }),
|
|
1625
|
-
/* @__PURE__ */ (0,
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
1627
|
-
/* @__PURE__ */ (0,
|
|
1628
|
-
/* @__PURE__ */ (0,
|
|
1629
|
-
/* @__PURE__ */ (0,
|
|
1630
|
-
/* @__PURE__ */ (0,
|
|
1631
|
-
/* @__PURE__ */ (0,
|
|
1717
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1718
|
+
/* @__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: "Silent Messages" }),
|
|
1719
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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." }),
|
|
1720
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1721
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-silent", children: [
|
|
1722
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-silent-label", children: "silent \u2014 inner thoughts and actions only" }),
|
|
1723
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "*glances at the door, weighing whether to follow or stay behind*" })
|
|
1632
1724
|
] }) }),
|
|
1633
|
-
/* @__PURE__ */ (0,
|
|
1634
|
-
/* @__PURE__ */ (0,
|
|
1635
|
-
/* @__PURE__ */ (0,
|
|
1725
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message-row qt-chat-message-row-assistant", style: { marginBottom: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-message-body qt-chat-message-assistant qt-chat-message-silent", children: [
|
|
1726
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-silent-label", children: "silent \u2014 inner thoughts and actions only" }),
|
|
1727
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "*quietly pockets the letter before anyone notices, mind racing with questions about its contents*" })
|
|
1636
1728
|
] }) })
|
|
1637
1729
|
] })
|
|
1638
1730
|
] }),
|
|
1639
|
-
/* @__PURE__ */ (0,
|
|
1640
|
-
/* @__PURE__ */ (0,
|
|
1641
|
-
/* @__PURE__ */ (0,
|
|
1642
|
-
/* @__PURE__ */ (0,
|
|
1643
|
-
/* @__PURE__ */ (0,
|
|
1644
|
-
/* @__PURE__ */ (0,
|
|
1645
|
-
/* @__PURE__ */ (0,
|
|
1646
|
-
/* @__PURE__ */ (0,
|
|
1647
|
-
/* @__PURE__ */ (0,
|
|
1731
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1732
|
+
/* @__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: "Wardrobe Action Notices" }),
|
|
1733
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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." }),
|
|
1734
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1735
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-wardrobe-notice", children: [
|
|
1736
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-wardrobe-label", children: "Wardrobe" }),
|
|
1737
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-wardrobe-summary", children: [
|
|
1738
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: "Equipped \u201CCrimson Evening Gown\u201D in the top slot." }),
|
|
1739
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: "Wearing: Crimson Evening Gown (top, bottom), Glass Slippers (footwear)" })
|
|
1648
1740
|
] })
|
|
1649
1741
|
] }),
|
|
1650
|
-
/* @__PURE__ */ (0,
|
|
1651
|
-
/* @__PURE__ */ (0,
|
|
1652
|
-
/* @__PURE__ */ (0,
|
|
1653
|
-
/* @__PURE__ */ (0,
|
|
1654
|
-
/* @__PURE__ */ (0,
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-wardrobe-notice", children: [
|
|
1743
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-wardrobe-label", children: "Wardrobe" }),
|
|
1744
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-wardrobe-summary", children: [
|
|
1745
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: "Removed item from the footwear slot." }),
|
|
1746
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: "Wearing: Crimson Evening Gown (top, bottom), barefoot" })
|
|
1655
1747
|
] })
|
|
1656
1748
|
] }),
|
|
1657
|
-
/* @__PURE__ */ (0,
|
|
1658
|
-
/* @__PURE__ */ (0,
|
|
1659
|
-
/* @__PURE__ */ (0,
|
|
1660
|
-
/* @__PURE__ */ (0,
|
|
1661
|
-
/* @__PURE__ */ (0,
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-wardrobe-notice", children: [
|
|
1750
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-wardrobe-label", children: "Wardrobe" }),
|
|
1751
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-wardrobe-summary", children: [
|
|
1752
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: "Gifted \u201CSilver Pocket Watch\u201D to Marcus." }),
|
|
1753
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: "Marcus put it on immediately." })
|
|
1662
1754
|
] })
|
|
1663
1755
|
] })
|
|
1664
1756
|
] })
|
|
1665
1757
|
] }),
|
|
1666
|
-
/* @__PURE__ */ (0,
|
|
1667
|
-
/* @__PURE__ */ (0,
|
|
1668
|
-
/* @__PURE__ */ (0,
|
|
1669
|
-
/* @__PURE__ */ (0,
|
|
1670
|
-
/* @__PURE__ */ (0,
|
|
1671
|
-
/* @__PURE__ */ (0,
|
|
1672
|
-
/* @__PURE__ */ (0,
|
|
1673
|
-
/* @__PURE__ */ (0,
|
|
1674
|
-
/* @__PURE__ */ (0,
|
|
1675
|
-
/* @__PURE__ */ (0,
|
|
1676
|
-
/* @__PURE__ */ (0,
|
|
1758
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1759
|
+
/* @__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: "Chat Toolbar" }),
|
|
1760
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Formatting and action buttons for chat composition." }),
|
|
1761
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-toolbar", style: { maxWidth: "32rem", display: "flex", gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
1762
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-chat-toolbar-button", title: "Bold", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 4h8a4 4 0 014 4v2M6 4v16M6 4h8a2 2 0 012 2v2M6 12h12" }) }) }),
|
|
1763
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-chat-toolbar-button", title: "Italic", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 5h4m-4 14h4M9 5h6M9 19H3" }) }) }),
|
|
1764
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-chat-toolbar-button", title: "Underline", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 5v10a4 4 0 008 0V5m0 14H7" }) }) }),
|
|
1765
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { flex: 1 } }),
|
|
1766
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-chat-toolbar-button", title: "Settings", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1767
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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" }),
|
|
1768
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z" })
|
|
1677
1769
|
] }) })
|
|
1678
1770
|
] })
|
|
1679
1771
|
] }),
|
|
1680
|
-
/* @__PURE__ */ (0,
|
|
1681
|
-
/* @__PURE__ */ (0,
|
|
1682
|
-
/* @__PURE__ */ (0,
|
|
1683
|
-
/* @__PURE__ */ (0,
|
|
1684
|
-
/* @__PURE__ */ (0,
|
|
1685
|
-
/* @__PURE__ */ (0,
|
|
1772
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1773
|
+
/* @__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: "RP Annotation Buttons" }),
|
|
1774
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Quick-insert buttons for roleplay annotation types." }),
|
|
1775
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-rp-annotation-toolbar", style: { maxWidth: "32rem", display: "flex", gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
1776
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("button", { className: "qt-rp-annotation-button-narration", title: "Narration", children: [
|
|
1777
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { className: "w-4 h-4 mr-1", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h7" }) }),
|
|
1686
1778
|
"Narration"
|
|
1687
1779
|
] }),
|
|
1688
|
-
/* @__PURE__ */ (0,
|
|
1689
|
-
/* @__PURE__ */ (0,
|
|
1780
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("button", { className: "qt-rp-annotation-button-internal", title: "Inner Monologue", children: [
|
|
1781
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { className: "w-4 h-4 mr-1", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.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" }) }),
|
|
1690
1782
|
"Internal"
|
|
1691
1783
|
] }),
|
|
1692
|
-
/* @__PURE__ */ (0,
|
|
1693
|
-
/* @__PURE__ */ (0,
|
|
1784
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("button", { className: "qt-rp-annotation-button-ooc", title: "Out of Character", children: [
|
|
1785
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { className: "w-4 h-4 mr-1", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.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" }) }),
|
|
1694
1786
|
"OOC"
|
|
1695
1787
|
] })
|
|
1696
1788
|
] })
|
|
1697
1789
|
] }),
|
|
1698
|
-
/* @__PURE__ */ (0,
|
|
1699
|
-
/* @__PURE__ */ (0,
|
|
1700
|
-
/* @__PURE__ */ (0,
|
|
1701
|
-
/* @__PURE__ */ (0,
|
|
1702
|
-
/* @__PURE__ */ (0,
|
|
1703
|
-
/* @__PURE__ */ (0,
|
|
1704
|
-
/* @__PURE__ */ (0,
|
|
1705
|
-
/* @__PURE__ */ (0,
|
|
1790
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1791
|
+
/* @__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: "Attachments" }),
|
|
1792
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "File attachment chips and attachment button." }),
|
|
1793
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-composer", style: { maxWidth: "32rem" }, children: [
|
|
1794
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-attachment-list", style: { display: "flex", gap: "0.5rem", marginBottom: "0.75rem", flexWrap: "wrap" }, children: [
|
|
1795
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-attachment-chip", children: [
|
|
1796
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { children: "document.pdf" }),
|
|
1797
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "ml-2 text-gray-400 hover:text-gray-600", style: { marginLeft: "0.5rem" }, children: "\xD7" })
|
|
1706
1798
|
] }),
|
|
1707
|
-
/* @__PURE__ */ (0,
|
|
1708
|
-
/* @__PURE__ */ (0,
|
|
1709
|
-
/* @__PURE__ */ (0,
|
|
1799
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-attachment-chip", children: [
|
|
1800
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { children: "image.png" }),
|
|
1801
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "ml-2 text-gray-400 hover:text-gray-600", style: { marginLeft: "0.5rem" }, children: "\xD7" })
|
|
1710
1802
|
] })
|
|
1711
1803
|
] }),
|
|
1712
|
-
/* @__PURE__ */ (0,
|
|
1804
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1713
1805
|
"textarea",
|
|
1714
1806
|
{
|
|
1715
1807
|
className: "qt-chat-composer-input",
|
|
@@ -1718,17 +1810,17 @@ var Chat = () => {
|
|
|
1718
1810
|
style: { width: "100%", padding: "0.5rem", marginBottom: "0.5rem" }
|
|
1719
1811
|
}
|
|
1720
1812
|
),
|
|
1721
|
-
/* @__PURE__ */ (0,
|
|
1722
|
-
/* @__PURE__ */ (0,
|
|
1723
|
-
/* @__PURE__ */ (0,
|
|
1813
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-composer-actions", style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1814
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-chat-attachment-button", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { width: "18", height: "18", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 4v16m8-8H4" }) }) }),
|
|
1815
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-button qt-button-primary", children: "Send" })
|
|
1724
1816
|
] })
|
|
1725
1817
|
] })
|
|
1726
1818
|
] }),
|
|
1727
|
-
/* @__PURE__ */ (0,
|
|
1728
|
-
/* @__PURE__ */ (0,
|
|
1729
|
-
/* @__PURE__ */ (0,
|
|
1730
|
-
/* @__PURE__ */ (0,
|
|
1731
|
-
/* @__PURE__ */ (0,
|
|
1819
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1820
|
+
/* @__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: "Chat Input" }),
|
|
1821
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-composer", style: { maxWidth: "32rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-composer-inner", style: { display: "flex", alignItems: "flex-end", gap: "0.5rem", flex: 1 }, children: [
|
|
1822
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-button-icon", "aria-label": "Attach file", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.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" }) }) }),
|
|
1823
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1732
1824
|
"textarea",
|
|
1733
1825
|
{
|
|
1734
1826
|
className: "qt-chat-composer-input qt-input",
|
|
@@ -1736,65 +1828,65 @@ var Chat = () => {
|
|
|
1736
1828
|
rows: 1
|
|
1737
1829
|
}
|
|
1738
1830
|
),
|
|
1739
|
-
/* @__PURE__ */ (0,
|
|
1831
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-button qt-button-primary qt-chat-composer-send", style: { height: "auto", padding: "0.5rem 1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 19l9 2-9-18-9 18 9-2zm0 0v-8" }) }) })
|
|
1740
1832
|
] }) })
|
|
1741
1833
|
] }),
|
|
1742
|
-
/* @__PURE__ */ (0,
|
|
1743
|
-
/* @__PURE__ */ (0,
|
|
1744
|
-
/* @__PURE__ */ (0,
|
|
1745
|
-
/* @__PURE__ */ (0,
|
|
1746
|
-
/* @__PURE__ */ (0,
|
|
1747
|
-
/* @__PURE__ */ (0,
|
|
1748
|
-
/* @__PURE__ */ (0,
|
|
1749
|
-
/* @__PURE__ */ (0,
|
|
1834
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1835
|
+
/* @__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: "Typing Indicator" }),
|
|
1836
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem", maxWidth: "32rem" }, children: [
|
|
1837
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1838
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-typing-indicator", children: [
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", {}),
|
|
1840
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", {}),
|
|
1841
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", {})
|
|
1750
1842
|
] }) })
|
|
1751
1843
|
] })
|
|
1752
1844
|
] }),
|
|
1753
|
-
/* @__PURE__ */ (0,
|
|
1754
|
-
/* @__PURE__ */ (0,
|
|
1755
|
-
/* @__PURE__ */ (0,
|
|
1756
|
-
/* @__PURE__ */ (0,
|
|
1757
|
-
/* @__PURE__ */ (0,
|
|
1758
|
-
/* @__PURE__ */ (0,
|
|
1759
|
-
/* @__PURE__ */ (0,
|
|
1760
|
-
/* @__PURE__ */ (0,
|
|
1845
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1846
|
+
/* @__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: "Chat Control Buttons" }),
|
|
1847
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Continue and stop buttons for controlling AI response generation." }),
|
|
1848
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "1rem", maxWidth: "32rem" }, children: [
|
|
1849
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("button", { className: "qt-chat-continue-button", children: [
|
|
1850
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { className: "w-4 h-4 mr-2", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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" }),
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z" })
|
|
1761
1853
|
] }),
|
|
1762
1854
|
"Continue"
|
|
1763
1855
|
] }),
|
|
1764
|
-
/* @__PURE__ */ (0,
|
|
1765
|
-
/* @__PURE__ */ (0,
|
|
1766
|
-
/* @__PURE__ */ (0,
|
|
1767
|
-
/* @__PURE__ */ (0,
|
|
1856
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("button", { className: "qt-chat-stop-button", children: [
|
|
1857
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { className: "w-4 h-4 mr-2", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1858
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z" }),
|
|
1859
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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" })
|
|
1768
1860
|
] }),
|
|
1769
1861
|
"Stop"
|
|
1770
1862
|
] })
|
|
1771
1863
|
] })
|
|
1772
1864
|
] }),
|
|
1773
|
-
/* @__PURE__ */ (0,
|
|
1774
|
-
/* @__PURE__ */ (0,
|
|
1775
|
-
/* @__PURE__ */ (0,
|
|
1776
|
-
/* @__PURE__ */ (0,
|
|
1777
|
-
/* @__PURE__ */ (0,
|
|
1778
|
-
/* @__PURE__ */ (0,
|
|
1779
|
-
/* @__PURE__ */ (0,
|
|
1780
|
-
/* @__PURE__ */ (0,
|
|
1781
|
-
/* @__PURE__ */ (0,
|
|
1865
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { children: [
|
|
1866
|
+
/* @__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: "Full Chat Layout" }),
|
|
1867
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-layout", style: { height: "24rem", border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)", display: "flex", flexDirection: "column" }, children: [
|
|
1868
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", padding: "0.75rem 1rem", borderBottom: "1px solid var(--color-border)" }, children: [
|
|
1869
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
1870
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1871
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { children: [
|
|
1872
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { fontWeight: 600 }, children: "Assistant" }),
|
|
1873
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Online" })
|
|
1782
1874
|
] })
|
|
1783
1875
|
] }),
|
|
1784
|
-
/* @__PURE__ */ (0,
|
|
1785
|
-
/* @__PURE__ */ (0,
|
|
1786
|
-
/* @__PURE__ */ (0,
|
|
1876
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { display: "flex", gap: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-button-icon", "aria-label": "Settings", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
1877
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.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" }),
|
|
1878
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z" })
|
|
1787
1879
|
] }) }) })
|
|
1788
1880
|
] }),
|
|
1789
|
-
/* @__PURE__ */ (0,
|
|
1790
|
-
/* @__PURE__ */ (0,
|
|
1791
|
-
/* @__PURE__ */ (0,
|
|
1792
|
-
/* @__PURE__ */ (0,
|
|
1881
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { flex: 1, overflow: "auto", padding: "1rem", display: "flex", flexDirection: "column", gap: "0.75rem" }, children: [
|
|
1882
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1883
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1884
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Hello! How can I help you today?" }) })
|
|
1793
1885
|
] }),
|
|
1794
|
-
/* @__PURE__ */ (0,
|
|
1886
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-chat-message qt-chat-message-user", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "I'd like to know more about theming." }) }) })
|
|
1795
1887
|
] }),
|
|
1796
|
-
/* @__PURE__ */ (0,
|
|
1797
|
-
/* @__PURE__ */ (0,
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-chat-composer", style: { margin: "0.5rem", borderRadius: "var(--radius-lg)" }, children: [
|
|
1889
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1798
1890
|
"textarea",
|
|
1799
1891
|
{
|
|
1800
1892
|
className: "qt-chat-composer-input qt-input",
|
|
@@ -1802,7 +1894,7 @@ var Chat = () => {
|
|
|
1802
1894
|
rows: 1
|
|
1803
1895
|
}
|
|
1804
1896
|
),
|
|
1805
|
-
/* @__PURE__ */ (0,
|
|
1897
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { className: "qt-button qt-button-primary qt-button-sm", children: "Send" })
|
|
1806
1898
|
] })
|
|
1807
1899
|
] })
|
|
1808
1900
|
] })
|
|
@@ -1810,7 +1902,7 @@ var Chat = () => {
|
|
|
1810
1902
|
};
|
|
1811
1903
|
|
|
1812
1904
|
// src/stories/components/Terminal.tsx
|
|
1813
|
-
var
|
|
1905
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1814
1906
|
var sampleOutput = `$ git status
|
|
1815
1907
|
On branch main
|
|
1816
1908
|
Your branch is up to date with 'origin/main'.
|
|
@@ -1822,117 +1914,117 @@ $ npm run dev
|
|
|
1822
1914
|
- Local: http://localhost:3000
|
|
1823
1915
|
- ready started server on 0.0.0.0:3000`;
|
|
1824
1916
|
var Terminal = () => {
|
|
1825
|
-
return /* @__PURE__ */ (0,
|
|
1826
|
-
/* @__PURE__ */ (0,
|
|
1827
|
-
/* @__PURE__ */ (0,
|
|
1917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1918
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Terminal Components" }),
|
|
1919
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("p", { style: { marginBottom: "1.5rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1828
1920
|
"The terminal carries its own identity. By default it stays dark in both light and dark themes \u2014 but a theme can override",
|
|
1829
1921
|
" ",
|
|
1830
|
-
/* @__PURE__ */ (0,
|
|
1922
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("code", { children: "--qt-terminal-bg" }),
|
|
1831
1923
|
", ",
|
|
1832
|
-
/* @__PURE__ */ (0,
|
|
1924
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("code", { children: "--qt-terminal-fg" }),
|
|
1833
1925
|
", and the",
|
|
1834
|
-
/* @__PURE__ */ (0,
|
|
1926
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("code", { children: "--qt-terminal-chrome-*" }),
|
|
1835
1927
|
" tokens to reskin every surface below."
|
|
1836
1928
|
] }),
|
|
1837
|
-
/* @__PURE__ */ (0,
|
|
1838
|
-
/* @__PURE__ */ (0,
|
|
1839
|
-
/* @__PURE__ */ (0,
|
|
1840
|
-
/* @__PURE__ */ (0,
|
|
1929
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1930
|
+
/* @__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: "In-chat embed" }),
|
|
1931
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1932
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("code", { children: ".qt-terminal-embed" }),
|
|
1841
1933
|
" wraps the embed card; the header and footer strips inherit the surrounding theme so they nest cleanly with chat bubbles."
|
|
1842
1934
|
] }),
|
|
1843
|
-
/* @__PURE__ */ (0,
|
|
1844
|
-
/* @__PURE__ */ (0,
|
|
1845
|
-
/* @__PURE__ */ (0,
|
|
1846
|
-
/* @__PURE__ */ (0,
|
|
1847
|
-
/* @__PURE__ */ (0,
|
|
1848
|
-
/* @__PURE__ */ (0,
|
|
1935
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-terminal-embed", style: { maxWidth: "36rem" }, children: [
|
|
1936
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-terminal-embed-header", children: [
|
|
1937
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 500, margin: 0 }, children: "Terminal \u2014 zsh" }) }),
|
|
1938
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1939
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button-icon", type: "button", children: "Pop out" }),
|
|
1940
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button-icon qt-text-destructive", type: "button", children: "Kill" })
|
|
1849
1941
|
] })
|
|
1850
1942
|
] }),
|
|
1851
|
-
/* @__PURE__ */ (0,
|
|
1943
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.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 })
|
|
1852
1944
|
] })
|
|
1853
1945
|
] }),
|
|
1854
|
-
/* @__PURE__ */ (0,
|
|
1855
|
-
/* @__PURE__ */ (0,
|
|
1856
|
-
/* @__PURE__ */ (0,
|
|
1857
|
-
/* @__PURE__ */ (0,
|
|
1858
|
-
/* @__PURE__ */ (0,
|
|
1859
|
-
/* @__PURE__ */ (0,
|
|
1860
|
-
/* @__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: "Embed footer (handed off to Terminal Mode pane)" }),
|
|
1948
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-terminal-embed", style: { maxWidth: "36rem" }, children: [
|
|
1949
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-terminal-embed-header", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 500, margin: 0 }, children: "Terminal \u2014 zsh" }) }),
|
|
1950
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-terminal-embed-footer", children: [
|
|
1951
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-text-secondary", children: "Showing in Terminal Mode pane." }),
|
|
1952
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button-secondary", type: "button", style: { fontSize: "0.75rem", padding: "0.25rem 0.5rem" }, children: "Go to pane \u2192" })
|
|
1861
1953
|
] })
|
|
1862
1954
|
] })
|
|
1863
1955
|
] }),
|
|
1864
|
-
/* @__PURE__ */ (0,
|
|
1865
|
-
/* @__PURE__ */ (0,
|
|
1866
|
-
/* @__PURE__ */ (0,
|
|
1956
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1957
|
+
/* @__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: "Pop-out page chrome" }),
|
|
1958
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1867
1959
|
"The full-screen pop-out page uses",
|
|
1868
1960
|
" ",
|
|
1869
|
-
/* @__PURE__ */ (0,
|
|
1961
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("code", { children: ".qt-terminal-popout-page" }),
|
|
1870
1962
|
" as the outer canvas and",
|
|
1871
1963
|
" ",
|
|
1872
|
-
/* @__PURE__ */ (0,
|
|
1964
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("code", { children: ".qt-terminal-popout-header" }),
|
|
1873
1965
|
" for the breadcrumb bar."
|
|
1874
1966
|
] }),
|
|
1875
|
-
/* @__PURE__ */ (0,
|
|
1876
|
-
/* @__PURE__ */ (0,
|
|
1877
|
-
/* @__PURE__ */ (0,
|
|
1878
|
-
/* @__PURE__ */ (0,
|
|
1879
|
-
/* @__PURE__ */ (0,
|
|
1880
|
-
/* @__PURE__ */ (0,
|
|
1881
|
-
/* @__PURE__ */ (0,
|
|
1967
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.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: [
|
|
1968
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-terminal-popout-header", children: [
|
|
1969
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button-icon", type: "button", style: { color: "inherit" }, children: "\u2190" }),
|
|
1971
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("a", { href: "#", className: "qt-terminal-popout-link", style: { fontSize: "0.875rem" }, children: "Chat" }),
|
|
1972
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-terminal-popout-separator", children: "/" }),
|
|
1973
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h1", { className: "qt-terminal-popout-title", style: { fontSize: "1rem", margin: 0 }, children: "Terminal \u2014 zsh" })
|
|
1882
1974
|
] }),
|
|
1883
|
-
/* @__PURE__ */ (0,
|
|
1975
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button-destructive", type: "button", style: { fontSize: "0.875rem" }, children: "Kill Session" })
|
|
1884
1976
|
] }),
|
|
1885
|
-
/* @__PURE__ */ (0,
|
|
1977
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.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 })
|
|
1886
1978
|
] })
|
|
1887
1979
|
] }),
|
|
1888
|
-
/* @__PURE__ */ (0,
|
|
1889
|
-
/* @__PURE__ */ (0,
|
|
1890
|
-
/* @__PURE__ */ (0,
|
|
1980
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { children: [
|
|
1981
|
+
/* @__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: "Session-exited overlay" }),
|
|
1982
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1891
1983
|
"When the PTY exits but the terminal stays mounted, the",
|
|
1892
1984
|
" ",
|
|
1893
|
-
/* @__PURE__ */ (0,
|
|
1985
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("code", { children: ".qt-terminal-closed-badge" }),
|
|
1894
1986
|
" overlay marks it."
|
|
1895
1987
|
] }),
|
|
1896
|
-
/* @__PURE__ */ (0,
|
|
1988
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-terminal-surface", style: { position: "relative", height: "120px", borderRadius: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-terminal-closed-badge", children: "Closed" }) })
|
|
1897
1989
|
] })
|
|
1898
1990
|
] });
|
|
1899
1991
|
};
|
|
1900
1992
|
|
|
1901
1993
|
// src/stories/components/FilePreview.tsx
|
|
1902
|
-
var
|
|
1994
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1903
1995
|
var FilePreview = () => {
|
|
1904
|
-
return /* @__PURE__ */ (0,
|
|
1905
|
-
/* @__PURE__ */ (0,
|
|
1906
|
-
/* @__PURE__ */ (0,
|
|
1907
|
-
/* @__PURE__ */ (0,
|
|
1908
|
-
/* @__PURE__ */ (0,
|
|
1909
|
-
/* @__PURE__ */ (0,
|
|
1996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1997
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "File Preview Components" }),
|
|
1998
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1999
|
+
/* @__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: "Scroll Container" }),
|
|
2000
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
2001
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-file-preview-scroll" }),
|
|
1910
2002
|
" - Scrollable container for file content with configurable max height."
|
|
1911
2003
|
] }),
|
|
1912
|
-
/* @__PURE__ */ (0,
|
|
2004
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.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_runtime16.jsx)("div", { style: { padding: "1rem" }, children: Array.from({ length: 20 }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { margin: "0.5rem 0" }, children: [
|
|
1913
2005
|
"Line ",
|
|
1914
2006
|
i + 1,
|
|
1915
2007
|
": Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
1916
2008
|
] }, i)) }) })
|
|
1917
2009
|
] }),
|
|
1918
|
-
/* @__PURE__ */ (0,
|
|
1919
|
-
/* @__PURE__ */ (0,
|
|
1920
|
-
/* @__PURE__ */ (0,
|
|
1921
|
-
/* @__PURE__ */ (0,
|
|
2010
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2011
|
+
/* @__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: "Content Panel" }),
|
|
2012
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
2013
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-file-preview-panel" }),
|
|
1922
2014
|
" - Background panel for rendered markdown content."
|
|
1923
2015
|
] }),
|
|
1924
|
-
/* @__PURE__ */ (0,
|
|
1925
|
-
/* @__PURE__ */ (0,
|
|
1926
|
-
/* @__PURE__ */ (0,
|
|
2016
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-file-preview-panel", children: [
|
|
2017
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { style: { margin: "0 0 0.5rem 0" }, children: "Document Title" }),
|
|
2018
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { style: { margin: 0 }, children: "This is a content panel used for displaying rendered markdown files with a subtle background." })
|
|
1927
2019
|
] })
|
|
1928
2020
|
] }),
|
|
1929
|
-
/* @__PURE__ */ (0,
|
|
1930
|
-
/* @__PURE__ */ (0,
|
|
1931
|
-
/* @__PURE__ */ (0,
|
|
1932
|
-
/* @__PURE__ */ (0,
|
|
2021
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2022
|
+
/* @__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: "Code Block" }),
|
|
2023
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
2024
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-file-preview-code" }),
|
|
1933
2025
|
" - Styled code block for plain text and source files with word wrap."
|
|
1934
2026
|
] }),
|
|
1935
|
-
/* @__PURE__ */ (0,
|
|
2027
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("pre", { className: "qt-file-preview-code", children: `function greet(name: string): string {
|
|
1936
2028
|
return \`Hello, \${name}!\`;
|
|
1937
2029
|
}
|
|
1938
2030
|
|
|
@@ -1940,133 +2032,133 @@ var FilePreview = () => {
|
|
|
1940
2032
|
const message = greet("World");
|
|
1941
2033
|
console.log(message);` })
|
|
1942
2034
|
] }),
|
|
1943
|
-
/* @__PURE__ */ (0,
|
|
1944
|
-
/* @__PURE__ */ (0,
|
|
1945
|
-
/* @__PURE__ */ (0,
|
|
1946
|
-
/* @__PURE__ */ (0,
|
|
2035
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2036
|
+
/* @__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: "Loading State" }),
|
|
2037
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
2038
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-file-preview-loading" }),
|
|
1947
2039
|
" + ",
|
|
1948
|
-
/* @__PURE__ */ (0,
|
|
2040
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-file-preview-loading-text" }),
|
|
1949
2041
|
" - Loading indicator."
|
|
1950
2042
|
] }),
|
|
1951
|
-
/* @__PURE__ */ (0,
|
|
2043
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-file-preview-loading", style: { minHeight: "150px" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-file-preview-loading-text", children: "Loading file..." }) }) })
|
|
1952
2044
|
] }),
|
|
1953
|
-
/* @__PURE__ */ (0,
|
|
1954
|
-
/* @__PURE__ */ (0,
|
|
1955
|
-
/* @__PURE__ */ (0,
|
|
1956
|
-
/* @__PURE__ */ (0,
|
|
2045
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2046
|
+
/* @__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 / Error State" }),
|
|
2047
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
2048
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-file-preview-empty" }),
|
|
1957
2049
|
" + ",
|
|
1958
|
-
/* @__PURE__ */ (0,
|
|
2050
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-file-preview-empty-icon" }),
|
|
1959
2051
|
" - Empty or error state display."
|
|
1960
2052
|
] }),
|
|
1961
|
-
/* @__PURE__ */ (0,
|
|
1962
|
-
/* @__PURE__ */ (0,
|
|
1963
|
-
/* @__PURE__ */ (0,
|
|
1964
|
-
/* @__PURE__ */ (0,
|
|
2053
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { style: { display: "grid", gridTemplateColumns: "repeat(2, 1fr)", gap: "1rem" }, children: [
|
|
2054
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-file-preview-empty", style: { minHeight: "150px" }, children: [
|
|
2055
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-file-preview-empty-icon", children: "\u{1F4C4}" }),
|
|
2056
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { children: "No content available" })
|
|
1965
2057
|
] }) }),
|
|
1966
|
-
/* @__PURE__ */ (0,
|
|
1967
|
-
/* @__PURE__ */ (0,
|
|
1968
|
-
/* @__PURE__ */ (0,
|
|
2058
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-file-preview-empty", style: { minHeight: "150px" }, children: [
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-file-preview-empty-icon", children: "\u26A0\uFE0F" }),
|
|
2060
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { children: "Failed to load file" })
|
|
1969
2061
|
] }) })
|
|
1970
2062
|
] })
|
|
1971
2063
|
] }),
|
|
1972
|
-
/* @__PURE__ */ (0,
|
|
1973
|
-
/* @__PURE__ */ (0,
|
|
1974
|
-
/* @__PURE__ */ (0,
|
|
1975
|
-
/* @__PURE__ */ (0,
|
|
2064
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2065
|
+
/* @__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: "Wikilinks" }),
|
|
2066
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
2067
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-wikilink" }),
|
|
1976
2068
|
" + ",
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: ".qt-wikilink-broken" }),
|
|
1978
2070
|
" - Internal document links in markdown."
|
|
1979
2071
|
] }),
|
|
1980
|
-
/* @__PURE__ */ (0,
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-file-preview-panel", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { style: { margin: 0, lineHeight: 2 }, children: [
|
|
1981
2073
|
"This document references ",
|
|
1982
|
-
/* @__PURE__ */ (0,
|
|
2074
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { type: "button", className: "qt-wikilink", children: "Character Profile" }),
|
|
1983
2075
|
" and links to ",
|
|
1984
|
-
/* @__PURE__ */ (0,
|
|
2076
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { type: "button", className: "qt-wikilink", children: "World Building \u2192 Geography" }),
|
|
1985
2077
|
". There's also a ",
|
|
1986
|
-
/* @__PURE__ */ (0,
|
|
2078
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { type: "button", className: "qt-wikilink-broken", children: "Missing Document" }),
|
|
1987
2079
|
" that doesn't exist yet."
|
|
1988
2080
|
] }) })
|
|
1989
2081
|
] }),
|
|
1990
|
-
/* @__PURE__ */ (0,
|
|
1991
|
-
/* @__PURE__ */ (0,
|
|
1992
|
-
/* @__PURE__ */ (0,
|
|
2082
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2083
|
+
/* @__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: "CSS Variables" }),
|
|
2084
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(300px, 1fr))", gap: "0.5rem" }, children: [
|
|
1993
2085
|
{ name: "--qt-file-preview-max-height", value: "70vh", desc: "Max height of scroll container" },
|
|
1994
2086
|
{ name: "--qt-file-preview-min-height", value: "300px", desc: "Min height of loading/empty states" },
|
|
1995
2087
|
{ name: "--qt-file-preview-panel-bg", value: "muted/30%", desc: "Content panel background" },
|
|
1996
2088
|
{ name: "--qt-code-bg", value: "muted", desc: "Code block background" },
|
|
1997
2089
|
{ name: "--qt-code-fg", value: "foreground", desc: "Code block text color" },
|
|
1998
2090
|
{ name: "--qt-code-font", value: "monospace", desc: "Code block font family" }
|
|
1999
|
-
].map(({ name, value, desc }) => /* @__PURE__ */ (0,
|
|
2000
|
-
/* @__PURE__ */ (0,
|
|
2001
|
-
/* @__PURE__ */ (0,
|
|
2091
|
+
].map(({ name, value, desc }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { style: { padding: "0.75rem", background: "var(--color-muted)", borderRadius: "var(--radius-md)" }, children: [
|
|
2092
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { style: { fontSize: "0.75rem", fontWeight: 600 }, children: name }),
|
|
2093
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginTop: "0.25rem" }, children: [
|
|
2002
2094
|
"Default: ",
|
|
2003
2095
|
value
|
|
2004
2096
|
] }),
|
|
2005
|
-
/* @__PURE__ */ (0,
|
|
2097
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: desc })
|
|
2006
2098
|
] }, name)) })
|
|
2007
2099
|
] })
|
|
2008
2100
|
] });
|
|
2009
2101
|
};
|
|
2010
2102
|
|
|
2011
2103
|
// src/stories/components/ThemeComparison.tsx
|
|
2012
|
-
var
|
|
2104
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
2013
2105
|
var ThemePanel = ({ title, description }) => {
|
|
2014
|
-
return /* @__PURE__ */ (0,
|
|
2015
|
-
/* @__PURE__ */ (0,
|
|
2016
|
-
/* @__PURE__ */ (0,
|
|
2017
|
-
/* @__PURE__ */ (0,
|
|
2018
|
-
] }),
|
|
2019
|
-
/* @__PURE__ */ (0,
|
|
2020
|
-
/* @__PURE__ */ (0,
|
|
2021
|
-
/* @__PURE__ */ (0,
|
|
2022
|
-
/* @__PURE__ */ (0,
|
|
2106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { flex: 1, minWidth: "20rem" }, children: [
|
|
2107
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { marginBottom: "1rem" }, children: [
|
|
2108
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h4", { style: { fontWeight: 600 }, children: title }),
|
|
2109
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: description })
|
|
2110
|
+
] }),
|
|
2111
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card", style: { marginBottom: "1rem" }, children: [
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card-header", children: [
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h5", { className: "qt-card-title", children: "Sample Card" }),
|
|
2114
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "qt-card-description", children: "This is how cards look in this theme." })
|
|
2023
2115
|
] }),
|
|
2024
|
-
/* @__PURE__ */ (0,
|
|
2025
|
-
/* @__PURE__ */ (0,
|
|
2026
|
-
/* @__PURE__ */ (0,
|
|
2027
|
-
/* @__PURE__ */ (0,
|
|
2028
|
-
/* @__PURE__ */ (0,
|
|
2029
|
-
/* @__PURE__ */ (0,
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card-body", children: [
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { marginBottom: "1rem" }, children: "Cards are used throughout the application for grouping content." }),
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
2119
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-primary", children: "Primary" }),
|
|
2120
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-secondary", children: "Secondary" }),
|
|
2121
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-success", children: "Success" })
|
|
2030
2122
|
] })
|
|
2031
2123
|
] }),
|
|
2032
|
-
/* @__PURE__ */ (0,
|
|
2033
|
-
/* @__PURE__ */ (0,
|
|
2034
|
-
/* @__PURE__ */ (0,
|
|
2124
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card-footer", children: [
|
|
2125
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-ghost", children: "Cancel" }),
|
|
2126
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-primary", children: "Save" })
|
|
2035
2127
|
] })
|
|
2036
2128
|
] }),
|
|
2037
|
-
/* @__PURE__ */ (0,
|
|
2038
|
-
/* @__PURE__ */ (0,
|
|
2039
|
-
/* @__PURE__ */ (0,
|
|
2040
|
-
/* @__PURE__ */ (0,
|
|
2129
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-panel", style: { padding: "1rem", marginBottom: "1rem" }, children: [
|
|
2130
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { marginBottom: "0.75rem" }, children: [
|
|
2131
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Text Input" }),
|
|
2132
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", { className: "qt-input", type: "text", placeholder: "Enter text..." })
|
|
2041
2133
|
] }),
|
|
2042
|
-
/* @__PURE__ */ (0,
|
|
2043
|
-
/* @__PURE__ */ (0,
|
|
2044
|
-
/* @__PURE__ */ (0,
|
|
2045
|
-
/* @__PURE__ */ (0,
|
|
2046
|
-
/* @__PURE__ */ (0,
|
|
2134
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { marginBottom: "0.75rem" }, children: [
|
|
2135
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Select" }),
|
|
2136
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("select", { className: "qt-input qt-select", children: [
|
|
2137
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("option", { children: "Option 1" }),
|
|
2138
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("option", { children: "Option 2" })
|
|
2047
2139
|
] })
|
|
2048
2140
|
] }),
|
|
2049
|
-
/* @__PURE__ */ (0,
|
|
2050
|
-
/* @__PURE__ */ (0,
|
|
2051
|
-
/* @__PURE__ */ (0,
|
|
2141
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
2142
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-secondary qt-button-sm", children: "Secondary" }),
|
|
2143
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-primary qt-button-sm", children: "Primary" })
|
|
2052
2144
|
] })
|
|
2053
2145
|
] }),
|
|
2054
|
-
/* @__PURE__ */ (0,
|
|
2055
|
-
/* @__PURE__ */ (0,
|
|
2056
|
-
/* @__PURE__ */ (0,
|
|
2057
|
-
/* @__PURE__ */ (0,
|
|
2146
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
2149
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", style: { maxWidth: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.875rem" }, children: "Hello! This is a chat message." }) })
|
|
2058
2150
|
] }),
|
|
2059
|
-
/* @__PURE__ */ (0,
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-chat-message qt-chat-message-user", style: { maxWidth: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.875rem" }, children: "Great, thanks!" }) }) })
|
|
2060
2152
|
] })
|
|
2061
2153
|
] });
|
|
2062
2154
|
};
|
|
2063
2155
|
var ThemeComparison = () => {
|
|
2064
|
-
return /* @__PURE__ */ (0,
|
|
2065
|
-
/* @__PURE__ */ (0,
|
|
2066
|
-
/* @__PURE__ */ (0,
|
|
2067
|
-
/* @__PURE__ */ (0,
|
|
2068
|
-
/* @__PURE__ */ (0,
|
|
2069
|
-
/* @__PURE__ */ (0,
|
|
2156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2157
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "0.5rem" }, children: "Theme Comparison" }),
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.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." }),
|
|
2159
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2160
|
+
/* @__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: "Current Theme Preview" }),
|
|
2161
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2070
2162
|
ThemePanel,
|
|
2071
2163
|
{
|
|
2072
2164
|
title: "Active Theme",
|
|
@@ -2074,9 +2166,9 @@ var ThemeComparison = () => {
|
|
|
2074
2166
|
}
|
|
2075
2167
|
)
|
|
2076
2168
|
] }),
|
|
2077
|
-
/* @__PURE__ */ (0,
|
|
2078
|
-
/* @__PURE__ */ (0,
|
|
2079
|
-
/* @__PURE__ */ (0,
|
|
2169
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2170
|
+
/* @__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: "Key Theme Colors" }),
|
|
2171
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gap: "0.75rem" }, children: [
|
|
2080
2172
|
{ name: "Background", var: "--color-background" },
|
|
2081
2173
|
{ name: "Foreground", var: "--color-foreground" },
|
|
2082
2174
|
{ name: "Card", var: "--color-card" },
|
|
@@ -2085,8 +2177,8 @@ var ThemeComparison = () => {
|
|
|
2085
2177
|
{ name: "Muted", var: "--color-muted" },
|
|
2086
2178
|
{ name: "Accent", var: "--color-accent" },
|
|
2087
2179
|
{ name: "Border", var: "--color-border" }
|
|
2088
|
-
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0,
|
|
2089
|
-
/* @__PURE__ */ (0,
|
|
2180
|
+
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2090
2182
|
"div",
|
|
2091
2183
|
{
|
|
2092
2184
|
style: {
|
|
@@ -2098,17 +2190,17 @@ var ThemeComparison = () => {
|
|
|
2098
2190
|
}
|
|
2099
2191
|
}
|
|
2100
2192
|
),
|
|
2101
|
-
/* @__PURE__ */ (0,
|
|
2193
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { marginTop: "0.25rem", fontSize: "0.75rem", fontWeight: 500 }, children: name })
|
|
2102
2194
|
] }, cssVar)) })
|
|
2103
2195
|
] }),
|
|
2104
|
-
/* @__PURE__ */ (0,
|
|
2105
|
-
/* @__PURE__ */ (0,
|
|
2106
|
-
/* @__PURE__ */ (0,
|
|
2196
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2197
|
+
/* @__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: "Semantic Colors" }),
|
|
2198
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gap: "0.75rem" }, children: [
|
|
2107
2199
|
{ name: "Destructive", var: "--color-destructive" },
|
|
2108
2200
|
{ name: "Success", var: "--color-success" },
|
|
2109
2201
|
{ name: "Warning", var: "--color-warning" }
|
|
2110
|
-
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0,
|
|
2111
|
-
/* @__PURE__ */ (0,
|
|
2202
|
+
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2203
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2112
2204
|
"div",
|
|
2113
2205
|
{
|
|
2114
2206
|
style: {
|
|
@@ -2120,50 +2212,50 @@ var ThemeComparison = () => {
|
|
|
2120
2212
|
}
|
|
2121
2213
|
}
|
|
2122
2214
|
),
|
|
2123
|
-
/* @__PURE__ */ (0,
|
|
2215
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { marginTop: "0.25rem", fontSize: "0.75rem", fontWeight: 500 }, children: name })
|
|
2124
2216
|
] }, cssVar)) })
|
|
2125
2217
|
] }),
|
|
2126
|
-
/* @__PURE__ */ (0,
|
|
2127
|
-
/* @__PURE__ */ (0,
|
|
2128
|
-
/* @__PURE__ */ (0,
|
|
2129
|
-
/* @__PURE__ */ (0,
|
|
2130
|
-
/* @__PURE__ */ (0,
|
|
2131
|
-
/* @__PURE__ */ (0,
|
|
2132
|
-
/* @__PURE__ */ (0,
|
|
2133
|
-
/* @__PURE__ */ (0,
|
|
2134
|
-
/* @__PURE__ */ (0,
|
|
2135
|
-
/* @__PURE__ */ (0,
|
|
2218
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { children: [
|
|
2219
|
+
/* @__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: "Component Showcase" }),
|
|
2220
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
2221
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Buttons" }),
|
|
2222
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
|
|
2223
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-primary", children: "Primary" }),
|
|
2224
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-secondary", children: "Secondary" }),
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-ghost", children: "Ghost" }),
|
|
2226
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-destructive", children: "Destructive" }),
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "qt-button qt-button-primary", disabled: true, children: "Disabled" })
|
|
2136
2228
|
] })
|
|
2137
2229
|
] }),
|
|
2138
|
-
/* @__PURE__ */ (0,
|
|
2139
|
-
/* @__PURE__ */ (0,
|
|
2140
|
-
/* @__PURE__ */ (0,
|
|
2141
|
-
/* @__PURE__ */ (0,
|
|
2142
|
-
/* @__PURE__ */ (0,
|
|
2143
|
-
/* @__PURE__ */ (0,
|
|
2144
|
-
/* @__PURE__ */ (0,
|
|
2145
|
-
/* @__PURE__ */ (0,
|
|
2146
|
-
/* @__PURE__ */ (0,
|
|
2230
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
2231
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Badges" }),
|
|
2232
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-default", children: "Default" }),
|
|
2234
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-primary", children: "Primary" }),
|
|
2235
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-secondary", children: "Secondary" }),
|
|
2236
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-success", children: "Success" }),
|
|
2237
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-warning", children: "Warning" }),
|
|
2238
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "qt-badge qt-badge-destructive", children: "Destructive" })
|
|
2147
2239
|
] })
|
|
2148
2240
|
] }),
|
|
2149
|
-
/* @__PURE__ */ (0,
|
|
2150
|
-
/* @__PURE__ */ (0,
|
|
2151
|
-
/* @__PURE__ */ (0,
|
|
2152
|
-
/* @__PURE__ */ (0,
|
|
2153
|
-
/* @__PURE__ */ (0,
|
|
2154
|
-
/* @__PURE__ */ (0,
|
|
2155
|
-
/* @__PURE__ */ (0,
|
|
2241
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Interactive Card" }),
|
|
2243
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-card qt-card-interactive", style: { maxWidth: "20rem", cursor: "pointer" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-card-header", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
2244
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
2245
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { children: [
|
|
2246
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h5", { className: "qt-card-title", children: "Character Name" }),
|
|
2247
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "qt-card-description", children: "Click to interact" })
|
|
2156
2248
|
] })
|
|
2157
2249
|
] }) }) })
|
|
2158
2250
|
] }),
|
|
2159
|
-
/* @__PURE__ */ (0,
|
|
2160
|
-
/* @__PURE__ */ (0,
|
|
2161
|
-
/* @__PURE__ */ (0,
|
|
2162
|
-
/* @__PURE__ */ (0,
|
|
2163
|
-
/* @__PURE__ */ (0,
|
|
2164
|
-
/* @__PURE__ */ (0,
|
|
2165
|
-
/* @__PURE__ */ (0,
|
|
2166
|
-
/* @__PURE__ */ (0,
|
|
2251
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { children: [
|
|
2252
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Form Elements" }),
|
|
2253
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "1rem", flexWrap: "wrap", maxWidth: "32rem" }, children: [
|
|
2254
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", { className: "qt-input", type: "text", placeholder: "Text input", style: { flex: "1 1 10rem" } }),
|
|
2255
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("select", { className: "qt-input qt-select", style: { flex: "1 1 10rem" }, children: [
|
|
2256
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("option", { children: "Select option" }),
|
|
2257
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("option", { children: "Option 1" }),
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("option", { children: "Option 2" })
|
|
2167
2259
|
] })
|
|
2168
2260
|
] })
|
|
2169
2261
|
] })
|
|
@@ -2172,125 +2264,125 @@ var ThemeComparison = () => {
|
|
|
2172
2264
|
};
|
|
2173
2265
|
|
|
2174
2266
|
// src/stories/components/EmptyState.tsx
|
|
2175
|
-
var
|
|
2267
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2176
2268
|
var EmptyState = () => {
|
|
2177
|
-
return /* @__PURE__ */ (0,
|
|
2178
|
-
/* @__PURE__ */ (0,
|
|
2179
|
-
/* @__PURE__ */ (0,
|
|
2180
|
-
/* @__PURE__ */ (0,
|
|
2181
|
-
/* @__PURE__ */ (0,
|
|
2182
|
-
/* @__PURE__ */ (0,
|
|
2183
|
-
/* @__PURE__ */ (0,
|
|
2184
|
-
/* @__PURE__ */ (0,
|
|
2269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2270
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Empty States" }),
|
|
2271
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2272
|
+
/* @__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: "Basic Empty State" }),
|
|
2273
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2274
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.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" }) }) }),
|
|
2275
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h4", { className: "qt-empty-state-title", children: "No messages yet" }),
|
|
2276
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "qt-empty-state-description", children: "Start a conversation to see messages appear here." })
|
|
2185
2277
|
] })
|
|
2186
2278
|
] }),
|
|
2187
|
-
/* @__PURE__ */ (0,
|
|
2188
|
-
/* @__PURE__ */ (0,
|
|
2189
|
-
/* @__PURE__ */ (0,
|
|
2190
|
-
/* @__PURE__ */ (0,
|
|
2191
|
-
/* @__PURE__ */ (0,
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2193
|
-
/* @__PURE__ */ (0,
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2280
|
+
/* @__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: "Empty State with Action" }),
|
|
2281
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2282
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.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" }) }) }),
|
|
2283
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h4", { className: "qt-empty-state-title", children: "No characters" }),
|
|
2284
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "qt-empty-state-description", children: "You haven't created any characters yet. Create your first character to get started." }),
|
|
2285
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("button", { className: "qt-button qt-button-primary", children: "Create Character" }) })
|
|
2194
2286
|
] })
|
|
2195
2287
|
] }),
|
|
2196
|
-
/* @__PURE__ */ (0,
|
|
2197
|
-
/* @__PURE__ */ (0,
|
|
2198
|
-
/* @__PURE__ */ (0,
|
|
2199
|
-
/* @__PURE__ */ (0,
|
|
2200
|
-
/* @__PURE__ */ (0,
|
|
2201
|
-
/* @__PURE__ */ (0,
|
|
2202
|
-
/* @__PURE__ */ (0,
|
|
2288
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2289
|
+
/* @__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: "Search Empty State" }),
|
|
2290
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2291
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.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" }) }) }),
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h4", { className: "qt-empty-state-title", children: "No results found" }),
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "qt-empty-state-description", children: "Try adjusting your search or filters to find what you're looking for." }),
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("button", { className: "qt-button qt-button-secondary", children: "Clear Filters" }) })
|
|
2203
2295
|
] })
|
|
2204
2296
|
] }),
|
|
2205
|
-
/* @__PURE__ */ (0,
|
|
2206
|
-
/* @__PURE__ */ (0,
|
|
2207
|
-
/* @__PURE__ */ (0,
|
|
2208
|
-
/* @__PURE__ */ (0,
|
|
2209
|
-
/* @__PURE__ */ (0,
|
|
2210
|
-
/* @__PURE__ */ (0,
|
|
2211
|
-
/* @__PURE__ */ (0,
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { children: [
|
|
2298
|
+
/* @__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: "Error Empty State" }),
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-empty-state", children: [
|
|
2300
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-empty-state-icon text-red-500", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.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" }) }) }),
|
|
2301
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h4", { className: "qt-empty-state-title", children: "Something went wrong" }),
|
|
2302
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "qt-empty-state-description", children: "We couldn't load the content. Please try again." }),
|
|
2303
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("button", { className: "qt-button qt-button-primary", children: "Try Again" }) })
|
|
2212
2304
|
] })
|
|
2213
2305
|
] })
|
|
2214
2306
|
] });
|
|
2215
2307
|
};
|
|
2216
2308
|
|
|
2217
2309
|
// src/stories/components/Loading.tsx
|
|
2218
|
-
var
|
|
2310
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
2219
2311
|
var Loading = () => {
|
|
2220
|
-
return /* @__PURE__ */ (0,
|
|
2221
|
-
/* @__PURE__ */ (0,
|
|
2222
|
-
/* @__PURE__ */ (0,
|
|
2223
|
-
/* @__PURE__ */ (0,
|
|
2224
|
-
/* @__PURE__ */ (0,
|
|
2225
|
-
/* @__PURE__ */ (0,
|
|
2226
|
-
/* @__PURE__ */ (0,
|
|
2227
|
-
/* @__PURE__ */ (0,
|
|
2228
|
-
] }),
|
|
2229
|
-
/* @__PURE__ */ (0,
|
|
2230
|
-
/* @__PURE__ */ (0,
|
|
2231
|
-
/* @__PURE__ */ (0,
|
|
2232
|
-
] }),
|
|
2233
|
-
/* @__PURE__ */ (0,
|
|
2234
|
-
/* @__PURE__ */ (0,
|
|
2235
|
-
/* @__PURE__ */ (0,
|
|
2312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2313
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Loading States" }),
|
|
2314
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2315
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Spinners" }),
|
|
2316
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { display: "flex", gap: "2rem", alignItems: "center" }, children: [
|
|
2317
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2318
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-spinner qt-spinner-sm", style: { margin: "0 auto" } }),
|
|
2319
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Small" })
|
|
2320
|
+
] }),
|
|
2321
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2322
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-spinner", style: { margin: "0 auto" } }),
|
|
2323
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Default" })
|
|
2324
|
+
] }),
|
|
2325
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
2326
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-spinner qt-spinner-lg", style: { margin: "0 auto" } }),
|
|
2327
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Large" })
|
|
2236
2328
|
] })
|
|
2237
2329
|
] })
|
|
2238
2330
|
] }),
|
|
2239
|
-
/* @__PURE__ */ (0,
|
|
2240
|
-
/* @__PURE__ */ (0,
|
|
2241
|
-
/* @__PURE__ */ (0,
|
|
2242
|
-
/* @__PURE__ */ (0,
|
|
2243
|
-
/* @__PURE__ */ (0,
|
|
2244
|
-
/* @__PURE__ */ (0,
|
|
2331
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2332
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Text" }),
|
|
2333
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { maxWidth: "28rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2334
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "100%" } }),
|
|
2335
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "80%" } }),
|
|
2336
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } })
|
|
2245
2337
|
] })
|
|
2246
2338
|
] }),
|
|
2247
|
-
/* @__PURE__ */ (0,
|
|
2248
|
-
/* @__PURE__ */ (0,
|
|
2249
|
-
/* @__PURE__ */ (0,
|
|
2250
|
-
/* @__PURE__ */ (0,
|
|
2251
|
-
/* @__PURE__ */ (0,
|
|
2252
|
-
/* @__PURE__ */ (0,
|
|
2253
|
-
/* @__PURE__ */ (0,
|
|
2254
|
-
/* @__PURE__ */ (0,
|
|
2339
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2340
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Card" }),
|
|
2341
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "qt-card", style: { maxWidth: "24rem", padding: "1rem" }, children: [
|
|
2342
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { display: "flex", gap: "0.75rem", marginBottom: "1rem", alignItems: "flex-start" }, children: [
|
|
2343
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "40px", height: "40px", flexShrink: 0 } }),
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } }),
|
|
2346
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "40%" } })
|
|
2255
2347
|
] })
|
|
2256
2348
|
] }),
|
|
2257
|
-
/* @__PURE__ */ (0,
|
|
2258
|
-
/* @__PURE__ */ (0,
|
|
2259
|
-
/* @__PURE__ */ (0,
|
|
2260
|
-
/* @__PURE__ */ (0,
|
|
2349
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2350
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2351
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2352
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "75%" } })
|
|
2261
2353
|
] })
|
|
2262
2354
|
] })
|
|
2263
2355
|
] }),
|
|
2264
|
-
/* @__PURE__ */ (0,
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2267
|
-
/* @__PURE__ */ (0,
|
|
2268
|
-
/* @__PURE__ */ (0,
|
|
2269
|
-
/* @__PURE__ */ (0,
|
|
2270
|
-
/* @__PURE__ */ (0,
|
|
2271
|
-
/* @__PURE__ */ (0,
|
|
2272
|
-
/* @__PURE__ */ (0,
|
|
2273
|
-
/* @__PURE__ */ (0,
|
|
2356
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2357
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Message" }),
|
|
2358
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { style: { maxWidth: "42rem", display: "flex", flexDirection: "column", gap: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { display: "flex", gap: "0.75rem" }, children: [
|
|
2359
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "32px", height: "32px", flexShrink: 0 } }),
|
|
2360
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2361
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "120px" } }),
|
|
2362
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-card", style: { padding: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2363
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2364
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2365
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } })
|
|
2274
2366
|
] }) })
|
|
2275
2367
|
] })
|
|
2276
2368
|
] }) })
|
|
2277
2369
|
] }),
|
|
2278
|
-
/* @__PURE__ */ (0,
|
|
2279
|
-
/* @__PURE__ */ (0,
|
|
2280
|
-
/* @__PURE__ */ (0,
|
|
2281
|
-
/* @__PURE__ */ (0,
|
|
2282
|
-
/* @__PURE__ */ (0,
|
|
2370
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2371
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton List" }),
|
|
2372
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { style: { maxWidth: "24rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [1, 2, 3].map((i) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "qt-card", style: { padding: "0.75rem", display: "flex", gap: "0.75rem", alignItems: "center" }, children: [
|
|
2373
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "32px", height: "32px", flexShrink: 0 } }),
|
|
2374
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { style: { flex: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "70%" } }) })
|
|
2283
2375
|
] }, i)) })
|
|
2284
2376
|
] }),
|
|
2285
|
-
/* @__PURE__ */ (0,
|
|
2286
|
-
/* @__PURE__ */ (0,
|
|
2287
|
-
/* @__PURE__ */ (0,
|
|
2288
|
-
/* @__PURE__ */ (0,
|
|
2289
|
-
/* @__PURE__ */ (0,
|
|
2377
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("section", { children: [
|
|
2378
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Loading Button" }),
|
|
2379
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { style: { display: "flex", gap: "1rem" }, children: [
|
|
2380
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("button", { className: "qt-button qt-button-primary", disabled: true, style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2381
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-spinner qt-spinner-sm" }),
|
|
2290
2382
|
"Loading..."
|
|
2291
2383
|
] }),
|
|
2292
|
-
/* @__PURE__ */ (0,
|
|
2293
|
-
/* @__PURE__ */ (0,
|
|
2384
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("button", { className: "qt-button qt-button-secondary", disabled: true, style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2385
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "qt-spinner qt-spinner-sm" }),
|
|
2294
2386
|
"Saving..."
|
|
2295
2387
|
] })
|
|
2296
2388
|
] })
|
|
@@ -2299,130 +2391,130 @@ var Loading = () => {
|
|
|
2299
2391
|
};
|
|
2300
2392
|
|
|
2301
2393
|
// src/stories/components/Participant.tsx
|
|
2302
|
-
var
|
|
2394
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
2303
2395
|
var Participant = () => {
|
|
2304
|
-
return /* @__PURE__ */ (0,
|
|
2305
|
-
/* @__PURE__ */ (0,
|
|
2306
|
-
/* @__PURE__ */ (0,
|
|
2307
|
-
/* @__PURE__ */ (0,
|
|
2308
|
-
/* @__PURE__ */ (0,
|
|
2309
|
-
/* @__PURE__ */ (0,
|
|
2310
|
-
/* @__PURE__ */ (0,
|
|
2311
|
-
/* @__PURE__ */ (0,
|
|
2312
|
-
/* @__PURE__ */ (0,
|
|
2313
|
-
/* @__PURE__ */ (0,
|
|
2396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2397
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Participants" }),
|
|
2398
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2399
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Participant Cards" }),
|
|
2400
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2401
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2403
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2404
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2405
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "AI Assistant" })
|
|
2314
2406
|
] })
|
|
2315
2407
|
] }) }),
|
|
2316
|
-
/* @__PURE__ */ (0,
|
|
2317
|
-
/* @__PURE__ */ (0,
|
|
2318
|
-
/* @__PURE__ */ (0,
|
|
2319
|
-
/* @__PURE__ */ (0,
|
|
2320
|
-
/* @__PURE__ */ (0,
|
|
2408
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2409
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }) }),
|
|
2410
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2411
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2412
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "Currently Speaking" })
|
|
2321
2413
|
] })
|
|
2322
2414
|
] }) }),
|
|
2323
|
-
/* @__PURE__ */ (0,
|
|
2324
|
-
/* @__PURE__ */ (0,
|
|
2325
|
-
/* @__PURE__ */ (0,
|
|
2326
|
-
/* @__PURE__ */ (0,
|
|
2327
|
-
/* @__PURE__ */ (0,
|
|
2415
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2416
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2417
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2418
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "You" }),
|
|
2419
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "Human" })
|
|
2328
2420
|
] })
|
|
2329
2421
|
] }) })
|
|
2330
2422
|
] })
|
|
2331
2423
|
] }),
|
|
2332
|
-
/* @__PURE__ */ (0,
|
|
2333
|
-
/* @__PURE__ */ (0,
|
|
2334
|
-
/* @__PURE__ */ (0,
|
|
2335
|
-
/* @__PURE__ */ (0,
|
|
2336
|
-
/* @__PURE__ */ (0,
|
|
2337
|
-
/* @__PURE__ */ (0,
|
|
2338
|
-
/* @__PURE__ */ (0,
|
|
2339
|
-
/* @__PURE__ */ (0,
|
|
2340
|
-
/* @__PURE__ */ (0,
|
|
2424
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2425
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Participant Status States" }),
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.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." }),
|
|
2427
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2428
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2429
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2430
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2431
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2432
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "Currently Speaking" })
|
|
2341
2433
|
] })
|
|
2342
2434
|
] }) }),
|
|
2343
|
-
/* @__PURE__ */ (0,
|
|
2344
|
-
/* @__PURE__ */ (0,
|
|
2345
|
-
/* @__PURE__ */ (0,
|
|
2346
|
-
/* @__PURE__ */ (0,
|
|
2435
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card qt-participant-card-silent", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2436
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-avatar", style: { position: "relative" }, children: [
|
|
2437
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }),
|
|
2438
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-status-overlay qt-participant-status-overlay-silent", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("svg", { width: "10", height: "10", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime20.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" }) }) })
|
|
2347
2439
|
] }),
|
|
2348
|
-
/* @__PURE__ */ (0,
|
|
2349
|
-
/* @__PURE__ */ (0,
|
|
2350
|
-
/* @__PURE__ */ (0,
|
|
2351
|
-
/* @__PURE__ */ (0,
|
|
2440
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2441
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2442
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2443
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "qt-badge-silent", style: { fontSize: "0.625rem" }, children: "Silent" })
|
|
2352
2444
|
] }),
|
|
2353
|
-
/* @__PURE__ */ (0,
|
|
2445
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "Inner thoughts only" })
|
|
2354
2446
|
] })
|
|
2355
2447
|
] }) }),
|
|
2356
|
-
/* @__PURE__ */ (0,
|
|
2357
|
-
/* @__PURE__ */ (0,
|
|
2358
|
-
/* @__PURE__ */ (0,
|
|
2359
|
-
/* @__PURE__ */ (0,
|
|
2448
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card", style: { opacity: 0.7 }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2449
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-avatar", style: { position: "relative" }, children: [
|
|
2450
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "CC" }) }),
|
|
2451
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-status-overlay qt-participant-status-overlay-absent", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("svg", { width: "10", height: "10", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) }) })
|
|
2360
2452
|
] }),
|
|
2361
|
-
/* @__PURE__ */ (0,
|
|
2362
|
-
/* @__PURE__ */ (0,
|
|
2363
|
-
/* @__PURE__ */ (0,
|
|
2364
|
-
/* @__PURE__ */ (0,
|
|
2453
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2454
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2455
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "Clara Character" }),
|
|
2456
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "qt-badge-absent", style: { fontSize: "0.625rem" }, children: "Absent" })
|
|
2365
2457
|
] }),
|
|
2366
|
-
/* @__PURE__ */ (0,
|
|
2458
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "Away from the scene" })
|
|
2367
2459
|
] })
|
|
2368
2460
|
] }) }),
|
|
2369
|
-
/* @__PURE__ */ (0,
|
|
2370
|
-
/* @__PURE__ */ (0,
|
|
2371
|
-
/* @__PURE__ */ (0,
|
|
2372
|
-
/* @__PURE__ */ (0,
|
|
2373
|
-
/* @__PURE__ */ (0,
|
|
2461
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2462
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2463
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "You" }),
|
|
2465
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "Human" })
|
|
2374
2466
|
] })
|
|
2375
2467
|
] }) })
|
|
2376
2468
|
] })
|
|
2377
2469
|
] }),
|
|
2378
|
-
/* @__PURE__ */ (0,
|
|
2379
|
-
/* @__PURE__ */ (0,
|
|
2380
|
-
/* @__PURE__ */ (0,
|
|
2381
|
-
/* @__PURE__ */ (0,
|
|
2382
|
-
/* @__PURE__ */ (0,
|
|
2383
|
-
/* @__PURE__ */ (0,
|
|
2384
|
-
/* @__PURE__ */ (0,
|
|
2385
|
-
/* @__PURE__ */ (0,
|
|
2386
|
-
/* @__PURE__ */ (0,
|
|
2387
|
-
/* @__PURE__ */ (0,
|
|
2470
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2471
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Chat Sidebar Layout" }),
|
|
2472
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { display: "flex", gap: "1rem" }, children: [
|
|
2473
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-card", style: { flex: 1, padding: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { style: { color: "var(--color-text-muted)" }, children: "Chat messages area" }) }),
|
|
2474
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-chat-sidebar", style: { width: "16rem" }, children: [
|
|
2475
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { style: { padding: "1rem", borderBottom: "1px solid var(--qt-chat-sidebar-header-border)" }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("h4", { style: { fontWeight: 600, color: "var(--qt-chat-sidebar-heading)" }, children: "Participants" }) }),
|
|
2476
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { padding: "0.5rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2477
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2478
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2479
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-info", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", style: { fontSize: "0.875rem" }, children: "Alice" }) })
|
|
2388
2480
|
] }) }),
|
|
2389
|
-
/* @__PURE__ */ (0,
|
|
2390
|
-
/* @__PURE__ */ (0,
|
|
2391
|
-
/* @__PURE__ */ (0,
|
|
2481
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2482
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2483
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-info", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", style: { fontSize: "0.875rem" }, children: "You" }) })
|
|
2392
2484
|
] }) })
|
|
2393
2485
|
] })
|
|
2394
2486
|
] })
|
|
2395
2487
|
] })
|
|
2396
2488
|
] }),
|
|
2397
|
-
/* @__PURE__ */ (0,
|
|
2398
|
-
/* @__PURE__ */ (0,
|
|
2399
|
-
/* @__PURE__ */ (0,
|
|
2400
|
-
/* @__PURE__ */ (0,
|
|
2401
|
-
/* @__PURE__ */ (0,
|
|
2402
|
-
/* @__PURE__ */ (0,
|
|
2403
|
-
/* @__PURE__ */ (0,
|
|
2404
|
-
/* @__PURE__ */ (0,
|
|
2405
|
-
/* @__PURE__ */ (0,
|
|
2406
|
-
/* @__PURE__ */ (0,
|
|
2407
|
-
/* @__PURE__ */ (0,
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2409
|
-
/* @__PURE__ */ (0,
|
|
2410
|
-
/* @__PURE__ */ (0,
|
|
2489
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("section", { children: [
|
|
2490
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Connection Profile Dropdown" }),
|
|
2491
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
2492
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2493
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2494
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2495
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2496
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-status", children: "AI Assistant" }),
|
|
2497
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { style: { marginTop: "0.25rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("select", { className: "qt-select qt-select-sm", style: { width: "100%" }, defaultValue: "gpt-4", children: [
|
|
2498
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "", children: "Select a provider..." }),
|
|
2499
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "__user__", children: "User (you type)" }),
|
|
2500
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "gpt-4", children: "gpt-4-turbo" }),
|
|
2501
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "claude", children: "claude-3-opus" }),
|
|
2502
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "gemini", children: "gemini-pro" })
|
|
2411
2503
|
] }) })
|
|
2412
2504
|
] })
|
|
2413
2505
|
] }) }),
|
|
2414
|
-
/* @__PURE__ */ (0,
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2416
|
-
/* @__PURE__ */ (0,
|
|
2417
|
-
/* @__PURE__ */ (0,
|
|
2418
|
-
/* @__PURE__ */ (0,
|
|
2419
|
-
/* @__PURE__ */ (0,
|
|
2506
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2507
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }) }),
|
|
2508
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2509
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2510
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2511
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "qt-badge-secondary", style: { fontSize: "0.75rem" }, children: "You" })
|
|
2420
2512
|
] }),
|
|
2421
|
-
/* @__PURE__ */ (0,
|
|
2422
|
-
/* @__PURE__ */ (0,
|
|
2423
|
-
/* @__PURE__ */ (0,
|
|
2424
|
-
/* @__PURE__ */ (0,
|
|
2425
|
-
/* @__PURE__ */ (0,
|
|
2513
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { style: { marginTop: "0.25rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("select", { className: "qt-select qt-select-sm", style: { width: "100%" }, defaultValue: "__user__", children: [
|
|
2514
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "", children: "Select a provider..." }),
|
|
2515
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "__user__", children: "User (you type)" }),
|
|
2516
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "gpt-4", children: "gpt-4-turbo" }),
|
|
2517
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "claude", children: "claude-3-opus" })
|
|
2426
2518
|
] }) })
|
|
2427
2519
|
] })
|
|
2428
2520
|
] }) })
|
|
@@ -2452,5 +2544,6 @@ var Participant = () => {
|
|
|
2452
2544
|
Tabs,
|
|
2453
2545
|
Terminal,
|
|
2454
2546
|
ThemeComparison,
|
|
2455
|
-
Typography
|
|
2547
|
+
Typography,
|
|
2548
|
+
Workspace
|
|
2456
2549
|
});
|