@yuhuanowo/yunui 0.2.17 → 0.2.19

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 (560) hide show
  1. package/README.md +56 -5
  2. package/README.zh-CN.md +21 -3
  3. package/README.zh-TW.md +21 -3
  4. package/THIRD_PARTY_NOTICES.md +13 -0
  5. package/agent/catalog.generated.json +29368 -0
  6. package/agent/recipes/analytics.tsx +121 -0
  7. package/agent/recipes/chat.tsx +154 -0
  8. package/agent/recipes/conversation-units.tsx +28 -0
  9. package/agent/recipes/dashboard.tsx +38 -0
  10. package/agent/recipes/landing.tsx +26 -0
  11. package/agent/recipes/setup.md +44 -0
  12. package/agent/skills/yunui/SKILL.md +82 -0
  13. package/dist/adapters.d.ts +5 -0
  14. package/dist/adapters.js +1 -1
  15. package/dist/ai.d.ts +478 -273
  16. package/dist/ai.js +1334 -1964
  17. package/dist/ai.js.map +1 -1
  18. package/dist/charts.d.ts +149 -0
  19. package/dist/charts.js +849 -0
  20. package/dist/charts.js.map +1 -0
  21. package/dist/chat.d.ts +204 -18
  22. package/dist/chat.js +887 -132
  23. package/dist/chat.js.map +1 -1
  24. package/dist/{chunk-F2HG4TOQ.js → chunk-ASPPAL7E.js} +25 -29
  25. package/dist/chunk-ASPPAL7E.js.map +1 -0
  26. package/dist/chunk-AVXIR7ZQ.js +197 -0
  27. package/dist/chunk-AVXIR7ZQ.js.map +1 -0
  28. package/dist/chunk-FJ52MVRF.js +82 -0
  29. package/dist/chunk-FJ52MVRF.js.map +1 -0
  30. package/dist/chunk-GRUB2GXF.js +15 -0
  31. package/dist/chunk-GRUB2GXF.js.map +1 -0
  32. package/dist/{chunk-3RT24MSH.js → chunk-GWD5W5F5.js} +2 -2
  33. package/dist/{chunk-3RT24MSH.js.map → chunk-GWD5W5F5.js.map} +1 -1
  34. package/dist/{chunk-BCOKFWXC.js → chunk-I2DAKAD5.js} +423 -281
  35. package/dist/chunk-I2DAKAD5.js.map +1 -0
  36. package/dist/chunk-OM7B4O6K.js +193 -0
  37. package/dist/chunk-OM7B4O6K.js.map +1 -0
  38. package/dist/chunk-OZIDZFMF.js +70 -0
  39. package/dist/chunk-OZIDZFMF.js.map +1 -0
  40. package/dist/chunk-P6LU2FWV.js +35 -0
  41. package/dist/chunk-P6LU2FWV.js.map +1 -0
  42. package/dist/chunk-SXWMKFKM.js +41 -0
  43. package/dist/chunk-SXWMKFKM.js.map +1 -0
  44. package/dist/chunk-TMTXJFNN.js +2715 -0
  45. package/dist/chunk-TMTXJFNN.js.map +1 -0
  46. package/dist/chunk-VNKAEQKU.js +501 -0
  47. package/dist/chunk-VNKAEQKU.js.map +1 -0
  48. package/dist/chunk-VSS7ASN2.js +12 -0
  49. package/dist/chunk-VSS7ASN2.js.map +1 -0
  50. package/dist/chunk-VYVFMNM7.js +112 -0
  51. package/dist/chunk-VYVFMNM7.js.map +1 -0
  52. package/dist/chunk-YKUQ7GCJ.js +230 -0
  53. package/dist/chunk-YKUQ7GCJ.js.map +1 -0
  54. package/dist/chunk-Z6WXDNBJ.js +366 -0
  55. package/dist/chunk-Z6WXDNBJ.js.map +1 -0
  56. package/dist/chunk-ZBRV6NHL.js +1115 -0
  57. package/dist/chunk-ZBRV6NHL.js.map +1 -0
  58. package/dist/code.d.ts +42 -0
  59. package/dist/code.js +8 -0
  60. package/dist/code.js.map +1 -0
  61. package/dist/content.d.ts +26 -40
  62. package/dist/content.js +400 -418
  63. package/dist/content.js.map +1 -1
  64. package/dist/footer-BCd-S806.d.ts +122 -0
  65. package/dist/index.d.ts +814 -88
  66. package/dist/index.js +7 -5
  67. package/dist/language.d.ts +30 -0
  68. package/dist/language.js +5 -0
  69. package/dist/language.js.map +1 -0
  70. package/dist/model-card.d.ts +43 -0
  71. package/dist/model-card.js +116 -0
  72. package/dist/model-card.js.map +1 -0
  73. package/dist/model.d.ts +51 -0
  74. package/dist/model.js +91 -0
  75. package/dist/model.js.map +1 -0
  76. package/dist/motion.d.ts +11 -0
  77. package/dist/motion.js +9 -0
  78. package/dist/motion.js.map +1 -0
  79. package/dist/patterns.d.ts +913 -29
  80. package/dist/patterns.js +1987 -259
  81. package/dist/patterns.js.map +1 -1
  82. package/dist/pickers.d.ts +134 -0
  83. package/dist/pickers.js +751 -0
  84. package/dist/pickers.js.map +1 -0
  85. package/dist/provider-icons-bgBTnami.d.ts +88 -0
  86. package/dist/segmented-bar-Bsr0PZIL.d.ts +58 -0
  87. package/dist/sparkline-vy5ec5C6.d.ts +67 -0
  88. package/icons/apps/aistudio.webp +0 -0
  89. package/icons/apps/coze.webp +0 -0
  90. package/icons/apps/dify.webp +0 -0
  91. package/icons/apps/doubao.webp +0 -0
  92. package/icons/apps/flowith.webp +0 -0
  93. package/icons/apps/gemini.webp +0 -0
  94. package/icons/apps/github-copilot.webp +0 -0
  95. package/icons/apps/google.webp +0 -0
  96. package/icons/apps/grok.webp +0 -0
  97. package/icons/apps/kimi.webp +0 -0
  98. package/icons/apps/ling.webp +0 -0
  99. package/icons/apps/longcat.webp +0 -0
  100. package/icons/apps/monica.webp +0 -0
  101. package/icons/apps/n8n.webp +0 -0
  102. package/icons/apps/notebooklm.webp +0 -0
  103. package/icons/apps/perplexity.webp +0 -0
  104. package/icons/apps/poe.webp +0 -0
  105. package/icons/apps/qingyan.webp +0 -0
  106. package/icons/apps/stepfun.webp +0 -0
  107. package/icons/apps/tiangong.webp +0 -0
  108. package/icons/apps/yuanbao.webp +0 -0
  109. package/icons/apps/zai.webp +0 -0
  110. package/icons/models/ai21.webp +0 -0
  111. package/icons/models/aimass.webp +0 -0
  112. package/icons/models/anthropic.webp +0 -0
  113. package/icons/models/baichuan.webp +0 -0
  114. package/icons/models/byte_dance.webp +0 -0
  115. package/icons/models/chatglm.webp +0 -0
  116. package/icons/models/claude.webp +0 -0
  117. package/icons/models/codegeex.webp +0 -0
  118. package/icons/models/cogview3flash.webp +0 -0
  119. package/icons/models/cohere.webp +0 -0
  120. package/icons/models/copilot.webp +0 -0
  121. package/icons/models/dalle.webp +0 -0
  122. package/icons/models/dbrx.webp +0 -0
  123. package/icons/models/deepseek.webp +0 -0
  124. package/icons/models/doubao.webp +0 -0
  125. package/icons/models/flux.webp +0 -0
  126. package/icons/models/gemini.webp +0 -0
  127. package/icons/models/gemma.webp +0 -0
  128. package/icons/models/google.webp +0 -0
  129. package/icons/models/grok.webp +0 -0
  130. package/icons/models/hailuo.webp +0 -0
  131. package/icons/models/huggingface.webp +0 -0
  132. package/icons/models/hunyuan.webp +0 -0
  133. package/icons/models/ibm.webp +0 -0
  134. package/icons/models/ideogram.webp +0 -0
  135. package/icons/models/internlm.webp +0 -0
  136. package/icons/models/jina.webp +0 -0
  137. package/icons/models/ling.webp +0 -0
  138. package/icons/models/llava.webp +0 -0
  139. package/icons/models/luma.webp +0 -0
  140. package/icons/models/magic.webp +0 -0
  141. package/icons/models/microsoft.webp +0 -0
  142. package/icons/models/midjourney.webp +0 -0
  143. package/icons/models/minimax.webp +0 -0
  144. package/icons/models/mistral.webp +0 -0
  145. package/icons/models/moonshot.webp +0 -0
  146. package/icons/models/nousresearch.webp +0 -0
  147. package/icons/models/nvidia.webp +0 -0
  148. package/icons/models/o3.webp +0 -0
  149. package/icons/models/openai.webp +0 -0
  150. package/icons/models/palm.webp +0 -0
  151. package/icons/models/perplexity.webp +0 -0
  152. package/icons/models/qwen.webp +0 -0
  153. package/icons/models/stability.webp +0 -0
  154. package/icons/models/step.webp +0 -0
  155. package/icons/models/suno.webp +0 -0
  156. package/icons/models/upstage.webp +0 -0
  157. package/icons/models/vidu.webp +0 -0
  158. package/icons/models/volcengine.webp +0 -0
  159. package/icons/models/voyageai.webp +0 -0
  160. package/icons/models/wenxin.webp +0 -0
  161. package/icons/models/yi.webp +0 -0
  162. package/icons/models/zai.webp +0 -0
  163. package/icons/models/zero-one.webp +0 -0
  164. package/icons/models/zhipu.webp +0 -0
  165. package/icons/providers/302ai.webp +0 -0
  166. package/icons/providers/ace.webp +0 -0
  167. package/icons/providers/adobe.webp +0 -0
  168. package/icons/providers/adobefirefly.webp +0 -0
  169. package/icons/providers/agentvoice.webp +0 -0
  170. package/icons/providers/agnesai.webp +0 -0
  171. package/icons/providers/agui.webp +0 -0
  172. package/icons/providers/ai2.webp +0 -0
  173. package/icons/providers/ai21.webp +0 -0
  174. package/icons/providers/ai302.webp +0 -0
  175. package/icons/providers/ai360.webp +0 -0
  176. package/icons/providers/aihubmix.webp +0 -0
  177. package/icons/providers/aimass.webp +0 -0
  178. package/icons/providers/aimlapi.webp +0 -0
  179. package/icons/providers/aionlabs.webp +0 -0
  180. package/icons/providers/airjelly.webp +0 -0
  181. package/icons/providers/aistudio.webp +0 -0
  182. package/icons/providers/akashchat.webp +0 -0
  183. package/icons/providers/alephalpha.webp +0 -0
  184. package/icons/providers/alibaba.webp +0 -0
  185. package/icons/providers/alibabacloud.webp +0 -0
  186. package/icons/providers/amdradeoncloud.webp +0 -0
  187. package/icons/providers/amp.webp +0 -0
  188. package/icons/providers/anspire.webp +0 -0
  189. package/icons/providers/antgroup.webp +0 -0
  190. package/icons/providers/anthropic.webp +0 -0
  191. package/icons/providers/antigravity.webp +0 -0
  192. package/icons/providers/anyscale.webp +0 -0
  193. package/icons/providers/apertis.webp +0 -0
  194. package/icons/providers/apple.webp +0 -0
  195. package/icons/providers/appwrite.webp +0 -0
  196. package/icons/providers/arcee.webp +0 -0
  197. package/icons/providers/askverdict.webp +0 -0
  198. package/icons/providers/assemblyai.webp +0 -0
  199. package/icons/providers/atlascloud.webp +0 -0
  200. package/icons/providers/automatic.webp +0 -0
  201. package/icons/providers/aws-bedrock.webp +0 -0
  202. package/icons/providers/aws.webp +0 -0
  203. package/icons/providers/aya.webp +0 -0
  204. package/icons/providers/azure.webp +0 -0
  205. package/icons/providers/azureai.webp +0 -0
  206. package/icons/providers/baai.webp +0 -0
  207. package/icons/providers/baichuan.webp +0 -0
  208. package/icons/providers/baidu-cloud.webp +0 -0
  209. package/icons/providers/baidu.webp +0 -0
  210. package/icons/providers/baiducloud.webp +0 -0
  211. package/icons/providers/bailian.webp +0 -0
  212. package/icons/providers/baseten.webp +0 -0
  213. package/icons/providers/bedrock.webp +0 -0
  214. package/icons/providers/bfl.webp +0 -0
  215. package/icons/providers/bigModel.webp +0 -0
  216. package/icons/providers/bilibili.webp +0 -0
  217. package/icons/providers/bilibiliindex.webp +0 -0
  218. package/icons/providers/bing.webp +0 -0
  219. package/icons/providers/bocha.webp +0 -0
  220. package/icons/providers/brave.webp +0 -0
  221. package/icons/providers/briaai.webp +0 -0
  222. package/icons/providers/browserless.webp +0 -0
  223. package/icons/providers/burncloud.webp +0 -0
  224. package/icons/providers/bytedance.webp +0 -0
  225. package/icons/providers/capcut.webp +0 -0
  226. package/icons/providers/celestoai.webp +0 -0
  227. package/icons/providers/centml.webp +0 -0
  228. package/icons/providers/cerebras.webp +0 -0
  229. package/icons/providers/chatglm.webp +0 -0
  230. package/icons/providers/cheaperinference.webp +0 -0
  231. package/icons/providers/cherrystudio.webp +0 -0
  232. package/icons/providers/chutes.webp +0 -0
  233. package/icons/providers/civitai.webp +0 -0
  234. package/icons/providers/claude.webp +0 -0
  235. package/icons/providers/claudecode.webp +0 -0
  236. package/icons/providers/cline.webp +0 -0
  237. package/icons/providers/clipdrop.webp +0 -0
  238. package/icons/providers/cloudflare.webp +0 -0
  239. package/icons/providers/codebuddy.webp +0 -0
  240. package/icons/providers/codeflicker.webp +0 -0
  241. package/icons/providers/codegeex.webp +0 -0
  242. package/icons/providers/codex.webp +0 -0
  243. package/icons/providers/cogvideo.webp +0 -0
  244. package/icons/providers/cogview.webp +0 -0
  245. package/icons/providers/cogview3flash.webp +0 -0
  246. package/icons/providers/cohere.webp +0 -0
  247. package/icons/providers/colab.webp +0 -0
  248. package/icons/providers/cometapi.webp +0 -0
  249. package/icons/providers/comfyui.webp +0 -0
  250. package/icons/providers/commanda.webp +0 -0
  251. package/icons/providers/commandcode.webp +0 -0
  252. package/icons/providers/copilot.webp +0 -0
  253. package/icons/providers/copilotkit.webp +0 -0
  254. package/icons/providers/coqui.webp +0 -0
  255. package/icons/providers/coze.webp +0 -0
  256. package/icons/providers/crewai.webp +0 -0
  257. package/icons/providers/crusoe.webp +0 -0
  258. package/icons/providers/cursor.webp +0 -0
  259. package/icons/providers/cybercut.webp +0 -0
  260. package/icons/providers/dalle.webp +0 -0
  261. package/icons/providers/dbrx.webp +0 -0
  262. package/icons/providers/decart.webp +0 -0
  263. package/icons/providers/deepai.webp +0 -0
  264. package/icons/providers/deepcogito.webp +0 -0
  265. package/icons/providers/deepinfra.webp +0 -0
  266. package/icons/providers/deepl.webp +0 -0
  267. package/icons/providers/deepmind.webp +0 -0
  268. package/icons/providers/deepseek.webp +0 -0
  269. package/icons/providers/devin.webp +0 -0
  270. package/icons/providers/dify.webp +0 -0
  271. package/icons/providers/digitalocean.webp +0 -0
  272. package/icons/providers/doc2x.webp +0 -0
  273. package/icons/providers/docsearch.webp +0 -0
  274. package/icons/providers/dolphin.webp +0 -0
  275. package/icons/providers/dothoosh.webp +0 -0
  276. package/icons/providers/dotsstudio.webp +0 -0
  277. package/icons/providers/doubao.webp +0 -0
  278. package/icons/providers/dreammachine.webp +0 -0
  279. package/icons/providers/elevenlabs.webp +0 -0
  280. package/icons/providers/elevenx.webp +0 -0
  281. package/icons/providers/empiriolabs.webp +0 -0
  282. package/icons/providers/essentialai.webp +0 -0
  283. package/icons/providers/exa.webp +0 -0
  284. package/icons/providers/fal.webp +0 -0
  285. package/icons/providers/fastgpt.webp +0 -0
  286. package/icons/providers/featherless.webp +0 -0
  287. package/icons/providers/figma.webp +0 -0
  288. package/icons/providers/firecrawl.webp +0 -0
  289. package/icons/providers/fireworks.webp +0 -0
  290. package/icons/providers/fishaudio.webp +0 -0
  291. package/icons/providers/flexai.webp +0 -0
  292. package/icons/providers/flora.webp +0 -0
  293. package/icons/providers/flowith.webp +0 -0
  294. package/icons/providers/flux.webp +0 -0
  295. package/icons/providers/friendli.webp +0 -0
  296. package/icons/providers/gemini.webp +0 -0
  297. package/icons/providers/geminicli.webp +0 -0
  298. package/icons/providers/gemma.webp +0 -0
  299. package/icons/providers/gitee-ai.webp +0 -0
  300. package/icons/providers/giteeai.webp +0 -0
  301. package/icons/providers/github.webp +0 -0
  302. package/icons/providers/githubcopilot.webp +0 -0
  303. package/icons/providers/glama.webp +0 -0
  304. package/icons/providers/glif.webp +0 -0
  305. package/icons/providers/glmv.webp +0 -0
  306. package/icons/providers/gmi.svg +5 -0
  307. package/icons/providers/gmicloud.webp +0 -0
  308. package/icons/providers/google.webp +0 -0
  309. package/icons/providers/googlecloud.webp +0 -0
  310. package/icons/providers/goose.webp +0 -0
  311. package/icons/providers/gradio.webp +0 -0
  312. package/icons/providers/greenpt.webp +0 -0
  313. package/icons/providers/greptile.webp +0 -0
  314. package/icons/providers/grok.webp +0 -0
  315. package/icons/providers/grokbot.webp +0 -0
  316. package/icons/providers/groq.webp +0 -0
  317. package/icons/providers/hailuo.webp +0 -0
  318. package/icons/providers/haiper.webp +0 -0
  319. package/icons/providers/happyhorse.webp +0 -0
  320. package/icons/providers/hedra.webp +0 -0
  321. package/icons/providers/hermesagent.webp +0 -0
  322. package/icons/providers/higress.webp +0 -0
  323. package/icons/providers/huawei.webp +0 -0
  324. package/icons/providers/huaweicloud.webp +0 -0
  325. package/icons/providers/huggingface.webp +0 -0
  326. package/icons/providers/hunyuan.webp +0 -0
  327. package/icons/providers/hyperbolic.webp +0 -0
  328. package/icons/providers/ibm.webp +0 -0
  329. package/icons/providers/ideogram.webp +0 -0
  330. package/icons/providers/iflytekcloud.webp +0 -0
  331. package/icons/providers/inception.webp +0 -0
  332. package/icons/providers/inceptron.webp +0 -0
  333. package/icons/providers/inference.webp +0 -0
  334. package/icons/providers/infermatic.webp +0 -0
  335. package/icons/providers/infini.webp +0 -0
  336. package/icons/providers/infinigence.webp +0 -0
  337. package/icons/providers/inflection.webp +0 -0
  338. package/icons/providers/internlm.webp +0 -0
  339. package/icons/providers/ionet.webp +0 -0
  340. package/icons/providers/jimeng.webp +0 -0
  341. package/icons/providers/jina.webp +0 -0
  342. package/icons/providers/junie.webp +0 -0
  343. package/icons/providers/kagi.webp +0 -0
  344. package/icons/providers/kilocode.webp +0 -0
  345. package/icons/providers/kimi.webp +0 -0
  346. package/icons/providers/kiro.webp +0 -0
  347. package/icons/providers/kling.webp +0 -0
  348. package/icons/providers/kluster.webp +0 -0
  349. package/icons/providers/kolors.webp +0 -0
  350. package/icons/providers/krea.webp +0 -0
  351. package/icons/providers/kwaikat.webp +0 -0
  352. package/icons/providers/kwaipilot.webp +0 -0
  353. package/icons/providers/lambda.webp +0 -0
  354. package/icons/providers/langchain.webp +0 -0
  355. package/icons/providers/langfuse.webp +0 -0
  356. package/icons/providers/langgraph.webp +0 -0
  357. package/icons/providers/langsmith.webp +0 -0
  358. package/icons/providers/leptonai.webp +0 -0
  359. package/icons/providers/lg.webp +0 -0
  360. package/icons/providers/lightricks.webp +0 -0
  361. package/icons/providers/ling.webp +0 -0
  362. package/icons/providers/liquid.webp +0 -0
  363. package/icons/providers/livekit.webp +0 -0
  364. package/icons/providers/llamaindex.webp +0 -0
  365. package/icons/providers/llava.webp +0 -0
  366. package/icons/providers/llmapi.webp +0 -0
  367. package/icons/providers/llmgateway.webp +0 -0
  368. package/icons/providers/lmstudio.webp +0 -0
  369. package/icons/providers/lobehub.webp +0 -0
  370. package/icons/providers/lobot.webp +0 -0
  371. package/icons/providers/longcat.webp +0 -0
  372. package/icons/providers/lovable.webp +0 -0
  373. package/icons/providers/lovart.webp +0 -0
  374. package/icons/providers/luma.webp +0 -0
  375. package/icons/providers/magic.webp +0 -0
  376. package/icons/providers/magpie.webp +0 -0
  377. package/icons/providers/make.webp +0 -0
  378. package/icons/providers/manus.webp +0 -0
  379. package/icons/providers/mastra.webp +0 -0
  380. package/icons/providers/mcp.webp +0 -0
  381. package/icons/providers/mcpso.webp +0 -0
  382. package/icons/providers/menlo.webp +0 -0
  383. package/icons/providers/meshy.webp +0 -0
  384. package/icons/providers/meta.webp +0 -0
  385. package/icons/providers/metaai.webp +0 -0
  386. package/icons/providers/metagpt.webp +0 -0
  387. package/icons/providers/microsoft.webp +0 -0
  388. package/icons/providers/midjourney.webp +0 -0
  389. package/icons/providers/minimax.webp +0 -0
  390. package/icons/providers/mistral.webp +0 -0
  391. package/icons/providers/modelscope.webp +0 -0
  392. package/icons/providers/monica.webp +0 -0
  393. package/icons/providers/moonshot.webp +0 -0
  394. package/icons/providers/morph.webp +0 -0
  395. package/icons/providers/moxt.webp +0 -0
  396. package/icons/providers/muse.webp +0 -0
  397. package/icons/providers/myshell.webp +0 -0
  398. package/icons/providers/n8n.webp +0 -0
  399. package/icons/providers/nanobanana.webp +0 -0
  400. package/icons/providers/nebius.webp +0 -0
  401. package/icons/providers/newapi.webp +0 -0
  402. package/icons/providers/nextbit.webp +0 -0
  403. package/icons/providers/notebooklm.webp +0 -0
  404. package/icons/providers/notion.webp +0 -0
  405. package/icons/providers/nousresearch.webp +0 -0
  406. package/icons/providers/nova.webp +0 -0
  407. package/icons/providers/novelai.webp +0 -0
  408. package/icons/providers/novita.webp +0 -0
  409. package/icons/providers/nplcloud.webp +0 -0
  410. package/icons/providers/nvidia.webp +0 -0
  411. package/icons/providers/o3.webp +0 -0
  412. package/icons/providers/obsidian.webp +0 -0
  413. package/icons/providers/ollama.webp +0 -0
  414. package/icons/providers/omlx.webp +0 -0
  415. package/icons/providers/openai.webp +0 -0
  416. package/icons/providers/openchat.webp +0 -0
  417. package/icons/providers/openclaw.webp +0 -0
  418. package/icons/providers/opencode.webp +0 -0
  419. package/icons/providers/openhands.webp +0 -0
  420. package/icons/providers/openhuman.webp +0 -0
  421. package/icons/providers/openrouter.webp +0 -0
  422. package/icons/providers/openwebui.webp +0 -0
  423. package/icons/providers/paddleocr.webp +0 -0
  424. package/icons/providers/palm.webp +0 -0
  425. package/icons/providers/parasail.webp +0 -0
  426. package/icons/providers/perceptron.webp +0 -0
  427. package/icons/providers/perplexity.webp +0 -0
  428. package/icons/providers/phala.webp +0 -0
  429. package/icons/providers/phidata.webp +0 -0
  430. package/icons/providers/phind.webp +0 -0
  431. package/icons/providers/pi.webp +0 -0
  432. package/icons/providers/pika.webp +0 -0
  433. package/icons/providers/pixverse.webp +0 -0
  434. package/icons/providers/player2.webp +0 -0
  435. package/icons/providers/poe.webp +0 -0
  436. package/icons/providers/pollinations.webp +0 -0
  437. package/icons/providers/poolside.webp +0 -0
  438. package/icons/providers/ppio.webp +0 -0
  439. package/icons/providers/prunaai.webp +0 -0
  440. package/icons/providers/pydanticai.webp +0 -0
  441. package/icons/providers/qingyan.webp +0 -0
  442. package/icons/providers/qiniu.webp +0 -0
  443. package/icons/providers/qoder.webp +0 -0
  444. package/icons/providers/qwen.webp +0 -0
  445. package/icons/providers/railway.webp +0 -0
  446. package/icons/providers/recraft.webp +0 -0
  447. package/icons/providers/reflection.webp +0 -0
  448. package/icons/providers/reka.webp +0 -0
  449. package/icons/providers/relace.webp +0 -0
  450. package/icons/providers/replicate.webp +0 -0
  451. package/icons/providers/replit.webp +0 -0
  452. package/icons/providers/reve.webp +0 -0
  453. package/icons/providers/roocode.webp +0 -0
  454. package/icons/providers/rsshub.webp +0 -0
  455. package/icons/providers/runway.webp +0 -0
  456. package/icons/providers/rwkv.webp +0 -0
  457. package/icons/providers/sakana.webp +0 -0
  458. package/icons/providers/sambanova.webp +0 -0
  459. package/icons/providers/search1api.webp +0 -0
  460. package/icons/providers/searchapi.webp +0 -0
  461. package/icons/providers/searxng.webp +0 -0
  462. package/icons/providers/sensenova.webp +0 -0
  463. package/icons/providers/silicon.webp +0 -0
  464. package/icons/providers/siliconcloud.webp +0 -0
  465. package/icons/providers/sillytavern.webp +0 -0
  466. package/icons/providers/skywork.webp +0 -0
  467. package/icons/providers/slock.webp +0 -0
  468. package/icons/providers/smithery.webp +0 -0
  469. package/icons/providers/snowflake.webp +0 -0
  470. package/icons/providers/sophnet.webp +0 -0
  471. package/icons/providers/sora.webp +0 -0
  472. package/icons/providers/spark.webp +0 -0
  473. package/icons/providers/speedai.webp +0 -0
  474. package/icons/providers/stability.webp +0 -0
  475. package/icons/providers/statecloud.webp +0 -0
  476. package/icons/providers/step.webp +0 -0
  477. package/icons/providers/stepfun.webp +0 -0
  478. package/icons/providers/straico.webp +0 -0
  479. package/icons/providers/streamlake.webp +0 -0
  480. package/icons/providers/sub2api.webp +0 -0
  481. package/icons/providers/submodel.webp +0 -0
  482. package/icons/providers/suno.webp +0 -0
  483. package/icons/providers/sync.webp +0 -0
  484. package/icons/providers/tabbit.webp +0 -0
  485. package/icons/providers/targon.webp +0 -0
  486. package/icons/providers/tavily.webp +0 -0
  487. package/icons/providers/tencent-cloud-ti.webp +0 -0
  488. package/icons/providers/tencent.webp +0 -0
  489. package/icons/providers/tencentcloud.webp +0 -0
  490. package/icons/providers/tiangong.webp +0 -0
  491. package/icons/providers/tii.webp +0 -0
  492. package/icons/providers/together.webp +0 -0
  493. package/icons/providers/topazlabs.webp +0 -0
  494. package/icons/providers/trae.webp +0 -0
  495. package/icons/providers/tripo.webp +0 -0
  496. package/icons/providers/turix.webp +0 -0
  497. package/icons/providers/typesafeai.webp +0 -0
  498. package/icons/providers/udio.webp +0 -0
  499. package/icons/providers/unionalpha.webp +0 -0
  500. package/icons/providers/unsloth.webp +0 -0
  501. package/icons/providers/unstructured.webp +0 -0
  502. package/icons/providers/upstage.webp +0 -0
  503. package/icons/providers/v0.webp +0 -0
  504. package/icons/providers/vectorizerai.webp +0 -0
  505. package/icons/providers/venice.webp +0 -0
  506. package/icons/providers/vercel.webp +0 -0
  507. package/icons/providers/vertexai.webp +0 -0
  508. package/icons/providers/vidu.webp +0 -0
  509. package/icons/providers/viggle.webp +0 -0
  510. package/icons/providers/vllm.webp +0 -0
  511. package/icons/providers/volcengine.webp +0 -0
  512. package/icons/providers/voyage.webp +0 -0
  513. package/icons/providers/voyageai.webp +0 -0
  514. package/icons/providers/wafer.webp +0 -0
  515. package/icons/providers/wandb.webp +0 -0
  516. package/icons/providers/wavespeed.webp +0 -0
  517. package/icons/providers/wenxin.webp +0 -0
  518. package/icons/providers/windsurf.webp +0 -0
  519. package/icons/providers/workbuddy.webp +0 -0
  520. package/icons/providers/workersai.webp +0 -0
  521. package/icons/providers/worldrouter.webp +0 -0
  522. package/icons/providers/xai.webp +0 -0
  523. package/icons/providers/xiaomimimo.webp +0 -0
  524. package/icons/providers/xinference.webp +0 -0
  525. package/icons/providers/xpay.webp +0 -0
  526. package/icons/providers/xuanyuan.webp +0 -0
  527. package/icons/providers/yandex.webp +0 -0
  528. package/icons/providers/yi.webp +0 -0
  529. package/icons/providers/youmind.webp +0 -0
  530. package/icons/providers/yuanbao.webp +0 -0
  531. package/icons/providers/zai.webp +0 -0
  532. package/icons/providers/zapier.webp +0 -0
  533. package/icons/providers/zeabur.webp +0 -0
  534. package/icons/providers/zencoder.webp +0 -0
  535. package/icons/providers/zenmux.webp +0 -0
  536. package/icons/providers/zero-one.webp +0 -0
  537. package/icons/providers/zeroone.webp +0 -0
  538. package/icons/providers/zhipu.webp +0 -0
  539. package/licenses/beautiful-ui-MIT.txt +21 -0
  540. package/package.json +53 -10
  541. package/scripts/yunui-audit.mjs +664 -0
  542. package/scripts/yunui-cli.mjs +868 -0
  543. package/scripts/yunui-init.mjs +138 -0
  544. package/styles/content.css +37 -3
  545. package/styles/tokens.css +41 -0
  546. package/styles/yunui.css +1586 -141
  547. package/dist/chunk-BCOKFWXC.js.map +0 -1
  548. package/dist/chunk-DDUP7GAX.js +0 -86
  549. package/dist/chunk-DDUP7GAX.js.map +0 -1
  550. package/dist/chunk-F2HG4TOQ.js.map +0 -1
  551. package/dist/chunk-HH3JBHRP.js +0 -1211
  552. package/dist/chunk-HH3JBHRP.js.map +0 -1
  553. package/dist/chunk-N4QO7RN5.js +0 -98
  554. package/dist/chunk-N4QO7RN5.js.map +0 -1
  555. package/dist/chunk-QEIBYOG2.js +0 -188
  556. package/dist/chunk-QEIBYOG2.js.map +0 -1
  557. package/dist/footer-BoFu7Wqq.d.ts +0 -46
  558. package/icons/apps/ling.png +0 -0
  559. package/icons/models/ling.png +0 -0
  560. package/icons/providers/Kwaipilot.png +0 -0
@@ -1,10 +1,28 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ReactNode, ElementType, HTMLAttributes } from 'react';
3
- export { F as Footer, a as FooterLink, b as FooterProps, c as FooterSection, d as FooterSocial } from './footer-BoFu7Wqq.js';
2
+ import React__default, { ReactNode, ElementType, HTMLAttributes, RefObject, CSSProperties, ButtonHTMLAttributes } from 'react';
3
+ export { F as Footer, a as FooterLink, b as FooterProps, c as FooterSection, d as FooterSocial, N as NavLink, e as Navbar } from './footer-BCd-S806.js';
4
+ import { S as SegmentTone } from './segmented-bar-Bsr0PZIL.js';
4
5
 
5
6
  declare function BackgroundEffects(): React$1.JSX.Element;
6
7
 
7
- declare function CodeDemo(): React$1.JSX.Element;
8
+ interface CodeDemoProps {
9
+ /** The OpenAI-compatible base URL the snippets point at. */
10
+ baseUrl?: string;
11
+ /** Model id used in the example request. */
12
+ model?: string;
13
+ /** Placeholder shown where the reader's key goes. */
14
+ apiKeyPlaceholder?: string;
15
+ /** Message body sent in the example request. */
16
+ prompt?: string;
17
+ /** Tab labels. Defaults are language names, but they stay overridable. */
18
+ labels?: {
19
+ python?: string;
20
+ javascript?: string;
21
+ curl?: string;
22
+ };
23
+ className?: string;
24
+ }
25
+ declare function CodeDemo({ baseUrl, model, apiKeyPlaceholder, prompt, labels, className, }?: CodeDemoProps): React$1.JSX.Element;
8
26
 
9
27
  interface FAQItem {
10
28
  /** The question heading. */
@@ -38,7 +56,7 @@ interface CodeBlockProps {
38
56
  language?: string;
39
57
  /** Filename shown in the header instead of the language badge. */
40
58
  filename?: string;
41
- /** Show line numbers in the gutter. @defaultValue true */
59
+ /** Show line numbers in the gutter. @defaultValue false */
42
60
  showLineNumbers?: boolean;
43
61
  /** Show the copy-to-clipboard button. @defaultValue true */
44
62
  copyable?: boolean;
@@ -46,16 +64,34 @@ interface CodeBlockProps {
46
64
  /** Render multiple switchable code tabs instead of a single `code` block. */
47
65
  tabs?: Tab[];
48
66
  }
49
- /** Styled code block with a window-chrome header, optional tabs, line numbers, basic syntax highlighting, and copy. */
67
+ /** Lightweight-tokenized code with compact metadata, selectable formats, full copy, and long-code disclosure. */
50
68
  declare function CodeBlock({ code, language, filename, showLineNumbers, copyable, className, tabs, }: CodeBlockProps): React$1.JSX.Element;
51
69
 
52
- declare function LLMCopyButton({ markdownUrl }: {
70
+ interface LLMCopyButtonProps {
53
71
  markdownUrl: string;
54
- }): React$1.JSX.Element;
55
- declare function ViewOptions({ markdownUrl, githubUrl, }: {
72
+ /**
73
+ * Every string this renders. The library ships no copy of its own — these
74
+ * defaults exist only so the component is usable untranslated.
75
+ */
76
+ labels?: {
77
+ copy?: string;
78
+ copied?: string;
79
+ title?: string;
80
+ };
81
+ }
82
+ declare function LLMCopyButton({ markdownUrl, labels }: LLMCopyButtonProps): React$1.JSX.Element;
83
+ interface ViewOptionsProps {
56
84
  markdownUrl: string;
57
85
  githubUrl?: string;
58
- }): React$1.JSX.Element;
86
+ /** Every string this renders; defaults keep it usable untranslated. */
87
+ labels?: {
88
+ markdown?: string;
89
+ markdownTitle?: string;
90
+ github?: string;
91
+ githubTitle?: string;
92
+ };
93
+ }
94
+ declare function ViewOptions({ markdownUrl, githubUrl, labels }: ViewOptionsProps): React$1.JSX.Element;
59
95
 
60
96
  interface BlogCardProps {
61
97
  /** Post title. */
@@ -216,6 +252,8 @@ interface SidebarProps {
216
252
  * omitted, items navigate via the injected Link adapter.
217
253
  */
218
254
  onNavigate?: (href: string) => void;
255
+ /** Nav items pinned above the footer slot (e.g. Settings); same active-bar style and matching as `sections`. */
256
+ footerItems?: SidebarNavItem[];
219
257
  /** Bottom-pinned slot (balance card, user card, etc.). */
220
258
  footer?: ReactNode;
221
259
  /** Accessible label for the close/collapse buttons. @defaultValue "Close" */
@@ -238,7 +276,7 @@ interface SidebarProps {
238
276
  ariaLabel?: string;
239
277
  }
240
278
  /** App navigation sidebar: logo, grouped nav sections with active-state matching, a mobile drawer, desktop collapse, and a footer slot. */
241
- declare function Sidebar({ appName, logoSrc, homeHref, sections, currentPath, isOpen, onClose, collapsed, onToggleCollapse, onNavigate, footer, closeLabel, loading, scrollStorageKey, layout, header, children, className, role, ariaLabel, }: SidebarProps): React$1.JSX.Element;
279
+ declare function Sidebar({ appName, logoSrc, homeHref, sections, currentPath, isOpen, onClose, collapsed, onToggleCollapse, onNavigate, footer, footerItems, closeLabel, loading, scrollStorageKey, layout, header, children, className, role, ariaLabel, }: SidebarProps): React$1.JSX.Element;
242
280
 
243
281
  interface PageHeaderProps {
244
282
  title: string;
@@ -262,11 +300,19 @@ interface PageLayoutProps {
262
300
  /** Override the `<main>` classes — defaults to `flex-1 pt-28` (clears the
263
301
  * fixed navbar). Pass your own offset for a taller/shorter bar. */
264
302
  mainClassName?: string;
303
+ /**
304
+ * `id` on the `<main>` element — the target a "skip to main content" link
305
+ * jumps to. Defaults to `"main-content"`, the conventional value, so the
306
+ * skip link in a consumer's root layout actually lands somewhere. Pass
307
+ * `undefined` explicitly if a page must not carry the id (e.g. two shells
308
+ * on one page). @defaultValue "main-content"
309
+ */
310
+ mainId?: string;
265
311
  /** Extra classes on the outer wrapper. */
266
312
  className?: string;
267
313
  }
268
314
  /** Full-height page shell: navbar slot · offset `<main>` · footer slot. */
269
- declare function PageLayout({ children, navbar, footer, hideFooter, transparentBg, mainClassName, className, }: PageLayoutProps): React$1.JSX.Element;
315
+ declare function PageLayout({ children, navbar, footer, hideFooter, transparentBg, mainClassName, mainId, className, }: PageLayoutProps): React$1.JSX.Element;
270
316
 
271
317
  interface PageLoadingStateProps {
272
318
  /** Optional text shown beside the spinner. */
@@ -297,12 +343,6 @@ interface PageEmptyStateProps {
297
343
  /** Centered in-page empty state with an icon, title, description, and optional action. */
298
344
  declare function PageEmptyState({ icon: Icon, title, description, action }: PageEmptyStateProps): React$1.JSX.Element;
299
345
 
300
- /**
301
- * Canonical dashboard stat card — the single source for every metric tile.
302
- * Structure is the dashboard overview card; `tone` provides semantic color
303
- * (amber=pending, red=rejected, …); icon/trend/subtext/delay are all optional
304
- * so compact colored tiles and rich trend cards share one component.
305
- */
306
346
  declare const TONES: Record<string, {
307
347
  card: string;
308
348
  value: string;
@@ -320,6 +360,12 @@ interface StatCardProps {
320
360
  trend?: {
321
361
  value: number;
322
362
  positive: boolean;
363
+ /** Arrow direction, independent of whether the change is good. Defaults to `positive` up / down. */
364
+ direction?: "up" | "down";
365
+ /** Calm tone: muted ink instead of success/error, so the arrow alone carries direction. */
366
+ neutral?: boolean;
367
+ /** Replaces the formatted percent (e.g. ">100%" for a capped change). */
368
+ label?: string;
323
369
  };
324
370
  /** Semantic color tint for the card + value (amber/emerald/blue/red/purple). */
325
371
  tone?: keyof typeof TONES | string;
@@ -334,7 +380,7 @@ interface StatCardProps {
334
380
  compact?: boolean;
335
381
  className?: string;
336
382
  }
337
- declare function StatCard({ icon: Icon, label, value, subtext, trend, tone, delay, inline, valueFirst, compact, className }: StatCardProps): React$1.JSX.Element;
383
+ declare function StatCard({ icon: Icon, label, value: rawValue, subtext, trend, tone, delay, inline, valueFirst, compact, className }: StatCardProps): React$1.JSX.Element;
338
384
 
339
385
  interface FellowsBannerProps {
340
386
  title: string;
@@ -486,23 +532,38 @@ interface SessionItemProps {
486
532
  time?: ReactNode;
487
533
  /** Marks the current session — shows a badge and hides the revoke button. */
488
534
  current?: boolean;
489
- currentLabel?: ReactNode;
490
535
  /** Dims the row and shows an "inactive" badge. */
491
536
  inactive?: boolean;
492
- inactiveLabel?: ReactNode;
493
537
  /** Marks the row selected without adding a badge. */
494
538
  selected?: boolean;
495
539
  /** Shows a pulsing leading activity rail and exposes aria-busy. */
496
540
  running?: boolean;
497
- /** Screen-reader label announced while the row is running. */
498
- runningLabel?: ReactNode;
499
541
  /** Revoke handler — when set (and not current), shows the revoke button. */
500
542
  onRevoke?: () => void;
501
543
  revoking?: boolean;
544
+ /** @deprecated Use labels.current. Retained for 0.2.17 compatibility. */
545
+ currentLabel?: ReactNode;
546
+ /** @deprecated Use labels.inactive. Retained for 0.2.17 compatibility. */
547
+ inactiveLabel?: ReactNode;
548
+ /** @deprecated Use labels.running. Retained for 0.2.17 compatibility. */
549
+ runningLabel?: ReactNode;
550
+ /** @deprecated Use labels.revoke. Retained for 0.2.17 compatibility. */
502
551
  revokeLabel?: string;
552
+ /** Every string this row renders. See CONTRIBUTING.md — a component
553
+ * needing more than one auxiliary string groups them here. */
554
+ labels?: {
555
+ /** Badge on the current session. */
556
+ current?: ReactNode;
557
+ /** Badge on a dimmed / inactive session. */
558
+ inactive?: ReactNode;
559
+ /** Announced to screen readers while `running`. */
560
+ running?: ReactNode;
561
+ /** Accessible name of the revoke button. */
562
+ revoke?: string;
563
+ };
503
564
  className?: string;
504
565
  }
505
- declare function SessionItem({ icon, name, detail, ip, time, current, currentLabel, inactive, inactiveLabel, selected, running, runningLabel, onRevoke, revoking, revokeLabel, className, }: SessionItemProps): React$1.JSX.Element;
566
+ declare function SessionItem({ icon, name, detail, ip, time, current, inactive, selected, running, onRevoke, revoking, labels, currentLabel, inactiveLabel, runningLabel, revokeLabel, className, }: SessionItemProps): React$1.JSX.Element;
506
567
 
507
568
  interface NavStateIndicatorProps extends HTMLAttributes<HTMLSpanElement> {
508
569
  /** Shows the indicator in its selected state. */
@@ -680,29 +741,52 @@ interface NotificationPanelProps {
680
741
  title: ReactNode;
681
742
  /** Unread count shown in the header; hidden when 0. */
682
743
  unreadCount?: number;
683
- /** Word rendered after the count (e.g. "unread"). */
684
- unreadLabel?: ReactNode;
685
744
  loading?: boolean;
686
- loadingLabel?: ReactNode;
687
745
  /** When true (and not loading) the empty state replaces the children. */
688
746
  empty?: boolean;
747
+ /** @deprecated Use labels.unread. Retained for 0.2.17 compatibility. */
748
+ unreadLabel?: ReactNode;
749
+ /** @deprecated Use labels.loading. Retained for 0.2.17 compatibility. */
750
+ loadingLabel?: ReactNode;
751
+ /** @deprecated Use labels.empty. Retained for 0.2.17 compatibility. */
689
752
  emptyLabel?: ReactNode;
753
+ /** Every string the panel renders besides `title`. See CONTRIBUTING.md. */
754
+ labels?: {
755
+ /** Word rendered after the unread count (e.g. "unread"). */
756
+ unread?: ReactNode;
757
+ /** Shown in place of the list while `loading`. */
758
+ loading?: ReactNode;
759
+ /** Shown in place of the list while `empty`. */
760
+ empty?: ReactNode;
761
+ };
690
762
  /** Footer slot — typically a centered "view all" adapter Link. */
691
763
  footer?: ReactNode;
692
764
  /** The notification rows. */
693
765
  children?: ReactNode;
694
766
  className?: string;
695
767
  }
696
- declare function NotificationPanel({ title, unreadCount, unreadLabel, loading, loadingLabel, empty, emptyLabel, footer, children, className, }: NotificationPanelProps): React$1.JSX.Element;
768
+ declare function NotificationPanel({ title, unreadCount, loading, empty, labels, unreadLabel, loadingLabel, emptyLabel, footer, children, className, }: NotificationPanelProps): React$1.JSX.Element;
697
769
 
698
770
  interface SettingRowProps {
699
771
  title: ReactNode;
700
772
  description?: ReactNode;
701
773
  /** The trailing control (e.g. a `<Switch>`). */
702
774
  control?: ReactNode;
775
+ /**
776
+ * Below `sm` the control drops under the title and spans the row, so a wide
777
+ * control (an input, a select) never squeezes the label to one character per
778
+ * line. Pass `false` for a small inline control such as a `<Switch>` that
779
+ * should stay beside its label on a phone. @defaultValue true
780
+ */
781
+ stack?: boolean;
782
+ /**
783
+ * Draw the hairline under the row (the last row never has one). Pass `false` where the host
784
+ * keeps cards free of rules and separates rows by spacing alone. @defaultValue true
785
+ */
786
+ divider?: boolean;
703
787
  className?: string;
704
788
  }
705
- declare function SettingRow({ title, description, control, className }: SettingRowProps): React$1.JSX.Element;
789
+ declare function SettingRow({ title, description, control, stack, divider, className }: SettingRowProps): React$1.JSX.Element;
706
790
 
707
791
  interface SettingsNavItem {
708
792
  key: string;
@@ -783,4 +867,804 @@ interface AvatarUploaderProps {
783
867
  }
784
868
  declare function AvatarUploader({ src, fallback, size, uploading, onSelectFile, label, className, }: AvatarUploaderProps): React$1.JSX.Element;
785
869
 
786
- export { AccountLockedCard, type AccountLockedCardProps, ActiveBadge, AudioPlayer, type AudioPlayerProps, AvatarUploader, type AvatarUploaderProps, BackgroundEffects, Banner, type BannerProps, type BannerTone, BlogCard, BlogPagination, BlogPostHeader, CapabilityBadge, CategoryFilter, CodeBlock, CodeDemo, ConnectedAccountRow, type ConnectedAccountRowProps, DeprecatedBadge, ErrorBoundary, type ErrorBoundaryLabels, FAQ, type FAQItem, type FAQProps, FeatureLockedState, type FeatureLockedStateProps, FellowBadge, FellowsBanner, type FellowsBannerProps, LLMCopyButton, LinkRow, type LinkRowProps, MediaEmptyState, MediaErrorState, MediaGallery, type MediaGalleryLabels, type MediaGalleryProps, MediaLoadingState, MediaPageHeader, type MediaResult, type MediaStatus, MetricBar, type MetricBarProps, NavStateIndicator, type NavStateIndicatorProps, NotificationBell, type NotificationBellProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, PageEmptyState, PageErrorState, PageHeader, PageLayout, type PageLayoutProps, PageLoadingState, ReadingProgress, SessionItem, type SessionItemProps, SettingRow, type SettingRowProps, type SettingsNavGroup, type SettingsNavItem, SettingsShell, type SettingsShellProps, Sidebar, type SidebarNavItem, type SidebarProps, type SidebarSection, SimplePagination, SourceBadge, StatCard, StatusBadge, ViewOptions };
870
+ interface EyebrowProps extends HTMLAttributes<HTMLDivElement> {
871
+ /** Small leading glyph, e.g. a lucide icon at `w-4 h-4`. */
872
+ icon?: ReactNode;
873
+ /** The label text. */
874
+ children: ReactNode;
875
+ }
876
+ /**
877
+ * The pill badge that sits above a marketing section title — a tinted, hairline
878
+ * capsule holding an icon and a short label ("Why YunUI", "功能特性").
879
+ *
880
+ * Pulled out on its own because it appears far away from any heading too:
881
+ * above a hero title, inside a CTA band, as a "trusted by" chip.
882
+ */
883
+ declare function Eyebrow({ icon, children, className, ...props }: EyebrowProps): React$1.JSX.Element;
884
+ interface SectionHeadingProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
885
+ /** Eyebrow label above the title. Omit for a bare heading. */
886
+ badge?: ReactNode;
887
+ /** Glyph inside the eyebrow pill. */
888
+ icon?: ReactNode;
889
+ /** The section title. */
890
+ title: ReactNode;
891
+ /** Supporting line under the title. */
892
+ subtitle?: ReactNode;
893
+ /** Horizontal alignment. @defaultValue "center" */
894
+ align?: "center" | "left";
895
+ /**
896
+ * Play the entrance animation, staggering badge → title → subtitle.
897
+ * Turn it off for headings that are already visible on load.
898
+ * @defaultValue true
899
+ */
900
+ animate?: boolean;
901
+ }
902
+ /**
903
+ * The centered pill-badge → title → subcopy rhythm that sits above every
904
+ * marketing band (landing page, Fellows, docs index).
905
+ *
906
+ * This exact block was hand-rolled in Yunxin's landing, Yunxin's Fellows page
907
+ * AND YunUI's own showcase site — three copies of the same eight lines, each
908
+ * re-deriving the stagger delays. It lives here now so every surface inherits
909
+ * the same rhythm instead of drifting apart.
910
+ */
911
+ declare function SectionHeading({ badge, icon, title, subtitle, align, animate, className, ...props }: SectionHeadingProps): React$1.JSX.Element;
912
+
913
+ interface FeatureCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
914
+ /** Glyph shown in the tinted icon tile above the title. */
915
+ icon?: ReactNode;
916
+ /** Feature name. */
917
+ title: ReactNode;
918
+ /** Supporting copy. */
919
+ description?: ReactNode;
920
+ /**
921
+ * Stagger the entrance animation by this many milliseconds — pass
922
+ * `index * 100` when mapping a grid. Omit to render without animation.
923
+ */
924
+ delay?: number;
925
+ /** Extra content below the description (a link, a chip row). */
926
+ children?: ReactNode;
927
+ }
928
+ /**
929
+ * The marketing feature tile: a tinted icon block, a title, a line of copy, and
930
+ * — the part that makes it feel considered — a hover that *glows* rather than
931
+ * moves. A hairline catches the light along the top edge and a soft radial
932
+ * bloom fades in at the corner while the card lifts a single pixel.
933
+ *
934
+ * This is the card that Yunxin's landing and Fellows pages repeat; it was
935
+ * hand-rolled in both. Prefer it for uniform feature grids. {@link BentoCard} is
936
+ * the sibling for asymmetric bento layouts — same hover language, glass surface.
937
+ */
938
+ declare function FeatureCard({ icon, title, description, delay, children, className, style, ...props }: FeatureCardProps): React$1.JSX.Element;
939
+
940
+ interface MembershipCardStat {
941
+ /** The number, rendered in tabular figures so a row of them lines up. */
942
+ value: ReactNode;
943
+ /** Short caption under the number. */
944
+ label: ReactNode;
945
+ }
946
+ interface MembershipCardProps extends HTMLAttributes<HTMLDivElement> {
947
+ /** Programme name, top-left — e.g. "Yunxin Fellows". */
948
+ brand?: ReactNode;
949
+ /** Tier pill, top-right. */
950
+ badge?: {
951
+ label: ReactNode;
952
+ icon?: ReactNode;
953
+ };
954
+ /**
955
+ * A large glyph bled off the bottom-right corner at 6% opacity. Pass a
956
+ * lucide icon sized `w-48 h-48`; the component positions it.
957
+ */
958
+ watermark?: ReactNode;
959
+ /** Small uppercase caption above the status line. */
960
+ label?: ReactNode;
961
+ /** The membership's headline state — "Active", "Renews in 12 days". */
962
+ status?: ReactNode;
963
+ /** Up to three figures along the bottom. */
964
+ stats?: MembershipCardStat[];
965
+ /** The little contactless-chip rectangle beside the status. @defaultValue true */
966
+ chip?: boolean;
967
+ }
968
+ /**
969
+ * A physical-feeling membership card: an inverted, lit surface with ambient
970
+ * glows, a bled-off watermark, a light sweep on hover, and a row of figures.
971
+ *
972
+ * Extracted class for class from Yunxin's Fellows landing page, where it is the
973
+ * tangible centrepiece of the pitch. **Yunxin is the original and stays the
974
+ * reference** — a page that adopts this renders exactly what its local copy did.
975
+ *
976
+ * It is theme-adaptive rather than a fixed dark card: the surface is
977
+ * `bg-foreground/80` with `text-background`, so it inverts with the theme and
978
+ * stays striking in light *and* dark, matching the system's solid buttons.
979
+ *
980
+ * The outer element is `block` with `mx-auto`, not a flex child, so the
981
+ * `aspect-[1.586/1]` box (the real credit-card ratio) cannot be stretched or
982
+ * collapsed by a flex parent.
983
+ */
984
+ declare function MembershipCard({ brand, badge, watermark, label, status, stats, chip, className, ...props }: MembershipCardProps): React$1.JSX.Element;
985
+
986
+ interface CTASectionProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
987
+ /** Headline. */
988
+ title: ReactNode;
989
+ /** Supporting line under the headline. */
990
+ body?: ReactNode;
991
+ /** The call to action — a Button, or a pair of them. */
992
+ actions?: ReactNode;
993
+ /** Small label above the headline (an {@link Eyebrow}, a badge). */
994
+ eyebrow?: ReactNode;
995
+ /** Play the staggered entrance animation. @defaultValue true */
996
+ animate?: boolean;
997
+ }
998
+ /**
999
+ * The closing call-to-action band: a large rounded panel with a soft radial
1000
+ * wash blooming from its top edge, a headline, a line of copy and the action.
1001
+ *
1002
+ * Extracted from Yunxin, where the same panel closes both the landing page and
1003
+ * the Fellows page. The wash is an inline `radial-gradient` on `--accent-subtle`
1004
+ * rather than a utility class because it needs a precise ellipse origin.
1005
+ */
1006
+ declare function CTASection({ title, body, actions, eyebrow, animate, className, ...props }: CTASectionProps): React$1.JSX.Element;
1007
+
1008
+ interface PullQuoteProps extends HTMLAttributes<HTMLElement> {
1009
+ /** The quoted line — a manifesto, an ethos, a testimonial. */
1010
+ children: ReactNode;
1011
+ /** Attribution shown under the quote. */
1012
+ cite?: ReactNode;
1013
+ /** Show the leading quote glyph. @defaultValue true */
1014
+ showIcon?: boolean;
1015
+ }
1016
+ /**
1017
+ * A centered manifesto/pull-quote: a soft quote glyph over one large line of
1018
+ * display text that fades from `--foreground` into the muted tone.
1019
+ *
1020
+ * Extracted verbatim from Yunxin's Fellows manifesto block. The gradient text
1021
+ * is the whole point — a flat colour at this size reads as a heading, not a
1022
+ * statement — so it stays a `bg-clip-text` fade rather than a solid fill.
1023
+ */
1024
+ declare function PullQuote({ children, cite, showIcon, className, ...props }: PullQuoteProps): React$1.JSX.Element;
1025
+
1026
+ interface MarketingHeroProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
1027
+ /** Pill badge above the title — pass an {@link Eyebrow} or any node. */
1028
+ badge?: ReactNode;
1029
+ /** Headline. Wrap the part that should fade with {@link HeroAccent}. */
1030
+ title: ReactNode;
1031
+ /** Supporting paragraph. */
1032
+ subtitle?: ReactNode;
1033
+ /** Primary/secondary buttons. */
1034
+ actions?: ReactNode;
1035
+ /** Short reassurance chips under the actions ("Free to apply", "6 weeks"). */
1036
+ facts?: ReactNode[];
1037
+ /** Anchor the scroll-down chevron links to. Omit to hide the chevron. */
1038
+ scrollToId?: string;
1039
+ /** Accessible label for the scroll-down chevron. @defaultValue "Scroll down" */
1040
+ scrollLabel?: string;
1041
+ /** Fill the viewport (`min-h-dvh`). @defaultValue true */
1042
+ fullHeight?: boolean;
1043
+ }
1044
+ /**
1045
+ * The full-bleed landing hero: a soft radial wash, a pill badge, a large
1046
+ * two-tone headline, subcopy, the actions, a row of reassurance chips, and a
1047
+ * bouncing scroll-down chevron.
1048
+ *
1049
+ * Extracted from Yunxin, where the landing page and the Fellows page each
1050
+ * hand-rolled the identical block. Everything is a slot — YunUI owns the
1051
+ * geometry, the wash and the entrance stagger; the host owns every word.
1052
+ */
1053
+ declare function MarketingHero({ badge, title, subtitle, actions, facts, scrollToId, scrollLabel, fullHeight, className, ...props }: MarketingHeroProps): React$1.JSX.Element;
1054
+ /**
1055
+ * The faded tail of a hero headline — wrap the second half of the title so it
1056
+ * washes from the foreground colour into the muted tone.
1057
+ */
1058
+ declare function HeroAccent({ children }: {
1059
+ children: ReactNode;
1060
+ }): React$1.JSX.Element;
1061
+
1062
+ interface ProseArticleProps extends HTMLAttributes<HTMLElement> {
1063
+ children: ReactNode;
1064
+ /**
1065
+ * Drop Tailwind Typography's `prose` classes on the inner wrapper.
1066
+ * Turn it off when the content already ships its own styles (e.g. YunUI's
1067
+ * `MarkdownRenderer`, which would then be styled twice).
1068
+ * @defaultValue true
1069
+ */
1070
+ prose?: boolean;
1071
+ }
1072
+ /**
1073
+ * The reading column for long-form pages — About, a blog post, a changelog.
1074
+ * A 3xl measure, centered, with the page's vertical rhythm.
1075
+ *
1076
+ * Extracted from Yunxin, where About and the blog post page each hand-rolled
1077
+ * the identical wrapper. `prose` is a prop because the two callers differ: MDX
1078
+ * bodies want Typography, `MarkdownRenderer` output does not (see the
1079
+ * double-styling note in the content docs).
1080
+ */
1081
+ declare function ProseArticle({ children, prose, className, ...props }: ProseArticleProps): React$1.JSX.Element;
1082
+ interface BackLinkProps {
1083
+ /** Destination. */
1084
+ href: string;
1085
+ /** Link text — localize it yourself. */
1086
+ children: ReactNode;
1087
+ className?: string;
1088
+ }
1089
+ /**
1090
+ * The muted "‹ back to …" link above a detail page. Routes through the
1091
+ * {@link useYunUI} adapter, so it uses the host framework's Link.
1092
+ */
1093
+ declare function BackLink({ href, children, className }: BackLinkProps): React$1.JSX.Element;
1094
+
1095
+ interface AuthShellProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1096
+ /**
1097
+ * Brand row above the card — the logo + wordmark. Rendered inside a
1098
+ * centered flex row; pass the image and the name as siblings.
1099
+ */
1100
+ brand?: ReactNode;
1101
+ /** When set, the brand row becomes a link to this destination (usually "/"). */
1102
+ homeHref?: string;
1103
+ /** Card heading. */
1104
+ title?: ReactNode;
1105
+ /** Optional line under the heading. */
1106
+ subtitle?: ReactNode;
1107
+ /**
1108
+ * A block above the form for a failed submit — rendered in the soft-error
1109
+ * box these screens all use. Falsy values render nothing.
1110
+ */
1111
+ error?: ReactNode;
1112
+ /** Optional medallion / spinner above the heading, centered. */
1113
+ icon?: ReactNode;
1114
+ /** The form (or whatever the screen is for). */
1115
+ children: ReactNode;
1116
+ /** Content under the card — "Don't have an account?", legal links. */
1117
+ footer?: ReactNode;
1118
+ /** Centers everything in the card — for confirmation and status screens. */
1119
+ centered?: boolean;
1120
+ /**
1121
+ * Width of the column. `sm` suits a sign-in form; `md` suits the wider
1122
+ * error / not-found screens. @defaultValue "sm"
1123
+ */
1124
+ width?: "sm" | "md";
1125
+ /** Extra classes on the card box itself (the wrapper takes `className`). */
1126
+ cardClassName?: string;
1127
+ }
1128
+ /**
1129
+ * The centered single-column screen every auth flow uses: sign in, sign up,
1130
+ * forgot/reset password, verify email, resend verification, OAuth callback.
1131
+ *
1132
+ * Yunxin hand-rolls this shell **nine times** — each copy re-deriving the
1133
+ * viewport centring, the column width, the brand row spacing and the card
1134
+ * chrome. This is a straight extraction of that markup, class for class:
1135
+ * Yunxin is the original and stays the reference, so a screen that adopts
1136
+ * `AuthShell` renders identically to the copy it replaces.
1137
+ *
1138
+ * That is why the panel is `p-6 bg-card border border-border rounded-xl` and
1139
+ * NOT the house `.card` class — `.card` is a 20px radius with a shadow and a
1140
+ * hover transition, so swapping it in would have quietly restyled all nine
1141
+ * screens. Only the parts that are identical in every copy live here; whatever
1142
+ * varies (medallions, spinners, per-screen copy) stays in `children`.
1143
+ */
1144
+ declare function AuthShell({ brand, homeHref, title, subtitle, error, icon, children, footer, centered, width, className, cardClassName, ...props }: AuthShellProps): React$1.JSX.Element;
1145
+
1146
+ interface TableStateProps extends HTMLAttributes<HTMLDivElement> {
1147
+ /** The message — "No results", "Nothing to review". */
1148
+ children: ReactNode;
1149
+ /** Show a spinner before the message. @defaultValue false */
1150
+ loading?: boolean;
1151
+ /** Vertical padding. `card` also draws the card surface. @defaultValue "plain" */
1152
+ surface?: "plain" | "card";
1153
+ }
1154
+ /**
1155
+ * The single muted line an empty or loading table/panel shows in place of rows.
1156
+ *
1157
+ * Yunxin repeats this shape **39 times** across its dashboard and admin pages —
1158
+ * as `card p-8 text-center text-muted-foreground`, as `p-8 …`, and as `py-8 …`,
1159
+ * i.e. three spellings of one idea. This is deliberately *not*
1160
+ * {@link EmptyState}: that is the big icon + title + description + action block
1161
+ * for a whole screen; this is the one-line cell inside a table.
1162
+ */
1163
+ declare function TableState({ children, loading, surface, className, ...props }: TableStateProps): React$1.JSX.Element;
1164
+ interface StatGridProps extends HTMLAttributes<HTMLDivElement> {
1165
+ children: ReactNode;
1166
+ /** Columns at the widest breakpoint. @defaultValue 4 */
1167
+ columns?: 2 | 3 | 4;
1168
+ }
1169
+ /**
1170
+ * The responsive tile row that carries {@link StatCard}s at the top of a
1171
+ * dashboard page — two up on phones, `columns` up from `sm`/`lg`.
1172
+ *
1173
+ * Extracted because Yunxin hand-rolls the same grid on ~12 admin pages, and the
1174
+ * copies had already drifted between `sm:grid-cols-4` and `lg:grid-cols-4`.
1175
+ */
1176
+ declare function StatGrid({ children, columns, className, ...props }: StatGridProps): React$1.JSX.Element;
1177
+ interface DashboardPageProps extends HTMLAttributes<HTMLDivElement> {
1178
+ children: ReactNode;
1179
+ /** Max content width. @defaultValue "7xl" */
1180
+ width?: "5xl" | "6xl" | "7xl";
1181
+ }
1182
+ /**
1183
+ * The content column for a dashboard/admin page: a capped, centered width with
1184
+ * the house vertical rhythm between sections.
1185
+ *
1186
+ * Distinct from {@link PageLayout}, which is the marketing shell (navbar +
1187
+ * footer). Yunxin repeats `space-y-6 max-w-7xl mx-auto` on 11 admin pages.
1188
+ */
1189
+ declare function DashboardPage({ children, width, className, ...props }: DashboardPageProps): React$1.JSX.Element;
1190
+ interface SectionRowProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1191
+ /** Section title. */
1192
+ title: ReactNode;
1193
+ /** Trailing control — a button, a filter, a link. */
1194
+ action?: ReactNode;
1195
+ }
1196
+ /**
1197
+ * A section title with a trailing action on the same baseline — the header that
1198
+ * sits above a table or a card list inside a page (not the page header itself;
1199
+ * that is {@link PageHeader}). Repeated 13 times across Yunxin's dashboard.
1200
+ */
1201
+ declare function SectionRow({ title, action, className, ...props }: SectionRowProps): React$1.JSX.Element;
1202
+
1203
+ interface SectionNavItem {
1204
+ /** Element id to scroll to; also the observed target. */
1205
+ id: string;
1206
+ label: string;
1207
+ /** Shown right-aligned — how many things are in the section. */
1208
+ count?: number;
1209
+ }
1210
+ interface SectionNavProps {
1211
+ items: SectionNavItem[];
1212
+ /** Offset in px for a fixed header, used when scrolling and when spying. */
1213
+ offset?: number;
1214
+ /** Accessible name for the nav landmark — localize it. @defaultValue "Sections" */
1215
+ label?: string;
1216
+ className?: string;
1217
+ }
1218
+ /**
1219
+ * In-page section navigator with scroll spy.
1220
+ *
1221
+ * Written because a digest can run to forty entries across nine sections, and
1222
+ * without this the only way to reach 產業動態 is to scroll past everything
1223
+ * before it. Distinct from `Sidebar`, which is site navigation (brand, logo, routes):
1224
+ * this covers "navigate within one long page". Upstreamed from YunNEWS, where
1225
+ * it was written to library standards from the start.
1226
+ *
1227
+ * IntersectionObserver rather than a scroll handler: a scroll listener fires on
1228
+ * every frame and has to measure each section's box, which is the same work the
1229
+ * browser has already done.
1230
+ */
1231
+ declare function SectionNav({ items, offset, label, className }: SectionNavProps): React$1.JSX.Element | null;
1232
+
1233
+ interface ArchiveCalendarProps {
1234
+ /** Dates that have an issue, as YYYY-MM-DD. Order does not matter. */
1235
+ dates: string[];
1236
+ /** Where a date links to. */
1237
+ href: (date: string) => string;
1238
+ /**
1239
+ * Most months to draw. A ceiling, not a count: the range comes from the data,
1240
+ * so an archive three weeks old draws one month rather than six, five of them
1241
+ * empty.
1242
+ */
1243
+ maxMonths?: number;
1244
+ /** Weekday initials, Sunday first. @defaultValue ["S","M","T","W","T","F","S"] */
1245
+ weekdays?: readonly string[];
1246
+ /** Format a month heading. @defaultValue `${year}-${month}` */
1247
+ formatMonth?: (year: number, month: number) => string;
1248
+ /** Label the per-month count, e.g. `(n) => `${n} issues``. Omit to hide it. */
1249
+ formatCount?: (count: number) => string;
1250
+ /** Accessible label for a filled day. @defaultValue the ISO date */
1251
+ formatDayLabel?: (date: string) => string;
1252
+ className?: string;
1253
+ }
1254
+ declare function ArchiveCalendar({ dates, href, maxMonths, weekdays, formatMonth, formatCount, formatDayLabel, className, }: ArchiveCalendarProps): React$1.JSX.Element | null;
1255
+
1256
+ type StatusPillTone = "neutral" | "success" | "warning" | "danger" | "info";
1257
+ interface StatusPillProps extends HTMLAttributes<HTMLElement> {
1258
+ /** The pill's word ("Engine", "TTFT"). Keep it to one or two words. */
1259
+ label: ReactNode;
1260
+ /** Optional measured value, set in the monospaced face with tabular digits. */
1261
+ value?: ReactNode;
1262
+ tone?: StatusPillTone;
1263
+ /** Reserve this many `ch` for the value, left-aligned, so a changing reading never resizes the pill. */
1264
+ valueMinCh?: number;
1265
+ /** Leading status dot in the tone colour. Default true. */
1266
+ dot?: boolean;
1267
+ /** Leading glyph that replaces the dot (a dot and an icon together read as a badge). */
1268
+ icon?: ReactNode;
1269
+ /** The sentence behind the two words: shown as a tooltip and read by assistive tech. */
1270
+ help?: ReactNode;
1271
+ /**
1272
+ * Flat reading: no capsule border or fill, the value in the body face with tabular digits
1273
+ * (mono stays for ids and code). A dot plus plain muted text, for a bottom status band.
1274
+ */
1275
+ flat?: boolean;
1276
+ /**
1277
+ * Render the single child element as the pill's root instead of an `<li>`, so the pill can be
1278
+ * a button. The child gets the pill classes, data attributes and props; the pill's content
1279
+ * (dot, label, value) replaces the child's children.
1280
+ */
1281
+ asChild?: boolean;
1282
+ className?: string;
1283
+ }
1284
+ declare function StatusPill({ label, value, valueMinCh, tone, dot, icon, help, flat, asChild, className, children, ...rest }: StatusPillProps): React$1.JSX.Element;
1285
+ interface StatusPillBarProps {
1286
+ /** Accessible name of the band ("Last request"). */
1287
+ ariaLabel?: string;
1288
+ /** Announce changes politely (role="status"). Leave off for fast-changing readings. */
1289
+ live?: boolean;
1290
+ children?: ReactNode;
1291
+ className?: string;
1292
+ }
1293
+ /**
1294
+ * The wrapping bottom band. Renders nothing at all when it has no children, so a
1295
+ * band with nothing to say leaves no gap. Gaps are 8px, 4px above and 12px below
1296
+ * (YunAudio's statusBandTopPadding / BottomPadding) unless `className` overrides.
1297
+ */
1298
+ declare function StatusPillBar({ ariaLabel, live, children, className }: StatusPillBarProps): React$1.JSX.Element | null;
1299
+
1300
+ interface StatusIslandProps {
1301
+ open: boolean;
1302
+ /** Esc, an outside press, a swipe down, or a nav row asked to close. */
1303
+ onClose: () => void;
1304
+ /** The trigger the card grows from. Focus returns to it on close; a press on it is not "outside". */
1305
+ anchorRef: RefObject<HTMLElement | null>;
1306
+ /** Accessible name of the card. */
1307
+ label: string;
1308
+ /** Card width on wider screens, in px. Default 360. */
1309
+ width?: number;
1310
+ children?: ReactNode;
1311
+ className?: string;
1312
+ }
1313
+ declare function StatusIsland({ open, onClose, anchorRef, label, width, children, className }: StatusIslandProps): React$1.ReactPortal | null;
1314
+ interface StatusIslandHeaderProps {
1315
+ /** Leading status dot (already toned by the host). */
1316
+ indicator?: ReactNode;
1317
+ title: ReactNode;
1318
+ /** Plain-text tag beside the title ("VLM"). */
1319
+ tag?: ReactNode;
1320
+ /** Second line: version · uptime. */
1321
+ subtitle?: ReactNode;
1322
+ /** One action at the right edge. */
1323
+ action?: ReactNode;
1324
+ className?: string;
1325
+ }
1326
+ /** The island's top row: state dot, name, tag, one line of detail and at most one action. */
1327
+ declare function StatusIslandHeader({ indicator, title, tag, subtitle, action, className }: StatusIslandHeaderProps): React$1.JSX.Element;
1328
+ interface StatusIslandCardProps {
1329
+ /** Small section title above the content. */
1330
+ title?: ReactNode;
1331
+ /** Right-aligned note on the title line (source and age). */
1332
+ note?: ReactNode;
1333
+ children?: ReactNode;
1334
+ className?: string;
1335
+ "data-testid"?: string;
1336
+ }
1337
+ /** A grouped card: an elevated rounded surface, the unit of the island's layout. */
1338
+ declare function StatusIslandCard({ title, note, children, className, ...rest }: StatusIslandCardProps): React$1.JSX.Element;
1339
+ interface StatusIslandMetricProps {
1340
+ label: ReactNode;
1341
+ /** The reading; pass an em dash (with `title`) when unknown. */
1342
+ value: ReactNode;
1343
+ /** Unit right after the number, smaller and muted, on the same baseline. */
1344
+ unit?: ReactNode;
1345
+ /** Tooltip, e.g. the reason a reading is unknown. */
1346
+ title?: string;
1347
+ className?: string;
1348
+ }
1349
+ /** One label/value line inside a card, tabular digits so a changing reading never moves its neighbours. */
1350
+ declare function StatusIslandMetric({ label, value, unit, title, className }: StatusIslandMetricProps): React$1.JSX.Element;
1351
+ /** Several nav rows as ONE card with hairline separators (the iOS Settings list). */
1352
+ declare function StatusIslandNavGroup({ children, className }: {
1353
+ children?: ReactNode;
1354
+ className?: string;
1355
+ }): React$1.JSX.Element;
1356
+ interface StatusIslandNavRowProps {
1357
+ label: ReactNode;
1358
+ /** Muted detail beside the label ("2 running"). */
1359
+ detail?: ReactNode;
1360
+ href?: string;
1361
+ onClick?: () => void;
1362
+ className?: string;
1363
+ }
1364
+ /** A card-shaped row with a chevron (YunAudio's "Devices >" row). A link when `href` is set. */
1365
+ declare function StatusIslandNavRow({ label, detail, href, onClick, className }: StatusIslandNavRowProps): React$1.JSX.Element;
1366
+
1367
+ interface DisclosureCardProps {
1368
+ /** Header label. */
1369
+ title: ReactNode;
1370
+ /** One-line state of the section, shown (truncated) only while collapsed. */
1371
+ summary?: ReactNode;
1372
+ /** Initial state when uncontrolled. Default collapsed. */
1373
+ defaultOpen?: boolean;
1374
+ /** Controlled open state. */
1375
+ open?: boolean;
1376
+ onOpenChange?: (open: boolean) => void;
1377
+ className?: string;
1378
+ /** The section body, rendered while open. */
1379
+ children?: ReactNode;
1380
+ }
1381
+ /** Collapsible card with a header summary visible only when closed. Uses the `.card`-style surface without hover lift. */
1382
+ declare function DisclosureCard({ title, summary, defaultOpen, open, onOpenChange, className, children, }: DisclosureCardProps): React$1.JSX.Element;
1383
+
1384
+ type DetailTone = "neutral" | "success" | "warning" | "error";
1385
+ interface DetailRowProps {
1386
+ /** Caption on the left. Never shrinks and stays on one line. */
1387
+ label: ReactNode;
1388
+ /** Value on the right, right-aligned. */
1389
+ value: ReactNode;
1390
+ /** Colors the value; neutral uses the primary text color. Hue stays reserved for status. */
1391
+ tone?: DetailTone;
1392
+ /** Set the value in the monospaced face with tabular digits. Default true. */
1393
+ mono?: boolean;
1394
+ /** Maximum lines of the value before tail truncation. Default 3. */
1395
+ maxLines?: number;
1396
+ /** Tooltip with the full text. Defaults to the value when it is a string or number. */
1397
+ title?: string;
1398
+ className?: string;
1399
+ }
1400
+ /** One caption/value line. Use inside `DetailList`. */
1401
+ declare function DetailRow({ label, value, tone, mono, maxLines, title, className }: DetailRowProps): React$1.JSX.Element;
1402
+ interface DetailListProps {
1403
+ children?: ReactNode;
1404
+ /** Accessible name of the list. */
1405
+ ariaLabel?: string;
1406
+ className?: string;
1407
+ }
1408
+ /** A definition list of `DetailRow`s, 8px apart. */
1409
+ declare function DetailList({ children, ariaLabel, className }: DetailListProps): React$1.JSX.Element;
1410
+ interface FigureProps {
1411
+ /** Caption above the value. */
1412
+ label: ReactNode;
1413
+ /** The reading. Mono, 14px, medium weight, tabular digits. */
1414
+ value: ReactNode;
1415
+ /** Unit after the value, 11px and tertiary (muted fails AA at this size), baseline-aligned. */
1416
+ unit?: ReactNode;
1417
+ className?: string;
1418
+ }
1419
+ /** A captioned number: caption above, value with a baseline-aligned unit below. */
1420
+ declare function Figure({ label, value, unit, className }: FigureProps): React$1.JSX.Element;
1421
+
1422
+ interface WorkspaceLayoutProps {
1423
+ /** The flexible master column. */
1424
+ list: ReactNode;
1425
+ /** The inspector column. */
1426
+ detail: ReactNode;
1427
+ /** Fixed inspector width in px from the `xl` breakpoint up. Default 360. */
1428
+ detailWidth?: number;
1429
+ /**
1430
+ * Below `xl` the inspector is hidden by default so the host can open it in a Sheet. Set
1431
+ * `stackDetail` to render it under the list instead.
1432
+ */
1433
+ stackDetail?: boolean;
1434
+ /** Scroll each column independently from `xl` up. The layout then needs a bounded height (`h-full`, `h-dvh`, ...). */
1435
+ scroll?: boolean;
1436
+ /** Accessible name of the inspector region. */
1437
+ detailLabel?: string;
1438
+ className?: string;
1439
+ }
1440
+ /**
1441
+ * Master/detail layout: a flexible list and a fixed-width inspector column, `gap-4`, no rules between
1442
+ * them. Below `xl` only the list shows (or both stacked with `stackDetail`).
1443
+ */
1444
+ declare function WorkspaceLayout({ list, detail, detailWidth, stackDetail, scroll, detailLabel, className, }: WorkspaceLayoutProps): React$1.JSX.Element;
1445
+ interface GroupLabelProps {
1446
+ /** The uppercase 11px label above a card. */
1447
+ title: ReactNode;
1448
+ /** One-line caption under the title. */
1449
+ description?: ReactNode;
1450
+ /** Slot on the right, usually a ghost button ("Refresh"). */
1451
+ action?: ReactNode;
1452
+ /** Element for the title. Default `h3`. */
1453
+ as?: ElementType;
1454
+ className?: string;
1455
+ }
1456
+ /** Section heading that sits above a card instead of inside it. Uses the existing `.text-label` style. */
1457
+ declare function GroupLabel({ title, description, action, as: Title, className }: GroupLabelProps): React$1.JSX.Element;
1458
+
1459
+ /**
1460
+ * Collapses an exact repetition of the complete word sequence into one copy, only when the
1461
+ * repeated unit ends with `. ! ? 。 ! ?`. Everything else is returned trimmed and unchanged.
1462
+ * Words are whitespace-separated, found with a KMP failure function like the Swift original.
1463
+ */
1464
+ declare function collapseRepeatedMessage(fullText: string): string;
1465
+ interface BoundedMessage {
1466
+ /** The text to display: repeated sentences collapsed. */
1467
+ text: string;
1468
+ /** The complete original text, for the tooltip. */
1469
+ title: string;
1470
+ /** Line clamp with tail truncation; spread onto the element that shows `text`. */
1471
+ style: CSSProperties;
1472
+ }
1473
+ /** Collapses repeats and clamps lines (default 3). Spread `style`, render `text`, set `title`. */
1474
+ declare function boundedMessage(fullText: string, maximumLines?: number): BoundedMessage;
1475
+ interface BoundedTextProps {
1476
+ /** The full message, as received. */
1477
+ text: string;
1478
+ /** Maximum visible lines. Default 3. */
1479
+ maxLines?: number;
1480
+ /** Element to render. Default `p`. */
1481
+ as?: ElementType;
1482
+ className?: string;
1483
+ children?: ReactNode;
1484
+ }
1485
+ /** A message bounded to a few lines, repeated sentences collapsed, the full text in the tooltip. */
1486
+ declare function BoundedText({ text, maxLines, as: Tag, className }: BoundedTextProps): React$1.JSX.Element;
1487
+
1488
+ type HoverRowProps = (HTMLAttributes<HTMLDivElement> & {
1489
+ onClick?: undefined;
1490
+ }) | (ButtonHTMLAttributes<HTMLButtonElement> & {
1491
+ onClick: NonNullable<ButtonHTMLAttributes<HTMLButtonElement>["onClick"]>;
1492
+ });
1493
+ /** A list row with a hover fill. Pass `onClick` to render a real `button`; otherwise a plain `div`. */
1494
+ declare function HoverRow(props: HoverRowProps): React$1.JSX.Element;
1495
+
1496
+ interface TraceTrack {
1497
+ id: string;
1498
+ /** Row heading, e.g. "Request 3" or "GPU". */
1499
+ label: ReactNode;
1500
+ }
1501
+ interface TraceSpan {
1502
+ id: string;
1503
+ /** `TraceTrack.id` this span is drawn on. */
1504
+ track: string;
1505
+ /** Start on the time axis (same unit as `duration`, ms by default). */
1506
+ start: number;
1507
+ /** End. Omit for a span still in progress: it runs to the axis end. */
1508
+ end?: number;
1509
+ /** Phase name drawn inside the span and used as its accessible name. */
1510
+ label: string;
1511
+ tone?: SegmentTone;
1512
+ /** Explicit CSS color, overriding `tone`. */
1513
+ color?: string;
1514
+ /** Expanded-row content. A span without detail is not expandable. */
1515
+ detail?: ReactNode;
1516
+ }
1517
+ interface TraceMarker {
1518
+ id: string;
1519
+ /** Position on the time axis. */
1520
+ at: number;
1521
+ label: string;
1522
+ tone?: SegmentTone;
1523
+ color?: string;
1524
+ /** Optional track to attach the marker to; omit for a full-height line. */
1525
+ track?: string;
1526
+ }
1527
+ interface TraceTimelineLabels {
1528
+ /** Heading of the timeline/table view switch group. */
1529
+ view?: string;
1530
+ timeline?: string;
1531
+ table?: string;
1532
+ /** Table column headings. */
1533
+ track?: string;
1534
+ span?: string;
1535
+ start?: string;
1536
+ end?: string;
1537
+ duration?: string;
1538
+ marker?: string;
1539
+ /** Appended to a span that has no `end` yet. */
1540
+ running?: string;
1541
+ /** Spoken hint for an expandable span. */
1542
+ expand?: string;
1543
+ }
1544
+ interface TraceTimelineProps {
1545
+ tracks: TraceTrack[];
1546
+ spans: TraceSpan[];
1547
+ markers?: TraceMarker[];
1548
+ /** Axis length. Defaults to the latest span end / marker position. */
1549
+ duration?: number;
1550
+ /** Format a time value for the axis, tooltips and table (default `"12 ms"`). */
1551
+ formatTime?: (t: number) => string;
1552
+ /** Accessible name of the whole timeline, e.g. "Request 8f2c timeline". */
1553
+ label: string;
1554
+ labels?: TraceTimelineLabels;
1555
+ /** Controlled set of expanded span ids; pair with `onExpandedChange`. */
1556
+ expanded?: string[];
1557
+ defaultExpanded?: string[];
1558
+ onExpandedChange?: (ids: string[]) => void;
1559
+ /** `"timeline"` (default) or the accessible `"table"` fallback. */
1560
+ view?: "timeline" | "table";
1561
+ defaultView?: "timeline" | "table";
1562
+ onViewChange?: (view: "timeline" | "table") => void;
1563
+ className?: string;
1564
+ }
1565
+ /**
1566
+ * Parallel-track, time-proportional waterfall with expandable spans, point
1567
+ * markers, roving-tabindex keyboard navigation (arrows / Home / End, Enter or
1568
+ * Space to expand) and a real `<table>` fallback view.
1569
+ */
1570
+ declare function TraceTimeline({ tracks, spans, markers, duration, formatTime, label, labels, expanded: expandedProp, defaultExpanded, onExpandedChange, view: viewProp, defaultView, onViewChange, className, }: TraceTimelineProps): React$1.JSX.Element;
1571
+
1572
+ interface TokenAlternative {
1573
+ token: string;
1574
+ logprob: number;
1575
+ }
1576
+ interface TokenProb {
1577
+ token: string;
1578
+ logprob: number;
1579
+ /** The runner-up candidates the engine reported for this position, best first. */
1580
+ alternatives?: readonly TokenAlternative[];
1581
+ }
1582
+ type ConfidenceBand = "high" | "medium" | "low" | "veryLow";
1583
+ /** Probability of a log-probability, clamped to 0..1. */
1584
+ declare const probability: (logprob: number) => number;
1585
+ /** High from 90%, medium from 50%, low from 20%, below that very low. */
1586
+ declare function confidenceBand(logprob: number): ConfidenceBand;
1587
+ interface ConfidenceSummary {
1588
+ count: number;
1589
+ /** Arithmetic mean of the chosen tokens' probabilities, 0..1; null for an empty reply. */
1590
+ meanProbability: number | null;
1591
+ /** Tokens the model picked with under 50% probability. */
1592
+ below50: number;
1593
+ /** The least certain tokens (indexes into the input), least certain first. */
1594
+ lowest: number[];
1595
+ }
1596
+ declare function summarizeConfidence(tokens: readonly TokenProb[], lowestCount?: number): ConfidenceSummary;
1597
+ interface TokenConfidenceLabels {
1598
+ /** Section title. */
1599
+ title: ReactNode;
1600
+ /** Summary line, built by the host from the numbers (so the host owns plurals and units). */
1601
+ summary: ReactNode;
1602
+ /** Legend entry per band. */
1603
+ legend: Record<ConfidenceBand, ReactNode>;
1604
+ /** Tooltip / screen-reader text for one token. */
1605
+ describe: (token: TokenProb, probabilityValue: number) => string;
1606
+ /** The caveat that confidence is not correctness. */
1607
+ note?: ReactNode;
1608
+ }
1609
+ interface TokenConfidenceProps {
1610
+ tokens: readonly TokenProb[];
1611
+ labels: TokenConfidenceLabels;
1612
+ /** Cap on rendered tokens; the rest are summarised only. Default 4000. */
1613
+ maxTokens?: number;
1614
+ className?: string;
1615
+ }
1616
+ declare function TokenConfidence({ tokens, labels, maxTokens, className }: TokenConfidenceProps): React$1.JSX.Element;
1617
+
1618
+ interface MediaBox {
1619
+ id: string;
1620
+ /** Left, top, width, height as fractions of the image (0..1). */
1621
+ x: number;
1622
+ y: number;
1623
+ w: number;
1624
+ h: number;
1625
+ label?: string;
1626
+ }
1627
+ interface MediaInspectorProps {
1628
+ src: string;
1629
+ alt: string;
1630
+ /** The extracted result (text, table, JSON). Scrolls inside when long. */
1631
+ result: ReactNode;
1632
+ boxes?: readonly MediaBox[];
1633
+ activeId?: string | null;
1634
+ onActiveChange?: (id: string | null) => void;
1635
+ labels: {
1636
+ preview: ReactNode;
1637
+ result: ReactNode;
1638
+ noBoxes?: ReactNode;
1639
+ };
1640
+ /** One line under the image: size, format, timing. */
1641
+ caption?: ReactNode;
1642
+ className?: string;
1643
+ }
1644
+ declare function MediaInspector({ src, alt, result, boxes, activeId, onActiveChange, labels, caption, className }: MediaInspectorProps): React$1.JSX.Element;
1645
+
1646
+ type StreamState = "idle" | "connecting" | "open" | "closed" | "error";
1647
+ interface StreamHealthRow {
1648
+ label: ReactNode;
1649
+ /** Pass null when unmeasured: rendered as an em dash with `unknownTitle`. */
1650
+ value: ReactNode | null;
1651
+ unit?: ReactNode;
1652
+ /** Where the number comes from: "browser" or "server", so the two never blur. */
1653
+ source?: ReactNode;
1654
+ unknownTitle?: string;
1655
+ }
1656
+ interface StreamHealthProps {
1657
+ title: ReactNode;
1658
+ state: StreamState;
1659
+ /** The state in words, from the host's dictionary. */
1660
+ stateLabel: ReactNode;
1661
+ rows: readonly StreamHealthRow[];
1662
+ /** One sentence under the rows: what the test did, or why it could not run. */
1663
+ note?: ReactNode;
1664
+ /** The action (a test button), at the right of the header. */
1665
+ action?: ReactNode;
1666
+ className?: string;
1667
+ }
1668
+ declare function StreamHealth({ title, state, stateLabel, rows, note, action, className }: StreamHealthProps): React$1.JSX.Element;
1669
+
1670
+ export { AccountLockedCard, type AccountLockedCardProps, ActiveBadge, ArchiveCalendar, type ArchiveCalendarProps, AudioPlayer, type AudioPlayerProps, AuthShell, type AuthShellProps, AvatarUploader, type AvatarUploaderProps, BackLink, type BackLinkProps, BackgroundEffects, Banner, type BannerProps, type BannerTone, BlogCard, BlogPagination, BlogPostHeader, type BoundedMessage, BoundedText, type BoundedTextProps, CTASection, type CTASectionProps, CapabilityBadge, CategoryFilter, CodeBlock, CodeDemo, type ConfidenceBand, type ConfidenceSummary, ConnectedAccountRow, type ConnectedAccountRowProps, DashboardPage, type DashboardPageProps, DeprecatedBadge, DetailList, type DetailListProps, DetailRow, type DetailRowProps, type DetailTone, DisclosureCard, type DisclosureCardProps, ErrorBoundary, type ErrorBoundaryLabels, Eyebrow, type EyebrowProps, FAQ, type FAQItem, type FAQProps, FeatureCard, type FeatureCardProps, FeatureLockedState, type FeatureLockedStateProps, FellowBadge, FellowsBanner, type FellowsBannerProps, Figure, type FigureProps, GroupLabel, type GroupLabelProps, HeroAccent, HoverRow, type HoverRowProps, LLMCopyButton, LinkRow, type LinkRowProps, MarketingHero, type MarketingHeroProps, type MediaBox, MediaEmptyState, MediaErrorState, MediaGallery, type MediaGalleryLabels, type MediaGalleryProps, MediaInspector, type MediaInspectorProps, MediaLoadingState, MediaPageHeader, type MediaResult, type MediaStatus, MembershipCard, type MembershipCardProps, type MembershipCardStat, MetricBar, type MetricBarProps, NavStateIndicator, type NavStateIndicatorProps, NotificationBell, type NotificationBellProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, PageEmptyState, PageErrorState, PageHeader, PageLayout, type PageLayoutProps, PageLoadingState, ProseArticle, type ProseArticleProps, PullQuote, type PullQuoteProps, ReadingProgress, SectionHeading, type SectionHeadingProps, SectionNav, type SectionNavItem, type SectionNavProps, SectionRow, type SectionRowProps, SessionItem, type SessionItemProps, SettingRow, type SettingRowProps, type SettingsNavGroup, type SettingsNavItem, SettingsShell, type SettingsShellProps, Sidebar, type SidebarNavItem, type SidebarProps, type SidebarSection, SimplePagination, SourceBadge, StatCard, StatGrid, type StatGridProps, StatusBadge, StatusIsland, StatusIslandCard, type StatusIslandCardProps, StatusIslandHeader, type StatusIslandHeaderProps, StatusIslandMetric, type StatusIslandMetricProps, StatusIslandNavGroup, StatusIslandNavRow, type StatusIslandNavRowProps, type StatusIslandProps, StatusPill, StatusPillBar, type StatusPillBarProps, type StatusPillProps, type StatusPillTone, StreamHealth, type StreamHealthProps, type StreamHealthRow, type StreamState, TableState, type TableStateProps, type TokenAlternative, TokenConfidence, type TokenConfidenceLabels, type TokenConfidenceProps, type TokenProb, type TraceMarker, type TraceSpan, TraceTimeline, type TraceTimelineLabels, type TraceTimelineProps, type TraceTrack, ViewOptions, WorkspaceLayout, type WorkspaceLayoutProps, boundedMessage, collapseRepeatedMessage, confidenceBand, probability, summarizeConfidence };