@vllnt/ui 0.4.0-canary.sha1342d11 → 0.4.0-canary.sha36bfa21

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 (357) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/README.md +64 -10
  3. package/dist/components/{accordion → atoms/accordion}/accordion.js +2 -1
  4. package/dist/components/{agent-activity → atoms/agent-activity}/agent-activity.js +9 -2
  5. package/dist/components/{ai-source-citation → atoms/ai-source-citation}/ai-source-citation.js +1 -1
  6. package/dist/components/{ai-streaming-text → atoms/ai-streaming-text}/ai-streaming-text.js +2 -2
  7. package/dist/components/{alert → atoms/alert}/alert.js +1 -1
  8. package/dist/components/{alert-pulse → atoms/alert-pulse}/alert-pulse.js +2 -2
  9. package/dist/components/{anchor-port → atoms/anchor-port}/anchor-port.js +1 -1
  10. package/dist/components/{animated-beam → atoms/animated-beam}/animated-beam.js +1 -1
  11. package/dist/components/{animated-grid-pattern → atoms/animated-grid-pattern}/animated-grid-pattern.js +1 -1
  12. package/dist/components/{animated-list → atoms/animated-list}/animated-list.js +1 -1
  13. package/dist/components/{animated-tabs → atoms/animated-tabs}/animated-tabs.js +16 -4
  14. package/dist/components/{animated-testimonials → atoms/animated-testimonials}/animated-testimonials.js +1 -1
  15. package/dist/components/{animated-text → atoms/animated-text}/animated-text.js +29 -8
  16. package/dist/components/{animated-tooltip → atoms/animated-tooltip}/animated-tooltip.js +11 -1
  17. package/dist/components/{avatar → atoms/avatar}/avatar.js +1 -1
  18. package/dist/components/{badge → atoms/badge}/badge.js +1 -1
  19. package/dist/components/{banner → atoms/banner}/banner.js +1 -1
  20. package/dist/components/{bento-grid → atoms/bento-grid}/bento-grid.js +1 -1
  21. package/dist/components/{blur-reveal → atoms/blur-reveal}/blur-reveal.js +1 -1
  22. package/dist/components/{border-beam → atoms/border-beam}/border-beam.js +2 -5
  23. package/dist/components/{bottom-activity-strip → atoms/bottom-activity-strip}/bottom-activity-strip.js +3 -2
  24. package/dist/components/{bottom-bar → atoms/bottom-bar}/bottom-bar.js +1 -1
  25. package/dist/components/{breadcrumb → atoms/breadcrumb}/breadcrumb.js +2 -2
  26. package/dist/components/{button → atoms/button}/button.js +1 -1
  27. package/dist/components/{button-group → atoms/button-group}/button-group.js +1 -1
  28. package/dist/components/{callout → atoms/callout}/callout.js +1 -1
  29. package/dist/components/{card → atoms/card}/card.js +1 -1
  30. package/dist/components/{card-flip → atoms/card-flip}/card-flip.js +1 -1
  31. package/dist/components/{chain-of-thought → atoms/chain-of-thought}/chain-of-thought.js +8 -2
  32. package/dist/components/{checkbox → atoms/checkbox}/checkbox.js +1 -1
  33. package/dist/components/{checklist → atoms/checklist}/checklist.js +5 -2
  34. package/dist/components/{comment-pin → atoms/comment-pin}/comment-pin.js +8 -5
  35. package/dist/components/{comparison → atoms/comparison}/comparison.js +41 -27
  36. package/dist/components/{context-lens → atoms/context-lens}/context-lens.js +1 -1
  37. package/dist/components/{context-menu → atoms/context-menu}/context-menu.js +1 -1
  38. package/dist/components/{curriculum → atoms/curriculum}/curriculum.js +8 -6
  39. package/dist/components/atoms/cursor/cursor.js +91 -0
  40. package/dist/components/{data-list → atoms/data-list}/data-list.js +1 -1
  41. package/dist/components/{date-field → atoms/date-field}/date-field.js +1 -1
  42. package/dist/components/{dialog → atoms/dialog}/dialog.js +1 -1
  43. package/dist/components/{display → atoms/display}/display.js +1 -1
  44. package/dist/components/atoms/dock/dock.js +167 -0
  45. package/dist/components/{document-sibling-nav → atoms/document-sibling-nav}/document-sibling-nav.js +1 -1
  46. package/dist/components/{dot-pattern → atoms/dot-pattern}/dot-pattern.js +1 -1
  47. package/dist/components/{drawer → atoms/drawer}/drawer.js +3 -1
  48. package/dist/components/{dropdown-menu → atoms/dropdown-menu}/dropdown-menu.js +1 -1
  49. package/dist/components/{edge-label → atoms/edge-label}/edge-label.js +1 -1
  50. package/dist/components/{empty-state → atoms/empty-state}/empty-state.js +1 -1
  51. package/dist/components/{era-comparison → atoms/era-comparison}/era-comparison.js +2 -2
  52. package/dist/components/{expandable-cards → atoms/expandable-cards}/expandable-cards.js +1 -1
  53. package/dist/components/{faq → atoms/faq}/faq.js +1 -1
  54. package/dist/components/{fieldset → atoms/fieldset}/fieldset.js +1 -1
  55. package/dist/components/{floating-action-button → atoms/floating-action-button}/floating-action-button.js +1 -1
  56. package/dist/components/{floating-navbar → atoms/floating-navbar}/floating-navbar.js +1 -1
  57. package/dist/components/{floating-toolbar → atoms/floating-toolbar}/floating-toolbar.js +1 -1
  58. package/dist/components/{follow-mode → atoms/follow-mode}/follow-mode.js +7 -7
  59. package/dist/components/{gauge-chart → atoms/gauge-chart}/gauge-chart.js +1 -1
  60. package/dist/components/{glass-card → atoms/glass-card}/glass-card.js +1 -1
  61. package/dist/components/{glass-panel → atoms/glass-panel}/glass-panel.js +1 -1
  62. package/dist/components/{glass-progress → atoms/glass-progress}/glass-progress.js +2 -1
  63. package/dist/components/{grid → atoms/grid}/grid.js +1 -1
  64. package/dist/components/{group-hull → atoms/group-hull}/group-hull.js +1 -1
  65. package/dist/components/{handoff-beacon → atoms/handoff-beacon}/handoff-beacon.js +2 -2
  66. package/dist/components/{heading → atoms/heading}/heading.js +1 -1
  67. package/dist/components/{heat-overlay → atoms/heat-overlay}/heat-overlay.js +1 -1
  68. package/dist/components/{hover-card → atoms/hover-card}/hover-card.js +1 -1
  69. package/dist/components/{infinite-plane → atoms/infinite-plane}/infinite-plane.js +1 -1
  70. package/dist/components/{input → atoms/input}/input.js +1 -1
  71. package/dist/components/{input-group → atoms/input-group}/input-group.js +1 -1
  72. package/dist/components/{input-otp → atoms/input-otp}/input-otp.js +2 -2
  73. package/dist/components/{item → atoms/item}/item.js +1 -1
  74. package/dist/components/{jarvis-dock → atoms/jarvis-dock}/jarvis-dock.js +1 -1
  75. package/dist/components/{kbd → atoms/kbd}/kbd.js +3 -3
  76. package/dist/components/{key-concept → atoms/key-concept}/key-concept.js +5 -3
  77. package/dist/components/{keyboard-shortcuts-help → atoms/keyboard-shortcuts-help}/keyboard-shortcuts-help.js +10 -5
  78. package/dist/components/{label → atoms/label}/label.js +1 -1
  79. package/dist/components/{learning-objectives → atoms/learning-objectives}/learning-objectives.js +24 -10
  80. package/dist/components/{left-rail → atoms/left-rail}/left-rail.js +1 -1
  81. package/dist/components/{link → atoms/link}/link.js +1 -1
  82. package/dist/components/{liquid-glass → atoms/liquid-glass}/liquid-glass.js +2 -3
  83. package/dist/components/{list-box → atoms/list-box}/list-box.js +56 -5
  84. package/dist/components/{live-cursor → atoms/live-cursor}/live-cursor.js +10 -5
  85. package/dist/components/atoms/magnetic/magnetic.js +110 -0
  86. package/dist/components/atoms/magnetic-button/magnetic-button.js +111 -0
  87. package/dist/components/atoms/marquee/marquee.js +156 -0
  88. package/dist/components/{menubar → atoms/menubar}/menubar.js +1 -1
  89. package/dist/components/{meteors → atoms/meteors}/meteors.js +3 -3
  90. package/dist/components/{meter → atoms/meter}/meter.js +1 -1
  91. package/dist/components/{metric-cluster → atoms/metric-cluster}/metric-cluster.js +1 -1
  92. package/dist/components/{mini-map-panel → atoms/mini-map-panel}/mini-map-panel.js +1 -1
  93. package/dist/components/{multi-select-lasso → atoms/multi-select-lasso}/multi-select-lasso.js +1 -1
  94. package/dist/components/{native-select → atoms/native-select}/native-select.js +1 -1
  95. package/dist/components/{navigation-menu → atoms/navigation-menu}/navigation-menu.js +1 -1
  96. package/dist/components/{number-ticker → atoms/number-ticker}/number-ticker.js +1 -1
  97. package/dist/components/{object-handle → atoms/object-handle}/object-handle.js +2 -2
  98. package/dist/components/{object-inspector → atoms/object-inspector}/object-inspector.js +2 -2
  99. package/dist/components/{order-book → atoms/order-book}/order-book.js +14 -8
  100. package/dist/components/{panel → atoms/panel}/panel.js +1 -1
  101. package/dist/components/{particles → atoms/particles}/particles.js +3 -3
  102. package/dist/components/{password-input → atoms/password-input}/password-input.js +1 -1
  103. package/dist/components/{phone-input → atoms/phone-input}/phone-input.js +1 -1
  104. package/dist/components/{playback-ghost → atoms/playback-ghost}/playback-ghost.js +13 -5
  105. package/dist/components/{policy-delivery-panel → atoms/policy-delivery-panel}/policy-delivery-panel.js +1 -1
  106. package/dist/components/{popover → atoms/popover}/popover.js +1 -1
  107. package/dist/components/{presence-stack → atoms/presence-stack}/presence-stack.js +8 -3
  108. package/dist/components/{presence-sync-indicator → atoms/presence-sync-indicator}/presence-sync-indicator.js +3 -3
  109. package/dist/components/{pro-tip → atoms/pro-tip}/pro-tip.js +4 -1
  110. package/dist/components/{progress-bar → atoms/progress-bar}/progress-bar.js +3 -3
  111. package/dist/components/{progressive-blur → atoms/progressive-blur}/progressive-blur.js +1 -1
  112. package/dist/components/{prompt-input → atoms/prompt-input}/prompt-input.js +9 -3
  113. package/dist/components/{property-section → atoms/property-section}/property-section.js +2 -2
  114. package/dist/components/{prose → atoms/prose}/prose.js +1 -1
  115. package/dist/components/{qr-code → atoms/qr-code}/qr-code.js +28 -4
  116. package/dist/components/{quiz → atoms/quiz}/quiz.js +3 -1
  117. package/dist/components/{radio-group → atoms/radio-group}/radio-group.js +1 -1
  118. package/dist/components/{rating → atoms/rating}/rating.js +14 -3
  119. package/dist/components/{reasoning → atoms/reasoning}/reasoning.js +17 -8
  120. package/dist/components/{relationship-inspector → atoms/relationship-inspector}/relationship-inspector.js +1 -1
  121. package/dist/components/{resizable → atoms/resizable}/resizable.js +1 -1
  122. package/dist/components/{reveal-text → atoms/reveal-text}/reveal-text.js +1 -1
  123. package/dist/components/{right-dock → atoms/right-dock}/right-dock.js +1 -1
  124. package/dist/components/{routing-assignment-panel → atoms/routing-assignment-panel}/routing-assignment-panel.js +1 -1
  125. package/dist/components/{runtime-overview-panel → atoms/runtime-overview-panel}/runtime-overview-panel.js +1 -1
  126. package/dist/components/{scramble-text → atoms/scramble-text}/scramble-text.js +6 -12
  127. package/dist/components/atoms/scroll-area/scroll-area.js +90 -0
  128. package/dist/components/{scroll-progress → atoms/scroll-progress}/scroll-progress.js +12 -3
  129. package/dist/components/{search-field → atoms/search-field}/search-field.js +3 -3
  130. package/dist/components/{segmented-control → atoms/segmented-control}/segmented-control.js +1 -1
  131. package/dist/components/{select → atoms/select}/select.js +1 -1
  132. package/dist/components/{selection-halo → atoms/selection-halo}/selection-halo.js +11 -3
  133. package/dist/components/{selection-presence → atoms/selection-presence}/selection-presence.js +4 -2
  134. package/dist/components/{separator → atoms/separator}/separator.js +1 -1
  135. package/dist/components/{severity-badge → atoms/severity-badge}/severity-badge.js +11 -11
  136. package/dist/components/{sheet → atoms/sheet}/sheet.js +1 -1
  137. package/dist/components/{shimmer-button → atoms/shimmer-button}/shimmer-button.js +1 -1
  138. package/dist/components/{shimmer-text → atoms/shimmer-text}/shimmer-text.js +1 -1
  139. package/dist/components/{shine-border → atoms/shine-border}/shine-border.js +2 -5
  140. package/dist/components/{shiny-button → atoms/shiny-button}/shiny-button.js +1 -1
  141. package/dist/components/{skeleton → atoms/skeleton}/skeleton.js +5 -2
  142. package/dist/components/{slider → atoms/slider}/slider.js +13 -2
  143. package/dist/components/{snap-guides → atoms/snap-guides}/snap-guides.js +2 -1
  144. package/dist/components/{social-fab → atoms/social-fab}/social-fab.js +1 -1
  145. package/dist/components/{sparkles → atoms/sparkles}/sparkles.js +3 -3
  146. package/dist/components/{sparkline-grid → atoms/sparkline-grid}/sparkline-grid.js +6 -6
  147. package/dist/components/{spinner → atoms/spinner}/spinner.js +3 -2
  148. package/dist/components/{spinner → atoms/spinner}/unicode-spinner.js +1 -1
  149. package/dist/components/{spinning-text → atoms/spinning-text}/spinning-text.js +15 -13
  150. package/dist/components/atoms/spotlight-card/spotlight-card.js +77 -0
  151. package/dist/components/{state-badge-overlay → atoms/state-badge-overlay}/state-badge-overlay.js +3 -3
  152. package/dist/components/{status-indicator → atoms/status-indicator}/status-indicator.js +2 -2
  153. package/dist/components/{step-by-step → atoms/step-by-step}/step-by-step.js +4 -2
  154. package/dist/components/{step-navigation → atoms/step-navigation}/step-navigation.js +1 -1
  155. package/dist/components/{stepper → atoms/stepper}/stepper.js +2 -1
  156. package/dist/components/{sticky-metric → atoms/sticky-metric}/sticky-metric.js +1 -1
  157. package/dist/components/{switch → atoms/switch}/switch.js +1 -1
  158. package/dist/components/{table → atoms/table}/table.js +1 -1
  159. package/dist/components/{table-of-contents → atoms/table-of-contents}/table-of-contents.js +1 -1
  160. package/dist/components/{table-of-contents-panel → atoms/table-of-contents-panel}/table-of-contents-panel.js +7 -3
  161. package/dist/components/atoms/tabs/tabs.js +227 -0
  162. package/dist/components/{tag-group → atoms/tag-group}/tag-group.js +1 -1
  163. package/dist/components/{tags-input → atoms/tags-input}/tags-input.js +1 -1
  164. package/dist/components/{text → atoms/text}/text.js +1 -1
  165. package/dist/components/{text-animate → atoms/text-animate}/text-animate.js +1 -1
  166. package/dist/components/{text-reveal → atoms/text-reveal}/text-reveal.js +33 -18
  167. package/dist/components/{text-shimmer → atoms/text-shimmer}/text-shimmer.js +1 -1
  168. package/dist/components/{textarea → atoms/textarea}/textarea.js +1 -1
  169. package/dist/components/{theme-preset-provider → atoms/theme-preset-provider}/theme-preset-provider.js +21 -7
  170. package/dist/components/{theme-switcher → atoms/theme-switcher}/theme-switcher.js +15 -4
  171. package/dist/components/{thinking-block → atoms/thinking-block}/thinking-block.js +10 -8
  172. package/dist/components/{thread-bubble → atoms/thread-bubble}/thread-bubble.js +4 -2
  173. package/dist/components/{threshold-ring → atoms/threshold-ring}/threshold-ring.js +1 -1
  174. package/dist/components/atoms/tilt-card/tilt-card.js +115 -0
  175. package/dist/components/{time-field → atoms/time-field}/time-field.js +1 -1
  176. package/dist/components/{timeline → atoms/timeline}/timeline.js +1 -1
  177. package/dist/components/{timeline-scrubber → atoms/timeline-scrubber}/timeline-scrubber.js +1 -1
  178. package/dist/components/{tldr-section → atoms/tldr-section}/tldr-section.js +11 -6
  179. package/dist/components/atoms/toast/sonner-toast.js +4 -0
  180. package/dist/components/{toast → atoms/toast}/toast.js +17 -18
  181. package/dist/components/{toast → atoms/toast}/toaster.js +7 -1
  182. package/dist/components/{toggle → atoms/toggle}/toggle.js +1 -1
  183. package/dist/components/{toolbar → atoms/toolbar}/toolbar.js +2 -1
  184. package/dist/components/{tooltip → atoms/tooltip}/tooltip.js +1 -1
  185. package/dist/components/{top-bar → atoms/top-bar}/top-bar.js +1 -1
  186. package/dist/components/{truncated-text → atoms/truncated-text}/truncated-text.js +1 -1
  187. package/dist/components/{tutorial-intro-content → atoms/tutorial-intro-content}/tutorial-intro-content.js +3 -6
  188. package/dist/components/{typewriter → atoms/typewriter}/typewriter.js +3 -2
  189. package/dist/components/{typography → atoms/typography}/typography.js +1 -1
  190. package/dist/components/{video-embed → atoms/video-embed}/video-embed.js +3 -1
  191. package/dist/components/{view-switcher → atoms/view-switcher}/view-switcher.js +55 -44
  192. package/dist/components/{viewport-bookmarks → atoms/viewport-bookmarks}/viewport-bookmarks.js +1 -1
  193. package/dist/components/{watchlist → atoms/watchlist}/watchlist.js +10 -9
  194. package/dist/components/{workspace-switcher → atoms/workspace-switcher}/workspace-switcher.js +40 -11
  195. package/dist/components/{world-breadcrumbs → atoms/world-breadcrumbs}/world-breadcrumbs.js +1 -1
  196. package/dist/components/index.js +379 -322
  197. package/dist/components/{activity-log → molecules/activity-log}/activity-log.js +7 -7
  198. package/dist/components/{ai-artifact → molecules/ai-artifact}/ai-artifact.js +18 -6
  199. package/dist/components/{ai-chat-input → molecules/ai-chat-input}/ai-chat-input.js +12 -5
  200. package/dist/components/{ai-message-bubble → molecules/ai-message-bubble}/ai-message-bubble.js +3 -3
  201. package/dist/components/{ai-sidebar → molecules/ai-sidebar}/ai-sidebar.js +3 -3
  202. package/dist/components/{ai-tool-call-display → molecules/ai-tool-call-display}/ai-tool-call-display.js +3 -3
  203. package/dist/components/{alert-dialog → molecules/alert-dialog}/alert-dialog.js +2 -2
  204. package/dist/components/{annotation → molecules/annotation}/annotation.js +6 -2
  205. package/dist/components/{auto-reload → molecules/auto-reload}/auto-reload.js +4 -4
  206. package/dist/components/{avatar-group → molecules/avatar-group}/avatar-group.js +3 -3
  207. package/dist/components/{blog-card → molecules/blog-card}/blog-card.js +2 -2
  208. package/dist/components/{calendar → molecules/calendar}/calendar.js +2 -2
  209. package/dist/components/{carousel → molecules/carousel}/carousel.js +2 -2
  210. package/dist/components/{category-filter → molecules/category-filter}/category-filter.js +1 -1
  211. package/dist/components/{chat-dock-section → molecules/chat-dock-section}/chat-dock-section.js +2 -2
  212. package/dist/components/{checkbox-group → molecules/checkbox-group}/checkbox-group.js +3 -3
  213. package/dist/components/{civilization-card → molecules/civilization-card}/civilization-card.js +2 -2
  214. package/dist/components/{color-picker → molecules/color-picker}/color-picker.js +55 -42
  215. package/dist/components/{command → molecules/command}/command.js +35 -16
  216. package/dist/components/molecules/completion-dialog/completion-dialog.js +163 -0
  217. package/dist/components/{connector-edge → molecules/connector-edge}/connector-edge.js +3 -2
  218. package/dist/components/{content-intro → molecules/content-intro}/content-intro.js +5 -3
  219. package/dist/components/{conversation-thread → molecules/conversation-thread}/conversation-thread.js +7 -6
  220. package/dist/components/{cookie-consent → molecules/cookie-consent}/cookie-consent.js +2 -2
  221. package/dist/components/{copy-button → molecules/copy-button}/copy-button.js +7 -47
  222. package/dist/components/molecules/copy-button/use-copy-to-clipboard.js +42 -0
  223. package/dist/components/{countdown-timer → molecules/countdown-timer}/countdown-timer.js +5 -5
  224. package/dist/components/{credit-badge → molecules/credit-badge}/credit-badge.js +2 -2
  225. package/dist/components/{exercise → molecules/exercise}/exercise.js +5 -5
  226. package/dist/components/{field → molecules/field}/field.js +2 -2
  227. package/dist/components/{file-upload → molecules/file-upload}/file-upload.js +45 -43
  228. package/dist/components/{filter-bar → molecules/filter-bar}/filter-bar.js +6 -6
  229. package/dist/components/{flashcard → molecules/flashcard}/flashcard.js +4 -4
  230. package/dist/components/{form → molecules/form}/form.js +2 -2
  231. package/dist/components/{historical-figure-card → molecules/historical-figure-card}/historical-figure-card.js +4 -4
  232. package/dist/components/{horizontal-scroll-row → molecules/horizontal-scroll-row}/horizontal-scroll-row.js +3 -3
  233. package/dist/components/{inline-input → molecules/inline-input}/inline-input.js +6 -2
  234. package/dist/components/{knowledge-check → molecules/knowledge-check}/knowledge-check.js +3 -3
  235. package/dist/components/{live-feed → molecules/live-feed}/live-feed.js +7 -7
  236. package/dist/components/{metric-gauge → molecules/metric-gauge}/metric-gauge.js +5 -5
  237. package/dist/components/{model-comparison → molecules/model-comparison}/model-comparison.js +3 -3
  238. package/dist/components/{newsletter-signup → molecules/newsletter-signup}/newsletter-signup.js +11 -4
  239. package/dist/components/{number-input → molecules/number-input}/number-input.js +8 -2
  240. package/dist/components/{object-card → molecules/object-card}/object-card.js +8 -7
  241. package/dist/components/{overview-board → molecules/overview-board}/overview-board.js +3 -2
  242. package/dist/components/molecules/pagination/pagination.js +76 -0
  243. package/dist/components/{plan-badge → molecules/plan-badge}/plan-badge.js +2 -2
  244. package/dist/components/{pricing-table → molecules/pricing-table}/pricing-table.js +2 -2
  245. package/dist/components/{profile-section → molecules/profile-section}/profile-section.js +1 -1
  246. package/dist/components/{progress-card → molecules/progress-card}/progress-card.js +21 -11
  247. package/dist/components/{progress-tracker → molecules/progress-tracker}/progress-tracker.js +45 -37
  248. package/dist/components/{prompt-templates → molecules/prompt-templates}/prompt-templates.js +4 -4
  249. package/dist/components/{role-badge → molecules/role-badge}/role-badge.js +2 -2
  250. package/dist/components/{scope-selector → molecules/scope-selector}/scope-selector.js +13 -9
  251. package/dist/components/{search-bar → molecules/search-bar}/search-bar.js +18 -12
  252. package/dist/components/{sidebar → molecules/sidebar}/sidebar.js +6 -6
  253. package/dist/components/{sidebar-toggle → molecules/sidebar-toggle}/sidebar-toggle.js +2 -2
  254. package/dist/components/{stat-card → molecules/stat-card}/stat-card.js +9 -4
  255. package/dist/components/{status-board → molecules/status-board}/status-board.js +10 -4
  256. package/dist/components/{text-field → molecules/text-field}/text-field.js +3 -3
  257. package/dist/components/{theme-toggle → molecules/theme-toggle}/theme-toggle.js +3 -3
  258. package/dist/components/{ticker-tape → molecules/ticker-tape}/ticker-tape.js +43 -15
  259. package/dist/components/{time-picker → molecules/time-picker}/time-picker.js +72 -29
  260. package/dist/components/{toggle-group → molecules/toggle-group}/toggle-group.js +2 -2
  261. package/dist/components/{tour → molecules/tour}/tour.js +18 -10
  262. package/dist/components/{transaction-list → molecules/transaction-list}/transaction-list.js +3 -3
  263. package/dist/components/{tutorial-card → molecules/tutorial-card}/tutorial-card.js +11 -9
  264. package/dist/components/{tutorial-filters → molecules/tutorial-filters}/tutorial-filters.js +5 -5
  265. package/dist/components/{usage-breakdown → molecules/usage-breakdown}/usage-breakdown.js +3 -3
  266. package/dist/components/{world-clock-bar → molecules/world-clock-bar}/world-clock-bar.js +3 -3
  267. package/dist/components/{zoom-hud → molecules/zoom-hud}/zoom-hud.js +3 -2
  268. package/dist/components/{activity-heatmap → organisms/activity-heatmap}/activity-heatmap.js +2 -2
  269. package/dist/components/{candlestick-chart → organisms/candlestick-chart}/candlestick-chart.js +5 -5
  270. package/dist/components/{canvas-view → organisms/canvas-view}/canvas-view.js +11 -15
  271. package/dist/components/{chart → organisms/chart}/area-chart.js +1 -1
  272. package/dist/components/{chart → organisms/chart}/bar-chart.js +2 -2
  273. package/dist/components/{chart → organisms/chart}/line-chart.js +1 -1
  274. package/dist/components/{choropleth-map → organisms/choropleth-map}/choropleth-map.js +10 -3
  275. package/dist/components/{chronological-timeline → organisms/chronological-timeline}/chronological-timeline.js +3 -5
  276. package/dist/components/{code-block → organisms/code-block}/code-block.js +45 -18
  277. package/dist/components/{code-playground → organisms/code-playground}/code-playground.js +11 -4
  278. package/dist/components/{combobox → organisms/combobox}/combobox.js +33 -11
  279. package/dist/components/{contribution-graph → organisms/contribution-graph}/contribution-graph.js +1 -1
  280. package/dist/components/{data-table → organisms/data-table}/data-table.js +45 -25
  281. package/dist/components/{date-picker → organisms/date-picker}/date-picker.js +30 -12
  282. package/dist/components/{date-range-picker → organisms/date-range-picker}/date-range-picker.js +28 -12
  283. package/dist/components/{flow-diagram → organisms/flow-diagram}/flow-canvas.js +4 -1
  284. package/dist/components/{flow-diagram → organisms/flow-diagram}/flow-controls.js +8 -2
  285. package/dist/components/{flow-diagram → organisms/flow-diagram}/flow-diagram.js +1 -1
  286. package/dist/components/{flow-diagram → organisms/flow-diagram}/flow-error-boundary.js +1 -1
  287. package/dist/components/{flow-diagram → organisms/flow-diagram}/flow-fullscreen.js +7 -3
  288. package/dist/components/{flow-diagram → organisms/flow-diagram}/index.js +2 -0
  289. package/dist/components/{flow-diagram → organisms/flow-diagram}/use-flow-diagram.js +27 -13
  290. package/dist/components/{gantt-chart → organisms/gantt-chart}/gantt-chart.js +7 -3
  291. package/dist/components/{geography-quiz-map → organisms/geography-quiz-map}/geography-quiz-map.js +44 -21
  292. package/dist/components/{globe-3d → organisms/globe-3d}/globe-3d.js +2 -2
  293. package/dist/components/{heat-map-overlay → organisms/heat-map-overlay}/heat-map-overlay.js +1 -1
  294. package/dist/components/{historic-timeline → organisms/historic-timeline}/historic-timeline.js +2 -2
  295. package/dist/components/{interactive-timeline → organisms/interactive-timeline}/interactive-timeline.js +7 -7
  296. package/dist/components/{map-2d → organisms/map-2d}/map-2d.js +4 -1
  297. package/dist/components/{map-timeline → organisms/map-timeline}/map-timeline.js +1 -1
  298. package/dist/components/{market-treemap → organisms/market-treemap}/market-treemap.js +11 -4
  299. package/dist/components/{model-selector → organisms/model-selector}/model-selector.js +69 -52
  300. package/dist/components/{multi-select → organisms/multi-select}/multi-select.js +23 -6
  301. package/dist/components/{navbar-saas → organisms/navbar-saas}/navbar-saas.js +4 -4
  302. package/dist/components/{parallel-timeline → organisms/parallel-timeline}/parallel-timeline.js +3 -2
  303. package/dist/components/{pie-chart → organisms/pie-chart}/pie-chart.js +1 -1
  304. package/dist/components/{primary-source-viewer → organisms/primary-source-viewer}/primary-source-viewer.js +2 -2
  305. package/dist/components/{radar-chart → organisms/radar-chart}/radar-chart.js +1 -1
  306. package/dist/components/{range-calendar → organisms/range-calendar}/range-calendar.js +1 -1
  307. package/dist/components/{route-map → organisms/route-map}/route-map.js +1 -1
  308. package/dist/components/{run-timeline → organisms/run-timeline}/run-timeline.js +3 -3
  309. package/dist/components/{sankey-chart → organisms/sankey-chart}/sankey-chart.js +1 -1
  310. package/dist/components/{search-dialog → organisms/search-dialog}/search-dialog.js +3 -3
  311. package/dist/components/{share-dialog → organisms/share-dialog}/share-dialog.js +41 -27
  312. package/dist/components/{slideshow → organisms/slideshow}/slideshow.js +30 -15
  313. package/dist/components/{static-code → organisms/static-code}/static-code-copy.js +2 -2
  314. package/dist/components/{static-code → organisms/static-code}/static-code.js +1 -1
  315. package/dist/components/{story-map → organisms/story-map}/story-map.js +1 -1
  316. package/dist/components/{subscription-card → organisms/subscription-card}/subscription-card.js +6 -4
  317. package/dist/components/{terminal → organisms/terminal}/terminal.js +6 -6
  318. package/dist/components/{tree-view → organisms/tree-view}/tree-view.js +42 -5
  319. package/dist/components/{tutorial-complete → organisms/tutorial-complete}/tutorial-complete.js +3 -3
  320. package/dist/components/{tutorial-mdx → organisms/tutorial-mdx}/tutorial-mdx.js +27 -21
  321. package/dist/components/{wallet-card → organisms/wallet-card}/wallet-card.js +4 -4
  322. package/dist/components/{canvas-shell → templates/canvas-shell}/canvas-shell.js +1 -1
  323. package/dist/index.d.ts +1353 -1047
  324. package/dist/index.js +14 -0
  325. package/dist/lib/focus-calendar-day.js +13 -0
  326. package/dist/lib/roving-focus.js +70 -0
  327. package/dist/lib/use-escape-key.js +6 -3
  328. package/dist/lib/use-event-callback.js +15 -0
  329. package/dist/lib/use-focus-containment.js +74 -0
  330. package/dist/lib/use-return-focus.js +23 -0
  331. package/dist/types/side-effect-imports.d.js +0 -0
  332. package/package.json +70 -69
  333. package/styles.css +35 -6
  334. package/themes/default.css +6 -6
  335. package/themes/presets.css +76 -76
  336. package/dist/components/completion-dialog/completion-dialog.js +0 -204
  337. package/dist/components/cursor/cursor.js +0 -52
  338. package/dist/components/dock/dock.js +0 -109
  339. package/dist/components/magnetic/magnetic.js +0 -63
  340. package/dist/components/magnetic-button/magnetic-button.js +0 -64
  341. package/dist/components/marquee/marquee.js +0 -97
  342. package/dist/components/pagination/pagination.js +0 -44
  343. package/dist/components/scroll-area/scroll-area.js +0 -48
  344. package/dist/components/spotlight-card/spotlight-card.js +0 -53
  345. package/dist/components/tabs/tabs.js +0 -132
  346. package/dist/components/tilt-card/tilt-card.js +0 -70
  347. /package/dist/components/{aspect-ratio → atoms/aspect-ratio}/aspect-ratio.js +0 -0
  348. /package/dist/components/{collapsible → atoms/collapsible}/collapsible.js +0 -0
  349. /package/dist/components/{lang-provider → atoms/lang-provider}/lang-provider.js +0 -0
  350. /package/dist/components/{share-section → atoms/share-section}/share-section.js +0 -0
  351. /package/dist/components/{sidebar-provider → atoms/sidebar-provider}/sidebar-provider.js +0 -0
  352. /package/dist/components/{social-fab → atoms/social-fab}/use-social-fab.js +0 -0
  353. /package/dist/components/{theme-provider → atoms/theme-provider}/theme-provider.js +0 -0
  354. /package/dist/components/{flow-diagram → organisms/flow-diagram}/types.js +0 -0
  355. /package/dist/components/{mdx-content → organisms/mdx-content}/mdx-content.js +0 -0
  356. /package/dist/components/{navbar-saas → organisms/navbar-saas}/use-mobile.js +0 -0
  357. /package/dist/components/{canvas-shell → templates/canvas-shell}/canvas-shell-route-config.js +0 -0
@@ -1,13 +1,15 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Drawer as DrawerPrimitive } from "vaul";
4
- import { cn } from "../../lib/utils.js";
4
+ import { cn } from "../../../lib/utils.js";
5
5
  const Drawer = ({
6
+ autoFocus = true,
6
7
  shouldScaleBackground = true,
7
8
  ...props
8
9
  }) => /* @__PURE__ */ jsx(
9
10
  DrawerPrimitive.Root,
10
11
  {
12
+ autoFocus,
11
13
  shouldScaleBackground,
12
14
  ...props
13
15
  }
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
4
- import { cn } from "../../lib/utils.js";
4
+ import { cn } from "../../../lib/utils.js";
5
5
  const DropdownMenu = DropdownMenuPrimitive.Root;
6
6
  const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
7
7
  const DropdownMenuGroup = DropdownMenuPrimitive.Group;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const emphasisClasses = {
4
4
  active: "border-sky-500/30 bg-sky-500/10 text-sky-700 dark:text-sky-300",
5
5
  subtle: "border-border/60 bg-background/90 text-muted-foreground"
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { cva } from "class-variance-authority";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const emptyStateVariants = cva(
5
5
  "flex flex-col items-center justify-center gap-3 text-center text-foreground",
6
6
  {
@@ -5,7 +5,7 @@ import {
5
5
  use,
6
6
  useMemo
7
7
  } from "react";
8
- import { cn } from "../../lib/utils.js";
8
+ import { cn } from "../../../lib/utils.js";
9
9
  function assignRef(ref, node) {
10
10
  if (typeof ref === "function") {
11
11
  ref(node);
@@ -16,7 +16,7 @@ function assignRef(ref, node) {
16
16
  const ERA_PALETTE = {
17
17
  amber: {
18
18
  accent: "bg-amber-500",
19
- chip: "bg-amber-500/15 text-amber-700 dark:text-amber-300"
19
+ chip: "bg-amber-500/15 text-amber-800 dark:text-amber-300"
20
20
  },
21
21
  blue: {
22
22
  accent: "bg-blue-500",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
- import { cn } from "../../lib/utils.js";
4
+ import { cn } from "../../../lib/utils.js";
5
5
  const ExpandableCards = ({
6
6
  cards,
7
7
  className,
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useState } from "react";
4
4
  import { ChevronDown, HelpCircle } from "lucide-react";
5
- import { cn } from "../../lib/utils.js";
5
+ import { cn } from "../../../lib/utils.js";
6
6
  function FAQItem({ children, defaultOpen = false, question }) {
7
7
  const [isOpen, setIsOpen] = useState(defaultOpen);
8
8
  return /* @__PURE__ */ jsxs("div", { className: "border-b border-border last:border-b-0", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const Fieldset = ({
4
4
  className,
5
5
  ref,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { memo } from "react";
4
- import { cn } from "../../lib/utils.js";
4
+ import { cn } from "../../../lib/utils.js";
5
5
  function FloatingActionButtonImpl({
6
6
  "aria-label": ariaLabel,
7
7
  children,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
- import { cn } from "../../lib/utils.js";
4
+ import { cn } from "../../../lib/utils.js";
5
5
  function usePrefersReducedMotion() {
6
6
  const [reduced, setReduced] = React.useState(false);
7
7
  React.useEffect(() => {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const VARIANT_CLASSES = {
5
5
  destructive: "border-red-300 bg-red-500/10 text-red-700 hover:bg-red-500/20 dark:text-red-300",
6
6
  ghost: "border-border bg-background text-foreground hover:bg-accent",
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const PALETTE = {
5
- amber: { chip: "bg-amber-500 text-white", ring: "ring-amber-500" },
6
- blue: { chip: "bg-blue-500 text-white", ring: "ring-blue-500" },
7
- emerald: { chip: "bg-emerald-500 text-white", ring: "ring-emerald-500" },
8
- purple: { chip: "bg-purple-500 text-white", ring: "ring-purple-500" },
9
- red: { chip: "bg-red-500 text-white", ring: "ring-red-500" },
10
- rose: { chip: "bg-rose-500 text-white", ring: "ring-rose-500" }
5
+ amber: { chip: "bg-amber-700 text-white", ring: "ring-amber-500" },
6
+ blue: { chip: "bg-blue-700 text-white", ring: "ring-blue-500" },
7
+ emerald: { chip: "bg-emerald-700 text-white", ring: "ring-emerald-500" },
8
+ purple: { chip: "bg-purple-700 text-white", ring: "ring-purple-500" },
9
+ red: { chip: "bg-red-700 text-white", ring: "ring-red-500" },
10
+ rose: { chip: "bg-rose-700 text-white", ring: "ring-rose-500" }
11
11
  };
12
12
  const DEFAULT_LABELS = {
13
13
  region: "Follow mode",
@@ -1,5 +1,5 @@
1
1
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const DEFAULT_SIZE = 200;
4
4
  const DEFAULT_MIN = 0;
5
5
  const DEFAULT_MAX = 100;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const GlassCard = ({
4
4
  children,
5
5
  className,
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const GlassPanel = ({
4
4
  children,
5
5
  className,
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  function clampPercent(value) {
4
4
  return Math.min(Math.max(value, 0), 100);
5
5
  }
@@ -13,6 +13,7 @@ const GlassProgress = ({
13
13
  return /* @__PURE__ */ jsx(
14
14
  "div",
15
15
  {
16
+ "aria-label": props["aria-labelledby"] ? void 0 : "Progress",
16
17
  "aria-valuemax": 100,
17
18
  "aria-valuemin": 0,
18
19
  "aria-valuenow": clamped,
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const colsClasses = {
4
4
  1: "grid-cols-1",
5
5
  2: "grid-cols-2",
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const GroupHull = ({
4
4
  children,
5
5
  className,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const LEVEL_RING = {
5
5
  info: "ring-blue-500",
6
6
  request: "ring-amber-500",
7
- urgent: "ring-red-500 animate-pulse"
7
+ urgent: "ring-red-500 animate-pulse motion-reduce:animate-none"
8
8
  };
9
9
  const LEVEL_DOT = {
10
10
  info: "bg-blue-500",
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const headingTag = {
4
4
  1: "h1",
5
5
  2: "h2",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useId } from "react";
4
- import { cn } from "../../lib/utils.js";
4
+ import { cn } from "../../../lib/utils.js";
5
5
  const TONE_FILL = {
6
6
  cool: "fill-blue-500",
7
7
  danger: "fill-red-500",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
4
- import { cn } from "../../lib/utils.js";
4
+ import { cn } from "../../../lib/utils.js";
5
5
  const HoverCard = HoverCardPrimitive.Root;
6
6
  const HoverCardTrigger = HoverCardPrimitive.Trigger;
7
7
  const HoverCardContent = ({
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const DEFAULT_LABELS = {
5
5
  region: "Infinite plane"
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const Input = ({
4
4
  className,
5
5
  ref: reference,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { cva } from "class-variance-authority";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const inputGroupVariants = cva(
5
5
  "flex w-full items-center overflow-hidden rounded-md border border-input bg-background text-sm ring-offset-background focus-within:outline-none focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-50"
6
6
  );
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { use } from "react";
4
4
  import { OTPInput, OTPInputContext } from "input-otp";
5
5
  import { Dot } from "lucide-react";
6
- import { cn } from "../../lib/utils.js";
6
+ import { cn } from "../../../lib/utils.js";
7
7
  const InputOTP = ({
8
8
  className,
9
9
  containerClassName,
@@ -52,7 +52,7 @@ const InputOTPSlot = ({
52
52
  ...props,
53
53
  children: [
54
54
  char,
55
- hasFakeCaret ? /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) }) : null
55
+ hasFakeCaret ? /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000 motion-reduce:animate-none" }) }) : null
56
56
  ]
57
57
  }
58
58
  );
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { cva } from "class-variance-authority";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const itemVariants = cva("flex items-center gap-3 rounded-md text-sm", {
5
5
  defaultVariants: {
6
6
  size: "default",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
- import { cn } from "../../lib/utils.js";
3
+ import { cn } from "../../../lib/utils.js";
4
4
  const TONE_CLASS = {
5
5
  danger: "text-red-600 dark:text-red-400",
6
6
  neutral: "text-foreground",
@@ -4,7 +4,7 @@ import {
4
4
  useSyncExternalStore
5
5
  } from "react";
6
6
  import { cva } from "class-variance-authority";
7
- import { cn } from "../../lib/utils.js";
7
+ import { cn } from "../../../lib/utils.js";
8
8
  const kbdVariants = cva(
9
9
  "inline-flex select-none items-center justify-center rounded border border-border bg-muted font-mono font-medium text-foreground shadow-[0_1px_0_0_oklch(var(--border))] [&>svg]:h-3 [&>svg]:w-3",
10
10
  {
@@ -41,7 +41,7 @@ const SPECIAL_KEY_LABELS = {
41
41
  space: "Space",
42
42
  tab: "\u21E5"
43
43
  };
44
- const SHORTCUT_SEPARATOR = /\s*\+\s*/;
44
+ const SHORTCUT_SEPARATOR = "+";
45
45
  function isMacPlatform() {
46
46
  if (typeof navigator === "undefined") return false;
47
47
  return MAC_PLATFORM_PATTERN.test(navigator.userAgent);
@@ -84,7 +84,7 @@ const Kbd = ({
84
84
  return /* @__PURE__ */ jsx("kbd", { className: cn(kbdVariants({ size }), className), ref, ...rest, children });
85
85
  }
86
86
  if (shortcut) {
87
- const tokens = shortcut.split(SHORTCUT_SEPARATOR).filter(Boolean);
87
+ const tokens = shortcut.split(SHORTCUT_SEPARATOR).map((token) => token.trim()).filter(Boolean);
88
88
  const ariaLabel = tokens.map((token) => formatToken(token, isMac)).join(" + ");
89
89
  return /* @__PURE__ */ jsx(
90
90
  "span",
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  function KeyConcept({
4
4
  children,
5
5
  className,
@@ -19,6 +19,7 @@ function KeyConcept({
19
19
  icon ? /* @__PURE__ */ jsx("span", { className: "size-5 text-primary flex-shrink-0 mt-0.5", children: icon }) : /* @__PURE__ */ jsx(
20
20
  "svg",
21
21
  {
22
+ "aria-hidden": "true",
22
23
  className: "size-5 text-primary flex-shrink-0 mt-0.5",
23
24
  fill: "none",
24
25
  stroke: "currentColor",
@@ -34,7 +35,7 @@ function KeyConcept({
34
35
  )
35
36
  }
36
37
  ),
37
- /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
38
+ /* @__PURE__ */ jsxs("dl", { className: "flex-1 min-w-0", children: [
38
39
  /* @__PURE__ */ jsx("dt", { className: "font-bold text-foreground mb-1", children: term }),
39
40
  /* @__PURE__ */ jsx("dd", { className: "text-sm text-muted-foreground [&>p]:mb-0", children })
40
41
  ] })
@@ -54,6 +55,7 @@ function Glossary({
54
55
  icon ? /* @__PURE__ */ jsx("span", { className: "size-4", children: icon }) : /* @__PURE__ */ jsx(
55
56
  "svg",
56
57
  {
58
+ "aria-hidden": "true",
57
59
  className: "size-4",
58
60
  fill: "none",
59
61
  stroke: "currentColor",
@@ -71,7 +73,7 @@ function Glossary({
71
73
  ),
72
74
  title
73
75
  ] }),
74
- /* @__PURE__ */ jsx("dl", { className: "space-y-2", children })
76
+ /* @__PURE__ */ jsx("div", { className: "space-y-2", children })
75
77
  ] });
76
78
  }
77
79
  export {
@@ -1,13 +1,15 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { memo, useEffect, useRef } from "react";
4
- import { useBodyScrollLock } from "../../lib/use-body-scroll-lock.js";
5
- import { useEscapeKey } from "../../lib/use-escape-key.js";
6
- import { cn } from "../../lib/utils.js";
4
+ import { useBodyScrollLock } from "../../../lib/use-body-scroll-lock.js";
5
+ import { useEscapeKey } from "../../../lib/use-escape-key.js";
6
+ import { useFocusContainment } from "../../../lib/use-focus-containment.js";
7
+ import { cn } from "../../../lib/utils.js";
7
8
  function DefaultCloseIcon() {
8
9
  return /* @__PURE__ */ jsx(
9
10
  "svg",
10
11
  {
12
+ "aria-hidden": "true",
11
13
  className: "size-5",
12
14
  fill: "none",
13
15
  stroke: "currentColor",
@@ -27,7 +29,7 @@ function DefaultCloseIcon() {
27
29
  function ShortcutsList({
28
30
  shortcuts
29
31
  }) {
30
- return /* @__PURE__ */ jsx("div", { className: "space-y-3", children: shortcuts.map((shortcut) => /* @__PURE__ */ jsxs(
32
+ return /* @__PURE__ */ jsx("div", { className: "space-y-3", children: shortcuts.map((shortcut, index) => /* @__PURE__ */ jsxs(
31
33
  "div",
32
34
  {
33
35
  className: "flex items-center justify-between text-sm",
@@ -43,7 +45,7 @@ function ShortcutsList({
43
45
  )) })
44
46
  ]
45
47
  },
46
- shortcut.description
48
+ `${shortcut.description}-${index.toString()}`
47
49
  )) });
48
50
  }
49
51
  function KeyboardShortcutsHelpImpl({
@@ -57,6 +59,8 @@ function KeyboardShortcutsHelpImpl({
57
59
  title = "Keyboard Shortcuts"
58
60
  }) {
59
61
  const closeButtonRef = useRef(null);
62
+ const dialogRef = useRef(null);
63
+ useFocusContainment(dialogRef, isOpen);
60
64
  useEffect(() => {
61
65
  if (isOpen) {
62
66
  closeButtonRef.current?.focus();
@@ -71,6 +75,7 @@ function KeyboardShortcutsHelpImpl({
71
75
  "aria-labelledby": "shortcuts-title",
72
76
  "aria-modal": "true",
73
77
  className: "fixed inset-0 z-50 flex items-center justify-center",
78
+ ref: dialogRef,
74
79
  role: "dialog",
75
80
  children: [
76
81
  /* @__PURE__ */ jsx(
@@ -2,7 +2,7 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import * as LabelPrimitive from "@radix-ui/react-label";
4
4
  import { cva } from "class-variance-authority";
5
- import { cn } from "../../lib/utils.js";
5
+ import { cn } from "../../../lib/utils.js";
6
6
  const labelVariants = cva(
7
7
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
8
8
  );
@@ -18,10 +18,17 @@ function LearningObjectives({
18
18
  /* @__PURE__ */ jsx("span", { children: estimatedTime })
19
19
  ] }) : null
20
20
  ] }),
21
- /* @__PURE__ */ jsx("ul", { className: "space-y-2", children: objectives.map((objective) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-2", children: [
22
- /* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-primary flex-shrink-0 mt-0.5" }),
23
- /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: objective })
24
- ] }, objective)) })
21
+ /* @__PURE__ */ jsx("ul", { className: "space-y-2", children: objectives.map((objective, index) => /* @__PURE__ */ jsxs(
22
+ "li",
23
+ {
24
+ className: "flex items-start gap-2",
25
+ children: [
26
+ /* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-primary flex-shrink-0 mt-0.5" }),
27
+ /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: objective })
28
+ ]
29
+ },
30
+ `${objective}-${index.toString()}`
31
+ )) })
25
32
  ] });
26
33
  }
27
34
  function Prerequisites({
@@ -37,7 +44,7 @@ function Prerequisites({
37
44
  ] }),
38
45
  level ? /* @__PURE__ */ jsx("span", { className: "text-xs font-medium px-2 py-1 rounded-full bg-primary/10 text-primary capitalize", children: level }) : null
39
46
  ] }),
40
- /* @__PURE__ */ jsx("ul", { className: "space-y-2", children: items.map((item) => /* @__PURE__ */ jsxs(
47
+ /* @__PURE__ */ jsx("ul", { className: "space-y-2", children: items.map((item, index) => /* @__PURE__ */ jsxs(
41
48
  "li",
42
49
  {
43
50
  className: "flex items-start gap-2 text-sm text-muted-foreground",
@@ -46,7 +53,7 @@ function Prerequisites({
46
53
  item
47
54
  ]
48
55
  },
49
- item
56
+ `${item}-${index.toString()}`
50
57
  )) })
51
58
  ] });
52
59
  }
@@ -63,10 +70,17 @@ function Summary({
63
70
  /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground [&>p]:mb-2", children }),
64
71
  keyTakeaways && keyTakeaways.length > 0 ? /* @__PURE__ */ jsxs("div", { className: "mt-4 pt-4 border-t border-border", children: [
65
72
  /* @__PURE__ */ jsx("p", { className: "text-xs font-medium uppercase tracking-wider text-muted-foreground mb-2", children: "Key Takeaways" }),
66
- /* @__PURE__ */ jsx("ul", { className: "space-y-1", children: keyTakeaways.map((takeaway) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-2 text-sm", children: [
67
- /* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-green-500 flex-shrink-0 mt-0.5" }),
68
- /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: takeaway })
69
- ] }, takeaway)) })
73
+ /* @__PURE__ */ jsx("ul", { className: "space-y-1", children: keyTakeaways.map((takeaway, index) => /* @__PURE__ */ jsxs(
74
+ "li",
75
+ {
76
+ className: "flex items-start gap-2 text-sm",
77
+ children: [
78
+ /* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-green-600 dark:text-green-500 flex-shrink-0 mt-0.5" }),
79
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: takeaway })
80
+ ]
81
+ },
82
+ `${takeaway}-${index.toString()}`
83
+ )) })
70
84
  ] }) : null
71
85
  ] });
72
86
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const LeftRail = ({
4
4
  children,
5
5
  className,
@@ -2,7 +2,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Slot } from "@radix-ui/react-slot";
3
3
  import { cva } from "class-variance-authority";
4
4
  import { ExternalLink } from "lucide-react";
5
- import { cn } from "../../lib/utils.js";
5
+ import { cn } from "../../../lib/utils.js";
6
6
  const linkVariants = cva(
7
7
  "inline-flex items-center gap-1 rounded-sm underline-offset-4 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
8
8
  {
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils.js";
2
+ import { cn } from "../../../lib/utils.js";
3
3
  const LiquidGlass = ({
4
4
  children,
5
5
  className,
@@ -20,9 +20,8 @@ const LiquidGlass = ({
20
20
  "span",
21
21
  {
22
22
  "aria-hidden": "true",
23
- className: "pointer-events-none absolute inset-0 motion-reduce:animate-none",
23
+ className: "pointer-events-none absolute inset-0 [animation:vllnt-liquid-shift_8s_ease-in-out_infinite] motion-reduce:animate-none",
24
24
  style: {
25
- animation: "vllnt-liquid-shift 8s ease-in-out infinite",
26
25
  background: "linear-gradient(120deg, transparent, oklch(var(--primary) / 0.18), transparent, oklch(var(--accent) / 0.18), transparent)",
27
26
  backgroundSize: "200% 200%"
28
27
  }
@@ -2,7 +2,8 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { Check } from "lucide-react";
5
- import { cn } from "../../lib/utils.js";
5
+ import { moveRovingFocus } from "../../../lib/roving-focus.js";
6
+ import { cn } from "../../../lib/utils.js";
6
7
  const ListBoxContext = React.createContext(null);
7
8
  function useListBoxContext() {
8
9
  const context = React.use(ListBoxContext);
@@ -34,6 +35,39 @@ function useListBoxSelection({
34
35
  };
35
36
  return { select, selectedValues };
36
37
  }
38
+ const OPTION_SELECTOR = '[role="option"]';
39
+ function enabledOptionValues(root) {
40
+ return [...root.querySelectorAll(OPTION_SELECTOR)].filter((option) => option.getAttribute("aria-disabled") !== "true").map((option) => option.dataset.value ?? "");
41
+ }
42
+ function useRovingTabStop(selectedValues, children) {
43
+ const rootRef = React.useRef(null);
44
+ const [tabStop, setTabStop] = React.useState();
45
+ React.useLayoutEffect(() => {
46
+ const root = rootRef.current;
47
+ if (!root) return;
48
+ const values = enabledOptionValues(root);
49
+ const focusInside = root.contains(document.activeElement);
50
+ if (focusInside && tabStop !== void 0 && values.includes(tabStop)) {
51
+ return;
52
+ }
53
+ const preferred = values.find((entry) => selectedValues.includes(entry)) ?? values[0];
54
+ if (preferred !== tabStop) setTabStop(preferred);
55
+ }, [children, selectedValues, tabStop]);
56
+ return { rootRef, setTabStop, tabStop };
57
+ }
58
+ function assignRef(ref, node) {
59
+ if (typeof ref === "function") {
60
+ ref(node);
61
+ } else if (ref) {
62
+ ref.current = node;
63
+ }
64
+ }
65
+ function handleListKeyDown(event) {
66
+ moveRovingFocus(event, OPTION_SELECTOR, {
67
+ loop: false,
68
+ orientation: "vertical"
69
+ });
70
+ }
37
71
  const ListBox = ({
38
72
  children,
39
73
  className,
@@ -51,9 +85,20 @@ const ListBox = ({
51
85
  selectionMode,
52
86
  value
53
87
  });
88
+ const { rootRef, setTabStop, tabStop } = useRovingTabStop(
89
+ selectedValues,
90
+ children
91
+ );
54
92
  const context = React.useMemo(
55
- () => ({ disabled, select, selectedValues }),
56
- [disabled, select, selectedValues]
93
+ () => ({ disabled, select, selectedValues, setTabStop, tabStop }),
94
+ [disabled, select, selectedValues, setTabStop, tabStop]
95
+ );
96
+ const setReferences = React.useCallback(
97
+ (node) => {
98
+ rootRef.current = node;
99
+ assignRef(ref, node);
100
+ },
101
+ [ref, rootRef]
57
102
  );
58
103
  return /* @__PURE__ */ jsx(ListBoxContext.Provider, { value: context, children: /* @__PURE__ */ jsx(
59
104
  "div",
@@ -64,8 +109,10 @@ const ListBox = ({
64
109
  "flex flex-col gap-0.5 rounded-md border border-input bg-background p-1",
65
110
  className
66
111
  ),
67
- ref,
112
+ onKeyDown: handleListKeyDown,
113
+ ref: setReferences,
68
114
  role: "listbox",
115
+ tabIndex: -1,
69
116
  children
70
117
  }
71
118
  ) });
@@ -103,11 +150,15 @@ const ListBoxItem = ({
103
150
  isDisabled && "pointer-events-none opacity-50",
104
151
  className
105
152
  ),
153
+ "data-value": value,
106
154
  onClick: activate,
155
+ onFocus: () => {
156
+ group.setTabStop(value);
157
+ },
107
158
  onKeyDown: handleKeyDown,
108
159
  ref,
109
160
  role: "option",
110
- tabIndex: isDisabled ? -1 : 0,
161
+ tabIndex: !isDisabled && group.tabStop === value ? 0 : -1,
111
162
  children: [
112
163
  /* @__PURE__ */ jsx(
113
164
  Check,