@vadimcomanescu/nadicode-design-system 4.0.11 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (677) hide show
  1. package/.agents/skills/seed/SKILL.md +27 -22
  2. package/.agents/skills/seed/references/animation.md +1 -1
  3. package/.agents/skills/seed/references/composition.md +1 -1
  4. package/.agents/skills/seed/references/glass-and-effects.md +16 -21
  5. package/.agents/skills/seed/references/patterns.md +47 -47
  6. package/.agents/skills/seed/references/state-machines.md +19 -18
  7. package/README.md +3 -1
  8. package/contracts/consumer-intent-map.json +2 -700
  9. package/contracts/message-catalog-contract.json +20 -20
  10. package/contracts/release-governance-baseline.json +14 -265
  11. package/dist/ProfilePage-KJVA3ZQ5.js +87 -0
  12. package/dist/TeamPage-BX3RMSZU.js +479 -0
  13. package/dist/catalog/catalog.d.ts +4753 -1883
  14. package/dist/catalog/catalog.js +22 -2107
  15. package/dist/catalog/components.d.ts +234 -177
  16. package/dist/catalog/components.js +217 -288
  17. package/dist/catalog/definitions/action.d.ts +170 -0
  18. package/dist/catalog/definitions/action.js +1 -0
  19. package/dist/catalog/definitions/agent.d.ts +496 -0
  20. package/dist/catalog/definitions/agent.js +1 -0
  21. package/dist/catalog/definitions/blocks-agent.d.ts +359 -0
  22. package/dist/catalog/definitions/blocks-agent.js +1 -0
  23. package/dist/catalog/definitions/blocks-auth.d.ts +179 -0
  24. package/dist/catalog/definitions/blocks-auth.js +1 -0
  25. package/dist/catalog/definitions/blocks-content.d.ts +495 -0
  26. package/dist/catalog/definitions/blocks-content.js +2 -0
  27. package/dist/catalog/definitions/blocks-crud.d.ts +485 -0
  28. package/dist/catalog/definitions/blocks-crud.js +1 -0
  29. package/dist/catalog/definitions/blocks-data.d.ts +309 -0
  30. package/dist/catalog/definitions/blocks-data.js +2 -0
  31. package/dist/catalog/definitions/blocks-marketing.d.ts +381 -0
  32. package/dist/catalog/definitions/blocks-marketing.js +1 -0
  33. package/dist/catalog/definitions/blocks-misc.d.ts +108 -0
  34. package/dist/catalog/definitions/blocks-misc.js +1 -0
  35. package/dist/catalog/definitions/chart.d.ts +293 -0
  36. package/dist/catalog/definitions/chart.js +2 -0
  37. package/dist/catalog/definitions/chat.d.ts +108 -0
  38. package/dist/catalog/definitions/chat.js +1 -0
  39. package/dist/catalog/definitions/display.d.ts +575 -0
  40. package/dist/catalog/definitions/display.js +2 -0
  41. package/dist/catalog/definitions/effects.d.ts +267 -0
  42. package/dist/catalog/definitions/effects.js +1 -0
  43. package/dist/catalog/definitions/form.d.ts +413 -0
  44. package/dist/catalog/definitions/form.js +2 -0
  45. package/dist/catalog/definitions/index.d.ts +5262 -0
  46. package/dist/catalog/definitions/index.js +21 -0
  47. package/dist/catalog/definitions/layout.d.ts +133 -0
  48. package/dist/catalog/definitions/layout.js +1 -0
  49. package/dist/catalog/definitions/navigation.d.ts +121 -0
  50. package/dist/catalog/definitions/navigation.js +1 -0
  51. package/dist/catalog/definitions/overlay.d.ts +183 -0
  52. package/dist/catalog/definitions/overlay.js +1 -0
  53. package/dist/catalog/definitions/shared.d.ts +31 -0
  54. package/dist/catalog/definitions/shared.js +1 -0
  55. package/dist/catalog/definitions/text-effects.d.ts +204 -0
  56. package/dist/catalog/definitions/text-effects.js +1 -0
  57. package/dist/catalog/definitions/text.d.ts +38 -0
  58. package/dist/catalog/definitions/text.js +1 -0
  59. package/dist/catalog/primitives/action.d.ts +12 -0
  60. package/dist/{components/ui/AnimatedDialog.js → catalog/primitives/action.js} +42 -33
  61. package/dist/catalog/primitives/agent.d.ts +18 -0
  62. package/dist/catalog/primitives/agent.js +32 -0
  63. package/dist/catalog/primitives/chart.d.ts +12 -0
  64. package/dist/catalog/primitives/chart.js +17 -0
  65. package/dist/catalog/primitives/chat.d.ts +10 -0
  66. package/dist/{components/page-kits/TwoFactorPageKit.js → catalog/primitives/chat.js} +42 -44
  67. package/dist/catalog/primitives/display.d.ts +34 -0
  68. package/dist/{components/page-kits/TeamSettingsPageKit.js → catalog/primitives/display.js} +70 -47
  69. package/dist/catalog/primitives/effects.d.ts +19 -0
  70. package/dist/catalog/primitives/effects.js +25 -0
  71. package/dist/catalog/primitives/form.d.ts +22 -0
  72. package/dist/{components/page-kits/OnboardingPageKit.js → catalog/primitives/form.js} +51 -47
  73. package/dist/catalog/primitives/index.d.ts +137 -0
  74. package/dist/{components/page-kits/LandingPageKit.js → catalog/primitives/index.js} +170 -57
  75. package/dist/catalog/primitives/layout.d.ts +14 -0
  76. package/dist/{components/blocks/TwoFactorChallengeBlock.js → catalog/primitives/layout.js} +42 -34
  77. package/dist/catalog/primitives/navigation.d.ts +10 -0
  78. package/dist/{components/page-kits/NavigationShellPageKit.js → catalog/primitives/navigation.js} +41 -37
  79. package/dist/catalog/primitives/overlay.d.ts +12 -0
  80. package/dist/catalog/primitives/overlay.js +130 -0
  81. package/dist/catalog/primitives/text-effects.d.ts +13 -0
  82. package/dist/{components/blocks/SocialProofBlock.js → catalog/primitives/text-effects.js} +4 -11
  83. package/dist/catalog/primitives/text.d.ts +7 -0
  84. package/dist/catalog/primitives/text.js +7 -0
  85. package/dist/catalog/primitives/utils.d.ts +8 -0
  86. package/dist/catalog/primitives/utils.js +1 -0
  87. package/dist/catalog/types.d.ts +3 -3
  88. package/dist/chunk-2LBEV4YF.js +128 -0
  89. package/dist/chunk-2NMP3J5R.js +6 -0
  90. package/dist/chunk-34MKVVGB.js +176 -0
  91. package/dist/{chunk-KFL4YCMI.js → chunk-37LY27CX.js} +1 -1
  92. package/dist/{chunk-LPED36AD.js → chunk-3BGWXRQC.js} +6 -8
  93. package/dist/chunk-3QMHVXSQ.js +258 -0
  94. package/dist/{chunk-ZI22L4DD.js → chunk-3TYPQWKD.js} +7 -13
  95. package/dist/chunk-44NVO477.js +46 -0
  96. package/dist/chunk-4ACR6NGQ.js +144 -0
  97. package/dist/{chunk-FF3XUIZO.js → chunk-4DWRAIM2.js} +1 -1
  98. package/dist/chunk-4EHXVFQY.js +78 -0
  99. package/dist/chunk-4EOX2S37.js +24 -0
  100. package/dist/chunk-4GLBFZVI.js +184 -0
  101. package/dist/chunk-4GQ5EMWR.js +142 -0
  102. package/dist/chunk-4TK2PXMJ.js +6 -0
  103. package/dist/chunk-4ZST7OY5.js +153 -0
  104. package/dist/chunk-56TNQ2P4.js +82 -0
  105. package/dist/chunk-5B3GLRX3.js +139 -0
  106. package/dist/chunk-5KQEGO3O.js +71 -0
  107. package/dist/chunk-5L2RFJZR.js +31 -0
  108. package/dist/{chunk-326EZJLO.js → chunk-5MLOZVOQ.js} +31 -24
  109. package/dist/chunk-5XDYCBR6.js +345 -0
  110. package/dist/chunk-5ZC3RHXB.js +72 -0
  111. package/dist/chunk-65CUE2WL.js +257 -0
  112. package/dist/chunk-6KRT337C.js +75 -0
  113. package/dist/{chunk-HQKORL27.js → chunk-6LD76RMU.js} +9 -12
  114. package/dist/{chunk-L3WRHSHM.js → chunk-6NL36QN3.js} +9 -8
  115. package/dist/chunk-6NND57T2.js +79 -0
  116. package/dist/{chunk-TBJPLMUE.js → chunk-6OBT3A5O.js} +6 -9
  117. package/dist/{chunk-4INNXURW.js → chunk-767GZSNJ.js} +6 -9
  118. package/dist/{chunk-2S4727W3.js → chunk-7AUNUDHM.js} +20 -16
  119. package/dist/chunk-7IVXTSZK.js +185 -0
  120. package/dist/{chunk-UGIHLU2V.js → chunk-7OOO22KB.js} +10 -15
  121. package/dist/chunk-7PTI46BS.js +119 -0
  122. package/dist/chunk-7SOMHO2L.js +181 -0
  123. package/dist/chunk-7SRNVMBY.js +72 -0
  124. package/dist/chunk-7U7XFIP6.js +17 -0
  125. package/dist/chunk-7X3GXC7C.js +52 -0
  126. package/dist/{chunk-R4CRWXEQ.js → chunk-A44E44UV.js} +35 -27
  127. package/dist/chunk-A4TQNK7R.js +58 -0
  128. package/dist/chunk-AU2Q7CXZ.js +45 -0
  129. package/dist/{chunk-BG26NCUY.js → chunk-B4YCI5NM.js} +10 -19
  130. package/dist/{chunk-JXZ4HYXA.js → chunk-BAB6AHOM.js} +64 -60
  131. package/dist/chunk-BHPATKC7.js +116 -0
  132. package/dist/chunk-BJVCZI2B.js +29 -0
  133. package/dist/{chunk-JPL22322.js → chunk-BVXSAVKY.js} +6 -11
  134. package/dist/chunk-C7LO3JEF.js +195 -0
  135. package/dist/chunk-CAET62YQ.js +228 -0
  136. package/dist/chunk-CPHVCY3M.js +230 -0
  137. package/dist/{chunk-WOYBVPXK.js → chunk-CQ75K2DH.js} +8 -10
  138. package/dist/{chunk-OSNTB6RY.js → chunk-CY3PROVO.js} +88 -26
  139. package/dist/{chunk-ZURTIIST.js → chunk-D6MFOI3N.js} +20 -20
  140. package/dist/{chunk-WVHBPPI3.js → chunk-DGSNEGJP.js} +15 -17
  141. package/dist/{chunk-NTN5DWXV.js → chunk-DSNPOAE6.js} +7 -10
  142. package/dist/chunk-E5E3W2K4.js +6 -0
  143. package/dist/chunk-EJQ73FJ5.js +383 -0
  144. package/dist/chunk-F3QIIOOL.js +71 -0
  145. package/dist/chunk-FAKTXE3F.js +272 -0
  146. package/dist/chunk-FAQZPQF7.js +119 -0
  147. package/dist/chunk-FOXDDL2Z.js +41 -0
  148. package/dist/chunk-G722PEFL.js +71 -0
  149. package/dist/chunk-GC7QKZQW.js +20 -0
  150. package/dist/{chunk-QLL3Z6U6.js → chunk-GE4WUAAE.js} +8 -8
  151. package/dist/chunk-GNKNT52O.js +45 -0
  152. package/dist/chunk-GQEB425G.js +41 -0
  153. package/dist/{chunk-XTASI4IY.js → chunk-GVOWGEGX.js} +6 -13
  154. package/dist/chunk-GXUQFXT7.js +282 -0
  155. package/dist/chunk-GZ4DTYWM.js +36 -0
  156. package/dist/{chunk-7XRKBROR.js → chunk-HF2HNDE7.js} +22 -12
  157. package/dist/chunk-HMN4K4L6.js +44 -0
  158. package/dist/{chunk-2BXGWBD4.js → chunk-HX3VXWNJ.js} +20 -13
  159. package/dist/{chunk-NEECQ3IH.js → chunk-HZTWLK7C.js} +16 -18
  160. package/dist/{chunk-B6HXF3HP.js → chunk-ID3N3MHQ.js} +13 -21
  161. package/dist/{chunk-I2ZI5RUM.js → chunk-IHGZJS7N.js} +11 -11
  162. package/dist/{chunk-F2TNOCXQ.js → chunk-IYK2ABFE.js} +25 -14
  163. package/dist/{chunk-WSBLCWY7.js → chunk-IZ7A62GI.js} +7 -6
  164. package/dist/chunk-JDLCIPSC.js +18 -0
  165. package/dist/{chunk-4R7DT2NJ.js → chunk-JPA45CDE.js} +67 -42
  166. package/dist/{chunk-J7F42IR3.js → chunk-JPNNAU26.js} +7 -3
  167. package/dist/chunk-JUAOQFC3.js +32 -0
  168. package/dist/{chunk-3TZLHB2L.js → chunk-JVQQQS2M.js} +8 -13
  169. package/dist/chunk-KA44DDCB.js +42 -0
  170. package/dist/{chunk-O2W6C3K2.js → chunk-KANK5FAG.js} +65 -62
  171. package/dist/chunk-KKBTPNXT.js +110 -0
  172. package/dist/chunk-KL43KGCK.js +106 -0
  173. package/dist/chunk-KMTLCN6S.js +134 -0
  174. package/dist/{chunk-HOWTYZL5.js → chunk-KPO4PD6C.js} +78 -12
  175. package/dist/{chunk-TYP2MR3Q.js → chunk-KV726HMK.js} +20 -2
  176. package/dist/{chunk-4QOH76MI.js → chunk-KWIIKHIB.js} +10 -13
  177. package/dist/chunk-KXZP6XI2.js +84 -0
  178. package/dist/chunk-L2IRYY6K.js +230 -0
  179. package/dist/chunk-L4Q724G2.js +217 -0
  180. package/dist/chunk-L55GVKLY.js +149 -0
  181. package/dist/{chunk-DT6XGHB3.js → chunk-L77KWJJB.js} +29 -30
  182. package/dist/chunk-LH5KBOIA.js +228 -0
  183. package/dist/chunk-LO3MDQSJ.js +130 -0
  184. package/dist/chunk-LYI5YMC6.js +125 -0
  185. package/dist/chunk-LZ66ADSL.js +142 -0
  186. package/dist/chunk-MB75U2OV.js +77 -0
  187. package/dist/{components/ui/AnimatedTabs.js → chunk-MFZYC6QC.js} +41 -24
  188. package/dist/chunk-MOFWXBTK.js +112 -0
  189. package/dist/chunk-MT76BPYV.js +30 -0
  190. package/dist/{chunk-X5AEOQAL.js → chunk-MZGGA75L.js} +1 -40
  191. package/dist/chunk-N334RMNE.js +39 -0
  192. package/dist/{chunk-YZK222HJ.js → chunk-NA6ZPKIK.js} +19 -7
  193. package/dist/chunk-NF2Y5ERJ.js +186 -0
  194. package/dist/{chunk-3M3QV2EN.js → chunk-NVBF4OWT.js} +6 -9
  195. package/dist/chunk-NZXZ3PH2.js +56 -0
  196. package/dist/chunk-OB2KVO7O.js +23 -0
  197. package/dist/chunk-OLDUGLDM.js +114 -0
  198. package/dist/{chunk-K4QZ377F.js → chunk-OMGVZWRM.js} +25 -16
  199. package/dist/{chunk-X4HXVLER.js → chunk-OMI2LLXM.js} +16 -19
  200. package/dist/{chunk-UIZTZCAU.js → chunk-OS2BLQ2G.js} +9 -14
  201. package/dist/chunk-OUXJUUCB.js +131 -0
  202. package/dist/{chunk-QQOWC53X.js → chunk-OWWQP3YW.js} +4 -2
  203. package/dist/chunk-P5I63ETD.js +691 -0
  204. package/dist/chunk-P7CTBRHO.js +176 -0
  205. package/dist/chunk-P7JS4B7U.js +101 -0
  206. package/dist/{chunk-FODQX5Q5.js → chunk-PD6WW7E5.js} +8 -10
  207. package/dist/chunk-PJ7DVYWA.js +185 -0
  208. package/dist/{chunk-OTZIMMPV.js → chunk-PQBVNNEG.js} +18 -18
  209. package/dist/chunk-PY7WBWKH.js +37 -0
  210. package/dist/{chunk-ALFCQ35A.js → chunk-PYRHNONA.js} +25 -16
  211. package/dist/{chunk-TBXW5MDR.js → chunk-Q4CRHV5T.js} +25 -17
  212. package/dist/{chunk-PC6VMNDY.js → chunk-Q7PCHHVJ.js} +0 -8
  213. package/dist/chunk-QCL76CM6.js +92 -0
  214. package/dist/chunk-QFXWI2WX.js +40 -0
  215. package/dist/{chunk-JRLU2VSB.js → chunk-QLPU2IEO.js} +25 -39
  216. package/dist/{chunk-K4ZPHSWL.js → chunk-R4DPHCHJ.js} +22 -15
  217. package/dist/chunk-SEJXMNMK.js +191 -0
  218. package/dist/{chunk-E6YDGQ2O.js → chunk-SIXPY62Q.js} +17 -16
  219. package/dist/chunk-STKNMEJA.js +15 -0
  220. package/dist/chunk-STNVWBJH.js +41 -0
  221. package/dist/{chunk-73T44TBV.js → chunk-TL5UCQC3.js} +12 -16
  222. package/dist/{chunk-Q3CKH7RH.js → chunk-TNDMBLYP.js} +7 -18
  223. package/dist/chunk-TTA5TLNJ.js +97 -0
  224. package/dist/chunk-TV6CJ5NI.js +57 -0
  225. package/dist/chunk-TXRGQO5M.js +100 -0
  226. package/dist/chunk-U3QOFPHD.js +28 -0
  227. package/dist/chunk-UB6XJTRU.js +45 -0
  228. package/dist/chunk-UGXI4PES.js +415 -0
  229. package/dist/{chunk-N3IZNRY2.js → chunk-UIYX2EMT.js} +11 -19
  230. package/dist/chunk-UOUERAB4.js +446 -0
  231. package/dist/chunk-UQB54LIA.js +228 -0
  232. package/dist/chunk-UT6MKK2S.js +115 -0
  233. package/dist/chunk-UXYLA2IV.js +124 -0
  234. package/dist/{chunk-PDSQC6VE.js → chunk-V5RSV4ZV.js} +5 -2
  235. package/dist/chunk-VUNXVYOH.js +129 -0
  236. package/dist/chunk-W4KI424V.js +380 -0
  237. package/dist/chunk-W7ZGCFTB.js +23 -0
  238. package/dist/chunk-WAIZR4CR.js +107 -0
  239. package/dist/{chunk-T5LXQNIP.js → chunk-WHYKEOUV.js} +29 -25
  240. package/dist/chunk-WRBPEZFY.js +80 -0
  241. package/dist/chunk-XI775QZZ.js +275 -0
  242. package/dist/chunk-XLIFWBE7.js +117 -0
  243. package/dist/{chunk-BI3TXPMR.js → chunk-XMGWLDNG.js} +4 -6
  244. package/dist/chunk-XYMFKNKG.js +93 -0
  245. package/dist/chunk-XYYZRQES.js +256 -0
  246. package/dist/chunk-XZDVTOXJ.js +94 -0
  247. package/dist/{chunk-OTFIAT6T.js → chunk-YB3J4ZRZ.js} +15 -6
  248. package/dist/chunk-YCS4MMC3.js +133 -0
  249. package/dist/chunk-YGDO5KDY.js +33 -0
  250. package/dist/{chunk-6Y4UFG7C.js → chunk-YNBDA24W.js} +6 -13
  251. package/dist/chunk-YXRIXTXW.js +32 -0
  252. package/dist/chunk-ZFCSKVTZ.js +102 -0
  253. package/dist/chunk-ZLWEBAL6.js +48 -0
  254. package/dist/chunk-ZND7AAWG.js +290 -0
  255. package/dist/{chunk-DITD5GBG.js → chunk-ZNF6S3DQ.js} +20 -38
  256. package/dist/chunk-ZSU5ZI4O.js +32 -0
  257. package/dist/components/blocks/AccountLockedBlock.d.ts +3 -11
  258. package/dist/components/blocks/AccountLockedBlock.js +2 -2
  259. package/dist/components/blocks/ActivityFeedBlock.d.ts +3 -14
  260. package/dist/components/blocks/ActivityFeedBlock.js +2 -2
  261. package/dist/components/blocks/AgentConversationBlock.d.ts +12 -17
  262. package/dist/components/blocks/AgentConversationBlock.js +10 -109
  263. package/dist/components/blocks/AgentProfileGridBlock.d.ts +3 -19
  264. package/dist/components/blocks/AgentProfileGridBlock.js +2 -2
  265. package/dist/components/blocks/AgentRunOverviewBlock.d.ts +3 -31
  266. package/dist/components/blocks/AgentRunOverviewBlock.js +2 -2
  267. package/dist/components/blocks/AgentWorkbenchBlock.d.ts +5 -21
  268. package/dist/components/blocks/AgentWorkbenchBlock.js +14 -112
  269. package/dist/components/blocks/ApiKeysBlock.d.ts +3 -18
  270. package/dist/components/blocks/ApiKeysBlock.js +35 -35
  271. package/dist/components/blocks/AuthLayout.d.ts +3 -17
  272. package/dist/components/blocks/AuthLayout.js +4 -4
  273. package/dist/components/blocks/AuthSuccessBlock.d.ts +3 -12
  274. package/dist/components/blocks/AuthSuccessBlock.js +6 -1
  275. package/dist/components/blocks/BannerBlock.d.ts +3 -9
  276. package/dist/components/blocks/BannerBlock.js +33 -33
  277. package/dist/components/blocks/BenchmarksBlock.d.ts +3 -20
  278. package/dist/components/blocks/BenchmarksBlock.js +1 -1
  279. package/dist/components/blocks/BlogDetailBlock.d.ts +3 -0
  280. package/dist/components/{page-kits/VerifyEmailPageKit.js → blocks/BlogDetailBlock.js} +37 -34
  281. package/dist/components/blocks/BlogIndexBlock.d.ts +3 -0
  282. package/dist/components/blocks/{EmailVerifiedBlock.js → BlogIndexBlock.js} +3 -3
  283. package/dist/components/blocks/CallToActionBlock.d.ts +3 -13
  284. package/dist/components/blocks/CallToActionBlock.js +3 -3
  285. package/dist/components/blocks/ChangelogBlock.d.ts +3 -16
  286. package/dist/components/blocks/ChangelogBlock.js +33 -32
  287. package/dist/components/blocks/ChartBlock.d.ts +3 -16
  288. package/dist/components/blocks/ChartBlock.js +33 -33
  289. package/dist/components/blocks/ChartCollectionBlock.d.ts +3 -5
  290. package/dist/components/blocks/ChartCollectionBlock.js +3 -3
  291. package/dist/components/blocks/ChatLayout.d.ts +3 -17
  292. package/dist/components/blocks/ChatLayout.js +33 -33
  293. package/dist/components/blocks/CheckEmailBlock.d.ts +3 -9
  294. package/dist/components/blocks/CheckEmailBlock.js +1 -1
  295. package/dist/components/blocks/CodeBlock.d.ts +3 -7
  296. package/dist/components/blocks/CodeBlock.js +1 -1
  297. package/dist/components/blocks/CommandPaletteBlock.d.ts +3 -9
  298. package/dist/components/blocks/CommandPaletteBlock.js +35 -35
  299. package/dist/components/blocks/ComparisonBlock.d.ts +3 -13
  300. package/dist/components/blocks/ComparisonBlock.js +2 -2
  301. package/dist/components/blocks/ContactBlock.d.ts +3 -17
  302. package/dist/components/blocks/ContactBlock.js +3 -3
  303. package/dist/components/blocks/CreateBlock.d.ts +1 -16
  304. package/dist/components/blocks/CreateBlock.js +32 -33
  305. package/dist/components/blocks/CrudListBlock.d.ts +3 -0
  306. package/dist/components/{page-kits/SuccessPageKit.js → blocks/CrudListBlock.js} +40 -33
  307. package/dist/components/blocks/DashboardBlock.d.ts +3 -0
  308. package/dist/components/{page-kits/DashboardPageKit.js → blocks/DashboardBlock.js} +47 -48
  309. package/dist/components/blocks/DataGridBlock.d.ts +3 -10
  310. package/dist/components/blocks/DataGridBlock.js +35 -36
  311. package/dist/components/blocks/DirectoryBlock.d.ts +3 -17
  312. package/dist/components/blocks/DirectoryBlock.js +38 -37
  313. package/dist/components/blocks/FAQBlock.d.ts +3 -12
  314. package/dist/components/blocks/FAQBlock.js +33 -33
  315. package/dist/components/blocks/FeatureBlock.d.ts +3 -23
  316. package/dist/components/blocks/FeatureBlock.js +32 -32
  317. package/dist/components/blocks/FooterBlock.d.ts +3 -19
  318. package/dist/components/blocks/FooterBlock.js +1 -1
  319. package/dist/components/blocks/FormFieldBlock.d.ts +3 -0
  320. package/dist/components/{page-kits/MarketingShellPageKit.js → blocks/FormFieldBlock.js} +38 -41
  321. package/dist/components/blocks/GalleryBlock.d.ts +3 -13
  322. package/dist/components/blocks/GalleryBlock.js +35 -35
  323. package/dist/components/blocks/HeaderBlock.d.ts +3 -14
  324. package/dist/components/blocks/HeaderBlock.js +35 -34
  325. package/dist/components/blocks/HeatmapChartBlock.d.ts +3 -15
  326. package/dist/components/blocks/HeatmapChartBlock.js +1 -1
  327. package/dist/components/blocks/HeroBlock.d.ts +4 -2
  328. package/dist/components/blocks/HeroBlock.js +35 -35
  329. package/dist/components/blocks/IntegrationsBlock.d.ts +3 -15
  330. package/dist/components/blocks/IntegrationsBlock.js +33 -33
  331. package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +3 -21
  332. package/dist/components/blocks/InteractiveAreaChartBlock.js +32 -32
  333. package/dist/components/blocks/LoginBlock.d.ts +3 -41
  334. package/dist/components/blocks/LoginBlock.js +2 -2
  335. package/dist/components/blocks/LogoCloud.d.ts +3 -12
  336. package/dist/components/blocks/LogoCloud.js +6 -2
  337. package/dist/components/blocks/NewsletterBlock.d.ts +1 -8
  338. package/dist/components/blocks/NewsletterBlock.js +3 -3
  339. package/dist/components/blocks/NotFoundBlock.d.ts +3 -9
  340. package/dist/components/blocks/NotFoundBlock.js +36 -36
  341. package/dist/components/blocks/OTPBlock.d.ts +3 -10
  342. package/dist/components/blocks/OTPBlock.js +34 -32
  343. package/dist/components/blocks/OnboardingBlock.d.ts +1 -14
  344. package/dist/components/blocks/OnboardingBlock.js +33 -33
  345. package/dist/components/blocks/OnboardingFlowBlock.d.ts +3 -0
  346. package/dist/components/blocks/OnboardingFlowBlock.js +127 -0
  347. package/dist/components/blocks/PasswordRecoveryBlock.d.ts +1 -12
  348. package/dist/components/blocks/PasswordRecoveryBlock.js +2 -2
  349. package/dist/components/blocks/PricingBlock.d.ts +1 -19
  350. package/dist/components/blocks/PricingBlock.js +3 -3
  351. package/dist/components/blocks/ProcessFlowBlock.d.ts +3 -15
  352. package/dist/components/blocks/ProcessFlowBlock.js +2 -6
  353. package/dist/components/blocks/ROICalculatorBlock.d.ts +3 -0
  354. package/dist/components/blocks/{SavingsCalculatorBlock.js → ROICalculatorBlock.js} +3 -3
  355. package/dist/components/blocks/ResetPasswordBlock.d.ts +3 -9
  356. package/dist/components/blocks/ResetPasswordBlock.js +1 -1
  357. package/dist/components/blocks/SettingsNavBlock.d.ts +3 -0
  358. package/dist/components/blocks/{SettingsLayout.js → SettingsNavBlock.js} +39 -37
  359. package/dist/components/blocks/SolutionShowcaseBlock.d.ts +3 -17
  360. package/dist/components/blocks/SolutionShowcaseBlock.js +2 -2
  361. package/dist/components/blocks/StatsBlock.d.ts +3 -21
  362. package/dist/components/blocks/StatsBlock.js +1 -110
  363. package/dist/components/blocks/StatsMarketingBlock.d.ts +3 -14
  364. package/dist/components/blocks/StatsMarketingBlock.js +3 -3
  365. package/dist/components/blocks/TeamBlock.d.ts +3 -16
  366. package/dist/components/blocks/TeamBlock.js +1 -1
  367. package/dist/components/blocks/TestimonialsBlock.d.ts +6 -9
  368. package/dist/components/blocks/TestimonialsBlock.js +15 -2
  369. package/dist/components/blocks/TimezonePickerBlock.d.ts +3 -11
  370. package/dist/components/blocks/TimezonePickerBlock.js +35 -35
  371. package/dist/components/blocks/TwoFactorSetupBlock.d.ts +1 -12
  372. package/dist/components/blocks/TwoFactorSetupBlock.js +36 -36
  373. package/dist/components/blocks/UsageDonutBlock.d.ts +3 -16
  374. package/dist/components/blocks/UsageDonutBlock.js +1 -1
  375. package/dist/components/blocks/WizardBlock.d.ts +1 -15
  376. package/dist/components/blocks/WizardBlock.js +32 -32
  377. package/dist/components/blocks/user/InviteUserModal.d.ts +4 -4
  378. package/dist/components/blocks/user/InviteUserModal.js +34 -34
  379. package/dist/components/pages/settings/ProfilePage.d.ts +1 -0
  380. package/dist/components/pages/settings/TeamPage.d.ts +1 -0
  381. package/dist/components/ui/Accordion.js +31 -31
  382. package/dist/components/ui/AgentAvatar.js +2 -72
  383. package/dist/components/ui/AgentStatus.d.ts +1 -1
  384. package/dist/components/ui/AgentStatus.js +2 -71
  385. package/dist/components/ui/AgentTimeline.js +3 -97
  386. package/dist/components/ui/AlertDialog.js +3 -133
  387. package/dist/components/ui/AnnouncementBanner.js +4 -46
  388. package/dist/components/ui/ApprovalCard.js +5 -115
  389. package/dist/components/ui/AspectRatio.js +1 -5
  390. package/dist/components/ui/AvatarUpload.js +6 -119
  391. package/dist/components/ui/BentoGrid.js +4 -28
  392. package/dist/components/ui/Breadcrumb.js +31 -31
  393. package/dist/components/ui/ButtonGroup.js +2 -18
  394. package/dist/components/ui/Calendar.js +31 -31
  395. package/dist/components/ui/Carousel.js +35 -247
  396. package/dist/components/ui/ChartCard.js +2 -2
  397. package/dist/components/ui/ChatActions.js +2 -2
  398. package/dist/components/ui/ChatGreeting.js +3 -77
  399. package/dist/components/ui/ChatMessage.d.ts +26 -5
  400. package/dist/components/ui/ChatMessage.js +3 -95
  401. package/dist/components/ui/ChatPromptInput.js +4 -191
  402. package/dist/components/ui/ChatResponse.js +2 -24
  403. package/dist/components/ui/ChatThinkingMessage.d.ts +25 -6
  404. package/dist/components/ui/ChatThinkingMessage.js +7 -53
  405. package/dist/components/ui/ChatToolCall.d.ts +4 -2
  406. package/dist/components/ui/ChatToolCall.js +13 -190
  407. package/dist/components/ui/CheckStatus.js +2 -57
  408. package/dist/components/ui/Checkbox.js +31 -31
  409. package/dist/components/ui/CheckoutForm.d.ts +3 -7
  410. package/dist/components/ui/CheckoutForm.js +34 -33
  411. package/dist/components/ui/CheckoutFormDemo.js +32 -32
  412. package/dist/components/ui/Combobox.d.ts +2 -1
  413. package/dist/components/ui/Combobox.js +38 -109
  414. package/dist/components/ui/Command.js +34 -34
  415. package/dist/components/ui/ConfettiBurst.js +3 -71
  416. package/dist/components/ui/ContextMenu.js +34 -215
  417. package/dist/components/ui/Conversation.js +35 -115
  418. package/dist/components/ui/DataTable.d.ts +2 -1
  419. package/dist/components/ui/DataTable.js +33 -33
  420. package/dist/components/ui/DatePicker.js +31 -31
  421. package/dist/components/ui/DateRangePicker.js +31 -31
  422. package/dist/components/ui/Dialog.js +33 -33
  423. package/dist/components/ui/DiffStat.js +2 -32
  424. package/dist/components/ui/Drawer.js +3 -116
  425. package/dist/components/ui/DropdownMenu.js +32 -32
  426. package/dist/components/ui/FileUpload.js +34 -171
  427. package/dist/components/ui/FloatingDock.js +3 -100
  428. package/dist/components/ui/FormWizard.d.ts +5 -13
  429. package/dist/components/ui/FormWizard.js +1 -1
  430. package/dist/components/ui/HandoffIndicator.js +4 -42
  431. package/dist/components/ui/HoverCard.js +2 -23
  432. package/dist/components/ui/InputGroup.js +2 -36
  433. package/dist/components/ui/InputOTP.js +31 -31
  434. package/dist/components/ui/Item.d.ts +1 -1
  435. package/dist/components/ui/Item.js +2 -176
  436. package/dist/components/ui/KanbanBoard.d.ts +2 -1
  437. package/dist/components/ui/KanbanBoard.js +2 -2
  438. package/dist/components/ui/Kbd.js +2 -17
  439. package/dist/components/ui/LanguageSwitcher.js +31 -31
  440. package/dist/components/ui/MagneticElement.js +3 -41
  441. package/dist/components/ui/MemoryInspector.js +3 -94
  442. package/dist/components/ui/Menubar.js +34 -257
  443. package/dist/components/ui/MouseGlow.d.ts +10 -0
  444. package/dist/components/ui/MouseGlow.js +3 -0
  445. package/dist/components/ui/{MouseEffect.d.ts → MouseSpotlight.d.ts} +0 -9
  446. package/dist/components/ui/{MouseEffect.js → MouseSpotlight.js} +1 -1
  447. package/dist/components/ui/MovingBorder.js +2 -40
  448. package/dist/components/ui/NavUser.d.ts +4 -0
  449. package/dist/components/{blocks → ui}/NavUser.js +37 -36
  450. package/dist/components/ui/NavigationMenu.js +34 -161
  451. package/dist/components/ui/NotificationCenter.js +34 -136
  452. package/dist/components/ui/Pagination.js +31 -31
  453. package/dist/components/ui/ProgressRing.js +4 -128
  454. package/dist/components/ui/PromoCard.js +4 -41
  455. package/dist/components/ui/RadioGroup.js +33 -69
  456. package/dist/components/ui/Resizable.js +34 -68
  457. package/dist/components/ui/Select.js +31 -31
  458. package/dist/components/ui/SettingsModal.js +41 -137
  459. package/dist/components/ui/ShaderBackground.js +4 -71
  460. package/dist/components/ui/Sheet.d.ts +2 -1
  461. package/dist/components/ui/Sheet.js +36 -32
  462. package/dist/components/ui/Sidebar.js +35 -34
  463. package/dist/components/ui/SourceCitation.js +3 -119
  464. package/dist/components/ui/SpringHover.js +3 -32
  465. package/dist/components/ui/StaggeredEntrance.js +2 -23
  466. package/dist/components/ui/StatusDot.d.ts +1 -1
  467. package/dist/components/ui/StyleToggle.js +1 -1
  468. package/dist/components/ui/SuccessCheck.js +3 -52
  469. package/dist/components/ui/Tabs.d.ts +5 -3
  470. package/dist/components/ui/Tabs.js +5 -1
  471. package/dist/components/ui/TagInput.js +35 -132
  472. package/dist/components/ui/ThemeToggle.d.ts +2 -1
  473. package/dist/components/ui/ThemeToggle.js +36 -66
  474. package/dist/components/ui/TiltCard.js +3 -48
  475. package/dist/components/ui/ToggleGroup.js +3 -56
  476. package/dist/components/ui/TreeView.js +35 -216
  477. package/dist/components/ui/Typography.d.ts +1 -1
  478. package/dist/components/ui/Typography.js +1 -1
  479. package/dist/components/ui/VoiceAgentCard.d.ts +9 -0
  480. package/dist/components/{blocks → ui}/VoiceAgentCard.js +2 -2
  481. package/dist/components/ui/WorkspaceSwitcherBlock.d.ts +3 -0
  482. package/dist/components/{blocks → ui}/WorkspaceSwitcherBlock.js +36 -35
  483. package/dist/components/ui/charts/index.js +1 -1
  484. package/dist/components/ui/icons/index.js +31 -31
  485. package/dist/components/ui/text-effects/index.js +2 -2
  486. package/dist/index.js +39 -39
  487. package/dist/internal/local-image-assets.d.ts +1 -0
  488. package/dist/lib/json-render/app.d.ts +11 -0
  489. package/dist/lib/json-render/app.js +7 -0
  490. package/dist/lib/json-render/catalog.d.ts +1154 -0
  491. package/dist/lib/json-render/catalog.js +23 -0
  492. package/dist/lib/json-render/registry.d.ts +1 -0
  493. package/dist/lib/json-render/registry.js +58 -0
  494. package/dist/lib/json-render/showcase-spec.d.ts +3 -0
  495. package/dist/lib/json-render/showcase-spec.js +2 -0
  496. package/dist/lib/react-utils.d.ts +1 -1
  497. package/dist/lib/standalone-routes.d.ts +56 -0
  498. package/dist/lib/standalone-routes.js +1 -0
  499. package/dist/lib/tool-call-state-map.d.ts +2 -0
  500. package/dist/lib/tool-call-state-map.js +1 -0
  501. package/dist/messages/en.js +1 -1
  502. package/dist/messages/it.js +1 -1
  503. package/dist/test/PublicSeedTestProvider.js +2 -2
  504. package/eslint-rules/nadicode/__tests__/rules.test.js +3 -3
  505. package/eslint-rules/nadicode/data/catalog-names.json +149 -38
  506. package/eslint-rules/nadicode/rules/__tests__/no-diy-backdrop-blur.test.js +0 -5
  507. package/eslint-rules/nadicode/rules/__tests__/require-catalog-component.test.js +2 -2
  508. package/eslint-rules/nadicode/rules/no-diy-backdrop-blur.js +0 -1
  509. package/eslint-rules/nadicode/rules/no-unregistered-glass.js +4 -6
  510. package/eslint-rules/nadicode/rules/require-glass-on-floating-ui.js +0 -2
  511. package/eslint-rules/nadicode/rules/require-metadata-on-page.js +11 -0
  512. package/eslint-rules/nadicode/rules/require-scroll-containment-on-overlay.js +0 -2
  513. package/package.json +9 -678
  514. package/dist/chunk-23M6A7EW.js +0 -30
  515. package/dist/chunk-3A6CFUG4.js +0 -175
  516. package/dist/chunk-3UG7AY5B.js +0 -75
  517. package/dist/chunk-46MPJVJ6.js +0 -115
  518. package/dist/chunk-4IGBBIYW.js +0 -47
  519. package/dist/chunk-4JJARNWW.js +0 -138
  520. package/dist/chunk-4WPZ6T7V.js +0 -186
  521. package/dist/chunk-567EG267.js +0 -130
  522. package/dist/chunk-5DWVAAP2.js +0 -60
  523. package/dist/chunk-5USY2AY2.js +0 -72
  524. package/dist/chunk-5Y4BOIYO.js +0 -121
  525. package/dist/chunk-6CDHFSOH.js +0 -60
  526. package/dist/chunk-7IXYIUQ5.js +0 -114
  527. package/dist/chunk-7LIF2WZX.js +0 -125
  528. package/dist/chunk-AN5TW4AL.js +0 -50
  529. package/dist/chunk-BQLHU3KL.js +0 -96
  530. package/dist/chunk-CCUXLYZX.js +0 -33
  531. package/dist/chunk-CI2O2OSW.js +0 -168
  532. package/dist/chunk-E7RCIX5C.js +0 -150
  533. package/dist/chunk-EHIKO3CD.js +0 -169
  534. package/dist/chunk-EYWOKTOY.js +0 -58
  535. package/dist/chunk-FJP5SRCH.js +0 -40
  536. package/dist/chunk-G4FB7QSY.js +0 -134
  537. package/dist/chunk-GI6UL27V.js +0 -126
  538. package/dist/chunk-GICOWV5M.js +0 -30
  539. package/dist/chunk-I66XWYSS.js +0 -117
  540. package/dist/chunk-KA47SVMB.js +0 -149
  541. package/dist/chunk-KCOMDSQ4.js +0 -86
  542. package/dist/chunk-KKXYZASY.js +0 -94
  543. package/dist/chunk-LIJYUSSE.js +0 -152
  544. package/dist/chunk-LNVZNQCZ.js +0 -124
  545. package/dist/chunk-LPW5LWX7.js +0 -32
  546. package/dist/chunk-MX7GIO2A.js +0 -83
  547. package/dist/chunk-NBQKHIAP.js +0 -120
  548. package/dist/chunk-O3LHOHLI.js +0 -56
  549. package/dist/chunk-PYLBCISI.js +0 -165
  550. package/dist/chunk-PYTNUV2K.js +0 -30
  551. package/dist/chunk-QOHUG6UP.js +0 -145
  552. package/dist/chunk-RNZM3QJX.js +0 -101
  553. package/dist/chunk-SBLQB3A2.js +0 -70
  554. package/dist/chunk-THN674BW.js +0 -269
  555. package/dist/chunk-TOLHBTIL.js +0 -30
  556. package/dist/chunk-UMYGE2DM.js +0 -47
  557. package/dist/chunk-UO5DYAP7.js +0 -35
  558. package/dist/chunk-UWLSJLKT.js +0 -147
  559. package/dist/chunk-V2ORH4K3.js +0 -167
  560. package/dist/chunk-V3FMLBOA.js +0 -105
  561. package/dist/chunk-VDP7SAKP.js +0 -164
  562. package/dist/chunk-XTZMFOHK.js +0 -52
  563. package/dist/chunk-YOGZZMQS.js +0 -60
  564. package/dist/chunk-YRQBSMGZ.js +0 -42
  565. package/dist/chunk-YVS2TJ7I.js +0 -32
  566. package/dist/chunk-YW2KJAC6.js +0 -159
  567. package/dist/chunk-Z6PIE2PZ.js +0 -36
  568. package/dist/chunk-ZBQLUB3B.js +0 -110
  569. package/dist/chunk-ZXGBPUSM.js +0 -28
  570. package/dist/components/blocks/AudioVisualizerBlock.d.ts +0 -6
  571. package/dist/components/blocks/AudioVisualizerBlock.js +0 -3
  572. package/dist/components/blocks/BarChartBlock.d.ts +0 -15
  573. package/dist/components/blocks/BarChartBlock.js +0 -10
  574. package/dist/components/blocks/EmailVerifiedBlock.d.ts +0 -10
  575. package/dist/components/blocks/FeatureGridBlock.d.ts +0 -14
  576. package/dist/components/blocks/FeatureGridBlock.js +0 -12
  577. package/dist/components/blocks/ForgotPasswordBlock.d.ts +0 -14
  578. package/dist/components/blocks/ForgotPasswordBlock.js +0 -15
  579. package/dist/components/blocks/HeroSectionBlock.d.ts +0 -19
  580. package/dist/components/blocks/HeroSectionBlock.js +0 -139
  581. package/dist/components/blocks/KanbanDemoBlock.d.ts +0 -4
  582. package/dist/components/blocks/KanbanDemoBlock.js +0 -17
  583. package/dist/components/blocks/MagicLinkBlock.d.ts +0 -12
  584. package/dist/components/blocks/MagicLinkBlock.js +0 -18
  585. package/dist/components/blocks/NavUser.d.ts +0 -18
  586. package/dist/components/blocks/PasswordChangedBlock.d.ts +0 -10
  587. package/dist/components/blocks/PasswordChangedBlock.js +0 -10
  588. package/dist/components/blocks/PricingTableBlock.d.ts +0 -19
  589. package/dist/components/blocks/PricingTableBlock.js +0 -13
  590. package/dist/components/blocks/SavingsCalculatorBlock.d.ts +0 -30
  591. package/dist/components/blocks/SettingsLayout.d.ts +0 -16
  592. package/dist/components/blocks/SignUpBlock.d.ts +0 -11
  593. package/dist/components/blocks/SignUpBlock.js +0 -14
  594. package/dist/components/blocks/SocialProofBlock.d.ts +0 -19
  595. package/dist/components/blocks/TwoFactorChallengeBlock.d.ts +0 -12
  596. package/dist/components/blocks/VoiceAgentCard.d.ts +0 -19
  597. package/dist/components/blocks/WorkspaceSwitcherBlock.d.ts +0 -11
  598. package/dist/components/page-kits/AccountLockedPageKit.d.ts +0 -10
  599. package/dist/components/page-kits/AccountLockedPageKit.js +0 -11
  600. package/dist/components/page-kits/AgentsChatPageKit.d.ts +0 -46
  601. package/dist/components/page-kits/AgentsChatPageKit.js +0 -142
  602. package/dist/components/page-kits/AnalyticsPageKit.d.ts +0 -49
  603. package/dist/components/page-kits/AnalyticsPageKit.js +0 -139
  604. package/dist/components/page-kits/BlogContentPageKit.d.ts +0 -64
  605. package/dist/components/page-kits/BlogContentPageKit.js +0 -141
  606. package/dist/components/page-kits/CheckoutPageKit.d.ts +0 -36
  607. package/dist/components/page-kits/CheckoutPageKit.js +0 -135
  608. package/dist/components/page-kits/CompanySuitePageKit.d.ts +0 -25
  609. package/dist/components/page-kits/CompanySuitePageKit.js +0 -153
  610. package/dist/components/page-kits/CrudFormPageKit.d.ts +0 -54
  611. package/dist/components/page-kits/CrudFormPageKit.js +0 -138
  612. package/dist/components/page-kits/CrudListDetailPageKit.d.ts +0 -70
  613. package/dist/components/page-kits/CrudListDetailPageKit.js +0 -138
  614. package/dist/components/page-kits/DashboardPageKit.d.ts +0 -39
  615. package/dist/components/page-kits/ErrorPageKit.d.ts +0 -22
  616. package/dist/components/page-kits/ErrorPageKit.js +0 -8
  617. package/dist/components/page-kits/KanbanBoardPageKit.d.ts +0 -31
  618. package/dist/components/page-kits/KanbanBoardPageKit.js +0 -143
  619. package/dist/components/page-kits/LandingPageKit.d.ts +0 -29
  620. package/dist/components/page-kits/LoginPageKit.d.ts +0 -16
  621. package/dist/components/page-kits/LoginPageKit.js +0 -14
  622. package/dist/components/page-kits/MarketingShellPageKit.d.ts +0 -21
  623. package/dist/components/page-kits/NavigationShellPageKit.d.ts +0 -41
  624. package/dist/components/page-kits/OnboardingPageKit.d.ts +0 -26
  625. package/dist/components/page-kits/PricingPageKit.d.ts +0 -41
  626. package/dist/components/page-kits/PricingPageKit.js +0 -153
  627. package/dist/components/page-kits/ProfileSettingsPageKit.d.ts +0 -50
  628. package/dist/components/page-kits/ProfileSettingsPageKit.js +0 -17
  629. package/dist/components/page-kits/RecoveryPageKit.d.ts +0 -17
  630. package/dist/components/page-kits/RecoveryPageKit.js +0 -19
  631. package/dist/components/page-kits/ResetPageKit.d.ts +0 -14
  632. package/dist/components/page-kits/ResetPageKit.js +0 -19
  633. package/dist/components/page-kits/ServiceSuitePageKit.d.ts +0 -25
  634. package/dist/components/page-kits/ServiceSuitePageKit.js +0 -156
  635. package/dist/components/page-kits/SettingsPageKit.d.ts +0 -27
  636. package/dist/components/page-kits/SettingsPageKit.js +0 -11
  637. package/dist/components/page-kits/SignupPageKit.d.ts +0 -15
  638. package/dist/components/page-kits/SignupPageKit.js +0 -14
  639. package/dist/components/page-kits/SuccessPageKit.d.ts +0 -15
  640. package/dist/components/page-kits/TeamSettingsPageKit.d.ts +0 -50
  641. package/dist/components/page-kits/TwoFactorPageKit.d.ts +0 -16
  642. package/dist/components/page-kits/VerifyEmailPageKit.d.ts +0 -15
  643. package/dist/components/page-kits/VoiceAgentsPageKit.d.ts +0 -35
  644. package/dist/components/page-kits/VoiceAgentsPageKit.js +0 -133
  645. package/dist/components/ui/AgentMessageBubble.d.ts +0 -37
  646. package/dist/components/ui/AgentMessageBubble.js +0 -115
  647. package/dist/components/ui/AnimatedDialog.d.ts +0 -30
  648. package/dist/components/ui/AnimatedSheet.d.ts +0 -26
  649. package/dist/components/ui/AnimatedSheet.js +0 -264
  650. package/dist/components/ui/AnimatedTabs.d.ts +0 -16
  651. package/dist/components/ui/AuroraEffect.d.ts +0 -9
  652. package/dist/components/ui/AuroraEffect.js +0 -77
  653. package/dist/components/ui/ChatPromptInputAttachments.d.ts +0 -9
  654. package/dist/components/ui/ChatPromptInputAttachments.js +0 -145
  655. package/dist/components/ui/ConversationThread.d.ts +0 -27
  656. package/dist/components/ui/ConversationThread.js +0 -99
  657. package/dist/components/ui/PageTransition.d.ts +0 -9
  658. package/dist/components/ui/PageTransition.js +0 -56
  659. package/dist/components/ui/SearchCommand.d.ts +0 -33
  660. package/dist/components/ui/SearchCommand.js +0 -115
  661. package/dist/components/ui/ThinkingIndicator.d.ts +0 -14
  662. package/dist/components/ui/ThinkingIndicator.js +0 -9
  663. package/dist/components/ui/Toast.d.ts +0 -28
  664. package/dist/components/ui/Toast.js +0 -115
  665. package/dist/components/ui/Toaster.d.ts +0 -1
  666. package/dist/components/ui/Toaster.js +0 -136
  667. package/dist/components/ui/ToolCallCard.d.ts +0 -16
  668. package/dist/components/ui/ToolCallCard.js +0 -13
  669. package/dist/components/ui/VisuallyHidden.d.ts +0 -2
  670. package/dist/components/ui/VisuallyHidden.js +0 -8
  671. package/dist/hooks/use-toast.d.ts +0 -44
  672. package/dist/hooks/use-toast.js +0 -2
  673. package/dist/{chunk-CQEUNASC.js → chunk-ETS5O4ZQ.js} +1 -1
  674. package/dist/{chunk-C6MJQDPC.js → chunk-KHLMOBAU.js} +1 -1
  675. package/dist/{chunk-M4XKO45H.js → chunk-MPVYXUOD.js} +8 -8
  676. package/dist/{chunk-HZPCTOQJ.js → chunk-TKT6WW4E.js} +1 -1
  677. package/dist/{chunk-EEL4RAPC.js → chunk-V4NBPGED.js} +8 -8
@@ -1,5 +1,4 @@
1
- import { NavigationShellPageKit } from './chunk-ZBQLUB3B.js';
2
- import { Typography } from './chunk-PC6VMNDY.js';
1
+ import { Typography } from './chunk-Q7PCHHVJ.js';
3
2
  import { Textarea } from './chunk-4OBE2FS2.js';
4
3
  import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-WH62BE24.js';
5
4
  import { Heading } from './chunk-UXX6HHPS.js';
@@ -9,22 +8,22 @@ import { Card, CardHeader, CardTitle, CardContent } from './chunk-7UY24UWL.js';
9
8
  import { Button } from './chunk-7KIDDF3I.js';
10
9
  import { Badge } from './chunk-S4JAHKOP.js';
11
10
  import { cn } from './chunk-QYZT24TS.js';
12
- import { jsx, jsxs } from 'react/jsx-runtime';
11
+ import { jsxs, jsx } from 'react/jsx-runtime';
13
12
 
14
13
  var EMPTY_SECTIONS = [];
15
14
  var ALERT_CLASS = "rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive";
16
- function renderFieldInput(field, onFieldChange) {
17
- const disabled = field.disabled || field.readOnly;
15
+ function renderFieldInput(field, emit) {
16
+ const disabled = field.disabled === true || field.readOnly === true;
18
17
  if (field.type === "textarea") {
19
18
  return /* @__PURE__ */ jsx(
20
19
  Textarea,
21
20
  {
22
21
  id: field.id,
23
22
  value: field.value,
24
- placeholder: field.placeholder,
23
+ placeholder: field.placeholder ?? void 0,
25
24
  disabled,
26
- readOnly: field.readOnly,
27
- onChange: (event) => onFieldChange?.(field.id, event.target.value)
25
+ readOnly: field.readOnly ?? void 0,
26
+ onChange: () => emit("fieldChange")
28
27
  }
29
28
  );
30
29
  }
@@ -34,7 +33,7 @@ function renderFieldInput(field, onFieldChange) {
34
33
  {
35
34
  value: field.value,
36
35
  disabled,
37
- onValueChange: (value) => onFieldChange?.(field.id, value),
36
+ onValueChange: () => emit("fieldChange"),
38
37
  children: [
39
38
  /* @__PURE__ */ jsx(SelectTrigger, { id: field.id, "aria-label": field.label, children: /* @__PURE__ */ jsx(SelectValue, { placeholder: field.placeholder ?? "Select value" }) }),
40
39
  /* @__PURE__ */ jsx(SelectContent, { children: (field.options ?? []).map((option) => /* @__PURE__ */ jsx(SelectItem, { value: option.value, children: option.label }, option.value)) })
@@ -48,32 +47,32 @@ function renderFieldInput(field, onFieldChange) {
48
47
  id: field.id,
49
48
  type: field.type ?? "text",
50
49
  value: field.value,
51
- placeholder: field.placeholder,
50
+ placeholder: field.placeholder ?? void 0,
52
51
  disabled,
53
- readOnly: field.readOnly,
54
- onChange: (event) => onFieldChange?.(field.id, event.target.value)
52
+ readOnly: field.readOnly ?? void 0,
53
+ onChange: () => emit("fieldChange")
55
54
  }
56
55
  );
57
56
  }
58
- function CrudFormPageKit({
59
- shell,
60
- title = "CRUD form",
61
- description = "Create and edit entities through a stable form contract with explicit save and error states.",
62
- state = "pristine",
63
- sections = EMPTY_SECTIONS,
64
- onFieldChange,
65
- actions,
66
- validationMessage,
67
- fatalErrorMessage,
68
- savedMessage = "Changes saved.",
69
- className
57
+ function FormFieldBlock({
58
+ props,
59
+ emit
70
60
  }) {
61
+ const title = props.title;
62
+ const description = props.description;
63
+ const state = props.state ?? "pristine";
64
+ const sections = props.sections ?? EMPTY_SECTIONS;
65
+ const validationMessage = props.validationMessage;
66
+ const fatalErrorMessage = props.fatalErrorMessage;
67
+ const savedMessage = props.savedMessage ?? "Changes saved.";
68
+ const actionLabels = props.actionLabels;
69
+ const className = props.className;
71
70
  const isBusy = state === "submitting" || state === "validating";
72
- return /* @__PURE__ */ jsx(NavigationShellPageKit, { ...shell, children: /* @__PURE__ */ jsxs("section", { className: cn("space-y-6", className), children: [
73
- /* @__PURE__ */ jsxs("header", { className: "space-y-2", children: [
74
- /* @__PURE__ */ jsx(Heading, { level: 3, children: title }),
75
- /* @__PURE__ */ jsx(Typography, { variant: "muted", children: description })
76
- ] }),
71
+ return /* @__PURE__ */ jsxs("section", { className: cn("space-y-6", className), children: [
72
+ title || description ? /* @__PURE__ */ jsxs("header", { className: "space-y-1", children: [
73
+ title ? /* @__PURE__ */ jsx(Heading, { level: 3, children: title }) : null,
74
+ description ? /* @__PURE__ */ jsx(Typography, { variant: "muted", children: description }) : null
75
+ ] }) : null,
77
76
  /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
78
77
  state === "dirty" ? /* @__PURE__ */ jsx(Badge, { variant: "outline", children: "Unsaved changes" }) : null,
79
78
  state === "validating" ? /* @__PURE__ */ jsx(Badge, { variant: "outline", children: "Validating" }) : null,
@@ -87,61 +86,65 @@ function CrudFormPageKit({
87
86
  /* @__PURE__ */ jsxs(CardHeader, { children: [
88
87
  /* @__PURE__ */ jsxs(CardTitle, { className: "flex items-center gap-2", children: [
89
88
  /* @__PURE__ */ jsx("span", { children: section.title }),
90
- section.optional ? /* @__PURE__ */ jsx(Badge, { variant: "outline", children: "Optional" }) : null
89
+ section.optional === true ? /* @__PURE__ */ jsx(Badge, { variant: "outline", children: "Optional" }) : null
91
90
  ] }),
92
- section.description ? /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-text-secondary", children: section.description }) : null
91
+ section.description ? /* @__PURE__ */ jsx(
92
+ Typography,
93
+ {
94
+ variant: "small",
95
+ className: "text-text-secondary",
96
+ children: section.description
97
+ }
98
+ ) : null
93
99
  ] }),
94
- /* @__PURE__ */ jsxs(CardContent, { className: "space-y-4", children: [
95
- section.content ? /* @__PURE__ */ jsx("div", { children: section.content }) : null,
96
- section.fields && section.fields.length > 0 ? /* @__PURE__ */ jsx(FieldSet, { children: section.fields.map((field) => /* @__PURE__ */ jsxs(Field, { children: [
97
- /* @__PURE__ */ jsxs(FieldLabel, { htmlFor: field.id, children: [
98
- field.label,
99
- field.required ? /* @__PURE__ */ jsx("span", { className: "ml-1 text-destructive", children: "*" }) : null
100
- ] }),
101
- renderFieldInput(field, onFieldChange),
102
- field.description ? /* @__PURE__ */ jsx(FieldDescription, { children: field.description }) : null,
103
- field.errorMessage ? /* @__PURE__ */ jsx(FieldError, { children: field.errorMessage }) : null
104
- ] }, field.id)) }) : null
105
- ] })
100
+ /* @__PURE__ */ jsx(CardContent, { className: "space-y-4", children: section.fields && section.fields.length > 0 ? /* @__PURE__ */ jsx(FieldSet, { children: section.fields.map((field) => /* @__PURE__ */ jsxs(Field, { children: [
101
+ /* @__PURE__ */ jsxs(FieldLabel, { htmlFor: field.id, children: [
102
+ field.label,
103
+ field.required === true ? /* @__PURE__ */ jsx("span", { className: "ml-1 text-destructive", children: "*" }) : null
104
+ ] }),
105
+ renderFieldInput(field, emit),
106
+ field.description ? /* @__PURE__ */ jsx(FieldDescription, { children: field.description }) : null,
107
+ field.errorMessage ? /* @__PURE__ */ jsx(FieldError, { children: field.errorMessage }) : null
108
+ ] }, field.id)) }) : null })
106
109
  ] }, section.id)) }),
107
- actions ? /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-end gap-2", children: [
108
- actions.secondary ? /* @__PURE__ */ jsx(
110
+ actionLabels ? /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-end gap-2", children: [
111
+ actionLabels.secondary ? /* @__PURE__ */ jsx(
109
112
  Button,
110
113
  {
111
114
  variant: "ghost",
112
- onClick: actions.secondary.onAction,
113
- disabled: actions.secondary.disabled || isBusy,
114
- children: actions.secondary.label
115
+ onClick: () => emit("secondaryAction"),
116
+ disabled: isBusy,
117
+ children: actionLabels.secondary
115
118
  }
116
119
  ) : null,
117
- actions.tertiary ? /* @__PURE__ */ jsx(
120
+ actionLabels.tertiary ? /* @__PURE__ */ jsx(
118
121
  Button,
119
122
  {
120
123
  variant: "outline",
121
- onClick: actions.tertiary.onAction,
122
- disabled: actions.tertiary.disabled || isBusy,
123
- children: actions.tertiary.label
124
+ onClick: () => emit("tertiaryAction"),
125
+ disabled: isBusy,
126
+ children: actionLabels.tertiary
124
127
  }
125
128
  ) : null,
126
- actions.destructive ? /* @__PURE__ */ jsx(
129
+ actionLabels.destructive ? /* @__PURE__ */ jsx(
127
130
  Button,
128
131
  {
129
132
  variant: "destructive",
130
- onClick: actions.destructive.onAction,
131
- disabled: actions.destructive.disabled || isBusy,
132
- children: actions.destructive.label
133
+ onClick: () => emit("destructiveAction"),
134
+ disabled: isBusy,
135
+ children: actionLabels.destructive
133
136
  }
134
137
  ) : null,
135
- actions.primary ? /* @__PURE__ */ jsx(
138
+ actionLabels.primary ? /* @__PURE__ */ jsx(
136
139
  Button,
137
140
  {
138
- onClick: actions.primary.onAction,
139
- disabled: actions.primary.disabled || isBusy,
140
- children: actions.primary.label
141
+ onClick: () => emit("primaryAction"),
142
+ disabled: isBusy,
143
+ children: actionLabels.primary
141
144
  }
142
145
  ) : null
143
146
  ] }) : null
144
- ] }) });
147
+ ] });
145
148
  }
146
149
 
147
- export { CrudFormPageKit };
150
+ export { FormFieldBlock };
@@ -0,0 +1,110 @@
1
+ import { LanguageSwitcher } from './chunk-SEMWC3IT.js';
2
+ import { Dialog, DialogContent, DialogTitle, DialogDescription } from './chunk-KHLMOBAU.js';
3
+ import { useMotionConfig, m, motionSpring } from './chunk-PD2YEH3H.js';
4
+ import { UsersIcon } from './chunk-WUO7OONN.js';
5
+ import { SettingsIcon } from './chunk-OITJWGFV.js';
6
+ import { PaletteIcon } from './chunk-M7YSMMAC.js';
7
+ import { LockIcon } from './chunk-RYOTIXZO.js';
8
+ import { GlobeIcon } from './chunk-JL4MVVFH.js';
9
+ import { CreditCardIcon } from './chunk-JHQTKMKG.js';
10
+ import { BellIcon } from './chunk-JBK2LA6U.js';
11
+ import { UserIcon } from './chunk-UHXGBV5N.js';
12
+ import { cn } from './chunk-QYZT24TS.js';
13
+ import React from 'react';
14
+ import { AnimatePresence } from 'motion/react';
15
+ import { useTranslations } from 'next-intl';
16
+ import { jsx, jsxs } from 'react/jsx-runtime';
17
+
18
+ var defaultSettingsTabs = [
19
+ { id: "general", icon: /* @__PURE__ */ jsx(SettingsIcon, { size: 16 }) },
20
+ { id: "profile", icon: /* @__PURE__ */ jsx(UserIcon, { size: 16 }) },
21
+ { id: "team", icon: /* @__PURE__ */ jsx(UsersIcon, { size: 16 }) },
22
+ { id: "notifications", icon: /* @__PURE__ */ jsx(BellIcon, { size: 16 }) },
23
+ { id: "security", icon: /* @__PURE__ */ jsx(LockIcon, { size: 16 }) },
24
+ { id: "billing", icon: /* @__PURE__ */ jsx(CreditCardIcon, { size: 16 }) },
25
+ { id: "appearance", icon: /* @__PURE__ */ jsx(PaletteIcon, { size: 16 }) },
26
+ { id: "language", icon: /* @__PURE__ */ jsx(GlobeIcon, { size: 16 }) }
27
+ ];
28
+ function DefaultTabContent({ tab }) {
29
+ const t = useTranslations("pages.settings");
30
+ if (tab === "language") {
31
+ return /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
32
+ /* @__PURE__ */ jsxs("div", { children: [
33
+ /* @__PURE__ */ jsx("p", { className: "text-lg font-medium text-text-primary", children: t("language") }),
34
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary mt-1", children: t("description") })
35
+ ] }),
36
+ /* @__PURE__ */ jsx(LanguageSwitcher, { className: "w-48" })
37
+ ] });
38
+ }
39
+ return /* @__PURE__ */ jsx("div", { className: "flex h-[400px] items-center justify-center rounded-lg border border-dashed border-border", children: /* @__PURE__ */ jsxs("div", { className: "text-center space-y-2", children: [
40
+ /* @__PURE__ */ jsx("p", { className: "text-lg font-medium text-text-primary", children: t(tab) }),
41
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary", children: t("underConstruction") })
42
+ ] }) });
43
+ }
44
+ function SettingsModal({
45
+ open = false,
46
+ onOpenChange,
47
+ defaultTab = "profile",
48
+ tabs = defaultSettingsTabs,
49
+ renderContent,
50
+ ContentComponent
51
+ }) {
52
+ const t = useTranslations("pages.settings");
53
+ const motionConfig = useMotionConfig();
54
+ const [activeTab, setActiveTab] = React.useState(defaultTab);
55
+ const [prevDefaultTab, setPrevDefaultTab] = React.useState(defaultTab);
56
+ if (prevDefaultTab !== defaultTab) {
57
+ setPrevDefaultTab(defaultTab);
58
+ setActiveTab(defaultTab);
59
+ }
60
+ let content;
61
+ if (renderContent) {
62
+ content = renderContent(activeTab);
63
+ } else if (ContentComponent) {
64
+ content = /* @__PURE__ */ jsx(ContentComponent, { tab: activeTab });
65
+ } else {
66
+ content = /* @__PURE__ */ jsx(DefaultTabContent, { tab: activeTab });
67
+ }
68
+ return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-w-4xl p-0 gap-0 h-[600px] max-h-[85dvh] overflow-hidden", children: [
69
+ /* @__PURE__ */ jsx(DialogTitle, { className: "sr-only", children: t("title") }),
70
+ /* @__PURE__ */ jsx(DialogDescription, { className: "sr-only", children: t("description") }),
71
+ /* @__PURE__ */ jsxs("div", { className: "flex h-full", children: [
72
+ /* @__PURE__ */ jsx(
73
+ "nav",
74
+ {
75
+ "aria-label": t("settingsNavigation"),
76
+ className: "w-52 shrink-0 border-r border-border/50 p-4 flex flex-col items-center justify-center gap-1",
77
+ children: tabs.map((tab) => /* @__PURE__ */ jsxs(
78
+ "button",
79
+ {
80
+ type: "button",
81
+ onClick: () => setActiveTab(tab.id),
82
+ className: cn(
83
+ "flex items-center gap-3 w-full px-3 py-2.5 rounded-lg text-sm font-medium transition-colors",
84
+ activeTab === tab.id ? "bg-primary/10 text-primary" : "text-text-secondary hover:text-text-primary hover:bg-surface-hover"
85
+ ),
86
+ children: [
87
+ tab.icon,
88
+ /* @__PURE__ */ jsx("span", { children: tab.label ?? t(tab.id) })
89
+ ]
90
+ },
91
+ tab.id
92
+ ))
93
+ }
94
+ ),
95
+ /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-6", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: /* @__PURE__ */ jsx(
96
+ m.div,
97
+ {
98
+ initial: { opacity: 0, y: 8 },
99
+ animate: { opacity: 1, y: 0 },
100
+ exit: { opacity: 0, y: -8 },
101
+ transition: { ...motionSpring.snappy, ...motionConfig },
102
+ children: content
103
+ },
104
+ activeTab
105
+ ) }) })
106
+ ] })
107
+ ] }) });
108
+ }
109
+
110
+ export { SettingsModal, defaultSettingsTabs };
@@ -0,0 +1,106 @@
1
+ import { BellIcon } from './chunk-JBK2LA6U.js';
2
+ import { XIcon } from './chunk-UIUMTURU.js';
3
+ import { cn } from './chunk-QYZT24TS.js';
4
+ import * as React from 'react';
5
+ import { useTranslations } from 'next-intl';
6
+ import { cva } from 'class-variance-authority';
7
+ import { jsxs, jsx } from 'react/jsx-runtime';
8
+
9
+ var notificationVariants = cva(
10
+ "flex gap-4 rounded-lg border p-4 transition-all",
11
+ {
12
+ variants: {
13
+ type: {
14
+ default: "border-border bg-surface",
15
+ info: "border-info/20 bg-info/5",
16
+ success: "border-success/20 bg-success/5",
17
+ warning: "border-warning/20 bg-warning/5",
18
+ error: "border-destructive/20 bg-destructive/5"
19
+ }
20
+ },
21
+ defaultVariants: {
22
+ type: "default"
23
+ }
24
+ }
25
+ );
26
+ function NotificationCenter({
27
+ className,
28
+ notifications,
29
+ onDismiss,
30
+ onNotificationClick,
31
+ emptyMessage,
32
+ ref,
33
+ ...props
34
+ }) {
35
+ const t = useTranslations("components.notificationCenter");
36
+ const resolvedEmptyMessage = emptyMessage ?? t("noNotifications");
37
+ const unreadCount = React.useMemo(() => notifications.filter((n) => !n.read).length, [notifications]);
38
+ return /* @__PURE__ */ jsxs(
39
+ "div",
40
+ {
41
+ ref,
42
+ className: cn("flex flex-col rounded-xl border border-border bg-surface", className),
43
+ role: "region",
44
+ "aria-label": "Notification center",
45
+ ...props,
46
+ children: [
47
+ /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between border-b border-border px-4 py-4", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
48
+ /* @__PURE__ */ jsx(BellIcon, { size: 16, className: "text-text-secondary" }),
49
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-text-primary", children: t("notifications") }),
50
+ unreadCount > 0 && /* @__PURE__ */ jsx(
51
+ "span",
52
+ {
53
+ className: "inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-accent px-1.5 text-[10px] font-semibold text-accent-foreground",
54
+ "aria-label": t("unreadNotifications", { count: unreadCount }),
55
+ children: unreadCount
56
+ }
57
+ )
58
+ ] }) }),
59
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col divide-y divide-border overflow-y-auto max-h-[400px]", "aria-live": "polite", "aria-relevant": "additions", children: notifications.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-8 text-sm text-text-tertiary", children: resolvedEmptyMessage }) : notifications.map((notification) => /* @__PURE__ */ jsxs(
60
+ "div",
61
+ {
62
+ className: cn(
63
+ notificationVariants({ type: notification.type }),
64
+ "m-2 cursor-pointer hover:bg-surface-hover",
65
+ !notification.read && "ring-1 ring-accent/10"
66
+ ),
67
+ onClick: () => onNotificationClick?.(notification),
68
+ onKeyDown: (e) => {
69
+ if (e.key === "Enter" || e.key === " ") {
70
+ e.preventDefault();
71
+ onNotificationClick?.(notification);
72
+ }
73
+ },
74
+ tabIndex: 0,
75
+ role: "article",
76
+ children: [
77
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
78
+ /* @__PURE__ */ jsx("p", { className: cn(
79
+ "text-sm",
80
+ notification.read ? "text-text-secondary" : "font-medium text-text-primary"
81
+ ), children: notification.title }),
82
+ notification.description && /* @__PURE__ */ jsx("p", { className: "text-xs text-text-tertiary mt-0.5 line-clamp-2", children: notification.description }),
83
+ notification.timestamp && /* @__PURE__ */ jsx("p", { className: "text-[10px] text-text-tertiary mt-1.5", children: notification.timestamp })
84
+ ] }),
85
+ !!onDismiss && /* @__PURE__ */ jsx(
86
+ "button",
87
+ {
88
+ onClick: (e) => {
89
+ e.stopPropagation();
90
+ onDismiss(notification.id);
91
+ },
92
+ className: "shrink-0 flex h-9 w-9 items-center justify-center rounded text-text-tertiary hover:text-text-primary hover:bg-surface-hover transition-colors touch-target-44",
93
+ "aria-label": t("dismiss", { title: notification.title }),
94
+ children: /* @__PURE__ */ jsx(XIcon, { size: 14 })
95
+ }
96
+ )
97
+ ]
98
+ },
99
+ notification.id
100
+ )) })
101
+ ]
102
+ }
103
+ );
104
+ }
105
+
106
+ export { NotificationCenter, notificationVariants };
@@ -0,0 +1,134 @@
1
+ import { Typography } from './chunk-Q7PCHHVJ.js';
2
+ import { WorkflowGraph } from './chunk-CPSTGXWC.js';
3
+ import { Heading } from './chunk-UXX6HHPS.js';
4
+ import { ContextMeter } from './chunk-S2WSXZ7Y.js';
5
+ import { AgentMetricsCard } from './chunk-OCQB4IU7.js';
6
+ import { AgentTeamPanel } from './chunk-J3QL5UQ7.js';
7
+ import { jsxs, jsx } from 'react/jsx-runtime';
8
+
9
+ var defaultAgents = [
10
+ {
11
+ id: "orchestrator",
12
+ name: "Orchestrator",
13
+ role: "planner",
14
+ status: "active",
15
+ model: "Claude Opus 4",
16
+ currentAction: "Coordinating the next tool run",
17
+ tokenCount: 24800,
18
+ cost: 0.124,
19
+ elapsedMs: 312e3,
20
+ stepsCompleted: 4,
21
+ stepsTotal: 7,
22
+ toolCalls: [
23
+ { name: "dispatch_task", status: "done" },
24
+ { name: "plan_next", status: "running" }
25
+ ]
26
+ },
27
+ {
28
+ id: "coder",
29
+ name: "Coder",
30
+ role: "developer",
31
+ status: "active",
32
+ model: "Claude Sonnet 4",
33
+ currentAction: "Editing workflow graph routing",
34
+ tokenCount: 12450,
35
+ cost: 0.042,
36
+ elapsedMs: 154e3,
37
+ stepsCompleted: 3,
38
+ stepsTotal: 7,
39
+ toolCalls: [
40
+ { name: "search_web", status: "done" },
41
+ { name: "edit_file", status: "running" }
42
+ ]
43
+ },
44
+ {
45
+ id: "reviewer",
46
+ name: "Reviewer",
47
+ role: "qa",
48
+ status: "idle"
49
+ }
50
+ ];
51
+ var defaultMetrics = [
52
+ { label: "Active Agents", value: 2, trend: "flat" },
53
+ { label: "Tool Calls", value: 12, trend: "up" },
54
+ { label: "Latency", value: "1.2", unit: "s", trend: "down" },
55
+ { label: "Cost", value: "$0.18", trend: "down" }
56
+ ];
57
+ var defaultContext = {
58
+ used: 85e3,
59
+ total: 128e3,
60
+ breakdown: { system: 15, user: 35, assistant: 50 }
61
+ };
62
+ var defaultWorkflow = {
63
+ title: "Execution graph",
64
+ nodes: [
65
+ { id: "plan", label: "Planner", status: "done", type: "llm", duration: 2500 },
66
+ { id: "search", label: "Web Search", status: "done", type: "tool", duration: 1200 },
67
+ { id: "code", label: "Coder", status: "active", type: "llm" },
68
+ { id: "review", label: "Guardrail", status: "pending", type: "conditional" },
69
+ { id: "deploy", label: "Operator", status: "pending", type: "human" }
70
+ ],
71
+ edges: [
72
+ { from: "plan", to: "search", label: "queries" },
73
+ { from: "plan", to: "code" },
74
+ { from: "search", to: "code", label: "context" },
75
+ { from: "code", to: "review" },
76
+ { from: "review", to: "deploy", label: "approved" }
77
+ ]
78
+ };
79
+ function AgentRunOverviewBlock({ props }) {
80
+ const title = props.title ?? "Runtime overview";
81
+ const description = props.description ?? "A compact operator view of team health, context pressure, and workflow state.";
82
+ const teamTitle = props.teamTitle ?? "Team";
83
+ const metricsTitle = props.metricsTitle ?? "Run metrics";
84
+ const contextTitle = props.contextTitle ?? "Context window";
85
+ const workflow = props.workflow ?? defaultWorkflow;
86
+ const agents = props.agents ?? defaultAgents;
87
+ const metrics = props.metrics ?? defaultMetrics;
88
+ const context = props.context ?? defaultContext;
89
+ return /* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
90
+ /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
91
+ /* @__PURE__ */ jsx(Heading, { level: 2, size: "section", children: title }),
92
+ /* @__PURE__ */ jsx(Typography, { variant: "muted", children: description })
93
+ ] }),
94
+ /* @__PURE__ */ jsxs("div", { className: "grid gap-4 xl:grid-cols-[320px_minmax(0,1fr)]", children: [
95
+ /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
96
+ /* @__PURE__ */ jsxs("div", { className: "surface-solid rounded-lg p-4", children: [
97
+ /* @__PURE__ */ jsx(Heading, { level: 4, size: "title", className: "mb-4", children: teamTitle }),
98
+ /* @__PURE__ */ jsx(AgentTeamPanel, { agents })
99
+ ] }),
100
+ /* @__PURE__ */ jsxs("div", { className: "surface-solid rounded-lg p-4", children: [
101
+ /* @__PURE__ */ jsxs("div", { className: "mb-4 flex items-center justify-between gap-2", children: [
102
+ /* @__PURE__ */ jsx(Heading, { level: 4, size: "title", children: contextTitle }),
103
+ /* @__PURE__ */ jsxs("span", { className: "text-xs text-text-tertiary", children: [
104
+ context.used.toLocaleString(),
105
+ " / ",
106
+ context.total.toLocaleString()
107
+ ] })
108
+ ] }),
109
+ /* @__PURE__ */ jsx(
110
+ ContextMeter,
111
+ {
112
+ used: context.used,
113
+ total: context.total,
114
+ breakdown: context.breakdown,
115
+ size: "expanded"
116
+ }
117
+ )
118
+ ] })
119
+ ] }),
120
+ /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
121
+ /* @__PURE__ */ jsxs("div", { className: "surface-solid rounded-lg p-4", children: [
122
+ /* @__PURE__ */ jsx(Heading, { level: 4, size: "title", className: "mb-4", children: metricsTitle }),
123
+ /* @__PURE__ */ jsx(AgentMetricsCard, { metrics })
124
+ ] }),
125
+ /* @__PURE__ */ jsxs("div", { className: "surface-solid rounded-lg p-4", children: [
126
+ /* @__PURE__ */ jsx(Heading, { level: 4, size: "title", className: "mb-4", children: workflow.title ?? defaultWorkflow.title }),
127
+ /* @__PURE__ */ jsx(WorkflowGraph, { nodes: workflow.nodes, edges: workflow.edges })
128
+ ] })
129
+ ] })
130
+ ] })
131
+ ] });
132
+ }
133
+
134
+ export { AgentRunOverviewBlock };
@@ -1,4 +1,6 @@
1
1
  import { hasChildWithDisplayName } from './chunk-6FOHUNXR.js';
2
+ import { useReducedMotion } from './chunk-KRBLVZII.js';
3
+ import { useMotionConfig, m, motionSpring } from './chunk-PD2YEH3H.js';
2
4
  import { XIcon } from './chunk-UIUMTURU.js';
3
5
  import { cn } from './chunk-QYZT24TS.js';
4
6
  import * as DialogPrimitive from '@radix-ui/react-dialog';
@@ -43,35 +45,99 @@ var sheetVariants = cva(
43
45
  }
44
46
  }
45
47
  );
48
+ var slideVariants = {
49
+ right: {
50
+ initial: { x: 300 },
51
+ animate: { x: 0 },
52
+ exit: { x: 300 }
53
+ },
54
+ left: {
55
+ initial: { x: -300 },
56
+ animate: { x: 0 },
57
+ exit: { x: -300 }
58
+ },
59
+ top: {
60
+ initial: { y: -300 },
61
+ animate: { y: 0 },
62
+ exit: { y: -300 }
63
+ },
64
+ bottom: {
65
+ initial: { y: 300 },
66
+ animate: { y: 0 },
67
+ exit: { y: 300 }
68
+ }
69
+ };
46
70
  function SheetContent({
47
71
  side = "right",
48
72
  className,
49
73
  children,
74
+ onClose,
50
75
  ref,
51
76
  ...props
52
77
  }) {
53
78
  const t = useTranslations("common");
79
+ const reducedMotion = useReducedMotion();
80
+ const motionConfig = useMotionConfig();
54
81
  const hasTitle = hasChildWithDisplayName(children, "SheetTitle");
55
82
  const hasDescription = hasChildWithDisplayName(children, "SheetDescription");
83
+ const closeButton = /* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "absolute right-2 top-2 flex h-11 w-11 items-center justify-center rounded-md text-text-tertiary transition-colors hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
84
+ /* @__PURE__ */ jsx(XIcon, { size: 16 }),
85
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: t("close") })
86
+ ] });
87
+ const titleFallback = !hasTitle && /* @__PURE__ */ jsx(SheetTitle, { className: "sr-only", children: "Sheet content" });
88
+ const descriptionFallback = !hasDescription && /* @__PURE__ */ jsx(SheetDescription, { className: "sr-only", children: "Sheet content" });
89
+ if (reducedMotion) {
90
+ return /* @__PURE__ */ jsxs(SheetPortal, { children: [
91
+ /* @__PURE__ */ jsx(SheetOverlay, {}),
92
+ /* @__PURE__ */ jsxs(
93
+ DialogPrimitive.Content,
94
+ {
95
+ ref,
96
+ className: cn(sheetVariants({ side }), className),
97
+ ...props,
98
+ children: [
99
+ titleFallback,
100
+ descriptionFallback,
101
+ children,
102
+ closeButton
103
+ ]
104
+ }
105
+ )
106
+ ] });
107
+ }
108
+ const isHorizontal = side === "left" || side === "right";
109
+ const supportsDrag = isHorizontal && typeof window !== "undefined" && typeof window.HTMLElement?.prototype?.setPointerCapture === "function";
110
+ const variant = slideVariants[side];
56
111
  return /* @__PURE__ */ jsxs(SheetPortal, { children: [
57
112
  /* @__PURE__ */ jsx(SheetOverlay, {}),
58
- /* @__PURE__ */ jsxs(
59
- DialogPrimitive.Content,
113
+ /* @__PURE__ */ jsx(DialogPrimitive.Content, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsxs(
114
+ m.div,
60
115
  {
61
- ref,
62
- className: cn(sheetVariants({ side }), className),
63
- ...props,
116
+ className: cn("fixed z-50 gap-4 overflow-y-auto glass-panel p-6 shadow-lg", sheetVariants({ side }), className),
117
+ initial: variant.initial,
118
+ animate: variant.animate,
119
+ exit: variant.exit,
120
+ transition: { ...motionSpring.gentle, ...motionConfig },
121
+ drag: supportsDrag ? "x" : void 0,
122
+ dragConstraints: supportsDrag ? { left: 0, right: 0 } : void 0,
123
+ dragElastic: supportsDrag ? 0.2 : void 0,
124
+ onDragEnd: (_e, info) => {
125
+ if (isHorizontal) {
126
+ const threshold = 100;
127
+ const shouldClose = side === "right" ? info.offset.x > threshold : info.offset.x < -threshold;
128
+ if (shouldClose) {
129
+ onClose?.();
130
+ }
131
+ }
132
+ },
64
133
  children: [
65
- !hasTitle && /* @__PURE__ */ jsx(SheetTitle, { className: "sr-only", children: "Sheet content" }),
66
- !hasDescription && /* @__PURE__ */ jsx(SheetDescription, { className: "sr-only", children: "Sheet content" }),
134
+ titleFallback,
135
+ descriptionFallback,
67
136
  children,
68
- /* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "absolute right-2 top-2 flex h-11 w-11 items-center justify-center rounded-md text-text-tertiary transition-colors hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
69
- /* @__PURE__ */ jsx(XIcon, { size: 16 }),
70
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: t("close") })
71
- ] })
137
+ closeButton
72
138
  ]
73
139
  }
74
- )
140
+ ) })
75
141
  ] });
76
142
  }
77
143
  var SheetHeader = ({