@atmos.build/ui 0.1.0

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.
Files changed (431) hide show
  1. package/README.md +45 -0
  2. package/dist/components/alert-dialog.d.ts +14 -0
  3. package/dist/components/alert-dialog.js +40 -0
  4. package/dist/components/at-search.d.ts +35 -0
  5. package/dist/components/at-search.js +57 -0
  6. package/dist/components/attachment-thumbnail-stack.d.ts +13 -0
  7. package/dist/components/attachment-thumbnail-stack.js +23 -0
  8. package/dist/components/audio-preview.d.ts +33 -0
  9. package/dist/components/audio-preview.js +176 -0
  10. package/dist/components/avatar-uploader.d.ts +29 -0
  11. package/dist/components/avatar-uploader.js +67 -0
  12. package/dist/components/avatar.d.ts +12 -0
  13. package/dist/components/avatar.js +38 -0
  14. package/dist/components/badge.d.ts +9 -0
  15. package/dist/components/badge.js +25 -0
  16. package/dist/components/button-group.d.ts +12 -0
  17. package/dist/components/button-group.js +29 -0
  18. package/dist/components/button.d.ts +10 -0
  19. package/dist/components/button.js +42 -0
  20. package/dist/components/calendar.d.ts +26 -0
  21. package/dist/components/calendar.js +154 -0
  22. package/dist/components/channel-list.d.ts +33 -0
  23. package/dist/components/channel-list.js +40 -0
  24. package/dist/components/charts/area-chart.d.ts +2 -0
  25. package/dist/components/charts/area-chart.js +5 -0
  26. package/dist/components/charts/bar-chart.d.ts +2 -0
  27. package/dist/components/charts/bar-chart.js +58 -0
  28. package/dist/components/charts/colors.d.ts +2 -0
  29. package/dist/components/charts/colors.js +42 -0
  30. package/dist/components/charts/hover.d.ts +20 -0
  31. package/dist/components/charts/hover.js +31 -0
  32. package/dist/components/charts/index.d.ts +10 -0
  33. package/dist/components/charts/index.js +9 -0
  34. package/dist/components/charts/layout.d.ts +35 -0
  35. package/dist/components/charts/layout.js +101 -0
  36. package/dist/components/charts/legend.d.ts +6 -0
  37. package/dist/components/charts/legend.js +7 -0
  38. package/dist/components/charts/line-area-chart.d.ts +4 -0
  39. package/dist/components/charts/line-area-chart.js +86 -0
  40. package/dist/components/charts/line-chart.d.ts +2 -0
  41. package/dist/components/charts/line-chart.js +5 -0
  42. package/dist/components/charts/pie-chart.d.ts +2 -0
  43. package/dist/components/charts/pie-chart.js +22 -0
  44. package/dist/components/charts/radar-chart.d.ts +2 -0
  45. package/dist/components/charts/radar-chart.js +29 -0
  46. package/dist/components/charts/radial-chart.d.ts +2 -0
  47. package/dist/components/charts/radial-chart.js +19 -0
  48. package/dist/components/charts/scatter-chart.d.ts +2 -0
  49. package/dist/components/charts/scatter-chart.js +16 -0
  50. package/dist/components/charts/story-data.d.ts +24 -0
  51. package/dist/components/charts/story-data.js +48 -0
  52. package/dist/components/charts/types.d.ts +43 -0
  53. package/dist/components/charts/types.js +1 -0
  54. package/dist/components/checkbox.d.ts +4 -0
  55. package/dist/components/checkbox.js +10 -0
  56. package/dist/components/chip.d.ts +25 -0
  57. package/dist/components/chip.js +36 -0
  58. package/dist/components/code-editor-theme.d.ts +19 -0
  59. package/dist/components/code-editor-theme.js +100 -0
  60. package/dist/components/collapsible-section-header.d.ts +82 -0
  61. package/dist/components/collapsible-section-header.js +82 -0
  62. package/dist/components/collection-view/collection-view-group-settings.d.ts +73 -0
  63. package/dist/components/collection-view/collection-view-group-settings.js +55 -0
  64. package/dist/components/collection-view/collection-view-settings.d.ts +115 -0
  65. package/dist/components/collection-view/collection-view-settings.js +146 -0
  66. package/dist/components/collection-view/collection-view.d.ts +87 -0
  67. package/dist/components/collection-view/collection-view.js +95 -0
  68. package/dist/components/collection-view/index.d.ts +6 -0
  69. package/dist/components/collection-view/index.js +6 -0
  70. package/dist/components/collection-view/use-collection-detail-navigation.d.ts +11 -0
  71. package/dist/components/collection-view/use-collection-detail-navigation.js +12 -0
  72. package/dist/components/collection-view/use-collection-escape.d.ts +9 -0
  73. package/dist/components/collection-view/use-collection-escape.js +20 -0
  74. package/dist/components/collection-view/use-collection-selection.d.ts +42 -0
  75. package/dist/components/collection-view/use-collection-selection.js +203 -0
  76. package/dist/components/color-picker.d.ts +18 -0
  77. package/dist/components/color-picker.js +77 -0
  78. package/dist/components/color-swatch-list.d.ts +16 -0
  79. package/dist/components/color-swatch-list.js +60 -0
  80. package/dist/components/combobox/combobox.d.ts +4 -0
  81. package/dist/components/combobox/combobox.js +70 -0
  82. package/dist/components/combobox/compound.d.ts +68 -0
  83. package/dist/components/combobox/compound.js +151 -0
  84. package/dist/components/combobox/context.d.ts +34 -0
  85. package/dist/components/combobox/context.js +123 -0
  86. package/dist/components/combobox/create-step.d.ts +12 -0
  87. package/dist/components/combobox/create-step.js +8 -0
  88. package/dist/components/combobox/index.d.ts +10 -0
  89. package/dist/components/combobox/index.js +5 -0
  90. package/dist/components/combobox/inline-create-form.d.ts +24 -0
  91. package/dist/components/combobox/inline-create-form.js +43 -0
  92. package/dist/components/combobox/types.d.ts +57 -0
  93. package/dist/components/combobox/types.js +10 -0
  94. package/dist/components/command.d.ts +35 -0
  95. package/dist/components/command.js +76 -0
  96. package/dist/components/comment-pin.d.ts +13 -0
  97. package/dist/components/comment-pin.js +33 -0
  98. package/dist/components/confidence-meter.d.ts +11 -0
  99. package/dist/components/confidence-meter.js +24 -0
  100. package/dist/components/context-menu.d.ts +31 -0
  101. package/dist/components/context-menu.js +54 -0
  102. package/dist/components/copy-button.d.ts +12 -0
  103. package/dist/components/copy-button.js +32 -0
  104. package/dist/components/date-picker.d.ts +29 -0
  105. package/dist/components/date-picker.js +86 -0
  106. package/dist/components/date-tile.d.ts +11 -0
  107. package/dist/components/date-tile.js +16 -0
  108. package/dist/components/date-time-picker.d.ts +25 -0
  109. package/dist/components/date-time-picker.js +153 -0
  110. package/dist/components/detail-breadcrumb-utils.d.ts +2 -0
  111. package/dist/components/detail-breadcrumb-utils.js +18 -0
  112. package/dist/components/detail-nav-bar.d.ts +28 -0
  113. package/dist/components/detail-nav-bar.js +28 -0
  114. package/dist/components/detail-top-bar.d.ts +49 -0
  115. package/dist/components/detail-top-bar.js +41 -0
  116. package/dist/components/dialog.d.ts +22 -0
  117. package/dist/components/dialog.js +51 -0
  118. package/dist/components/dropdown-menu.d.ts +29 -0
  119. package/dist/components/dropdown-menu.js +52 -0
  120. package/dist/components/editable-doc-title.d.ts +17 -0
  121. package/dist/components/editable-doc-title.js +147 -0
  122. package/dist/components/empty-state.d.ts +12 -0
  123. package/dist/components/empty-state.js +6 -0
  124. package/dist/components/filter-condition-editor.d.ts +18 -0
  125. package/dist/components/filter-condition-editor.js +102 -0
  126. package/dist/components/form-dialog.d.ts +30 -0
  127. package/dist/components/form-dialog.js +52 -0
  128. package/dist/components/formula-editor.d.ts +18 -0
  129. package/dist/components/formula-editor.js +154 -0
  130. package/dist/components/hover-card.d.ts +52 -0
  131. package/dist/components/hover-card.js +51 -0
  132. package/dist/components/icon-button.d.ts +15 -0
  133. package/dist/components/icon-button.js +18 -0
  134. package/dist/components/inline-alert.d.ts +11 -0
  135. package/dist/components/inline-alert.js +17 -0
  136. package/dist/components/input.d.ts +3 -0
  137. package/dist/components/input.js +7 -0
  138. package/dist/components/kanban-board.d.ts +27 -0
  139. package/dist/components/kanban-board.js +145 -0
  140. package/dist/components/kbd.d.ts +3 -0
  141. package/dist/components/kbd.js +8 -0
  142. package/dist/components/label.d.ts +4 -0
  143. package/dist/components/label.js +9 -0
  144. package/dist/components/markdown-editor/index.d.ts +4 -0
  145. package/dist/components/markdown-editor/index.js +2 -0
  146. package/dist/components/markdown-editor/markdown-editor.d.ts +16 -0
  147. package/dist/components/markdown-editor/markdown-editor.js +53 -0
  148. package/dist/components/markdown-editor/serialize.d.ts +12 -0
  149. package/dist/components/markdown-editor/serialize.js +122 -0
  150. package/dist/components/markdown-editor/vim.d.ts +8 -0
  151. package/dist/components/markdown-editor/vim.js +394 -0
  152. package/dist/components/metric-grid.d.ts +41 -0
  153. package/dist/components/metric-grid.js +39 -0
  154. package/dist/components/microphone-priority.d.ts +29 -0
  155. package/dist/components/microphone-priority.js +15 -0
  156. package/dist/components/middle-truncate.d.ts +6 -0
  157. package/dist/components/middle-truncate.js +15 -0
  158. package/dist/components/multi-combobox.d.ts +48 -0
  159. package/dist/components/multi-combobox.js +221 -0
  160. package/dist/components/naut-avatar-engine.d.ts +83 -0
  161. package/dist/components/naut-avatar-engine.js +803 -0
  162. package/dist/components/naut-avatar.d.ts +31 -0
  163. package/dist/components/naut-avatar.js +108 -0
  164. package/dist/components/navigable-list.d.ts +4 -0
  165. package/dist/components/navigable-list.js +20 -0
  166. package/dist/components/note-icon-picker.d.ts +20 -0
  167. package/dist/components/note-icon-picker.js +84 -0
  168. package/dist/components/note-icon.d.ts +690 -0
  169. package/dist/components/note-icon.js +353 -0
  170. package/dist/components/note-row.d.ts +33 -0
  171. package/dist/components/note-row.js +29 -0
  172. package/dist/components/overlapping-dots.d.ts +10 -0
  173. package/dist/components/overlapping-dots.js +13 -0
  174. package/dist/components/overview-card.d.ts +12 -0
  175. package/dist/components/overview-card.js +9 -0
  176. package/dist/components/panel-header.d.ts +8 -0
  177. package/dist/components/panel-header.js +6 -0
  178. package/dist/components/panel-section-states.d.ts +9 -0
  179. package/dist/components/panel-section-states.js +10 -0
  180. package/dist/components/person-avatar.d.ts +10 -0
  181. package/dist/components/person-avatar.js +23 -0
  182. package/dist/components/photo-avatar.d.ts +11 -0
  183. package/dist/components/photo-avatar.js +24 -0
  184. package/dist/components/picker-field.d.ts +23 -0
  185. package/dist/components/picker-field.js +24 -0
  186. package/dist/components/popover-stack.d.ts +26 -0
  187. package/dist/components/popover-stack.js +89 -0
  188. package/dist/components/popover.d.ts +12 -0
  189. package/dist/components/popover.js +31 -0
  190. package/dist/components/portal-login-barrier.d.ts +12 -0
  191. package/dist/components/portal-login-barrier.js +41 -0
  192. package/dist/components/presence-dot.d.ts +8 -0
  193. package/dist/components/presence-dot.js +15 -0
  194. package/dist/components/presence-overlay.d.ts +27 -0
  195. package/dist/components/presence-overlay.js +34 -0
  196. package/dist/components/property-list.d.ts +64 -0
  197. package/dist/components/property-list.js +313 -0
  198. package/dist/components/property-panel.d.ts +54 -0
  199. package/dist/components/property-panel.js +87 -0
  200. package/dist/components/property-selector.d.ts +36 -0
  201. package/dist/components/property-selector.js +141 -0
  202. package/dist/components/provenance-chip.d.ts +12 -0
  203. package/dist/components/provenance-chip.js +17 -0
  204. package/dist/components/qr-code.d.ts +13 -0
  205. package/dist/components/qr-code.js +42 -0
  206. package/dist/components/qr-encode.d.ts +2 -0
  207. package/dist/components/qr-encode.js +469 -0
  208. package/dist/components/quantity-stepper.d.ts +25 -0
  209. package/dist/components/quantity-stepper.js +43 -0
  210. package/dist/components/radio-group.d.ts +5 -0
  211. package/dist/components/radio-group.js +13 -0
  212. package/dist/components/rename-dialog.d.ts +19 -0
  213. package/dist/components/rename-dialog.js +35 -0
  214. package/dist/components/row-surface.d.ts +1 -0
  215. package/dist/components/row-surface.js +5 -0
  216. package/dist/components/row-trailing.d.ts +30 -0
  217. package/dist/components/row-trailing.js +59 -0
  218. package/dist/components/run-status-badge.d.ts +16 -0
  219. package/dist/components/run-status-badge.js +43 -0
  220. package/dist/components/scroll-area.d.ts +5 -0
  221. package/dist/components/scroll-area.js +12 -0
  222. package/dist/components/select.d.ts +15 -0
  223. package/dist/components/select.js +39 -0
  224. package/dist/components/selectable-card.d.ts +33 -0
  225. package/dist/components/selectable-card.js +66 -0
  226. package/dist/components/separator.d.ts +3 -0
  227. package/dist/components/separator.js +8 -0
  228. package/dist/components/settings-dialog-shell.d.ts +46 -0
  229. package/dist/components/settings-dialog-shell.js +48 -0
  230. package/dist/components/shimmer-text.d.ts +8 -0
  231. package/dist/components/shimmer-text.js +26 -0
  232. package/dist/components/side-panel-tokens.d.ts +27 -0
  233. package/dist/components/side-panel-tokens.js +26 -0
  234. package/dist/components/side-panel.d.ts +94 -0
  235. package/dist/components/side-panel.js +106 -0
  236. package/dist/components/skeleton.d.ts +2 -0
  237. package/dist/components/skeleton.js +6 -0
  238. package/dist/components/sortable.d.ts +65 -0
  239. package/dist/components/sortable.js +110 -0
  240. package/dist/components/spec-strip.d.ts +18 -0
  241. package/dist/components/spec-strip.js +15 -0
  242. package/dist/components/speech-playback.d.ts +25 -0
  243. package/dist/components/speech-playback.js +35 -0
  244. package/dist/components/sql-editor.d.ts +13 -0
  245. package/dist/components/sql-editor.js +228 -0
  246. package/dist/components/stat-tile.d.ts +7 -0
  247. package/dist/components/stat-tile.js +6 -0
  248. package/dist/components/status-badge.d.ts +17 -0
  249. package/dist/components/status-badge.js +8 -0
  250. package/dist/components/status-tone.d.ts +9 -0
  251. package/dist/components/status-tone.js +10 -0
  252. package/dist/components/sticky-header-fade.d.ts +8 -0
  253. package/dist/components/sticky-header-fade.js +11 -0
  254. package/dist/components/swatch-button.d.ts +14 -0
  255. package/dist/components/swatch-button.js +25 -0
  256. package/dist/components/switch.d.ts +6 -0
  257. package/dist/components/switch.js +9 -0
  258. package/dist/components/system-load/index.d.ts +6 -0
  259. package/dist/components/system-load/index.js +6 -0
  260. package/dist/components/system-load/load-block.d.ts +20 -0
  261. package/dist/components/system-load/load-block.js +23 -0
  262. package/dist/components/system-load/load-grid.d.ts +16 -0
  263. package/dist/components/system-load/load-grid.js +23 -0
  264. package/dist/components/system-load/load-meter.d.ts +25 -0
  265. package/dist/components/system-load/load-meter.js +29 -0
  266. package/dist/components/system-load/load-tone.d.ts +21 -0
  267. package/dist/components/system-load/load-tone.js +29 -0
  268. package/dist/components/system-load/meter-row.d.ts +31 -0
  269. package/dist/components/system-load/meter-row.js +29 -0
  270. package/dist/components/system-load/resource-meter.d.ts +19 -0
  271. package/dist/components/system-load/resource-meter.js +15 -0
  272. package/dist/components/tab-title-bar.d.ts +12 -0
  273. package/dist/components/tab-title-bar.js +9 -0
  274. package/dist/components/table.d.ts +10 -0
  275. package/dist/components/table.js +29 -0
  276. package/dist/components/tabs.d.ts +11 -0
  277. package/dist/components/tabs.js +97 -0
  278. package/dist/components/template-chip-input.d.ts +36 -0
  279. package/dist/components/template-chip-input.js +271 -0
  280. package/dist/components/template-input.d.ts +24 -0
  281. package/dist/components/template-input.js +57 -0
  282. package/dist/components/terminal-spinner.d.ts +11 -0
  283. package/dist/components/terminal-spinner.js +48 -0
  284. package/dist/components/textarea.d.ts +3 -0
  285. package/dist/components/textarea.js +7 -0
  286. package/dist/components/time-column.d.ts +24 -0
  287. package/dist/components/time-column.js +60 -0
  288. package/dist/components/timestamped-transcript.d.ts +38 -0
  289. package/dist/components/timestamped-transcript.js +29 -0
  290. package/dist/components/timezone-picker.d.ts +22 -0
  291. package/dist/components/timezone-picker.js +60 -0
  292. package/dist/components/tooltip.d.ts +11 -0
  293. package/dist/components/tooltip.js +29 -0
  294. package/dist/components/transcription-overlay.d.ts +47 -0
  295. package/dist/components/transcription-overlay.js +30 -0
  296. package/dist/components/usage-bar.d.ts +17 -0
  297. package/dist/components/usage-bar.js +26 -0
  298. package/dist/components/view-query-bar.d.ts +13 -0
  299. package/dist/components/view-query-bar.js +13 -0
  300. package/dist/components/view-query-controls.d.ts +159 -0
  301. package/dist/components/view-query-controls.js +109 -0
  302. package/dist/components/view-save-menu.d.ts +20 -0
  303. package/dist/components/view-save-menu.js +13 -0
  304. package/dist/components/view-sort-editor.d.ts +40 -0
  305. package/dist/components/view-sort-editor.js +47 -0
  306. package/dist/components/voice-line.d.ts +37 -0
  307. package/dist/components/voice-line.js +293 -0
  308. package/dist/components/weekly-schedule-editor.d.ts +15 -0
  309. package/dist/components/weekly-schedule-editor.js +28 -0
  310. package/dist/flow/canvas/canvas-frame.d.ts +160 -0
  311. package/dist/flow/canvas/canvas-frame.js +521 -0
  312. package/dist/flow/canvas/collaborator-layer.d.ts +12 -0
  313. package/dist/flow/canvas/collaborator-layer.js +43 -0
  314. package/dist/flow/canvas/connector-edge.d.ts +22 -0
  315. package/dist/flow/canvas/connector-edge.js +61 -0
  316. package/dist/flow/canvas/editor-context.d.ts +23 -0
  317. package/dist/flow/canvas/editor-context.js +6 -0
  318. package/dist/flow/canvas/graph-core.d.ts +60 -0
  319. package/dist/flow/canvas/graph-core.js +296 -0
  320. package/dist/flow/canvas/minimap-sticky-overlay.d.ts +4 -0
  321. package/dist/flow/canvas/minimap-sticky-overlay.js +45 -0
  322. package/dist/flow/canvas/node-card.d.ts +46 -0
  323. package/dist/flow/canvas/node-card.js +56 -0
  324. package/dist/flow/canvas/node-library.d.ts +40 -0
  325. package/dist/flow/canvas/node-library.js +54 -0
  326. package/dist/flow/canvas/sticky-notes.d.ts +25 -0
  327. package/dist/flow/canvas/sticky-notes.js +101 -0
  328. package/dist/flow/collaborative-graph-presence.d.ts +28 -0
  329. package/dist/flow/collaborative-graph-presence.js +55 -0
  330. package/dist/flow/collaborative-graph-sync.d.ts +40 -0
  331. package/dist/flow/collaborative-graph-sync.js +127 -0
  332. package/dist/flow/editor/adapter.d.ts +64 -0
  333. package/dist/flow/editor/adapter.js +1 -0
  334. package/dist/flow/editor/command-registry.d.ts +10 -0
  335. package/dist/flow/editor/command-registry.js +35 -0
  336. package/dist/flow/editor/dag-canvas.d.ts +18 -0
  337. package/dist/flow/editor/dag-canvas.js +33 -0
  338. package/dist/flow/editor/flow-editor.d.ts +54 -0
  339. package/dist/flow/editor/flow-editor.js +199 -0
  340. package/dist/flow/editor/issues-popover.d.ts +11 -0
  341. package/dist/flow/editor/issues-popover.js +70 -0
  342. package/dist/flow/editor/library-rail.d.ts +19 -0
  343. package/dist/flow/editor/library-rail.js +25 -0
  344. package/dist/flow/editor/make-controller.d.ts +18 -0
  345. package/dist/flow/editor/make-controller.js +44 -0
  346. package/dist/flow/editor/node-chip.d.ts +2 -0
  347. package/dist/flow/editor/node-chip.js +16 -0
  348. package/dist/flow/editor/save-publish-bar.d.ts +27 -0
  349. package/dist/flow/editor/save-publish-bar.js +14 -0
  350. package/dist/flow/editor/settings-dialog.d.ts +11 -0
  351. package/dist/flow/editor/settings-dialog.js +11 -0
  352. package/dist/flow/editor/settings-shell.d.ts +21 -0
  353. package/dist/flow/editor/settings-shell.js +20 -0
  354. package/dist/flow/editor/side-rail.d.ts +22 -0
  355. package/dist/flow/editor/side-rail.js +15 -0
  356. package/dist/flow/editor/use-dag-editor.d.ts +94 -0
  357. package/dist/flow/editor/use-dag-editor.js +502 -0
  358. package/dist/flow/index.d.ts +25 -0
  359. package/dist/flow/index.js +25 -0
  360. package/dist/flow/presence-motion.d.ts +10 -0
  361. package/dist/flow/presence-motion.js +88 -0
  362. package/dist/flow/styles.css +1 -0
  363. package/dist/flow/use-collaborative-graph.d.ts +61 -0
  364. package/dist/flow/use-collaborative-graph.js +396 -0
  365. package/dist/flow/use-debounced-value.d.ts +1 -0
  366. package/dist/flow/use-debounced-value.js +10 -0
  367. package/dist/hooks/use-detail-nav.d.ts +11 -0
  368. package/dist/hooks/use-detail-nav.js +49 -0
  369. package/dist/hooks/use-flush-on-hide.d.ts +1 -0
  370. package/dist/hooks/use-flush-on-hide.js +21 -0
  371. package/dist/hooks/use-media-query.d.ts +1 -0
  372. package/dist/hooks/use-media-query.js +20 -0
  373. package/dist/hooks/use-virtualizer.d.ts +1 -0
  374. package/dist/hooks/use-virtualizer.js +1 -0
  375. package/dist/index.d.ts +139 -0
  376. package/dist/index.js +139 -0
  377. package/dist/lib/brand-style.d.ts +6 -0
  378. package/dist/lib/brand-style.js +16 -0
  379. package/dist/lib/cn.d.ts +2 -0
  380. package/dist/lib/cn.js +5 -0
  381. package/dist/lib/composited-glint.d.ts +7 -0
  382. package/dist/lib/composited-glint.js +98 -0
  383. package/dist/lib/date-time-format.d.ts +2 -0
  384. package/dist/lib/date-time-format.js +21 -0
  385. package/dist/lib/disclosure-state.d.ts +11 -0
  386. package/dist/lib/disclosure-state.js +22 -0
  387. package/dist/lib/label-swatches.d.ts +10 -0
  388. package/dist/lib/label-swatches.js +24 -0
  389. package/dist/lib/local-ui-state.d.ts +10 -0
  390. package/dist/lib/local-ui-state.js +95 -0
  391. package/dist/lib/parse-loose-datetime.d.ts +1 -0
  392. package/dist/lib/parse-loose-datetime.js +180 -0
  393. package/dist/lib/parse-loose-time.d.ts +6 -0
  394. package/dist/lib/parse-loose-time.js +53 -0
  395. package/dist/lib/parse-loose.d.ts +1 -0
  396. package/dist/lib/parse-loose.js +170 -0
  397. package/dist/lib/react-19-jsx.d.ts +8 -0
  398. package/dist/lib/react-19-jsx.js +1 -0
  399. package/dist/lib/view-chrome.d.ts +5 -0
  400. package/dist/lib/view-chrome.js +5 -0
  401. package/dist/lib/view-query/config.d.ts +26 -0
  402. package/dist/lib/view-query/config.js +162 -0
  403. package/dist/lib/view-query/evaluate.d.ts +11 -0
  404. package/dist/lib/view-query/evaluate.js +196 -0
  405. package/dist/lib/view-query/group-order.d.ts +25 -0
  406. package/dist/lib/view-query/group-order.js +49 -0
  407. package/dist/lib/view-query/index.d.ts +6 -0
  408. package/dist/lib/view-query/index.js +6 -0
  409. package/dist/lib/view-query/model.d.ts +34 -0
  410. package/dist/lib/view-query/model.js +88 -0
  411. package/dist/lib/view-query/sort.d.ts +7 -0
  412. package/dist/lib/view-query/sort.js +30 -0
  413. package/dist/lib/view-query/types.d.ts +70 -0
  414. package/dist/lib/view-query/types.js +12 -0
  415. package/dist/lib/weekly-schedule.d.ts +8 -0
  416. package/dist/lib/weekly-schedule.js +10 -0
  417. package/dist/mcp-app/index.d.ts +4 -0
  418. package/dist/mcp-app/index.js +3 -0
  419. package/dist/mcp-app/shadcn.css +629 -0
  420. package/dist/mcp-app/styles.css +72 -0
  421. package/dist/mcp-app/theme.d.ts +2 -0
  422. package/dist/mcp-app/theme.js +62 -0
  423. package/dist/mcp-app/use-atmos-mcp-app.d.ts +109 -0
  424. package/dist/mcp-app/use-atmos-mcp-app.js +30 -0
  425. package/dist/mcp-app/vite.d.ts +7 -0
  426. package/dist/mcp-app/vite.js +30 -0
  427. package/dist/tokens/index.d.ts +7 -0
  428. package/dist/tokens/index.js +7 -0
  429. package/dist/tokens/semantic.css +110 -0
  430. package/dist/tokens/tokens.css +195 -0
  431. package/package.json +98 -0
@@ -0,0 +1,62 @@
1
+ import { applyDocumentTheme, applyHostFonts, applyHostStyleVariables, } from '@modelcontextprotocol/ext-apps';
2
+ const semanticVariables = {
3
+ '--background': '--color-background-primary',
4
+ '--foreground': '--color-text-primary',
5
+ '--card': '--color-background-secondary',
6
+ '--card-foreground': '--color-text-primary',
7
+ '--popover': '--color-background-secondary',
8
+ '--popover-foreground': '--color-text-primary',
9
+ '--primary': '--color-text-primary',
10
+ '--primary-foreground': '--color-text-inverse',
11
+ '--secondary': '--color-background-tertiary',
12
+ '--secondary-foreground': '--color-text-primary',
13
+ '--muted': '--color-background-tertiary',
14
+ '--muted-foreground': '--color-text-secondary',
15
+ '--accent': '--color-background-tertiary',
16
+ '--accent-foreground': '--color-text-primary',
17
+ '--destructive': '--color-text-danger',
18
+ '--border': '--color-border-primary',
19
+ '--input': '--color-border-primary',
20
+ '--ring': '--color-ring-primary',
21
+ '--sidebar': '--color-background-secondary',
22
+ '--sidebar-foreground': '--color-text-primary',
23
+ '--sidebar-primary': '--color-text-primary',
24
+ '--sidebar-primary-foreground': '--color-text-inverse',
25
+ '--sidebar-accent': '--color-background-tertiary',
26
+ '--sidebar-accent-foreground': '--color-text-primary',
27
+ '--sidebar-border': '--color-border-secondary',
28
+ '--sidebar-ring': '--color-ring-primary',
29
+ '--font-sans': '--font-sans',
30
+ '--font-mono': '--font-mono',
31
+ '--radius': '--border-radius-md',
32
+ '--radius-sm': '--border-radius-sm',
33
+ '--radius-lg': '--border-radius-lg',
34
+ '--radius-xl': '--border-radius-xl',
35
+ '--success-3': '--color-background-success',
36
+ '--success-9': '--color-border-success',
37
+ '--success-11': '--color-text-success',
38
+ '--warning-3': '--color-background-warning',
39
+ '--warning-9': '--color-border-warning',
40
+ '--warning-11': '--color-text-warning',
41
+ '--danger-3': '--color-background-danger',
42
+ '--danger-9': '--color-border-danger',
43
+ '--danger-11': '--color-text-danger',
44
+ '--info-3': '--color-background-info',
45
+ '--info-9': '--color-border-info',
46
+ '--info-11': '--color-text-info',
47
+ };
48
+ export function applyAtmosHostContext(context) {
49
+ const root = document.documentElement;
50
+ if (context?.theme) {
51
+ applyDocumentTheme(context.theme);
52
+ root.classList.toggle('dark', context.theme === 'dark');
53
+ }
54
+ if (context?.styles?.variables) {
55
+ applyHostStyleVariables(context.styles.variables, root);
56
+ for (const [semantic, host] of Object.entries(semanticVariables)) {
57
+ root.style.setProperty(semantic, `var(${host})`);
58
+ }
59
+ }
60
+ if (context?.styles?.css?.fonts)
61
+ applyHostFonts(context.styles.css.fonts);
62
+ }
@@ -0,0 +1,109 @@
1
+ import type { McpUiHostContext, McpUiToolResultNotification } from '@modelcontextprotocol/ext-apps';
2
+ export interface AtmosMcpAppOptions {
3
+ name: string;
4
+ version: string;
5
+ onToolResult?: (result: McpUiToolResultNotification['params']) => void;
6
+ }
7
+ export declare function useAtmosMcpApp({ name, version, onToolResult }: AtmosMcpAppOptions): {
8
+ hostContext: McpUiHostContext | undefined;
9
+ toolResult: {
10
+ [x: string]: unknown;
11
+ content: ({
12
+ type: "text";
13
+ text: string;
14
+ annotations?: {
15
+ audience?: ("user" | "assistant")[] | undefined;
16
+ priority?: number | undefined;
17
+ lastModified?: string | undefined;
18
+ } | undefined;
19
+ _meta?: {
20
+ [x: string]: unknown;
21
+ } | undefined;
22
+ } | {
23
+ type: "image";
24
+ data: string;
25
+ mimeType: string;
26
+ annotations?: {
27
+ audience?: ("user" | "assistant")[] | undefined;
28
+ priority?: number | undefined;
29
+ lastModified?: string | undefined;
30
+ } | undefined;
31
+ _meta?: {
32
+ [x: string]: unknown;
33
+ } | undefined;
34
+ } | {
35
+ type: "audio";
36
+ data: string;
37
+ mimeType: string;
38
+ annotations?: {
39
+ audience?: ("user" | "assistant")[] | undefined;
40
+ priority?: number | undefined;
41
+ lastModified?: string | undefined;
42
+ } | undefined;
43
+ _meta?: {
44
+ [x: string]: unknown;
45
+ } | undefined;
46
+ } | {
47
+ uri: string;
48
+ name: string;
49
+ type: "resource_link";
50
+ description?: string | undefined;
51
+ mimeType?: string | undefined;
52
+ size?: number | undefined;
53
+ annotations?: {
54
+ audience?: ("user" | "assistant")[] | undefined;
55
+ priority?: number | undefined;
56
+ lastModified?: string | undefined;
57
+ } | undefined;
58
+ _meta?: {
59
+ [x: string]: unknown;
60
+ } | undefined;
61
+ icons?: {
62
+ src: string;
63
+ mimeType?: string | undefined;
64
+ sizes?: string[] | undefined;
65
+ theme?: "dark" | "light" | undefined;
66
+ }[] | undefined;
67
+ title?: string | undefined;
68
+ } | {
69
+ type: "resource";
70
+ resource: {
71
+ uri: string;
72
+ text: string;
73
+ mimeType?: string | undefined;
74
+ _meta?: {
75
+ [x: string]: unknown;
76
+ } | undefined;
77
+ } | {
78
+ uri: string;
79
+ blob: string;
80
+ mimeType?: string | undefined;
81
+ _meta?: {
82
+ [x: string]: unknown;
83
+ } | undefined;
84
+ };
85
+ annotations?: {
86
+ audience?: ("user" | "assistant")[] | undefined;
87
+ priority?: number | undefined;
88
+ lastModified?: string | undefined;
89
+ } | undefined;
90
+ _meta?: {
91
+ [x: string]: unknown;
92
+ } | undefined;
93
+ })[];
94
+ _meta?: {
95
+ [x: string]: unknown;
96
+ progressToken?: string | number | undefined;
97
+ "io.modelcontextprotocol/related-task"?: {
98
+ taskId: string;
99
+ } | undefined;
100
+ } | undefined;
101
+ structuredContent?: {
102
+ [x: string]: unknown;
103
+ } | undefined;
104
+ isError?: boolean | undefined;
105
+ } | undefined;
106
+ app: import("@modelcontextprotocol/ext-apps").App | null;
107
+ isConnected: boolean;
108
+ error: Error | null;
109
+ };
@@ -0,0 +1,30 @@
1
+ import { useEffect, useState } from 'react';
2
+ import { useApp } from '@modelcontextprotocol/ext-apps/react';
3
+ import { applyAtmosHostContext } from './theme.js';
4
+ export function useAtmosMcpApp({ name, version, onToolResult }) {
5
+ const [hostContext, setHostContext] = useState();
6
+ const [toolResult, setToolResult] = useState();
7
+ const connection = useApp({
8
+ appInfo: { name, version },
9
+ capabilities: {},
10
+ strict: true,
11
+ onAppCreated(app) {
12
+ app.ontoolresult = (result) => {
13
+ setToolResult(result);
14
+ onToolResult?.(result);
15
+ };
16
+ app.onhostcontextchanged = (context) => {
17
+ setHostContext((current) => ({ ...current, ...context }));
18
+ applyAtmosHostContext(context);
19
+ };
20
+ },
21
+ });
22
+ useEffect(() => {
23
+ if (!connection.app)
24
+ return;
25
+ const context = connection.app.getHostContext();
26
+ setHostContext(context);
27
+ applyAtmosHostContext(context);
28
+ }, [connection.app]);
29
+ return { ...connection, hostContext, toolResult };
30
+ }
@@ -0,0 +1,7 @@
1
+ import { type UserConfig } from 'vite';
2
+ export interface AtmosMcpAppViteOptions {
3
+ root: string;
4
+ entry?: string;
5
+ outDir?: string;
6
+ }
7
+ export declare function atmosMcpAppViteConfig({ root, entry, outDir, }: AtmosMcpAppViteOptions): UserConfig;
@@ -0,0 +1,30 @@
1
+ import tailwindcss from '@tailwindcss/postcss';
2
+ import react from '@vitejs/plugin-react';
3
+ import path from 'node:path';
4
+ import { defineConfig } from 'vite';
5
+ export function atmosMcpAppViteConfig({ root, entry = 'src/main.tsx', outDir = '../dist', }) {
6
+ return defineConfig({
7
+ root,
8
+ publicDir: false,
9
+ plugins: [react()],
10
+ define: { 'process.env.NODE_ENV': JSON.stringify('production') },
11
+ css: { postcss: { plugins: [tailwindcss()] } },
12
+ resolve: { dedupe: ['react', 'react-dom', 'react/jsx-runtime'] },
13
+ build: {
14
+ outDir: path.resolve(root, outDir),
15
+ emptyOutDir: true,
16
+ cssCodeSplit: false,
17
+ lib: {
18
+ entry: path.resolve(root, entry),
19
+ formats: ['iife'],
20
+ name: 'AtmosMcpApp',
21
+ fileName: () => 'app.js',
22
+ },
23
+ rollupOptions: {
24
+ output: {
25
+ assetFileNames: 'app.css',
26
+ },
27
+ },
28
+ },
29
+ });
30
+ }
@@ -0,0 +1,7 @@
1
+ export declare const priorityToneClassNames: {
2
+ readonly 0: "text-muted-foreground/50";
3
+ readonly 1: "text-muted-foreground";
4
+ readonly 2: "text-foreground/80";
5
+ readonly 3: "text-amber-600 dark:text-amber-400";
6
+ readonly 4: "text-destructive";
7
+ };
@@ -0,0 +1,7 @@
1
+ export const priorityToneClassNames = {
2
+ 0: 'text-muted-foreground/50',
3
+ 1: 'text-muted-foreground',
4
+ 2: 'text-foreground/80',
5
+ 3: 'text-amber-600 dark:text-amber-400',
6
+ 4: 'text-destructive',
7
+ };
@@ -0,0 +1,110 @@
1
+ /* The shell's canonical semantic token layer. MCP App host context projects
2
+ these values into the official MCP Apps style variables so sandboxed apps
3
+ inherit the same visual language without loading trusted shell CSS. */
4
+
5
+ :root {
6
+ --card: oklch(1 0 0);
7
+ --card-foreground: oklch(0.141 0.005 285.823);
8
+ --popover: oklch(1 0 0);
9
+ --popover-foreground: oklch(0.141 0.005 285.823);
10
+ --primary: oklch(0.205 0 0);
11
+ --primary-foreground: oklch(0.985 0 0);
12
+ --secondary: oklch(0.967 0.001 286.375);
13
+ --secondary-foreground: oklch(0.21 0.006 285.885);
14
+ --muted: oklch(0.967 0.001 286.375);
15
+ --muted-foreground: oklch(0.552 0.016 285.938);
16
+ --accent: oklch(0.967 0.001 286.375);
17
+ --accent-foreground: oklch(0.21 0.006 285.885);
18
+ --destructive: oklch(0.577 0.245 27.325);
19
+ --border: oklch(0.92 0.004 286.32);
20
+ --input: oklch(0.92 0.004 286.32);
21
+ --ring: oklch(0.705 0.015 286.067);
22
+ --radius: 0.625rem;
23
+ --readable-content-width: 56rem;
24
+ --sidebar: oklch(0.985 0 0);
25
+ --sidebar-foreground: oklch(0.141 0.005 285.823);
26
+ --sidebar-primary: oklch(0.205 0 0);
27
+ --sidebar-primary-foreground: oklch(0.985 0 0);
28
+ --sidebar-accent: oklch(0.967 0.001 286.375);
29
+ --sidebar-accent-foreground: oklch(0.21 0.006 285.885);
30
+ --sidebar-border: oklch(0.92 0.004 286.32);
31
+ --sidebar-ring: oklch(0.705 0.015 286.067);
32
+ --background: oklch(1 0 0);
33
+ --foreground: oklch(0.141 0.005 285.823);
34
+ --chart-1: oklch(0.837 0.128 66.29);
35
+ --chart-2: oklch(0.705 0.213 47.604);
36
+ --chart-3: oklch(0.646 0.222 41.116);
37
+ --chart-4: oklch(0.553 0.195 38.402);
38
+ --chart-5: oklch(0.47 0.157 37.304);
39
+ --category-1: oklch(0.532 0.131 244);
40
+ --category-2: oklch(0.753 0.158 76.8);
41
+ --category-3: oklch(0.62 0.13 165.5);
42
+ --category-4: oklch(0.679 0.118 346.3);
43
+ --category-5: oklch(0.735 0.117 236.2);
44
+ --category-6: oklch(0.621 0.17 47.5);
45
+
46
+ --success-3: oklch(95% 0.03 150);
47
+ --success-9: oklch(62% 0.155 148);
48
+ --success-11: oklch(40% 0.11 150);
49
+ --warning-3: oklch(96% 0.04 75);
50
+ --warning-9: oklch(72% 0.15 75);
51
+ --warning-11: oklch(48% 0.13 75);
52
+ --danger-3: oklch(96% 0.03 25);
53
+ --danger-9: oklch(58% 0.19 25);
54
+ --danger-11: oklch(48% 0.17 25);
55
+ --info-3: oklch(94.5% 0.028 245);
56
+ --info-9: oklch(54% 0.175 245);
57
+ --info-11: oklch(45% 0.155 245);
58
+
59
+ /* The usage purple: every quota/token meter (usage dashboard, composer quota
60
+ arc, activity grid) reads these so the family can be retuned in one place. */
61
+ --usage: oklch(0.61 0.19 293);
62
+ --usage-strong: oklch(0.45 0.19 293);
63
+ }
64
+
65
+ .dark {
66
+ --background: oklch(0.141 0.005 285.823);
67
+ --foreground: oklch(0.985 0 0);
68
+ --card: oklch(0.21 0.006 285.885);
69
+ --card-foreground: oklch(0.985 0 0);
70
+ --popover: oklch(0.21 0.006 285.885);
71
+ --popover-foreground: oklch(0.985 0 0);
72
+ --primary: oklch(0.985 0 0);
73
+ --primary-foreground: oklch(0.205 0 0);
74
+ --secondary: oklch(0.274 0.006 286.033);
75
+ --secondary-foreground: oklch(0.985 0 0);
76
+ --muted: oklch(0.274 0.006 286.033);
77
+ --muted-foreground: oklch(0.705 0.015 286.067);
78
+ --accent: oklch(0.274 0.006 286.033);
79
+ --accent-foreground: oklch(0.985 0 0);
80
+ --destructive: oklch(0.704 0.191 22.216);
81
+ --border: oklch(1 0 0 / 6%);
82
+ --input: oklch(1 0 0 / 12%);
83
+ --ring: oklch(0.552 0.016 285.938);
84
+ --sidebar: oklch(0.21 0.006 285.885);
85
+ --sidebar-foreground: oklch(0.985 0 0);
86
+ --sidebar-primary: oklch(0.985 0 0);
87
+ --sidebar-primary-foreground: oklch(0.205 0 0);
88
+ --sidebar-accent: oklch(0.274 0.006 286.033);
89
+ --sidebar-accent-foreground: oklch(0.985 0 0);
90
+ --sidebar-border: oklch(1 0 0 / 5%);
91
+ --sidebar-ring: oklch(0.552 0.016 285.938);
92
+ --chart-1: oklch(0.837 0.128 66.29);
93
+ --chart-2: oklch(0.705 0.213 47.604);
94
+ --chart-3: oklch(0.646 0.222 41.116);
95
+ --chart-4: oklch(0.553 0.195 38.402);
96
+ --chart-5: oklch(0.47 0.157 37.304);
97
+
98
+ --success-3: oklch(26% 0.045 150);
99
+ --success-9: oklch(70% 0.16 148);
100
+ --success-11: oklch(78% 0.13 150);
101
+ --warning-3: oklch(27% 0.05 75);
102
+ --warning-9: oklch(78% 0.15 75);
103
+ --warning-11: oklch(82% 0.13 75);
104
+ --danger-3: oklch(26% 0.055 25);
105
+ --danger-9: oklch(66% 0.19 25);
106
+ --danger-11: oklch(78% 0.15 25);
107
+ --info-3: oklch(27% 0.06 245);
108
+ --info-9: oklch(64% 0.175 245);
109
+ --info-11: oklch(78% 0.155 245);
110
+ }
@@ -0,0 +1,195 @@
1
+
2
+ @layer tokens {
3
+ :root {
4
+
5
+ --neutral-1: oklch(99.2% 0.002 80);
6
+ --neutral-2: oklch(97.5% 0.003 80);
7
+ --neutral-3: oklch(95.0% 0.004 80);
8
+ --neutral-4: oklch(92.5% 0.005 80);
9
+ --neutral-5: oklch(89.5% 0.006 80);
10
+ --neutral-6: oklch(86.0% 0.006 80);
11
+ --neutral-7: oklch(80.0% 0.007 80);
12
+ --neutral-8: oklch(70.0% 0.008 80);
13
+ --neutral-9: oklch(55.0% 0.008 80);
14
+ --neutral-10: oklch(48.0% 0.008 80);
15
+ --neutral-11: oklch(40.0% 0.010 80);
16
+ --neutral-12: oklch(18.0% 0.012 80);
17
+
18
+
19
+ --accent-1: oklch(99.0% 0.005 245);
20
+ --accent-2: oklch(97.5% 0.012 245);
21
+ --accent-3: oklch(94.5% 0.028 245);
22
+ --accent-4: oklch(91.0% 0.050 245);
23
+ --accent-5: oklch(86.5% 0.078 245);
24
+ --accent-6: oklch(81.0% 0.100 245);
25
+ --accent-7: oklch(73.0% 0.130 245);
26
+ --accent-8: oklch(63.0% 0.155 245);
27
+ --accent-9: oklch(54.0% 0.175 245);
28
+ --accent-10: oklch(48.0% 0.175 245);
29
+ --accent-11: oklch(45.0% 0.155 245);
30
+ --accent-12: oklch(22.0% 0.080 245);
31
+
32
+
33
+ --success-3: oklch(95.0% 0.030 150);
34
+ --success-9: oklch(62.0% 0.155 148);
35
+ --success-11: oklch(40.0% 0.110 150);
36
+
37
+ --warning-3: oklch(96.0% 0.040 75);
38
+ --warning-9: oklch(72.0% 0.150 75);
39
+ --warning-11: oklch(48.0% 0.130 75);
40
+
41
+ --danger-3: oklch(96.0% 0.030 25);
42
+ --danger-9: oklch(58.0% 0.190 25);
43
+ --danger-11: oklch(48.0% 0.170 25);
44
+
45
+ --info-3: var(--accent-3);
46
+ --info-9: var(--accent-9);
47
+ --info-11: var(--accent-11);
48
+
49
+
50
+ --surface-page: var(--neutral-1);
51
+ --surface-sidebar: var(--neutral-2);
52
+ --surface-card: var(--neutral-1);
53
+ --surface-popover: var(--neutral-1);
54
+ --surface-hover: var(--neutral-3);
55
+ --surface-active: var(--neutral-4);
56
+ --surface-selected: var(--accent-3);
57
+ --surface-overlay: oklch(0% 0 0 / 0.40);
58
+
59
+
60
+ /* Row surfaces stay solid (color-mix, not alpha) so children that fake a
61
+ cut-out — overlapping avatar rings, dot stacks — can repaint the exact row
62
+ color. They read the inherited --row-surface; each row family points it at
63
+ its own per-state color. */
64
+ --row-surface: var(--surface-page);
65
+
66
+ --side-panel-row-surface: var(--surface-sidebar);
67
+ --side-panel-row-hover-surface: color-mix(in srgb, var(--surface-hover) 60%, var(--surface-sidebar));
68
+ --side-panel-row-selected-surface: color-mix(in srgb, var(--text-primary) 5%, var(--surface-sidebar));
69
+
70
+ --collection-row-hover-surface: color-mix(in srgb, var(--surface-hover) 45%, var(--surface-page));
71
+ --collection-row-active-surface: color-mix(in srgb, var(--surface-hover) 40%, var(--surface-page));
72
+ --collection-row-selected-surface: color-mix(in srgb, var(--accent-9) 7%, var(--surface-page));
73
+ --collection-row-selected-hover-surface: color-mix(in srgb, var(--accent-9) 10%, var(--surface-page));
74
+
75
+
76
+ --border-subtle: var(--neutral-6);
77
+ --border-default: var(--neutral-7);
78
+ --border-strong: var(--neutral-8);
79
+ --divider: oklch(0% 0 0 / 0.08);
80
+
81
+
82
+ --text-primary: var(--neutral-12);
83
+ --text-secondary: var(--neutral-11);
84
+ --text-tertiary: var(--neutral-9);
85
+ --text-on-accent: oklch(99% 0 0);
86
+ --text-accent: var(--accent-11);
87
+
88
+
89
+ --focus-ring: var(--accent-8);
90
+ --focus-ring-offset: var(--surface-page);
91
+
92
+
93
+ --base-unit: 4px;
94
+ --row-height: 32px;
95
+ --radius-sm: 4px;
96
+ --radius: 6px;
97
+ --radius-lg: 8px;
98
+ --radius-xl: 12px;
99
+
100
+
101
+ --font-sans: var(--font-geist-sans, ui-sans-serif, system-ui, -apple-system, sans-serif);
102
+ --font-mono: var(--font-geist-mono, ui-monospace, "SF Mono", Menlo, monospace);
103
+
104
+
105
+ --ease-out-expo: cubic-bezier(0.32, 0.72, 0, 1);
106
+ --duration-fast: 80ms;
107
+ --duration-base: 120ms;
108
+ --duration-slide: 180ms;
109
+ }
110
+
111
+ .dark, [data-theme="dark"] {
112
+ --neutral-1: oklch(17.0% 0.004 80);
113
+ --neutral-2: oklch(20.0% 0.005 80);
114
+ --neutral-3: oklch(23.0% 0.006 80);
115
+ --neutral-4: oklch(26.5% 0.007 80);
116
+ --neutral-5: oklch(30.0% 0.008 80);
117
+ --neutral-6: oklch(33.5% 0.008 80);
118
+ --neutral-7: oklch(38.0% 0.009 80);
119
+ --neutral-8: oklch(46.0% 0.009 80);
120
+ --neutral-9: oklch(58.0% 0.009 80);
121
+ --neutral-10: oklch(64.0% 0.009 80);
122
+ --neutral-11: oklch(72.0% 0.010 80);
123
+ --neutral-12: oklch(96.0% 0.005 80);
124
+
125
+ --accent-1: oklch(20.0% 0.020 245);
126
+ --accent-2: oklch(23.0% 0.040 245);
127
+ --accent-3: oklch(27.0% 0.060 245);
128
+ --accent-4: oklch(31.0% 0.085 245);
129
+ --accent-5: oklch(35.0% 0.105 245);
130
+ --accent-6: oklch(40.0% 0.125 245);
131
+ --accent-7: oklch(48.0% 0.145 245);
132
+ --accent-8: oklch(58.0% 0.165 245);
133
+ --accent-9: oklch(64.0% 0.175 245);
134
+ --accent-10: oklch(70.0% 0.175 245);
135
+ --accent-11: oklch(78.0% 0.155 245);
136
+ --accent-12: oklch(94.0% 0.060 245);
137
+
138
+ --success-3: oklch(26.0% 0.045 150);
139
+ --success-9: oklch(70.0% 0.160 148);
140
+ --success-11: oklch(78.0% 0.130 150);
141
+
142
+ --warning-3: oklch(27.0% 0.050 75);
143
+ --warning-9: oklch(78.0% 0.150 75);
144
+ --warning-11: oklch(82.0% 0.130 75);
145
+
146
+ --danger-3: oklch(26.0% 0.055 25);
147
+ --danger-9: oklch(66.0% 0.190 25);
148
+ --danger-11: oklch(78.0% 0.150 25);
149
+
150
+ --surface-overlay: oklch(0% 0 0 / 0.60);
151
+ --divider: oklch(100% 0 0 / 0.07);
152
+ }
153
+ }
154
+
155
+ html {
156
+ -webkit-text-size-adjust: 100%;
157
+ -webkit-font-smoothing: antialiased;
158
+ -moz-osx-font-smoothing: grayscale;
159
+ text-rendering: optimizeLegibility;
160
+ }
161
+
162
+ body {
163
+ font-family: var(--font-sans);
164
+ font-size: 14px;
165
+ line-height: 1.5;
166
+ background-color: var(--surface-page);
167
+ color: var(--text-primary);
168
+ font-feature-settings: "cv11", "ss01", "ss03";
169
+ }
170
+
171
+ code, kbd, samp, pre, .font-mono {
172
+ font-family: var(--font-mono);
173
+ font-variant-ligatures: none;
174
+ }
175
+
176
+
177
+ th, td, .tabular-nums, .metric {
178
+ font-variant-numeric: tabular-nums;
179
+ }
180
+
181
+
182
+ *:focus-visible {
183
+ outline: 2px solid var(--focus-ring);
184
+ outline-offset: 2px;
185
+ border-radius: var(--radius-sm);
186
+ }
187
+
188
+
189
+ @media (prefers-reduced-motion: reduce) {
190
+ *, *::before, *::after {
191
+ animation-duration: 0.01ms !important;
192
+ transition-duration: 0.01ms !important;
193
+ scroll-behavior: auto !important;
194
+ }
195
+ }
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "@atmos.build/ui",
3
+ "version": "0.1.0",
4
+ "description": "The complete atmOS React component system and MCP App authoring helpers.",
5
+ "type": "module",
6
+ "license": "UNLICENSED",
7
+ "sideEffects": [
8
+ "**/*.css"
9
+ ],
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js"
14
+ },
15
+ "./mcp-app": {
16
+ "types": "./dist/mcp-app/index.d.ts",
17
+ "import": "./dist/mcp-app/index.js"
18
+ },
19
+ "./mcp-app/styles.css": "./dist/mcp-app/styles.css",
20
+ "./mcp-app/vite": {
21
+ "types": "./dist/mcp-app/vite.d.ts",
22
+ "import": "./dist/mcp-app/vite.js"
23
+ },
24
+ "./flow": {
25
+ "types": "./dist/flow/index.d.ts",
26
+ "import": "./dist/flow/index.js"
27
+ },
28
+ "./flow/styles.css": "./dist/flow/styles.css",
29
+ "./tokens.css": "./dist/tokens/tokens.css",
30
+ "./semantic.css": "./dist/tokens/semantic.css",
31
+ "./lib/cn": {
32
+ "types": "./dist/lib/cn.d.ts",
33
+ "import": "./dist/lib/cn.js"
34
+ },
35
+ "./view-query": {
36
+ "types": "./dist/lib/view-query/index.d.ts",
37
+ "import": "./dist/lib/view-query/index.js"
38
+ },
39
+ "./components/*": {
40
+ "types": "./dist/components/*.d.ts",
41
+ "import": "./dist/components/*.js"
42
+ }
43
+ },
44
+ "files": [
45
+ "dist",
46
+ "README.md"
47
+ ],
48
+ "engines": {
49
+ "node": ">=20.19.0"
50
+ },
51
+ "dependencies": {
52
+ "@codemirror/autocomplete": "^6.20.3",
53
+ "@codemirror/lang-sql": "^6.8.0",
54
+ "@codemirror/language": "^6.12.4",
55
+ "@codemirror/state": "^6.7.1",
56
+ "@codemirror/view": "6.43.6",
57
+ "@dnd-kit/core": "^6.3.1",
58
+ "@dnd-kit/sortable": "^10.0.0",
59
+ "@dnd-kit/utilities": "^3.2.2",
60
+ "@emoji-mart/data": "^1.2.1",
61
+ "@lezer/highlight": "^1.2.3",
62
+ "@modelcontextprotocol/ext-apps": "1.7.5",
63
+ "@radix-ui/react-roving-focus": "^1.1.15",
64
+ "@radix-ui/react-slot": "^1.3.0",
65
+ "@tailwindcss/postcss": "^4.3.2",
66
+ "@tanstack/react-virtual": "3.14.6",
67
+ "@tiptap/core": "^2.10.3",
68
+ "@tiptap/extension-placeholder": "^2.10.3",
69
+ "@tiptap/pm": "^2.10.3",
70
+ "@tiptap/react": "^2.10.3",
71
+ "@tiptap/starter-kit": "^2.10.3",
72
+ "@uiw/react-codemirror": "^4.25.11",
73
+ "@vitejs/plugin-react": "^6.0.3",
74
+ "class-variance-authority": "^0.7.1",
75
+ "clsx": "^2.1.1",
76
+ "cmdk": "^1.1.1",
77
+ "lucide-react": "^1.33.0",
78
+ "marked": "^15.0.7",
79
+ "motion": "^12.42.2",
80
+ "postcss": ">=8.5.18",
81
+ "radix-ui": "^1.6.2",
82
+ "reactflow": "^11.11.4",
83
+ "tailwind-merge": "^3.6.0",
84
+ "tailwindcss": "^4.3.2",
85
+ "tw-animate-css": "^1.4.0",
86
+ "use-intl": "^4.13.2",
87
+ "vite": "8.1.4",
88
+ "yjs": "^13.6.31"
89
+ },
90
+ "peerDependencies": {
91
+ "react": "^19.0.0",
92
+ "react-dom": "^19.0.0"
93
+ },
94
+ "publishConfig": {
95
+ "access": "public",
96
+ "registry": "https://registry.npmjs.org/"
97
+ }
98
+ }