@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
@@ -40,6 +40,14 @@ export type ContentBlock = {
40
40
  type: "document";
41
41
  name?: string | undefined;
42
42
  media_type?: string | undefined;
43
+ } | {
44
+ type: "audio";
45
+ media_type?: string | undefined;
46
+ transcript?: string | undefined;
47
+ } | {
48
+ type: "video";
49
+ src?: string | undefined;
50
+ media_type?: string | undefined;
43
51
  } | {
44
52
  type: "refusal";
45
53
  text: string;
@@ -74,6 +74,8 @@ export declare const docs: {
74
74
  ProviderBadge: {
75
75
  description: string;
76
76
  props: {
77
+ icon: string;
78
+ mark: string;
77
79
  name: string;
78
80
  provider: string;
79
81
  size: string;
@@ -97,6 +99,7 @@ export declare const docs: {
97
99
  onChoose: string;
98
100
  placeholder: string;
99
101
  providers: string;
102
+ ordered: string;
100
103
  size: string;
101
104
  value: string;
102
105
  };
@@ -1,3 +1,4 @@
1
+ import { type IconData } from "../icon/icon.js";
1
2
  export declare const KAESO_IDENTITY_VARIANTS: {
2
3
  readonly provider: {
3
4
  readonly sm: {
@@ -25,6 +26,8 @@ export declare const providerName: (id: string, name?: string | undefined) => st
25
26
  export declare const ProviderBadge: import("react").ForwardRefExoticComponent<{
26
27
  provider: string;
27
28
  name?: string | undefined;
29
+ mark?: string | null | undefined;
30
+ icon?: IconData | undefined;
28
31
  size?: keyof typeof KAESO_IDENTITY_VARIANTS.provider | undefined;
29
32
  withName?: boolean | undefined;
30
33
  className?: string | undefined;
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode } from "react";
2
2
  import { type CommandListGroup } from "../command-list/command-list.js";
3
3
  import { type FieldWrapProps } from "../field/field.js";
4
+ import type { IconData } from "../icon/icon.js";
4
5
  export declare const KAESO_PROVIDER_PICKER_VARIANTS: {
5
6
  readonly appearance: {
6
7
  readonly list: {
@@ -25,6 +26,7 @@ export interface ProviderPickerOption {
25
26
  name?: string | undefined;
26
27
  connected?: boolean | undefined;
27
28
  hint?: ReactNode | undefined;
29
+ icon?: IconData | undefined;
28
30
  keywords?: readonly string[] | undefined;
29
31
  disabled?: boolean | undefined;
30
32
  "data-force"?: string | undefined;
@@ -35,6 +37,7 @@ export interface ProviderPickerProps extends FieldWrapProps {
35
37
  onValueChange?: ((id: string | null) => void) | undefined;
36
38
  onChoose?: ((id: string) => void) | undefined;
37
39
  appearance?: keyof typeof KAESO_PROVIDER_PICKER_VARIANTS.appearance | undefined;
40
+ ordered?: boolean | undefined;
38
41
  allLabel?: string | undefined;
39
42
  placeholder?: string | undefined;
40
43
  size?: "sm" | "md" | undefined;
@@ -44,5 +47,5 @@ export interface ProviderPickerProps extends FieldWrapProps {
44
47
  className?: string | undefined;
45
48
  "data-force"?: string | undefined;
46
49
  }
47
- export declare function useProviderGroups(providers: ProviderPickerOption[], allLabel?: string | undefined): CommandListGroup[];
50
+ export declare function useProviderGroups(providers: ProviderPickerOption[], allLabel?: string | undefined, ordered?: boolean | undefined): CommandListGroup[];
48
51
  export declare const ProviderPicker: import("react").ForwardRefExoticComponent<ProviderPickerProps & import("react").RefAttributes<HTMLElement>>;
@@ -1,2 +1,2 @@
1
- export { KAESO_MARKDOWN_DEFAULT_VARIANTS, KAESO_MARKDOWN_VARIANTS, Markdown, lexMarkdown, markdownCodeLang, previewMarkdown, safeHref } from "./markdown.js";
1
+ export { KAESO_MARKDOWN_DEFAULT_VARIANTS, KAESO_MARKDOWN_VARIANTS, Markdown, extendMarkdown, lexMarkdown, previewMarkdown, safeHref } from "./markdown.js";
2
2
  export type { MarkdownProps, MarkdownSize, MarkdownTone } from "./markdown.js";
@@ -1,7 +1,6 @@
1
1
  import { type ReactNode } from "react";
2
2
  import { type Token } from "marked";
3
3
  import { safeHref } from "../../utils/safe-href.js";
4
- import type { CodeLang } from "../code-block/highlighter.js";
5
4
  export { safeHref };
6
5
  export declare const KAESO_MARKDOWN_VARIANTS: {
7
6
  readonly size: {
@@ -49,6 +48,14 @@ export interface MarkdownProps {
49
48
  export declare function lexMarkdown(text: string, options?: {
50
49
  cache?: boolean | undefined;
51
50
  }): Token[];
51
+ /**
52
+ * Tokens for `text` that grows from `before`: the blocks that can no longer change are kept and
53
+ * only the end is lexed again, so a streaming reply costs the length of its last blocks per
54
+ * update instead of its whole length. Any other change lexes the text whole.
55
+ */
56
+ export declare function extendMarkdown(before: {
57
+ text: string;
58
+ tokens: Token[];
59
+ } | null, text: string): Token[];
52
60
  export declare function previewMarkdown(text: string, limit: number): string;
53
- export declare function markdownCodeLang(lang: string | undefined): CodeLang;
54
61
  export declare const Markdown: import("react").ForwardRefExoticComponent<MarkdownProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,32 @@
1
+ /** A file sent with a prompt: an image shows as a thumbnail, anything else by its name. */
2
+ export interface Attachment {
3
+ id: string;
4
+ name: string;
5
+ /** The file's media type, such as `image/png` or `application/pdf`. */
6
+ type: string;
7
+ /** Where the image can be drawn from: a `blob:` or `data:` URL. */
8
+ src?: string | undefined;
9
+ }
10
+ export declare const KAESO_ATTACHMENTS_VARIANTS: {
11
+ readonly align: {
12
+ readonly start: {
13
+ readonly classes: "justify-start";
14
+ readonly description: "At the start of the line: in the composer, above the prompt (default)";
15
+ };
16
+ readonly end: {
17
+ readonly classes: "justify-end";
18
+ readonly description: "At the end of the line: above a sent prompt's bubble";
19
+ };
20
+ };
21
+ };
22
+ export declare const KAESO_ATTACHMENTS_DEFAULT_VARIANTS: {
23
+ readonly align: "start";
24
+ };
25
+ export interface AttachmentsProps {
26
+ items: readonly Attachment[];
27
+ onRemove?: ((id: string) => void) | undefined;
28
+ align?: keyof typeof KAESO_ATTACHMENTS_VARIANTS.align | undefined;
29
+ "aria-label"?: string | undefined;
30
+ className?: string | undefined;
31
+ }
32
+ export declare const Attachments: import("react").ForwardRefExoticComponent<AttachmentsProps & import("react").RefAttributes<HTMLUListElement>>;
@@ -34,6 +34,7 @@ export interface CompareColumnProps {
34
34
  onRemove?: (() => void) | undefined;
35
35
  removeLabel?: string | undefined;
36
36
  stickToEnd?: boolean | undefined;
37
+ followKey?: string | number | undefined;
37
38
  className?: string | undefined;
38
39
  }
39
40
  export declare const CompareGrid: import("react").ForwardRefExoticComponent<CompareGridProps & import("react").RefAttributes<HTMLDivElement>> & {
@@ -1,13 +1,14 @@
1
1
  import { type ReactNode } from "react";
2
+ import { type Attachment } from "./attachments.js";
2
3
  export declare const KAESO_COMPOSER_VARIANTS: {
3
4
  readonly size: {
4
5
  readonly md: {
5
6
  readonly classes: "rounded-frame";
6
- readonly description: "Text 14/20, 8px around the buttons; the outline concentric with them (16 + 8) (default)";
7
+ readonly description: "Text 14/20 starting two lines tall, 8px around the buttons; the outline concentric with them (16 + 8) (default)";
7
8
  };
8
9
  readonly sm: {
9
10
  readonly classes: "rounded-frame";
10
- readonly description: "The same box starting one line tall: a follow-up field under a thread";
11
+ readonly description: "The same box starting one line tall: a chat's prompt box, a follow-up field under a thread";
11
12
  };
12
13
  };
13
14
  };
@@ -34,6 +35,11 @@ export interface ComposerProps {
34
35
  stopLabel?: string | undefined;
35
36
  autoFocus?: boolean | undefined;
36
37
  name?: string | undefined;
38
+ attachments?: readonly Attachment[] | undefined;
39
+ onAttach?: ((files: File[]) => void) | undefined;
40
+ onRemoveAttachment?: ((id: string) => void) | undefined;
41
+ accept?: string | undefined;
42
+ attachLabel?: string | undefined;
37
43
  "data-force"?: string | undefined;
38
44
  className?: string | undefined;
39
45
  }
@@ -1,4 +1,13 @@
1
1
  export declare const docs: {
2
+ Attachments: {
3
+ description: string;
4
+ props: {
5
+ align: string;
6
+ "aria-label": string;
7
+ items: string;
8
+ onRemove: string;
9
+ };
10
+ };
2
11
  CompareGrid: {
3
12
  description: string;
4
13
  props: {
@@ -15,7 +24,10 @@ export declare const docs: {
15
24
  Composer: {
16
25
  description: string;
17
26
  props: {
27
+ accept: string;
18
28
  actions: string;
29
+ attachLabel: string;
30
+ attachments: string;
19
31
  "aria-label": string;
20
32
  autoFocus: string;
21
33
  clearOnSubmit: string;
@@ -25,6 +37,8 @@ export declare const docs: {
25
37
  maxRows: string;
26
38
  name: string;
27
39
  onStop: string;
40
+ onAttach: string;
41
+ onRemoveAttachment: string;
28
42
  onSubmit: string;
29
43
  onValueChange: string;
30
44
  placeholder: string;
@@ -36,6 +50,21 @@ export declare const docs: {
36
50
  value: string;
37
51
  };
38
52
  };
53
+ MediaResponse: {
54
+ description: string;
55
+ props: {
56
+ "aria-label": string;
57
+ error: string;
58
+ expected: string;
59
+ footer: string;
60
+ items: string;
61
+ kind: string;
62
+ onCancel: string;
63
+ onRetry: string;
64
+ progress: string;
65
+ status: string;
66
+ };
67
+ };
39
68
  ModelPicker: {
40
69
  description: string;
41
70
  props: {
@@ -74,6 +103,8 @@ export declare const docs: {
74
103
  defaultOpen: string;
75
104
  defaults: string;
76
105
  disabled: string;
106
+ duration: string;
107
+ image: string;
77
108
  instructions: string;
78
109
  layout: string;
79
110
  maxOutputTokensLimit: string;
@@ -83,18 +114,12 @@ export declare const docs: {
83
114
  reasoning: string;
84
115
  sampling: string;
85
116
  side: string;
117
+ text: string;
86
118
  title: string;
119
+ translate: string;
87
120
  trigger: string;
88
121
  value: string;
89
- };
90
- };
91
- PromptSuggestions: {
92
- description: string;
93
- props: {
94
- align: string;
95
- "aria-label": string;
96
- onSelect: string;
97
- suggestions: string;
122
+ voices: string;
98
123
  };
99
124
  };
100
125
  Reasoning: {
@@ -114,12 +139,12 @@ export declare const docs: {
114
139
  ResponseMetrics: {
115
140
  description: string;
116
141
  props: {
142
+ costKnown: string;
117
143
  cost: string;
118
144
  duration: string;
119
145
  inputTokens: string;
120
146
  live: string;
121
147
  outputTokens: string;
122
- reasoning: string;
123
148
  reasoningTokens: string;
124
149
  size: string;
125
150
  startedAt: string;
@@ -153,6 +178,7 @@ export declare const docs: {
153
178
  description: string;
154
179
  props: {
155
180
  "aria-label": string;
181
+ attachments: string;
156
182
  children: string;
157
183
  maxLines: string;
158
184
  };
@@ -1,4 +1,8 @@
1
+ export { Attachments, KAESO_ATTACHMENTS_DEFAULT_VARIANTS, KAESO_ATTACHMENTS_VARIANTS } from "./attachments.js";
2
+ export type { Attachment, AttachmentsProps } from "./attachments.js";
1
3
  export { Composer, KAESO_COMPOSER_DEFAULT_VARIANTS, KAESO_COMPOSER_VARIANTS } from "./composer.js";
4
+ export { KAESO_MEDIA_RESPONSE_DEFAULT_VARIANTS, KAESO_MEDIA_RESPONSE_VARIANTS, MediaResponse } from "./media-response.js";
5
+ export type { MediaItem, MediaKind, MediaResponseProps, MediaStatus } from "./media-response.js";
2
6
  export type { ComposerProps } from "./composer.js";
3
7
  export { CompareGrid, KAESO_COMPARE_GRID_DEFAULT_VARIANTS, KAESO_COMPARE_GRID_VARIANTS } from "./compare-grid.js";
4
8
  export type { CompareColumnProps, CompareGridProps } from "./compare-grid.js";
@@ -9,8 +13,6 @@ export type { ReasoningProps } from "./reasoning.js";
9
13
  export { KAESO_RESPONSE_METRICS_DEFAULT_VARIANTS, KAESO_RESPONSE_METRICS_VARIANTS, ResponseMetrics, formatLatency } from "./response-metrics.js";
10
14
  export type { ResponseMetricsProps } from "./response-metrics.js";
11
15
  export { KAESO_PARAMETER_PANEL_DEFAULT_VARIANTS, KAESO_PARAMETER_PANEL_VARIANTS, ParameterPanel } from "./parameter-panel.js";
12
- export type { ParameterPanelProps, PlaygroundParameters, ReasoningEffort, ReasoningSummary } from "./parameter-panel.js";
16
+ export type { ImageParameterOptions, ParameterPanelProps, PlaygroundParameters, ReasoningEffort, ReasoningSummary } from "./parameter-panel.js";
13
17
  export { KAESO_MODEL_PICKER_DEFAULT_VARIANTS, KAESO_MODEL_PICKER_VARIANTS, ModelPicker, useModelGroups } from "./model-picker.js";
14
18
  export type { ModelPickerOption, ModelPickerProps, ModelPickerProvider, MultiModelPickerProps, SingleModelPickerProps } from "./model-picker.js";
15
- export { KAESO_PROMPT_SUGGESTIONS_DEFAULT_VARIANTS, KAESO_PROMPT_SUGGESTIONS_VARIANTS, PromptSuggestions } from "./prompt-suggestions.js";
16
- export type { PromptSuggestionsProps } from "./prompt-suggestions.js";
@@ -0,0 +1,46 @@
1
+ import { type ReactNode } from "react";
2
+ export declare const KAESO_MEDIA_RESPONSE_VARIANTS: {
3
+ readonly kind: {
4
+ readonly image: {
5
+ readonly classes: "";
6
+ readonly description: "Images in a grid of squares, two across, each with Download (default)";
7
+ };
8
+ readonly audio: {
9
+ readonly classes: "";
10
+ readonly description: "One audio player a row tall, with Download";
11
+ };
12
+ readonly video: {
13
+ readonly classes: "";
14
+ readonly description: "A 16:9 video player; while the job runs, its progress and Cancel";
15
+ };
16
+ };
17
+ };
18
+ export declare const KAESO_MEDIA_RESPONSE_DEFAULT_VARIANTS: {
19
+ readonly kind: "image";
20
+ };
21
+ export type MediaKind = keyof typeof KAESO_MEDIA_RESPONSE_VARIANTS.kind;
22
+ export type MediaStatus = "pending" | "running" | "done" | "stopped" | "error";
23
+ /** One file a model made: where to play or show it from, the name it downloads under, and what people read. */
24
+ export interface MediaItem {
25
+ src: string;
26
+ /** The file name it downloads under, such as `image-1.png`. */
27
+ name: string;
28
+ /** What screen readers and Download say, in the reader's language, such as "Image 1"; the file name when absent. */
29
+ label?: string | undefined;
30
+ /** What it shows, for an image: read by screen readers. */
31
+ alt?: string | undefined;
32
+ }
33
+ export interface MediaResponseProps {
34
+ kind?: MediaKind | undefined;
35
+ status?: MediaStatus | undefined;
36
+ items?: readonly MediaItem[] | undefined;
37
+ expected?: number | undefined;
38
+ progress?: number | null | undefined;
39
+ onCancel?: (() => void) | undefined;
40
+ error?: string | undefined;
41
+ onRetry?: (() => void) | undefined;
42
+ footer?: ReactNode | undefined;
43
+ "aria-label"?: string | undefined;
44
+ className?: string | undefined;
45
+ }
46
+ export declare const MediaResponse: import("react").ForwardRefExoticComponent<MediaResponseProps & import("react").RefAttributes<HTMLElement>>;
@@ -23,6 +23,18 @@ export interface PlaygroundParameters {
23
23
  maxOutputTokens?: number | undefined;
24
24
  reasoningEffort?: ReasoningEffort | undefined;
25
25
  reasoningSummary?: ReasoningSummary | undefined;
26
+ imageSize?: string | undefined;
27
+ imageCount?: number | undefined;
28
+ imageQuality?: string | undefined;
29
+ voice?: string | undefined;
30
+ durationSeconds?: number | undefined;
31
+ translate?: boolean | undefined;
32
+ }
33
+ /** What an image model takes: how many images at once, its qualities, and whether it takes a size. */
34
+ export interface ImageParameterOptions {
35
+ maxCount: number;
36
+ qualities: readonly string[];
37
+ sizes: boolean;
26
38
  }
27
39
  export interface ParameterPanelProps {
28
40
  value: PlaygroundParameters;
@@ -32,6 +44,11 @@ export interface ParameterPanelProps {
32
44
  sampling?: boolean | undefined;
33
45
  reasoning?: ReasoningEffort[] | boolean | undefined;
34
46
  maxOutputTokensLimit?: number | undefined;
47
+ text?: boolean | undefined;
48
+ image?: ImageParameterOptions | undefined;
49
+ voices?: readonly string[] | boolean | undefined;
50
+ duration?: boolean | undefined;
51
+ translate?: boolean | undefined;
35
52
  disabled?: boolean | undefined;
36
53
  layout?: keyof typeof KAESO_PARAMETER_PANEL_VARIANTS.layout | undefined;
37
54
  className?: string | undefined;
@@ -1,11 +1,11 @@
1
1
  export declare const KAESO_RESPONSE_METRICS_VARIANTS: {
2
2
  readonly size: {
3
3
  readonly sm: {
4
- readonly classes: "text-caption gap-x-12 gap-y-2";
4
+ readonly classes: "text-caption gap-x-16 gap-y-2";
5
5
  readonly description: "12/16: a column footer or under a turn (default)";
6
6
  };
7
7
  readonly md: {
8
- readonly classes: "text-small gap-x-16 gap-y-4";
8
+ readonly classes: "text-small gap-x-20 gap-y-4";
9
9
  readonly description: "13/18: a response on its own";
10
10
  };
11
11
  };
@@ -19,10 +19,10 @@ export interface ResponseMetricsProps {
19
19
  inputTokens?: number | null | undefined;
20
20
  outputTokens?: number | null | undefined;
21
21
  reasoningTokens?: number | null | undefined;
22
- reasoning?: boolean | undefined;
23
22
  live?: boolean | undefined;
24
23
  startedAt?: number | undefined;
25
24
  cost?: string | null | undefined;
25
+ costKnown?: boolean | undefined;
26
26
  size?: keyof typeof KAESO_RESPONSE_METRICS_VARIANTS.size | undefined;
27
27
  className?: string | undefined;
28
28
  }
@@ -1,4 +1,5 @@
1
1
  import { type ReactNode } from "react";
2
+ import { type Attachment } from "./attachments.js";
2
3
  export declare const KAESO_RESPONSE_VIEW_VARIANTS: {
3
4
  readonly status: {
4
5
  readonly pending: {
@@ -49,6 +50,7 @@ export interface ResponseViewProps {
49
50
  export declare const ResponseView: import("react").ForwardRefExoticComponent<ResponseViewProps & import("react").RefAttributes<HTMLElement>>;
50
51
  export interface UserMessageProps {
51
52
  children: ReactNode;
53
+ attachments?: readonly Attachment[] | undefined;
52
54
  maxLines?: 0 | 2 | 3 | 4 | 6 | undefined;
53
55
  "aria-label"?: string | undefined;
54
56
  className?: string | undefined;
@@ -9,6 +9,7 @@ export declare const docs: {
9
9
  title: string;
10
10
  eyebrow: string;
11
11
  shape: string;
12
+ flush: string;
12
13
  };
13
14
  };
14
15
  };
@@ -24,6 +24,7 @@ export interface ReleaseArtProps {
24
24
  title?: ReactNode | undefined;
25
25
  eyebrow?: ReactNode | undefined;
26
26
  shape?: keyof typeof KAESO_RELEASE_ART_VARIANTS.shape | undefined;
27
+ flush?: boolean | undefined;
27
28
  className?: string | undefined;
28
29
  }
29
30
  export declare const ReleaseArt: import("react").ForwardRefExoticComponent<ReleaseArtProps & import("react").RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,28 @@
1
+ import { type UiText } from "../../i18n/context.js";
2
+ export declare const KAESO_DELTA_VARIANTS: {
3
+ readonly tone: {
4
+ readonly better: {
5
+ readonly classes: "text-success-text";
6
+ readonly description: "The change goes the way people want";
7
+ };
8
+ readonly worse: {
9
+ readonly classes: "text-danger-text";
10
+ readonly description: "The change goes the wrong way";
11
+ };
12
+ readonly flat: {
13
+ readonly classes: "text-fg-secondary";
14
+ readonly description: "No change, or a change with no better side";
15
+ };
16
+ };
17
+ };
18
+ export declare const KAESO_DELTA_DEFAULT_VARIANTS: {};
19
+ export declare function deltaLabel(v: number, t: UiText, locale: string): string;
20
+ export interface DeltaProps {
21
+ /** The change as a share: 0.16 for 16% more, -0.04 for 4% less. */
22
+ value: number;
23
+ /** Which direction is good; `none` when neither is, so the change reads as neutral. */
24
+ better?: "up" | "down" | "none" | undefined;
25
+ className?: string | undefined;
26
+ }
27
+ /** A change written as text, "↑16%", in green or red only when one direction is better, and said in words for screen readers. */
28
+ export declare const Delta: import("react").ForwardRefExoticComponent<DeltaProps & import("react").RefAttributes<HTMLSpanElement>>;
@@ -23,4 +23,17 @@ export declare const docs: {
23
23
  variant: string;
24
24
  };
25
25
  };
26
+ Delta: {
27
+ description: string;
28
+ props: {
29
+ better: string;
30
+ value: string;
31
+ };
32
+ };
33
+ RollingNumber: {
34
+ description: string;
35
+ props: {
36
+ value: string;
37
+ };
38
+ };
26
39
  };
@@ -1,2 +1,6 @@
1
1
  export { KAESO_STAT_DEFAULT_VARIANTS, KAESO_STAT_GROUP_DEFAULT_VARIANTS, KAESO_STAT_GROUP_VARIANTS, KAESO_STAT_VARIANTS, Stat, StatGroup } from "./stat.js";
2
2
  export type { StatGroupProps, StatProps } from "./stat.js";
3
+ export { Delta, KAESO_DELTA_DEFAULT_VARIANTS, KAESO_DELTA_VARIANTS } from "./delta.js";
4
+ export type { DeltaProps } from "./delta.js";
5
+ export { KAESO_ROLLING_NUMBER_DEFAULT_VARIANTS, KAESO_ROLLING_NUMBER_VARIANTS, RollingNumber } from "./rolling-number.js";
6
+ export type { RollingNumberProps } from "./rolling-number.js";
@@ -0,0 +1,7 @@
1
+ export declare const KAESO_ROLLING_NUMBER_VARIANTS: {};
2
+ export declare const KAESO_ROLLING_NUMBER_DEFAULT_VARIANTS: {};
3
+ export interface RollingNumberProps {
4
+ value: string;
5
+ className?: string | undefined;
6
+ }
7
+ export declare const RollingNumber: import("react").ForwardRefExoticComponent<RollingNumberProps & import("react").RefAttributes<HTMLSpanElement>>;
@@ -37,7 +37,7 @@ export interface StatProps {
37
37
  size?: keyof typeof KAESO_STAT_VARIANTS.size | undefined;
38
38
  change?: {
39
39
  value: number;
40
- better?: "up" | "down" | undefined;
40
+ better?: "up" | "down" | "none" | undefined;
41
41
  } | undefined;
42
42
  detail?: ReactNode | undefined;
43
43
  trend?: number[] | undefined;
@@ -1,4 +1,15 @@
1
1
  export declare const docs: {
2
+ MediaView: {
3
+ description: string;
4
+ props: {
5
+ detail: string;
6
+ download: string;
7
+ filename: string;
8
+ kind: string;
9
+ label: string;
10
+ src: string;
11
+ };
12
+ };
2
13
  Thumbnail: {
3
14
  description: string;
4
15
  props: {
@@ -1,2 +1,4 @@
1
1
  export { KAESO_THUMBNAIL_DEFAULT_VARIANTS, KAESO_THUMBNAIL_VARIANTS, Thumbnail } from "./thumbnail.js";
2
2
  export type { ThumbnailProps } from "./thumbnail.js";
3
+ export { KAESO_MEDIA_VIEW_DEFAULT_VARIANTS, KAESO_MEDIA_VIEW_VARIANTS, MediaView } from "./media-view.js";
4
+ export type { MediaViewProps } from "./media-view.js";
@@ -0,0 +1,33 @@
1
+ export declare const KAESO_MEDIA_VIEW_VARIANTS: {
2
+ readonly kind: {
3
+ readonly image: {
4
+ readonly classes: "";
5
+ readonly description: "A thumbnail that opens to the whole image in place, and closes again (default)";
6
+ };
7
+ readonly audio: {
8
+ readonly classes: "w-full max-w-400";
9
+ readonly description: "The browser's audio player";
10
+ };
11
+ readonly video: {
12
+ readonly classes: "w-full max-w-560 rounded-well bg-fill-1";
13
+ readonly description: "The browser's video player on a well";
14
+ };
15
+ readonly file: {
16
+ readonly classes: "";
17
+ readonly description: "Nothing to play: the name, the detail and the download alone";
18
+ };
19
+ };
20
+ };
21
+ export declare const KAESO_MEDIA_VIEW_DEFAULT_VARIANTS: {
22
+ readonly kind: "image";
23
+ };
24
+ export interface MediaViewProps {
25
+ src: string;
26
+ label: string;
27
+ kind?: keyof typeof KAESO_MEDIA_VIEW_VARIANTS.kind | undefined;
28
+ detail?: string | undefined;
29
+ filename?: string | undefined;
30
+ download?: string | undefined;
31
+ className?: string | undefined;
32
+ }
33
+ export declare const MediaView: import("react").ForwardRefExoticComponent<MediaViewProps & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,2 @@
1
+ import { type RefObject } from "react";
2
+ export declare function useStickyTop(ref: RefObject<HTMLElement | null>): number;
@@ -1,8 +1,8 @@
1
1
  export declare const ICON_GROUPS: {
2
2
  readonly "Kaeso objects": readonly ["key", "providerKey", "project", "organization", "model", "playground", "alias", "limit", "budget", "requestLog", "usage", "member", "members", "serviceAccount", "agent", "settings", "audit", "instance", "provider", "route", "condition", "split", "gateway", "database", "update", "security", "session", "overview", "chart", "home"];
3
3
  readonly Capabilities: readonly ["tools", "reasoning", "vision", "pdf", "structuredOutput"];
4
- readonly Actions: readonly ["signOut", "copy", "externalLink", "openExternal", "add", "close", "edit", "delete", "download", "upload", "refresh", "retry", "undo", "redo", "swap", "moveUp", "moveDown", "search", "filter", "displayOptions", "more", "menu", "sort", "switcher", "unfold", "expand", "collapse", "show", "hide", "reveal", "sidebar", "sidePanel", "list", "board", "stack"];
4
+ readonly Actions: readonly ["signOut", "copy", "externalLink", "openExternal", "add", "close", "edit", "delete", "download", "upload", "attach", "record", "refresh", "retry", "send", "stop", "undo", "redo", "swap", "moveUp", "moveDown", "search", "filter", "displayOptions", "more", "menu", "sort", "switcher", "unfold", "expand", "collapse", "show", "hide", "reveal", "sidebar", "sidePanel", "list", "board", "stack"];
5
5
  readonly Status: readonly ["check", "success", "warning", "error", "info", "minus", "notification"];
6
6
  readonly Navigation: readonly ["chevronDown", "chevronUp", "chevronLeft", "chevronRight", "arrowRight"];
7
- readonly Misc: readonly ["calendar", "time", "code", "mail", "keyboard", "help", "github", "themeLight", "themeDark", "themeSystem", "language", "legal"];
7
+ readonly Misc: readonly ["calendar", "time", "code", "mail", "keyboard", "help", "github", "themeLight", "themeDark", "themeSystem", "language", "legal", "file", "audio"];
8
8
  };
@@ -224,6 +224,16 @@ export declare const icons: {
224
224
  }][] | readonly (readonly [string, {
225
225
  readonly [key: string]: string | number;
226
226
  }])[];
227
+ readonly attach: [string, {
228
+ [key: string]: string | number;
229
+ }][] | readonly (readonly [string, {
230
+ readonly [key: string]: string | number;
231
+ }])[];
232
+ readonly record: [string, {
233
+ [key: string]: string | number;
234
+ }][] | readonly (readonly [string, {
235
+ readonly [key: string]: string | number;
236
+ }])[];
227
237
  readonly refresh: [string, {
228
238
  [key: string]: string | number;
229
239
  }][] | readonly (readonly [string, {
@@ -234,6 +244,16 @@ export declare const icons: {
234
244
  }][] | readonly (readonly [string, {
235
245
  readonly [key: string]: string | number;
236
246
  }])[];
247
+ readonly send: [string, {
248
+ [key: string]: string | number;
249
+ }][] | readonly (readonly [string, {
250
+ readonly [key: string]: string | number;
251
+ }])[];
252
+ readonly stop: [string, {
253
+ [key: string]: string | number;
254
+ }][] | readonly (readonly [string, {
255
+ readonly [key: string]: string | number;
256
+ }])[];
237
257
  readonly undo: [string, {
238
258
  [key: string]: string | number;
239
259
  }][] | readonly (readonly [string, {
@@ -469,5 +489,15 @@ export declare const icons: {
469
489
  }][] | readonly (readonly [string, {
470
490
  readonly [key: string]: string | number;
471
491
  }])[];
492
+ readonly file: [string, {
493
+ [key: string]: string | number;
494
+ }][] | readonly (readonly [string, {
495
+ readonly [key: string]: string | number;
496
+ }])[];
497
+ readonly audio: [string, {
498
+ [key: string]: string | number;
499
+ }][] | readonly (readonly [string, {
500
+ readonly [key: string]: string | number;
501
+ }])[];
472
502
  };
473
503
  export type IconName = keyof typeof icons;
@@ -72,4 +72,5 @@ export * from "./components/table/index.js";
72
72
  export * from "./components/settings/index.js";
73
73
  export * from "./components/section/index.js";
74
74
  export * from "./components/charts/index.js";
75
+ export * from "./components/dashboard/index.js";
75
76
  export * from "./components/kaeso/index.js";