@logicplanes/kaeso-ui 0.6.0-rc.7 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/README.md +2 -0
  2. package/ai/component-guides.md +246 -49
  3. package/ai/component-registry.json +984 -172
  4. package/ai/component-registry.md +238 -44
  5. package/ai/icons.md +3 -3
  6. package/ai/tokens.md +23 -1
  7. package/dist/chunks/{app-frame-BQglMYqg.js → app-frame-R1TWy5PY.js} +6 -6
  8. package/dist/chunks/{app-frame-BQglMYqg.js.map → app-frame-R1TWy5PY.js.map} +1 -1
  9. package/dist/chunks/{avatar-BxurPxr-.js → avatar-DVrkoFEg.js} +3 -3
  10. package/dist/chunks/{avatar-BxurPxr-.js.map → avatar-DVrkoFEg.js.map} +1 -1
  11. package/dist/chunks/{badge-D0xd2NJD.js → badge-CTYrfTwc.js} +3 -3
  12. package/dist/chunks/{badge-D0xd2NJD.js.map → badge-CTYrfTwc.js.map} +1 -1
  13. package/dist/chunks/{banner-CDxD8uNX.js → banner-cJ89c-IR.js} +4 -4
  14. package/dist/chunks/{banner-CDxD8uNX.js.map → banner-cJ89c-IR.js.map} +1 -1
  15. package/dist/chunks/{button-CcXKlcXd.js → button-Da8b-8ub.js} +83 -72
  16. package/dist/chunks/button-Da8b-8ub.js.map +1 -0
  17. package/dist/chunks/{button-group-DuDLB-P0.js → button-group-BJxaz0sb.js} +5 -5
  18. package/dist/chunks/{button-group-DuDLB-P0.js.map → button-group-BJxaz0sb.js.map} +1 -1
  19. package/dist/chunks/{calendar-65N4gUmO.js → calendar-CA9mDtwp.js} +2 -2
  20. package/dist/chunks/{calendar-65N4gUmO.js.map → calendar-CA9mDtwp.js.map} +1 -1
  21. package/dist/chunks/{checkbox-BB_tV5ic.js → checkbox-CPL47-us.js} +4 -4
  22. package/dist/chunks/{checkbox-BB_tV5ic.js.map → checkbox-CPL47-us.js.map} +1 -1
  23. package/dist/chunks/{cn-BUMD6lNz.js → cn-CLpm819s.js} +4 -1
  24. package/dist/chunks/cn-CLpm819s.js.map +1 -0
  25. package/dist/chunks/{code-BBeW-m4W.js → code-CpqXogQK.js} +2 -2
  26. package/dist/chunks/{code-BBeW-m4W.js.map → code-CpqXogQK.js.map} +1 -1
  27. package/dist/chunks/code-block-7c_BOBlJ.js +247 -0
  28. package/dist/chunks/code-block-7c_BOBlJ.js.map +1 -0
  29. package/dist/chunks/{code-block-CbVLyIr-.js → code-block-BqFGa1-b.js} +82 -81
  30. package/dist/chunks/code-block-BqFGa1-b.js.map +1 -0
  31. package/dist/chunks/{collapsible-CiDUGq5u.js → collapsible-DmLyF8Ol.js} +3 -3
  32. package/dist/chunks/{collapsible-CiDUGq5u.js.map → collapsible-DmLyF8Ol.js.map} +1 -1
  33. package/dist/chunks/{combobox-BX703kW9.js → combobox-B-xciC2c.js} +6 -6
  34. package/dist/chunks/{combobox-BX703kW9.js.map → combobox-B-xciC2c.js.map} +1 -1
  35. package/dist/chunks/{command-list-BLVmk0z6.js → command-list-GQ3y8on6.js} +4 -4
  36. package/dist/chunks/{command-list-BLVmk0z6.js.map → command-list-GQ3y8on6.js.map} +1 -1
  37. package/dist/chunks/{command-palette-s_qW_RRa.js → command-palette-DEJDRW31.js} +5 -5
  38. package/dist/chunks/{command-palette-s_qW_RRa.js.map → command-palette-DEJDRW31.js.map} +1 -1
  39. package/dist/chunks/{copy-button-CK-ddxCg.js → copy-button-B67MEIu2.js} +6 -5
  40. package/dist/chunks/copy-button-B67MEIu2.js.map +1 -0
  41. package/dist/chunks/core-CQUQdd7y.js +414 -0
  42. package/dist/chunks/core-CQUQdd7y.js.map +1 -0
  43. package/dist/chunks/dashboard-NqG9Wgga.js +132 -0
  44. package/dist/chunks/dashboard-NqG9Wgga.js.map +1 -0
  45. package/dist/chunks/data-table-ByhxIgY2.js +625 -0
  46. package/dist/chunks/data-table-ByhxIgY2.js.map +1 -0
  47. package/dist/chunks/{date-picker-DGM5bXxD.js → date-picker-BmLb22jd.js} +8 -8
  48. package/dist/chunks/{date-picker-DGM5bXxD.js.map → date-picker-BmLb22jd.js.map} +1 -1
  49. package/dist/chunks/{date-popup-C2FLIETP.js → date-popup-7ZzVxhY1.js} +4 -4
  50. package/dist/chunks/{date-popup-C2FLIETP.js.map → date-popup-7ZzVxhY1.js.map} +1 -1
  51. package/dist/chunks/{de-aLc0-E5B.js → de-V_lN_KKk.js} +40 -4
  52. package/dist/chunks/de-V_lN_KKk.js.map +1 -0
  53. package/dist/chunks/delta-BCIXqi3O.js +36 -0
  54. package/dist/chunks/delta-BCIXqi3O.js.map +1 -0
  55. package/dist/chunks/{dialog-DhT0sDr6.js → dialog-C3CMOFxU.js} +4 -4
  56. package/dist/chunks/{dialog-DhT0sDr6.js.map → dialog-C3CMOFxU.js.map} +1 -1
  57. package/dist/chunks/{disclosure-DDSekEH6.js → disclosure-DhMvGSll.js} +2 -2
  58. package/dist/chunks/{disclosure-DDSekEH6.js.map → disclosure-DhMvGSll.js.map} +1 -1
  59. package/dist/chunks/{display-options-CRZO-ODl.js → display-options-BTFqLSJX.js} +9 -9
  60. package/dist/chunks/{display-options-CRZO-ODl.js.map → display-options-BTFqLSJX.js.map} +1 -1
  61. package/dist/chunks/{domain-aTOiqhIX.js → domain-DtP6QrOA.js} +9 -9
  62. package/dist/chunks/{domain-aTOiqhIX.js.map → domain-DtP6QrOA.js.map} +1 -1
  63. package/dist/chunks/{empty-DWXE3-2p.js → empty-BSAHpS5Q.js} +2 -2
  64. package/dist/chunks/{empty-DWXE3-2p.js.map → empty-BSAHpS5Q.js.map} +1 -1
  65. package/dist/chunks/{field-CRbWDIsH.js → field-ng87P1GV.js} +2 -2
  66. package/dist/chunks/{field-CRbWDIsH.js.map → field-ng87P1GV.js.map} +1 -1
  67. package/dist/chunks/{figure-C2WlBeYZ.js → figure-_uZS1Y52.js} +3 -3
  68. package/dist/chunks/{figure-C2WlBeYZ.js.map → figure-_uZS1Y52.js.map} +1 -1
  69. package/dist/chunks/{filter-chip-hGC4Okb0.js → filter-chip-CQO2lHeZ.js} +6 -6
  70. package/dist/chunks/{filter-chip-hGC4Okb0.js.map → filter-chip-CQO2lHeZ.js.map} +1 -1
  71. package/dist/chunks/{filter-row-BcBy7gxN.js → filter-row-Bs2lFT67.js} +2 -2
  72. package/dist/chunks/{filter-row-BcBy7gxN.js.map → filter-row-Bs2lFT67.js.map} +1 -1
  73. package/dist/chunks/{flow-T4mRzmsP.js → flow-BGFXfXgJ.js} +3 -3
  74. package/dist/chunks/{flow-T4mRzmsP.js.map → flow-BGFXfXgJ.js.map} +1 -1
  75. package/dist/chunks/{heading-Dua_i106.js → heading-wBU2QK4s.js} +2 -2
  76. package/dist/chunks/{heading-Dua_i106.js.map → heading-wBU2QK4s.js.map} +1 -1
  77. package/dist/chunks/{icon-DI6L-F9F.js → icon-CPiYZMTw.js} +2 -2
  78. package/dist/chunks/{icon-DI6L-F9F.js.map → icon-CPiYZMTw.js.map} +1 -1
  79. package/dist/chunks/icon-lgMMe3zk.js +108 -0
  80. package/dist/chunks/icon-lgMMe3zk.js.map +1 -0
  81. package/dist/chunks/identity-DCghs4Wp.js +872 -0
  82. package/dist/chunks/identity-DCghs4Wp.js.map +1 -0
  83. package/dist/chunks/{input-DHrCmxvX.js → input-QQR4KS9D.js} +5 -5
  84. package/dist/chunks/{input-DHrCmxvX.js.map → input-QQR4KS9D.js.map} +1 -1
  85. package/dist/chunks/{input-group-6LrjOci-.js → input-group-A2mru3OM.js} +4 -4
  86. package/dist/chunks/{input-group-6LrjOci-.js.map → input-group-A2mru3OM.js.map} +1 -1
  87. package/dist/chunks/{input-Ia8Mqd8q.js → input-iSaRkw-V.js} +5 -5
  88. package/dist/chunks/{input-Ia8Mqd8q.js.map → input-iSaRkw-V.js.map} +1 -1
  89. package/dist/chunks/{iso-field-CKN-M0PC.js → iso-field-D2CISQaB.js} +2 -2
  90. package/dist/chunks/{iso-field-CKN-M0PC.js.map → iso-field-D2CISQaB.js.map} +1 -1
  91. package/dist/chunks/{json-view-B6NjVdYp.js → json-view-DeHSFq-2.js} +9 -12
  92. package/dist/chunks/json-view-DeHSFq-2.js.map +1 -0
  93. package/dist/chunks/{kaeso-CE3QS6Xl.js → kaeso-Bs1aLSTp.js} +128 -124
  94. package/dist/chunks/kaeso-Bs1aLSTp.js.map +1 -0
  95. package/dist/chunks/kaeso-theme-BIgOZi41.js +299 -0
  96. package/dist/chunks/kaeso-theme-BIgOZi41.js.map +1 -0
  97. package/dist/chunks/{kbd-CFkkPtOm.js → kbd-xC3k90CH.js} +2 -2
  98. package/dist/chunks/{kbd-CFkkPtOm.js.map → kbd-xC3k90CH.js.map} +1 -1
  99. package/dist/chunks/{key-value-BsnQl9_-.js → key-value-DKW2q0zt.js} +4 -4
  100. package/dist/chunks/{key-value-BsnQl9_-.js.map → key-value-DKW2q0zt.js.map} +1 -1
  101. package/dist/chunks/{link-jtnw0XQV.js → link-CWYlF_dE.js} +3 -3
  102. package/dist/chunks/{link-jtnw0XQV.js.map → link-CWYlF_dE.js.map} +1 -1
  103. package/dist/chunks/{list-Ch4Y7IZk.js → list-CT7yIoA5.js} +9 -9
  104. package/dist/chunks/{list-Ch4Y7IZk.js.map → list-CT7yIoA5.js.map} +1 -1
  105. package/dist/chunks/{loader-2Tsz3V9j.js → loader-D27YO1c3.js} +3 -3
  106. package/dist/chunks/{loader-2Tsz3V9j.js.map → loader-D27YO1c3.js.map} +1 -1
  107. package/dist/chunks/{loader-C9qbRLAi.js → loader-DtZd9btk.js} +2 -2
  108. package/dist/chunks/{loader-C9qbRLAi.js.map → loader-DtZd9btk.js.map} +1 -1
  109. package/dist/chunks/{logo-DlxX9yDU.js → logo-DTqTs3vV.js} +3 -3
  110. package/dist/chunks/{logo-DlxX9yDU.js.map → logo-DTqTs3vV.js.map} +1 -1
  111. package/dist/chunks/markdown-BlIl3LuV.js +325 -0
  112. package/dist/chunks/markdown-BlIl3LuV.js.map +1 -0
  113. package/dist/chunks/{menu-DxmOaBVN.js → menu-D3tUjkCM.js} +4 -4
  114. package/dist/chunks/{menu-DxmOaBVN.js.map → menu-D3tUjkCM.js.map} +1 -1
  115. package/dist/chunks/{meter-CJqtlPjV.js → meter-wcH0LXva.js} +4 -4
  116. package/dist/chunks/{meter-CJqtlPjV.js.map → meter-wcH0LXva.js.map} +1 -1
  117. package/dist/chunks/{nav-sheet-DwAJdFCD.js → nav-sheet-CteQQuMz.js} +3 -3
  118. package/dist/chunks/{nav-sheet-DwAJdFCD.js.map → nav-sheet-CteQQuMz.js.map} +1 -1
  119. package/dist/chunks/{nav-wordmark-3Bvc2UI6.js → nav-wordmark-DR4Glswt.js} +2 -2
  120. package/dist/chunks/{nav-wordmark-3Bvc2UI6.js.map → nav-wordmark-DR4Glswt.js.map} +1 -1
  121. package/dist/chunks/{page-header-DIZCC9oT.js → page-header-JWk6TQNN.js} +5 -5
  122. package/dist/chunks/{page-header-DIZCC9oT.js.map → page-header-JWk6TQNN.js.map} +1 -1
  123. package/dist/chunks/{pagination-DFxZ2d3u.js → pagination-BT-lQc45.js} +3 -3
  124. package/dist/chunks/{pagination-DFxZ2d3u.js.map → pagination-BT-lQc45.js.map} +1 -1
  125. package/dist/chunks/{picker-popover-tBL7TLJC.js → picker-popover-Bb-2Amjw.js} +8 -7
  126. package/dist/chunks/{picker-popover-tBL7TLJC.js.map → picker-popover-Bb-2Amjw.js.map} +1 -1
  127. package/dist/chunks/{popover-DRvCfHVs.js → popover-CAoo5c59.js} +2 -2
  128. package/dist/chunks/{popover-DRvCfHVs.js.map → popover-CAoo5c59.js.map} +1 -1
  129. package/dist/chunks/provider-marks-BVbDRIv-.js +19 -0
  130. package/dist/chunks/provider-marks-BVbDRIv-.js.map +1 -0
  131. package/dist/chunks/{qr-code-HlCtD0aP.js → qr-code-DOsFDNiz.js} +2 -2
  132. package/dist/chunks/{qr-code-HlCtD0aP.js.map → qr-code-DOsFDNiz.js.map} +1 -1
  133. package/dist/chunks/{radio-BNZqKDn4.js → radio-DfOB6J3Z.js} +3 -3
  134. package/dist/chunks/{radio-BNZqKDn4.js.map → radio-DfOB6J3Z.js.map} +1 -1
  135. package/dist/chunks/{range-popup-H1040MdD.js → range-popup-iBru5bpM.js} +7 -7
  136. package/dist/chunks/{range-popup-H1040MdD.js.map → range-popup-iBru5bpM.js.map} +1 -1
  137. package/dist/chunks/{reasoning-frame-BuhiGUBq.js → reasoning-frame-DBIq2SMT.js} +3 -3
  138. package/dist/chunks/{reasoning-frame-BuhiGUBq.js.map → reasoning-frame-DBIq2SMT.js.map} +1 -1
  139. package/dist/chunks/{release-art-BeseUxSj.js → release-art-D7Iq6Qhv.js} +25 -25
  140. package/dist/chunks/release-art-D7Iq6Qhv.js.map +1 -0
  141. package/dist/chunks/{rights-QyZEMemh.js → rights-DDGgi823.js} +10 -10
  142. package/dist/chunks/{rights-QyZEMemh.js.map → rights-DDGgi823.js.map} +1 -1
  143. package/dist/chunks/rolling-number-ea1iiycC.js +41 -0
  144. package/dist/chunks/rolling-number-ea1iiycC.js.map +1 -0
  145. package/dist/chunks/{scroll-area-BvxoHcHS.js → scroll-area-D-ykAChX.js} +2 -2
  146. package/dist/chunks/{scroll-area-BvxoHcHS.js.map → scroll-area-D-ykAChX.js.map} +1 -1
  147. package/dist/chunks/{section-Dd5vmuR1.js → section-BmR6_Wts.js} +3 -3
  148. package/dist/chunks/{section-Dd5vmuR1.js.map → section-BmR6_Wts.js.map} +1 -1
  149. package/dist/chunks/{segmented-Clv2P1AB.js → segmented-BJJHHn0N.js} +17 -67
  150. package/dist/chunks/segmented-BJJHHn0N.js.map +1 -0
  151. package/dist/chunks/{select-DU6O_iW6.js → select-Ch4u5oIg.js} +4 -4
  152. package/dist/chunks/{select-DU6O_iW6.js.map → select-Ch4u5oIg.js.map} +1 -1
  153. package/dist/chunks/{separator-DMXz46Ge.js → separator-B2CT4qia.js} +2 -2
  154. package/dist/chunks/{separator-DMXz46Ge.js.map → separator-B2CT4qia.js.map} +1 -1
  155. package/dist/chunks/{settings-CWvZ9h4g.js → settings-BnheJGYB.js} +3 -3
  156. package/dist/chunks/{settings-CWvZ9h4g.js.map → settings-BnheJGYB.js.map} +1 -1
  157. package/dist/chunks/{sheet-DrxdaMjN.js → sheet-K6qa1kRf.js} +3 -3
  158. package/dist/chunks/{sheet-DrxdaMjN.js.map → sheet-K6qa1kRf.js.map} +1 -1
  159. package/dist/chunks/shiki-CRJpi_Hd.js +99 -0
  160. package/dist/chunks/shiki-CRJpi_Hd.js.map +1 -0
  161. package/dist/chunks/{sidebar-ZDmAFOVM.js → sidebar-D7eSzz33.js} +8 -8
  162. package/dist/chunks/{sidebar-ZDmAFOVM.js.map → sidebar-D7eSzz33.js.map} +1 -1
  163. package/dist/chunks/{sidebar-menu-Iq_ADCGg.js → sidebar-menu-f5NMgTdE.js} +2 -2
  164. package/dist/chunks/{sidebar-menu-Iq_ADCGg.js.map → sidebar-menu-f5NMgTdE.js.map} +1 -1
  165. package/dist/chunks/{skeleton-E7yXpAaT.js → skeleton-Bx-vRJdy.js} +2 -2
  166. package/dist/chunks/{skeleton-E7yXpAaT.js.map → skeleton-Bx-vRJdy.js.map} +1 -1
  167. package/dist/chunks/{slider-DoJfRjX1.js → slider-BuEZfzNB.js} +2 -2
  168. package/dist/chunks/{slider-DoJfRjX1.js.map → slider-BuEZfzNB.js.map} +1 -1
  169. package/dist/chunks/{stat-7VFJ8QW-.js → stat-gR4hFqO8.js} +68 -81
  170. package/dist/chunks/stat-gR4hFqO8.js.map +1 -0
  171. package/dist/chunks/{status-BvzxKVpT.js → status-CejTEkqR.js} +3 -3
  172. package/dist/chunks/{status-BvzxKVpT.js.map → status-CejTEkqR.js.map} +1 -1
  173. package/dist/chunks/{swap-text-BgdoVD3v.js → swap-text-CxWcVD0a.js} +2 -2
  174. package/dist/chunks/{swap-text-BgdoVD3v.js.map → swap-text-CxWcVD0a.js.map} +1 -1
  175. package/dist/chunks/swap-value-DMEInk8V.js +30 -0
  176. package/dist/chunks/swap-value-DMEInk8V.js.map +1 -0
  177. package/dist/chunks/{switch-lxwwqvbG.js → switch-CklvBjKu.js} +4 -4
  178. package/dist/chunks/{switch-lxwwqvbG.js.map → switch-CklvBjKu.js.map} +1 -1
  179. package/dist/chunks/{table-6rmKwlCw.js → table-BTUUwlXD.js} +2 -2
  180. package/dist/chunks/{table-6rmKwlCw.js.map → table-BTUUwlXD.js.map} +1 -1
  181. package/dist/chunks/{tabs-BZj11L5c.js → tabs-D0I6Jkd4.js} +3 -3
  182. package/dist/chunks/{tabs-BZj11L5c.js.map → tabs-D0I6Jkd4.js.map} +1 -1
  183. package/dist/chunks/{tag-Bnc0j1jP.js → tag-BGvgGsvr.js} +4 -4
  184. package/dist/chunks/{tag-Bnc0j1jP.js.map → tag-BGvgGsvr.js.map} +1 -1
  185. package/dist/chunks/{text-D_rqwSaG.js → text-ChUk0Z46.js} +3 -3
  186. package/dist/chunks/{text-D_rqwSaG.js.map → text-ChUk0Z46.js.map} +1 -1
  187. package/dist/chunks/{textarea-BzMbsYD7.js → textarea-Bmj2Yk79.js} +5 -5
  188. package/dist/chunks/{textarea-BzMbsYD7.js.map → textarea-Bmj2Yk79.js.map} +1 -1
  189. package/dist/chunks/{theme-image-DjI_Zymf.js → theme-image-Bk97CYp8.js} +4 -4
  190. package/dist/chunks/{theme-image-DjI_Zymf.js.map → theme-image-Bk97CYp8.js.map} +1 -1
  191. package/dist/chunks/{theme-menu-BLNYvmuB.js → theme-menu-DvtuCuuN.js} +3 -3
  192. package/dist/chunks/{theme-menu-BLNYvmuB.js.map → theme-menu-DvtuCuuN.js.map} +1 -1
  193. package/dist/chunks/{thumbnail-CRdk7mvC.js → thumbnail-D2hD8aEk.js} +2 -2
  194. package/dist/chunks/{thumbnail-CRdk7mvC.js.map → thumbnail-D2hD8aEk.js.map} +1 -1
  195. package/dist/chunks/thumbnail-DadL1nPU.js +71 -0
  196. package/dist/chunks/thumbnail-DadL1nPU.js.map +1 -0
  197. package/dist/chunks/{timeline-CWQdqBVv.js → timeline-BQm5Q-Ul.js} +3 -3
  198. package/dist/chunks/{timeline-CWQdqBVv.js.map → timeline-BQm5Q-Ul.js.map} +1 -1
  199. package/dist/chunks/timeseries-B_Z3nNn6.js +403 -0
  200. package/dist/chunks/timeseries-B_Z3nNn6.js.map +1 -0
  201. package/dist/chunks/{toast-C78w9ewo.js → toast-CSlvlu-r.js} +5 -5
  202. package/dist/chunks/{toast-C78w9ewo.js.map → toast-CSlvlu-r.js.map} +1 -1
  203. package/dist/chunks/{toc-BHf7IbFL.js → toc-Cu2QJL5A.js} +2 -2
  204. package/dist/chunks/{toc-BHf7IbFL.js.map → toc-Cu2QJL5A.js.map} +1 -1
  205. package/dist/chunks/{toolbar-CjykT3ZP.js → toolbar-DE-R3sjA.js} +2 -2
  206. package/dist/chunks/{toolbar-CjykT3ZP.js.map → toolbar-DE-R3sjA.js.map} +1 -1
  207. package/dist/chunks/tooltip-C8ehtFju.js +104 -0
  208. package/dist/chunks/tooltip-C8ehtFju.js.map +1 -0
  209. package/dist/chunks/{tooltip-F3l2S3Ad.js → tooltip-SZvkUaq9.js} +4 -4
  210. package/dist/chunks/{tooltip-F3l2S3Ad.js.map → tooltip-SZvkUaq9.js.map} +1 -1
  211. package/dist/chunks/{tooltip-root-Co-dVnZj.js → tooltip-root-CrLuOT4j.js} +4 -4
  212. package/dist/chunks/{tooltip-root-Co-dVnZj.js.map → tooltip-root-CrLuOT4j.js.map} +1 -1
  213. package/dist/chunks/{truncated-CzAJxfAD.js → truncated-C0A4AU-U.js} +3 -3
  214. package/dist/chunks/{truncated-CzAJxfAD.js.map → truncated-C0A4AU-U.js.map} +1 -1
  215. package/dist/chunks/use-indicator-C1ovED2B.js +57 -0
  216. package/dist/chunks/use-indicator-C1ovED2B.js.map +1 -0
  217. package/dist/chunks/{visually-hidden-UprFAwfn.js → visually-hidden-CLTH1HKD.js} +2 -2
  218. package/dist/chunks/{visually-hidden-UprFAwfn.js.map → visually-hidden-CLTH1HKD.js.map} +1 -1
  219. package/dist/chunks/{zh-CN-RCSVKiQh.js → zh-CN-Dv7n5mAr.js} +40 -4
  220. package/dist/chunks/zh-CN-Dv7n5mAr.js.map +1 -0
  221. package/dist/components/app-frame.js +1 -1
  222. package/dist/components/avatar.js +1 -1
  223. package/dist/components/badge.js +1 -1
  224. package/dist/components/banner.js +1 -1
  225. package/dist/components/button-group.js +1 -1
  226. package/dist/components/button.js +1 -1
  227. package/dist/components/calendar.js +1 -1
  228. package/dist/components/charts/bar.js +20 -19
  229. package/dist/components/charts/bar.js.map +1 -1
  230. package/dist/components/charts/donut.js +16 -15
  231. package/dist/components/charts/donut.js.map +1 -1
  232. package/dist/components/charts/heatmap.js +3 -2
  233. package/dist/components/charts/heatmap.js.map +1 -1
  234. package/dist/components/charts/sankey.js +11 -10
  235. package/dist/components/charts/sankey.js.map +1 -1
  236. package/dist/components/charts/sparkline.js +114 -42
  237. package/dist/components/charts/sparkline.js.map +1 -1
  238. package/dist/components/charts/timeseries.js +1 -1
  239. package/dist/components/charts.js +3 -3
  240. package/dist/components/checkbox.js +1 -1
  241. package/dist/components/code-block.js +5 -4
  242. package/dist/components/code.js +1 -1
  243. package/dist/components/collapsible.js +1 -1
  244. package/dist/components/combobox.js +1 -1
  245. package/dist/components/command-palette.js +1 -1
  246. package/dist/components/copy-button.js +1 -1
  247. package/dist/components/dashboard/legend.js +43 -0
  248. package/dist/components/dashboard/legend.js.map +1 -0
  249. package/dist/components/dashboard/metric-tabs.js +140 -0
  250. package/dist/components/dashboard/metric-tabs.js.map +1 -0
  251. package/dist/components/dashboard/model-card.js +82 -0
  252. package/dist/components/dashboard/model-card.js.map +1 -0
  253. package/dist/components/dashboard/rank-list.js +107 -0
  254. package/dist/components/dashboard/rank-list.js.map +1 -0
  255. package/dist/components/dashboard.js +7 -0
  256. package/dist/components/data-table.js +1 -1
  257. package/dist/components/date-picker.js +1 -1
  258. package/dist/components/dialog.js +1 -1
  259. package/dist/components/display-options.js +1 -1
  260. package/dist/components/empty.js +1 -1
  261. package/dist/components/field.js +1 -1
  262. package/dist/components/figure.js +1 -1
  263. package/dist/components/filter-chip.js +1 -1
  264. package/dist/components/filter-row.js +1 -1
  265. package/dist/components/flow-canvas.js +4 -4
  266. package/dist/components/flow.js +1 -1
  267. package/dist/components/heading.js +1 -1
  268. package/dist/components/icon.js +2 -2
  269. package/dist/components/input.js +3 -3
  270. package/dist/components/kaeso/conversation.js +37 -8
  271. package/dist/components/kaeso/conversation.js.map +1 -1
  272. package/dist/components/kaeso/identity.js +1 -1
  273. package/dist/components/kaeso/moments.js +5 -5
  274. package/dist/components/kaeso/moments.js.map +1 -1
  275. package/dist/components/kaeso/rights.js +1 -1
  276. package/dist/components/kaeso/usage.js +17 -16
  277. package/dist/components/kaeso/usage.js.map +1 -1
  278. package/dist/components/kaeso.js +3 -3
  279. package/dist/components/kbd.js +1 -1
  280. package/dist/components/key-value.js +1 -1
  281. package/dist/components/link.js +1 -1
  282. package/dist/components/list.js +1 -1
  283. package/dist/components/loader.js +2 -2
  284. package/dist/components/logo.js +1 -1
  285. package/dist/components/markdown.js +2 -2
  286. package/dist/components/menu.js +1 -1
  287. package/dist/components/meter.js +1 -1
  288. package/dist/components/page-header.js +1 -1
  289. package/dist/components/pagination.js +1 -1
  290. package/dist/components/playground.js +911 -545
  291. package/dist/components/playground.js.map +1 -1
  292. package/dist/components/popover.js +1 -1
  293. package/dist/components/qr-code.js +1 -1
  294. package/dist/components/radio.js +1 -1
  295. package/dist/components/release-art.js +1 -1
  296. package/dist/components/scroll-area.js +1 -1
  297. package/dist/components/section.js +1 -1
  298. package/dist/components/segmented.js +1 -1
  299. package/dist/components/select.js +1 -1
  300. package/dist/components/separator.js +1 -1
  301. package/dist/components/settings.js +1 -1
  302. package/dist/components/sheet.js +1 -1
  303. package/dist/components/sidebar.js +1 -1
  304. package/dist/components/skeleton.js +1 -1
  305. package/dist/components/slider.js +1 -1
  306. package/dist/components/stat.js +4 -1
  307. package/dist/components/status.js +1 -1
  308. package/dist/components/swap-text.js +1 -1
  309. package/dist/components/switch.js +1 -1
  310. package/dist/components/table.js +1 -1
  311. package/dist/components/tabs.js +1 -1
  312. package/dist/components/tag.js +1 -1
  313. package/dist/components/text.js +1 -1
  314. package/dist/components/theme-image.js +1 -1
  315. package/dist/components/theme-menu.js +1 -1
  316. package/dist/components/thumbnail.js +3 -1
  317. package/dist/components/timeline.js +1 -1
  318. package/dist/components/toast.js +1 -1
  319. package/dist/components/toc.js +1 -1
  320. package/dist/components/toolbar.js +1 -1
  321. package/dist/components/tooltip.js +1 -1
  322. package/dist/components/visually-hidden.js +1 -1
  323. package/dist/i18n-provider.js +1 -1
  324. package/dist/index.js +112 -102
  325. package/dist/kaeso.css +97 -10
  326. package/dist/styles.css +1 -1
  327. package/dist/types/components/button/button.d.ts +1 -0
  328. package/dist/types/components/button/docs.d.ts +1 -0
  329. package/dist/types/components/charts/core.d.ts +3 -27
  330. package/dist/types/components/charts/docs.d.ts +4 -0
  331. package/dist/types/components/charts/sparkline.d.ts +4 -0
  332. package/dist/types/components/charts/timeseries.d.ts +2 -0
  333. package/dist/types/components/charts/tooltip.d.ts +28 -0
  334. package/dist/types/components/code-block/highlighter.d.ts +9 -18
  335. package/dist/types/components/code-block/index.d.ts +1 -1
  336. package/dist/types/components/code-block/kaeso-theme.d.ts +74 -8
  337. package/dist/types/components/code-block/shiki.d.ts +18 -0
  338. package/dist/types/components/code-block/tones.d.ts +64 -0
  339. package/dist/types/components/copy-button/copy-button.d.ts +4 -0
  340. package/dist/types/components/dashboard/dashboard.d.ts +61 -0
  341. package/dist/types/components/dashboard/docs.d.ts +92 -0
  342. package/dist/types/components/dashboard/index.d.ts +6 -0
  343. package/dist/types/components/dashboard/legend.d.ts +11 -0
  344. package/dist/types/components/dashboard/metric-tabs.d.ts +22 -0
  345. package/dist/types/components/dashboard/model-card.d.ts +23 -0
  346. package/dist/types/components/dashboard/rank-list.d.ts +21 -0
  347. package/dist/types/components/dashboard/swap-value.d.ts +7 -0
  348. package/dist/types/components/field/field.d.ts +1 -1
  349. package/dist/types/components/kaeso/conversation.d.ts +8 -0
  350. package/dist/types/components/kaeso/docs.d.ts +3 -0
  351. package/dist/types/components/kaeso/identity.d.ts +3 -0
  352. package/dist/types/components/kaeso/provider-picker.d.ts +4 -1
  353. package/dist/types/components/markdown/index.d.ts +1 -1
  354. package/dist/types/components/markdown/markdown.d.ts +9 -2
  355. package/dist/types/components/playground/attachments.d.ts +32 -0
  356. package/dist/types/components/playground/compare-grid.d.ts +1 -0
  357. package/dist/types/components/playground/composer.d.ts +8 -2
  358. package/dist/types/components/playground/docs.d.ts +36 -10
  359. package/dist/types/components/playground/index.d.ts +5 -3
  360. package/dist/types/components/playground/media-response.d.ts +46 -0
  361. package/dist/types/components/playground/parameter-panel.d.ts +17 -0
  362. package/dist/types/components/playground/response-metrics.d.ts +3 -3
  363. package/dist/types/components/playground/response-view.d.ts +2 -0
  364. package/dist/types/components/release-art/docs.d.ts +1 -0
  365. package/dist/types/components/release-art/release-art.d.ts +1 -0
  366. package/dist/types/components/stat/delta.d.ts +28 -0
  367. package/dist/types/components/stat/docs.d.ts +13 -0
  368. package/dist/types/components/stat/index.d.ts +4 -0
  369. package/dist/types/components/stat/rolling-number.d.ts +7 -0
  370. package/dist/types/components/stat/stat.d.ts +1 -1
  371. package/dist/types/components/thumbnail/docs.d.ts +11 -0
  372. package/dist/types/components/thumbnail/index.d.ts +2 -0
  373. package/dist/types/components/thumbnail/media-view.d.ts +33 -0
  374. package/dist/types/hooks/use-sticky-top.d.ts +2 -0
  375. package/dist/types/icons/groups.d.ts +2 -2
  376. package/dist/types/icons/vocabulary.d.ts +30 -0
  377. package/dist/types/index.d.ts +1 -0
  378. package/dist/types/utils/index.d.ts +1 -0
  379. package/dist/types/utils/provider-marks.d.ts +11 -0
  380. package/dist/utils.js +7 -6
  381. package/foundations/color.md +24 -2
  382. package/foundations/motion.md +1 -0
  383. package/package.json +2 -2
  384. package/dist/chunks/button-CcXKlcXd.js.map +0 -1
  385. package/dist/chunks/cn-BUMD6lNz.js.map +0 -1
  386. package/dist/chunks/code-block-8rW57rUV.js +0 -345
  387. package/dist/chunks/code-block-8rW57rUV.js.map +0 -1
  388. package/dist/chunks/code-block-CbVLyIr-.js.map +0 -1
  389. package/dist/chunks/copy-button-CK-ddxCg.js.map +0 -1
  390. package/dist/chunks/core-nqsBmktJ.js +0 -496
  391. package/dist/chunks/core-nqsBmktJ.js.map +0 -1
  392. package/dist/chunks/data-table-FQlJ_Ae4.js +0 -605
  393. package/dist/chunks/data-table-FQlJ_Ae4.js.map +0 -1
  394. package/dist/chunks/de-aLc0-E5B.js.map +0 -1
  395. package/dist/chunks/icon-CPNoEw5s.js +0 -102
  396. package/dist/chunks/icon-CPNoEw5s.js.map +0 -1
  397. package/dist/chunks/identity-CpM7nAZ3.js +0 -494
  398. package/dist/chunks/identity-CpM7nAZ3.js.map +0 -1
  399. package/dist/chunks/json-view-B6NjVdYp.js.map +0 -1
  400. package/dist/chunks/kaeso-CE3QS6Xl.js.map +0 -1
  401. package/dist/chunks/markdown-8YRbGHeS.js +0 -338
  402. package/dist/chunks/markdown-8YRbGHeS.js.map +0 -1
  403. package/dist/chunks/release-art-BeseUxSj.js.map +0 -1
  404. package/dist/chunks/segmented-Clv2P1AB.js.map +0 -1
  405. package/dist/chunks/stat-7VFJ8QW-.js.map +0 -1
  406. package/dist/chunks/timeseries-Cj50XALJ.js +0 -381
  407. package/dist/chunks/timeseries-Cj50XALJ.js.map +0 -1
  408. package/dist/chunks/zh-CN-RCSVKiQh.js.map +0 -1
  409. package/dist/types/components/playground/prompt-suggestions.d.ts +0 -24
package/README.md CHANGED
@@ -32,6 +32,8 @@ export function App() {
32
32
  }
33
33
  ```
34
34
 
35
+ Every component is also its own import, such as `@logicplanes/kaeso-ui/button`; the charts are under `@logicplanes/kaeso-ui/charts/*`, the parts Kaeso's own interfaces share, such as the rights matrix and the conversation view, under `@logicplanes/kaeso-ui/kaeso/*`, and the helpers under `/format`, `/theme`, `/i18n` and `/utils`.
36
+
35
37
  Installation, theming and every component: [ui.kaeso.app](https://ui.kaeso.app).
36
38
 
37
39
  ## For agents
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui component guides
2
2
 
3
- Version 0.6.0-rc.7. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
3
+ Version 0.6.0. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
4
4
 
5
5
  ## AlertDialog
6
6
 
@@ -76,6 +76,37 @@ The console frame: the sidebar on the grey chrome, content in an inset rounded p
76
76
  <Frame settings page={<MembersPage />} />
77
77
  ```
78
78
 
79
+ ## Attachments
80
+
81
+ The files sent with a prompt: images as thumbnails, other files by name, each with a remove button while it waits.
82
+
83
+ `import { Attachments } from "@logicplanes/kaeso-ui/playground";`
84
+
85
+ ### Accessibility
86
+
87
+ - The row is a list named “Attachments”, so a screen reader says how many files wait.
88
+ - Every remove button is named after its file (“Remove invoice-2026-10.pdf”), never just “Remove”.
89
+ - An image's name is its text alternative and shows in its place when it can't load.
90
+
91
+ ### Examples
92
+
93
+ #### Waiting in the composer
94
+
95
+ ```tsx
96
+ function Waiting() {
97
+ const [items, setItems] = useState(files);
98
+ return <Attachments items={items} onRemove={(id) => setItems((now) => now.filter((a) => a.id !== id))} />;
99
+ }
100
+ ```
101
+
102
+ #### Above a sent prompt
103
+
104
+ ```tsx
105
+ <div className="flex w-full max-w-480 flex-col">
106
+ <Attachments items={files.slice(0, 3)} align="end" />
107
+ </div>
108
+ ```
109
+
79
110
  ## Autocomplete
80
111
 
81
112
  Free text with suggestions.
@@ -777,7 +808,7 @@ Inline code: Geist Mono 13 on a soft fill, radius 6 in running text.
777
808
 
778
809
  ## CodeBlock
779
810
 
780
- Highlighted code on a well in Kaeso's monochrome theme: copy in the header or on hover, tabs, line numbers, collapse.
811
+ Highlighted code on a well in Kaeso's syntax palette, in every common language: copy in the header or on hover, tabs, line numbers, collapse.
781
812
 
782
813
  `import { CodeBlock } from "@logicplanes/kaeso-ui";`
783
814
 
@@ -818,6 +849,14 @@ Highlighted code on a well in Kaeso's monochrome theme: copy in the header or on
818
849
  </div>
819
850
  ```
820
851
 
852
+ #### Languages
853
+
854
+ ```tsx
855
+ <div className="w-full">
856
+ <CodeBlock tabs={languages} />
857
+ </div>
858
+ ```
859
+
821
860
  ## Collapsible
822
861
 
823
862
  Disclosure rows: a pill row with the title 12px in, a chevron at its end that turns in 200ms, and a measured height animation.
@@ -994,12 +1033,13 @@ The prompt box: grows with what is written, then scrolls; Send, which becomes St
994
1033
 
995
1034
  ### Accessibility
996
1035
 
997
- - The text box is named by aria-label (“Prompt” by default) and announces its shortcuts through aria-keyshortcuts; no hint is drawn.
1036
+ - The text box is named by aria-label (“Prompt” by default) and announces its shortcuts through aria-keyshortcuts; Send and Stop are icon buttons named by their labels, which their tooltips show.
998
1037
  - Enter never sends while an input method is composing (Chinese, Japanese, Korean): the Enter that picks a candidate stays the input method's.
999
1038
  - On a touch screen Enter adds a line and the Send button sends, as in the messaging apps there; elsewhere the on-screen keyboard's Enter key reads Send (enterkeyhint).
1000
1039
  - Send and Stop are one button that keeps its place and width, so the focus stays on it when a response starts or ends.
1001
1040
  - While a response arrives, the text box's description says to stop it to send the next prompt.
1002
1041
  - A click anywhere in the box, the button row included, puts the cursor in the text box.
1042
+ - Attach files is a button in the row, so files reach the prompt without dragging; dropping and pasting are shortcuts for it. Each waiting file has a remove button named after it.
1003
1043
 
1004
1044
  ### Examples
1005
1045
 
@@ -1031,14 +1071,40 @@ Controls at the start of the button row.
1031
1071
  className="w-full max-w-640"
1032
1072
  aria-label="Message all models"
1033
1073
  placeholder="Message 3 models"
1034
- actions={
1035
- <Button size="sm" variant="ghost" leadingIcon={icons.displayOptions}>
1036
- Parameters
1037
- </Button>
1038
- }
1074
+ actions={<Button size="sm" variant="ghost" icon={icons.displayOptions} aria-label="Parameters" />}
1039
1075
  />
1040
1076
  ```
1041
1077
 
1078
+ #### With attachments
1079
+
1080
+ Files picked with Attach files, dropped on the box or pasted wait above the prompt; Send works with files alone.
1081
+
1082
+ ```tsx
1083
+ function WithAttachments() {
1084
+ const [items, setItems] = useState<Attachment[]>([receipt, invoice]);
1085
+ return (
1086
+ <Composer
1087
+ className="w-full max-w-640"
1088
+ placeholder="Ask about the files"
1089
+ accept="image/*,application/pdf"
1090
+ attachments={items}
1091
+ onAttach={(files) =>
1092
+ setItems((now) => [
1093
+ ...now,
1094
+ ...files.map((f) => ({
1095
+ id: `${f.name}-${f.size}`,
1096
+ name: f.name,
1097
+ type: f.type,
1098
+ ...(f.type.startsWith("image/") ? { src: URL.createObjectURL(f) } : {}),
1099
+ })),
1100
+ ])
1101
+ }
1102
+ onRemoveAttachment={(id) => setItems((now) => now.filter((a) => a.id !== id))}
1103
+ />
1104
+ );
1105
+ }
1106
+ ```
1107
+
1042
1108
  #### Send with ⌘ Enter
1043
1109
 
1044
1110
  submitOn="mod-enter": Enter adds a line, ⌘ Enter or Ctrl Enter sends. For long prompts written in several lines.
@@ -1168,6 +1234,62 @@ Copy a value: a read-only pill field, a copy circle, or inline text that copies
1168
1234
  </p>
1169
1235
  ```
1170
1236
 
1237
+ ## Dashboard
1238
+
1239
+ An overview's totals, charts and top lists on one surface split by hairlines; the totals are tabs that pick what the chart shows.
1240
+
1241
+ `import { Dashboard, DashboardCell, CellInset, MetricTabs, Readout, RankList, Legend } from "@logicplanes/kaeso-ui";`
1242
+
1243
+ ### Examples
1244
+
1245
+ #### A project's overview
1246
+
1247
+ ```tsx
1248
+ function Overview() {
1249
+ const [metric, setMetric] = useState("requests");
1250
+ return (
1251
+ <div className="w-full">
1252
+ <Dashboard aria-label="Usage in the period" headingLevel={2}>
1253
+ <MetricTabs aria-label="Metric to chart" items={TABS} value={metric} onValueChange={setMetric} controls="dashboard-chart" />
1254
+ <DashboardCell className="lg:col-span-8" title="Requests per day, UTC">
1255
+ <CellInset grow>
1256
+ <Legend
1257
+ items={[
1258
+ { id: "now", label: "This period", color: "var(--k-viz-1)" },
1259
+ { id: "before", label: "Prior 30 days", color: "var(--k-text-tertiary)", dashed: true },
1260
+ ]}
1261
+ />
1262
+ <div id="dashboard-chart" className="mt-16">
1263
+ <TimeseriesChart
1264
+ aria-label="Requests per day"
1265
+ kind="area"
1266
+ hideLegend
1267
+ height={220}
1268
+ timeZone="UTC"
1269
+ series={[
1270
+ { id: "now", label: "This period", points: points(NOW) },
1271
+ { id: "before", label: "Prior 30 days", color: "var(--k-text-tertiary)", dashed: true, points: points(BEFORE) },
1272
+ ]}
1273
+ />
1274
+ </div>
1275
+ </CellInset>
1276
+ </DashboardCell>
1277
+ <DashboardCell className="lg:col-span-4" title="Cache hit">
1278
+ <Readout value="48%" change={{ value: 0.005 }} detail="62.6M input tokens from cache" />
1279
+ <div className="mt-20 grid grid-cols-2">
1280
+ <Readout size="sm" label="November so far" value="$13.39" />
1281
+ <Readout size="sm" label="Forecast" value="$60.45" />
1282
+ </div>
1283
+ </DashboardCell>
1284
+ <DashboardCell className="lg:col-span-12" title="Models by requests">
1285
+ <RankList aria-label="Models by requests" items={MODELS} onOpen={() => {}} />
1286
+ </DashboardCell>
1287
+ </Dashboard>
1288
+ </div>
1289
+ );
1290
+ }
1291
+ ```
1292
+
1171
1293
  ## DataTable
1172
1294
 
1173
1295
  The console's table: a 36px header, 40px rows without lines, numbers right, sorting, resizing, selection, virtualization.
@@ -3139,6 +3261,81 @@ HTML, scripts and unsafe links stay text.
3139
3261
  />
3140
3262
  ```
3141
3263
 
3264
+ ## MediaResponse
3265
+
3266
+ What an image, speech, sound or video model made, in a response's place: images in a grid, audio and video in players, each with Download.
3267
+
3268
+ `import { MediaResponse } from "@logicplanes/kaeso-ui/playground";`
3269
+
3270
+ ### Accessibility
3271
+
3272
+ - The response is an article named after its model and busy while it is made; screen readers hear when it finishes.
3273
+ - Each Download is a link named after its file, so a list of links reads “Download image-1.png”, not “Download”.
3274
+ - A video job's progress is a progressbar whose name says how far it is, and Cancel is a real button beside it.
3275
+ - Placeholders pulse only without reduced motion; with it, they hold still.
3276
+
3277
+ ### Examples
3278
+
3279
+ #### Images
3280
+
3281
+ ```tsx
3282
+ <div className="w-full max-w-480">
3283
+ <MediaResponse kind="image" items={[receipt, screen]} footer={metrics} onRetry={() => undefined} aria-label="GPT Image 2 response" />
3284
+ </div>
3285
+ ```
3286
+
3287
+ #### A video job
3288
+
3289
+ The job's progress and Cancel while it runs, then the video.
3290
+
3291
+ ```tsx
3292
+ function Video() {
3293
+ const [progress, setProgress] = useState(0);
3294
+ useEffect(() => {
3295
+ const id = setInterval(() => setProgress((p) => (p >= 100 ? 0 : p + 10)), 600);
3296
+ return () => clearInterval(id);
3297
+ }, []);
3298
+ const status: MediaStatus = progress === 0 ? "pending" : "running";
3299
+ return (
3300
+ <div className="w-full max-w-480">
3301
+ <MediaResponse kind="video" status={status} progress={progress} onCancel={() => setProgress(0)} aria-label="Grok Imagine Video response" />
3302
+ </div>
3303
+ );
3304
+ }
3305
+ ```
3306
+
3307
+ ## MediaView
3308
+
3309
+ An image, an audio clip, a video or a file from a request, with a line that names it and a download.
3310
+
3311
+ `import { MediaView } from "@logicplanes/kaeso-ui";`
3312
+
3313
+ ### Accessibility
3314
+
3315
+ - The label is required: it is the image's text alternative, the player's accessible name and the caption.
3316
+ - An image opens larger from a button named after it, which says whether it is open and closes it again.
3317
+ - Audio and video use the browser's own controls, which work with the keyboard and assistive technology.
3318
+
3319
+ ### Examples
3320
+
3321
+ #### An image a request carried
3322
+
3323
+ ```tsx
3324
+ <MediaView src="/demos/receipt.svg" label="Image" detail="PNG, 1,024 × 768, 1.2 MB" filename="image-1.png" />
3325
+ ```
3326
+
3327
+ #### An audio clip
3328
+
3329
+ ```tsx
3330
+ <MediaView kind="audio" src={SILENCE} label="Audio" detail="WAV, 7.8 KB" filename="audio-1.wav" />
3331
+ ```
3332
+
3333
+ #### A file to download
3334
+
3335
+ ```tsx
3336
+ <MediaView kind="file" src="/demos/receipt.svg" label="invoice.pdf" detail="PDF, 90.0 KB" filename="invoice.pdf" />
3337
+ ```
3338
+
3142
3339
  ## Menu
3143
3340
 
3144
3341
  A rounded dropdown: 16px radius, 34px rows, icons that wake on highlight.
@@ -3551,6 +3748,30 @@ function Panel() {
3551
3748
  }
3552
3749
  ```
3553
3750
 
3751
+ #### Media models
3752
+
3753
+ An image, a speech and a transcription model: their own settings instead of the text ones.
3754
+
3755
+ ```tsx
3756
+ function Media() {
3757
+ const [value, setValue] = useState<PlaygroundParameters>({ imageSize: "1536x1024" });
3758
+ return (
3759
+ <ParameterPanel
3760
+ layout="panel"
3761
+ className="max-w-320"
3762
+ value={value}
3763
+ onValueChange={setValue}
3764
+ text={false}
3765
+ instructions={false}
3766
+ sampling={false}
3767
+ image={{ maxCount: 10, qualities: ["auto", "low", "medium", "high"], sizes: true }}
3768
+ voices={["alloy", "coral", "nova", "sage"]}
3769
+ translate
3770
+ />
3771
+ );
3772
+ }
3773
+ ```
3774
+
3554
3775
  ## Popover
3555
3776
 
3556
3777
  A floating panel next to its trigger, opened by a click and closed with Escape.
@@ -3594,42 +3815,6 @@ A floating panel next to its trigger, opened by a click and closed with Escape.
3594
3815
  </Popover>
3595
3816
  ```
3596
3817
 
3597
- ## PromptSuggestions
3598
-
3599
- Example prompts before a thread starts: up to three quiet rows that take a fill on hover and go once a prompt is sent.
3600
-
3601
- `import { PromptSuggestions } from "@logicplanes/kaeso-ui/playground";`
3602
-
3603
- ### Accessibility
3604
-
3605
- - A list named “Example prompts”; each suggestion is a button that reads its prompt.
3606
- - Choosing one puts it in the composer and moves the focus there.
3607
-
3608
- ### Examples
3609
-
3610
- #### Above the composer
3611
-
3612
- ```tsx
3613
- function Basic() {
3614
- const [draft, setDraft] = useState("");
3615
- const composer = useRef<HTMLTextAreaElement | null>(null);
3616
- return (
3617
- <div className="flex w-full max-w-640 flex-col gap-12">
3618
- {draft === "" && (
3619
- <PromptSuggestions
3620
- suggestions={suggestions}
3621
- onSelect={(p) => {
3622
- setDraft(p);
3623
- composer.current?.focus();
3624
- }}
3625
- />
3626
- )}
3627
- <Composer ref={composer} value={draft} onValueChange={setDraft} aria-label="Message all models" placeholder="Message 3 models" />
3628
- </div>
3629
- );
3630
- }
3631
- ```
3632
-
3633
3818
  ## ProviderPicker
3634
3819
 
3635
3820
  Choosing a provider from any number of them: connected ones first with their key counts, then the rest.
@@ -3664,6 +3849,19 @@ function Grid() {
3664
3849
  }
3665
3850
  ```
3666
3851
 
3852
+ #### Server software, with an icon for any other
3853
+
3854
+ ```tsx
3855
+ function Servers() {
3856
+ const [server, setServer] = useState<string | null>(null);
3857
+ return (
3858
+ <div className="w-672 max-w-full">
3859
+ <ProviderPicker appearance="grid" ordered aria-label="Server software" providers={servers} value={server} onValueChange={setServer} />
3860
+ </div>
3861
+ );
3862
+ }
3863
+ ```
3864
+
3667
3865
  #### In a dialog step
3668
3866
 
3669
3867
  ```tsx
@@ -3810,7 +4008,7 @@ Flat geometric artwork for a release, from a stored spec or a seed: the same pic
3810
4008
 
3811
4009
  ## ResponseMetrics
3812
4010
 
3813
- A response's numbers on one line: time to first token, total time, tokens in and out, reasoning, cost. Empty before a response; quiet placeholders hold their place while one streams.
4011
+ A response's numbers on one line: time to first token, total time, tokens in and out, reasoning, cost. Empty before a response; while one streams it shows what is known so far.
3814
4012
 
3815
4013
  `import { ResponseMetrics, formatLatency } from "@logicplanes/kaeso-ui/playground";`
3816
4014
 
@@ -3829,12 +4027,12 @@ A response's numbers on one line: time to first token, total time, tokens in and
3829
4027
  #### While it streams
3830
4028
 
3831
4029
  ```tsx
3832
- <ResponseMetrics live reasoning timeToFirstToken={1180} />
4030
+ <ResponseMetrics live timeToFirstToken={1180} />
3833
4031
  ```
3834
4032
 
3835
4033
  ## ResponseView
3836
4034
 
3837
- A model's response as it arrives: a quiet caret until the first token, Markdown as it streams, reasoning in a Thinking disclosure, and calm stopped, cut-off and failed states.
4035
+ A model's response as it arrives: nothing until the first token, Markdown as it streams, reasoning in a Thinking disclosure, and calm stopped, cut-off and failed states.
3838
4036
 
3839
4037
  `import { ResponseView, UserMessage, Thread } from "@logicplanes/kaeso-ui/playground";`
3840
4038
 
@@ -3909,7 +4107,6 @@ function Stream() {
3909
4107
  {...(state.took !== undefined ? { reasoningDuration: state.took } : {})}
3910
4108
  footer={
3911
4109
  <ResponseMetrics
3912
- reasoning
3913
4110
  live={state.status === "pending" || state.status === "streaming"}
3914
4111
  startedAt={state.started}
3915
4112
  duration={state.total}
@@ -5172,7 +5369,7 @@ Multi-line text at radius 14: grows to eight lines, then scrolls.
5172
5369
 
5173
5370
  ## ThemeImage
5174
5371
 
5175
- An image drawn twice, once for each theme, such as a diagram: it follows the theme setting, not only the system's, and prints the light one.
5372
+ A drawing on a transparent ground made twice, once for each theme, such as a diagram: it follows the theme setting, not only the system's, prints the light one and has no outline.
5176
5373
 
5177
5374
  `import { ThemeImage } from "@logicplanes/kaeso-ui";`
5178
5375