@vadimcomanescu/nadicode-design-system 2.0.7 → 2.0.9

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 (230) hide show
  1. package/.agents/skills/seed/SKILL.md +17 -8
  2. package/.agents/skills/seed/contract.md +5 -5
  3. package/.agents/skills/seed/intent-map.md +3 -3
  4. package/.agents/skills/seed/recipes/agents-chat.md +44 -20
  5. package/.agents/skills/seed/references/blocks.md +5 -2
  6. package/.agents/skills/seed/references/components.md +22 -2
  7. package/.agents/skills/seed/references/dashboard-patterns.md +12 -12
  8. package/.agents/skills/seed/references/nextjs.md +20 -80
  9. package/.agents/skills/seed/references/tokens.md +57 -248
  10. package/README.md +43 -215
  11. package/contracts/block-props-schemas.json +2186 -0
  12. package/contracts/component-props-schemas.json +8322 -0
  13. package/contracts/consumer-contract.json +178 -0
  14. package/contracts/consumer-intent-map.json +707 -0
  15. package/contracts/message-catalog-contract.json +820 -0
  16. package/contracts/page-kit-props-schemas.json +1894 -0
  17. package/contracts/public-surface-registry.json +5822 -0
  18. package/contracts/public-surface-registry.schema.json +219 -0
  19. package/contracts/release-governance-baseline.json +850 -0
  20. package/contracts/spec-manifest.json +46 -0
  21. package/dist/catalog.json +284 -81
  22. package/dist/chunk-4IGBBIYW.js +47 -0
  23. package/dist/chunk-4WPZ6T7V.js +186 -0
  24. package/dist/{chunk-OHOOQUVJ.js → chunk-C7WHMSF3.js} +2 -1
  25. package/dist/{chunk-4K3PATUT.js → chunk-EEL4RAPC.js} +13 -1
  26. package/dist/{chunk-ILIHQ2KZ.js → chunk-EK43W2Y6.js} +16 -10
  27. package/dist/{chunk-IDKZEPWK.js → chunk-FV2G6SAF.js} +6 -5
  28. package/dist/chunk-HWHJ6IRQ.js +78 -0
  29. package/dist/{chunk-AUSYEAIJ.js → chunk-I66XWYSS.js} +32 -8
  30. package/dist/chunk-JDJY4ABS.js +60 -0
  31. package/dist/{chunk-GV4PKHG4.js → chunk-KWILREVQ.js} +2 -2
  32. package/dist/{chunk-WI37ZYIF.js → chunk-M4XKO45H.js} +13 -1
  33. package/dist/{chunk-6N6CSJVE.js → chunk-OJ7OO3QB.js} +2 -2
  34. package/dist/{chunk-ZHTQF2KI.js → chunk-OSNTB6RY.js} +29 -22
  35. package/dist/{chunk-GMMPLZLC.js → chunk-PDSQC6VE.js} +1 -1
  36. package/dist/chunk-QQOWC53X.js +98 -0
  37. package/dist/chunk-VJ5VD4UT.js +91 -0
  38. package/dist/{chunk-TUKZKU72.js → chunk-ZKLB5N3Q.js} +1 -1
  39. package/dist/components/blocks/AgentConversationBlock.d.ts +6 -1
  40. package/dist/components/blocks/AgentConversationBlock.js +44 -42
  41. package/dist/components/blocks/AgentRunOverviewBlock.js +1 -1
  42. package/dist/components/blocks/AgentWorkbenchBlock.d.ts +5 -1
  43. package/dist/components/blocks/AgentWorkbenchBlock.js +47 -46
  44. package/dist/components/blocks/AuthLayout.js +2 -2
  45. package/dist/components/blocks/BannerBlock.js +38 -38
  46. package/dist/components/blocks/CallToActionBlock.js +2 -2
  47. package/dist/components/blocks/ChangelogBlock.js +39 -39
  48. package/dist/components/blocks/ChartBlock.js +38 -38
  49. package/dist/components/blocks/ChartCollectionBlock.js +1 -1
  50. package/dist/components/blocks/ChatLayout.d.ts +4 -1
  51. package/dist/components/blocks/ChatLayout.js +39 -39
  52. package/dist/components/blocks/CodeBlock.js +2 -2
  53. package/dist/components/blocks/ContactBlock.js +2 -2
  54. package/dist/components/blocks/CreateBlock.js +39 -39
  55. package/dist/components/blocks/DataGridBlock.js +40 -40
  56. package/dist/components/blocks/DirectoryBlock.js +43 -43
  57. package/dist/components/blocks/FAQBlock.js +38 -38
  58. package/dist/components/blocks/FeatureBlock.js +38 -38
  59. package/dist/components/blocks/GalleryBlock.js +38 -38
  60. package/dist/components/blocks/HeaderBlock.js +38 -38
  61. package/dist/components/blocks/HeroBlock.js +41 -41
  62. package/dist/components/blocks/HeroSectionBlock.js +55 -59
  63. package/dist/components/blocks/IntegrationsBlock.js +40 -40
  64. package/dist/components/blocks/InteractiveAreaChartBlock.js +38 -38
  65. package/dist/components/blocks/KanbanDemoBlock.js +3 -3
  66. package/dist/components/blocks/LoginBlock.js +2 -2
  67. package/dist/components/blocks/LogoCloud.js +2 -13
  68. package/dist/components/blocks/NavUser.js +42 -42
  69. package/dist/components/blocks/NotFoundBlock.js +41 -41
  70. package/dist/components/blocks/OnboardingBlock.js +38 -38
  71. package/dist/components/blocks/PricingBlock.js +4 -4
  72. package/dist/components/blocks/ProcessFlowBlock.js +2 -2
  73. package/dist/components/blocks/SettingsLayout.js +42 -42
  74. package/dist/components/blocks/SignUpBlock.js +1 -1
  75. package/dist/components/blocks/SocialProofBlock.js +4 -3
  76. package/dist/components/blocks/StatsBlock.js +38 -38
  77. package/dist/components/blocks/StatsMarketingBlock.js +2 -2
  78. package/dist/components/blocks/TestimonialsBlock.js +2 -1
  79. package/dist/components/blocks/TwoFactorChallengeBlock.js +38 -38
  80. package/dist/components/blocks/TwoFactorSetupBlock.js +41 -41
  81. package/dist/components/blocks/VoiceAgentCard.d.ts +3 -1
  82. package/dist/components/blocks/VoiceAgentCard.js +7 -76
  83. package/dist/components/blocks/WizardBlock.js +39 -39
  84. package/dist/components/blocks/user/InviteUserModal.js +38 -38
  85. package/dist/components/logos/index.js +2 -2
  86. package/dist/components/page-kits/AgentsChatPageKit.js +59 -58
  87. package/dist/components/page-kits/AnalyticsPageKit.js +44 -44
  88. package/dist/components/page-kits/BlogContentPageKit.js +43 -43
  89. package/dist/components/page-kits/CheckoutPageKit.js +41 -41
  90. package/dist/components/page-kits/CompanySuitePageKit.js +47 -47
  91. package/dist/components/page-kits/CrudFormPageKit.js +44 -44
  92. package/dist/components/page-kits/CrudListDetailPageKit.js +44 -44
  93. package/dist/components/page-kits/DashboardPageKit.js +44 -44
  94. package/dist/components/page-kits/KanbanBoardPageKit.js +47 -47
  95. package/dist/components/page-kits/LandingPageKit.js +50 -49
  96. package/dist/components/page-kits/LoginPageKit.js +2 -2
  97. package/dist/components/page-kits/MarketingShellPageKit.js +40 -40
  98. package/dist/components/page-kits/NavigationShellPageKit.js +42 -42
  99. package/dist/components/page-kits/OnboardingPageKit.js +44 -44
  100. package/dist/components/page-kits/PricingPageKit.js +46 -46
  101. package/dist/components/page-kits/ProfileSettingsPageKit.js +2 -2
  102. package/dist/components/page-kits/ServiceSuitePageKit.js +47 -46
  103. package/dist/components/page-kits/SignupPageKit.js +2 -2
  104. package/dist/components/page-kits/SuccessPageKit.js +38 -38
  105. package/dist/components/page-kits/TeamSettingsPageKit.js +45 -45
  106. package/dist/components/page-kits/TwoFactorPageKit.js +41 -41
  107. package/dist/components/page-kits/VerifyEmailPageKit.js +38 -38
  108. package/dist/components/page-kits/VoiceAgentsPageKit.js +80 -76
  109. package/dist/components/ui/Accordion.js +38 -38
  110. package/dist/components/ui/AgentMessageBubble.d.ts +20 -4
  111. package/dist/components/ui/AgentMessageBubble.js +39 -39
  112. package/dist/components/ui/AgentStatus.d.ts +1 -1
  113. package/dist/components/ui/AgentStatus.js +5 -10
  114. package/dist/components/ui/AgentTerminal.d.ts +4 -1
  115. package/dist/components/ui/AgentTerminal.js +3 -1
  116. package/dist/components/ui/AgentTimeline.d.ts +2 -2
  117. package/dist/components/ui/AgentTimeline.js +15 -6
  118. package/dist/components/ui/AnimatedDialog.js +38 -38
  119. package/dist/components/ui/AnimatedSheet.js +38 -38
  120. package/dist/components/ui/ApprovalCard.js +1 -1
  121. package/dist/components/ui/Breadcrumb.js +38 -38
  122. package/dist/components/ui/Calendar.js +38 -38
  123. package/dist/components/ui/Carousel.js +38 -38
  124. package/dist/components/ui/ChatActions.d.ts +14 -0
  125. package/dist/components/ui/ChatActions.js +52 -0
  126. package/dist/components/ui/ChatBranch.d.ts +18 -0
  127. package/dist/components/ui/ChatBranch.js +84 -0
  128. package/dist/components/ui/ChatChainOfThought.d.ts +25 -0
  129. package/dist/components/ui/ChatChainOfThought.js +99 -0
  130. package/dist/components/ui/ChatConfirmation.d.ts +37 -0
  131. package/dist/components/ui/ChatConfirmation.js +115 -0
  132. package/dist/components/ui/ChatGreeting.d.ts +18 -0
  133. package/dist/components/ui/ChatGreeting.js +80 -0
  134. package/dist/components/ui/ChatMessage.d.ts +40 -0
  135. package/dist/components/ui/ChatMessage.js +96 -0
  136. package/dist/components/ui/ChatPlan.d.ts +29 -0
  137. package/dist/components/ui/ChatPlan.js +86 -0
  138. package/dist/components/ui/ChatPromptInput.d.ts +32 -0
  139. package/dist/components/ui/ChatPromptInput.js +193 -0
  140. package/dist/components/ui/ChatPromptInputAttachments.d.ts +9 -0
  141. package/dist/components/ui/ChatPromptInputAttachments.js +145 -0
  142. package/dist/components/ui/ChatQueue.d.ts +32 -0
  143. package/dist/components/ui/ChatQueue.js +93 -0
  144. package/dist/components/ui/ChatReasoning.d.ts +20 -0
  145. package/dist/components/ui/ChatReasoning.js +91 -0
  146. package/dist/components/ui/ChatResponse.d.ts +14 -0
  147. package/dist/components/ui/ChatResponse.js +25 -0
  148. package/dist/components/ui/ChatShimmer.d.ts +23 -0
  149. package/dist/components/ui/ChatShimmer.js +6 -0
  150. package/dist/components/ui/ChatSources.d.ts +30 -0
  151. package/dist/components/ui/ChatSources.js +113 -0
  152. package/dist/components/ui/ChatSuggestion.d.ts +13 -0
  153. package/dist/components/ui/ChatSuggestion.js +41 -0
  154. package/dist/components/ui/ChatThinkingMessage.d.ts +12 -0
  155. package/dist/components/ui/ChatThinkingMessage.js +55 -0
  156. package/dist/components/ui/ChatToolCall.d.ts +41 -0
  157. package/dist/components/ui/ChatToolCall.js +192 -0
  158. package/dist/components/ui/CheckStatus.d.ts +1 -1
  159. package/dist/components/ui/Checkbox.js +38 -38
  160. package/dist/components/ui/CheckoutForm.js +38 -38
  161. package/dist/components/ui/CheckoutFormDemo.js +38 -38
  162. package/dist/components/ui/Combobox.js +38 -38
  163. package/dist/components/ui/Command.js +38 -38
  164. package/dist/components/ui/ContextMenu.js +38 -38
  165. package/dist/components/ui/Conversation.d.ts +21 -0
  166. package/dist/components/ui/Conversation.js +196 -0
  167. package/dist/components/ui/ConversationThread.d.ts +8 -2
  168. package/dist/components/ui/ConversationThread.js +34 -16
  169. package/dist/components/ui/DataTable.js +40 -40
  170. package/dist/components/ui/DatePicker.js +38 -38
  171. package/dist/components/ui/DateRangePicker.js +38 -38
  172. package/dist/components/ui/Dialog.js +38 -38
  173. package/dist/components/ui/DropdownMenu.js +39 -39
  174. package/dist/components/ui/FileUpload.js +38 -38
  175. package/dist/components/ui/InputOTP.js +38 -38
  176. package/dist/components/ui/KanbanBoard.js +2 -2
  177. package/dist/components/ui/LanguageSwitcher.js +38 -38
  178. package/dist/components/ui/Menubar.js +38 -38
  179. package/dist/components/ui/NavigationMenu.js +38 -38
  180. package/dist/components/ui/NotificationCenter.js +38 -38
  181. package/dist/components/ui/Pagination.js +38 -38
  182. package/dist/components/ui/RadioGroup.js +38 -38
  183. package/dist/components/ui/Resizable.js +38 -38
  184. package/dist/components/ui/SearchCommand.js +38 -38
  185. package/dist/components/ui/Select.js +38 -38
  186. package/dist/components/ui/SettingsModal.js +38 -38
  187. package/dist/components/ui/Sheet.js +38 -38
  188. package/dist/components/ui/Sidebar.js +41 -41
  189. package/dist/components/ui/StyleToggle.js +1 -1
  190. package/dist/components/ui/TagInput.js +38 -38
  191. package/dist/components/ui/ThemeToggle.js +39 -39
  192. package/dist/components/ui/ThinkingIndicator.d.ts +3 -1
  193. package/dist/components/ui/ThinkingIndicator.js +2 -1
  194. package/dist/components/ui/Toast.js +38 -38
  195. package/dist/components/ui/Toaster.js +38 -38
  196. package/dist/components/ui/ToolCallCard.d.ts +1 -1
  197. package/dist/components/ui/ToolCallCard.js +5 -1
  198. package/dist/components/ui/TreeView.js +38 -38
  199. package/dist/components/ui/charts/index.js +1 -1
  200. package/dist/components/ui/icons/index.js +38 -38
  201. package/dist/components/ui/text-effects/index.js +2 -2
  202. package/dist/hooks/use-scroll-to-bottom.d.ts +13 -0
  203. package/dist/hooks/use-scroll-to-bottom.js +2 -0
  204. package/dist/index.js +43 -43
  205. package/dist/internal/local-image-assets.d.ts +12 -0
  206. package/dist/messages/en.js +1 -1
  207. package/dist/messages/it.js +1 -1
  208. package/dist/test/PublicSeedTestProvider.js +2 -2
  209. package/dist/test/simulate-ime-composition.d.ts +54 -0
  210. package/dist/test/simulate-ime-composition.js +55 -0
  211. package/eslint-rules/nadicode/config.js +1 -0
  212. package/eslint-rules/nadicode/index.js +2 -0
  213. package/eslint-rules/nadicode/rules/no-deprecated-ds-import.js +77 -0
  214. package/eslint-rules/nadicode/rules/no-unregistered-glass.js +2 -0
  215. package/package.json +103 -6
  216. package/scripts/ds-check.mjs +94 -73
  217. package/dist/chunk-MLUSJTS2.js +0 -107
  218. package/dist/chunk-TZXZFSD2.js +0 -33
  219. package/dist/{chunk-MX5FUFQR.js → chunk-7A2RXKGH.js} +2 -2
  220. package/dist/{chunk-5DKCZWC6.js → chunk-CQEUNASC.js} +1 -1
  221. package/dist/{chunk-RMLS2QUC.js → chunk-HZERHGBT.js} +1 -1
  222. package/dist/{chunk-WAVU744B.js → chunk-IXQGKJU4.js} +3 -3
  223. package/dist/{chunk-4HRVRW2X.js → chunk-J2DCQDXO.js} +2 -2
  224. package/dist/{chunk-6MFAZU4B.js → chunk-RGE5OQMZ.js} +1 -1
  225. package/dist/{chunk-PJNHVPHF.js → chunk-TYP2MR3Q.js} +1 -1
  226. package/dist/{chunk-TS2JSPQR.js → chunk-U4GYSYGN.js} +1 -1
  227. package/dist/{chunk-EJNF6JLL.js → chunk-VEO56RH4.js} +1 -1
  228. package/dist/{chunk-AURJQZC4.js → chunk-VNNAL4A6.js} +1 -1
  229. package/dist/{chunk-5PORR6LE.js → chunk-XTASI4IY.js} +1 -1
  230. package/dist/{chunk-E4L6LR6P.js → chunk-Z233ZQZE.js} +1 -1
@@ -0,0 +1,46 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "generatedAt": "<normalized>",
4
+ "entries": [
5
+ {
6
+ "id": "chat-elements-core",
7
+ "file": "specs/chat-elements-core.md",
8
+ "title": "Chat Elements Core Primitives",
9
+ "topic": "contract-enforcement",
10
+ "phase": "enforcement",
11
+ "dependencies": [],
12
+ "order": 1
13
+ },
14
+ {
15
+ "id": "chat-elements-advanced",
16
+ "file": "specs/chat-elements-advanced.md",
17
+ "title": "Chat Elements Advanced Compounds",
18
+ "topic": "contract-enforcement",
19
+ "phase": "enforcement",
20
+ "dependencies": [
21
+ "chat-elements-core"
22
+ ],
23
+ "order": 2
24
+ },
25
+ {
26
+ "id": "chat-elements-infra",
27
+ "file": "specs/chat-elements-infra.md",
28
+ "title": "Chat Elements Infrastructure",
29
+ "topic": "contract-enforcement",
30
+ "phase": "enforcement",
31
+ "dependencies": [],
32
+ "order": 3
33
+ },
34
+ {
35
+ "id": "chat-existing-upgrades",
36
+ "file": "specs/chat-existing-upgrades.md",
37
+ "title": "Chat Existing Component Upgrades",
38
+ "topic": "contract-enforcement",
39
+ "phase": "enforcement",
40
+ "dependencies": [
41
+ "chat-elements-core"
42
+ ],
43
+ "order": 4
44
+ }
45
+ ]
46
+ }
package/dist/catalog.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "schemaVersion": "1.0.0",
3
- "version": "2.0.7",
4
- "generatedAt": "2026-03-25T09:17:09.614Z",
2
+ "schemaVersion": "1.1.0",
3
+ "version": "2.0.9",
4
+ "generatedAt": "2026-03-26T10:57:10.347Z",
5
5
  "components": {
6
6
  "Accordion": {
7
7
  "file": "src/components/ui/Accordion.tsx",
@@ -47,10 +47,18 @@
47
47
  "role": {
48
48
  "options": [
49
49
  "user",
50
+ "assistant",
50
51
  "agent",
51
52
  "system"
52
53
  ],
53
- "default": "agent"
54
+ "default": "assistant"
55
+ },
56
+ "status": {
57
+ "options": [
58
+ "default",
59
+ "error"
60
+ ],
61
+ "default": "default"
54
62
  }
55
63
  },
56
64
  "notes": "Chat bubble with role-based styling"
@@ -581,6 +589,251 @@
581
589
  "variants": {},
582
590
  "notes": "Card wrapper for chart display with title and description"
583
591
  },
592
+ "ChatActions": {
593
+ "file": "src/components/ui/ChatActions.tsx",
594
+ "exportPath": "./chat-actions",
595
+ "tier": 2,
596
+ "category": "Agentic UI",
597
+ "lib": null,
598
+ "subComponents": [
599
+ "ChatAction"
600
+ ],
601
+ "variants": {},
602
+ "notes": "Quick-action buttons for chat messages"
603
+ },
604
+ "ChatBranch": {
605
+ "file": "src/components/ui/ChatBranch.tsx",
606
+ "exportPath": "./chat-branch",
607
+ "tier": 2,
608
+ "category": "Agentic UI",
609
+ "lib": null,
610
+ "subComponents": [
611
+ "ChatBranchPrevious",
612
+ "ChatBranchNext",
613
+ "ChatBranchCount"
614
+ ],
615
+ "variants": {},
616
+ "notes": "Conversation branching and fork navigation"
617
+ },
618
+ "ChatChainOfThought": {
619
+ "file": "src/components/ui/ChatChainOfThought.tsx",
620
+ "exportPath": "./chat-chain-of-thought",
621
+ "tier": 2,
622
+ "category": "Agentic UI",
623
+ "lib": null,
624
+ "subComponents": [
625
+ "ChatChainOfThoughtTrigger",
626
+ "ChatChainOfThoughtContent",
627
+ "ChatChainOfThoughtStep"
628
+ ],
629
+ "variants": {},
630
+ "notes": "Step-by-step reasoning display"
631
+ },
632
+ "ChatConfirmation": {
633
+ "file": "src/components/ui/ChatConfirmation.tsx",
634
+ "exportPath": "./chat-confirmation",
635
+ "tier": 2,
636
+ "category": "Agentic UI",
637
+ "lib": null,
638
+ "subComponents": [
639
+ "ChatConfirmationTitle",
640
+ "ChatConfirmationDescription",
641
+ "ChatConfirmationActions",
642
+ "ChatConfirmationPending",
643
+ "ChatConfirmationApproved",
644
+ "ChatConfirmationRejected"
645
+ ],
646
+ "variants": {},
647
+ "notes": "Action confirmation dialog in chat"
648
+ },
649
+ "ChatGreeting": {
650
+ "file": "src/components/ui/ChatGreeting.tsx",
651
+ "exportPath": "./chat-greeting",
652
+ "tier": 2,
653
+ "category": "Agentic UI",
654
+ "lib": null,
655
+ "subComponents": [],
656
+ "variants": {},
657
+ "notes": "Welcome greeting for chat sessions"
658
+ },
659
+ "ChatMessage": {
660
+ "file": "src/components/ui/ChatMessage.tsx",
661
+ "exportPath": "./chat-message",
662
+ "tier": 2,
663
+ "category": "Agentic UI",
664
+ "lib": null,
665
+ "subComponents": [
666
+ "ChatMessageContent",
667
+ "ChatMessageAvatar"
668
+ ],
669
+ "variants": {
670
+ "role": {
671
+ "options": [
672
+ "user",
673
+ "assistant",
674
+ "system"
675
+ ],
676
+ "default": "assistant"
677
+ }
678
+ },
679
+ "notes": "Core chat message with avatar, content, actions"
680
+ },
681
+ "ChatPlan": {
682
+ "file": "src/components/ui/ChatPlan.tsx",
683
+ "exportPath": "./chat-plan",
684
+ "tier": 2,
685
+ "category": "Agentic UI",
686
+ "lib": null,
687
+ "subComponents": [
688
+ "ChatPlanHeader",
689
+ "ChatPlanTitle",
690
+ "ChatPlanDescription",
691
+ "ChatPlanTrigger",
692
+ "ChatPlanContent"
693
+ ],
694
+ "variants": {},
695
+ "notes": "Collapsible plan card with streaming title"
696
+ },
697
+ "ChatPromptInput": {
698
+ "file": "src/components/ui/ChatPromptInput.tsx",
699
+ "exportPath": "./chat-prompt-input",
700
+ "tier": 2,
701
+ "category": "Agentic UI",
702
+ "lib": null,
703
+ "subComponents": [
704
+ "ChatPromptInputTextarea",
705
+ "ChatPromptInputToolbar",
706
+ "ChatPromptInputActions",
707
+ "ChatPromptInputSubmit"
708
+ ],
709
+ "variants": {},
710
+ "notes": "Chat text input with keyboard handling"
711
+ },
712
+ "ChatPromptInputAttachments": {
713
+ "file": "src/components/ui/ChatPromptInputAttachments.tsx",
714
+ "exportPath": "./chat-prompt-input-attachments",
715
+ "tier": 2,
716
+ "category": "Agentic UI",
717
+ "lib": null,
718
+ "subComponents": [],
719
+ "variants": {},
720
+ "notes": "File attachment support for chat input"
721
+ },
722
+ "ChatQueue": {
723
+ "file": "src/components/ui/ChatQueue.tsx",
724
+ "exportPath": "./chat-queue",
725
+ "tier": 2,
726
+ "category": "Agentic UI",
727
+ "lib": null,
728
+ "subComponents": [
729
+ "ChatQueueSection",
730
+ "ChatQueueSectionTrigger",
731
+ "ChatQueueSectionContent",
732
+ "ChatQueueItem",
733
+ "ChatQueueItemIndicator"
734
+ ],
735
+ "variants": {},
736
+ "notes": "Task queue with collapsible sections"
737
+ },
738
+ "ChatReasoning": {
739
+ "file": "src/components/ui/ChatReasoning.tsx",
740
+ "exportPath": "./chat-reasoning",
741
+ "tier": 2,
742
+ "category": "Agentic UI",
743
+ "lib": null,
744
+ "subComponents": [
745
+ "ChatReasoningTrigger",
746
+ "ChatReasoningContent"
747
+ ],
748
+ "variants": {},
749
+ "notes": "AI reasoning display with auto-close"
750
+ },
751
+ "ChatResponse": {
752
+ "file": "src/components/ui/ChatResponse.tsx",
753
+ "exportPath": "./chat-response",
754
+ "tier": 2,
755
+ "category": "Agentic UI",
756
+ "lib": null,
757
+ "subComponents": [],
758
+ "variants": {},
759
+ "notes": "Streaming markdown response renderer"
760
+ },
761
+ "ChatShimmer": {
762
+ "file": "src/components/ui/ChatShimmer.tsx",
763
+ "exportPath": "./chat-shimmer",
764
+ "tier": 2,
765
+ "category": "Agentic UI",
766
+ "lib": null,
767
+ "subComponents": [],
768
+ "variants": {},
769
+ "notes": "Loading shimmer placeholder for chat"
770
+ },
771
+ "ChatSources": {
772
+ "file": "src/components/ui/ChatSources.tsx",
773
+ "exportPath": "./chat-sources",
774
+ "tier": 2,
775
+ "category": "Agentic UI",
776
+ "lib": null,
777
+ "subComponents": [
778
+ "ChatSourcesTrigger",
779
+ "ChatSourcesContent",
780
+ "ChatSource",
781
+ "ChatInlineCitation"
782
+ ],
783
+ "variants": {},
784
+ "notes": "Source citations panel with inline citation"
785
+ },
786
+ "ChatSuggestion": {
787
+ "file": "src/components/ui/ChatSuggestion.tsx",
788
+ "exportPath": "./chat-suggestion",
789
+ "tier": 2,
790
+ "category": "Agentic UI",
791
+ "lib": null,
792
+ "subComponents": [
793
+ "ChatSuggestions"
794
+ ],
795
+ "variants": {},
796
+ "notes": "Suggested follow-up prompt chips"
797
+ },
798
+ "ChatThinkingMessage": {
799
+ "file": "src/components/ui/ChatThinkingMessage.tsx",
800
+ "exportPath": "./chat-thinking-message",
801
+ "tier": 2,
802
+ "category": "Agentic UI",
803
+ "lib": null,
804
+ "subComponents": [],
805
+ "variants": {},
806
+ "notes": "Animated thinking state message"
807
+ },
808
+ "ChatToolCall": {
809
+ "file": "src/components/ui/ChatToolCall.tsx",
810
+ "exportPath": "./chat-tool-call",
811
+ "tier": 2,
812
+ "category": "Agentic UI",
813
+ "lib": null,
814
+ "subComponents": [
815
+ "ChatToolCallInput",
816
+ "ChatToolCallOutput",
817
+ "ChatToolCallStatus",
818
+ "ChatToolCallHeader",
819
+ "ChatToolCallContent"
820
+ ],
821
+ "variants": {
822
+ "state": {
823
+ "options": [
824
+ "input-streaming",
825
+ "input-available",
826
+ "approval-requested",
827
+ "approval-responded",
828
+ "output-available",
829
+ "output-error",
830
+ "output-denied"
831
+ ],
832
+ "default": "input-streaming"
833
+ }
834
+ },
835
+ "notes": "Tool call lifecycle wrapper with state management"
836
+ },
584
837
  "CheckStatus": {
585
838
  "file": "src/components/ui/CheckStatus.tsx",
586
839
  "exportPath": "./check-status",
@@ -621,16 +874,6 @@
621
874
  "variants": {},
622
875
  "notes": "Stripe Elements checkout form"
623
876
  },
624
- "CheckoutFormDemo": {
625
- "file": "src/components/ui/CheckoutFormDemo.tsx",
626
- "exportPath": "./checkout-form-demo",
627
- "tier": 2,
628
- "category": "Form Controls",
629
- "lib": "@stripe/react-stripe-js",
630
- "subComponents": [],
631
- "variants": {},
632
- "notes": "Demo checkout with pre-wired state"
633
- },
634
877
  "CodeDiffViewer": {
635
878
  "file": "src/components/ui/CodeDiffViewer.tsx",
636
879
  "exportPath": "./code-diff-viewer",
@@ -737,6 +980,19 @@
737
980
  },
738
981
  "notes": "Context window usage visualization"
739
982
  },
983
+ "Conversation": {
984
+ "file": "src/components/ui/Conversation.tsx",
985
+ "exportPath": "./conversation",
986
+ "tier": 2,
987
+ "category": "Agentic UI",
988
+ "lib": null,
989
+ "subComponents": [
990
+ "ConversationContent",
991
+ "ConversationScrollButton"
992
+ ],
993
+ "variants": {},
994
+ "notes": "Scroll-aware conversation container with auto-scroll"
995
+ },
740
996
  "ConversationThread": {
741
997
  "file": "src/components/ui/ConversationThread.tsx",
742
998
  "exportPath": "./conversation-thread",
@@ -757,6 +1013,7 @@
757
1013
  "options": [
758
1014
  "user",
759
1015
  "assistant",
1016
+ "agent",
760
1017
  "system"
761
1018
  ],
762
1019
  "default": "user"
@@ -2025,7 +2282,10 @@
2025
2282
  "pending",
2026
2283
  "running",
2027
2284
  "complete",
2028
- "error"
2285
+ "error",
2286
+ "approval-requested",
2287
+ "approval-responded",
2288
+ "output-denied"
2029
2289
  ],
2030
2290
  "default": "pending"
2031
2291
  }
@@ -3872,24 +4132,6 @@
3872
4132
  }
3873
4133
  }
3874
4134
  },
3875
- "KanbanDemoBlock": {
3876
- "file": "src/components/blocks/KanbanDemoBlock.tsx",
3877
- "exportPath": "./kanban-demo-block",
3878
- "tier": 2,
3879
- "category": "Application",
3880
- "lib": null,
3881
- "subComponents": [],
3882
- "variants": {},
3883
- "notes": "Kanban board demo with sample data",
3884
- "keyProps": [],
3885
- "propsSchema": {
3886
- "kind": "object",
3887
- "noDataProps": true,
3888
- "required": [],
3889
- "optional": [],
3890
- "properties": {}
3891
- }
3892
- },
3893
4135
  "LoginBlock": {
3894
4136
  "file": "src/components/blocks/LoginBlock.tsx",
3895
4137
  "exportPath": "./login-block",
@@ -4512,51 +4754,6 @@
4512
4754
  }
4513
4755
  }
4514
4756
  },
4515
- "SolutionShowcaseBlock": {
4516
- "file": "src/components/blocks/SolutionShowcaseBlock.tsx",
4517
- "exportPath": "./solution-showcase-block",
4518
- "tier": 2,
4519
- "category": "Marketing",
4520
- "lib": null,
4521
- "subComponents": [],
4522
- "variants": {},
4523
- "notes": "Problem -> Solution -> Output narrative with color-coded arc",
4524
- "keyProps": [
4525
- "title",
4526
- "description",
4527
- "badge",
4528
- "sections"
4529
- ],
4530
- "propsSchema": {
4531
- "kind": "object",
4532
- "noDataProps": false,
4533
- "required": [],
4534
- "optional": [
4535
- "title",
4536
- "description",
4537
- "badge",
4538
- "sections"
4539
- ],
4540
- "properties": {
4541
- "title": {
4542
- "required": false,
4543
- "type": "string"
4544
- },
4545
- "description": {
4546
- "required": false,
4547
- "type": "string"
4548
- },
4549
- "badge": {
4550
- "required": false,
4551
- "type": "string"
4552
- },
4553
- "sections": {
4554
- "required": false,
4555
- "type": "SolutionSection[]"
4556
- }
4557
- }
4558
- }
4559
- },
4560
4757
  "StatsBlock": {
4561
4758
  "file": "src/components/blocks/StatsBlock.tsx",
4562
4759
  "exportPath": "./stats-block",
@@ -4885,7 +5082,8 @@
4885
5082
  "agent",
4886
5083
  "state",
4887
5084
  "selected",
4888
- "onSelect"
5085
+ "onSelect",
5086
+ "ariaLabel"
4889
5087
  ],
4890
5088
  "propsSchema": {
4891
5089
  "kind": "object",
@@ -4896,7 +5094,8 @@
4896
5094
  ],
4897
5095
  "optional": [
4898
5096
  "selected",
4899
- "onSelect"
5097
+ "onSelect",
5098
+ "ariaLabel"
4900
5099
  ],
4901
5100
  "properties": {
4902
5101
  "agent": {
@@ -4914,6 +5113,10 @@
4914
5113
  "onSelect": {
4915
5114
  "required": false,
4916
5115
  "type": "() => void"
5116
+ },
5117
+ "ariaLabel": {
5118
+ "required": false,
5119
+ "type": "string"
4917
5120
  }
4918
5121
  }
4919
5122
  }
@@ -5004,7 +5207,7 @@
5004
5207
  },
5005
5208
  "2": {
5006
5209
  "label": "Domain",
5007
- "count": 43
5210
+ "count": 61
5008
5211
  },
5009
5212
  "3": {
5010
5213
  "label": "Decorative",
@@ -0,0 +1,47 @@
1
+ import { ToolCallCard } from './chunk-4WPZ6T7V.js';
2
+ import { ThinkingIndicator } from './chunk-OSNTB6RY.js';
3
+ import { ScrollArea } from './chunk-GLU236NN.js';
4
+ import { AgentMessageBubble } from './chunk-I66XWYSS.js';
5
+ import { cn } from './chunk-QYZT24TS.js';
6
+ import * as React from 'react';
7
+ import { useTranslations } from 'next-intl';
8
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
9
+
10
+ function AgentConversationBlock({ className, messages, ref, ...props }) {
11
+ const t = useTranslations("components.agentConversationBlock");
12
+ const endRef = React.useRef(null);
13
+ React.useEffect(() => {
14
+ endRef.current?.scrollIntoView({ block: "end" });
15
+ }, [messages]);
16
+ if (messages.length === 0) {
17
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("surface-solid rounded-lg h-96 p-4", className), "aria-live": "polite", ...props, children: /* @__PURE__ */ jsx("p", { className: "text-sm text-text-tertiary", children: t("noMessages") }) });
18
+ }
19
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("surface-solid rounded-lg h-96", className), ...props, children: /* @__PURE__ */ jsx(ScrollArea, { className: "h-full", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 p-4", "aria-live": "polite", children: [
20
+ messages.map((msg) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
21
+ !!msg.isThinking && /* @__PURE__ */ jsx(ThinkingIndicator, { reasoning: msg.reasoning }),
22
+ /* @__PURE__ */ jsx(
23
+ AgentMessageBubble,
24
+ {
25
+ role: msg.role,
26
+ content: msg.content,
27
+ timestamp: msg.timestamp,
28
+ isStreaming: msg.isStreaming,
29
+ toolCalls: msg.toolCalls?.length ? /* @__PURE__ */ jsx(Fragment, { children: msg.toolCalls.map((tc) => /* @__PURE__ */ jsx(
30
+ ToolCallCard,
31
+ {
32
+ toolName: tc.toolName,
33
+ args: tc.args,
34
+ status: tc.status,
35
+ result: tc.result,
36
+ duration: tc.duration
37
+ },
38
+ tc.id
39
+ )) }) : void 0
40
+ }
41
+ )
42
+ ] }, msg.id)),
43
+ /* @__PURE__ */ jsx("div", { ref: endRef, "aria-hidden": "true", className: "h-px w-full" })
44
+ ] }) }) });
45
+ }
46
+
47
+ export { AgentConversationBlock };