@vantageos/mosaic-blocks 0.5.29-alpha → 0.5.31-alpha
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/README.md +3 -3
- package/dist/index.cjs +1244 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1220 -18
- package/dist/index.d.ts +1220 -18
- package/dist/index.js +1209 -123
- package/dist/index.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +4 -1
- package/registry.json +149 -0
package/dist/styles.css
CHANGED
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
--color-border: var(--border);
|
|
21
21
|
--color-input: var(--input);
|
|
22
22
|
--color-ring: var(--ring);
|
|
23
|
+
--color-sidebar: var(--sidebar);
|
|
24
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
25
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
26
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
23
27
|
}
|
|
24
28
|
|
|
25
29
|
:root {
|
|
@@ -42,6 +46,10 @@
|
|
|
42
46
|
--border: oklch(0.922 0 0);
|
|
43
47
|
--input: oklch(0.922 0 0);
|
|
44
48
|
--ring: oklch(0.708 0 0);
|
|
49
|
+
--sidebar: oklch(1 0 0);
|
|
50
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
51
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
52
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
[data-theme="dark"] {
|
|
@@ -64,6 +72,10 @@
|
|
|
64
72
|
--border: oklch(1 0 0 / 10%);
|
|
65
73
|
--input: oklch(1 0 0 / 15%);
|
|
66
74
|
--ring: oklch(0.556 0 0);
|
|
75
|
+
--sidebar: oklch(0.205 0 0);
|
|
76
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
77
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
78
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
67
79
|
}
|
|
68
80
|
|
|
69
81
|
/* ── MosaicLogosGrid stagger animation ────────────────────────────────────── */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vantageos/mosaic-blocks",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.31-alpha",
|
|
4
4
|
"description": "VantageOS React composed blocks — Next.js 16 + React 19 + Tailwind v4 + @base-ui/react. Published alpha.",
|
|
5
5
|
"license": "FSL-1.1-Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
58
58
|
"lint": "biome check .",
|
|
59
59
|
"test": "vitest run",
|
|
60
|
+
"test:browser": "playwright test",
|
|
60
61
|
"sandbox:build": "cd sandbox && pnpm build",
|
|
61
62
|
"prebuild": "rimraf dist",
|
|
62
63
|
"sync-versions": "node scripts/sync-versions.mjs",
|
|
@@ -92,6 +93,7 @@
|
|
|
92
93
|
},
|
|
93
94
|
"devDependencies": {
|
|
94
95
|
"@biomejs/biome": "^1.9.4",
|
|
96
|
+
"@playwright/test": "^1.61.1",
|
|
95
97
|
"@storybook/addon-a11y": "^10.4.6",
|
|
96
98
|
"@storybook/react": "^10.4.6",
|
|
97
99
|
"@storybook/react-vite": "^10.4.6",
|
|
@@ -101,6 +103,7 @@
|
|
|
101
103
|
"@types/react": "^19",
|
|
102
104
|
"@types/react-dom": "^19",
|
|
103
105
|
"@vitejs/plugin-react": "^4.5.2",
|
|
106
|
+
"http-server": "^14.1.1",
|
|
104
107
|
"jsdom": "^26.1.0",
|
|
105
108
|
"react": "^19",
|
|
106
109
|
"react-dom": "^19",
|
package/registry.json
CHANGED
|
@@ -766,6 +766,23 @@
|
|
|
766
766
|
}
|
|
767
767
|
]
|
|
768
768
|
},
|
|
769
|
+
{
|
|
770
|
+
"name": "mosaic-edit-session-dialog",
|
|
771
|
+
"type": "registry:ui",
|
|
772
|
+
"title": "MosaicEditSessionDialog",
|
|
773
|
+
"description": "MosaicEditSessionDialog — presentational \"rename / reclassify a work-in-progress session\" form modal",
|
|
774
|
+
"dependencies": [],
|
|
775
|
+
"files": [
|
|
776
|
+
{
|
|
777
|
+
"path": "src/components/edit-session-dialog/MosaicEditSessionDialog.tsx",
|
|
778
|
+
"type": "registry:ui"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"path": "src/components/edit-session-dialog/edit-session-dialog-variants.ts",
|
|
782
|
+
"type": "registry:ui"
|
|
783
|
+
}
|
|
784
|
+
]
|
|
785
|
+
},
|
|
769
786
|
{
|
|
770
787
|
"name": "mosaic-empty-state",
|
|
771
788
|
"type": "registry:ui",
|
|
@@ -1113,6 +1130,23 @@
|
|
|
1113
1130
|
}
|
|
1114
1131
|
]
|
|
1115
1132
|
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "mosaic-mention-input",
|
|
1135
|
+
"type": "registry:ui",
|
|
1136
|
+
"title": "MosaicMentionInput",
|
|
1137
|
+
"description": "MosaicMentionInput — text input that opens an anchored, host-owned list of mentionable entries when the host-chosen trigger character is typed.",
|
|
1138
|
+
"dependencies": [],
|
|
1139
|
+
"files": [
|
|
1140
|
+
{
|
|
1141
|
+
"path": "src/components/mention-input/MosaicMentionInput.tsx",
|
|
1142
|
+
"type": "registry:ui"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"path": "src/components/mention-input/mention-input-variants.ts",
|
|
1146
|
+
"type": "registry:ui"
|
|
1147
|
+
}
|
|
1148
|
+
]
|
|
1149
|
+
},
|
|
1116
1150
|
{
|
|
1117
1151
|
"name": "mosaic-message-card",
|
|
1118
1152
|
"type": "registry:ui",
|
|
@@ -1147,6 +1181,19 @@
|
|
|
1147
1181
|
}
|
|
1148
1182
|
]
|
|
1149
1183
|
},
|
|
1184
|
+
{
|
|
1185
|
+
"name": "mosaic-message-search",
|
|
1186
|
+
"type": "registry:ui",
|
|
1187
|
+
"title": "MosaicMessageSearch",
|
|
1188
|
+
"description": "MosaicMessageSearch — search bar over the messages of a single, already-open conversation: a query input and a clear action, with the matching results rendered entirely by the host.",
|
|
1189
|
+
"dependencies": [],
|
|
1190
|
+
"files": [
|
|
1191
|
+
{
|
|
1192
|
+
"path": "src/components/message-search/MosaicMessageSearch.tsx",
|
|
1193
|
+
"type": "registry:ui"
|
|
1194
|
+
}
|
|
1195
|
+
]
|
|
1196
|
+
},
|
|
1150
1197
|
{
|
|
1151
1198
|
"name": "mosaic-model-selector",
|
|
1152
1199
|
"type": "registry:ui",
|
|
@@ -1457,6 +1504,23 @@
|
|
|
1457
1504
|
}
|
|
1458
1505
|
]
|
|
1459
1506
|
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "mosaic-reply-input",
|
|
1509
|
+
"type": "registry:ui",
|
|
1510
|
+
"title": "MosaicReplyInput",
|
|
1511
|
+
"description": "MosaicReplyInput — presentational, controlled reply input scoped to one thread",
|
|
1512
|
+
"dependencies": [],
|
|
1513
|
+
"files": [
|
|
1514
|
+
{
|
|
1515
|
+
"path": "src/components/reply-input/MosaicReplyInput.tsx",
|
|
1516
|
+
"type": "registry:ui"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"path": "src/components/reply-input/reply-input-variants.ts",
|
|
1520
|
+
"type": "registry:ui"
|
|
1521
|
+
}
|
|
1522
|
+
]
|
|
1523
|
+
},
|
|
1460
1524
|
{
|
|
1461
1525
|
"name": "mosaic-resizable-split-pane",
|
|
1462
1526
|
"type": "registry:ui",
|
|
@@ -1476,6 +1540,23 @@
|
|
|
1476
1540
|
}
|
|
1477
1541
|
]
|
|
1478
1542
|
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "mosaic-save-chat-as-memory-form",
|
|
1545
|
+
"type": "registry:ui",
|
|
1546
|
+
"title": "MosaicSaveChatAsMemoryForm",
|
|
1547
|
+
"description": "MosaicSaveChatAsMemoryForm — presentational \"turn this thread into agency knowledge\" form: the chat → memory bridge.",
|
|
1548
|
+
"dependencies": [],
|
|
1549
|
+
"files": [
|
|
1550
|
+
{
|
|
1551
|
+
"path": "src/components/save-chat-as-memory-form/MosaicSaveChatAsMemoryForm.tsx",
|
|
1552
|
+
"type": "registry:ui"
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"path": "src/components/save-chat-as-memory-form/save-chat-as-memory-form-variants.ts",
|
|
1556
|
+
"type": "registry:ui"
|
|
1557
|
+
}
|
|
1558
|
+
]
|
|
1559
|
+
},
|
|
1479
1560
|
{
|
|
1480
1561
|
"name": "mosaic-save-template-modal",
|
|
1481
1562
|
"type": "registry:ui",
|
|
@@ -1555,6 +1636,40 @@
|
|
|
1555
1636
|
}
|
|
1556
1637
|
]
|
|
1557
1638
|
},
|
|
1639
|
+
{
|
|
1640
|
+
"name": "mosaic-session-card",
|
|
1641
|
+
"type": "registry:ui",
|
|
1642
|
+
"title": "MosaicSessionCard",
|
|
1643
|
+
"description": "MosaicSessionCard — a single work-in-progress session at a glance (default / compact variants)",
|
|
1644
|
+
"dependencies": [],
|
|
1645
|
+
"files": [
|
|
1646
|
+
{
|
|
1647
|
+
"path": "src/components/session-card/MosaicSessionCard.tsx",
|
|
1648
|
+
"type": "registry:ui"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"path": "src/components/session-card/session-card-variants.ts",
|
|
1652
|
+
"type": "registry:ui"
|
|
1653
|
+
}
|
|
1654
|
+
]
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "mosaic-session-list",
|
|
1658
|
+
"type": "registry:ui",
|
|
1659
|
+
"title": "MosaicSessionList",
|
|
1660
|
+
"description": "MosaicSessionList — presentational, layout-disposition-only list of the workstation's in-progress sessions",
|
|
1661
|
+
"dependencies": [],
|
|
1662
|
+
"files": [
|
|
1663
|
+
{
|
|
1664
|
+
"path": "src/components/session-list/MosaicSessionList.tsx",
|
|
1665
|
+
"type": "registry:ui"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"path": "src/components/session-list/session-list-variants.ts",
|
|
1669
|
+
"type": "registry:ui"
|
|
1670
|
+
}
|
|
1671
|
+
]
|
|
1672
|
+
},
|
|
1558
1673
|
{
|
|
1559
1674
|
"name": "mosaic-skeleton",
|
|
1560
1675
|
"type": "registry:ui",
|
|
@@ -1811,6 +1926,40 @@
|
|
|
1811
1926
|
}
|
|
1812
1927
|
]
|
|
1813
1928
|
},
|
|
1929
|
+
{
|
|
1930
|
+
"name": "mosaic-thread-indicator",
|
|
1931
|
+
"type": "registry:ui",
|
|
1932
|
+
"title": "MosaicThreadIndicator",
|
|
1933
|
+
"description": "MosaicThreadIndicator — signals a thread has UNREAD replies",
|
|
1934
|
+
"dependencies": [],
|
|
1935
|
+
"files": [
|
|
1936
|
+
{
|
|
1937
|
+
"path": "src/components/thread-indicator/MosaicThreadIndicator.tsx",
|
|
1938
|
+
"type": "registry:ui"
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"path": "src/components/thread-indicator/thread-indicator-variants.ts",
|
|
1942
|
+
"type": "registry:ui"
|
|
1943
|
+
}
|
|
1944
|
+
]
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "mosaic-thread-view",
|
|
1948
|
+
"type": "registry:ui",
|
|
1949
|
+
"title": "MosaicThreadView",
|
|
1950
|
+
"description": "MosaicThreadView — one client request, several agents replying beneath it",
|
|
1951
|
+
"dependencies": [],
|
|
1952
|
+
"files": [
|
|
1953
|
+
{
|
|
1954
|
+
"path": "src/components/thread-view/MosaicThreadView.tsx",
|
|
1955
|
+
"type": "registry:ui"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"path": "src/components/thread-view/thread-view-variants.ts",
|
|
1959
|
+
"type": "registry:ui"
|
|
1960
|
+
}
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1814
1963
|
{
|
|
1815
1964
|
"name": "mosaic-toast",
|
|
1816
1965
|
"type": "registry:ui",
|