@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,474 @@
1
+ /*
2
+ * Tokens use shadcn's names (https://ui.shadcn.com/docs/theming), so its
3
+ * component classes work unchanged. The values are Alma's, abby's default
4
+ * theme, from its Fundamentos and Shell boards in Paper: each one is a
5
+ * light/dark pair that meets the contrast ui-sdk asks for. Alma's names map
6
+ * onto shadcn's like this:
7
+ *
8
+ * paper sidebar, and the window behind the content card
9
+ * card background, card
10
+ * floating popover (a menu, the ⌘K palette)
11
+ * selected accent, secondary, muted (hover, chips, wells)
12
+ * track sidebar-accent (the chosen row)
13
+ * text foreground, primary (the ink action)
14
+ * muted muted-foreground
15
+ * faint subtle (darkened to 4.5:1 in light)
16
+ * stroke, divider border, input
17
+ * text at 50% ring, the focus: ink, never a color
18
+ * soul violet assistant
19
+ * group colors chart-1…5
20
+ *
21
+ * Another theme redefines these variables inside `[data-theme="<name>"]`.
22
+ */
23
+
24
+ /* A neutral scale for `ring` and `overlay`. A theme can replace it. */
25
+ :where(:root) {
26
+ --base-50: var(--color-neutral-50);
27
+ --base-100: var(--color-neutral-100);
28
+ --base-200: var(--color-neutral-200);
29
+ --base-300: var(--color-neutral-300);
30
+ --base-400: var(--color-neutral-400);
31
+ --base-500: var(--color-neutral-500);
32
+ --base-600: var(--color-neutral-600);
33
+ --base-700: var(--color-neutral-700);
34
+ --base-800: var(--color-neutral-800);
35
+ --base-900: var(--color-neutral-900);
36
+ --base-950: var(--color-neutral-950);
37
+
38
+ /* Scales every motion duration: 0.75 is the quickest, 1.5 the slowest. */
39
+ --motion-tempo: 1;
40
+ }
41
+
42
+ /*
43
+ * What a theme changes besides color: shape, elevation, a heading's weight,
44
+ * focus and the dim behind a dialog. Declared again on every element that
45
+ * sets a theme, so an area with another theme resolves its own; an area that
46
+ * only sets a scheme inherits them.
47
+ */
48
+ :where(:root, [data-theme]) {
49
+ /*
50
+ * The base radius; `rounded-xs` … `rounded-4xl` scale with it. 10px is
51
+ * Alma's row; the scale lands on its badge (4), kbd (6), menu row (8),
52
+ * card, menu and content panel (12), and dialog and composer (16). A
53
+ * one-line control is a capsule (`rounded-full`), not a step of this scale.
54
+ */
55
+ --radius: 0.625rem;
56
+
57
+ /* The weight of `text-heading-1` … `text-heading-4`: medium. */
58
+ --heading-weight: 500;
59
+
60
+ /*
61
+ * The keyboard focus: a thin ink line just off the control's edge, and a
62
+ * faint ink halo around it, the same language as a field's focus. The line
63
+ * carries the 3:1; the halo only softens it. `--focus-ring` is the line's
64
+ * color and a field's focused edge (set it on a region too), `--focus-halo`
65
+ * the halo's and a field's. A theme that colors the focus sets both.
66
+ */
67
+ --focus-ring: var(--ring);
68
+ --focus-halo: light-dark(rgb(29 29 31 / 7%), rgb(245 245 247 / 9%));
69
+ --focus-ring-width: 1px;
70
+ --focus-ring-offset: 1px;
71
+
72
+ /*
73
+ * The three levels behind `shadow-sm`, `shadow-md` and `shadow-lg` (see
74
+ * Elevation below), Alma's: "a shadow means it floats over something".
75
+ * A chosen segment, a menu, and a dialog or the ⌘K palette. Dark needs far
76
+ * more opacity for the same lift.
77
+ */
78
+ --elevation-sm: 0 1px 2px light-dark(rgb(0 0 0 / 8%), rgb(0 0 0 / 30%));
79
+ --elevation-md:
80
+ 0 12px 32px light-dark(rgb(0 0 0 / 12%), rgb(0 0 0 / 48%)),
81
+ 0 1px 3px light-dark(rgb(0 0 0 / 8%), rgb(0 0 0 / 30%));
82
+ --elevation-lg:
83
+ 0 24px 64px light-dark(rgb(0 0 0 / 16%), rgb(0 0 0 / 50%)),
84
+ 0 2px 8px light-dark(rgb(0 0 0 / 6%), rgb(0 0 0 / 30%));
85
+
86
+ /*
87
+ * The dim behind a dialog or a sheet (`popup-overlay`): Alma's veil, the
88
+ * text color at 26% in light and black at 50% in dark, with no blur.
89
+ */
90
+ --popup-backdrop: light-dark(rgb(29 29 31 / 26%), rgb(0 0 0 / 50%));
91
+ --popup-backdrop-blur: 0px;
92
+ }
93
+
94
+ /*
95
+ * Declared again on every element that sets a scheme or a theme, so an area
96
+ * with its own scheme or theme resolves the tokens again.
97
+ */
98
+ :root,
99
+ [data-color-scheme],
100
+ [data-theme],
101
+ .dark {
102
+ /*
103
+ * Page surface and its text: Alma's content card, white in light and a
104
+ * soft gray in dark, never black. The window around it is `sidebar`.
105
+ */
106
+ --background: light-dark(#ffffff, #1c1c1e);
107
+ --foreground: light-dark(#1d1d1f, #f5f5f7);
108
+
109
+ /* Cards and panels: the content card itself, set apart by a hairline. */
110
+ --card: var(--background);
111
+ --card-foreground: var(--foreground);
112
+
113
+ /* Floating surfaces: popovers, menus, the ⌘K palette. They lift in dark. */
114
+ --popover: light-dark(#ffffff, #232325);
115
+ --popover-foreground: var(--foreground);
116
+
117
+ /*
118
+ * The main action: Alma's ink, the text color. In dark it turns over to a
119
+ * light fill with dark text. One per view.
120
+ */
121
+ --primary: var(--foreground);
122
+ --primary-foreground: light-dark(#ffffff, #1d1d1f);
123
+
124
+ /*
125
+ * Alma's `selected`: one quiet fill for chips, lower-emphasis actions and
126
+ * wells. In dark a well is Alma's floating gray, so `subtle` still reads
127
+ * on it.
128
+ */
129
+ --secondary: light-dark(#f4f3f0, #2c2c2e);
130
+ --secondary-foreground: var(--foreground);
131
+ --muted: light-dark(#f4f3f0, #232325);
132
+ /* Hover and a highlighted row: a menu's, a list of options', a ghost button's. */
133
+ --accent: light-dark(#f4f3f0, #2c2c2e);
134
+ --accent-foreground: var(--foreground);
135
+
136
+ /*
137
+ * Three grays of text. `foreground` names and holds content: a title, a
138
+ * label, a value, what was typed. `muted-foreground` is text that is read:
139
+ * a description, a panel's body, an alert's detail. `subtle` is a hint:
140
+ * a timestamp, a field's help, a count, an icon beside a value. Alma's
141
+ * `faint` (#8e8e93) is 3.3:1 in light; `subtle` is darkened to #6e6e73 so
142
+ * it can be read on its own, and stays Alma's in dark.
143
+ */
144
+ --muted-foreground: light-dark(#636366, #a1a1a6);
145
+ --subtle: light-dark(#6e6e73, #8e8e93);
146
+
147
+ /*
148
+ * A field's placeholder, lighter than typed text so the two never read
149
+ * alike. Under 4.5:1 on purpose; the field's name is its label, never the
150
+ * placeholder (Identity/Guide). Not in shadcn.
151
+ */
152
+ --placeholder: light-dark(#aeaeb2, #77777c);
153
+
154
+ /*
155
+ * Selection: a checked control, progress, the range of a slider. Ink, as
156
+ * the main button is: color is kept for states and the assistant. In dark
157
+ * it turns over to a light fill, and text on it is the page color. A theme
158
+ * can give it a color. Not in shadcn.
159
+ */
160
+ --brand: var(--foreground);
161
+ --brand-foreground: light-dark(#ffffff, #1c1c1e);
162
+
163
+ /*
164
+ * A link's text: ink, told apart by its underline (`Link`). A theme can
165
+ * give it a color that keeps 4.5:1 on every surface. Not in shadcn.
166
+ */
167
+ --link: var(--foreground);
168
+
169
+ /* Destructive actions and errors. shadcn has no `destructive-foreground`. */
170
+ --destructive: light-dark(#d70015, #ff453a);
171
+ --destructive-foreground: light-dark(#ffffff, #1c1c1e);
172
+
173
+ /*
174
+ * A limit drawing near, and what waits for someone: Alma's "needs your OK"
175
+ * amber, in its text shade. Not in shadcn.
176
+ */
177
+ --warning: light-dark(#9a5a00, #f5a623);
178
+ --warning-foreground: light-dark(#ffffff, #1c1c1e);
179
+
180
+ /*
181
+ * Something that finished well. Alma's green, darkened in light to
182
+ * #1f7a35 for 4.5:1. Not in shadcn.
183
+ */
184
+ --success: light-dark(#1f7a35, #32d74b);
185
+ --success-foreground: light-dark(#ffffff, #1c1c1e);
186
+
187
+ /*
188
+ * Alma's hairlines, black or white with alpha, so they sit on any surface.
189
+ * `border` separates content and edges a card; `input` is a control's
190
+ * edge, a step firmer.
191
+ */
192
+ --border: light-dark(rgb(0 0 0 / 8%), rgb(255 255 255 / 10%));
193
+ --input: light-dark(rgb(0 0 0 / 10%), rgb(255 255 255 / 14%));
194
+
195
+ /*
196
+ * The focus line: ink at 50% in light and 45% in dark. Translucent on
197
+ * purpose: it keeps 3:1 on every surface, the paper and the tinted rows
198
+ * included, where an opaque gray of the same weight falls short.
199
+ * `--focus-ring` reads it; a region can set its own.
200
+ */
201
+ --ring: light-dark(rgb(29 29 31 / 50%), rgb(245 245 247 / 45%));
202
+
203
+ /* Backdrop for an image cropper's outside. Not in shadcn. */
204
+ --overlay: light-dark(--alpha(var(--base-950) / 40%), --alpha(var(--color-black) / 60%));
205
+
206
+ /*
207
+ * Who else is in a note: the bar beside the block a person writes in, their
208
+ * cursor and the label with their name. Alma's presence colors, darkened
209
+ * in light so white text on them keeps 4.5:1; in dark, the label's text is
210
+ * the page color, as on `brand`. Not in shadcn.
211
+ */
212
+ --presence-1: light-dark(#2f6fb0, #7fb2ea);
213
+ --presence-2: light-dark(#b0468f, #e58ac4);
214
+ --presence-3: light-dark(#9a5b1a, #f0b070);
215
+ --presence-4: light-dark(#2f7a3b, #7cc688);
216
+ --presence-foreground: light-dark(#ffffff, #1c1c1e);
217
+
218
+ /* The underline under commented text, a soft amber. Not in shadcn. */
219
+ --comment: light-dark(#b86e00, #f0a830);
220
+
221
+ /*
222
+ * The assistant's mark in a note: its name over a suggestion, the edge and
223
+ * the faint tint of what it proposes, and its events in the history.
224
+ * Alma's soul violet, so it never reads as a person's color or as the
225
+ * selection. Not in shadcn.
226
+ */
227
+ --assistant: light-dark(#6e45b8, #bf8cff);
228
+
229
+ /* Chart palette: Alma's area colors. */
230
+ --chart-1: light-dark(#1c8bd6, #5ac8fa);
231
+ --chart-2: light-dark(#8e5be0, #bf8cff);
232
+ --chart-3: light-dark(#e08a00, #ffb340);
233
+ --chart-4: light-dark(#248a3d, #30d158);
234
+ --chart-5: light-dark(#2e9c9c, #5fc8c8);
235
+
236
+ /*
237
+ * The sidebar and the window around the content card: Alma's `paper`, a
238
+ * warm step off the page.
239
+ */
240
+ --sidebar: light-dark(#f7f6f4, #161618);
241
+ --sidebar-foreground: var(--foreground);
242
+ --sidebar-primary: var(--primary);
243
+ --sidebar-primary-foreground: var(--primary-foreground);
244
+ /* A sidebar row's hover and its chosen row: Alma's `track`. */
245
+ --sidebar-accent: light-dark(#ecebe8, #2c2c2e);
246
+ --sidebar-accent-foreground: var(--foreground);
247
+ --sidebar-border: var(--border);
248
+ /* The sidebar sets its own focus ring from this: ink, as elsewhere. */
249
+ --sidebar-ring: var(--ring);
250
+ }
251
+
252
+ /* Turns each token into utilities: `bg-primary`, `text-muted-foreground`, `rounded-lg`… */
253
+ @theme inline {
254
+ --color-background: var(--background);
255
+ --color-foreground: var(--foreground);
256
+ --color-card: var(--card);
257
+ --color-card-foreground: var(--card-foreground);
258
+ --color-popover: var(--popover);
259
+ --color-popover-foreground: var(--popover-foreground);
260
+ --color-primary: var(--primary);
261
+ --color-primary-foreground: var(--primary-foreground);
262
+ --color-secondary: var(--secondary);
263
+ --color-secondary-foreground: var(--secondary-foreground);
264
+ --color-muted: var(--muted);
265
+ --color-muted-foreground: var(--muted-foreground);
266
+ --color-placeholder: var(--placeholder);
267
+ --color-subtle: var(--subtle);
268
+ --color-brand: var(--brand);
269
+ --color-brand-foreground: var(--brand-foreground);
270
+ --color-link: var(--link);
271
+ --color-accent: var(--accent);
272
+ --color-accent-foreground: var(--accent-foreground);
273
+ --color-destructive: var(--destructive);
274
+ --color-destructive-foreground: var(--destructive-foreground);
275
+ --color-warning: var(--warning);
276
+ --color-warning-foreground: var(--warning-foreground);
277
+ --color-success: var(--success);
278
+ --color-success-foreground: var(--success-foreground);
279
+ --color-border: var(--border);
280
+ --color-input: var(--input);
281
+ --color-ring: var(--ring);
282
+ --color-overlay: var(--overlay);
283
+ --color-presence-1: var(--presence-1);
284
+ --color-presence-2: var(--presence-2);
285
+ --color-presence-3: var(--presence-3);
286
+ --color-presence-4: var(--presence-4);
287
+ --color-presence-foreground: var(--presence-foreground);
288
+ --color-comment: var(--comment);
289
+ --color-assistant: var(--assistant);
290
+ --color-chart-1: var(--chart-1);
291
+ --color-chart-2: var(--chart-2);
292
+ --color-chart-3: var(--chart-3);
293
+ --color-chart-4: var(--chart-4);
294
+ --color-chart-5: var(--chart-5);
295
+ --color-sidebar: var(--sidebar);
296
+ --color-sidebar-foreground: var(--sidebar-foreground);
297
+ --color-sidebar-primary: var(--sidebar-primary);
298
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
299
+ --color-sidebar-accent: var(--sidebar-accent);
300
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
301
+ --color-sidebar-border: var(--sidebar-border);
302
+ --color-sidebar-ring: var(--sidebar-ring);
303
+
304
+ /*
305
+ * `radius-lg` is the base; changing `--radius` scales the whole set. At
306
+ * Alma's 10px: 2xs 2 (an area's small square mark), xs 4 (a badge), sm 6 (a kbd), md 8 (a menu's row), lg 10
307
+ * (a row), xl 12 (a card, a menu, the content panel), 2xl 16 (a dialog, a
308
+ * multi-line field), 3xl 20 (a bubble), 4xl 24. `radius-xs` replaces
309
+ * Tailwind's bare `rounded`, a fixed 4px that ignores `--radius`.
310
+ */
311
+ --radius-2xs: calc(var(--radius) * 0.2);
312
+ --radius-xs: calc(var(--radius) * 0.4);
313
+ --radius-sm: calc(var(--radius) * 0.6);
314
+ --radius-md: calc(var(--radius) * 0.8);
315
+ --radius-lg: var(--radius);
316
+ --radius-xl: calc(var(--radius) * 1.2);
317
+ --radius-2xl: calc(var(--radius) * 1.6);
318
+ --radius-3xl: calc(var(--radius) * 2);
319
+ --radius-4xl: calc(var(--radius) * 2.4);
320
+
321
+ /* A theme sets `--heading-weight`, and each heading role follows it. */
322
+ --text-heading-1--font-weight: var(--heading-weight);
323
+ --text-heading-2--font-weight: var(--heading-weight);
324
+ --text-heading-3--font-weight: var(--heading-weight);
325
+ --text-heading-4--font-weight: var(--heading-weight);
326
+
327
+ /* Each level reads its shadow from `--elevation-*`, which a theme sets. */
328
+ --shadow-sm: var(--elevation-sm);
329
+ --shadow-md: var(--elevation-md);
330
+ --shadow-lg: var(--elevation-lg);
331
+ }
332
+
333
+ /*
334
+ * Typography. Geist and Geist Mono, which abby ships, are the faces of the
335
+ * whole interface; a theme can replace them.
336
+ *
337
+ * The sizes are Alma's: a dense 13px for what fills a screen (a row, a
338
+ * button, a list), 14px for messages and running text, and two weights, the
339
+ * heading weight for names and titles. Each role carries its size, leading
340
+ * and weight, so `text-heading-2` is the whole style; a later `font-*`,
341
+ * `leading-*` or `tracking-*` class still wins. A component's running text
342
+ * keeps shadcn's `text-sm` and `text-xs`; `text-sm` is Alma's 13/18 here.
343
+ */
344
+ @theme {
345
+ --font-sans:
346
+ "Geist Variable", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
347
+ --font-mono:
348
+ "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
349
+
350
+ /* Tailwind's `text-sm`, Alma's dense size: 13px on an 18px line. */
351
+ --text-sm: 0.8125rem;
352
+ --text-sm--line-height: 1.125rem;
353
+
354
+ /* Hero banners, a greeting, data callouts; never a section. */
355
+ --text-display-1: 2.125rem;
356
+ --text-display-1--line-height: 2.5rem;
357
+ --text-display-1--font-weight: var(--heading-weight);
358
+ --text-display-1--letter-spacing: -0.02em;
359
+ --text-display-2: 1.75rem;
360
+ --text-display-2--line-height: 2.125rem;
361
+ --text-display-2--font-weight: var(--heading-weight);
362
+ --text-display-2--letter-spacing: -0.02em;
363
+ --text-display-3: 1.5rem;
364
+ --text-display-3--line-height: 1.875rem;
365
+ --text-display-3--font-weight: var(--heading-weight);
366
+ --text-display-3--letter-spacing: -0.015em;
367
+
368
+ /*
369
+ * The headings of a page or a surface, by depth: Alma's title (22/28), a
370
+ * card's title (17/24), headline (15/20) and a row's name (13/18).
371
+ */
372
+ --text-heading-1: 1.375rem;
373
+ --text-heading-1--line-height: 1.75rem;
374
+ --text-heading-1--letter-spacing: -0.01em;
375
+ --text-heading-2: 1.0625rem;
376
+ --text-heading-2--line-height: 1.5rem;
377
+ --text-heading-3: 0.9375rem;
378
+ --text-heading-3--line-height: 1.25rem;
379
+ --text-heading-4: 0.8125rem;
380
+ --text-heading-4--line-height: 1.125rem;
381
+
382
+ /* Running text: Alma's body. */
383
+ --text-body: 0.875rem;
384
+ --text-body--line-height: 1.25rem;
385
+ --text-body--font-weight: var(--font-weight-normal);
386
+ /* A control's name, a field's label, a value that names something. */
387
+ --text-label: 0.8125rem;
388
+ --text-label--line-height: 1.125rem;
389
+ --text-label--font-weight: var(--font-weight-medium);
390
+ /* Timestamps, helper text, metadata and captions: Alma's caption. */
391
+ --text-supporting: 0.75rem;
392
+ --text-supporting--line-height: 1rem;
393
+ --text-supporting--font-weight: var(--font-weight-normal);
394
+ /*
395
+ * The smallest text: a kbd, a section's label in capitals, a version.
396
+ * Alma's footnote.
397
+ */
398
+ --text-footnote: 0.6875rem;
399
+ --text-footnote--line-height: 0.875rem;
400
+ --text-footnote--font-weight: var(--font-weight-normal);
401
+ /*
402
+ * Text that rides on a mark, never read on its own: the count in a badge
403
+ * over an icon, a person's initials in a 16px avatar. Alma's 8px.
404
+ */
405
+ --text-micro: 0.5rem;
406
+ --text-micro--line-height: 0.625rem;
407
+ --text-micro--font-weight: var(--font-weight-semibold);
408
+ /* A conversation's text: a bubble, a reply. Alma's messages, 14/20. */
409
+ --text-chat: 0.875rem;
410
+ --text-chat--line-height: 1.25rem;
411
+ --text-chat--font-weight: var(--font-weight-normal);
412
+ /*
413
+ * What is typed into the composer, a step above the thread so the field
414
+ * leads the view. 17px also keeps a phone from zooming. Alma's composer.
415
+ */
416
+ --text-composer: 1.0625rem;
417
+ --text-composer--line-height: 1.5rem;
418
+ --text-composer--font-weight: var(--font-weight-normal);
419
+ /* Code in running text and commands, with `font-mono`. */
420
+ --text-code: 0.8125rem;
421
+ --text-code--line-height: 1.125rem;
422
+ --text-code--font-weight: var(--font-weight-normal);
423
+ }
424
+
425
+ /*
426
+ * Elevation, three levels under shadcn's names, with Alma's shadows. The
427
+ * level says how far a surface sits from the page, not how much shadow it
428
+ * wants; 95% of the interface is flat, with a hairline:
429
+ *
430
+ * none flat, part of the page: a card in a grid, a button
431
+ * sm in the page but set apart from it: a chosen segment, a tab's indicator
432
+ * md over the content around it: a popover, a menu, a toast
433
+ * lg over the whole interface, with a backdrop: a dialog, a sheet
434
+ *
435
+ * The values are `--elevation-sm`, `-md` and `-lg`, at the top of this file:
436
+ * Alma's shadows, which a theme can change. A floating surface also keeps an edge
437
+ * (`popup-surface`), since a shadow reads less in dark mode.
438
+ */
439
+
440
+ /*
441
+ * Motion, Alma's: everything takes 300ms or less, leaving is quicker than
442
+ * entering, and nothing uses ease-in. The curves replace Tailwind's
443
+ * `ease-out` and `ease-in-out`, which are too weak to read as intentional,
444
+ * and `duration-<role>` names how long each kind of change takes.
445
+ * `--motion-tempo` on `<html>` scales them all. The Motion guide in
446
+ * Storybook says which to use.
447
+ */
448
+ @theme {
449
+ /* Entering and leaving, and the default for anything that moves. */
450
+ --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
451
+ /* Something already on screen that moves or changes shape. */
452
+ --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
453
+ /* A sheet sliding in from an edge. */
454
+ --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
455
+
456
+ /* Hover and color changes, what a bare `transition-colors` gets: only the fill. */
457
+ --default-transition-timing-function: ease;
458
+ --default-transition-duration: calc(120ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
459
+
460
+ /* How long a popup takes to leave, and a tooltip. */
461
+ --transition-duration-quick: calc(100ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
462
+ /* Press feedback. */
463
+ --transition-duration-press: calc(160ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
464
+ /* A popover, a menu, a list of options; an indicator or a panel that moves. */
465
+ --transition-duration-popup: calc(150ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
466
+ /* A dialog and the ⌘K palette. */
467
+ --transition-duration-modal: calc(180ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
468
+ /* A sheet, a drawer, a toast, a side panel. */
469
+ --transition-duration-sheet: calc(280ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
470
+ /* A sidebar folding to its rail, with `ease-in-out`: its width and what follows it. */
471
+ --transition-duration-collapse: calc(220ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
472
+ /* The same sidebar opening again, a little slower than it folds. */
473
+ --transition-duration-expand: calc(240ms * clamp(0.75, var(--motion-tempo, 1), 1.5));
474
+ }