@yuhuanowo/yunui 0.2.16 → 0.2.18

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 (455) hide show
  1. package/README.md +13 -2
  2. package/README.zh-CN.md +14 -1
  3. package/README.zh-TW.md +14 -1
  4. package/dist/ai.d.ts +191 -7
  5. package/dist/ai.js +662 -168
  6. package/dist/ai.js.map +1 -1
  7. package/dist/chat.d.ts +31 -5
  8. package/dist/chat.js +71 -13
  9. package/dist/chat.js.map +1 -1
  10. package/dist/{chunk-5E3O6ANF.js → chunk-AFVENY4D.js} +386 -74
  11. package/dist/chunk-AFVENY4D.js.map +1 -0
  12. package/dist/{chunk-GSPJ5YI6.js → chunk-GAXVET76.js} +36 -24
  13. package/dist/chunk-GAXVET76.js.map +1 -0
  14. package/dist/{chunk-UYYG4XDW.js → chunk-LEBQPP4B.js} +80 -7
  15. package/dist/chunk-LEBQPP4B.js.map +1 -0
  16. package/dist/chunk-ST6TSBVQ.js +208 -0
  17. package/dist/chunk-ST6TSBVQ.js.map +1 -0
  18. package/dist/chunk-V7VJKZ5Q.js +254 -0
  19. package/dist/chunk-V7VJKZ5Q.js.map +1 -0
  20. package/dist/{chunk-5TOGZTAO.js → chunk-YKWRCA2S.js} +184 -208
  21. package/dist/chunk-YKWRCA2S.js.map +1 -0
  22. package/dist/content.d.ts +48 -6
  23. package/dist/content.js +233 -49
  24. package/dist/content.js.map +1 -1
  25. package/dist/index.d.ts +319 -22
  26. package/dist/index.js +4 -4
  27. package/dist/patterns.d.ts +557 -25
  28. package/dist/patterns.js +1076 -186
  29. package/dist/patterns.js.map +1 -1
  30. package/icons/apps/aistudio.webp +0 -0
  31. package/icons/apps/application.png +0 -0
  32. package/icons/apps/baixiaoying.webp +0 -0
  33. package/icons/apps/coze.webp +0 -0
  34. package/icons/apps/dify.webp +0 -0
  35. package/icons/apps/doubao.webp +0 -0
  36. package/icons/apps/flowith.webp +0 -0
  37. package/icons/apps/gemini.webp +0 -0
  38. package/icons/apps/github-copilot.webp +0 -0
  39. package/icons/apps/google.webp +0 -0
  40. package/icons/apps/grok.webp +0 -0
  41. package/icons/apps/kimi.webp +0 -0
  42. package/icons/apps/longcat.webp +0 -0
  43. package/icons/apps/metaso.webp +0 -0
  44. package/icons/apps/monica.webp +0 -0
  45. package/icons/apps/n8n.webp +0 -0
  46. package/icons/apps/nm-search.webp +0 -0
  47. package/icons/apps/notebooklm.webp +0 -0
  48. package/icons/apps/perplexity.webp +0 -0
  49. package/icons/apps/poe.webp +0 -0
  50. package/icons/apps/qingyan.webp +0 -0
  51. package/icons/apps/stepfun.webp +0 -0
  52. package/icons/apps/tiangong.webp +0 -0
  53. package/icons/apps/xiaoyi.webp +0 -0
  54. package/icons/apps/yuanbao.webp +0 -0
  55. package/icons/apps/zai.webp +0 -0
  56. package/icons/models/ai21.webp +0 -0
  57. package/icons/models/aimass.webp +0 -0
  58. package/icons/models/anthropic.webp +0 -0
  59. package/icons/models/baichuan.webp +0 -0
  60. package/icons/models/byte_dance.webp +0 -0
  61. package/icons/models/chatglm.webp +0 -0
  62. package/icons/models/claude.webp +0 -0
  63. package/icons/models/codegeex.webp +0 -0
  64. package/icons/models/cogview3flash.webp +0 -0
  65. package/icons/models/cohere.webp +0 -0
  66. package/icons/models/copilot.webp +0 -0
  67. package/icons/models/dalle.webp +0 -0
  68. package/icons/models/dbrx.webp +0 -0
  69. package/icons/models/deepseek.webp +0 -0
  70. package/icons/models/doubao.webp +0 -0
  71. package/icons/models/flux.webp +0 -0
  72. package/icons/models/gemini.webp +0 -0
  73. package/icons/models/gemma.webp +0 -0
  74. package/icons/models/google.webp +0 -0
  75. package/icons/models/grok.webp +0 -0
  76. package/icons/models/hailuo.webp +0 -0
  77. package/icons/models/huggingface.webp +0 -0
  78. package/icons/models/hunyuan.webp +0 -0
  79. package/icons/models/ibm.webp +0 -0
  80. package/icons/models/ideogram.webp +0 -0
  81. package/icons/models/internlm.webp +0 -0
  82. package/icons/models/jina.webp +0 -0
  83. package/icons/models/llava.webp +0 -0
  84. package/icons/models/luma.webp +0 -0
  85. package/icons/models/magic.webp +0 -0
  86. package/icons/models/microsoft.webp +0 -0
  87. package/icons/models/midjourney.webp +0 -0
  88. package/icons/models/minimax.webp +0 -0
  89. package/icons/models/mistral.webp +0 -0
  90. package/icons/models/moonshot.webp +0 -0
  91. package/icons/models/nousresearch.webp +0 -0
  92. package/icons/models/nvidia.webp +0 -0
  93. package/icons/models/o3.webp +0 -0
  94. package/icons/models/openai.webp +0 -0
  95. package/icons/models/palm.webp +0 -0
  96. package/icons/models/perplexity.webp +0 -0
  97. package/icons/models/qwen.webp +0 -0
  98. package/icons/models/stability.webp +0 -0
  99. package/icons/models/step.webp +0 -0
  100. package/icons/models/suno.webp +0 -0
  101. package/icons/models/upstage.webp +0 -0
  102. package/icons/models/vidu.webp +0 -0
  103. package/icons/models/volcengine.webp +0 -0
  104. package/icons/models/voyageai.webp +0 -0
  105. package/icons/models/wenxin.webp +0 -0
  106. package/icons/models/xirang.png +0 -0
  107. package/icons/models/xirang_dark.png +0 -0
  108. package/icons/models/yi.webp +0 -0
  109. package/icons/models/zai.webp +0 -0
  110. package/icons/models/zero-one.webp +0 -0
  111. package/icons/models/zhipu.webp +0 -0
  112. package/icons/providers/302ai.webp +0 -0
  113. package/icons/providers/DMXAPI-to-img.webp +0 -0
  114. package/icons/providers/Tesseract.js.png +0 -0
  115. package/icons/providers/ace.webp +0 -0
  116. package/icons/providers/adobe.webp +0 -0
  117. package/icons/providers/adobefirefly.webp +0 -0
  118. package/icons/providers/agentvoice.webp +0 -0
  119. package/icons/providers/agui.webp +0 -0
  120. package/icons/providers/ai2.webp +0 -0
  121. package/icons/providers/ai21.webp +0 -0
  122. package/icons/providers/ai302.webp +0 -0
  123. package/icons/providers/ai360.webp +0 -0
  124. package/icons/providers/aiOnly.webp +0 -0
  125. package/icons/providers/aihubmix.webp +0 -0
  126. package/icons/providers/aimass.webp +0 -0
  127. package/icons/providers/aionlabs.webp +0 -0
  128. package/icons/providers/airjelly.webp +0 -0
  129. package/icons/providers/aistudio.webp +0 -0
  130. package/icons/providers/akashchat.webp +0 -0
  131. package/icons/providers/alephalpha.webp +0 -0
  132. package/icons/providers/alibaba.webp +0 -0
  133. package/icons/providers/alibabacloud.webp +0 -0
  134. package/icons/providers/amp.webp +0 -0
  135. package/icons/providers/antgroup.webp +0 -0
  136. package/icons/providers/anthropic.webp +0 -0
  137. package/icons/providers/antigravity.webp +0 -0
  138. package/icons/providers/anyscale.webp +0 -0
  139. package/icons/providers/apertis.webp +0 -0
  140. package/icons/providers/apple.webp +0 -0
  141. package/icons/providers/arcee.webp +0 -0
  142. package/icons/providers/askverdict.webp +0 -0
  143. package/icons/providers/assemblyai.webp +0 -0
  144. package/icons/providers/atlascloud.webp +0 -0
  145. package/icons/providers/automatic.webp +0 -0
  146. package/icons/providers/aws-bedrock.webp +0 -0
  147. package/icons/providers/aws.webp +0 -0
  148. package/icons/providers/aya.webp +0 -0
  149. package/icons/providers/azure.webp +0 -0
  150. package/icons/providers/azureai.webp +0 -0
  151. package/icons/providers/baai.webp +0 -0
  152. package/icons/providers/baichuan.webp +0 -0
  153. package/icons/providers/baidu-cloud.webp +0 -0
  154. package/icons/providers/baidu.webp +0 -0
  155. package/icons/providers/baiducloud.webp +0 -0
  156. package/icons/providers/bailian.webp +0 -0
  157. package/icons/providers/baseten.webp +0 -0
  158. package/icons/providers/bedrock.webp +0 -0
  159. package/icons/providers/bfl.webp +0 -0
  160. package/icons/providers/bigModel.webp +0 -0
  161. package/icons/providers/bilibili.webp +0 -0
  162. package/icons/providers/bilibiliindex.webp +0 -0
  163. package/icons/providers/bing.webp +0 -0
  164. package/icons/providers/briaai.webp +0 -0
  165. package/icons/providers/burncloud.webp +0 -0
  166. package/icons/providers/bytedance.webp +0 -0
  167. package/icons/providers/capcut.webp +0 -0
  168. package/icons/providers/centml.webp +0 -0
  169. package/icons/providers/cephalon.jpeg +0 -0
  170. package/icons/providers/cerebras.webp +0 -0
  171. package/icons/providers/chatglm.webp +0 -0
  172. package/icons/providers/cherryin.png +0 -0
  173. package/icons/providers/cherrystudio.webp +0 -0
  174. package/icons/providers/civitai.webp +0 -0
  175. package/icons/providers/claude.webp +0 -0
  176. package/icons/providers/claudecode.webp +0 -0
  177. package/icons/providers/cline.webp +0 -0
  178. package/icons/providers/clipdrop.webp +0 -0
  179. package/icons/providers/cloudflare.webp +0 -0
  180. package/icons/providers/codebuddy.webp +0 -0
  181. package/icons/providers/codeflicker.webp +0 -0
  182. package/icons/providers/codegeex.webp +0 -0
  183. package/icons/providers/codex.webp +0 -0
  184. package/icons/providers/cogvideo.webp +0 -0
  185. package/icons/providers/cogview.webp +0 -0
  186. package/icons/providers/cogview3flash.webp +0 -0
  187. package/icons/providers/cohere.webp +0 -0
  188. package/icons/providers/colab.webp +0 -0
  189. package/icons/providers/cometapi.webp +0 -0
  190. package/icons/providers/comfyui.webp +0 -0
  191. package/icons/providers/commanda.webp +0 -0
  192. package/icons/providers/copilot.webp +0 -0
  193. package/icons/providers/copilotkit.webp +0 -0
  194. package/icons/providers/coqui.webp +0 -0
  195. package/icons/providers/coze.webp +0 -0
  196. package/icons/providers/crewai.webp +0 -0
  197. package/icons/providers/crusoe.webp +0 -0
  198. package/icons/providers/cursor.webp +0 -0
  199. package/icons/providers/cybercut.webp +0 -0
  200. package/icons/providers/dalle.webp +0 -0
  201. package/icons/providers/dbrx.webp +0 -0
  202. package/icons/providers/deepai.webp +0 -0
  203. package/icons/providers/deepcogito.webp +0 -0
  204. package/icons/providers/deepinfra.webp +0 -0
  205. package/icons/providers/deepl.webp +0 -0
  206. package/icons/providers/deepmind.webp +0 -0
  207. package/icons/providers/deepseek.webp +0 -0
  208. package/icons/providers/devin.webp +0 -0
  209. package/icons/providers/dify.webp +0 -0
  210. package/icons/providers/dmxapi-logo-dark.webp +0 -0
  211. package/icons/providers/dmxapi-logo.webp +0 -0
  212. package/icons/providers/doc2x.webp +0 -0
  213. package/icons/providers/docsearch.webp +0 -0
  214. package/icons/providers/dolphin.webp +0 -0
  215. package/icons/providers/doubao.webp +0 -0
  216. package/icons/providers/dreammachine.webp +0 -0
  217. package/icons/providers/elevenlabs.webp +0 -0
  218. package/icons/providers/elevenx.webp +0 -0
  219. package/icons/providers/essentialai.webp +0 -0
  220. package/icons/providers/exa.webp +0 -0
  221. package/icons/providers/fal.webp +0 -0
  222. package/icons/providers/fastgpt.webp +0 -0
  223. package/icons/providers/featherless.webp +0 -0
  224. package/icons/providers/figma.webp +0 -0
  225. package/icons/providers/fireworks.webp +0 -0
  226. package/icons/providers/fishaudio.webp +0 -0
  227. package/icons/providers/flora.webp +0 -0
  228. package/icons/providers/flowith.webp +0 -0
  229. package/icons/providers/flux.webp +0 -0
  230. package/icons/providers/friendli.webp +0 -0
  231. package/icons/providers/gemini.webp +0 -0
  232. package/icons/providers/geminicli.webp +0 -0
  233. package/icons/providers/gemma.webp +0 -0
  234. package/icons/providers/gitee-ai.webp +0 -0
  235. package/icons/providers/giteeai.webp +0 -0
  236. package/icons/providers/github.webp +0 -0
  237. package/icons/providers/githubcopilot.webp +0 -0
  238. package/icons/providers/glama.webp +0 -0
  239. package/icons/providers/glif.webp +0 -0
  240. package/icons/providers/glmv.webp +0 -0
  241. package/icons/providers/gmi.svg +5 -0
  242. package/icons/providers/google.webp +0 -0
  243. package/icons/providers/googlecloud.webp +0 -0
  244. package/icons/providers/goose.webp +0 -0
  245. package/icons/providers/gradio.webp +0 -0
  246. package/icons/providers/greptile.webp +0 -0
  247. package/icons/providers/grok.webp +0 -0
  248. package/icons/providers/groq.webp +0 -0
  249. package/icons/providers/hailuo.webp +0 -0
  250. package/icons/providers/haiper.webp +0 -0
  251. package/icons/providers/hedra.webp +0 -0
  252. package/icons/providers/hermesagent.webp +0 -0
  253. package/icons/providers/higress.webp +0 -0
  254. package/icons/providers/huawei.webp +0 -0
  255. package/icons/providers/huaweicloud.webp +0 -0
  256. package/icons/providers/huggingface.webp +0 -0
  257. package/icons/providers/hunyuan.webp +0 -0
  258. package/icons/providers/hyperbolic.webp +0 -0
  259. package/icons/providers/ibm.webp +0 -0
  260. package/icons/providers/ideogram.webp +0 -0
  261. package/icons/providers/iflytekcloud.webp +0 -0
  262. package/icons/providers/inception.webp +0 -0
  263. package/icons/providers/inference.webp +0 -0
  264. package/icons/providers/infermatic.webp +0 -0
  265. package/icons/providers/infini.webp +0 -0
  266. package/icons/providers/infinigence.webp +0 -0
  267. package/icons/providers/inflection.webp +0 -0
  268. package/icons/providers/internlm.webp +0 -0
  269. package/icons/providers/jimeng.webp +0 -0
  270. package/icons/providers/jina.webp +0 -0
  271. package/icons/providers/junie.webp +0 -0
  272. package/icons/providers/kilocode.webp +0 -0
  273. package/icons/providers/kimi.webp +0 -0
  274. package/icons/providers/kiro.webp +0 -0
  275. package/icons/providers/kling.webp +0 -0
  276. package/icons/providers/kluster.webp +0 -0
  277. package/icons/providers/kolors.webp +0 -0
  278. package/icons/providers/krea.webp +0 -0
  279. package/icons/providers/kwaikat.webp +0 -0
  280. package/icons/providers/kwaipilot.webp +0 -0
  281. package/icons/providers/lambda.webp +0 -0
  282. package/icons/providers/langchain.webp +0 -0
  283. package/icons/providers/langfuse.webp +0 -0
  284. package/icons/providers/langgraph.webp +0 -0
  285. package/icons/providers/langsmith.webp +0 -0
  286. package/icons/providers/leptonai.webp +0 -0
  287. package/icons/providers/lg.webp +0 -0
  288. package/icons/providers/lightricks.webp +0 -0
  289. package/icons/providers/liquid.webp +0 -0
  290. package/icons/providers/livekit.webp +0 -0
  291. package/icons/providers/llamaindex.webp +0 -0
  292. package/icons/providers/llava.webp +0 -0
  293. package/icons/providers/llmapi.webp +0 -0
  294. package/icons/providers/lmstudio.webp +0 -0
  295. package/icons/providers/lobehub.webp +0 -0
  296. package/icons/providers/longcat.webp +0 -0
  297. package/icons/providers/lovable.webp +0 -0
  298. package/icons/providers/lovart.webp +0 -0
  299. package/icons/providers/luma.webp +0 -0
  300. package/icons/providers/magic.webp +0 -0
  301. package/icons/providers/make.webp +0 -0
  302. package/icons/providers/manus.webp +0 -0
  303. package/icons/providers/mastra.webp +0 -0
  304. package/icons/providers/mcp.webp +0 -0
  305. package/icons/providers/mcpso.webp +0 -0
  306. package/icons/providers/menlo.webp +0 -0
  307. package/icons/providers/meshy.webp +0 -0
  308. package/icons/providers/meta.webp +0 -0
  309. package/icons/providers/metaai.webp +0 -0
  310. package/icons/providers/metagpt.webp +0 -0
  311. package/icons/providers/microsoft.webp +0 -0
  312. package/icons/providers/midjourney.webp +0 -0
  313. package/icons/providers/minimax.webp +0 -0
  314. package/icons/providers/mistral.webp +0 -0
  315. package/icons/providers/modelscope.webp +0 -0
  316. package/icons/providers/monica.webp +0 -0
  317. package/icons/providers/moonshot.webp +0 -0
  318. package/icons/providers/morph.webp +0 -0
  319. package/icons/providers/moxt.webp +0 -0
  320. package/icons/providers/myshell.webp +0 -0
  321. package/icons/providers/n8n.webp +0 -0
  322. package/icons/providers/nanobanana.webp +0 -0
  323. package/icons/providers/nebius.webp +0 -0
  324. package/icons/providers/newapi.webp +0 -0
  325. package/icons/providers/notebooklm.webp +0 -0
  326. package/icons/providers/notion.webp +0 -0
  327. package/icons/providers/nousresearch.webp +0 -0
  328. package/icons/providers/nova.webp +0 -0
  329. package/icons/providers/novelai.webp +0 -0
  330. package/icons/providers/novita.webp +0 -0
  331. package/icons/providers/nplcloud.webp +0 -0
  332. package/icons/providers/nvidia.webp +0 -0
  333. package/icons/providers/o3.webp +0 -0
  334. package/icons/providers/obsidian.webp +0 -0
  335. package/icons/providers/ollama.webp +0 -0
  336. package/icons/providers/openai.webp +0 -0
  337. package/icons/providers/openchat.webp +0 -0
  338. package/icons/providers/openclaw.webp +0 -0
  339. package/icons/providers/opencode.webp +0 -0
  340. package/icons/providers/openhands.webp +0 -0
  341. package/icons/providers/openhuman.webp +0 -0
  342. package/icons/providers/openrouter.webp +0 -0
  343. package/icons/providers/openwebui.webp +0 -0
  344. package/icons/providers/paddleocr.webp +0 -0
  345. package/icons/providers/palm.webp +0 -0
  346. package/icons/providers/parasail.webp +0 -0
  347. package/icons/providers/perplexity.webp +0 -0
  348. package/icons/providers/phidata.webp +0 -0
  349. package/icons/providers/phind.webp +0 -0
  350. package/icons/providers/pika.webp +0 -0
  351. package/icons/providers/pixverse.webp +0 -0
  352. package/icons/providers/player2.webp +0 -0
  353. package/icons/providers/poe.webp +0 -0
  354. package/icons/providers/pollinations.webp +0 -0
  355. package/icons/providers/ppio.webp +0 -0
  356. package/icons/providers/prunaai.webp +0 -0
  357. package/icons/providers/pydanticai.webp +0 -0
  358. package/icons/providers/qingyan.webp +0 -0
  359. package/icons/providers/qiniu.webp +0 -0
  360. package/icons/providers/qoder.webp +0 -0
  361. package/icons/providers/qwen.webp +0 -0
  362. package/icons/providers/railway.webp +0 -0
  363. package/icons/providers/recraft.webp +0 -0
  364. package/icons/providers/relace.webp +0 -0
  365. package/icons/providers/replicate.webp +0 -0
  366. package/icons/providers/replit.webp +0 -0
  367. package/icons/providers/reve.webp +0 -0
  368. package/icons/providers/roocode.webp +0 -0
  369. package/icons/providers/rsshub.webp +0 -0
  370. package/icons/providers/runway.webp +0 -0
  371. package/icons/providers/rwkv.webp +0 -0
  372. package/icons/providers/sambanova.webp +0 -0
  373. package/icons/providers/search1api.webp +0 -0
  374. package/icons/providers/searchapi.webp +0 -0
  375. package/icons/providers/sensenova.webp +0 -0
  376. package/icons/providers/silicon.webp +0 -0
  377. package/icons/providers/siliconcloud.webp +0 -0
  378. package/icons/providers/sillytavern.webp +0 -0
  379. package/icons/providers/skywork.webp +0 -0
  380. package/icons/providers/slock.webp +0 -0
  381. package/icons/providers/smithery.webp +0 -0
  382. package/icons/providers/snowflake.webp +0 -0
  383. package/icons/providers/sophnet.webp +0 -0
  384. package/icons/providers/sora.webp +0 -0
  385. package/icons/providers/spark.webp +0 -0
  386. package/icons/providers/speedai.webp +0 -0
  387. package/icons/providers/stability.webp +0 -0
  388. package/icons/providers/statecloud.webp +0 -0
  389. package/icons/providers/step.webp +0 -0
  390. package/icons/providers/stepfun.webp +0 -0
  391. package/icons/providers/straico.webp +0 -0
  392. package/icons/providers/streamlake.webp +0 -0
  393. package/icons/providers/submodel.webp +0 -0
  394. package/icons/providers/suno.webp +0 -0
  395. package/icons/providers/sync.webp +0 -0
  396. package/icons/providers/targon.webp +0 -0
  397. package/icons/providers/tavily.webp +0 -0
  398. package/icons/providers/tencent-cloud-ti.webp +0 -0
  399. package/icons/providers/tencent.webp +0 -0
  400. package/icons/providers/tencentcloud.webp +0 -0
  401. package/icons/providers/tiangong.webp +0 -0
  402. package/icons/providers/tii.webp +0 -0
  403. package/icons/providers/together.webp +0 -0
  404. package/icons/providers/tokenrouter.png +0 -0
  405. package/icons/providers/topazlabs.webp +0 -0
  406. package/icons/providers/trae.webp +0 -0
  407. package/icons/providers/tripo.webp +0 -0
  408. package/icons/providers/turix.webp +0 -0
  409. package/icons/providers/udio.webp +0 -0
  410. package/icons/providers/unstructured.webp +0 -0
  411. package/icons/providers/upstage.webp +0 -0
  412. package/icons/providers/v0.webp +0 -0
  413. package/icons/providers/vectorizerai.webp +0 -0
  414. package/icons/providers/venice.webp +0 -0
  415. package/icons/providers/vercel.webp +0 -0
  416. package/icons/providers/vertexai.webp +0 -0
  417. package/icons/providers/vidu.webp +0 -0
  418. package/icons/providers/viggle.webp +0 -0
  419. package/icons/providers/vllm.webp +0 -0
  420. package/icons/providers/volcengine.webp +0 -0
  421. package/icons/providers/voyage.webp +0 -0
  422. package/icons/providers/voyageai.webp +0 -0
  423. package/icons/providers/wenxin.webp +0 -0
  424. package/icons/providers/windsurf.webp +0 -0
  425. package/icons/providers/workersai.webp +0 -0
  426. package/icons/providers/worldrouter.webp +0 -0
  427. package/icons/providers/xai.webp +0 -0
  428. package/icons/providers/xiaomimimo.webp +0 -0
  429. package/icons/providers/xinference.webp +0 -0
  430. package/icons/providers/xirang.png +0 -0
  431. package/icons/providers/xpay.webp +0 -0
  432. package/icons/providers/xuanyuan.webp +0 -0
  433. package/icons/providers/yandex.webp +0 -0
  434. package/icons/providers/yi.webp +0 -0
  435. package/icons/providers/youmind.webp +0 -0
  436. package/icons/providers/yuanbao.webp +0 -0
  437. package/icons/providers/zai.webp +0 -0
  438. package/icons/providers/zapier.webp +0 -0
  439. package/icons/providers/zeabur.webp +0 -0
  440. package/icons/providers/zencoder.webp +0 -0
  441. package/icons/providers/zenmux.webp +0 -0
  442. package/icons/providers/zero-one.webp +0 -0
  443. package/icons/providers/zeroone.webp +0 -0
  444. package/icons/providers/zhipu.webp +0 -0
  445. package/package.json +36 -36
  446. package/styles/content.css +3 -1
  447. package/styles/yunui.css +346 -89
  448. package/dist/chunk-5E3O6ANF.js.map +0 -1
  449. package/dist/chunk-5TOGZTAO.js.map +0 -1
  450. package/dist/chunk-AV5TGEJS.js +0 -54
  451. package/dist/chunk-AV5TGEJS.js.map +0 -1
  452. package/dist/chunk-GSPJ5YI6.js.map +0 -1
  453. package/dist/chunk-QEIBYOG2.js +0 -188
  454. package/dist/chunk-QEIBYOG2.js.map +0 -1
  455. package/dist/chunk-UYYG4XDW.js.map +0 -1
@@ -1,10 +1,27 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ReactNode, ElementType } from 'react';
2
+ import React__default, { ReactNode, ElementType, HTMLAttributes } from 'react';
3
3
  export { F as Footer, a as FooterLink, b as FooterProps, c as FooterSection, d as FooterSocial } from './footer-BoFu7Wqq.js';
4
4
 
5
5
  declare function BackgroundEffects(): React$1.JSX.Element;
6
6
 
7
- declare function CodeDemo(): React$1.JSX.Element;
7
+ interface CodeDemoProps {
8
+ /** The OpenAI-compatible base URL the snippets point at. */
9
+ baseUrl?: string;
10
+ /** Model id used in the example request. */
11
+ model?: string;
12
+ /** Placeholder shown where the reader's key goes. */
13
+ apiKeyPlaceholder?: string;
14
+ /** Message body sent in the example request. */
15
+ prompt?: string;
16
+ /** Tab labels. Defaults are language names, but they stay overridable. */
17
+ labels?: {
18
+ python?: string;
19
+ javascript?: string;
20
+ curl?: string;
21
+ };
22
+ className?: string;
23
+ }
24
+ declare function CodeDemo({ baseUrl, model, apiKeyPlaceholder, prompt, labels, className, }?: CodeDemoProps): React$1.JSX.Element;
8
25
 
9
26
  interface FAQItem {
10
27
  /** The question heading. */
@@ -49,13 +66,31 @@ interface CodeBlockProps {
49
66
  /** Styled code block with a window-chrome header, optional tabs, line numbers, basic syntax highlighting, and copy. */
50
67
  declare function CodeBlock({ code, language, filename, showLineNumbers, copyable, className, tabs, }: CodeBlockProps): React$1.JSX.Element;
51
68
 
52
- declare function LLMCopyButton({ markdownUrl }: {
69
+ interface LLMCopyButtonProps {
53
70
  markdownUrl: string;
54
- }): React$1.JSX.Element;
55
- declare function ViewOptions({ markdownUrl, githubUrl, }: {
71
+ /**
72
+ * Every string this renders. The library ships no copy of its own — these
73
+ * defaults exist only so the component is usable untranslated.
74
+ */
75
+ labels?: {
76
+ copy?: string;
77
+ copied?: string;
78
+ title?: string;
79
+ };
80
+ }
81
+ declare function LLMCopyButton({ markdownUrl, labels }: LLMCopyButtonProps): React$1.JSX.Element;
82
+ interface ViewOptionsProps {
56
83
  markdownUrl: string;
57
84
  githubUrl?: string;
58
- }): React$1.JSX.Element;
85
+ /** Every string this renders; defaults keep it usable untranslated. */
86
+ labels?: {
87
+ markdown?: string;
88
+ markdownTitle?: string;
89
+ github?: string;
90
+ githubTitle?: string;
91
+ };
92
+ }
93
+ declare function ViewOptions({ markdownUrl, githubUrl, labels }: ViewOptionsProps): React$1.JSX.Element;
59
94
 
60
95
  interface BlogCardProps {
61
96
  /** Post title. */
@@ -117,6 +152,33 @@ interface BlogPaginationProps {
117
152
  }
118
153
  declare function BlogPagination({ currentPage, totalPages, onPageChange, labels, }: BlogPaginationProps): React$1.JSX.Element | null;
119
154
 
155
+ interface ReadingProgressProps {
156
+ /** Scroll distance, in px, before the control appears. */
157
+ threshold?: number;
158
+ /** Draw the circular progress ring around the button. */
159
+ bar?: boolean;
160
+ /** Make the control a back-to-top button (arrow + click-to-top). */
161
+ backToTop?: boolean;
162
+ /** Localized labels; default to English. */
163
+ labels?: {
164
+ backToTop?: string;
165
+ };
166
+ className?: string;
167
+ }
168
+ /**
169
+ * How far through a long page the reader is, and a way back to the start —
170
+ * as one floating control in the corner, not a mystery hairline across the top.
171
+ *
172
+ * A circular ring fills as you scroll; an up-arrow sits in the middle and
173
+ * returns you to the top on click. Both live in one component because they
174
+ * answer the same question — where am I — and share a single scroll listener.
175
+ * Two components would mean two listeners on the pages least able to afford them.
176
+ *
177
+ * The host app owns nothing here: no data, no routing, no copy beyond an
178
+ * overridable label.
179
+ */
180
+ declare function ReadingProgress({ threshold, bar, backToTop, labels, className, }: ReadingProgressProps): React$1.JSX.Element | null;
181
+
120
182
  interface SimplePaginationProps {
121
183
  /** 1-indexed current page, shown in the centre indicator. */
122
184
  currentPage: number;
@@ -197,9 +259,21 @@ interface SidebarProps {
197
259
  loading?: boolean;
198
260
  /** sessionStorage key for persisting nav scroll position across navigations. */
199
261
  scrollStorageKey?: string;
262
+ /** Fixed application rail or an in-flow shell owned by the host layout. */
263
+ layout?: "fixed" | "inline";
264
+ /** Replaces the built-in logo row while retaining the Sidebar shell. */
265
+ header?: ReactNode;
266
+ /** Replaces generated sections with custom dynamic Sidebar content. */
267
+ children?: ReactNode;
268
+ /** Additional shell classes. */
269
+ className?: string;
270
+ /** Landmark role for custom application layouts. */
271
+ role?: "navigation" | "complementary";
272
+ /** Accessible name for the Sidebar landmark. */
273
+ ariaLabel?: string;
200
274
  }
201
275
  /** App navigation sidebar: logo, grouped nav sections with active-state matching, a mobile drawer, desktop collapse, and a footer slot. */
202
- declare function Sidebar({ appName, logoSrc, homeHref, sections, currentPath, isOpen, onClose, collapsed, onToggleCollapse, onNavigate, footer, closeLabel, loading, scrollStorageKey, }: SidebarProps): React$1.JSX.Element;
276
+ 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;
203
277
 
204
278
  interface PageHeaderProps {
205
279
  title: string;
@@ -223,11 +297,19 @@ interface PageLayoutProps {
223
297
  /** Override the `<main>` classes — defaults to `flex-1 pt-28` (clears the
224
298
  * fixed navbar). Pass your own offset for a taller/shorter bar. */
225
299
  mainClassName?: string;
300
+ /**
301
+ * `id` on the `<main>` element — the target a "skip to main content" link
302
+ * jumps to. Defaults to `"main-content"`, the conventional value, so the
303
+ * skip link in a consumer's root layout actually lands somewhere. Pass
304
+ * `undefined` explicitly if a page must not carry the id (e.g. two shells
305
+ * on one page). @defaultValue "main-content"
306
+ */
307
+ mainId?: string;
226
308
  /** Extra classes on the outer wrapper. */
227
309
  className?: string;
228
310
  }
229
311
  /** Full-height page shell: navbar slot · offset `<main>` · footer slot. */
230
- declare function PageLayout({ children, navbar, footer, hideFooter, transparentBg, mainClassName, className, }: PageLayoutProps): React$1.JSX.Element;
312
+ declare function PageLayout({ children, navbar, footer, hideFooter, transparentBg, mainClassName, mainId, className, }: PageLayoutProps): React$1.JSX.Element;
231
313
 
232
314
  interface PageLoadingStateProps {
233
315
  /** Optional text shown beside the spinner. */
@@ -238,12 +320,12 @@ declare function PageLoadingState({ message }: PageLoadingStateProps): React$1.J
238
320
  interface PageErrorStateProps {
239
321
  /** Error message to display. */
240
322
  message: string;
241
- /** When provided, shows a retry link that calls this. */
323
+ /** When provided, shows a retry button that calls this. */
242
324
  onRetry?: () => void;
243
- /** Label for the retry link. @defaultValue "Retry" */
325
+ /** Label for the retry button. @defaultValue "Retry" */
244
326
  retryLabel?: string;
245
327
  }
246
- /** Centered in-page error state with an optional retry link. */
328
+ /** Centered, compact in-page error state with an optional retry action. */
247
329
  declare function PageErrorState({ message, onRetry, retryLabel }: PageErrorStateProps): React$1.JSX.Element;
248
330
  interface PageEmptyStateProps {
249
331
  /** Optional icon component shown above the title. */
@@ -258,12 +340,6 @@ interface PageEmptyStateProps {
258
340
  /** Centered in-page empty state with an icon, title, description, and optional action. */
259
341
  declare function PageEmptyState({ icon: Icon, title, description, action }: PageEmptyStateProps): React$1.JSX.Element;
260
342
 
261
- /**
262
- * Canonical dashboard stat card — the single source for every metric tile.
263
- * Structure is the dashboard overview card; `tone` provides semantic color
264
- * (amber=pending, red=rejected, …); icon/trend/subtext/delay are all optional
265
- * so compact colored tiles and rich trend cards share one component.
266
- */
267
343
  declare const TONES: Record<string, {
268
344
  card: string;
269
345
  value: string;
@@ -447,17 +523,47 @@ interface SessionItemProps {
447
523
  time?: ReactNode;
448
524
  /** Marks the current session — shows a badge and hides the revoke button. */
449
525
  current?: boolean;
450
- currentLabel?: ReactNode;
451
526
  /** Dims the row and shows an "inactive" badge. */
452
527
  inactive?: boolean;
453
- inactiveLabel?: ReactNode;
528
+ /** Marks the row selected without adding a badge. */
529
+ selected?: boolean;
530
+ /** Shows a pulsing leading activity rail and exposes aria-busy. */
531
+ running?: boolean;
454
532
  /** Revoke handler — when set (and not current), shows the revoke button. */
455
533
  onRevoke?: () => void;
456
534
  revoking?: boolean;
535
+ /** @deprecated Use labels.current. Retained for 0.2.17 compatibility. */
536
+ currentLabel?: ReactNode;
537
+ /** @deprecated Use labels.inactive. Retained for 0.2.17 compatibility. */
538
+ inactiveLabel?: ReactNode;
539
+ /** @deprecated Use labels.running. Retained for 0.2.17 compatibility. */
540
+ runningLabel?: ReactNode;
541
+ /** @deprecated Use labels.revoke. Retained for 0.2.17 compatibility. */
457
542
  revokeLabel?: string;
543
+ /** Every string this row renders. See CONTRIBUTING.md — a component
544
+ * needing more than one auxiliary string groups them here. */
545
+ labels?: {
546
+ /** Badge on the current session. */
547
+ current?: ReactNode;
548
+ /** Badge on a dimmed / inactive session. */
549
+ inactive?: ReactNode;
550
+ /** Announced to screen readers while `running`. */
551
+ running?: ReactNode;
552
+ /** Accessible name of the revoke button. */
553
+ revoke?: string;
554
+ };
458
555
  className?: string;
459
556
  }
460
- declare function SessionItem({ icon, name, detail, ip, time, current, currentLabel, inactive, inactiveLabel, onRevoke, revoking, revokeLabel, className, }: SessionItemProps): React$1.JSX.Element;
557
+ 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;
558
+
559
+ interface NavStateIndicatorProps extends HTMLAttributes<HTMLSpanElement> {
560
+ /** Shows the indicator in its selected state. */
561
+ active?: boolean;
562
+ /** Animates the same indicator without changing its geometry. */
563
+ running?: boolean;
564
+ }
565
+ /** The single active/running indicator shared by YunUI navigation surfaces. */
566
+ declare function NavStateIndicator({ active, running, className, ...props }: NavStateIndicatorProps): React$1.JSX.Element;
461
567
 
462
568
  interface MetricBarProps {
463
569
  /** Leading icon; when omitted a small color dot (using `color`) is shown. */
@@ -626,20 +732,31 @@ interface NotificationPanelProps {
626
732
  title: ReactNode;
627
733
  /** Unread count shown in the header; hidden when 0. */
628
734
  unreadCount?: number;
629
- /** Word rendered after the count (e.g. "unread"). */
630
- unreadLabel?: ReactNode;
631
735
  loading?: boolean;
632
- loadingLabel?: ReactNode;
633
736
  /** When true (and not loading) the empty state replaces the children. */
634
737
  empty?: boolean;
738
+ /** @deprecated Use labels.unread. Retained for 0.2.17 compatibility. */
739
+ unreadLabel?: ReactNode;
740
+ /** @deprecated Use labels.loading. Retained for 0.2.17 compatibility. */
741
+ loadingLabel?: ReactNode;
742
+ /** @deprecated Use labels.empty. Retained for 0.2.17 compatibility. */
635
743
  emptyLabel?: ReactNode;
744
+ /** Every string the panel renders besides `title`. See CONTRIBUTING.md. */
745
+ labels?: {
746
+ /** Word rendered after the unread count (e.g. "unread"). */
747
+ unread?: ReactNode;
748
+ /** Shown in place of the list while `loading`. */
749
+ loading?: ReactNode;
750
+ /** Shown in place of the list while `empty`. */
751
+ empty?: ReactNode;
752
+ };
636
753
  /** Footer slot — typically a centered "view all" adapter Link. */
637
754
  footer?: ReactNode;
638
755
  /** The notification rows. */
639
756
  children?: ReactNode;
640
757
  className?: string;
641
758
  }
642
- declare function NotificationPanel({ title, unreadCount, unreadLabel, loading, loadingLabel, empty, emptyLabel, footer, children, className, }: NotificationPanelProps): React$1.JSX.Element;
759
+ declare function NotificationPanel({ title, unreadCount, loading, empty, labels, unreadLabel, loadingLabel, emptyLabel, footer, children, className, }: NotificationPanelProps): React$1.JSX.Element;
643
760
 
644
761
  interface SettingRowProps {
645
762
  title: ReactNode;
@@ -650,6 +767,35 @@ interface SettingRowProps {
650
767
  }
651
768
  declare function SettingRow({ title, description, control, className }: SettingRowProps): React$1.JSX.Element;
652
769
 
770
+ interface SettingsNavItem {
771
+ key: string;
772
+ label: ReactNode;
773
+ icon?: ElementType;
774
+ }
775
+ interface SettingsNavGroup {
776
+ key: string;
777
+ label?: ReactNode;
778
+ items: SettingsNavItem[];
779
+ }
780
+ interface SettingsShellProps {
781
+ /** Dialog/page heading. Pass the host's accessible title primitive here. */
782
+ header: ReactNode;
783
+ groups: SettingsNavGroup[];
784
+ value: string;
785
+ onValueChange: (key: string) => void;
786
+ children: ReactNode;
787
+ navigationLabel?: string;
788
+ className?: string;
789
+ sidebarClassName?: string;
790
+ contentClassName?: string;
791
+ }
792
+ /**
793
+ * Canonical settings layout: grouped desktop navigation, compact mobile
794
+ * navigation and one scroll-safe content lane. The host owns the active panel
795
+ * and dialog lifecycle; YunUI owns all navigation spacing and active states.
796
+ */
797
+ declare function SettingsShell({ header, groups, value, onValueChange, children, navigationLabel, className, sidebarClassName, contentClassName, }: SettingsShellProps): React$1.JSX.Element;
798
+
653
799
  interface LinkRowProps {
654
800
  icon?: ReactNode;
655
801
  title: ReactNode;
@@ -700,4 +846,390 @@ interface AvatarUploaderProps {
700
846
  }
701
847
  declare function AvatarUploader({ src, fallback, size, uploading, onSelectFile, label, className, }: AvatarUploaderProps): React$1.JSX.Element;
702
848
 
703
- 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, NotificationBell, type NotificationBellProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, PageEmptyState, PageErrorState, PageHeader, PageLayout, type PageLayoutProps, PageLoadingState, SessionItem, type SessionItemProps, SettingRow, type SettingRowProps, Sidebar, type SidebarNavItem, type SidebarProps, type SidebarSection, SimplePagination, SourceBadge, StatCard, StatusBadge, ViewOptions };
849
+ interface EyebrowProps extends HTMLAttributes<HTMLDivElement> {
850
+ /** Small leading glyph, e.g. a lucide icon at `w-4 h-4`. */
851
+ icon?: ReactNode;
852
+ /** The label text. */
853
+ children: ReactNode;
854
+ }
855
+ /**
856
+ * The pill badge that sits above a marketing section title — a tinted, hairline
857
+ * capsule holding an icon and a short label ("Why YunUI", "功能特性").
858
+ *
859
+ * Pulled out on its own because it appears far away from any heading too:
860
+ * above a hero title, inside a CTA band, as a "trusted by" chip.
861
+ */
862
+ declare function Eyebrow({ icon, children, className, ...props }: EyebrowProps): React$1.JSX.Element;
863
+ interface SectionHeadingProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
864
+ /** Eyebrow label above the title. Omit for a bare heading. */
865
+ badge?: ReactNode;
866
+ /** Glyph inside the eyebrow pill. */
867
+ icon?: ReactNode;
868
+ /** The section title. */
869
+ title: ReactNode;
870
+ /** Supporting line under the title. */
871
+ subtitle?: ReactNode;
872
+ /** Horizontal alignment. @defaultValue "center" */
873
+ align?: "center" | "left";
874
+ /**
875
+ * Play the entrance animation, staggering badge → title → subtitle.
876
+ * Turn it off for headings that are already visible on load.
877
+ * @defaultValue true
878
+ */
879
+ animate?: boolean;
880
+ }
881
+ /**
882
+ * The centered pill-badge → title → subcopy rhythm that sits above every
883
+ * marketing band (landing page, Fellows, docs index).
884
+ *
885
+ * This exact block was hand-rolled in Yunxin's landing, Yunxin's Fellows page
886
+ * AND YunUI's own showcase site — three copies of the same eight lines, each
887
+ * re-deriving the stagger delays. It lives here now so every surface inherits
888
+ * the same rhythm instead of drifting apart.
889
+ */
890
+ declare function SectionHeading({ badge, icon, title, subtitle, align, animate, className, ...props }: SectionHeadingProps): React$1.JSX.Element;
891
+
892
+ interface FeatureCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
893
+ /** Glyph shown in the tinted icon tile above the title. */
894
+ icon?: ReactNode;
895
+ /** Feature name. */
896
+ title: ReactNode;
897
+ /** Supporting copy. */
898
+ description?: ReactNode;
899
+ /**
900
+ * Stagger the entrance animation by this many milliseconds — pass
901
+ * `index * 100` when mapping a grid. Omit to render without animation.
902
+ */
903
+ delay?: number;
904
+ /** Extra content below the description (a link, a chip row). */
905
+ children?: ReactNode;
906
+ }
907
+ /**
908
+ * The marketing feature tile: a tinted icon block, a title, a line of copy, and
909
+ * — the part that makes it feel considered — a hover that *glows* rather than
910
+ * moves. A hairline catches the light along the top edge and a soft radial
911
+ * bloom fades in at the corner while the card lifts a single pixel.
912
+ *
913
+ * This is the card that Yunxin's landing and Fellows pages repeat; it was
914
+ * hand-rolled in both. Prefer it for uniform feature grids. {@link BentoCard} is
915
+ * the sibling for asymmetric bento layouts — same hover language, glass surface.
916
+ */
917
+ declare function FeatureCard({ icon, title, description, delay, children, className, style, ...props }: FeatureCardProps): React$1.JSX.Element;
918
+
919
+ interface MembershipCardStat {
920
+ /** The number, rendered in tabular figures so a row of them lines up. */
921
+ value: ReactNode;
922
+ /** Short caption under the number. */
923
+ label: ReactNode;
924
+ }
925
+ interface MembershipCardProps extends HTMLAttributes<HTMLDivElement> {
926
+ /** Programme name, top-left — e.g. "Yunxin Fellows". */
927
+ brand?: ReactNode;
928
+ /** Tier pill, top-right. */
929
+ badge?: {
930
+ label: ReactNode;
931
+ icon?: ReactNode;
932
+ };
933
+ /**
934
+ * A large glyph bled off the bottom-right corner at 6% opacity. Pass a
935
+ * lucide icon sized `w-48 h-48`; the component positions it.
936
+ */
937
+ watermark?: ReactNode;
938
+ /** Small uppercase caption above the status line. */
939
+ label?: ReactNode;
940
+ /** The membership's headline state — "Active", "Renews in 12 days". */
941
+ status?: ReactNode;
942
+ /** Up to three figures along the bottom. */
943
+ stats?: MembershipCardStat[];
944
+ /** The little contactless-chip rectangle beside the status. @defaultValue true */
945
+ chip?: boolean;
946
+ }
947
+ /**
948
+ * A physical-feeling membership card: an inverted, lit surface with ambient
949
+ * glows, a bled-off watermark, a light sweep on hover, and a row of figures.
950
+ *
951
+ * Extracted class for class from Yunxin's Fellows landing page, where it is the
952
+ * tangible centrepiece of the pitch. **Yunxin is the original and stays the
953
+ * reference** — a page that adopts this renders exactly what its local copy did.
954
+ *
955
+ * It is theme-adaptive rather than a fixed dark card: the surface is
956
+ * `bg-foreground/80` with `text-background`, so it inverts with the theme and
957
+ * stays striking in light *and* dark, matching the system's solid buttons.
958
+ *
959
+ * The outer element is `block` with `mx-auto`, not a flex child, so the
960
+ * `aspect-[1.586/1]` box (the real credit-card ratio) cannot be stretched or
961
+ * collapsed by a flex parent.
962
+ */
963
+ declare function MembershipCard({ brand, badge, watermark, label, status, stats, chip, className, ...props }: MembershipCardProps): React$1.JSX.Element;
964
+
965
+ interface CTASectionProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
966
+ /** Headline. */
967
+ title: ReactNode;
968
+ /** Supporting line under the headline. */
969
+ body?: ReactNode;
970
+ /** The call to action — a Button, or a pair of them. */
971
+ actions?: ReactNode;
972
+ /** Small label above the headline (an {@link Eyebrow}, a badge). */
973
+ eyebrow?: ReactNode;
974
+ /** Play the staggered entrance animation. @defaultValue true */
975
+ animate?: boolean;
976
+ }
977
+ /**
978
+ * The closing call-to-action band: a large rounded panel with a soft radial
979
+ * wash blooming from its top edge, a headline, a line of copy and the action.
980
+ *
981
+ * Extracted from Yunxin, where the same panel closes both the landing page and
982
+ * the Fellows page. The wash is an inline `radial-gradient` on `--accent-subtle`
983
+ * rather than a utility class because it needs a precise ellipse origin.
984
+ */
985
+ declare function CTASection({ title, body, actions, eyebrow, animate, className, ...props }: CTASectionProps): React$1.JSX.Element;
986
+
987
+ interface PullQuoteProps extends HTMLAttributes<HTMLElement> {
988
+ /** The quoted line — a manifesto, an ethos, a testimonial. */
989
+ children: ReactNode;
990
+ /** Attribution shown under the quote. */
991
+ cite?: ReactNode;
992
+ /** Show the leading quote glyph. @defaultValue true */
993
+ showIcon?: boolean;
994
+ }
995
+ /**
996
+ * A centered manifesto/pull-quote: a soft quote glyph over one large line of
997
+ * display text that fades from `--foreground` into the muted tone.
998
+ *
999
+ * Extracted verbatim from Yunxin's Fellows manifesto block. The gradient text
1000
+ * is the whole point — a flat colour at this size reads as a heading, not a
1001
+ * statement — so it stays a `bg-clip-text` fade rather than a solid fill.
1002
+ */
1003
+ declare function PullQuote({ children, cite, showIcon, className, ...props }: PullQuoteProps): React$1.JSX.Element;
1004
+
1005
+ interface MarketingHeroProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
1006
+ /** Pill badge above the title — pass an {@link Eyebrow} or any node. */
1007
+ badge?: ReactNode;
1008
+ /** Headline. Wrap the part that should fade with {@link HeroAccent}. */
1009
+ title: ReactNode;
1010
+ /** Supporting paragraph. */
1011
+ subtitle?: ReactNode;
1012
+ /** Primary/secondary buttons. */
1013
+ actions?: ReactNode;
1014
+ /** Short reassurance chips under the actions ("Free to apply", "6 weeks"). */
1015
+ facts?: ReactNode[];
1016
+ /** Anchor the scroll-down chevron links to. Omit to hide the chevron. */
1017
+ scrollToId?: string;
1018
+ /** Accessible label for the scroll-down chevron. @defaultValue "Scroll down" */
1019
+ scrollLabel?: string;
1020
+ /** Fill the viewport (`min-h-dvh`). @defaultValue true */
1021
+ fullHeight?: boolean;
1022
+ }
1023
+ /**
1024
+ * The full-bleed landing hero: a soft radial wash, a pill badge, a large
1025
+ * two-tone headline, subcopy, the actions, a row of reassurance chips, and a
1026
+ * bouncing scroll-down chevron.
1027
+ *
1028
+ * Extracted from Yunxin, where the landing page and the Fellows page each
1029
+ * hand-rolled the identical block. Everything is a slot — YunUI owns the
1030
+ * geometry, the wash and the entrance stagger; the host owns every word.
1031
+ */
1032
+ declare function MarketingHero({ badge, title, subtitle, actions, facts, scrollToId, scrollLabel, fullHeight, className, ...props }: MarketingHeroProps): React$1.JSX.Element;
1033
+ /**
1034
+ * The faded tail of a hero headline — wrap the second half of the title so it
1035
+ * washes from the foreground colour into the muted tone.
1036
+ */
1037
+ declare function HeroAccent({ children }: {
1038
+ children: ReactNode;
1039
+ }): React$1.JSX.Element;
1040
+
1041
+ interface ProseArticleProps extends HTMLAttributes<HTMLElement> {
1042
+ children: ReactNode;
1043
+ /**
1044
+ * Drop Tailwind Typography's `prose` classes on the inner wrapper.
1045
+ * Turn it off when the content already ships its own styles (e.g. YunUI's
1046
+ * `MarkdownRenderer`, which would then be styled twice).
1047
+ * @defaultValue true
1048
+ */
1049
+ prose?: boolean;
1050
+ }
1051
+ /**
1052
+ * The reading column for long-form pages — About, a blog post, a changelog.
1053
+ * A 3xl measure, centered, with the page's vertical rhythm.
1054
+ *
1055
+ * Extracted from Yunxin, where About and the blog post page each hand-rolled
1056
+ * the identical wrapper. `prose` is a prop because the two callers differ: MDX
1057
+ * bodies want Typography, `MarkdownRenderer` output does not (see the
1058
+ * double-styling note in the content docs).
1059
+ */
1060
+ declare function ProseArticle({ children, prose, className, ...props }: ProseArticleProps): React$1.JSX.Element;
1061
+ interface BackLinkProps {
1062
+ /** Destination. */
1063
+ href: string;
1064
+ /** Link text — localize it yourself. */
1065
+ children: ReactNode;
1066
+ className?: string;
1067
+ }
1068
+ /**
1069
+ * The muted "‹ back to …" link above a detail page. Routes through the
1070
+ * {@link useYunUI} adapter, so it uses the host framework's Link.
1071
+ */
1072
+ declare function BackLink({ href, children, className }: BackLinkProps): React$1.JSX.Element;
1073
+
1074
+ interface AuthShellProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1075
+ /**
1076
+ * Brand row above the card — the logo + wordmark. Rendered inside a
1077
+ * centered flex row; pass the image and the name as siblings.
1078
+ */
1079
+ brand?: ReactNode;
1080
+ /** When set, the brand row becomes a link to this destination (usually "/"). */
1081
+ homeHref?: string;
1082
+ /** Card heading. */
1083
+ title?: ReactNode;
1084
+ /** Optional line under the heading. */
1085
+ subtitle?: ReactNode;
1086
+ /**
1087
+ * A block above the form for a failed submit — rendered in the soft-error
1088
+ * box these screens all use. Falsy values render nothing.
1089
+ */
1090
+ error?: ReactNode;
1091
+ /** Optional medallion / spinner above the heading, centered. */
1092
+ icon?: ReactNode;
1093
+ /** The form (or whatever the screen is for). */
1094
+ children: ReactNode;
1095
+ /** Content under the card — "Don't have an account?", legal links. */
1096
+ footer?: ReactNode;
1097
+ /** Centers everything in the card — for confirmation and status screens. */
1098
+ centered?: boolean;
1099
+ /**
1100
+ * Width of the column. `sm` suits a sign-in form; `md` suits the wider
1101
+ * error / not-found screens. @defaultValue "sm"
1102
+ */
1103
+ width?: "sm" | "md";
1104
+ /** Extra classes on the card box itself (the wrapper takes `className`). */
1105
+ cardClassName?: string;
1106
+ }
1107
+ /**
1108
+ * The centered single-column screen every auth flow uses: sign in, sign up,
1109
+ * forgot/reset password, verify email, resend verification, OAuth callback.
1110
+ *
1111
+ * Yunxin hand-rolls this shell **nine times** — each copy re-deriving the
1112
+ * viewport centring, the column width, the brand row spacing and the card
1113
+ * chrome. This is a straight extraction of that markup, class for class:
1114
+ * Yunxin is the original and stays the reference, so a screen that adopts
1115
+ * `AuthShell` renders identically to the copy it replaces.
1116
+ *
1117
+ * That is why the panel is `p-6 bg-card border border-border rounded-xl` and
1118
+ * NOT the house `.card` class — `.card` is a 20px radius with a shadow and a
1119
+ * hover transition, so swapping it in would have quietly restyled all nine
1120
+ * screens. Only the parts that are identical in every copy live here; whatever
1121
+ * varies (medallions, spinners, per-screen copy) stays in `children`.
1122
+ */
1123
+ declare function AuthShell({ brand, homeHref, title, subtitle, error, icon, children, footer, centered, width, className, cardClassName, ...props }: AuthShellProps): React$1.JSX.Element;
1124
+
1125
+ interface TableStateProps extends HTMLAttributes<HTMLDivElement> {
1126
+ /** The message — "No results", "Nothing to review". */
1127
+ children: ReactNode;
1128
+ /** Show a spinner before the message. @defaultValue false */
1129
+ loading?: boolean;
1130
+ /** Vertical padding. `card` also draws the card surface. @defaultValue "plain" */
1131
+ surface?: "plain" | "card";
1132
+ }
1133
+ /**
1134
+ * The single muted line an empty or loading table/panel shows in place of rows.
1135
+ *
1136
+ * Yunxin repeats this shape **39 times** across its dashboard and admin pages —
1137
+ * as `card p-8 text-center text-muted-foreground`, as `p-8 …`, and as `py-8 …`,
1138
+ * i.e. three spellings of one idea. This is deliberately *not*
1139
+ * {@link EmptyState}: that is the big icon + title + description + action block
1140
+ * for a whole screen; this is the one-line cell inside a table.
1141
+ */
1142
+ declare function TableState({ children, loading, surface, className, ...props }: TableStateProps): React$1.JSX.Element;
1143
+ interface StatGridProps extends HTMLAttributes<HTMLDivElement> {
1144
+ children: ReactNode;
1145
+ /** Columns at the widest breakpoint. @defaultValue 4 */
1146
+ columns?: 2 | 3 | 4;
1147
+ }
1148
+ /**
1149
+ * The responsive tile row that carries {@link StatCard}s at the top of a
1150
+ * dashboard page — two up on phones, `columns` up from `sm`/`lg`.
1151
+ *
1152
+ * Extracted because Yunxin hand-rolls the same grid on ~12 admin pages, and the
1153
+ * copies had already drifted between `sm:grid-cols-4` and `lg:grid-cols-4`.
1154
+ */
1155
+ declare function StatGrid({ children, columns, className, ...props }: StatGridProps): React$1.JSX.Element;
1156
+ interface DashboardPageProps extends HTMLAttributes<HTMLDivElement> {
1157
+ children: ReactNode;
1158
+ /** Max content width. @defaultValue "7xl" */
1159
+ width?: "5xl" | "6xl" | "7xl";
1160
+ }
1161
+ /**
1162
+ * The content column for a dashboard/admin page: a capped, centered width with
1163
+ * the house vertical rhythm between sections.
1164
+ *
1165
+ * Distinct from {@link PageLayout}, which is the marketing shell (navbar +
1166
+ * footer). Yunxin repeats `space-y-6 max-w-7xl mx-auto` on 11 admin pages.
1167
+ */
1168
+ declare function DashboardPage({ children, width, className, ...props }: DashboardPageProps): React$1.JSX.Element;
1169
+ interface SectionRowProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1170
+ /** Section title. */
1171
+ title: ReactNode;
1172
+ /** Trailing control — a button, a filter, a link. */
1173
+ action?: ReactNode;
1174
+ }
1175
+ /**
1176
+ * A section title with a trailing action on the same baseline — the header that
1177
+ * sits above a table or a card list inside a page (not the page header itself;
1178
+ * that is {@link PageHeader}). Repeated 13 times across Yunxin's dashboard.
1179
+ */
1180
+ declare function SectionRow({ title, action, className, ...props }: SectionRowProps): React$1.JSX.Element;
1181
+
1182
+ interface SectionNavItem {
1183
+ /** Element id to scroll to; also the observed target. */
1184
+ id: string;
1185
+ label: string;
1186
+ /** Shown right-aligned — how many things are in the section. */
1187
+ count?: number;
1188
+ }
1189
+ interface SectionNavProps {
1190
+ items: SectionNavItem[];
1191
+ /** Offset in px for a fixed header, used when scrolling and when spying. */
1192
+ offset?: number;
1193
+ /** Accessible name for the nav landmark — localize it. @defaultValue "Sections" */
1194
+ label?: string;
1195
+ className?: string;
1196
+ }
1197
+ /**
1198
+ * In-page section navigator with scroll spy.
1199
+ *
1200
+ * Written because a digest can run to forty entries across nine sections, and
1201
+ * without this the only way to reach 產業動態 is to scroll past everything
1202
+ * before it. Distinct from `Sidebar`, which is site navigation (brand, logo, routes):
1203
+ * this covers "navigate within one long page". Upstreamed from YunNEWS, where
1204
+ * it was written to library standards from the start.
1205
+ *
1206
+ * IntersectionObserver rather than a scroll handler: a scroll listener fires on
1207
+ * every frame and has to measure each section's box, which is the same work the
1208
+ * browser has already done.
1209
+ */
1210
+ declare function SectionNav({ items, offset, label, className }: SectionNavProps): React$1.JSX.Element | null;
1211
+
1212
+ interface ArchiveCalendarProps {
1213
+ /** Dates that have an issue, as YYYY-MM-DD. Order does not matter. */
1214
+ dates: string[];
1215
+ /** Where a date links to. */
1216
+ href: (date: string) => string;
1217
+ /**
1218
+ * Most months to draw. A ceiling, not a count: the range comes from the data,
1219
+ * so an archive three weeks old draws one month rather than six, five of them
1220
+ * empty.
1221
+ */
1222
+ maxMonths?: number;
1223
+ /** Weekday initials, Sunday first. @defaultValue ["S","M","T","W","T","F","S"] */
1224
+ weekdays?: readonly string[];
1225
+ /** Format a month heading. @defaultValue `${year}-${month}` */
1226
+ formatMonth?: (year: number, month: number) => string;
1227
+ /** Label the per-month count, e.g. `(n) => `${n} issues``. Omit to hide it. */
1228
+ formatCount?: (count: number) => string;
1229
+ /** Accessible label for a filled day. @defaultValue the ISO date */
1230
+ formatDayLabel?: (date: string) => string;
1231
+ className?: string;
1232
+ }
1233
+ declare function ArchiveCalendar({ dates, href, maxMonths, weekdays, formatMonth, formatCount, formatDayLabel, className, }: ArchiveCalendarProps): React$1.JSX.Element | null;
1234
+
1235
+ 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, CTASection, type CTASectionProps, CapabilityBadge, CategoryFilter, CodeBlock, CodeDemo, ConnectedAccountRow, type ConnectedAccountRowProps, DashboardPage, type DashboardPageProps, DeprecatedBadge, ErrorBoundary, type ErrorBoundaryLabels, Eyebrow, type EyebrowProps, FAQ, type FAQItem, type FAQProps, FeatureCard, type FeatureCardProps, FeatureLockedState, type FeatureLockedStateProps, FellowBadge, FellowsBanner, type FellowsBannerProps, HeroAccent, LLMCopyButton, LinkRow, type LinkRowProps, MarketingHero, type MarketingHeroProps, MediaEmptyState, MediaErrorState, MediaGallery, type MediaGalleryLabels, type MediaGalleryProps, 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, TableState, type TableStateProps, ViewOptions };