@asanchez-sa/abby 0.0.0-stage → 0.1.1

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 (391) hide show
  1. package/README.md +245 -2
  2. package/dist/_virtual/_rolldown/runtime.js +26 -0
  3. package/dist/agents/approvals.d.ts +46 -0
  4. package/dist/agents/approvals.js +58 -0
  5. package/dist/agents/changes.d.ts +21 -0
  6. package/dist/agents/changes.js +21 -0
  7. package/dist/agents/hooks.d.ts +20 -0
  8. package/dist/agents/hooks.js +58 -0
  9. package/dist/agents/index.d.ts +11 -0
  10. package/dist/agents/index.js +9 -0
  11. package/dist/agents/run-tool.d.ts +44 -0
  12. package/dist/agents/run-tool.js +79 -0
  13. package/dist/agents/ui-sdk.d.ts +5 -0
  14. package/dist/agents/ui-sdk.js +3 -0
  15. package/dist/behaviors/canvas/index.d.ts +2 -0
  16. package/dist/behaviors/canvas/index.js +1 -0
  17. package/dist/behaviors/canvas/ui-sdk.d.ts +2 -0
  18. package/dist/behaviors/canvas/ui-sdk.js +1 -0
  19. package/dist/behaviors/drag-and-drop/index.d.ts +2 -0
  20. package/dist/behaviors/drag-and-drop/index.js +1 -0
  21. package/dist/behaviors/drag-and-drop/ui-sdk.d.ts +2 -0
  22. package/dist/behaviors/drag-and-drop/ui-sdk.js +1 -0
  23. package/dist/behaviors/dragging/index.d.ts +2 -0
  24. package/dist/behaviors/dragging/index.js +1 -0
  25. package/dist/behaviors/dragging/ui-sdk.d.ts +2 -0
  26. package/dist/behaviors/dragging/ui-sdk.js +1 -0
  27. package/dist/behaviors/focus/index.d.ts +2 -0
  28. package/dist/behaviors/focus/index.js +1 -0
  29. package/dist/behaviors/focus/ui-sdk.d.ts +2 -0
  30. package/dist/behaviors/focus/ui-sdk.js +1 -0
  31. package/dist/behaviors/lists/index.d.ts +3 -0
  32. package/dist/behaviors/lists/index.js +3 -0
  33. package/dist/behaviors/lists/ui-sdk.d.ts +3 -0
  34. package/dist/behaviors/lists/ui-sdk.js +3 -0
  35. package/dist/behaviors/popups/index.d.ts +3 -0
  36. package/dist/behaviors/popups/index.js +3 -0
  37. package/dist/behaviors/popups/ui-sdk.d.ts +3 -0
  38. package/dist/behaviors/popups/ui-sdk.js +3 -0
  39. package/dist/behaviors/preferences/index.d.ts +3 -0
  40. package/dist/behaviors/preferences/index.js +3 -0
  41. package/dist/behaviors/preferences/ui-sdk.d.ts +3 -0
  42. package/dist/behaviors/preferences/ui-sdk.js +3 -0
  43. package/dist/behaviors/selection/index.d.ts +3 -0
  44. package/dist/behaviors/selection/index.js +3 -0
  45. package/dist/behaviors/selection/indicator.d.ts +13 -0
  46. package/dist/behaviors/selection/indicator.js +20 -0
  47. package/dist/behaviors/selection/ui-sdk.d.ts +2 -0
  48. package/dist/behaviors/selection/ui-sdk.js +1 -0
  49. package/dist/behaviors/transitions/index.d.ts +3 -0
  50. package/dist/behaviors/transitions/index.js +3 -0
  51. package/dist/behaviors/transitions/ui-sdk.d.ts +3 -0
  52. package/dist/behaviors/transitions/ui-sdk.js +3 -0
  53. package/dist/behaviors/trees/index.d.ts +2 -0
  54. package/dist/behaviors/trees/index.js +1 -0
  55. package/dist/behaviors/trees/ui-sdk.d.ts +2 -0
  56. package/dist/behaviors/trees/ui-sdk.js +1 -0
  57. package/dist/components/accordion/accordion.d.ts +13 -0
  58. package/dist/components/accordion/accordion.js +165 -0
  59. package/dist/components/alert/alert.d.ts +13 -0
  60. package/dist/components/alert/alert.js +131 -0
  61. package/dist/components/alert-dialog/alert-dialog.d.ts +15 -0
  62. package/dist/components/alert-dialog/alert-dialog.js +257 -0
  63. package/dist/components/aspect-ratio/aspect-ratio.d.ts +7 -0
  64. package/dist/components/aspect-ratio/aspect-ratio.js +57 -0
  65. package/dist/components/attachment/attachment.d.ts +48 -0
  66. package/dist/components/attachment/attachment.js +372 -0
  67. package/dist/components/autocomplete/autocomplete.d.ts +32 -0
  68. package/dist/components/autocomplete/autocomplete.js +466 -0
  69. package/dist/components/avatar/avatar.d.ts +6 -0
  70. package/dist/components/avatar/avatar.js +100 -0
  71. package/dist/components/avatar-group/avatar-group.d.ts +9 -0
  72. package/dist/components/avatar-group/avatar-group.js +75 -0
  73. package/dist/components/badge/badge.d.ts +15 -0
  74. package/dist/components/badge/badge.js +31 -0
  75. package/dist/components/breadcrumb/breadcrumb.d.ts +24 -0
  76. package/dist/components/breadcrumb/breadcrumb.js +279 -0
  77. package/dist/components/bubble/bubble.d.ts +26 -0
  78. package/dist/components/bubble/bubble.js +173 -0
  79. package/dist/components/button/button.d.ts +18 -0
  80. package/dist/components/button/button.js +91 -0
  81. package/dist/components/button-group/button-group.d.ts +15 -0
  82. package/dist/components/button-group/button-group.js +71 -0
  83. package/dist/components/calendar/calendar.d.ts +29 -0
  84. package/dist/components/calendar/calendar.js +453 -0
  85. package/dist/components/card/card.d.ts +14 -0
  86. package/dist/components/card/card.js +213 -0
  87. package/dist/components/carousel/carousel.d.ts +16 -0
  88. package/dist/components/carousel/carousel.js +364 -0
  89. package/dist/components/chain-of-thought/chain-of-thought.d.ts +72 -0
  90. package/dist/components/chain-of-thought/chain-of-thought.js +491 -0
  91. package/dist/components/chat/chat.d.ts +48 -0
  92. package/dist/components/chat/chat.js +207 -0
  93. package/dist/components/checkbox/checkbox.d.ts +10 -0
  94. package/dist/components/checkbox/checkbox.js +118 -0
  95. package/dist/components/checkpoint/checkpoint.d.ts +24 -0
  96. package/dist/components/checkpoint/checkpoint.js +178 -0
  97. package/dist/components/choice-cards/choice-cards.d.ts +38 -0
  98. package/dist/components/choice-cards/choice-cards.js +255 -0
  99. package/dist/components/code-block/code-block.d.ts +58 -0
  100. package/dist/components/code-block/code-block.js +506 -0
  101. package/dist/components/code-block/highlighter.js +96 -0
  102. package/dist/components/code-block/use-highlighted-code.d.ts +11 -0
  103. package/dist/components/code-block/use-highlighted-code.js +54 -0
  104. package/dist/components/collapsible/collapsible.d.ts +10 -0
  105. package/dist/components/collapsible/collapsible.js +92 -0
  106. package/dist/components/color-picker/color-picker.d.ts +17 -0
  107. package/dist/components/color-picker/color-picker.js +395 -0
  108. package/dist/components/combobox/combobox.d.ts +54 -0
  109. package/dist/components/combobox/combobox.js +683 -0
  110. package/dist/components/command/command.d.ts +23 -0
  111. package/dist/components/command/command.js +373 -0
  112. package/dist/components/command-dock/command-dock.d.ts +118 -0
  113. package/dist/components/command-dock/command-dock.js +944 -0
  114. package/dist/components/confirmation/confirmation.d.ts +58 -0
  115. package/dist/components/confirmation/confirmation.js +181 -0
  116. package/dist/components/context/context.d.ts +82 -0
  117. package/dist/components/context/context.js +490 -0
  118. package/dist/components/date-input/date-input.d.ts +16 -0
  119. package/dist/components/date-input/date-input.js +89 -0
  120. package/dist/components/date-picker/date-picker.d.ts +28 -0
  121. package/dist/components/date-picker/date-picker.js +361 -0
  122. package/dist/components/dialog/dialog.d.ts +14 -0
  123. package/dist/components/dialog/dialog.js +261 -0
  124. package/dist/components/drawer/drawer.d.ts +16 -0
  125. package/dist/components/drawer/drawer.js +309 -0
  126. package/dist/components/empty/empty.d.ts +18 -0
  127. package/dist/components/empty/empty.js +192 -0
  128. package/dist/components/field/field.d.ts +15 -0
  129. package/dist/components/field/field.js +261 -0
  130. package/dist/components/file-input/file-input.d.ts +12 -0
  131. package/dist/components/file-input/file-input.js +216 -0
  132. package/dist/components/file-tree/file-tree.d.ts +45 -0
  133. package/dist/components/file-tree/file-tree.js +283 -0
  134. package/dist/components/hover-card/hover-card.d.ts +10 -0
  135. package/dist/components/hover-card/hover-card.js +118 -0
  136. package/dist/components/icon/icon.d.ts +14 -0
  137. package/dist/components/icon/icon.js +60 -0
  138. package/dist/components/image-cropper/image-cropper.d.ts +15 -0
  139. package/dist/components/image-cropper/image-cropper.js +334 -0
  140. package/dist/components/inline-citation/inline-citation.d.ts +46 -0
  141. package/dist/components/inline-citation/inline-citation.js +269 -0
  142. package/dist/components/input/input.d.ts +9 -0
  143. package/dist/components/input/input.js +43 -0
  144. package/dist/components/input-group/input-group.d.ts +42 -0
  145. package/dist/components/input-group/input-group.js +192 -0
  146. package/dist/components/item/item.d.ts +32 -0
  147. package/dist/components/item/item.js +394 -0
  148. package/dist/components/kbd/kbd.d.ts +9 -0
  149. package/dist/components/kbd/kbd.js +75 -0
  150. package/dist/components/label/label.d.ts +6 -0
  151. package/dist/components/label/label.js +40 -0
  152. package/dist/components/link/link.d.ts +21 -0
  153. package/dist/components/link/link.js +126 -0
  154. package/dist/components/listbox/listbox.d.ts +20 -0
  155. package/dist/components/listbox/listbox.js +199 -0
  156. package/dist/components/marker/marker.d.ts +11 -0
  157. package/dist/components/marker/marker.js +88 -0
  158. package/dist/components/menu/menu.d.ts +38 -0
  159. package/dist/components/menu/menu.js +553 -0
  160. package/dist/components/menubar/menubar.d.ts +9 -0
  161. package/dist/components/menubar/menubar.js +47 -0
  162. package/dist/components/message/message.d.ts +44 -0
  163. package/dist/components/message/message.js +328 -0
  164. package/dist/components/message-scroller/message-scroller.d.ts +111 -0
  165. package/dist/components/message-scroller/message-scroller.js +957 -0
  166. package/dist/components/meter/meter.d.ts +8 -0
  167. package/dist/components/meter/meter.js +162 -0
  168. package/dist/components/model-selector/model-selector.d.ts +155 -0
  169. package/dist/components/model-selector/model-selector.js +905 -0
  170. package/dist/components/native-select/native-select.d.ts +27 -0
  171. package/dist/components/native-select/native-select.js +226 -0
  172. package/dist/components/navigation-menu/navigation-menu.d.ts +29 -0
  173. package/dist/components/navigation-menu/navigation-menu.js +318 -0
  174. package/dist/components/not-label.js +9 -0
  175. package/dist/components/note-editor/blocks.d.ts +22 -0
  176. package/dist/components/note-editor/blocks.js +245 -0
  177. package/dist/components/note-editor/diff.d.ts +19 -0
  178. package/dist/components/note-editor/diff.js +64 -0
  179. package/dist/components/note-editor/editor.js +249 -0
  180. package/dist/components/note-editor/note-editor.d.ts +109 -0
  181. package/dist/components/note-editor/note-editor.js +954 -0
  182. package/dist/components/note-editor/parts/comments.d.ts +24 -0
  183. package/dist/components/note-editor/parts/comments.js +337 -0
  184. package/dist/components/note-editor/parts/header.d.ts +25 -0
  185. package/dist/components/note-editor/parts/header.js +263 -0
  186. package/dist/components/note-editor/parts/history.d.ts +56 -0
  187. package/dist/components/note-editor/parts/history.js +409 -0
  188. package/dist/components/note-editor/parts/presence.d.ts +31 -0
  189. package/dist/components/note-editor/parts/presence.js +140 -0
  190. package/dist/components/note-editor/parts/suggestions.d.ts +45 -0
  191. package/dist/components/note-editor/parts/suggestions.js +316 -0
  192. package/dist/components/note-editor/parts/toolbar.d.ts +38 -0
  193. package/dist/components/note-editor/parts/toolbar.js +687 -0
  194. package/dist/components/note-editor/people.d.ts +84 -0
  195. package/dist/components/note-editor/people.js +276 -0
  196. package/dist/components/note-editor/person.d.ts +11 -0
  197. package/dist/components/note-editor/person.js +15 -0
  198. package/dist/components/note-place/note-place.d.ts +42 -0
  199. package/dist/components/note-place/note-place.js +256 -0
  200. package/dist/components/note-status/note-status.d.ts +59 -0
  201. package/dist/components/note-status/note-status.js +380 -0
  202. package/dist/components/number-input/number-input.d.ts +12 -0
  203. package/dist/components/number-input/number-input.js +252 -0
  204. package/dist/components/otp-input/otp-input.d.ts +12 -0
  205. package/dist/components/otp-input/otp-input.js +136 -0
  206. package/dist/components/pagination/pagination.d.ts +23 -0
  207. package/dist/components/pagination/pagination.js +218 -0
  208. package/dist/components/password-input/password-input.d.ts +11 -0
  209. package/dist/components/password-input/password-input.js +117 -0
  210. package/dist/components/plan/plan.d.ts +51 -0
  211. package/dist/components/plan/plan.js +320 -0
  212. package/dist/components/popover/popover.d.ts +16 -0
  213. package/dist/components/popover/popover.js +268 -0
  214. package/dist/components/preferences/preferences.d.ts +5 -0
  215. package/dist/components/preferences/preferences.js +18 -0
  216. package/dist/components/progress/progress.d.ts +8 -0
  217. package/dist/components/progress/progress.js +162 -0
  218. package/dist/components/prompt-input/prompt-input.d.ts +247 -0
  219. package/dist/components/prompt-input/prompt-input.js +1367 -0
  220. package/dist/components/questionnaire/questionnaire.d.ts +174 -0
  221. package/dist/components/questionnaire/questionnaire.js +1628 -0
  222. package/dist/components/queue/queue.d.ts +82 -0
  223. package/dist/components/queue/queue.js +471 -0
  224. package/dist/components/radio/radio.d.ts +7 -0
  225. package/dist/components/radio/radio.js +101 -0
  226. package/dist/components/rating/rating.d.ts +10 -0
  227. package/dist/components/rating/rating.js +95 -0
  228. package/dist/components/reasoning/reasoning.d.ts +50 -0
  229. package/dist/components/reasoning/reasoning.js +233 -0
  230. package/dist/components/resizable/resizable.d.ts +6 -0
  231. package/dist/components/resizable/resizable.js +100 -0
  232. package/dist/components/scroll-area/scroll-area.d.ts +17 -0
  233. package/dist/components/scroll-area/scroll-area.js +211 -0
  234. package/dist/components/segmented-control/segmented-control.d.ts +16 -0
  235. package/dist/components/segmented-control/segmented-control.js +142 -0
  236. package/dist/components/select/select.d.ts +43 -0
  237. package/dist/components/select/select.js +577 -0
  238. package/dist/components/separator/separator.d.ts +4 -0
  239. package/dist/components/separator/separator.js +38 -0
  240. package/dist/components/sheet/sheet.d.ts +24 -0
  241. package/dist/components/sheet/sheet.js +330 -0
  242. package/dist/components/sidebar/sidebar.d.ts +138 -0
  243. package/dist/components/sidebar/sidebar.js +1374 -0
  244. package/dist/components/skeleton/skeleton.d.ts +4 -0
  245. package/dist/components/skeleton/skeleton.js +40 -0
  246. package/dist/components/slider/slider.d.ts +9 -0
  247. package/dist/components/slider/slider.js +193 -0
  248. package/dist/components/sources/sources.d.ts +35 -0
  249. package/dist/components/sources/sources.js +209 -0
  250. package/dist/components/spinner/spinner.d.ts +11 -0
  251. package/dist/components/spinner/spinner.js +59 -0
  252. package/dist/components/stack-trace/parse-stack-trace.d.ts +21 -0
  253. package/dist/components/stack-trace/parse-stack-trace.js +61 -0
  254. package/dist/components/stack-trace/stack-trace.d.ts +79 -0
  255. package/dist/components/stack-trace/stack-trace.js +434 -0
  256. package/dist/components/subagent/subagent.d.ts +71 -0
  257. package/dist/components/subagent/subagent.js +450 -0
  258. package/dist/components/suggestion/suggestion.d.ts +21 -0
  259. package/dist/components/suggestion/suggestion.js +130 -0
  260. package/dist/components/switch/switch.d.ts +6 -0
  261. package/dist/components/switch/switch.js +70 -0
  262. package/dist/components/table/table.d.ts +19 -0
  263. package/dist/components/table/table.js +284 -0
  264. package/dist/components/table-of-contents/spy.js +84 -0
  265. package/dist/components/table-of-contents/table-of-contents.d.ts +92 -0
  266. package/dist/components/table-of-contents/table-of-contents.js +787 -0
  267. package/dist/components/tabs/tabs.d.ts +25 -0
  268. package/dist/components/tabs/tabs.js +273 -0
  269. package/dist/components/task/task.d.ts +40 -0
  270. package/dist/components/task/task.js +262 -0
  271. package/dist/components/terminal/terminal.d.ts +82 -0
  272. package/dist/components/terminal/terminal.js +457 -0
  273. package/dist/components/test-results/test-results.d.ts +127 -0
  274. package/dist/components/test-results/test-results.js +687 -0
  275. package/dist/components/textarea/textarea.d.ts +8 -0
  276. package/dist/components/textarea/textarea.js +43 -0
  277. package/dist/components/time-input/time-input.d.ts +7 -0
  278. package/dist/components/time-input/time-input.js +82 -0
  279. package/dist/components/timeline/timeline.d.ts +19 -0
  280. package/dist/components/timeline/timeline.js +247 -0
  281. package/dist/components/toast/toast.d.ts +12 -0
  282. package/dist/components/toast/toast.js +285 -0
  283. package/dist/components/toggle/toggle.d.ts +15 -0
  284. package/dist/components/toggle/toggle.js +137 -0
  285. package/dist/components/token-input/token-input.d.ts +7 -0
  286. package/dist/components/token-input/token-input.js +117 -0
  287. package/dist/components/tool/tool.d.ts +66 -0
  288. package/dist/components/tool/tool.js +413 -0
  289. package/dist/components/toolbar/toolbar.d.ts +91 -0
  290. package/dist/components/toolbar/toolbar.js +655 -0
  291. package/dist/components/tooltip/tooltip.d.ts +8 -0
  292. package/dist/components/tooltip/tooltip.js +97 -0
  293. package/dist/components/trace/trace.d.ts +31 -0
  294. package/dist/components/trace/trace.js +309 -0
  295. package/dist/components/tree/tree.d.ts +13 -0
  296. package/dist/components/tree/tree.js +258 -0
  297. package/dist/components/trigger-menu/trigger-menu.d.ts +30 -0
  298. package/dist/components/trigger-menu/trigger-menu.js +352 -0
  299. package/dist/components/usage/usage.d.ts +132 -0
  300. package/dist/components/usage/usage.js +1368 -0
  301. package/dist/components/waterfall/waterfall.d.ts +20 -0
  302. package/dist/components/waterfall/waterfall.js +360 -0
  303. package/dist/components/week-strip/week-strip.d.ts +177 -0
  304. package/dist/components/week-strip/week-strip.js +1081 -0
  305. package/dist/core/index.d.ts +7 -0
  306. package/dist/core/index.js +27 -0
  307. package/dist/core/ui-sdk.d.ts +3 -0
  308. package/dist/core/ui-sdk.js +3 -0
  309. package/dist/core/use-primitive-state.d.ts +14 -0
  310. package/dist/core/use-primitive-state.js +25 -0
  311. package/dist/styles/LICENSE-shadcn.md +21 -0
  312. package/dist/styles/color-scheme.css +32 -0
  313. package/dist/styles/components.css +303 -0
  314. package/dist/styles/index.css +41 -0
  315. package/dist/styles/tokens.css +474 -0
  316. package/dist/styles/typeset/shadcn.css +506 -0
  317. package/dist/styles/typeset.css +70 -0
  318. package/dist/styles/utilities.css +555 -0
  319. package/dist/tools/observe/index.d.ts +2 -0
  320. package/dist/tools/observe/index.js +3 -0
  321. package/dist/tools/observe/ui-sdk.d.ts +1 -0
  322. package/dist/tools/observe/ui-sdk.js +2 -0
  323. package/dist/tools/testing/check-agent.d.ts +28 -0
  324. package/dist/tools/testing/check-agent.js +42 -0
  325. package/dist/tools/testing/index.d.ts +4 -0
  326. package/dist/tools/testing/index.js +4 -0
  327. package/dist/tools/testing/ui-sdk.d.ts +1 -0
  328. package/dist/tools/testing/ui-sdk.js +2 -0
  329. package/dist/utilities/cn/index.d.ts +12 -0
  330. package/dist/utilities/cn/index.js +47 -0
  331. package/dist/utilities/color/index.d.ts +2 -0
  332. package/dist/utilities/color/index.js +3 -0
  333. package/dist/utilities/color/ui-sdk.d.ts +1 -0
  334. package/dist/utilities/color/ui-sdk.js +2 -0
  335. package/dist/utilities/date/index.d.ts +2 -0
  336. package/dist/utilities/date/index.js +6 -0
  337. package/dist/utilities/date/ui-sdk.d.ts +1 -0
  338. package/dist/utilities/date/ui-sdk.js +2 -0
  339. package/dist/utilities/image/index.d.ts +2 -0
  340. package/dist/utilities/image/index.js +3 -0
  341. package/dist/utilities/image/ui-sdk.d.ts +1 -0
  342. package/dist/utilities/image/ui-sdk.js +2 -0
  343. package/dist/utilities/mobile/index.d.ts +2 -0
  344. package/dist/utilities/mobile/index.js +1 -0
  345. package/dist/utilities/mobile/ui-sdk.d.ts +2 -0
  346. package/dist/utilities/mobile/ui-sdk.js +1 -0
  347. package/dist/utilities/number/index.d.ts +2 -0
  348. package/dist/utilities/number/index.js +3 -0
  349. package/dist/utilities/number/ui-sdk.d.ts +1 -0
  350. package/dist/utilities/number/ui-sdk.js +2 -0
  351. package/dist/utilities/platform/index.d.ts +3 -0
  352. package/dist/utilities/platform/index.js +14 -0
  353. package/dist/utilities/platform/ui-sdk.d.ts +3 -0
  354. package/dist/utilities/platform/ui-sdk.js +3 -0
  355. package/dist/utilities/storage/index.d.ts +2 -0
  356. package/dist/utilities/storage/index.js +1 -0
  357. package/dist/utilities/storage/ui-sdk.d.ts +2 -0
  358. package/dist/utilities/storage/ui-sdk.js +1 -0
  359. package/dist/utilities/text/index.d.ts +3 -0
  360. package/dist/utilities/text/index.js +3 -0
  361. package/dist/utilities/text/ui-sdk.d.ts +3 -0
  362. package/dist/utilities/text/ui-sdk.js +3 -0
  363. package/package.json +192 -4
  364. package/skills/agent-ready-ui/SKILL.md +229 -0
  365. package/skills/blocks/SKILL.md +262 -0
  366. package/skills/compose-screens/SKILL.md +354 -0
  367. package/skills/note-editor/SKILL.md +493 -0
  368. package/skills/note-status/SKILL.md +295 -0
  369. package/skills/setup/SKILL.md +136 -0
  370. package/skills/theming/SKILL.md +216 -0
  371. package/src/blocks/notes/adapters.ts +77 -0
  372. package/src/blocks/notes/data.ts +508 -0
  373. package/src/blocks/notes/notes-block.tsx +244 -0
  374. package/src/blocks/notes/parts/home.tsx +219 -0
  375. package/src/blocks/notes/parts/no-access.tsx +84 -0
  376. package/src/blocks/notes/parts/note-screen.tsx +412 -0
  377. package/src/blocks/notes/parts/notes-sidebar.tsx +277 -0
  378. package/src/blocks/notes/parts/panels.tsx +393 -0
  379. package/src/blocks/notes/parts/place.ts +15 -0
  380. package/src/blocks/notes/parts/review-dialog.tsx +159 -0
  381. package/src/blocks/notes/parts/share.tsx +172 -0
  382. package/src/blocks/notes/texts.ts +135 -0
  383. package/src/blocks/shell/adapters.ts +69 -0
  384. package/src/blocks/shell/data.ts +281 -0
  385. package/src/blocks/shell/parts/compose.tsx +292 -0
  386. package/src/blocks/shell/parts/home.tsx +203 -0
  387. package/src/blocks/shell/parts/marks.tsx +144 -0
  388. package/src/blocks/shell/parts/rail.tsx +166 -0
  389. package/src/blocks/shell/parts/rooms-column.tsx +326 -0
  390. package/src/blocks/shell/shell-block.tsx +210 -0
  391. package/src/blocks/shell/texts.ts +80 -0
@@ -0,0 +1,7 @@
1
+ import { ActionDetails, Attrs, ChangeDetails, ChangeOptions, ChangeReason, ChangeSource, CommitDetails, DismissAttemptDetails, DismissAttemptReason, DismissReason, OptionsOf, Part, Primitive, PrimitiveContext, PrimitiveInstance, PrimitiveOptions, PropSchema, PropSpec, PropsOf, ReasonVocabulary, SlotDefinition, SlotFactory, SlotName, StateOf, Store, TypesOf, UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "./ui-sdk.js";
2
+ import { usePrimitiveState } from "./use-primitive-state.js";
3
+ export * from "@ui-sdk/react/primitive";
4
+ declare namespace index_d_exports {
5
+ export { ActionDetails, Attrs, ChangeDetails, ChangeOptions, ChangeReason, ChangeSource, CommitDetails, DismissAttemptDetails, DismissAttemptReason, DismissReason, OptionsOf, Part, Primitive, PrimitiveContext, PrimitiveInstance, PrimitiveOptions, PropSchema, PropSpec, PropsOf, ReasonVocabulary, SlotDefinition, SlotFactory, SlotName, StateOf, Store, TypesOf, UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf, usePrimitiveState };
6
+ }
7
+ export { type ActionDetails, type Attrs, type ChangeDetails, type ChangeOptions, type ChangeReason, type ChangeSource, type CommitDetails, type DismissAttemptDetails, type DismissAttemptReason, type DismissReason, type OptionsOf, type Part, type Primitive, type PrimitiveContext, type PrimitiveInstance, type PrimitiveOptions, type PropSchema, type PropSpec, type PropsOf, type ReasonVocabulary, type SlotDefinition, type SlotFactory, type SlotName, type StateOf, type Store, type TypesOf, type UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, index_d_exports, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf, usePrimitiveState };
@@ -0,0 +1,27 @@
1
+ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
+ import { checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "./ui-sdk.js";
3
+ import { usePrimitiveState } from "./use-primitive-state.js";
4
+ export * from "@ui-sdk/react/primitive";
5
+ // src/core/index.ts
6
+ var core_exports = /* @__PURE__ */ __exportAll({
7
+ checkedAttrs: () => checkedAttrs,
8
+ createChange: () => createChange,
9
+ createCommit: () => createCommit,
10
+ createController: () => createController,
11
+ createUndoStack: () => createUndoStack,
12
+ css: () => css,
13
+ definePrimitive: () => definePrimitive,
14
+ direct: () => direct,
15
+ dispatch: () => dispatch,
16
+ elements: () => elements,
17
+ idPart: () => idPart,
18
+ isDismissal: () => isDismissal,
19
+ isFocusFromKeyboard: () => isFocusFromKeyboard,
20
+ live: () => live,
21
+ openAttrs: () => openAttrs,
22
+ selects: () => selects,
23
+ settleDraft: () => settleDraft,
24
+ sourceOf: () => sourceOf,
25
+ usePrimitiveState: () => usePrimitiveState
26
+ });
27
+ export { checkedAttrs, core_exports, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf, usePrimitiveState };
@@ -0,0 +1,3 @@
1
+ import { ActionDetails, Attrs, ChangeDetails, ChangeOptions, ChangeReason, ChangeSource, CommitDetails, DismissAttemptDetails, DismissAttemptReason, DismissReason, OptionsOf, Part, Primitive, PrimitiveContext, PrimitiveInstance, PrimitiveOptions, PropSchema, PropSpec, PropsOf, ReasonVocabulary, SlotDefinition, SlotFactory, SlotName, StateOf, Store, TypesOf, UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "@ui-sdk/core";
2
+ export * from "@ui-sdk/react/primitive";
3
+ export { type ActionDetails, type Attrs, type ChangeDetails, type ChangeOptions, type ChangeReason, type ChangeSource, type CommitDetails, type DismissAttemptDetails, type DismissAttemptReason, type DismissReason, type OptionsOf, type Part, type Primitive, type PrimitiveContext, type PrimitiveInstance, type PrimitiveOptions, type PropSchema, type PropSpec, type PropsOf, type ReasonVocabulary, type SlotDefinition, type SlotFactory, type SlotName, type StateOf, type Store, type TypesOf, type UndoStackOptions, checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf };
@@ -0,0 +1,3 @@
1
+ import "../_virtual/_rolldown/runtime.js";
2
+ export { checkedAttrs, createChange, createCommit, createController, createUndoStack, css, definePrimitive, direct, dispatch, elements, idPart, isDismissal, isFocusFromKeyboard, live, openAttrs, selects, settleDraft, sourceOf } from "@ui-sdk/core";
3
+ export * from "@ui-sdk/react/primitive";
@@ -0,0 +1,14 @@
1
+ type StateSource<State> = {
2
+ instance: {
3
+ subscribe: (listener: () => void) => () => void;
4
+ get: () => State;
5
+ };
6
+ readonly state: State;
7
+ };
8
+ /**
9
+ * The state of a primitive, for a component that isn't one of its parts, like
10
+ * a `use<Name>` hook over the handle a root shares through context. Reading
11
+ * `handle.state` alone doesn't subscribe; this re-renders when the state changes.
12
+ */
13
+ declare function usePrimitiveState<State>(handle: StateSource<State>): State;
14
+ export { usePrimitiveState };
@@ -0,0 +1,25 @@
1
+ import { c } from "react/compiler-runtime";
2
+ import { useSyncExternalStore } from "react";
3
+ // src/core/use-primitive-state.ts
4
+ /**
5
+ * The state of a primitive, for a component that isn't one of its parts, like
6
+ * a `use<Name>` hook over the handle a root shares through context. Reading
7
+ * `handle.state` alone doesn't subscribe; this re-renders when the state changes.
8
+ */
9
+ function usePrimitiveState(handle) {
10
+ const $ = c(4);
11
+ let t0;
12
+ if ($[0] !== handle.instance) {
13
+ t0 = () => handle.instance.get();
14
+ $[0] = handle.instance;
15
+ $[1] = t0;
16
+ } else t0 = $[1];
17
+ let t1;
18
+ if ($[2] !== handle.state) {
19
+ t1 = () => handle.state;
20
+ $[2] = handle.state;
21
+ $[3] = t1;
22
+ } else t1 = $[3];
23
+ return useSyncExternalStore(handle.instance.subscribe, t0, t1);
24
+ }
25
+ export { usePrimitiveState };
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 shadcn
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,32 @@
1
+ /*
2
+ * `createColorScheme` from abby/behaviors/preferences writes `data-color-scheme`
3
+ * on <html>. Set it on any element to fix the scheme of that area.
4
+ * With no attribute, or with "system", the device decides.
5
+ * shadcn's `.dark` class works as an alias of `data-color-scheme="dark"`.
6
+ */
7
+ :root,
8
+ [data-color-scheme="system"] {
9
+ color-scheme: light dark;
10
+ }
11
+
12
+ [data-color-scheme="light"] {
13
+ color-scheme: light;
14
+ }
15
+
16
+ [data-color-scheme="dark"],
17
+ .dark {
18
+ color-scheme: dark;
19
+ }
20
+
21
+ /* `dark:` covers the Dark choice and also System on a dark device. */
22
+ @custom-variant dark {
23
+ &:where([data-color-scheme="dark"], [data-color-scheme="dark"] *, .dark, .dark *) {
24
+ @slot;
25
+ }
26
+
27
+ @media (prefers-color-scheme: dark) {
28
+ &:where(:not([data-color-scheme="light"], [data-color-scheme="light"] *)) {
29
+ @slot;
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,303 @@
1
+ /*
2
+ * What abby's components share: one focus ring, one caret, the look of a popup and its rows, and one way for a popup to
3
+ * enter and leave. A component uses these instead of writing its own.
4
+ */
5
+
6
+ /*
7
+ * The focus ring, outside the control: a thin ink line just off its edge and
8
+ * a faint halo around it (`--focus-ring`, `--focus-halo`, and the line's
9
+ * `--focus-ring-width` and `--focus-ring-offset`, all a theme's). Set
10
+ * `--focus-ring` on a region to change the line there, as the sidebar does.
11
+ * The halo joins Tailwind's shadow stack, so a control's own shadow or ring
12
+ * stays while it has focus.
13
+ */
14
+ @utility focus-ring {
15
+ outline: var(--focus-ring-width) solid transparent;
16
+ outline-offset: var(--focus-ring-offset);
17
+
18
+ &:focus-visible {
19
+ @apply focus-mark;
20
+ }
21
+ }
22
+
23
+ /*
24
+ * The focus ring inside the control's edge, for a control in a container
25
+ * that clips: the line only, as far in as `focus-ring` stands out, with no
26
+ * room for a halo.
27
+ */
28
+ @utility focus-ring-inset {
29
+ @apply focus-outline-inset;
30
+
31
+ &:focus-visible {
32
+ outline-color: var(--focus-ring, var(--ring));
33
+ }
34
+ }
35
+
36
+ /*
37
+ * The focus ring on a part whose focus goes to an element inside it, like a
38
+ * slider's thumb around its range input. The line only: such a part often
39
+ * draws a ring of its own on hover.
40
+ */
41
+ @utility focus-ring-within {
42
+ @apply focus-outline;
43
+
44
+ &:has(:focus-visible) {
45
+ outline-color: var(--focus-ring, var(--ring));
46
+ }
47
+ }
48
+
49
+ /*
50
+ * The ring's shape with no condition, for a part that lights it on its own
51
+ * terms (a highlighted row, an active slot, a box around a focused child):
52
+ * add `outline-[color:var(--focus-ring,var(--ring))]` or `focus-mark` under
53
+ * that condition.
54
+ */
55
+ @utility focus-outline {
56
+ outline: var(--focus-ring-width) solid transparent;
57
+ outline-offset: var(--focus-ring-offset);
58
+ }
59
+
60
+ /* The same, inside the edge. */
61
+ @utility focus-outline-inset {
62
+ outline: var(--focus-ring-width) solid transparent;
63
+ outline-offset: calc(-1 * (var(--focus-ring-width) + var(--focus-ring-offset)));
64
+ }
65
+
66
+ /* The lit ring: the line and the halo, on a part that has `focus-outline`. */
67
+ @utility focus-mark {
68
+ outline-color: var(--focus-ring, var(--ring));
69
+ box-shadow:
70
+ var(--tw-inset-shadow, 0 0 #0000),
71
+ var(--tw-inset-ring-shadow, 0 0 #0000),
72
+ var(--tw-ring-offset-shadow, 0 0 #0000),
73
+ var(--tw-ring-shadow, 0 0 #0000),
74
+ var(--tw-shadow, 0 0 #0000),
75
+ 0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width) + 3px) var(--focus-halo);
76
+ }
77
+
78
+ /*
79
+ * A text field's focus, which shows on a click as well as on the keyboard,
80
+ * as Alma draws it: the edge darkens to the focus line and a faint halo sits
81
+ * outside, instead of the ring a button gets. `--focus-ring` and
82
+ * `--focus-halo` change them, as on the ring.
83
+ */
84
+ @utility focus-field {
85
+ outline: 3px solid transparent;
86
+ outline-offset: 0;
87
+
88
+ &:focus-visible {
89
+ border-color: var(--focus-ring, var(--ring));
90
+ outline-color: var(--focus-halo);
91
+ }
92
+ }
93
+
94
+ /* A field's focus on a box whose focus goes to an element inside, like a date input's segments. */
95
+ @utility focus-field-within {
96
+ outline: 3px solid transparent;
97
+ outline-offset: 0;
98
+
99
+ &:has(:focus-visible) {
100
+ border-color: var(--focus-ring, var(--ring));
101
+ outline-color: var(--focus-halo);
102
+ }
103
+ }
104
+
105
+ /*
106
+ * A field's focus on a box that holds a text field and other controls, like
107
+ * an input group or a command dock: only the field's focus marks the box. A
108
+ * button or a row inside draws its own ring, so the box doesn't mark it again.
109
+ */
110
+ @utility focus-ring-field {
111
+ outline: 3px solid transparent;
112
+ outline-offset: 0;
113
+
114
+ &:has(:is(input, textarea):focus-visible) {
115
+ border-color: var(--focus-ring, var(--ring));
116
+ outline-color: var(--focus-halo);
117
+ }
118
+ }
119
+
120
+ /* A drawn text caret, for a control that hides the input's own. */
121
+ @utility caret-blink {
122
+ @media (prefers-reduced-motion: no-preference) {
123
+ animation: caret-blink 1.2s step-end infinite;
124
+ }
125
+ }
126
+
127
+ @keyframes caret-blink {
128
+ 50% {
129
+ opacity: 0;
130
+ }
131
+ }
132
+
133
+ /* The surface of a popup that floats over the page: a popover, a menu, a list of options. */
134
+ @utility popup-surface {
135
+ @apply bg-popover text-popover-foreground shadow-md ring-1 ring-border outline-none;
136
+ }
137
+
138
+ /*
139
+ * The arrow of a popup: a square on the edge that faces the trigger, turned
140
+ * so its bordered corner points out.
141
+ */
142
+ @utility popup-arrow {
143
+ @apply size-2.5 border-t border-l border-foreground/10 bg-popover data-[side=bottom]:-top-1.25 data-[side=bottom]:rotate-45 data-[side=left]:-right-1.25 data-[side=left]:rotate-135 data-[side=right]:-left-1.25 data-[side=right]:-rotate-45 data-[side=top]:-bottom-1.25 data-[side=top]:rotate-225;
144
+ }
145
+
146
+ /*
147
+ * A row in a list of options or a menu, Alma's: 8px corners in a 12px popup
148
+ * (`rounded-xl` with `p-1`). The tint alone doesn't read at 3:1,
149
+ * so a highlight the keyboard made also takes the focus ring, even while
150
+ * focus stays in a search field. A pointer's highlight takes the tint only.
151
+ */
152
+ @utility list-row {
153
+ @apply relative flex w-full shrink-0 cursor-default items-center gap-2 rounded-md px-2 py-1.5 text-sm select-none focus-ring-inset data-disabled:pointer-events-none data-disabled:opacity-50 data-highlighted:bg-accent data-highlighted:text-accent-foreground in-data-[modality=keyboard]:data-highlighted:outline-[color:var(--focus-ring,var(--ring))] in-data-[modality=pointer]:focus-visible:outline-transparent [&_svg]:pointer-events-none [&_svg]:shrink-0;
154
+ }
155
+
156
+ /*
157
+ * Press feedback for anything that is pressed like a button: it steps back
158
+ * while it is held, so the press is felt before the action answers. It also
159
+ * carries the color transition, in place of `transition-colors`.
160
+ */
161
+ @utility press {
162
+ transition-property:
163
+ color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, scale;
164
+ transition-duration:
165
+ var(--default-transition-duration), var(--default-transition-duration),
166
+ var(--default-transition-duration), var(--default-transition-duration),
167
+ var(--default-transition-duration), var(--default-transition-duration),
168
+ var(--default-transition-duration), var(--transition-duration-press);
169
+ transition-timing-function: ease, ease, ease, ease, ease, ease, ease, var(--ease-out);
170
+ /* The press is the feedback: no gray flash on a phone, and no wait for a double tap. */
171
+ -webkit-tap-highlight-color: transparent;
172
+ touch-action: manipulation;
173
+
174
+ &:active:not([data-disabled], :disabled) {
175
+ scale: 0.97;
176
+ }
177
+
178
+ @media (prefers-reduced-motion: reduce) {
179
+ &:active:not([data-disabled], :disabled) {
180
+ scale: none;
181
+ }
182
+ }
183
+ }
184
+
185
+ /*
186
+ * The entrance of something that appears in the page, like the next step of
187
+ * a form: it fades in and rises `--enter-distance`. Set `--enter-delay` on
188
+ * each item to stagger a short group, 30 to 80ms apart. Not for a popup,
189
+ * which takes `popup-motion`, or for a row in a list people open all day.
190
+ */
191
+ @utility motion-enter {
192
+ transition-property: opacity, translate;
193
+ transition-duration: var(--enter-duration, var(--transition-duration-popup));
194
+ transition-timing-function: var(--ease-out);
195
+ transition-delay: var(--enter-delay, 0ms);
196
+
197
+ @starting-style {
198
+ opacity: 0;
199
+ translate: 0 var(--enter-distance, 0.25rem);
200
+ }
201
+
202
+ /* Still fades, without moving or waiting. */
203
+ @media (prefers-reduced-motion: reduce) {
204
+ transition-property: opacity;
205
+ transition-delay: 0ms;
206
+ }
207
+ }
208
+
209
+ /*
210
+ * The dim behind a dialog or a sheet. It fades with the popup. A theme sets
211
+ * its color and blur with `--popup-backdrop` and `--popup-backdrop-blur`.
212
+ */
213
+ @utility popup-overlay {
214
+ position: fixed;
215
+ inset: 0;
216
+ transition: opacity var(--popup-duration, var(--transition-duration-popup)) var(--ease-out);
217
+ background-color: var(--popup-backdrop);
218
+
219
+ @supports (backdrop-filter: blur(0)) {
220
+ backdrop-filter: blur(var(--popup-backdrop-blur));
221
+ }
222
+
223
+ /*
224
+ * `data-closed` too: ui-sdk drops `data-ending-style` a frame before the
225
+ * popup leaves the page, and without it the popup would flash back in.
226
+ */
227
+ &:is([data-starting-style], [data-ending-style], [data-closed]) {
228
+ opacity: 0;
229
+ }
230
+
231
+ /* Leaving is quicker than entering: the person has already moved on. */
232
+ &:is([data-ending-style], [data-closed]) {
233
+ transition-duration: var(--popup-exit-duration, var(--transition-duration-quick));
234
+ }
235
+ }
236
+
237
+ /*
238
+ * A popup's enter and exit: it fades, and moves from the `scale` or
239
+ * `translate` the component sets with `data-starting-style:` and
240
+ * `data-closed:`. `--popup-duration` is how long it takes to enter and
241
+ * `--popup-exit-duration` to leave. A popup that opens at once, like the
242
+ * next tooltip along a toolbar (`data-instant`), doesn't animate.
243
+ */
244
+ @utility popup-motion {
245
+ transition-property: opacity, scale, translate;
246
+ transition-duration: var(--popup-duration, var(--transition-duration-popup));
247
+ transition-timing-function: var(--ease-out);
248
+
249
+ /*
250
+ * `data-closed` too: ui-sdk drops `data-ending-style` a frame before the
251
+ * popup leaves the page, and without it the popup would flash back in.
252
+ */
253
+ &:is([data-starting-style], [data-ending-style], [data-closed]) {
254
+ opacity: 0;
255
+ }
256
+
257
+ /* Leaving is quicker than entering: the person has already moved on. */
258
+ &:is([data-ending-style], [data-closed]) {
259
+ transition-duration: var(--popup-exit-duration, var(--transition-duration-quick));
260
+ }
261
+
262
+ &[data-instant] {
263
+ transition-duration: 0ms;
264
+ }
265
+
266
+ /* Still fades, without moving. */
267
+ @media (prefers-reduced-motion: reduce) {
268
+ transition-property: opacity;
269
+ }
270
+ }
271
+
272
+ /*
273
+ * A sheet's enter and exit: it slides in whole from the edge it sits on, by
274
+ * the `translate` the component sets with `data-starting-style:` and
275
+ * `data-closed:`, and doesn't fade. With reduced motion it fades in place.
276
+ */
277
+ @utility sheet-motion {
278
+ transition-property: translate;
279
+ transition-duration: var(--popup-duration, var(--transition-duration-sheet));
280
+ transition-timing-function: var(--ease-drawer);
281
+
282
+ &:is([data-ending-style], [data-closed]) {
283
+ transition-duration: var(--popup-exit-duration, var(--transition-duration-modal));
284
+ }
285
+
286
+ @media (prefers-reduced-motion: reduce) {
287
+ transition-property: opacity;
288
+ transition-duration: var(--transition-duration-popup);
289
+ translate: none !important;
290
+
291
+ &:is([data-starting-style], [data-ending-style], [data-closed]) {
292
+ opacity: 0;
293
+ }
294
+ }
295
+ }
296
+
297
+ /*
298
+ * Inside a sidebar collapsed to its icons, what folds with it: a row turns
299
+ * into its icon, a group's name and a row's actions go. Panels nested in the
300
+ * sidebar (a rail, a column that peeks) keep their own shape: a rail is
301
+ * already icons, and a column that hides and peeks never folds its rows.
302
+ */
303
+ @custom-variant sidebar-collapsed (&:where([data-collapsible="icon"] *):not(:where([data-slot="sidebar-panel"]:not([data-variant])) *));
@@ -0,0 +1,41 @@
1
+ /*
2
+ * abby's theme. The app imports it after Tailwind:
3
+ *
4
+ * @layer ui-sdk;
5
+ * @import "tailwindcss";
6
+ * @import "abby/styles.css";
7
+ */
8
+
9
+ /* Makes Tailwind generate the classes abby's components use. */
10
+ @source "../";
11
+
12
+ /* Geist and Geist Mono, the faces `tokens.css` sets for the whole interface. */
13
+ @import "@fontsource-variable/geist";
14
+ @import "@fontsource-variable/geist-mono";
15
+ @import "./color-scheme.css";
16
+ @import "./tokens.css";
17
+ @import "./utilities.css";
18
+ @import "./components.css";
19
+
20
+ @layer base {
21
+ /*
22
+ * A bare `border` or `outline` class takes the theme's color, as in shadcn.
23
+ * The selectors are preflight's, the ones whose borders it resets: `*` alone
24
+ * misses the pseudo-elements, which would take the text's color.
25
+ */
26
+ *,
27
+ ::after,
28
+ ::before,
29
+ ::backdrop,
30
+ ::file-selector-button {
31
+ @apply border-border outline-ring/50;
32
+ }
33
+
34
+ /*
35
+ * Text drawn as Alma draws it: grayscale antialiasing, so macOS doesn't
36
+ * thicken the strokes and the three grays of text read apart.
37
+ */
38
+ body {
39
+ @apply bg-background text-foreground antialiased;
40
+ }
41
+ }