@quilltap/theme-storybook 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/{chunk-C4SJNVAC.mjs → chunk-7CI72GBQ.mjs} +409 -319
- package/dist/index.css +140 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +410 -319
- package/dist/index.mjs +3 -1
- package/dist/stories/index.d.mts +12 -1
- package/dist/stories/index.d.ts +12 -1
- package/dist/stories/index.js +410 -319
- package/dist/stories/index.mjs +3 -1
- package/package.json +1 -1
- package/src/css/qt-components.css +183 -2
- package/src/stories/components/Terminal.tsx +129 -0
- package/src/stories/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __export(src_exports, {
|
|
|
36
36
|
Participant: () => Participant,
|
|
37
37
|
Spacing: () => Spacing,
|
|
38
38
|
Tabs: () => Tabs,
|
|
39
|
+
Terminal: () => Terminal,
|
|
39
40
|
ThemeComparison: () => ThemeComparison,
|
|
40
41
|
ThemeDecorator: () => ThemeDecorator,
|
|
41
42
|
Typography: () => Typography,
|
|
@@ -1568,41 +1569,130 @@ var Chat = () => {
|
|
|
1568
1569
|
] });
|
|
1569
1570
|
};
|
|
1570
1571
|
|
|
1571
|
-
// src/stories/components/
|
|
1572
|
+
// src/stories/components/Terminal.tsx
|
|
1572
1573
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1573
|
-
var
|
|
1574
|
+
var sampleOutput = `$ git status
|
|
1575
|
+
On branch main
|
|
1576
|
+
Your branch is up to date with 'origin/main'.
|
|
1577
|
+
|
|
1578
|
+
nothing to commit, working tree clean
|
|
1579
|
+
$ npm run dev
|
|
1580
|
+
> next dev
|
|
1581
|
+
\u25B2 Next.js 16.0.0
|
|
1582
|
+
- Local: http://localhost:3000
|
|
1583
|
+
- ready started server on 0.0.0.0:3000`;
|
|
1584
|
+
var Terminal = () => {
|
|
1574
1585
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1575
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "
|
|
1586
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Terminal Components" }),
|
|
1587
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "1.5rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1588
|
+
"The terminal carries its own identity. By default it stays dark in both light and dark themes \u2014 but a theme can override",
|
|
1589
|
+
" ",
|
|
1590
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: "--qt-terminal-bg" }),
|
|
1591
|
+
", ",
|
|
1592
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: "--qt-terminal-fg" }),
|
|
1593
|
+
", and the",
|
|
1594
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: "--qt-terminal-chrome-*" }),
|
|
1595
|
+
" tokens to reskin every surface below."
|
|
1596
|
+
] }),
|
|
1597
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1598
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "In-chat embed" }),
|
|
1599
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1600
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-embed" }),
|
|
1601
|
+
" wraps the embed card; the header and footer strips inherit the surrounding theme so they nest cleanly with chat bubbles."
|
|
1602
|
+
] }),
|
|
1603
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed", style: { maxWidth: "36rem" }, children: [
|
|
1604
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed-header", children: [
|
|
1605
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 500, margin: 0 }, children: "Terminal \u2014 zsh" }) }),
|
|
1606
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1607
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-icon", type: "button", children: "Pop out" }),
|
|
1608
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-icon qt-text-destructive", type: "button", children: "Kill" })
|
|
1609
|
+
] })
|
|
1610
|
+
] }),
|
|
1611
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-terminal-surface", style: { padding: "0.75rem", fontFamily: "var(--qt-font-mono, monospace)", color: "var(--qt-terminal-fg)", fontSize: "0.8125rem", whiteSpace: "pre-wrap" }, children: sampleOutput })
|
|
1612
|
+
] })
|
|
1613
|
+
] }),
|
|
1614
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1615
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Embed footer (handed off to Terminal Mode pane)" }),
|
|
1616
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed", style: { maxWidth: "36rem" }, children: [
|
|
1617
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-terminal-embed-header", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 500, margin: 0 }, children: "Terminal \u2014 zsh" }) }),
|
|
1618
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-embed-footer", children: [
|
|
1619
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-text-secondary", children: "Showing in Terminal Mode pane." }),
|
|
1620
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-secondary", type: "button", style: { fontSize: "0.75rem", padding: "0.25rem 0.5rem" }, children: "Go to pane \u2192" })
|
|
1621
|
+
] })
|
|
1622
|
+
] })
|
|
1623
|
+
] }),
|
|
1576
1624
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1577
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "
|
|
1578
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)"
|
|
1579
|
-
|
|
1625
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Pop-out page chrome" }),
|
|
1626
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1627
|
+
"The full-screen pop-out page uses",
|
|
1628
|
+
" ",
|
|
1629
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-popout-page" }),
|
|
1630
|
+
" as the outer canvas and",
|
|
1631
|
+
" ",
|
|
1632
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-popout-header" }),
|
|
1633
|
+
" for the breadcrumb bar."
|
|
1634
|
+
] }),
|
|
1635
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-popout-page", style: { borderRadius: "0.5rem", overflow: "hidden", border: "1px solid var(--color-border)", height: "240px", display: "flex", flexDirection: "column" }, children: [
|
|
1636
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "qt-terminal-popout-header", children: [
|
|
1637
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
1638
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-icon", type: "button", style: { color: "inherit" }, children: "\u2190" }),
|
|
1639
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("a", { href: "#", className: "qt-terminal-popout-link", style: { fontSize: "0.875rem" }, children: "Chat" }),
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-terminal-popout-separator", children: "/" }),
|
|
1641
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h1", { className: "qt-terminal-popout-title", style: { fontSize: "1rem", margin: 0 }, children: "Terminal \u2014 zsh" })
|
|
1642
|
+
] }),
|
|
1643
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { className: "qt-button-destructive", type: "button", style: { fontSize: "0.875rem" }, children: "Kill Session" })
|
|
1644
|
+
] }),
|
|
1645
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style: { flex: 1, padding: "0.75rem", fontFamily: "var(--qt-font-mono, monospace)", color: "var(--qt-terminal-fg)", fontSize: "0.8125rem", whiteSpace: "pre-wrap" }, children: sampleOutput })
|
|
1646
|
+
] })
|
|
1647
|
+
] }),
|
|
1648
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { children: [
|
|
1649
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Session-exited overlay" }),
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("p", { style: { marginBottom: "0.75rem", fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: [
|
|
1651
|
+
"When the PTY exits but the terminal stays mounted, the",
|
|
1652
|
+
" ",
|
|
1653
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("code", { children: ".qt-terminal-closed-badge" }),
|
|
1654
|
+
" overlay marks it."
|
|
1655
|
+
] }),
|
|
1656
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "qt-terminal-surface", style: { position: "relative", height: "120px", borderRadius: "0.5rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "qt-terminal-closed-badge", children: "Closed" }) })
|
|
1657
|
+
] })
|
|
1658
|
+
] });
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1661
|
+
// src/stories/components/FilePreview.tsx
|
|
1662
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1663
|
+
var FilePreview = () => {
|
|
1664
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1665
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "File Preview Components" }),
|
|
1666
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1667
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Scroll Container" }),
|
|
1668
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1669
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-scroll" }),
|
|
1580
1670
|
" - Scrollable container for file content with configurable max height."
|
|
1581
1671
|
] }),
|
|
1582
|
-
/* @__PURE__ */ (0,
|
|
1672
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-scroll", style: { height: "150px", border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { padding: "1rem" }, children: Array.from({ length: 20 }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { margin: "0.5rem 0" }, children: [
|
|
1583
1673
|
"Line ",
|
|
1584
1674
|
i + 1,
|
|
1585
1675
|
": Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
1586
1676
|
] }, i)) }) })
|
|
1587
1677
|
] }),
|
|
1588
|
-
/* @__PURE__ */ (0,
|
|
1589
|
-
/* @__PURE__ */ (0,
|
|
1590
|
-
/* @__PURE__ */ (0,
|
|
1591
|
-
/* @__PURE__ */ (0,
|
|
1678
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1679
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Content Panel" }),
|
|
1680
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1681
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-panel" }),
|
|
1592
1682
|
" - Background panel for rendered markdown content."
|
|
1593
1683
|
] }),
|
|
1594
|
-
/* @__PURE__ */ (0,
|
|
1595
|
-
/* @__PURE__ */ (0,
|
|
1596
|
-
/* @__PURE__ */ (0,
|
|
1684
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-file-preview-panel", children: [
|
|
1685
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h4", { style: { margin: "0 0 0.5rem 0" }, children: "Document Title" }),
|
|
1686
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { style: { margin: 0 }, children: "This is a content panel used for displaying rendered markdown files with a subtle background." })
|
|
1597
1687
|
] })
|
|
1598
1688
|
] }),
|
|
1599
|
-
/* @__PURE__ */ (0,
|
|
1600
|
-
/* @__PURE__ */ (0,
|
|
1601
|
-
/* @__PURE__ */ (0,
|
|
1602
|
-
/* @__PURE__ */ (0,
|
|
1689
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1690
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Code Block" }),
|
|
1691
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1692
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-code" }),
|
|
1603
1693
|
" - Styled code block for plain text and source files with word wrap."
|
|
1604
1694
|
] }),
|
|
1605
|
-
/* @__PURE__ */ (0,
|
|
1695
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("pre", { className: "qt-file-preview-code", children: `function greet(name: string): string {
|
|
1606
1696
|
return \`Hello, \${name}!\`;
|
|
1607
1697
|
}
|
|
1608
1698
|
|
|
@@ -1610,133 +1700,133 @@ var FilePreview = () => {
|
|
|
1610
1700
|
const message = greet("World");
|
|
1611
1701
|
console.log(message);` })
|
|
1612
1702
|
] }),
|
|
1613
|
-
/* @__PURE__ */ (0,
|
|
1614
|
-
/* @__PURE__ */ (0,
|
|
1615
|
-
/* @__PURE__ */ (0,
|
|
1616
|
-
/* @__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: "Loading State" }),
|
|
1705
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-loading" }),
|
|
1617
1707
|
" + ",
|
|
1618
|
-
/* @__PURE__ */ (0,
|
|
1708
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-loading-text" }),
|
|
1619
1709
|
" - Loading indicator."
|
|
1620
1710
|
] }),
|
|
1621
|
-
/* @__PURE__ */ (0,
|
|
1711
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-loading", style: { minHeight: "150px" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-loading-text", children: "Loading file..." }) }) })
|
|
1622
1712
|
] }),
|
|
1623
|
-
/* @__PURE__ */ (0,
|
|
1624
|
-
/* @__PURE__ */ (0,
|
|
1625
|
-
/* @__PURE__ */ (0,
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
1713
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1714
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Empty / Error State" }),
|
|
1715
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1716
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-empty" }),
|
|
1627
1717
|
" + ",
|
|
1628
|
-
/* @__PURE__ */ (0,
|
|
1718
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-file-preview-empty-icon" }),
|
|
1629
1719
|
" - Empty or error state display."
|
|
1630
1720
|
] }),
|
|
1631
|
-
/* @__PURE__ */ (0,
|
|
1632
|
-
/* @__PURE__ */ (0,
|
|
1633
|
-
/* @__PURE__ */ (0,
|
|
1634
|
-
/* @__PURE__ */ (0,
|
|
1721
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { display: "grid", gridTemplateColumns: "repeat(2, 1fr)", gap: "1rem" }, children: [
|
|
1722
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-file-preview-empty", style: { minHeight: "150px" }, children: [
|
|
1723
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-empty-icon", children: "\u{1F4C4}" }),
|
|
1724
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "No content available" })
|
|
1635
1725
|
] }) }),
|
|
1636
|
-
/* @__PURE__ */ (0,
|
|
1637
|
-
/* @__PURE__ */ (0,
|
|
1638
|
-
/* @__PURE__ */ (0,
|
|
1726
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { border: "1px solid var(--color-border)", borderRadius: "var(--radius-lg)" }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "qt-file-preview-empty", style: { minHeight: "150px" }, children: [
|
|
1727
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-empty-icon", children: "\u26A0\uFE0F" }),
|
|
1728
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { children: "Failed to load file" })
|
|
1639
1729
|
] }) })
|
|
1640
1730
|
] })
|
|
1641
1731
|
] }),
|
|
1642
|
-
/* @__PURE__ */ (0,
|
|
1643
|
-
/* @__PURE__ */ (0,
|
|
1644
|
-
/* @__PURE__ */ (0,
|
|
1645
|
-
/* @__PURE__ */ (0,
|
|
1732
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1733
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Wikilinks" }),
|
|
1734
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: [
|
|
1735
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-wikilink" }),
|
|
1646
1736
|
" + ",
|
|
1647
|
-
/* @__PURE__ */ (0,
|
|
1737
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { children: ".qt-wikilink-broken" }),
|
|
1648
1738
|
" - Internal document links in markdown."
|
|
1649
1739
|
] }),
|
|
1650
|
-
/* @__PURE__ */ (0,
|
|
1740
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "qt-file-preview-panel", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("p", { style: { margin: 0, lineHeight: 2 }, children: [
|
|
1651
1741
|
"This document references ",
|
|
1652
|
-
/* @__PURE__ */ (0,
|
|
1742
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", className: "qt-wikilink", children: "Character Profile" }),
|
|
1653
1743
|
" and links to ",
|
|
1654
|
-
/* @__PURE__ */ (0,
|
|
1744
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", className: "qt-wikilink", children: "World Building \u2192 Geography" }),
|
|
1655
1745
|
". There's also a ",
|
|
1656
|
-
/* @__PURE__ */ (0,
|
|
1746
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", className: "qt-wikilink-broken", children: "Missing Document" }),
|
|
1657
1747
|
" that doesn't exist yet."
|
|
1658
1748
|
] }) })
|
|
1659
1749
|
] }),
|
|
1660
|
-
/* @__PURE__ */ (0,
|
|
1661
|
-
/* @__PURE__ */ (0,
|
|
1662
|
-
/* @__PURE__ */ (0,
|
|
1750
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1751
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "CSS Variables" }),
|
|
1752
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(300px, 1fr))", gap: "0.5rem" }, children: [
|
|
1663
1753
|
{ name: "--qt-file-preview-max-height", value: "70vh", desc: "Max height of scroll container" },
|
|
1664
1754
|
{ name: "--qt-file-preview-min-height", value: "300px", desc: "Min height of loading/empty states" },
|
|
1665
1755
|
{ name: "--qt-file-preview-panel-bg", value: "muted/30%", desc: "Content panel background" },
|
|
1666
1756
|
{ name: "--qt-code-bg", value: "muted", desc: "Code block background" },
|
|
1667
1757
|
{ name: "--qt-code-fg", value: "foreground", desc: "Code block text color" },
|
|
1668
1758
|
{ name: "--qt-code-font", value: "monospace", desc: "Code block font family" }
|
|
1669
|
-
].map(({ name, value, desc }) => /* @__PURE__ */ (0,
|
|
1670
|
-
/* @__PURE__ */ (0,
|
|
1671
|
-
/* @__PURE__ */ (0,
|
|
1759
|
+
].map(({ name, value, desc }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { padding: "0.75rem", background: "var(--color-muted)", borderRadius: "var(--radius-md)" }, children: [
|
|
1760
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("code", { style: { fontSize: "0.75rem", fontWeight: 600 }, children: name }),
|
|
1761
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)", marginTop: "0.25rem" }, children: [
|
|
1672
1762
|
"Default: ",
|
|
1673
1763
|
value
|
|
1674
1764
|
] }),
|
|
1675
|
-
/* @__PURE__ */ (0,
|
|
1765
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { style: { fontSize: "0.75rem", color: "var(--color-muted-foreground)" }, children: desc })
|
|
1676
1766
|
] }, name)) })
|
|
1677
1767
|
] })
|
|
1678
1768
|
] });
|
|
1679
1769
|
};
|
|
1680
1770
|
|
|
1681
1771
|
// src/stories/components/ThemeComparison.tsx
|
|
1682
|
-
var
|
|
1772
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1683
1773
|
var ThemePanel = ({ title, description }) => {
|
|
1684
|
-
return /* @__PURE__ */ (0,
|
|
1685
|
-
/* @__PURE__ */ (0,
|
|
1686
|
-
/* @__PURE__ */ (0,
|
|
1687
|
-
/* @__PURE__ */ (0,
|
|
1688
|
-
] }),
|
|
1689
|
-
/* @__PURE__ */ (0,
|
|
1690
|
-
/* @__PURE__ */ (0,
|
|
1691
|
-
/* @__PURE__ */ (0,
|
|
1692
|
-
/* @__PURE__ */ (0,
|
|
1774
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { flex: 1, minWidth: "20rem" }, children: [
|
|
1775
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1rem" }, children: [
|
|
1776
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontWeight: 600 }, children: title }),
|
|
1777
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { fontSize: "0.875rem", color: "var(--color-muted-foreground)" }, children: description })
|
|
1778
|
+
] }),
|
|
1779
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card", style: { marginBottom: "1rem" }, children: [
|
|
1780
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card-header", children: [
|
|
1781
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h5", { className: "qt-card-title", children: "Sample Card" }),
|
|
1782
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "qt-card-description", children: "This is how cards look in this theme." })
|
|
1693
1783
|
] }),
|
|
1694
|
-
/* @__PURE__ */ (0,
|
|
1695
|
-
/* @__PURE__ */ (0,
|
|
1696
|
-
/* @__PURE__ */ (0,
|
|
1697
|
-
/* @__PURE__ */ (0,
|
|
1698
|
-
/* @__PURE__ */ (0,
|
|
1699
|
-
/* @__PURE__ */ (0,
|
|
1784
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card-body", children: [
|
|
1785
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { marginBottom: "1rem" }, children: "Cards are used throughout the application for grouping content." }),
|
|
1786
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "0.5rem", flexWrap: "wrap" }, children: [
|
|
1787
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-primary", children: "Primary" }),
|
|
1788
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-secondary", children: "Secondary" }),
|
|
1789
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-success", children: "Success" })
|
|
1700
1790
|
] })
|
|
1701
1791
|
] }),
|
|
1702
|
-
/* @__PURE__ */ (0,
|
|
1703
|
-
/* @__PURE__ */ (0,
|
|
1704
|
-
/* @__PURE__ */ (0,
|
|
1792
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-card-footer", children: [
|
|
1793
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-ghost", children: "Cancel" }),
|
|
1794
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary", children: "Save" })
|
|
1705
1795
|
] })
|
|
1706
1796
|
] }),
|
|
1707
|
-
/* @__PURE__ */ (0,
|
|
1708
|
-
/* @__PURE__ */ (0,
|
|
1709
|
-
/* @__PURE__ */ (0,
|
|
1710
|
-
/* @__PURE__ */ (0,
|
|
1797
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "qt-panel", style: { padding: "1rem", marginBottom: "1rem" }, children: [
|
|
1798
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "0.75rem" }, children: [
|
|
1799
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Text Input" }),
|
|
1800
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("input", { className: "qt-input", type: "text", placeholder: "Enter text..." })
|
|
1711
1801
|
] }),
|
|
1712
|
-
/* @__PURE__ */ (0,
|
|
1713
|
-
/* @__PURE__ */ (0,
|
|
1714
|
-
/* @__PURE__ */ (0,
|
|
1715
|
-
/* @__PURE__ */ (0,
|
|
1716
|
-
/* @__PURE__ */ (0,
|
|
1802
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "0.75rem" }, children: [
|
|
1803
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("label", { style: { display: "block", marginBottom: "0.25rem", fontSize: "0.875rem", fontWeight: 500 }, children: "Select" }),
|
|
1804
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("select", { className: "qt-input qt-select", children: [
|
|
1805
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 1" }),
|
|
1806
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 2" })
|
|
1717
1807
|
] })
|
|
1718
1808
|
] }),
|
|
1719
|
-
/* @__PURE__ */ (0,
|
|
1720
|
-
/* @__PURE__ */ (0,
|
|
1721
|
-
/* @__PURE__ */ (0,
|
|
1809
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1810
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-secondary qt-button-sm", children: "Secondary" }),
|
|
1811
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary qt-button-sm", children: "Primary" })
|
|
1722
1812
|
] })
|
|
1723
1813
|
] }),
|
|
1724
|
-
/* @__PURE__ */ (0,
|
|
1725
|
-
/* @__PURE__ */ (0,
|
|
1726
|
-
/* @__PURE__ */ (0,
|
|
1727
|
-
/* @__PURE__ */ (0,
|
|
1814
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
1815
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "0.5rem" }, children: [
|
|
1816
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar-fallback", children: "AI" }) }),
|
|
1817
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-chat-message qt-chat-message-assistant", style: { maxWidth: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { fontSize: "0.875rem" }, children: "Hello! This is a chat message." }) })
|
|
1728
1818
|
] }),
|
|
1729
|
-
/* @__PURE__ */ (0,
|
|
1819
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-chat-message qt-chat-message-user", style: { maxWidth: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { fontSize: "0.875rem" }, children: "Great, thanks!" }) }) })
|
|
1730
1820
|
] })
|
|
1731
1821
|
] });
|
|
1732
1822
|
};
|
|
1733
1823
|
var ThemeComparison = () => {
|
|
1734
|
-
return /* @__PURE__ */ (0,
|
|
1735
|
-
/* @__PURE__ */ (0,
|
|
1736
|
-
/* @__PURE__ */ (0,
|
|
1737
|
-
/* @__PURE__ */ (0,
|
|
1738
|
-
/* @__PURE__ */ (0,
|
|
1739
|
-
/* @__PURE__ */ (0,
|
|
1824
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1825
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "0.5rem" }, children: "Theme Comparison" }),
|
|
1826
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1.5rem" }, children: "Compare your custom theme against the default Quilltap theme. Use the theme toggle above to switch between themes." }),
|
|
1827
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1828
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Current Theme Preview" }),
|
|
1829
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1740
1830
|
ThemePanel,
|
|
1741
1831
|
{
|
|
1742
1832
|
title: "Active Theme",
|
|
@@ -1744,9 +1834,9 @@ var ThemeComparison = () => {
|
|
|
1744
1834
|
}
|
|
1745
1835
|
)
|
|
1746
1836
|
] }),
|
|
1747
|
-
/* @__PURE__ */ (0,
|
|
1748
|
-
/* @__PURE__ */ (0,
|
|
1749
|
-
/* @__PURE__ */ (0,
|
|
1837
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1838
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Key Theme Colors" }),
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gap: "0.75rem" }, children: [
|
|
1750
1840
|
{ name: "Background", var: "--color-background" },
|
|
1751
1841
|
{ name: "Foreground", var: "--color-foreground" },
|
|
1752
1842
|
{ name: "Card", var: "--color-card" },
|
|
@@ -1755,8 +1845,8 @@ var ThemeComparison = () => {
|
|
|
1755
1845
|
{ name: "Muted", var: "--color-muted" },
|
|
1756
1846
|
{ name: "Accent", var: "--color-accent" },
|
|
1757
1847
|
{ name: "Border", var: "--color-border" }
|
|
1758
|
-
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0,
|
|
1759
|
-
/* @__PURE__ */ (0,
|
|
1848
|
+
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
1849
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1760
1850
|
"div",
|
|
1761
1851
|
{
|
|
1762
1852
|
style: {
|
|
@@ -1768,17 +1858,17 @@ var ThemeComparison = () => {
|
|
|
1768
1858
|
}
|
|
1769
1859
|
}
|
|
1770
1860
|
),
|
|
1771
|
-
/* @__PURE__ */ (0,
|
|
1861
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { marginTop: "0.25rem", fontSize: "0.75rem", fontWeight: 500 }, children: name })
|
|
1772
1862
|
] }, cssVar)) })
|
|
1773
1863
|
] }),
|
|
1774
|
-
/* @__PURE__ */ (0,
|
|
1775
|
-
/* @__PURE__ */ (0,
|
|
1776
|
-
/* @__PURE__ */ (0,
|
|
1864
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1865
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Semantic Colors" }),
|
|
1866
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { display: "grid", gridTemplateColumns: "repeat(auto-fill, minmax(8rem, 1fr))", gap: "0.75rem" }, children: [
|
|
1777
1867
|
{ name: "Destructive", var: "--color-destructive" },
|
|
1778
1868
|
{ name: "Success", var: "--color-success" },
|
|
1779
1869
|
{ name: "Warning", var: "--color-warning" }
|
|
1780
|
-
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0,
|
|
1781
|
-
/* @__PURE__ */ (0,
|
|
1870
|
+
].map(({ name, var: cssVar }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
1871
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1782
1872
|
"div",
|
|
1783
1873
|
{
|
|
1784
1874
|
style: {
|
|
@@ -1790,50 +1880,50 @@ var ThemeComparison = () => {
|
|
|
1790
1880
|
}
|
|
1791
1881
|
}
|
|
1792
1882
|
),
|
|
1793
|
-
/* @__PURE__ */ (0,
|
|
1883
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: { marginTop: "0.25rem", fontSize: "0.75rem", fontWeight: 500 }, children: name })
|
|
1794
1884
|
] }, cssVar)) })
|
|
1795
1885
|
] }),
|
|
1796
|
-
/* @__PURE__ */ (0,
|
|
1797
|
-
/* @__PURE__ */ (0,
|
|
1798
|
-
/* @__PURE__ */ (0,
|
|
1799
|
-
/* @__PURE__ */ (0,
|
|
1800
|
-
/* @__PURE__ */ (0,
|
|
1801
|
-
/* @__PURE__ */ (0,
|
|
1802
|
-
/* @__PURE__ */ (0,
|
|
1803
|
-
/* @__PURE__ */ (0,
|
|
1804
|
-
/* @__PURE__ */ (0,
|
|
1805
|
-
/* @__PURE__ */ (0,
|
|
1886
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { children: [
|
|
1887
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Component Showcase" }),
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
1889
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Buttons" }),
|
|
1890
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
|
|
1891
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary", children: "Primary" }),
|
|
1892
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-secondary", children: "Secondary" }),
|
|
1893
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-ghost", children: "Ghost" }),
|
|
1894
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-destructive", children: "Destructive" }),
|
|
1895
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("button", { className: "qt-button qt-button-primary", disabled: true, children: "Disabled" })
|
|
1806
1896
|
] })
|
|
1807
1897
|
] }),
|
|
1808
|
-
/* @__PURE__ */ (0,
|
|
1809
|
-
/* @__PURE__ */ (0,
|
|
1810
|
-
/* @__PURE__ */ (0,
|
|
1811
|
-
/* @__PURE__ */ (0,
|
|
1812
|
-
/* @__PURE__ */ (0,
|
|
1813
|
-
/* @__PURE__ */ (0,
|
|
1814
|
-
/* @__PURE__ */ (0,
|
|
1815
|
-
/* @__PURE__ */ (0,
|
|
1816
|
-
/* @__PURE__ */ (0,
|
|
1898
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
1899
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Badges" }),
|
|
1900
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", flexWrap: "wrap", gap: "0.5rem" }, children: [
|
|
1901
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-default", children: "Default" }),
|
|
1902
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-primary", children: "Primary" }),
|
|
1903
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-secondary", children: "Secondary" }),
|
|
1904
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-success", children: "Success" }),
|
|
1905
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-warning", children: "Warning" }),
|
|
1906
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "qt-badge qt-badge-destructive", children: "Destructive" })
|
|
1817
1907
|
] })
|
|
1818
1908
|
] }),
|
|
1819
|
-
/* @__PURE__ */ (0,
|
|
1820
|
-
/* @__PURE__ */ (0,
|
|
1821
|
-
/* @__PURE__ */ (0,
|
|
1822
|
-
/* @__PURE__ */ (0,
|
|
1823
|
-
/* @__PURE__ */ (0,
|
|
1824
|
-
/* @__PURE__ */ (0,
|
|
1825
|
-
/* @__PURE__ */ (0,
|
|
1909
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { marginBottom: "1.5rem" }, children: [
|
|
1910
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Interactive Card" }),
|
|
1911
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-card qt-card-interactive", style: { maxWidth: "20rem", cursor: "pointer" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-card-header", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
1912
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "qt-avatar-fallback", children: "A" }) }),
|
|
1913
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { children: [
|
|
1914
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h5", { className: "qt-card-title", children: "Character Name" }),
|
|
1915
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "qt-card-description", children: "Click to interact" })
|
|
1826
1916
|
] })
|
|
1827
1917
|
] }) }) })
|
|
1828
1918
|
] }),
|
|
1829
|
-
/* @__PURE__ */ (0,
|
|
1830
|
-
/* @__PURE__ */ (0,
|
|
1831
|
-
/* @__PURE__ */ (0,
|
|
1832
|
-
/* @__PURE__ */ (0,
|
|
1833
|
-
/* @__PURE__ */ (0,
|
|
1834
|
-
/* @__PURE__ */ (0,
|
|
1835
|
-
/* @__PURE__ */ (0,
|
|
1836
|
-
/* @__PURE__ */ (0,
|
|
1919
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { children: [
|
|
1920
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { style: { fontSize: "0.875rem", fontWeight: 600, marginBottom: "0.75rem", color: "var(--color-muted-foreground)" }, children: "Form Elements" }),
|
|
1921
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { style: { display: "flex", gap: "1rem", flexWrap: "wrap", maxWidth: "32rem" }, children: [
|
|
1922
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("input", { className: "qt-input", type: "text", placeholder: "Text input", style: { flex: "1 1 10rem" } }),
|
|
1923
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("select", { className: "qt-input qt-select", style: { flex: "1 1 10rem" }, children: [
|
|
1924
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Select option" }),
|
|
1925
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 1" }),
|
|
1926
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { children: "Option 2" })
|
|
1837
1927
|
] })
|
|
1838
1928
|
] })
|
|
1839
1929
|
] })
|
|
@@ -1842,125 +1932,125 @@ var ThemeComparison = () => {
|
|
|
1842
1932
|
};
|
|
1843
1933
|
|
|
1844
1934
|
// src/stories/components/EmptyState.tsx
|
|
1845
|
-
var
|
|
1935
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1846
1936
|
var EmptyState = () => {
|
|
1847
|
-
return /* @__PURE__ */ (0,
|
|
1848
|
-
/* @__PURE__ */ (0,
|
|
1849
|
-
/* @__PURE__ */ (0,
|
|
1850
|
-
/* @__PURE__ */ (0,
|
|
1851
|
-
/* @__PURE__ */ (0,
|
|
1852
|
-
/* @__PURE__ */ (0,
|
|
1853
|
-
/* @__PURE__ */ (0,
|
|
1854
|
-
/* @__PURE__ */ (0,
|
|
1937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1938
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Empty States" }),
|
|
1939
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1940
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Basic Empty State" }),
|
|
1941
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
1942
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4" }) }) }),
|
|
1943
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "No messages yet" }),
|
|
1944
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "Start a conversation to see messages appear here." })
|
|
1855
1945
|
] })
|
|
1856
1946
|
] }),
|
|
1857
|
-
/* @__PURE__ */ (0,
|
|
1858
|
-
/* @__PURE__ */ (0,
|
|
1859
|
-
/* @__PURE__ */ (0,
|
|
1860
|
-
/* @__PURE__ */ (0,
|
|
1861
|
-
/* @__PURE__ */ (0,
|
|
1862
|
-
/* @__PURE__ */ (0,
|
|
1863
|
-
/* @__PURE__ */ (0,
|
|
1947
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1948
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Empty State with Action" }),
|
|
1949
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
1950
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z" }) }) }),
|
|
1951
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "No characters" }),
|
|
1952
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "You haven't created any characters yet. Create your first character to get started." }),
|
|
1953
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { className: "qt-button qt-button-primary", children: "Create Character" }) })
|
|
1864
1954
|
] })
|
|
1865
1955
|
] }),
|
|
1866
|
-
/* @__PURE__ */ (0,
|
|
1867
|
-
/* @__PURE__ */ (0,
|
|
1868
|
-
/* @__PURE__ */ (0,
|
|
1869
|
-
/* @__PURE__ */ (0,
|
|
1870
|
-
/* @__PURE__ */ (0,
|
|
1871
|
-
/* @__PURE__ */ (0,
|
|
1872
|
-
/* @__PURE__ */ (0,
|
|
1956
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1957
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Search Empty State" }),
|
|
1958
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
1959
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" }) }) }),
|
|
1960
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "No results found" }),
|
|
1961
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "Try adjusting your search or filters to find what you're looking for." }),
|
|
1962
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { className: "qt-button qt-button-secondary", children: "Clear Filters" }) })
|
|
1873
1963
|
] })
|
|
1874
1964
|
] }),
|
|
1875
|
-
/* @__PURE__ */ (0,
|
|
1876
|
-
/* @__PURE__ */ (0,
|
|
1877
|
-
/* @__PURE__ */ (0,
|
|
1878
|
-
/* @__PURE__ */ (0,
|
|
1879
|
-
/* @__PURE__ */ (0,
|
|
1880
|
-
/* @__PURE__ */ (0,
|
|
1881
|
-
/* @__PURE__ */ (0,
|
|
1965
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { children: [
|
|
1966
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Error Empty State" }),
|
|
1967
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "qt-empty-state", children: [
|
|
1968
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-icon text-red-500", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" }) }) }),
|
|
1969
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "qt-empty-state-title", children: "Something went wrong" }),
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "qt-empty-state-description", children: "We couldn't load the content. Please try again." }),
|
|
1971
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "qt-empty-state-action", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { className: "qt-button qt-button-primary", children: "Try Again" }) })
|
|
1882
1972
|
] })
|
|
1883
1973
|
] })
|
|
1884
1974
|
] });
|
|
1885
1975
|
};
|
|
1886
1976
|
|
|
1887
1977
|
// src/stories/components/Loading.tsx
|
|
1888
|
-
var
|
|
1978
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1889
1979
|
var Loading = () => {
|
|
1890
|
-
return /* @__PURE__ */ (0,
|
|
1891
|
-
/* @__PURE__ */ (0,
|
|
1892
|
-
/* @__PURE__ */ (0,
|
|
1893
|
-
/* @__PURE__ */ (0,
|
|
1894
|
-
/* @__PURE__ */ (0,
|
|
1895
|
-
/* @__PURE__ */ (0,
|
|
1896
|
-
/* @__PURE__ */ (0,
|
|
1897
|
-
/* @__PURE__ */ (0,
|
|
1898
|
-
] }),
|
|
1899
|
-
/* @__PURE__ */ (0,
|
|
1900
|
-
/* @__PURE__ */ (0,
|
|
1901
|
-
/* @__PURE__ */ (0,
|
|
1902
|
-
] }),
|
|
1903
|
-
/* @__PURE__ */ (0,
|
|
1904
|
-
/* @__PURE__ */ (0,
|
|
1905
|
-
/* @__PURE__ */ (0,
|
|
1980
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
1981
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Loading States" }),
|
|
1982
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
1983
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Spinners" }),
|
|
1984
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "2rem", alignItems: "center" }, children: [
|
|
1985
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
1986
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-sm", style: { margin: "0 auto" } }),
|
|
1987
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Small" })
|
|
1988
|
+
] }),
|
|
1989
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
1990
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner", style: { margin: "0 auto" } }),
|
|
1991
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Default" })
|
|
1992
|
+
] }),
|
|
1993
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { textAlign: "center" }, children: [
|
|
1994
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-lg", style: { margin: "0 auto" } }),
|
|
1995
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { style: { fontSize: "0.75rem", marginTop: "0.5rem" }, children: "Large" })
|
|
1906
1996
|
] })
|
|
1907
1997
|
] })
|
|
1908
1998
|
] }),
|
|
1909
|
-
/* @__PURE__ */ (0,
|
|
1910
|
-
/* @__PURE__ */ (0,
|
|
1911
|
-
/* @__PURE__ */ (0,
|
|
1912
|
-
/* @__PURE__ */ (0,
|
|
1913
|
-
/* @__PURE__ */ (0,
|
|
1914
|
-
/* @__PURE__ */ (0,
|
|
1999
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2000
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Text" }),
|
|
2001
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { maxWidth: "28rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2002
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "100%" } }),
|
|
2003
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "80%" } }),
|
|
2004
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } })
|
|
1915
2005
|
] })
|
|
1916
2006
|
] }),
|
|
1917
|
-
/* @__PURE__ */ (0,
|
|
1918
|
-
/* @__PURE__ */ (0,
|
|
1919
|
-
/* @__PURE__ */ (0,
|
|
1920
|
-
/* @__PURE__ */ (0,
|
|
1921
|
-
/* @__PURE__ */ (0,
|
|
1922
|
-
/* @__PURE__ */ (0,
|
|
1923
|
-
/* @__PURE__ */ (0,
|
|
1924
|
-
/* @__PURE__ */ (0,
|
|
2007
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2008
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Card" }),
|
|
2009
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card", style: { maxWidth: "24rem", padding: "1rem" }, children: [
|
|
2010
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "0.75rem", marginBottom: "1rem", alignItems: "flex-start" }, children: [
|
|
2011
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "40px", height: "40px", flexShrink: 0 } }),
|
|
2012
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2013
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } }),
|
|
2014
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "40%" } })
|
|
1925
2015
|
] })
|
|
1926
2016
|
] }),
|
|
1927
|
-
/* @__PURE__ */ (0,
|
|
1928
|
-
/* @__PURE__ */ (0,
|
|
1929
|
-
/* @__PURE__ */ (0,
|
|
1930
|
-
/* @__PURE__ */ (0,
|
|
2017
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2018
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2019
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2020
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "75%" } })
|
|
1931
2021
|
] })
|
|
1932
2022
|
] })
|
|
1933
2023
|
] }),
|
|
1934
|
-
/* @__PURE__ */ (0,
|
|
1935
|
-
/* @__PURE__ */ (0,
|
|
1936
|
-
/* @__PURE__ */ (0,
|
|
1937
|
-
/* @__PURE__ */ (0,
|
|
1938
|
-
/* @__PURE__ */ (0,
|
|
1939
|
-
/* @__PURE__ */ (0,
|
|
1940
|
-
/* @__PURE__ */ (0,
|
|
1941
|
-
/* @__PURE__ */ (0,
|
|
1942
|
-
/* @__PURE__ */ (0,
|
|
1943
|
-
/* @__PURE__ */ (0,
|
|
2024
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2025
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton Message" }),
|
|
2026
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { maxWidth: "42rem", display: "flex", flexDirection: "column", gap: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "0.75rem" }, children: [
|
|
2027
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "32px", height: "32px", flexShrink: 0 } }),
|
|
2028
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2029
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "120px" } }),
|
|
2030
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-card", style: { padding: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2031
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2032
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text" }),
|
|
2033
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "60%" } })
|
|
1944
2034
|
] }) })
|
|
1945
2035
|
] })
|
|
1946
2036
|
] }) })
|
|
1947
2037
|
] }),
|
|
1948
|
-
/* @__PURE__ */ (0,
|
|
1949
|
-
/* @__PURE__ */ (0,
|
|
1950
|
-
/* @__PURE__ */ (0,
|
|
1951
|
-
/* @__PURE__ */ (0,
|
|
1952
|
-
/* @__PURE__ */ (0,
|
|
2038
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2039
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Skeleton List" }),
|
|
2040
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { maxWidth: "24rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [1, 2, 3].map((i) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "qt-card", style: { padding: "0.75rem", display: "flex", gap: "0.75rem", alignItems: "center" }, children: [
|
|
2041
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-circle", style: { width: "32px", height: "32px", flexShrink: 0 } }),
|
|
2042
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { flex: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-skeleton qt-skeleton-text", style: { width: "70%" } }) })
|
|
1953
2043
|
] }, i)) })
|
|
1954
2044
|
] }),
|
|
1955
|
-
/* @__PURE__ */ (0,
|
|
1956
|
-
/* @__PURE__ */ (0,
|
|
1957
|
-
/* @__PURE__ */ (0,
|
|
1958
|
-
/* @__PURE__ */ (0,
|
|
1959
|
-
/* @__PURE__ */ (0,
|
|
2045
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { children: [
|
|
2046
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Loading Button" }),
|
|
2047
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { style: { display: "flex", gap: "1rem" }, children: [
|
|
2048
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("button", { className: "qt-button qt-button-primary", disabled: true, style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2049
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-sm" }),
|
|
1960
2050
|
"Loading..."
|
|
1961
2051
|
] }),
|
|
1962
|
-
/* @__PURE__ */ (0,
|
|
1963
|
-
/* @__PURE__ */ (0,
|
|
2052
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("button", { className: "qt-button qt-button-secondary", disabled: true, style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2053
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "qt-spinner qt-spinner-sm" }),
|
|
1964
2054
|
"Saving..."
|
|
1965
2055
|
] })
|
|
1966
2056
|
] })
|
|
@@ -1969,130 +2059,130 @@ var Loading = () => {
|
|
|
1969
2059
|
};
|
|
1970
2060
|
|
|
1971
2061
|
// src/stories/components/Participant.tsx
|
|
1972
|
-
var
|
|
2062
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1973
2063
|
var Participant = () => {
|
|
1974
|
-
return /* @__PURE__ */ (0,
|
|
1975
|
-
/* @__PURE__ */ (0,
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
1977
|
-
/* @__PURE__ */ (0,
|
|
1978
|
-
/* @__PURE__ */ (0,
|
|
1979
|
-
/* @__PURE__ */ (0,
|
|
1980
|
-
/* @__PURE__ */ (0,
|
|
1981
|
-
/* @__PURE__ */ (0,
|
|
1982
|
-
/* @__PURE__ */ (0,
|
|
1983
|
-
/* @__PURE__ */ (0,
|
|
2064
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { padding: "1.5rem" }, children: [
|
|
2065
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h2", { style: { fontSize: "1.5rem", fontWeight: 700, marginBottom: "1.5rem" }, children: "Participants" }),
|
|
2066
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2067
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Participant Cards" }),
|
|
2068
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2070
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2071
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2073
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "AI Assistant" })
|
|
1984
2074
|
] })
|
|
1985
2075
|
] }) }),
|
|
1986
|
-
/* @__PURE__ */ (0,
|
|
1987
|
-
/* @__PURE__ */ (0,
|
|
1988
|
-
/* @__PURE__ */ (0,
|
|
1989
|
-
/* @__PURE__ */ (0,
|
|
1990
|
-
/* @__PURE__ */ (0,
|
|
2076
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2077
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }) }),
|
|
2078
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2079
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2080
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Currently Speaking" })
|
|
1991
2081
|
] })
|
|
1992
2082
|
] }) }),
|
|
1993
|
-
/* @__PURE__ */ (0,
|
|
1994
|
-
/* @__PURE__ */ (0,
|
|
1995
|
-
/* @__PURE__ */ (0,
|
|
1996
|
-
/* @__PURE__ */ (0,
|
|
1997
|
-
/* @__PURE__ */ (0,
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2084
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2086
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "You" }),
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Human" })
|
|
1998
2088
|
] })
|
|
1999
2089
|
] }) })
|
|
2000
2090
|
] })
|
|
2001
2091
|
] }),
|
|
2002
|
-
/* @__PURE__ */ (0,
|
|
2003
|
-
/* @__PURE__ */ (0,
|
|
2004
|
-
/* @__PURE__ */ (0,
|
|
2005
|
-
/* @__PURE__ */ (0,
|
|
2006
|
-
/* @__PURE__ */ (0,
|
|
2007
|
-
/* @__PURE__ */ (0,
|
|
2008
|
-
/* @__PURE__ */ (0,
|
|
2009
|
-
/* @__PURE__ */ (0,
|
|
2010
|
-
/* @__PURE__ */ (0,
|
|
2092
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2093
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Participant Status States" }),
|
|
2094
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { style: { color: "var(--color-muted-foreground)", marginBottom: "1rem" }, children: "Characters can be active, silent (thinking but not speaking), absent (away from the scene), or removed." }),
|
|
2095
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2097
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2098
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2099
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2100
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Currently Speaking" })
|
|
2011
2101
|
] })
|
|
2012
2102
|
] }) }),
|
|
2013
|
-
/* @__PURE__ */ (0,
|
|
2014
|
-
/* @__PURE__ */ (0,
|
|
2015
|
-
/* @__PURE__ */ (0,
|
|
2016
|
-
/* @__PURE__ */ (0,
|
|
2103
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-silent", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2104
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-avatar", style: { position: "relative" }, children: [
|
|
2105
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }),
|
|
2106
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-status-overlay qt-participant-status-overlay-silent", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { width: "10", height: "10", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M16.5 12A4.5 4.5 0 0 0 12 7.5v4.09l3.13 3.13A4.46 4.46 0 0 0 16.5 12ZM19 12c0 1.68-.59 3.22-1.57 4.43L21 20l-1.41 1.41-18-18L3 2l4.57 4.57A7.97 7.97 0 0 1 12 4c4.42 0 8 3.58 8 8Zm-7-8a6 6 0 0 0-6 6c0 1.33.44 2.56 1.17 3.56L5 11.44A7.94 7.94 0 0 1 4 8" }) }) })
|
|
2017
2107
|
] }),
|
|
2018
|
-
/* @__PURE__ */ (0,
|
|
2019
|
-
/* @__PURE__ */ (0,
|
|
2020
|
-
/* @__PURE__ */ (0,
|
|
2021
|
-
/* @__PURE__ */ (0,
|
|
2108
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2109
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2110
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2111
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "qt-badge-silent", style: { fontSize: "0.625rem" }, children: "Silent" })
|
|
2022
2112
|
] }),
|
|
2023
|
-
/* @__PURE__ */ (0,
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Inner thoughts only" })
|
|
2024
2114
|
] })
|
|
2025
2115
|
] }) }),
|
|
2026
|
-
/* @__PURE__ */ (0,
|
|
2027
|
-
/* @__PURE__ */ (0,
|
|
2028
|
-
/* @__PURE__ */ (0,
|
|
2029
|
-
/* @__PURE__ */ (0,
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", style: { opacity: 0.7 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-avatar", style: { position: "relative" }, children: [
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "CC" }) }),
|
|
2119
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-status-overlay qt-participant-status-overlay-absent", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("svg", { width: "10", height: "10", fill: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) }) })
|
|
2030
2120
|
] }),
|
|
2031
|
-
/* @__PURE__ */ (0,
|
|
2032
|
-
/* @__PURE__ */ (0,
|
|
2033
|
-
/* @__PURE__ */ (0,
|
|
2034
|
-
/* @__PURE__ */ (0,
|
|
2121
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2122
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2123
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Clara Character" }),
|
|
2124
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "qt-badge-absent", style: { fontSize: "0.625rem" }, children: "Absent" })
|
|
2035
2125
|
] }),
|
|
2036
|
-
/* @__PURE__ */ (0,
|
|
2126
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Away from the scene" })
|
|
2037
2127
|
] })
|
|
2038
2128
|
] }) }),
|
|
2039
|
-
/* @__PURE__ */ (0,
|
|
2040
|
-
/* @__PURE__ */ (0,
|
|
2041
|
-
/* @__PURE__ */ (0,
|
|
2042
|
-
/* @__PURE__ */ (0,
|
|
2043
|
-
/* @__PURE__ */ (0,
|
|
2129
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2130
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2131
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2132
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "You" }),
|
|
2133
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "Human" })
|
|
2044
2134
|
] })
|
|
2045
2135
|
] }) })
|
|
2046
2136
|
] })
|
|
2047
2137
|
] }),
|
|
2048
|
-
/* @__PURE__ */ (0,
|
|
2049
|
-
/* @__PURE__ */ (0,
|
|
2050
|
-
/* @__PURE__ */ (0,
|
|
2051
|
-
/* @__PURE__ */ (0,
|
|
2052
|
-
/* @__PURE__ */ (0,
|
|
2053
|
-
/* @__PURE__ */ (0,
|
|
2054
|
-
/* @__PURE__ */ (0,
|
|
2055
|
-
/* @__PURE__ */ (0,
|
|
2056
|
-
/* @__PURE__ */ (0,
|
|
2057
|
-
/* @__PURE__ */ (0,
|
|
2138
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { style: { marginBottom: "2rem" }, children: [
|
|
2139
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Chat Sidebar Layout" }),
|
|
2140
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", gap: "1rem" }, children: [
|
|
2141
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-card", style: { flex: 1, padding: "1rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { style: { color: "var(--color-text-muted)" }, children: "Chat messages area" }) }),
|
|
2142
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-chat-sidebar", style: { width: "16rem" }, children: [
|
|
2143
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: { padding: "1rem", borderBottom: "1px solid var(--qt-chat-sidebar-header-border)" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h4", { style: { fontWeight: 600, color: "var(--qt-chat-sidebar-heading)" }, children: "Participants" }) }),
|
|
2144
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { padding: "0.5rem", display: "flex", flexDirection: "column", gap: "0.5rem" }, children: [
|
|
2145
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card qt-participant-card-active", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2146
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-info", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", style: { fontSize: "0.875rem" }, children: "Alice" }) })
|
|
2058
2148
|
] }) }),
|
|
2059
|
-
/* @__PURE__ */ (0,
|
|
2060
|
-
/* @__PURE__ */ (0,
|
|
2061
|
-
/* @__PURE__ */ (0,
|
|
2149
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2150
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar qt-avatar-sm", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "YO" }) }) }),
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-info", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", style: { fontSize: "0.875rem" }, children: "You" }) })
|
|
2062
2152
|
] }) })
|
|
2063
2153
|
] })
|
|
2064
2154
|
] })
|
|
2065
2155
|
] })
|
|
2066
2156
|
] }),
|
|
2067
|
-
/* @__PURE__ */ (0,
|
|
2068
|
-
/* @__PURE__ */ (0,
|
|
2069
|
-
/* @__PURE__ */ (0,
|
|
2070
|
-
/* @__PURE__ */ (0,
|
|
2071
|
-
/* @__PURE__ */ (0,
|
|
2072
|
-
/* @__PURE__ */ (0,
|
|
2073
|
-
/* @__PURE__ */ (0,
|
|
2074
|
-
/* @__PURE__ */ (0,
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2076
|
-
/* @__PURE__ */ (0,
|
|
2077
|
-
/* @__PURE__ */ (0,
|
|
2078
|
-
/* @__PURE__ */ (0,
|
|
2079
|
-
/* @__PURE__ */ (0,
|
|
2080
|
-
/* @__PURE__ */ (0,
|
|
2157
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("section", { children: [
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h3", { style: { fontSize: "1.125rem", fontWeight: 700, marginBottom: "1rem", borderBottom: "1px solid var(--color-border)", paddingBottom: "0.5rem" }, children: "Connection Profile Dropdown" }),
|
|
2159
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { maxWidth: "20rem", display: "flex", flexDirection: "column", gap: "1rem" }, children: [
|
|
2160
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2161
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "AC" }) }) }),
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2163
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Alice Character" }),
|
|
2164
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-status", children: "AI Assistant" }),
|
|
2165
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: { marginTop: "0.25rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("select", { className: "qt-select qt-select-sm", style: { width: "100%" }, defaultValue: "gpt-4", children: [
|
|
2166
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "", children: "Select a provider..." }),
|
|
2167
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "__user__", children: "User (you type)" }),
|
|
2168
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "gpt-4", children: "gpt-4-turbo" }),
|
|
2169
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "claude", children: "claude-3-opus" }),
|
|
2170
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "gemini", children: "gemini-pro" })
|
|
2081
2171
|
] }) })
|
|
2082
2172
|
] })
|
|
2083
2173
|
] }) }),
|
|
2084
|
-
/* @__PURE__ */ (0,
|
|
2085
|
-
/* @__PURE__ */ (0,
|
|
2086
|
-
/* @__PURE__ */ (0,
|
|
2087
|
-
/* @__PURE__ */ (0,
|
|
2088
|
-
/* @__PURE__ */ (0,
|
|
2089
|
-
/* @__PURE__ */ (0,
|
|
2174
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-header", children: [
|
|
2175
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-avatar-fallback", children: "BC" }) }) }),
|
|
2176
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "qt-participant-card-info", children: [
|
|
2177
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem" }, children: [
|
|
2178
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "qt-participant-card-name", children: "Bob Character" }),
|
|
2179
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "qt-badge-secondary", style: { fontSize: "0.75rem" }, children: "You" })
|
|
2090
2180
|
] }),
|
|
2091
|
-
/* @__PURE__ */ (0,
|
|
2092
|
-
/* @__PURE__ */ (0,
|
|
2093
|
-
/* @__PURE__ */ (0,
|
|
2094
|
-
/* @__PURE__ */ (0,
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: { marginTop: "0.25rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("select", { className: "qt-select qt-select-sm", style: { width: "100%" }, defaultValue: "__user__", children: [
|
|
2182
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "", children: "Select a provider..." }),
|
|
2183
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "__user__", children: "User (you type)" }),
|
|
2184
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "gpt-4", children: "gpt-4-turbo" }),
|
|
2185
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("option", { value: "claude", children: "claude-3-opus" })
|
|
2096
2186
|
] }) })
|
|
2097
2187
|
] })
|
|
2098
2188
|
] }) })
|
|
@@ -2118,6 +2208,7 @@ var Participant = () => {
|
|
|
2118
2208
|
Participant,
|
|
2119
2209
|
Spacing,
|
|
2120
2210
|
Tabs,
|
|
2211
|
+
Terminal,
|
|
2121
2212
|
ThemeComparison,
|
|
2122
2213
|
ThemeDecorator,
|
|
2123
2214
|
Typography,
|