@vadimcomanescu/nadicode-design-system 4.0.11 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (680) hide show
  1. package/.agents/skills/seed/SKILL.md +82 -23
  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 +13 -265
  11. package/dist/ProfilePage-KJVA3ZQ5.js +87 -0
  12. package/dist/TeamPage-IYWL6N4I.js +479 -0
  13. package/dist/catalog/catalog.d.ts +4817 -1885
  14. package/dist/catalog/catalog.js +22 -2107
  15. package/dist/catalog/components.d.ts +233 -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 +358 -0
  22. package/dist/catalog/definitions/blocks-agent.js +1 -0
  23. package/dist/catalog/definitions/blocks-auth.d.ts +195 -0
  24. package/dist/catalog/definitions/blocks-auth.js +1 -0
  25. package/dist/catalog/definitions/blocks-content.d.ts +513 -0
  26. package/dist/catalog/definitions/blocks-content.js +2 -0
  27. package/dist/catalog/definitions/blocks-crud.d.ts +505 -0
  28. package/dist/catalog/definitions/blocks-crud.js +1 -0
  29. package/dist/catalog/definitions/blocks-data.d.ts +311 -0
  30. package/dist/catalog/definitions/blocks-data.js +2 -0
  31. package/dist/catalog/definitions/blocks-marketing.d.ts +389 -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 +107 -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 +5324 -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/chunk-2LBEV4YF.js +128 -0
  88. package/dist/chunk-2NMP3J5R.js +6 -0
  89. package/dist/chunk-33UWVOQ6.js +227 -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-I2ZI5RUM.js → chunk-3FJG5MAT.js} +18 -12
  94. package/dist/chunk-3LROWCZE.js +464 -0
  95. package/dist/chunk-3QMHVXSQ.js +258 -0
  96. package/dist/chunk-44NVO477.js +46 -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-4ZST7OY5.js +153 -0
  103. package/dist/chunk-5B3GLRX3.js +139 -0
  104. package/dist/chunk-5KQEGO3O.js +71 -0
  105. package/dist/{chunk-N3IZNRY2.js → chunk-5RBO2IMZ.js} +17 -20
  106. package/dist/chunk-5XDYCBR6.js +345 -0
  107. package/dist/chunk-5ZC3RHXB.js +72 -0
  108. package/dist/chunk-65CUE2WL.js +257 -0
  109. package/dist/{chunk-HQKORL27.js → chunk-6LD76RMU.js} +9 -12
  110. package/dist/{chunk-L3WRHSHM.js → chunk-6NL36QN3.js} +9 -8
  111. package/dist/chunk-6NND57T2.js +79 -0
  112. package/dist/{chunk-TBJPLMUE.js → chunk-6OBT3A5O.js} +6 -9
  113. package/dist/{chunk-4INNXURW.js → chunk-767GZSNJ.js} +6 -9
  114. package/dist/{chunk-2S4727W3.js → chunk-7AUNUDHM.js} +20 -16
  115. package/dist/chunk-7IVXTSZK.js +185 -0
  116. package/dist/chunk-7LYRUSWM.js +77 -0
  117. package/dist/{chunk-UGIHLU2V.js → chunk-7OOO22KB.js} +10 -15
  118. package/dist/chunk-7PTI46BS.js +119 -0
  119. package/dist/chunk-7SOMHO2L.js +181 -0
  120. package/dist/chunk-7U7XFIP6.js +17 -0
  121. package/dist/chunk-7X3GXC7C.js +52 -0
  122. package/dist/chunk-A4QNTJUR.js +292 -0
  123. package/dist/chunk-A4TQNK7R.js +58 -0
  124. package/dist/chunk-AP5SGSN7.js +186 -0
  125. package/dist/chunk-AU2Q7CXZ.js +45 -0
  126. package/dist/{chunk-326EZJLO.js → chunk-B4373MDA.js} +39 -27
  127. package/dist/{chunk-BG26NCUY.js → chunk-B4YCI5NM.js} +10 -19
  128. package/dist/chunk-BHPATKC7.js +116 -0
  129. package/dist/chunk-BJVCZI2B.js +29 -0
  130. package/dist/{chunk-TYP2MR3Q.js → chunk-BOWKE7OE.js} +21 -3
  131. package/dist/{chunk-JPL22322.js → chunk-BVXSAVKY.js} +6 -11
  132. package/dist/{chunk-3M3QV2EN.js → chunk-BY6LWOHB.js} +11 -9
  133. package/dist/{chunk-WOYBVPXK.js → chunk-CQ75K2DH.js} +8 -10
  134. package/dist/chunk-CTVV6JS6.js +6 -0
  135. package/dist/{chunk-OSNTB6RY.js → chunk-CY3PROVO.js} +88 -26
  136. package/dist/{chunk-ZURTIIST.js → chunk-D6MFOI3N.js} +20 -20
  137. package/dist/{chunk-WVHBPPI3.js → chunk-DGSNEGJP.js} +15 -17
  138. package/dist/{chunk-NTN5DWXV.js → chunk-DSNPOAE6.js} +7 -10
  139. package/dist/chunk-E4KUPYHE.js +75 -0
  140. package/dist/chunk-E5E3W2K4.js +6 -0
  141. package/dist/chunk-EJQ73FJ5.js +383 -0
  142. package/dist/chunk-F3QIIOOL.js +71 -0
  143. package/dist/chunk-FAQZPQF7.js +119 -0
  144. package/dist/chunk-FOXDDL2Z.js +41 -0
  145. package/dist/{chunk-ZI22L4DD.js → chunk-FSU7ZM5V.js} +13 -14
  146. package/dist/{chunk-JRLU2VSB.js → chunk-FX3GYS5O.js} +51 -42
  147. package/dist/chunk-G722PEFL.js +71 -0
  148. package/dist/chunk-GC7QKZQW.js +20 -0
  149. package/dist/{chunk-QLL3Z6U6.js → chunk-GE4WUAAE.js} +8 -8
  150. package/dist/chunk-GQEB425G.js +41 -0
  151. package/dist/{chunk-XTASI4IY.js → chunk-GVOWGEGX.js} +6 -13
  152. package/dist/chunk-GXUQFXT7.js +282 -0
  153. package/dist/chunk-GZ4DTYWM.js +36 -0
  154. package/dist/{chunk-X4HXVLER.js → chunk-H3KTAHJP.js} +33 -22
  155. package/dist/{chunk-7XRKBROR.js → chunk-HF2HNDE7.js} +22 -12
  156. package/dist/{chunk-2BXGWBD4.js → chunk-HX3VXWNJ.js} +20 -13
  157. package/dist/{chunk-NEECQ3IH.js → chunk-HZTWLK7C.js} +16 -18
  158. package/dist/chunk-IW36SVOH.js +425 -0
  159. package/dist/{chunk-F2TNOCXQ.js → chunk-IYK2ABFE.js} +25 -14
  160. package/dist/{chunk-WSBLCWY7.js → chunk-IZ7A62GI.js} +7 -6
  161. package/dist/chunk-JDHD4L6N.js +31 -0
  162. package/dist/chunk-JDLCIPSC.js +18 -0
  163. package/dist/{chunk-4R7DT2NJ.js → chunk-JPA45CDE.js} +67 -42
  164. package/dist/chunk-JUAOQFC3.js +32 -0
  165. package/dist/{chunk-3TZLHB2L.js → chunk-JVQQQS2M.js} +8 -13
  166. package/dist/chunk-KA44DDCB.js +42 -0
  167. package/dist/{chunk-O2W6C3K2.js → chunk-KANK5FAG.js} +65 -62
  168. package/dist/chunk-KKBTPNXT.js +110 -0
  169. package/dist/chunk-KL43KGCK.js +106 -0
  170. package/dist/chunk-KMTLCN6S.js +134 -0
  171. package/dist/{chunk-HOWTYZL5.js → chunk-KPO4PD6C.js} +78 -12
  172. package/dist/{chunk-4QOH76MI.js → chunk-KWIIKHIB.js} +10 -13
  173. package/dist/chunk-KXZP6XI2.js +84 -0
  174. package/dist/chunk-L2IRYY6K.js +230 -0
  175. package/dist/chunk-L4Q724G2.js +217 -0
  176. package/dist/chunk-L55GVKLY.js +149 -0
  177. package/dist/{chunk-DT6XGHB3.js → chunk-L77KWJJB.js} +29 -30
  178. package/dist/chunk-LH5KBOIA.js +228 -0
  179. package/dist/chunk-LO3MDQSJ.js +130 -0
  180. package/dist/chunk-LYI5YMC6.js +125 -0
  181. package/dist/chunk-MB75U2OV.js +77 -0
  182. package/dist/{components/ui/AnimatedTabs.js → chunk-MFZYC6QC.js} +41 -24
  183. package/dist/chunk-MOFWXBTK.js +112 -0
  184. package/dist/{chunk-X5AEOQAL.js → chunk-MZGGA75L.js} +1 -40
  185. package/dist/chunk-N334RMNE.js +39 -0
  186. package/dist/chunk-NBDUZA66.js +235 -0
  187. package/dist/{chunk-Q3CKH7RH.js → chunk-NDQO7AO6.js} +19 -18
  188. package/dist/chunk-NF2Y5ERJ.js +186 -0
  189. package/dist/chunk-NZXZ3PH2.js +56 -0
  190. package/dist/chunk-OB2KVO7O.js +23 -0
  191. package/dist/chunk-OLDUGLDM.js +114 -0
  192. package/dist/{chunk-K4QZ377F.js → chunk-OMGVZWRM.js} +25 -16
  193. package/dist/{chunk-UIZTZCAU.js → chunk-OS2BLQ2G.js} +9 -14
  194. package/dist/chunk-OUXJUUCB.js +131 -0
  195. package/dist/{chunk-QQOWC53X.js → chunk-OWWQP3YW.js} +4 -2
  196. package/dist/chunk-P5I63ETD.js +691 -0
  197. package/dist/chunk-P7JS4B7U.js +101 -0
  198. package/dist/{chunk-FODQX5Q5.js → chunk-PD6WW7E5.js} +8 -10
  199. package/dist/chunk-PIFVLS5S.js +142 -0
  200. package/dist/chunk-PJ7DVYWA.js +185 -0
  201. package/dist/{chunk-OTZIMMPV.js → chunk-PQBVNNEG.js} +18 -18
  202. package/dist/chunk-PQOL3E2V.js +30 -0
  203. package/dist/chunk-PY7WBWKH.js +37 -0
  204. package/dist/{chunk-ALFCQ35A.js → chunk-PYRHNONA.js} +25 -16
  205. package/dist/{chunk-TBXW5MDR.js → chunk-Q4CRHV5T.js} +25 -17
  206. package/dist/{chunk-PC6VMNDY.js → chunk-Q7PCHHVJ.js} +0 -8
  207. package/dist/{chunk-DITD5GBG.js → chunk-QCFDSOTV.js} +25 -39
  208. package/dist/chunk-QCL76CM6.js +92 -0
  209. package/dist/chunk-QFXWI2WX.js +40 -0
  210. package/dist/{chunk-B6HXF3HP.js → chunk-R4SBK6Y5.js} +19 -22
  211. package/dist/chunk-SEJXMNMK.js +191 -0
  212. package/dist/{chunk-E6YDGQ2O.js → chunk-SIXPY62Q.js} +17 -16
  213. package/dist/chunk-STKNMEJA.js +15 -0
  214. package/dist/chunk-STNVWBJH.js +41 -0
  215. package/dist/{chunk-73T44TBV.js → chunk-TL5UCQC3.js} +12 -16
  216. package/dist/chunk-TTA5TLNJ.js +97 -0
  217. package/dist/chunk-TTDKPZ75.js +45 -0
  218. package/dist/chunk-TV6CJ5NI.js +57 -0
  219. package/dist/chunk-TXRGQO5M.js +100 -0
  220. package/dist/chunk-U3QOFPHD.js +28 -0
  221. package/dist/{chunk-JXZ4HYXA.js → chunk-U43JTK45.js} +64 -60
  222. package/dist/{chunk-T5LXQNIP.js → chunk-U5QLJHYN.js} +29 -27
  223. package/dist/chunk-UAN2YEI5.js +140 -0
  224. package/dist/chunk-UB6XJTRU.js +45 -0
  225. package/dist/{chunk-YZK222HJ.js → chunk-UCFR7GLW.js} +14 -8
  226. package/dist/{chunk-K4ZPHSWL.js → chunk-UMEBNHKR.js} +25 -15
  227. package/dist/chunk-UPMSE6PQ.js +99 -0
  228. package/dist/chunk-UQB54LIA.js +228 -0
  229. package/dist/chunk-UT6MKK2S.js +115 -0
  230. package/dist/chunk-UXYLA2IV.js +124 -0
  231. package/dist/{chunk-PDSQC6VE.js → chunk-V5RSV4ZV.js} +5 -2
  232. package/dist/chunk-VQVWFCHF.js +44 -0
  233. package/dist/chunk-W4KI424V.js +380 -0
  234. package/dist/chunk-W7ZGCFTB.js +23 -0
  235. package/dist/chunk-WAIZR4CR.js +107 -0
  236. package/dist/chunk-WRBPEZFY.js +80 -0
  237. package/dist/chunk-XI775QZZ.js +275 -0
  238. package/dist/chunk-XLIFWBE7.js +117 -0
  239. package/dist/{chunk-J7F42IR3.js → chunk-XLN4NVKU.js} +20 -28
  240. package/dist/{chunk-BI3TXPMR.js → chunk-XMGWLDNG.js} +4 -6
  241. package/dist/chunk-XX4XJJSH.js +230 -0
  242. package/dist/chunk-XYMFKNKG.js +93 -0
  243. package/dist/chunk-XZDVTOXJ.js +94 -0
  244. package/dist/{chunk-OTFIAT6T.js → chunk-YB3J4ZRZ.js} +15 -6
  245. package/dist/chunk-YCS4MMC3.js +133 -0
  246. package/dist/chunk-YEAJLVGB.js +276 -0
  247. package/dist/chunk-YGDO5KDY.js +33 -0
  248. package/dist/chunk-YMAEXGD2.js +82 -0
  249. package/dist/chunk-YXRIXTXW.js +32 -0
  250. package/dist/chunk-ZFCSKVTZ.js +102 -0
  251. package/dist/{chunk-6Y4UFG7C.js → chunk-ZKA5X3E4.js} +17 -15
  252. package/dist/chunk-ZL6BPQNN.js +138 -0
  253. package/dist/chunk-ZLWEBAL6.js +48 -0
  254. package/dist/chunk-ZSU5ZI4O.js +32 -0
  255. package/dist/chunk-ZU7MDRCI.js +256 -0
  256. package/dist/components/blocks/AccountLockedBlock.d.ts +3 -11
  257. package/dist/components/blocks/AccountLockedBlock.js +2 -2
  258. package/dist/components/blocks/ActivityFeedBlock.d.ts +3 -14
  259. package/dist/components/blocks/ActivityFeedBlock.js +2 -2
  260. package/dist/components/blocks/AgentConversationBlock.d.ts +14 -22
  261. package/dist/components/blocks/AgentConversationBlock.js +10 -109
  262. package/dist/components/blocks/AgentProfileGridBlock.d.ts +3 -19
  263. package/dist/components/blocks/AgentProfileGridBlock.js +2 -2
  264. package/dist/components/blocks/AgentRunOverviewBlock.d.ts +3 -31
  265. package/dist/components/blocks/AgentRunOverviewBlock.js +2 -2
  266. package/dist/components/blocks/AgentWorkbenchBlock.d.ts +7 -26
  267. package/dist/components/blocks/AgentWorkbenchBlock.js +14 -112
  268. package/dist/components/blocks/ApiKeysBlock.d.ts +3 -18
  269. package/dist/components/blocks/ApiKeysBlock.js +35 -35
  270. package/dist/components/blocks/AuthLayout.d.ts +3 -17
  271. package/dist/components/blocks/AuthLayout.js +4 -4
  272. package/dist/components/blocks/AuthSuccessBlock.d.ts +3 -12
  273. package/dist/components/blocks/AuthSuccessBlock.js +6 -1
  274. package/dist/components/blocks/BannerBlock.d.ts +3 -9
  275. package/dist/components/blocks/BannerBlock.js +33 -33
  276. package/dist/components/blocks/BenchmarksBlock.d.ts +3 -20
  277. package/dist/components/blocks/BenchmarksBlock.js +1 -1
  278. package/dist/components/blocks/BlogDetailBlock.d.ts +3 -0
  279. package/dist/components/{page-kits/SuccessPageKit.js → blocks/BlogDetailBlock.js} +37 -34
  280. package/dist/components/blocks/BlogIndexBlock.d.ts +3 -0
  281. package/dist/components/blocks/{EmailVerifiedBlock.js → BlogIndexBlock.js} +3 -3
  282. package/dist/components/blocks/CallToActionBlock.d.ts +3 -13
  283. package/dist/components/blocks/CallToActionBlock.js +3 -3
  284. package/dist/components/blocks/ChangelogBlock.d.ts +3 -16
  285. package/dist/components/blocks/ChangelogBlock.js +33 -32
  286. package/dist/components/blocks/ChartBlock.d.ts +3 -16
  287. package/dist/components/blocks/ChartBlock.js +33 -33
  288. package/dist/components/blocks/ChartCollectionBlock.d.ts +3 -5
  289. package/dist/components/blocks/ChartCollectionBlock.js +3 -3
  290. package/dist/components/blocks/ChatLayout.d.ts +3 -17
  291. package/dist/components/blocks/ChatLayout.js +33 -33
  292. package/dist/components/blocks/CheckEmailBlock.d.ts +3 -9
  293. package/dist/components/blocks/CheckEmailBlock.js +1 -1
  294. package/dist/components/blocks/CodeBlock.d.ts +3 -7
  295. package/dist/components/blocks/CodeBlock.js +1 -1
  296. package/dist/components/blocks/CommandPaletteBlock.d.ts +3 -9
  297. package/dist/components/blocks/CommandPaletteBlock.js +35 -35
  298. package/dist/components/blocks/ComparisonBlock.d.ts +3 -13
  299. package/dist/components/blocks/ComparisonBlock.js +2 -2
  300. package/dist/components/blocks/ContactBlock.d.ts +3 -17
  301. package/dist/components/blocks/ContactBlock.js +3 -3
  302. package/dist/components/blocks/CreateBlock.d.ts +1 -16
  303. package/dist/components/blocks/CreateBlock.js +32 -33
  304. package/dist/components/blocks/CrudListBlock.d.ts +3 -0
  305. package/dist/components/{page-kits/VerifyEmailPageKit.js → blocks/CrudListBlock.js} +40 -33
  306. package/dist/components/blocks/DashboardBlock.d.ts +3 -0
  307. package/dist/components/{page-kits/DashboardPageKit.js → blocks/DashboardBlock.js} +47 -48
  308. package/dist/components/blocks/DataGridBlock.d.ts +3 -10
  309. package/dist/components/blocks/DataGridBlock.js +35 -36
  310. package/dist/components/blocks/DirectoryBlock.d.ts +3 -17
  311. package/dist/components/blocks/DirectoryBlock.js +38 -37
  312. package/dist/components/blocks/FAQBlock.d.ts +3 -12
  313. package/dist/components/blocks/FAQBlock.js +33 -33
  314. package/dist/components/blocks/FeatureBlock.d.ts +3 -23
  315. package/dist/components/blocks/FeatureBlock.js +32 -32
  316. package/dist/components/blocks/FooterBlock.d.ts +3 -19
  317. package/dist/components/blocks/FooterBlock.js +1 -1
  318. package/dist/components/blocks/FormFieldBlock.d.ts +3 -0
  319. package/dist/components/{page-kits/MarketingShellPageKit.js → blocks/FormFieldBlock.js} +38 -41
  320. package/dist/components/blocks/GalleryBlock.d.ts +3 -13
  321. package/dist/components/blocks/GalleryBlock.js +35 -35
  322. package/dist/components/blocks/HeaderBlock.d.ts +3 -14
  323. package/dist/components/blocks/HeaderBlock.js +35 -34
  324. package/dist/components/blocks/HeatmapChartBlock.d.ts +3 -15
  325. package/dist/components/blocks/HeatmapChartBlock.js +1 -1
  326. package/dist/components/blocks/HeroBlock.d.ts +1 -23
  327. package/dist/components/blocks/HeroBlock.js +35 -35
  328. package/dist/components/blocks/IntegrationsBlock.d.ts +3 -15
  329. package/dist/components/blocks/IntegrationsBlock.js +33 -33
  330. package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +3 -21
  331. package/dist/components/blocks/InteractiveAreaChartBlock.js +32 -32
  332. package/dist/components/blocks/LoginBlock.d.ts +3 -41
  333. package/dist/components/blocks/LoginBlock.js +2 -2
  334. package/dist/components/blocks/LogoCloud.d.ts +3 -12
  335. package/dist/components/blocks/LogoCloud.js +6 -2
  336. package/dist/components/blocks/NewsletterBlock.d.ts +3 -8
  337. package/dist/components/blocks/NewsletterBlock.js +3 -3
  338. package/dist/components/blocks/NotFoundBlock.d.ts +3 -9
  339. package/dist/components/blocks/NotFoundBlock.js +36 -36
  340. package/dist/components/blocks/OTPBlock.d.ts +3 -10
  341. package/dist/components/blocks/OTPBlock.js +34 -32
  342. package/dist/components/blocks/OnboardingBlock.d.ts +1 -14
  343. package/dist/components/blocks/OnboardingBlock.js +33 -33
  344. package/dist/components/blocks/OnboardingFlowBlock.d.ts +3 -0
  345. package/dist/components/blocks/OnboardingFlowBlock.js +127 -0
  346. package/dist/components/blocks/PasswordRecoveryBlock.d.ts +1 -12
  347. package/dist/components/blocks/PasswordRecoveryBlock.js +2 -2
  348. package/dist/components/blocks/PricingBlock.d.ts +1 -19
  349. package/dist/components/blocks/PricingBlock.js +3 -3
  350. package/dist/components/blocks/ProcessFlowBlock.d.ts +3 -15
  351. package/dist/components/blocks/ProcessFlowBlock.js +2 -6
  352. package/dist/components/blocks/ROICalculatorBlock.d.ts +3 -0
  353. package/dist/components/blocks/{SavingsCalculatorBlock.js → ROICalculatorBlock.js} +3 -3
  354. package/dist/components/blocks/ResetPasswordBlock.d.ts +3 -9
  355. package/dist/components/blocks/ResetPasswordBlock.js +1 -1
  356. package/dist/components/blocks/SettingsNavBlock.d.ts +3 -0
  357. package/dist/components/blocks/{SettingsLayout.js → SettingsNavBlock.js} +39 -37
  358. package/dist/components/blocks/SolutionShowcaseBlock.d.ts +3 -17
  359. package/dist/components/blocks/SolutionShowcaseBlock.js +2 -2
  360. package/dist/components/blocks/StatsBlock.d.ts +3 -21
  361. package/dist/components/blocks/StatsBlock.js +1 -110
  362. package/dist/components/blocks/StatsMarketingBlock.d.ts +3 -14
  363. package/dist/components/blocks/StatsMarketingBlock.js +3 -3
  364. package/dist/components/blocks/TeamBlock.d.ts +3 -16
  365. package/dist/components/blocks/TeamBlock.js +1 -1
  366. package/dist/components/blocks/TestimonialsBlock.d.ts +6 -9
  367. package/dist/components/blocks/TestimonialsBlock.js +15 -2
  368. package/dist/components/blocks/TimezonePickerBlock.d.ts +3 -11
  369. package/dist/components/blocks/TimezonePickerBlock.js +35 -35
  370. package/dist/components/blocks/TwoFactorSetupBlock.d.ts +1 -12
  371. package/dist/components/blocks/TwoFactorSetupBlock.js +36 -36
  372. package/dist/components/blocks/UsageDonutBlock.d.ts +3 -16
  373. package/dist/components/blocks/UsageDonutBlock.js +1 -1
  374. package/dist/components/blocks/WizardBlock.d.ts +1 -15
  375. package/dist/components/blocks/WizardBlock.js +32 -32
  376. package/dist/components/blocks/user/InviteUserModal.d.ts +3 -20
  377. package/dist/components/blocks/user/InviteUserModal.js +34 -34
  378. package/dist/components/pages/settings/ProfilePage.d.ts +1 -0
  379. package/dist/components/pages/settings/TeamPage.d.ts +1 -0
  380. package/dist/components/ui/Accordion.js +31 -31
  381. package/dist/components/ui/AgentAvatar.js +2 -72
  382. package/dist/components/ui/AgentStatus.d.ts +1 -1
  383. package/dist/components/ui/AgentStatus.js +2 -71
  384. package/dist/components/ui/AgentTimeline.js +3 -97
  385. package/dist/components/ui/AlertDialog.js +3 -133
  386. package/dist/components/ui/AnnouncementBanner.js +4 -46
  387. package/dist/components/ui/ApprovalCard.js +5 -115
  388. package/dist/components/ui/AspectRatio.js +1 -5
  389. package/dist/components/ui/AvatarUpload.js +6 -119
  390. package/dist/components/ui/BentoGrid.js +4 -28
  391. package/dist/components/ui/Breadcrumb.js +31 -31
  392. package/dist/components/ui/ButtonGroup.js +2 -18
  393. package/dist/components/ui/Calendar.js +31 -31
  394. package/dist/components/ui/Carousel.js +35 -247
  395. package/dist/components/ui/ChartCard.js +2 -2
  396. package/dist/components/ui/ChatActions.js +2 -2
  397. package/dist/components/ui/ChatGreeting.js +3 -77
  398. package/dist/components/ui/ChatMessage.d.ts +28 -11
  399. package/dist/components/ui/ChatMessage.js +3 -95
  400. package/dist/components/ui/ChatPromptInput.js +4 -191
  401. package/dist/components/ui/ChatResponse.js +2 -24
  402. package/dist/components/ui/ChatThinkingMessage.d.ts +25 -6
  403. package/dist/components/ui/ChatThinkingMessage.js +7 -53
  404. package/dist/components/ui/ChatToolCall.d.ts +4 -2
  405. package/dist/components/ui/ChatToolCall.js +13 -190
  406. package/dist/components/ui/CheckStatus.js +2 -57
  407. package/dist/components/ui/Checkbox.js +31 -31
  408. package/dist/components/ui/CheckoutForm.d.ts +3 -7
  409. package/dist/components/ui/CheckoutForm.js +34 -33
  410. package/dist/components/ui/CheckoutFormDemo.js +32 -32
  411. package/dist/components/ui/Combobox.d.ts +2 -1
  412. package/dist/components/ui/Combobox.js +38 -109
  413. package/dist/components/ui/Command.js +34 -34
  414. package/dist/components/ui/ConfettiBurst.js +3 -71
  415. package/dist/components/ui/ContextMenu.js +34 -215
  416. package/dist/components/ui/Conversation.js +35 -115
  417. package/dist/components/ui/DataTable.d.ts +2 -1
  418. package/dist/components/ui/DataTable.js +33 -33
  419. package/dist/components/ui/DatePicker.js +31 -31
  420. package/dist/components/ui/DateRangePicker.js +31 -31
  421. package/dist/components/ui/Dialog.js +33 -33
  422. package/dist/components/ui/DiffStat.js +2 -32
  423. package/dist/components/ui/Drawer.js +3 -116
  424. package/dist/components/ui/DropdownMenu.js +32 -32
  425. package/dist/components/ui/FileUpload.js +34 -171
  426. package/dist/components/ui/FloatingDock.js +3 -100
  427. package/dist/components/ui/FormWizard.d.ts +5 -14
  428. package/dist/components/ui/FormWizard.js +1 -1
  429. package/dist/components/ui/HandoffIndicator.js +4 -42
  430. package/dist/components/ui/HoverCard.js +2 -23
  431. package/dist/components/ui/InputGroup.js +2 -36
  432. package/dist/components/ui/InputOTP.js +31 -31
  433. package/dist/components/ui/Item.d.ts +1 -1
  434. package/dist/components/ui/Item.js +2 -176
  435. package/dist/components/ui/KanbanBoard.d.ts +3 -2
  436. package/dist/components/ui/KanbanBoard.js +2 -2
  437. package/dist/components/ui/Kbd.js +2 -17
  438. package/dist/components/ui/LanguageSwitcher.js +31 -31
  439. package/dist/components/ui/MagneticElement.js +3 -41
  440. package/dist/components/ui/MemoryInspector.js +3 -94
  441. package/dist/components/ui/Menubar.js +34 -257
  442. package/dist/components/ui/MouseGlow.d.ts +10 -0
  443. package/dist/components/ui/MouseGlow.js +3 -0
  444. package/dist/components/ui/{MouseEffect.d.ts → MouseSpotlight.d.ts} +0 -9
  445. package/dist/components/ui/{MouseEffect.js → MouseSpotlight.js} +1 -1
  446. package/dist/components/ui/MovingBorder.js +2 -40
  447. package/dist/components/ui/NavUser.d.ts +4 -0
  448. package/dist/components/{blocks → ui}/NavUser.js +37 -36
  449. package/dist/components/ui/NavigationMenu.js +34 -161
  450. package/dist/components/ui/NotificationCenter.js +34 -136
  451. package/dist/components/ui/Pagination.js +31 -31
  452. package/dist/components/ui/ProgressRing.js +4 -128
  453. package/dist/components/ui/PromoCard.js +4 -41
  454. package/dist/components/ui/RadioGroup.js +33 -69
  455. package/dist/components/ui/Resizable.js +34 -68
  456. package/dist/components/ui/Select.js +31 -31
  457. package/dist/components/ui/SettingsModal.js +41 -137
  458. package/dist/components/ui/ShaderBackground.js +4 -71
  459. package/dist/components/ui/Sheet.d.ts +2 -1
  460. package/dist/components/ui/Sheet.js +36 -32
  461. package/dist/components/ui/Sidebar.js +35 -34
  462. package/dist/components/ui/SourceCitation.js +3 -119
  463. package/dist/components/ui/SpringHover.js +3 -32
  464. package/dist/components/ui/StaggeredEntrance.js +2 -23
  465. package/dist/components/ui/StatusDot.d.ts +1 -1
  466. package/dist/components/ui/StyleToggle.js +1 -1
  467. package/dist/components/ui/SuccessCheck.js +3 -52
  468. package/dist/components/ui/Tabs.d.ts +5 -3
  469. package/dist/components/ui/Tabs.js +5 -1
  470. package/dist/components/ui/TagInput.js +35 -132
  471. package/dist/components/ui/ThemeToggle.d.ts +2 -1
  472. package/dist/components/ui/ThemeToggle.js +36 -66
  473. package/dist/components/ui/TiltCard.js +3 -48
  474. package/dist/components/ui/ToggleGroup.js +3 -56
  475. package/dist/components/ui/TreeView.js +35 -216
  476. package/dist/components/ui/Typography.d.ts +1 -1
  477. package/dist/components/ui/Typography.js +1 -1
  478. package/dist/components/ui/VoiceAgentCard.d.ts +9 -0
  479. package/dist/components/{blocks → ui}/VoiceAgentCard.js +2 -2
  480. package/dist/components/ui/WorkspaceSwitcherBlock.d.ts +3 -0
  481. package/dist/components/{blocks → ui}/WorkspaceSwitcherBlock.js +36 -35
  482. package/dist/components/ui/charts/index.js +1 -1
  483. package/dist/components/ui/icons/index.js +31 -31
  484. package/dist/components/ui/text-effects/index.js +2 -2
  485. package/dist/index.js +0 -137
  486. package/dist/internal/local-image-assets.d.ts +1 -0
  487. package/dist/lib/json-render/app.d.ts +11 -0
  488. package/dist/lib/json-render/app.js +7 -0
  489. package/dist/lib/json-render/catalog.d.ts +1182 -0
  490. package/dist/lib/json-render/catalog.js +23 -0
  491. package/dist/lib/json-render/registry.d.ts +1 -0
  492. package/dist/lib/json-render/registry.js +58 -0
  493. package/dist/lib/json-render/showcase-spec.d.ts +3 -0
  494. package/dist/lib/json-render/showcase-spec.js +2 -0
  495. package/dist/lib/react-utils.d.ts +1 -1
  496. package/dist/lib/standalone-routes.d.ts +56 -0
  497. package/dist/lib/standalone-routes.js +1 -0
  498. package/dist/lib/tool-call-state-map.d.ts +2 -0
  499. package/dist/lib/tool-call-state-map.js +1 -0
  500. package/dist/lib-index.d.ts +6 -24
  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 -682
  514. package/dist/catalog/types.d.ts +0 -4
  515. package/dist/catalog/types.js +0 -1
  516. package/dist/chunk-23M6A7EW.js +0 -30
  517. package/dist/chunk-3A6CFUG4.js +0 -175
  518. package/dist/chunk-3UG7AY5B.js +0 -75
  519. package/dist/chunk-46MPJVJ6.js +0 -115
  520. package/dist/chunk-4IGBBIYW.js +0 -47
  521. package/dist/chunk-4JJARNWW.js +0 -138
  522. package/dist/chunk-4WPZ6T7V.js +0 -186
  523. package/dist/chunk-567EG267.js +0 -130
  524. package/dist/chunk-5DWVAAP2.js +0 -60
  525. package/dist/chunk-5USY2AY2.js +0 -72
  526. package/dist/chunk-5Y4BOIYO.js +0 -121
  527. package/dist/chunk-6CDHFSOH.js +0 -60
  528. package/dist/chunk-7IXYIUQ5.js +0 -114
  529. package/dist/chunk-7LIF2WZX.js +0 -125
  530. package/dist/chunk-AN5TW4AL.js +0 -50
  531. package/dist/chunk-BQLHU3KL.js +0 -96
  532. package/dist/chunk-CCUXLYZX.js +0 -33
  533. package/dist/chunk-CI2O2OSW.js +0 -168
  534. package/dist/chunk-E7RCIX5C.js +0 -150
  535. package/dist/chunk-EHIKO3CD.js +0 -169
  536. package/dist/chunk-EYWOKTOY.js +0 -58
  537. package/dist/chunk-FJP5SRCH.js +0 -40
  538. package/dist/chunk-G4FB7QSY.js +0 -134
  539. package/dist/chunk-GI6UL27V.js +0 -126
  540. package/dist/chunk-GICOWV5M.js +0 -30
  541. package/dist/chunk-I66XWYSS.js +0 -117
  542. package/dist/chunk-KA47SVMB.js +0 -149
  543. package/dist/chunk-KCOMDSQ4.js +0 -86
  544. package/dist/chunk-KKXYZASY.js +0 -94
  545. package/dist/chunk-LIJYUSSE.js +0 -152
  546. package/dist/chunk-LNVZNQCZ.js +0 -124
  547. package/dist/chunk-LPW5LWX7.js +0 -32
  548. package/dist/chunk-MX7GIO2A.js +0 -83
  549. package/dist/chunk-NBQKHIAP.js +0 -120
  550. package/dist/chunk-O3LHOHLI.js +0 -56
  551. package/dist/chunk-PYLBCISI.js +0 -165
  552. package/dist/chunk-PYTNUV2K.js +0 -30
  553. package/dist/chunk-QOHUG6UP.js +0 -145
  554. package/dist/chunk-R4CRWXEQ.js +0 -86
  555. package/dist/chunk-RNZM3QJX.js +0 -101
  556. package/dist/chunk-SBLQB3A2.js +0 -70
  557. package/dist/chunk-THN674BW.js +0 -269
  558. package/dist/chunk-TOLHBTIL.js +0 -30
  559. package/dist/chunk-UMYGE2DM.js +0 -47
  560. package/dist/chunk-UO5DYAP7.js +0 -35
  561. package/dist/chunk-UWLSJLKT.js +0 -147
  562. package/dist/chunk-V2ORH4K3.js +0 -167
  563. package/dist/chunk-V3FMLBOA.js +0 -105
  564. package/dist/chunk-VDP7SAKP.js +0 -164
  565. package/dist/chunk-XTZMFOHK.js +0 -52
  566. package/dist/chunk-YOGZZMQS.js +0 -60
  567. package/dist/chunk-YRQBSMGZ.js +0 -42
  568. package/dist/chunk-YVS2TJ7I.js +0 -32
  569. package/dist/chunk-YW2KJAC6.js +0 -159
  570. package/dist/chunk-Z6PIE2PZ.js +0 -36
  571. package/dist/chunk-ZBQLUB3B.js +0 -110
  572. package/dist/chunk-ZXGBPUSM.js +0 -28
  573. package/dist/components/blocks/AudioVisualizerBlock.d.ts +0 -6
  574. package/dist/components/blocks/AudioVisualizerBlock.js +0 -3
  575. package/dist/components/blocks/BarChartBlock.d.ts +0 -15
  576. package/dist/components/blocks/BarChartBlock.js +0 -10
  577. package/dist/components/blocks/EmailVerifiedBlock.d.ts +0 -10
  578. package/dist/components/blocks/FeatureGridBlock.d.ts +0 -14
  579. package/dist/components/blocks/FeatureGridBlock.js +0 -12
  580. package/dist/components/blocks/ForgotPasswordBlock.d.ts +0 -14
  581. package/dist/components/blocks/ForgotPasswordBlock.js +0 -15
  582. package/dist/components/blocks/HeroSectionBlock.d.ts +0 -19
  583. package/dist/components/blocks/HeroSectionBlock.js +0 -139
  584. package/dist/components/blocks/KanbanDemoBlock.d.ts +0 -4
  585. package/dist/components/blocks/KanbanDemoBlock.js +0 -17
  586. package/dist/components/blocks/MagicLinkBlock.d.ts +0 -12
  587. package/dist/components/blocks/MagicLinkBlock.js +0 -18
  588. package/dist/components/blocks/NavUser.d.ts +0 -18
  589. package/dist/components/blocks/PasswordChangedBlock.d.ts +0 -10
  590. package/dist/components/blocks/PasswordChangedBlock.js +0 -10
  591. package/dist/components/blocks/PricingTableBlock.d.ts +0 -19
  592. package/dist/components/blocks/PricingTableBlock.js +0 -13
  593. package/dist/components/blocks/SavingsCalculatorBlock.d.ts +0 -30
  594. package/dist/components/blocks/SettingsLayout.d.ts +0 -16
  595. package/dist/components/blocks/SignUpBlock.d.ts +0 -11
  596. package/dist/components/blocks/SignUpBlock.js +0 -14
  597. package/dist/components/blocks/SocialProofBlock.d.ts +0 -19
  598. package/dist/components/blocks/TwoFactorChallengeBlock.d.ts +0 -12
  599. package/dist/components/blocks/VoiceAgentCard.d.ts +0 -19
  600. package/dist/components/blocks/WorkspaceSwitcherBlock.d.ts +0 -11
  601. package/dist/components/page-kits/AccountLockedPageKit.d.ts +0 -10
  602. package/dist/components/page-kits/AccountLockedPageKit.js +0 -11
  603. package/dist/components/page-kits/AgentsChatPageKit.d.ts +0 -46
  604. package/dist/components/page-kits/AgentsChatPageKit.js +0 -142
  605. package/dist/components/page-kits/AnalyticsPageKit.d.ts +0 -49
  606. package/dist/components/page-kits/AnalyticsPageKit.js +0 -139
  607. package/dist/components/page-kits/BlogContentPageKit.d.ts +0 -64
  608. package/dist/components/page-kits/BlogContentPageKit.js +0 -141
  609. package/dist/components/page-kits/CheckoutPageKit.d.ts +0 -36
  610. package/dist/components/page-kits/CheckoutPageKit.js +0 -135
  611. package/dist/components/page-kits/CompanySuitePageKit.d.ts +0 -25
  612. package/dist/components/page-kits/CompanySuitePageKit.js +0 -153
  613. package/dist/components/page-kits/CrudFormPageKit.d.ts +0 -54
  614. package/dist/components/page-kits/CrudFormPageKit.js +0 -138
  615. package/dist/components/page-kits/CrudListDetailPageKit.d.ts +0 -70
  616. package/dist/components/page-kits/CrudListDetailPageKit.js +0 -138
  617. package/dist/components/page-kits/DashboardPageKit.d.ts +0 -39
  618. package/dist/components/page-kits/ErrorPageKit.d.ts +0 -22
  619. package/dist/components/page-kits/ErrorPageKit.js +0 -8
  620. package/dist/components/page-kits/KanbanBoardPageKit.d.ts +0 -31
  621. package/dist/components/page-kits/KanbanBoardPageKit.js +0 -143
  622. package/dist/components/page-kits/LandingPageKit.d.ts +0 -29
  623. package/dist/components/page-kits/LoginPageKit.d.ts +0 -16
  624. package/dist/components/page-kits/LoginPageKit.js +0 -14
  625. package/dist/components/page-kits/MarketingShellPageKit.d.ts +0 -21
  626. package/dist/components/page-kits/NavigationShellPageKit.d.ts +0 -41
  627. package/dist/components/page-kits/OnboardingPageKit.d.ts +0 -26
  628. package/dist/components/page-kits/PricingPageKit.d.ts +0 -41
  629. package/dist/components/page-kits/PricingPageKit.js +0 -153
  630. package/dist/components/page-kits/ProfileSettingsPageKit.d.ts +0 -50
  631. package/dist/components/page-kits/ProfileSettingsPageKit.js +0 -17
  632. package/dist/components/page-kits/RecoveryPageKit.d.ts +0 -17
  633. package/dist/components/page-kits/RecoveryPageKit.js +0 -19
  634. package/dist/components/page-kits/ResetPageKit.d.ts +0 -14
  635. package/dist/components/page-kits/ResetPageKit.js +0 -19
  636. package/dist/components/page-kits/ServiceSuitePageKit.d.ts +0 -25
  637. package/dist/components/page-kits/ServiceSuitePageKit.js +0 -156
  638. package/dist/components/page-kits/SettingsPageKit.d.ts +0 -27
  639. package/dist/components/page-kits/SettingsPageKit.js +0 -11
  640. package/dist/components/page-kits/SignupPageKit.d.ts +0 -15
  641. package/dist/components/page-kits/SignupPageKit.js +0 -14
  642. package/dist/components/page-kits/SuccessPageKit.d.ts +0 -15
  643. package/dist/components/page-kits/TeamSettingsPageKit.d.ts +0 -50
  644. package/dist/components/page-kits/TwoFactorPageKit.d.ts +0 -16
  645. package/dist/components/page-kits/VerifyEmailPageKit.d.ts +0 -15
  646. package/dist/components/page-kits/VoiceAgentsPageKit.d.ts +0 -35
  647. package/dist/components/page-kits/VoiceAgentsPageKit.js +0 -133
  648. package/dist/components/ui/AgentMessageBubble.d.ts +0 -37
  649. package/dist/components/ui/AgentMessageBubble.js +0 -115
  650. package/dist/components/ui/AnimatedDialog.d.ts +0 -30
  651. package/dist/components/ui/AnimatedSheet.d.ts +0 -26
  652. package/dist/components/ui/AnimatedSheet.js +0 -264
  653. package/dist/components/ui/AnimatedTabs.d.ts +0 -16
  654. package/dist/components/ui/AuroraEffect.d.ts +0 -9
  655. package/dist/components/ui/AuroraEffect.js +0 -77
  656. package/dist/components/ui/ChatPromptInputAttachments.d.ts +0 -9
  657. package/dist/components/ui/ChatPromptInputAttachments.js +0 -145
  658. package/dist/components/ui/ConversationThread.d.ts +0 -27
  659. package/dist/components/ui/ConversationThread.js +0 -99
  660. package/dist/components/ui/PageTransition.d.ts +0 -9
  661. package/dist/components/ui/PageTransition.js +0 -56
  662. package/dist/components/ui/SearchCommand.d.ts +0 -33
  663. package/dist/components/ui/SearchCommand.js +0 -115
  664. package/dist/components/ui/ThinkingIndicator.d.ts +0 -14
  665. package/dist/components/ui/ThinkingIndicator.js +0 -9
  666. package/dist/components/ui/Toast.d.ts +0 -28
  667. package/dist/components/ui/Toast.js +0 -115
  668. package/dist/components/ui/Toaster.d.ts +0 -1
  669. package/dist/components/ui/Toaster.js +0 -136
  670. package/dist/components/ui/ToolCallCard.d.ts +0 -16
  671. package/dist/components/ui/ToolCallCard.js +0 -13
  672. package/dist/components/ui/VisuallyHidden.d.ts +0 -2
  673. package/dist/components/ui/VisuallyHidden.js +0 -8
  674. package/dist/hooks/use-toast.d.ts +0 -44
  675. package/dist/hooks/use-toast.js +0 -2
  676. package/dist/{chunk-CQEUNASC.js → chunk-ETS5O4ZQ.js} +1 -1
  677. package/dist/{chunk-C6MJQDPC.js → chunk-KHLMOBAU.js} +1 -1
  678. package/dist/{chunk-M4XKO45H.js → chunk-MPVYXUOD.js} +8 -8
  679. package/dist/{chunk-HZPCTOQJ.js → chunk-TKT6WW4E.js} +1 -1
  680. package/dist/{chunk-EEL4RAPC.js → chunk-V4NBPGED.js} +8 -8
@@ -1,186 +0,0 @@
1
- import { useSafeTimeout } from './chunk-MDAYDDTC.js';
2
- import { WrenchIcon } from './chunk-AWIJHDNK.js';
3
- import { LoaderCircleIcon } from './chunk-BRP6D56U.js';
4
- import { ClockIcon } from './chunk-6G3RRWJT.js';
5
- import { CheckIcon } from './chunk-CXACRCZ4.js';
6
- import { ShieldCheckIcon } from './chunk-BFLN54VR.js';
7
- import { XIcon } from './chunk-UIUMTURU.js';
8
- import { CopyIcon } from './chunk-TV4RSQH4.js';
9
- import { ChevronDownIcon } from './chunk-HJBXUXTD.js';
10
- import { cn } from './chunk-QYZT24TS.js';
11
- import * as React from 'react';
12
- import { cva } from 'class-variance-authority';
13
- import { jsxs, jsx } from 'react/jsx-runtime';
14
-
15
- var ARGS_COLLAPSE_THRESHOLD = 300;
16
- var toolCallCardVariants = cva(
17
- "rounded-lg border p-4 glass-panel transition-colors",
18
- {
19
- variants: {
20
- status: {
21
- "pending": "border-border",
22
- "running": "border-accent/40",
23
- "complete": "border-success/40",
24
- "error": "border-destructive/40",
25
- "approval-requested": "border-warning/40",
26
- "approval-responded": "border-accent/40",
27
- "output-denied": "border-destructive/40"
28
- }
29
- },
30
- defaultVariants: {
31
- status: "pending"
32
- }
33
- }
34
- );
35
- var StatusIcon = ({ status }) => {
36
- switch (status) {
37
- case "complete":
38
- return /* @__PURE__ */ jsx(CheckIcon, { size: 16, className: "text-success" });
39
- case "error":
40
- case "output-denied":
41
- return /* @__PURE__ */ jsx(XIcon, { size: 16, className: "text-destructive" });
42
- case "running":
43
- return /* @__PURE__ */ jsx(LoaderCircleIcon, { size: 16, className: "text-accent animate-spin" });
44
- case "approval-requested":
45
- return /* @__PURE__ */ jsx(ClockIcon, { size: 16, className: "text-warning" });
46
- case "approval-responded":
47
- return /* @__PURE__ */ jsx(ShieldCheckIcon, { size: 16, className: "text-accent" });
48
- default:
49
- return /* @__PURE__ */ jsx(WrenchIcon, { size: 16, className: "text-text-tertiary" });
50
- }
51
- };
52
- function CopyButton({ text, label }) {
53
- const [copied, setCopied] = React.useState(false);
54
- const setSafeTimeout = useSafeTimeout();
55
- const handleCopy = () => {
56
- navigator.clipboard.writeText(text);
57
- setCopied(true);
58
- setSafeTimeout(() => setCopied(false), 2e3);
59
- };
60
- return /* @__PURE__ */ jsx(
61
- "button",
62
- {
63
- type: "button",
64
- onClick: handleCopy,
65
- "aria-label": label,
66
- className: "inline-flex items-center justify-center rounded-sm p-1 text-text-tertiary hover:text-text-secondary transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent",
67
- children: copied ? /* @__PURE__ */ jsx(CheckIcon, { size: 14 }) : /* @__PURE__ */ jsx(CopyIcon, { size: 14 })
68
- }
69
- );
70
- }
71
- function ToolCallCard({
72
- className,
73
- status,
74
- toolName,
75
- args,
76
- result,
77
- duration,
78
- defaultExpanded = false,
79
- ref,
80
- ...props
81
- }) {
82
- const argsJson = React.useMemo(
83
- () => args && Object.keys(args).length > 0 ? JSON.stringify(args, null, 2) : null,
84
- [args]
85
- );
86
- const argsIsLarge = argsJson != null && argsJson.length > ARGS_COLLAPSE_THRESHOLD;
87
- const [resultExpanded, setResultExpanded] = React.useState(defaultExpanded);
88
- const [argsExpanded, setArgsExpanded] = React.useState(!argsIsLarge);
89
- const resultPanelId = React.useId();
90
- const argsPanelId = React.useId();
91
- return /* @__PURE__ */ jsxs(
92
- "div",
93
- {
94
- ref,
95
- className: cn(toolCallCardVariants({ status }), className),
96
- ...props,
97
- children: [
98
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
99
- /* @__PURE__ */ jsx(StatusIcon, { status }),
100
- /* @__PURE__ */ jsx("code", { className: "text-sm font-semibold text-text-primary", children: toolName }),
101
- duration != null && /* @__PURE__ */ jsxs("span", { className: "ml-auto text-xs text-text-tertiary", children: [
102
- duration,
103
- "ms"
104
- ] })
105
- ] }),
106
- argsJson != null && /* @__PURE__ */ jsxs("div", { className: "mt-2", children: [
107
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
108
- !!argsIsLarge && /* @__PURE__ */ jsxs(
109
- "button",
110
- {
111
- type: "button",
112
- onClick: () => setArgsExpanded(!argsExpanded),
113
- "aria-expanded": argsExpanded,
114
- "aria-controls": argsPanelId,
115
- className: "flex items-center gap-1.5 text-xs text-text-tertiary hover:text-text-secondary transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent rounded-sm",
116
- children: [
117
- /* @__PURE__ */ jsx(
118
- ChevronDownIcon,
119
- {
120
- size: 14,
121
- className: cn("transition-transform", argsExpanded && "rotate-180")
122
- }
123
- ),
124
- "Arguments"
125
- ]
126
- }
127
- ),
128
- /* @__PURE__ */ jsx(CopyButton, { text: argsJson, label: "Copy arguments" })
129
- ] }),
130
- /* @__PURE__ */ jsx(
131
- "pre",
132
- {
133
- id: argsPanelId,
134
- className: cn(
135
- "mt-1.5 rounded bg-surface p-2 text-xs text-text-secondary overflow-x-auto",
136
- argsIsLarge && !argsExpanded && "hidden"
137
- ),
138
- ...argsIsLarge && !argsExpanded ? { inert: true, "aria-hidden": true } : {},
139
- children: argsJson
140
- }
141
- )
142
- ] }),
143
- !!result && /* @__PURE__ */ jsxs("div", { className: "mt-2", children: [
144
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
145
- /* @__PURE__ */ jsxs(
146
- "button",
147
- {
148
- type: "button",
149
- onClick: () => setResultExpanded(!resultExpanded),
150
- "aria-expanded": resultExpanded,
151
- "aria-controls": resultPanelId,
152
- className: "flex items-center gap-1.5 text-xs text-text-tertiary hover:text-text-secondary transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent rounded-sm",
153
- children: [
154
- /* @__PURE__ */ jsx(
155
- ChevronDownIcon,
156
- {
157
- size: 14,
158
- className: cn("transition-transform", resultExpanded && "rotate-180")
159
- }
160
- ),
161
- resultExpanded ? "Hide result" : "Show result"
162
- ]
163
- }
164
- ),
165
- !!resultExpanded && /* @__PURE__ */ jsx(CopyButton, { text: result, label: "Copy result" })
166
- ] }),
167
- /* @__PURE__ */ jsx(
168
- "pre",
169
- {
170
- id: resultPanelId,
171
- className: cn(
172
- "mt-1.5 rounded bg-surface p-2 text-xs text-text-secondary overflow-x-auto whitespace-pre-wrap",
173
- !resultExpanded && "hidden"
174
- ),
175
- "aria-hidden": !resultExpanded,
176
- ...!resultExpanded ? { inert: true } : {},
177
- children: result
178
- }
179
- )
180
- ] })
181
- ]
182
- }
183
- );
184
- }
185
-
186
- export { ToolCallCard, toolCallCardVariants };
@@ -1,130 +0,0 @@
1
- import { VoiceAgentCard } from './chunk-73T44TBV.js';
2
- import { AgentConversationBlock } from './chunk-4IGBBIYW.js';
3
- import { Typography } from './chunk-PC6VMNDY.js';
4
- import { ScrollArea } from './chunk-GLU236NN.js';
5
- import { Heading } from './chunk-UXX6HHPS.js';
6
- import { Input } from './chunk-AP3XXYAY.js';
7
- import { Card, CardContent, CardHeader, CardTitle } from './chunk-7UY24UWL.js';
8
- import { AudioWaveform } from './chunk-5UESKK6S.js';
9
- import { Button } from './chunk-7KIDDF3I.js';
10
- import { AgentMessageBubble } from './chunk-I66XWYSS.js';
11
- import { Badge } from './chunk-S4JAHKOP.js';
12
- import { cn } from './chunk-QYZT24TS.js';
13
- import { useMemo } from 'react';
14
- import { jsxs, jsx } from 'react/jsx-runtime';
15
-
16
- var EMPTY_MESSAGES = [];
17
- function presenceLabel(state) {
18
- switch (state) {
19
- case "listening":
20
- return "Listening";
21
- case "speaking":
22
- return "Speaking";
23
- case "idle":
24
- return "Idle";
25
- }
26
- }
27
- function VoiceAgentsPageKit({
28
- state = "agent-selection",
29
- agents,
30
- selectedAgentId,
31
- presenceState = "idle",
32
- messages = EMPTY_MESSAGES,
33
- streamingReply,
34
- composerValue = "",
35
- composerPlaceholder = "Send a voice prompt...",
36
- onComposerChange,
37
- onSendMessage,
38
- onSelectAgent,
39
- onBackToSelection,
40
- noAgentsMessage = "No voice agents are available right now.",
41
- disconnectedMessage = "The selected agent is unavailable. Choose another agent.",
42
- className
43
- }) {
44
- const selectedAgent = useMemo(
45
- () => selectedAgentId ? agents.find((agent) => agent.id === selectedAgentId) : null,
46
- [agents, selectedAgentId]
47
- );
48
- function handleSendMessage() {
49
- const payload = composerValue.trim();
50
- if (!payload) {
51
- return;
52
- }
53
- onSendMessage?.(payload);
54
- }
55
- if (state === "agent-selection") {
56
- return /* @__PURE__ */ jsxs("section", { className: cn("space-y-6", className), children: [
57
- /* @__PURE__ */ jsxs("header", { className: "space-y-2", children: [
58
- /* @__PURE__ */ jsx(Heading, { level: 3, children: "Voice agents" }),
59
- /* @__PURE__ */ jsx(Typography, { variant: "muted", children: "Choose an agent to start a voice session." })
60
- ] }),
61
- agents.length === 0 ? /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsx(CardContent, { className: "py-6", children: /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-text-secondary", children: noAgentsMessage }) }) }) : /* @__PURE__ */ jsx("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3", children: agents.map((agent) => /* @__PURE__ */ jsx(
62
- VoiceAgentCard,
63
- {
64
- agent,
65
- state: "idle",
66
- selected: false,
67
- onSelect: () => onSelectAgent?.(agent.id),
68
- ariaLabel: `Select ${agent.name}`
69
- },
70
- agent.id
71
- )) })
72
- ] });
73
- }
74
- return /* @__PURE__ */ jsxs("section", { className: cn("space-y-6", className), children: [
75
- /* @__PURE__ */ jsxs("header", { className: "space-y-2", children: [
76
- /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [
77
- /* @__PURE__ */ jsx(Heading, { level: 3, children: "Voice agents" }),
78
- /* @__PURE__ */ jsx(Button, { type: "button", variant: "outline", onClick: onBackToSelection, children: "Back to agent selection" })
79
- ] }),
80
- /* @__PURE__ */ jsx(Typography, { variant: "muted", children: selectedAgent ? `Active voice session with ${selectedAgent.name}.` : disconnectedMessage })
81
- ] }),
82
- selectedAgent ? /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-3", children: [
83
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-medium text-text-primary", children: selectedAgent.name }),
84
- /* @__PURE__ */ jsx(Badge, { variant: "outline", children: presenceLabel(presenceState) }),
85
- /* @__PURE__ */ jsx(AudioWaveform, { active: presenceState === "speaking", bars: 20, size: "sm", variant: "accent" })
86
- ] }) : /* @__PURE__ */ jsx("div", { role: "alert", className: "rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive", children: disconnectedMessage }),
87
- /* @__PURE__ */ jsxs(Card, { children: [
88
- /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Conversation" }) }),
89
- /* @__PURE__ */ jsxs(CardContent, { className: "space-y-3", children: [
90
- /* @__PURE__ */ jsxs(ScrollArea, { className: "max-h-96", children: [
91
- /* @__PURE__ */ jsx(
92
- AgentConversationBlock,
93
- {
94
- messages: messages.length > 0 ? messages : [{
95
- id: "voice-empty",
96
- role: "system",
97
- content: "No messages yet. Start speaking to begin the session."
98
- }]
99
- }
100
- ),
101
- !!streamingReply && /* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-1", children: [
102
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-medium text-text-primary", children: "Streaming response" }),
103
- /* @__PURE__ */ jsx(
104
- AgentMessageBubble,
105
- {
106
- role: "assistant",
107
- content: streamingReply,
108
- isStreaming: true
109
- }
110
- )
111
- ] })
112
- ] }),
113
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 sm:flex-row", children: [
114
- /* @__PURE__ */ jsx(
115
- Input,
116
- {
117
- "aria-label": "Voice composer",
118
- value: composerValue,
119
- placeholder: composerPlaceholder,
120
- onChange: (event) => onComposerChange?.(event.target.value)
121
- }
122
- ),
123
- /* @__PURE__ */ jsx(Button, { type: "button", onClick: handleSendMessage, children: "Send voice message" })
124
- ] })
125
- ] })
126
- ] })
127
- ] });
128
- }
129
-
130
- export { VoiceAgentsPageKit };
@@ -1,60 +0,0 @@
1
- import { Card, CardHeader, CardTitle, CardDescription, CardContent } from './chunk-7UY24UWL.js';
2
- import { Button } from './chunk-7KIDDF3I.js';
3
- import { useMotionConfig, m, scaleIn, motionSpring } from './chunk-PD2YEH3H.js';
4
- import { CheckIcon } from './chunk-CXACRCZ4.js';
5
- import { cn } from './chunk-QYZT24TS.js';
6
- import * as React from 'react';
7
- import { jsx, jsxs } from 'react/jsx-runtime';
8
-
9
- function EmailVerifiedBlock({
10
- className,
11
- title = "Email verified!",
12
- description = "Your email address has been successfully verified.",
13
- buttonText = "Continue",
14
- onContinue,
15
- autoRedirectSeconds
16
- }) {
17
- const motionConfig = useMotionConfig();
18
- const [countdown, setCountdown] = React.useState(autoRedirectSeconds ?? 0);
19
- React.useEffect(() => {
20
- if (!autoRedirectSeconds) return;
21
- setCountdown(autoRedirectSeconds);
22
- const interval = setInterval(() => {
23
- setCountdown((prev) => {
24
- if (prev <= 1) {
25
- clearInterval(interval);
26
- onContinue?.();
27
- return 0;
28
- }
29
- return prev - 1;
30
- });
31
- }, 1e3);
32
- return () => clearInterval(interval);
33
- }, [autoRedirectSeconds, onContinue]);
34
- return /* @__PURE__ */ jsx(m.div, { ...scaleIn, className: cn("w-full max-w-sm mx-auto", className), children: /* @__PURE__ */ jsxs(Card, { children: [
35
- /* @__PURE__ */ jsxs(CardHeader, { className: "text-center", children: [
36
- /* @__PURE__ */ jsx(
37
- m.div,
38
- {
39
- className: "mx-auto mb-2",
40
- initial: { scale: 0.8, opacity: 0 },
41
- animate: { scale: 1, opacity: 1 },
42
- transition: { ...motionSpring.bouncy, ...motionConfig },
43
- children: /* @__PURE__ */ jsx("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-success/10 shadow-[0_0_24px_rgb(var(--color-success)/0.2)]", children: /* @__PURE__ */ jsx(CheckIcon, { size: 32, className: "text-success" }) })
44
- }
45
- ),
46
- /* @__PURE__ */ jsx(CardTitle, { className: "text-2xl", children: title }),
47
- /* @__PURE__ */ jsx(CardDescription, { children: description })
48
- ] }),
49
- /* @__PURE__ */ jsxs(CardContent, { className: "grid gap-4", children: [
50
- autoRedirectSeconds !== void 0 && countdown > 0 && /* @__PURE__ */ jsxs("p", { className: "text-center text-sm text-text-tertiary tabular-nums", children: [
51
- "Redirecting in ",
52
- countdown,
53
- "..."
54
- ] }),
55
- /* @__PURE__ */ jsx(Button, { variant: "accent", className: "w-full", onClick: onContinue, children: buttonText })
56
- ] })
57
- ] }) });
58
- }
59
-
60
- export { EmailVerifiedBlock };
@@ -1,72 +0,0 @@
1
- import { MarketingShellPageKit } from './chunk-CCUXLYZX.js';
2
- import { StatsMarketingBlock } from './chunk-FODQX5Q5.js';
3
- import { PricingBlock } from './chunk-OTZIMMPV.js';
4
- import { SocialProofBlock } from './chunk-7IXYIUQ5.js';
5
- import { NewsletterBlock } from './chunk-ZI22L4DD.js';
6
- import { HeroBlock } from './chunk-YZK222HJ.js';
7
- import { FAQBlock } from './chunk-NTN5DWXV.js';
8
- import { FeatureBlock } from './chunk-4R7DT2NJ.js';
9
- import { CallToActionBlock } from './chunk-LPED36AD.js';
10
- import { cn } from './chunk-QYZT24TS.js';
11
- import React from 'react';
12
- import { jsx, jsxs } from 'react/jsx-runtime';
13
-
14
- var DEFAULT_SECTION_ORDER = [
15
- "hero",
16
- "features",
17
- "proof",
18
- "pricing-teaser",
19
- "faq",
20
- "cta",
21
- "newsletter"
22
- ];
23
- var DEFAULT_FEATURES = {};
24
- var DEFAULT_PROOF = {};
25
- var DEFAULT_PRICING_TEASER = {};
26
- var DEFAULT_FAQ = {};
27
- var DEFAULT_CTA = {};
28
- var DEFAULT_NEWSLETTER = {};
29
- function normalizeSectionOrder(sectionOrder) {
30
- if (!sectionOrder || sectionOrder.length === 0) {
31
- return DEFAULT_SECTION_ORDER;
32
- }
33
- const seen = /* @__PURE__ */ new Set();
34
- return sectionOrder.filter((section) => {
35
- if (seen.has(section)) {
36
- return false;
37
- }
38
- seen.add(section);
39
- return true;
40
- });
41
- }
42
- function LandingPageKit({
43
- shell,
44
- sectionOrder,
45
- hero,
46
- features = DEFAULT_FEATURES,
47
- proof = DEFAULT_PROOF,
48
- pricingTeaser = DEFAULT_PRICING_TEASER,
49
- faq = DEFAULT_FAQ,
50
- cta = DEFAULT_CTA,
51
- newsletter = DEFAULT_NEWSLETTER,
52
- className
53
- }) {
54
- const orderedSections = normalizeSectionOrder(sectionOrder);
55
- const hasProof = proof !== null && (proof.logos !== null || proof.testimonials !== null || proof.stats !== null);
56
- const sectionById = {
57
- hero: hero === null ? null : /* @__PURE__ */ jsx("section", { "data-testid": "landing-section-hero", className: "mx-auto w-full max-w-6xl px-6 pt-4", children: /* @__PURE__ */ jsx(HeroBlock, { ...hero }) }),
58
- features: features === null ? null : /* @__PURE__ */ jsx("section", { "data-testid": "landing-section-features", className: "mx-auto w-full max-w-6xl px-6", children: /* @__PURE__ */ jsx(FeatureBlock, { ...features }) }),
59
- proof: !hasProof ? null : /* @__PURE__ */ jsxs("section", { "data-testid": "landing-section-proof", className: "mx-auto grid w-full max-w-6xl gap-6 px-6 lg:grid-cols-2", children: [
60
- proof.logos !== null ? /* @__PURE__ */ jsx(SocialProofBlock, { variant: "logo-cloud", ...proof.logos }) : null,
61
- proof.stats !== null ? /* @__PURE__ */ jsx(StatsMarketingBlock, { ...proof.stats }) : null,
62
- proof.testimonials !== null ? /* @__PURE__ */ jsx("div", { className: "lg:col-span-2", children: /* @__PURE__ */ jsx(SocialProofBlock, { variant: "testimonials", ...proof.testimonials }) }) : null
63
- ] }),
64
- "pricing-teaser": pricingTeaser === null ? null : /* @__PURE__ */ jsx("section", { "data-testid": "landing-section-pricing-teaser", className: "mx-auto w-full max-w-6xl px-6", children: /* @__PURE__ */ jsx(PricingBlock, { showBillingToggle: false, ...pricingTeaser }) }),
65
- faq: faq === null ? null : /* @__PURE__ */ jsx("section", { "data-testid": "landing-section-faq", className: "mx-auto w-full max-w-6xl px-6", children: /* @__PURE__ */ jsx(FAQBlock, { ...faq }) }),
66
- cta: cta === null ? null : /* @__PURE__ */ jsx("section", { "data-testid": "landing-section-cta", className: "mx-auto w-full max-w-6xl px-6", children: /* @__PURE__ */ jsx(CallToActionBlock, { ...cta }) }),
67
- newsletter: newsletter === null ? null : /* @__PURE__ */ jsx("section", { "data-testid": "landing-section-newsletter", className: "mx-auto w-full max-w-6xl px-6 pb-16", children: /* @__PURE__ */ jsx(NewsletterBlock, { ...newsletter }) })
68
- };
69
- return /* @__PURE__ */ jsx(MarketingShellPageKit, { ...shell, children: /* @__PURE__ */ jsx("div", { className: cn("space-y-10 pb-10", className), children: orderedSections.map((sectionId) => /* @__PURE__ */ jsx(React.Fragment, { children: sectionById[sectionId] }, sectionId)) }) });
70
- }
71
-
72
- export { LandingPageKit };
@@ -1,121 +0,0 @@
1
- import * as React from 'react';
2
-
3
- // src/hooks/use-toast.ts
4
- var TOAST_LIMIT = 1;
5
- var TOAST_REMOVE_DELAY = 1e6;
6
- var count = 0;
7
- function genId() {
8
- count = (count + 1) % Number.MAX_SAFE_INTEGER;
9
- return count.toString();
10
- }
11
- var toastTimeouts = /* @__PURE__ */ new Map();
12
- var addToRemoveQueue = (toastId) => {
13
- if (toastTimeouts.has(toastId)) {
14
- return;
15
- }
16
- const timeout = setTimeout(() => {
17
- toastTimeouts.delete(toastId);
18
- dispatch({
19
- type: "REMOVE_TOAST",
20
- toastId
21
- });
22
- }, TOAST_REMOVE_DELAY);
23
- toastTimeouts.set(toastId, timeout);
24
- };
25
- var reducer = (state, action) => {
26
- switch (action.type) {
27
- case "ADD_TOAST":
28
- return {
29
- ...state,
30
- toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT)
31
- };
32
- case "UPDATE_TOAST":
33
- return {
34
- ...state,
35
- toasts: state.toasts.map(
36
- (t) => t.id === action.toast.id ? { ...t, ...action.toast } : t
37
- )
38
- };
39
- case "DISMISS_TOAST": {
40
- const { toastId } = action;
41
- if (toastId) {
42
- addToRemoveQueue(toastId);
43
- } else {
44
- state.toasts.forEach((toast2) => {
45
- addToRemoveQueue(toast2.id);
46
- });
47
- }
48
- return {
49
- ...state,
50
- toasts: state.toasts.map(
51
- (t) => t.id === toastId || toastId === void 0 ? {
52
- ...t,
53
- open: false
54
- } : t
55
- )
56
- };
57
- }
58
- case "REMOVE_TOAST":
59
- if (action.toastId === void 0) {
60
- return {
61
- ...state,
62
- toasts: []
63
- };
64
- }
65
- return {
66
- ...state,
67
- toasts: state.toasts.filter((t) => t.id !== action.toastId)
68
- };
69
- }
70
- };
71
- var listeners = [];
72
- var memoryState = { toasts: [] };
73
- function dispatch(action) {
74
- memoryState = reducer(memoryState, action);
75
- listeners.forEach((listener) => {
76
- listener(memoryState);
77
- });
78
- }
79
- function toast({ ...props }) {
80
- const id = genId();
81
- const update = (props2) => dispatch({
82
- type: "UPDATE_TOAST",
83
- toast: { ...props2, id }
84
- });
85
- const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
86
- dispatch({
87
- type: "ADD_TOAST",
88
- toast: {
89
- ...props,
90
- id,
91
- open: true,
92
- onOpenChange: (open) => {
93
- if (!open) dismiss();
94
- }
95
- }
96
- });
97
- return {
98
- id,
99
- dismiss,
100
- update
101
- };
102
- }
103
- function useToast() {
104
- const [state, setState] = React.useState(memoryState);
105
- React.useEffect(() => {
106
- listeners.push(setState);
107
- return () => {
108
- const index = listeners.indexOf(setState);
109
- if (index > -1) {
110
- listeners.splice(index, 1);
111
- }
112
- };
113
- }, []);
114
- return {
115
- ...state,
116
- toast,
117
- dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId })
118
- };
119
- }
120
-
121
- export { reducer, toast, useToast };
@@ -1,60 +0,0 @@
1
- import { Card, CardHeader, CardTitle, CardDescription, CardContent } from './chunk-7UY24UWL.js';
2
- import { Button } from './chunk-7KIDDF3I.js';
3
- import { useMotionConfig, m, scaleIn, motionSpring } from './chunk-PD2YEH3H.js';
4
- import { ShieldCheckIcon } from './chunk-BFLN54VR.js';
5
- import { cn } from './chunk-QYZT24TS.js';
6
- import * as React from 'react';
7
- import { jsx, jsxs } from 'react/jsx-runtime';
8
-
9
- function PasswordChangedBlock({
10
- className,
11
- onContinue,
12
- autoRedirectSeconds,
13
- title = "Password changed!",
14
- description = "Your password has been successfully updated.",
15
- buttonLabel = "Continue to login"
16
- }) {
17
- const motionConfig = useMotionConfig();
18
- const [countdown, setCountdown] = React.useState(autoRedirectSeconds ?? 0);
19
- React.useEffect(() => {
20
- if (!autoRedirectSeconds) return;
21
- setCountdown(autoRedirectSeconds);
22
- const interval = setInterval(() => {
23
- setCountdown((prev) => {
24
- if (prev <= 1) {
25
- clearInterval(interval);
26
- onContinue?.();
27
- return 0;
28
- }
29
- return prev - 1;
30
- });
31
- }, 1e3);
32
- return () => clearInterval(interval);
33
- }, [autoRedirectSeconds, onContinue]);
34
- return /* @__PURE__ */ jsx(m.div, { ...scaleIn, className: cn("w-full max-w-sm mx-auto", className), children: /* @__PURE__ */ jsxs(Card, { children: [
35
- /* @__PURE__ */ jsxs(CardHeader, { className: "text-center", children: [
36
- /* @__PURE__ */ jsx(
37
- m.div,
38
- {
39
- className: "mx-auto mb-2",
40
- initial: { scale: 0.8, opacity: 0 },
41
- animate: { scale: 1, opacity: 1 },
42
- transition: { ...motionSpring.bouncy, ...motionConfig },
43
- children: /* @__PURE__ */ jsx("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-success/10 shadow-[0_0_24px_rgb(var(--color-success)/0.2)]", children: /* @__PURE__ */ jsx(ShieldCheckIcon, { size: 32, className: "text-success" }) })
44
- }
45
- ),
46
- /* @__PURE__ */ jsx(CardTitle, { className: "text-2xl", children: title }),
47
- /* @__PURE__ */ jsx(CardDescription, { children: description })
48
- ] }),
49
- /* @__PURE__ */ jsxs(CardContent, { className: "grid gap-4", children: [
50
- autoRedirectSeconds !== void 0 && countdown > 0 && /* @__PURE__ */ jsxs("p", { className: "text-center text-sm text-text-tertiary tabular-nums", children: [
51
- "Redirecting in ",
52
- countdown,
53
- "..."
54
- ] }),
55
- /* @__PURE__ */ jsx(Button, { variant: "accent", className: "w-full", onClick: onContinue, children: buttonLabel })
56
- ] })
57
- ] }) });
58
- }
59
-
60
- export { PasswordChangedBlock };