@logicplanes/kaeso-ui 0.6.0 → 0.7.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 (594) hide show
  1. package/AGENTS.md +1 -1
  2. package/ai/component-guides.md +232 -40
  3. package/ai/component-registry.json +481 -138
  4. package/ai/component-registry.md +174 -104
  5. package/ai/icons.md +2 -2
  6. package/ai/tokens.md +46 -48
  7. package/dist/chunks/app-frame-DibcP3SK.js +247 -0
  8. package/dist/chunks/app-frame-DibcP3SK.js.map +1 -0
  9. package/dist/chunks/arrow-focus-D9q8rMct.js +25 -0
  10. package/dist/chunks/arrow-focus-D9q8rMct.js.map +1 -0
  11. package/dist/chunks/{avatar-DVrkoFEg.js → avatar-rLwc_20v.js} +73 -60
  12. package/dist/chunks/avatar-rLwc_20v.js.map +1 -0
  13. package/dist/chunks/{badge-CTYrfTwc.js → badge-C6H9NlNw.js} +5 -6
  14. package/dist/chunks/{badge-CTYrfTwc.js.map → badge-C6H9NlNw.js.map} +1 -1
  15. package/dist/chunks/{banner-cJ89c-IR.js → banner-B3YT-DVa.js} +18 -18
  16. package/dist/chunks/banner-B3YT-DVa.js.map +1 -0
  17. package/dist/chunks/{button-Da8b-8ub.js → button-L10eO8bf.js} +34 -35
  18. package/dist/chunks/{button-Da8b-8ub.js.map → button-L10eO8bf.js.map} +1 -1
  19. package/dist/chunks/{button-group-BJxaz0sb.js → button-group-BZmq9BmX.js} +10 -11
  20. package/dist/chunks/{button-group-BJxaz0sb.js.map → button-group-BZmq9BmX.js.map} +1 -1
  21. package/dist/chunks/{calendar-CA9mDtwp.js → calendar-BR8wvVEv.js} +10 -11
  22. package/dist/chunks/{calendar-CA9mDtwp.js.map → calendar-BR8wvVEv.js.map} +1 -1
  23. package/dist/chunks/{checkbox-CPL47-us.js → checkbox-BkMPWcR_.js} +9 -10
  24. package/dist/chunks/{checkbox-CPL47-us.js.map → checkbox-BkMPWcR_.js.map} +1 -1
  25. package/dist/chunks/{cn-CLpm819s.js → cn-CF99d-bD.js} +8 -4
  26. package/dist/chunks/cn-CF99d-bD.js.map +1 -0
  27. package/dist/chunks/{code-CpqXogQK.js → code-C4bi_3gR.js} +3 -4
  28. package/dist/chunks/{code-CpqXogQK.js.map → code-C4bi_3gR.js.map} +1 -1
  29. package/dist/chunks/{code-block-BqFGa1-b.js → code-block-DBWno4Dm.js} +51 -53
  30. package/dist/chunks/code-block-DBWno4Dm.js.map +1 -0
  31. package/dist/chunks/code-block-DOZqnHjd.js +282 -0
  32. package/dist/chunks/code-block-DOZqnHjd.js.map +1 -0
  33. package/dist/chunks/{collapsible-DmLyF8Ol.js → collapsible-BFoDXP0y.js} +19 -17
  34. package/dist/chunks/collapsible-BFoDXP0y.js.map +1 -0
  35. package/dist/chunks/combobox-B8GjFlO4.js +365 -0
  36. package/dist/chunks/combobox-B8GjFlO4.js.map +1 -0
  37. package/dist/chunks/{command-list-GQ3y8on6.js → command-list-ttU7YLEl.js} +51 -50
  38. package/dist/chunks/command-list-ttU7YLEl.js.map +1 -0
  39. package/dist/chunks/{command-palette-DEJDRW31.js → command-palette-BEIK_hv9.js} +54 -52
  40. package/dist/chunks/command-palette-BEIK_hv9.js.map +1 -0
  41. package/dist/chunks/context-B2nNL7Im.js +19 -0
  42. package/dist/chunks/context-B2nNL7Im.js.map +1 -0
  43. package/dist/chunks/{copy-button-B67MEIu2.js → copy-button-59YLQ_oG.js} +48 -43
  44. package/dist/chunks/copy-button-59YLQ_oG.js.map +1 -0
  45. package/dist/chunks/core-B8c9Bty0.js +456 -0
  46. package/dist/chunks/core-B8c9Bty0.js.map +1 -0
  47. package/dist/chunks/dashboard-Cuv86JNj.js +135 -0
  48. package/dist/chunks/dashboard-Cuv86JNj.js.map +1 -0
  49. package/dist/chunks/data-table-BMopFMG6.js +641 -0
  50. package/dist/chunks/data-table-BMopFMG6.js.map +1 -0
  51. package/dist/chunks/date-picker-CkIMfoLV.js +345 -0
  52. package/dist/chunks/date-picker-CkIMfoLV.js.map +1 -0
  53. package/dist/chunks/{date-popup-7ZzVxhY1.js → date-popup-DhbnZRhl.js} +12 -14
  54. package/dist/chunks/{date-popup-7ZzVxhY1.js.map → date-popup-DhbnZRhl.js.map} +1 -1
  55. package/dist/chunks/{de-V_lN_KKk.js → de-QtAgHLnQ.js} +61 -3
  56. package/dist/chunks/de-QtAgHLnQ.js.map +1 -0
  57. package/dist/chunks/{delta-BCIXqi3O.js → delta-CJUsqoA_.js} +7 -8
  58. package/dist/chunks/{delta-BCIXqi3O.js.map → delta-CJUsqoA_.js.map} +1 -1
  59. package/dist/chunks/{dev-TgcS67XR.js → dev-CRNODF1J.js} +2 -3
  60. package/dist/chunks/{dev-TgcS67XR.js.map → dev-CRNODF1J.js.map} +1 -1
  61. package/dist/chunks/dialog-CYQsXjid.js +590 -0
  62. package/dist/chunks/dialog-CYQsXjid.js.map +1 -0
  63. package/dist/chunks/{disclosure-DhMvGSll.js → disclosure-0eeGo16u.js} +3 -4
  64. package/dist/chunks/{disclosure-DhMvGSll.js.map → disclosure-0eeGo16u.js.map} +1 -1
  65. package/dist/chunks/{display-options-BTFqLSJX.js → display-options-DZqFG-ly.js} +38 -38
  66. package/dist/chunks/display-options-DZqFG-ly.js.map +1 -0
  67. package/dist/chunks/domain-BqNtp2rQ.js +25 -0
  68. package/dist/chunks/domain-BqNtp2rQ.js.map +1 -0
  69. package/dist/chunks/empty-BLeimJFU.js +50 -0
  70. package/dist/chunks/empty-BLeimJFU.js.map +1 -0
  71. package/dist/chunks/{field-ng87P1GV.js → field-BJoH_7Mc.js} +15 -17
  72. package/dist/chunks/field-BJoH_7Mc.js.map +1 -0
  73. package/dist/chunks/{figure-_uZS1Y52.js → figure-g1FhNNJc.js} +8 -10
  74. package/dist/chunks/figure-g1FhNNJc.js.map +1 -0
  75. package/dist/chunks/filter-chip-KMkD6acL.js +208 -0
  76. package/dist/chunks/filter-chip-KMkD6acL.js.map +1 -0
  77. package/dist/chunks/{filter-row-Bs2lFT67.js → filter-row-Dia2atDQ.js} +9 -10
  78. package/dist/chunks/{filter-row-Bs2lFT67.js.map → filter-row-Dia2atDQ.js.map} +1 -1
  79. package/dist/chunks/{flow-BGFXfXgJ.js → flow-9Ap7HdzN.js} +27 -28
  80. package/dist/chunks/flow-9Ap7HdzN.js.map +1 -0
  81. package/dist/chunks/formatters-Be5AdLB2.js +12 -0
  82. package/dist/chunks/formatters-Be5AdLB2.js.map +1 -0
  83. package/dist/chunks/{heading-wBU2QK4s.js → heading-DjRyHd0R.js} +3 -4
  84. package/dist/chunks/{heading-wBU2QK4s.js.map → heading-DjRyHd0R.js.map} +1 -1
  85. package/dist/chunks/{i18n-0RW0IAf3.js → i18n-DA-5LboH.js} +2 -3
  86. package/dist/chunks/{i18n-0RW0IAf3.js.map → i18n-DA-5LboH.js.map} +1 -1
  87. package/dist/chunks/{icon-lgMMe3zk.js → icon-UqUodbsN.js} +26 -26
  88. package/dist/chunks/icon-UqUodbsN.js.map +1 -0
  89. package/dist/chunks/{icon-CPiYZMTw.js → icon-kQHSzziW.js} +3 -4
  90. package/dist/chunks/{icon-CPiYZMTw.js.map → icon-kQHSzziW.js.map} +1 -1
  91. package/dist/chunks/{identity-DCghs4Wp.js → identity-DCNUQgql.js} +231 -110
  92. package/dist/chunks/identity-DCNUQgql.js.map +1 -0
  93. package/dist/chunks/{input-iSaRkw-V.js → input-CI8DBTas.js} +20 -22
  94. package/dist/chunks/{input-iSaRkw-V.js.map → input-CI8DBTas.js.map} +1 -1
  95. package/dist/chunks/{input-QQR4KS9D.js → input-DpGqfw1G.js} +39 -39
  96. package/dist/chunks/input-DpGqfw1G.js.map +1 -0
  97. package/dist/chunks/input-group-FtZWEYNA.js +90 -0
  98. package/dist/chunks/input-group-FtZWEYNA.js.map +1 -0
  99. package/dist/chunks/{inset-BUzyXLK4.js → inset-BTAjcK6a.js} +2 -3
  100. package/dist/chunks/{inset-BUzyXLK4.js.map → inset-BTAjcK6a.js.map} +1 -1
  101. package/dist/chunks/{iso-field-D2CISQaB.js → iso-field-Dg-HGlv9.js} +7 -8
  102. package/dist/chunks/{iso-field-D2CISQaB.js.map → iso-field-Dg-HGlv9.js.map} +1 -1
  103. package/dist/chunks/{json-view-DeHSFq-2.js → json-view-CNpzGhtB.js} +25 -26
  104. package/dist/chunks/json-view-CNpzGhtB.js.map +1 -0
  105. package/dist/chunks/{kaeso-Bs1aLSTp.js → kaeso-C-E-8Dxz.js} +198 -200
  106. package/dist/chunks/kaeso-C-E-8Dxz.js.map +1 -0
  107. package/dist/chunks/{kaeso-theme-BIgOZi41.js → kaeso-theme-C9rnRKq2.js} +3 -5
  108. package/dist/chunks/{kaeso-theme-BIgOZi41.js.map → kaeso-theme-C9rnRKq2.js.map} +1 -1
  109. package/dist/chunks/{kbd-xC3k90CH.js → kbd-CI5W-2LJ.js} +4 -5
  110. package/dist/chunks/{kbd-xC3k90CH.js.map → kbd-CI5W-2LJ.js.map} +1 -1
  111. package/dist/chunks/{key-value-DKW2q0zt.js → key-value-nzN9Vojb.js} +12 -13
  112. package/dist/chunks/key-value-nzN9Vojb.js.map +1 -0
  113. package/dist/chunks/{labelled-D5udSPUI.js → labelled-DJa09XRF.js} +2 -3
  114. package/dist/chunks/{labelled-D5udSPUI.js.map → labelled-DJa09XRF.js.map} +1 -1
  115. package/dist/chunks/{linear-scale-BWKeRqDX.js → linear-scale-B5A7yNr7.js} +2 -3
  116. package/dist/chunks/{linear-scale-BWKeRqDX.js.map → linear-scale-B5A7yNr7.js.map} +1 -1
  117. package/dist/chunks/link-DXFn_hKF.js +54 -0
  118. package/dist/chunks/link-DXFn_hKF.js.map +1 -0
  119. package/dist/chunks/{link-provider-cvl8lSTT.js → link-provider-DSF9bbO3.js} +2 -3
  120. package/dist/chunks/{link-provider-cvl8lSTT.js.map → link-provider-DSF9bbO3.js.map} +1 -1
  121. package/dist/chunks/list-Bhtqsv9E.js +594 -0
  122. package/dist/chunks/list-Bhtqsv9E.js.map +1 -0
  123. package/dist/chunks/{loader-DtZd9btk.js → loader-C4ayEuXI.js} +3 -4
  124. package/dist/chunks/{loader-DtZd9btk.js.map → loader-C4ayEuXI.js.map} +1 -1
  125. package/dist/chunks/{loader-D27YO1c3.js → loader-DMnDOZWX.js} +10 -11
  126. package/dist/chunks/{loader-D27YO1c3.js.map → loader-DMnDOZWX.js.map} +1 -1
  127. package/dist/chunks/{logo-DTqTs3vV.js → logo-z7ZAq0So.js} +4 -5
  128. package/dist/chunks/{logo-DTqTs3vV.js.map → logo-z7ZAq0So.js.map} +1 -1
  129. package/dist/chunks/{markdown-BlIl3LuV.js → markdown-CLMrgRju.js} +118 -101
  130. package/dist/chunks/markdown-CLMrgRju.js.map +1 -0
  131. package/dist/chunks/{menu-D3tUjkCM.js → menu-Bl7vzB52.js} +126 -119
  132. package/dist/chunks/menu-Bl7vzB52.js.map +1 -0
  133. package/dist/chunks/{merge-refs-BN1FyQt9.js → merge-refs-SiVVoQsO.js} +2 -3
  134. package/dist/chunks/{merge-refs-BN1FyQt9.js.map → merge-refs-SiVVoQsO.js.map} +1 -1
  135. package/dist/chunks/{message-BxTkh1oA.js → message-DpD9D1Dj.js} +2 -3
  136. package/dist/chunks/{message-BxTkh1oA.js.map → message-DpD9D1Dj.js.map} +1 -1
  137. package/dist/chunks/meter-YuCR1Pjd.js +193 -0
  138. package/dist/chunks/meter-YuCR1Pjd.js.map +1 -0
  139. package/dist/chunks/nav-sheet-CQfZ7w_q.js +65 -0
  140. package/dist/chunks/nav-sheet-CQfZ7w_q.js.map +1 -0
  141. package/dist/chunks/{nav-wordmark-DR4Glswt.js → nav-wordmark-DoA-i2E9.js} +3 -4
  142. package/dist/chunks/{nav-wordmark-DR4Glswt.js.map → nav-wordmark-DoA-i2E9.js.map} +1 -1
  143. package/dist/chunks/{observe-resize-DhxhmoyB.js → observe-resize-DerQK57d.js} +2 -3
  144. package/dist/chunks/{observe-resize-DhxhmoyB.js.map → observe-resize-DerQK57d.js.map} +1 -1
  145. package/dist/chunks/{option-checkbox-Df7WhGn4.js → option-checkbox-wA9L8Nxo.js} +2 -3
  146. package/dist/chunks/{option-checkbox-Df7WhGn4.js.map → option-checkbox-wA9L8Nxo.js.map} +1 -1
  147. package/dist/chunks/over-sheet-CMUXcIMV.js +25 -0
  148. package/dist/chunks/over-sheet-CMUXcIMV.js.map +1 -0
  149. package/dist/chunks/page-header-C92GBvns.js +45 -0
  150. package/dist/chunks/page-header-C92GBvns.js.map +1 -0
  151. package/dist/chunks/{pagination-BT-lQc45.js → pagination-IL6wspAT.js} +13 -14
  152. package/dist/chunks/{pagination-BT-lQc45.js.map → pagination-IL6wspAT.js.map} +1 -1
  153. package/dist/chunks/{picker-popover-Bb-2Amjw.js → picker-popover-icF27914.js} +21 -22
  154. package/dist/chunks/picker-popover-icF27914.js.map +1 -0
  155. package/dist/chunks/{popover-CAoo5c59.js → popover-BFvV60-L.js} +9 -10
  156. package/dist/chunks/{popover-CAoo5c59.js.map → popover-BFvV60-L.js.map} +1 -1
  157. package/dist/chunks/{popover-root-D3q89WNF.js → popover-root-BI54wuLi.js} +2 -3
  158. package/dist/chunks/{popover-root-D3q89WNF.js.map → popover-root-BI54wuLi.js.map} +1 -1
  159. package/dist/chunks/{portal-context-CTatR2Z8.js → portal-context-Z2xSIPsc.js} +2 -3
  160. package/dist/chunks/{portal-context-CTatR2Z8.js.map → portal-context-Z2xSIPsc.js.map} +1 -1
  161. package/dist/chunks/{provider-marks-BVbDRIv-.js → provider-marks-DmonWRb5.js} +2 -3
  162. package/dist/chunks/{provider-marks-BVbDRIv-.js.map → provider-marks-DmonWRb5.js.map} +1 -1
  163. package/dist/chunks/{qr-code-DOsFDNiz.js → qr-code-CCNU8O2_.js} +3 -4
  164. package/dist/chunks/{qr-code-DOsFDNiz.js.map → qr-code-CCNU8O2_.js.map} +1 -1
  165. package/dist/chunks/{radio-DfOB6J3Z.js → radio-anvHOdCW.js} +5 -6
  166. package/dist/chunks/{radio-DfOB6J3Z.js.map → radio-anvHOdCW.js.map} +1 -1
  167. package/dist/chunks/{range-popup-iBru5bpM.js → range-popup-Z6K3WK7A.js} +61 -59
  168. package/dist/chunks/range-popup-Z6K3WK7A.js.map +1 -0
  169. package/dist/chunks/{reasoning-frame-DBIq2SMT.js → reasoning-frame-BCoFYqgO.js} +4 -5
  170. package/dist/chunks/{reasoning-frame-DBIq2SMT.js.map → reasoning-frame-BCoFYqgO.js.map} +1 -1
  171. package/dist/chunks/{release-art-D7Iq6Qhv.js → release-art-DJuOsmxV.js} +9 -11
  172. package/dist/chunks/{release-art-D7Iq6Qhv.js.map → release-art-DJuOsmxV.js.map} +1 -1
  173. package/dist/chunks/{resize-motion-DS3rIIqy.js → resize-motion-BbVXkxTO.js} +4 -7
  174. package/dist/chunks/{resize-motion-DS3rIIqy.js.map → resize-motion-BbVXkxTO.js.map} +1 -1
  175. package/dist/chunks/{rights-DDGgi823.js → rights-C44EtmsG.js} +68 -70
  176. package/dist/chunks/rights-C44EtmsG.js.map +1 -0
  177. package/dist/chunks/rolldown-runtime-CGnMp29N.js +10 -0
  178. package/dist/chunks/{rolling-number-ea1iiycC.js → rolling-number-wHJ6BD7h.js} +3 -4
  179. package/dist/chunks/{rolling-number-ea1iiycC.js.map → rolling-number-wHJ6BD7h.js.map} +1 -1
  180. package/dist/chunks/row-control-DlHLdthx.js +8 -0
  181. package/dist/chunks/row-control-DlHLdthx.js.map +1 -0
  182. package/dist/chunks/{safe-href-G5DBNVwm.js → safe-href-CWHpspUx.js} +2 -3
  183. package/dist/chunks/{safe-href-G5DBNVwm.js.map → safe-href-CWHpspUx.js.map} +1 -1
  184. package/dist/chunks/{scroll-area-D-ykAChX.js → scroll-area-CWPdGMJb.js} +4 -5
  185. package/dist/chunks/scroll-area-CWPdGMJb.js.map +1 -0
  186. package/dist/chunks/section-DmjNeJG9.js +97 -0
  187. package/dist/chunks/section-DmjNeJG9.js.map +1 -0
  188. package/dist/chunks/{segmented-BJJHHn0N.js → segmented-1WSOvDjT.js} +20 -21
  189. package/dist/chunks/segmented-1WSOvDjT.js.map +1 -0
  190. package/dist/chunks/{select-Ch4u5oIg.js → select-B3eoWXfR.js} +61 -61
  191. package/dist/chunks/select-B3eoWXfR.js.map +1 -0
  192. package/dist/chunks/{selects-text-R1lZHLKm.js → selects-text-kRMTsm4s.js} +5 -7
  193. package/dist/chunks/selects-text-kRMTsm4s.js.map +1 -0
  194. package/dist/chunks/{separator-B2CT4qia.js → separator-CAxDTLUL.js} +8 -6
  195. package/dist/chunks/separator-CAxDTLUL.js.map +1 -0
  196. package/dist/chunks/settings-CtVw9CiD.js +83 -0
  197. package/dist/chunks/settings-CtVw9CiD.js.map +1 -0
  198. package/dist/chunks/sheet-gHqkCQXy.js +127 -0
  199. package/dist/chunks/sheet-gHqkCQXy.js.map +1 -0
  200. package/dist/chunks/{shiki-CRJpi_Hd.js → shiki-QCHorMZO.js} +3 -4
  201. package/dist/chunks/{shiki-CRJpi_Hd.js.map → shiki-QCHorMZO.js.map} +1 -1
  202. package/dist/chunks/sidebar-BnIqRDVN.js +665 -0
  203. package/dist/chunks/sidebar-BnIqRDVN.js.map +1 -0
  204. package/dist/chunks/{sidebar-menu-f5NMgTdE.js → sidebar-menu-CSElX37g.js} +3 -4
  205. package/dist/chunks/sidebar-menu-CSElX37g.js.map +1 -0
  206. package/dist/chunks/sizes-CSjNvon0.js +20 -0
  207. package/dist/chunks/sizes-CSjNvon0.js.map +1 -0
  208. package/dist/chunks/{skeleton-Bx-vRJdy.js → skeleton-DTiYxSYX.js} +4 -5
  209. package/dist/chunks/skeleton-DTiYxSYX.js.map +1 -0
  210. package/dist/chunks/{slider-BuEZfzNB.js → slider-CSLWsGYq.js} +5 -5
  211. package/dist/chunks/{slider-BuEZfzNB.js.map → slider-CSLWsGYq.js.map} +1 -1
  212. package/dist/chunks/{stat-gR4hFqO8.js → stat-DuWKmxGr.js} +53 -51
  213. package/dist/chunks/stat-DuWKmxGr.js.map +1 -0
  214. package/dist/chunks/{status-CejTEkqR.js → status-Bi2tSKCj.js} +7 -8
  215. package/dist/chunks/{status-CejTEkqR.js.map → status-Bi2tSKCj.js.map} +1 -1
  216. package/dist/chunks/styles-CklJ8C7c.js +14 -0
  217. package/dist/chunks/styles-CklJ8C7c.js.map +1 -0
  218. package/dist/chunks/{swap-text-CxWcVD0a.js → swap-text-DL0V-pku.js} +3 -4
  219. package/dist/chunks/{swap-text-CxWcVD0a.js.map → swap-text-DL0V-pku.js.map} +1 -1
  220. package/dist/chunks/swap-value-TlZecHRF.js +29 -0
  221. package/dist/chunks/swap-value-TlZecHRF.js.map +1 -0
  222. package/dist/chunks/switch-C0sNr969.js +77 -0
  223. package/dist/chunks/switch-C0sNr969.js.map +1 -0
  224. package/dist/chunks/{table-BTUUwlXD.js → table-CceWZLhC.js} +20 -21
  225. package/dist/chunks/table-CceWZLhC.js.map +1 -0
  226. package/dist/chunks/{tabs-D0I6Jkd4.js → tabs-BElO8cFs.js} +18 -19
  227. package/dist/chunks/tabs-BElO8cFs.js.map +1 -0
  228. package/dist/chunks/{tag-BGvgGsvr.js → tag-o9BCsRkO.js} +13 -14
  229. package/dist/chunks/tag-o9BCsRkO.js.map +1 -0
  230. package/dist/chunks/{text-ChUk0Z46.js → text-BRYPrw1h.js} +8 -9
  231. package/dist/chunks/text-BRYPrw1h.js.map +1 -0
  232. package/dist/chunks/textarea-BP6I9yrU.js +172 -0
  233. package/dist/chunks/textarea-BP6I9yrU.js.map +1 -0
  234. package/dist/chunks/{theme-image-Bk97CYp8.js → theme-image-Cw4VJEag.js} +3 -4
  235. package/dist/chunks/{theme-image-Bk97CYp8.js.map → theme-image-Cw4VJEag.js.map} +1 -1
  236. package/dist/chunks/theme-menu-BgltuBqB.js +79 -0
  237. package/dist/chunks/theme-menu-BgltuBqB.js.map +1 -0
  238. package/dist/chunks/{theme-provider-CmsV0cYJ.js → theme-provider-DaD8hlXu.js} +3 -4
  239. package/dist/chunks/{theme-provider-CmsV0cYJ.js.map → theme-provider-DaD8hlXu.js.map} +1 -1
  240. package/dist/chunks/thumbnail-CtYBg7Ms.js +83 -0
  241. package/dist/chunks/thumbnail-CtYBg7Ms.js.map +1 -0
  242. package/dist/chunks/{thumbnail-D2hD8aEk.js → thumbnail-DmFBC3Rf.js} +7 -8
  243. package/dist/chunks/{thumbnail-D2hD8aEk.js.map → thumbnail-DmFBC3Rf.js.map} +1 -1
  244. package/dist/chunks/{timeline-BQm5Q-Ul.js → timeline-B3vkaxI1.js} +12 -13
  245. package/dist/chunks/timeline-B3vkaxI1.js.map +1 -0
  246. package/dist/chunks/timeseries-h7XdvYTo.js +404 -0
  247. package/dist/chunks/timeseries-h7XdvYTo.js.map +1 -0
  248. package/dist/chunks/{toast-CSlvlu-r.js → toast-XAZeCuV7.js} +47 -48
  249. package/dist/chunks/toast-XAZeCuV7.js.map +1 -0
  250. package/dist/chunks/{toc-Cu2QJL5A.js → toc-C9Ay3w5r.js} +22 -17
  251. package/dist/chunks/toc-C9Ay3w5r.js.map +1 -0
  252. package/dist/chunks/{tone-CWpsHPb6.js → tone-CF_XXfiq.js} +2 -3
  253. package/dist/chunks/{tone-CWpsHPb6.js.map → tone-CF_XXfiq.js.map} +1 -1
  254. package/dist/chunks/{toolbar-DE-R3sjA.js → toolbar-BHqTfPWr.js} +17 -18
  255. package/dist/chunks/toolbar-BHqTfPWr.js.map +1 -0
  256. package/dist/chunks/{tooltip-D2g_QO6w.js → tooltip-D0jdTWyX.js} +2 -3
  257. package/dist/chunks/{tooltip-D2g_QO6w.js.map → tooltip-D0jdTWyX.js.map} +1 -1
  258. package/dist/chunks/tooltip-DVpJ_urN.js +205 -0
  259. package/dist/chunks/tooltip-DVpJ_urN.js.map +1 -0
  260. package/dist/chunks/{tooltip-C8ehtFju.js → tooltip-OySqu0Bq.js} +30 -28
  261. package/dist/chunks/tooltip-OySqu0Bq.js.map +1 -0
  262. package/dist/chunks/{tooltip-root-CrLuOT4j.js → tooltip-root-BeCM9Uhj.js} +25 -25
  263. package/dist/chunks/tooltip-root-BeCM9Uhj.js.map +1 -0
  264. package/dist/chunks/{truncated-C0A4AU-U.js → truncated-C6K1q8DJ.js} +9 -10
  265. package/dist/chunks/{truncated-C0A4AU-U.js.map → truncated-C6K1q8DJ.js.map} +1 -1
  266. package/dist/chunks/{use-controllable-B5Fd12Bx.js → use-controllable-rN5Fg5EJ.js} +2 -3
  267. package/dist/chunks/{use-controllable-B5Fd12Bx.js.map → use-controllable-rN5Fg5EJ.js.map} +1 -1
  268. package/dist/chunks/{use-copy-Dm2ncvMX.js → use-copy-DtUCUOlR.js} +2 -3
  269. package/dist/chunks/{use-copy-Dm2ncvMX.js.map → use-copy-DtUCUOlR.js.map} +1 -1
  270. package/dist/chunks/{use-hydrating-COtYVRo4.js → use-hydrating-Dth8POSk.js} +2 -3
  271. package/dist/chunks/{use-hydrating-COtYVRo4.js.map → use-hydrating-Dth8POSk.js.map} +1 -1
  272. package/dist/chunks/{use-indicator-C1ovED2B.js → use-indicator-Dmlj4ucA.js} +3 -4
  273. package/dist/chunks/{use-indicator-C1ovED2B.js.map → use-indicator-Dmlj4ucA.js.map} +1 -1
  274. package/dist/chunks/{use-layout-width-CbSDbRb0.js → use-layout-width-D53VE1kJ.js} +3 -4
  275. package/dist/chunks/{use-layout-width-CbSDbRb0.js.map → use-layout-width-D53VE1kJ.js.map} +1 -1
  276. package/dist/chunks/{use-scroll-fade-uc8mWSDX.js → use-scroll-fade-CNLSc2jm.js} +3 -4
  277. package/dist/chunks/{use-scroll-fade-uc8mWSDX.js.map → use-scroll-fade-CNLSc2jm.js.map} +1 -1
  278. package/dist/chunks/{use-scroll-margin-atRtf0v_.js → use-scroll-margin-CpP0MUMb.js} +3 -4
  279. package/dist/chunks/{use-scroll-margin-atRtf0v_.js.map → use-scroll-margin-CpP0MUMb.js.map} +1 -1
  280. package/dist/chunks/{use-truncated-CW0hByYt.js → use-truncated-CVim8MP9.js} +3 -4
  281. package/dist/chunks/{use-truncated-CW0hByYt.js.map → use-truncated-CVim8MP9.js.map} +1 -1
  282. package/dist/chunks/use-utc-while-hydrating-PP48Tcfz.js +8 -0
  283. package/dist/chunks/use-utc-while-hydrating-PP48Tcfz.js.map +1 -0
  284. package/dist/chunks/{virtual-rows-CC_kc2PR.js → virtual-rows-ByQ87hP0.js} +5 -5
  285. package/dist/chunks/virtual-rows-ByQ87hP0.js.map +1 -0
  286. package/dist/chunks/{visually-hidden-CLTH1HKD.js → visually-hidden-BQ8nOlYI.js} +3 -4
  287. package/dist/chunks/{visually-hidden-CLTH1HKD.js.map → visually-hidden-BQ8nOlYI.js.map} +1 -1
  288. package/dist/chunks/{when-idle-Cy3pinqO.js → when-idle-DXKwyOLB.js} +1 -2
  289. package/dist/chunks/{when-idle-Cy3pinqO.js.map → when-idle-DXKwyOLB.js.map} +1 -1
  290. package/dist/chunks/{zh-CN-Dv7n5mAr.js → zh-CN-8ZWE79zI.js} +61 -3
  291. package/dist/chunks/zh-CN-8ZWE79zI.js.map +1 -0
  292. package/dist/components/app-frame.js +1 -1
  293. package/dist/components/avatar.js +1 -1
  294. package/dist/components/badge.js +1 -1
  295. package/dist/components/banner.js +1 -1
  296. package/dist/components/button-group.js +1 -1
  297. package/dist/components/button.js +1 -1
  298. package/dist/components/calendar.js +1 -1
  299. package/dist/components/charts/bar.js +131 -133
  300. package/dist/components/charts/bar.js.map +1 -1
  301. package/dist/components/charts/donut.js +81 -81
  302. package/dist/components/charts/donut.js.map +1 -1
  303. package/dist/components/charts/heatmap.js +56 -57
  304. package/dist/components/charts/heatmap.js.map +1 -1
  305. package/dist/components/charts/sankey.js +54 -55
  306. package/dist/components/charts/sankey.js.map +1 -1
  307. package/dist/components/charts/sparkline.js +3 -4
  308. package/dist/components/charts/timeseries.js +1 -1
  309. package/dist/components/charts.js +5 -5
  310. package/dist/components/checkbox.js +1 -1
  311. package/dist/components/code-block.js +4 -4
  312. package/dist/components/code.js +1 -1
  313. package/dist/components/collapsible.js +1 -1
  314. package/dist/components/combobox.js +1 -1
  315. package/dist/components/command-palette.js +1 -1
  316. package/dist/components/copy-button.js +1 -1
  317. package/dist/components/dashboard/legend.js +2 -3
  318. package/dist/components/dashboard/metric-tabs.js +47 -48
  319. package/dist/components/dashboard/metric-tabs.js.map +1 -1
  320. package/dist/components/dashboard/model-card.js +10 -11
  321. package/dist/components/dashboard/model-card.js.map +1 -1
  322. package/dist/components/dashboard/rank-list.js +11 -12
  323. package/dist/components/dashboard/rank-list.js.map +1 -1
  324. package/dist/components/dashboard.js +1 -1
  325. package/dist/components/data-table.js +1 -1
  326. package/dist/components/date-picker.js +1 -1
  327. package/dist/components/dialog.js +1 -1
  328. package/dist/components/display-options.js +1 -1
  329. package/dist/components/empty.js +1 -1
  330. package/dist/components/field.js +1 -1
  331. package/dist/components/figure.js +1 -1
  332. package/dist/components/filter-chip.js +1 -1
  333. package/dist/components/filter-row.js +1 -1
  334. package/dist/components/flow-canvas.js +171 -170
  335. package/dist/components/flow-canvas.js.map +1 -1
  336. package/dist/components/flow.js +1 -1
  337. package/dist/components/heading.js +1 -1
  338. package/dist/components/icon.js +2 -2
  339. package/dist/components/input.js +3 -3
  340. package/dist/components/kaeso/conversation.js +57 -58
  341. package/dist/components/kaeso/conversation.js.map +1 -1
  342. package/dist/components/kaeso/identity.js +1 -1
  343. package/dist/components/kaeso/moments.js +9 -10
  344. package/dist/components/kaeso/moments.js.map +1 -1
  345. package/dist/components/kaeso/rights.js +1 -1
  346. package/dist/components/kaeso/usage.js +75 -76
  347. package/dist/components/kaeso/usage.js.map +1 -1
  348. package/dist/components/kaeso.js +3 -3
  349. package/dist/components/kbd.js +1 -1
  350. package/dist/components/key-value.js +1 -1
  351. package/dist/components/link.js +1 -1
  352. package/dist/components/list.js +1 -1
  353. package/dist/components/loader.js +2 -2
  354. package/dist/components/logo.js +1 -1
  355. package/dist/components/markdown.js +2 -2
  356. package/dist/components/menu.js +3 -3
  357. package/dist/components/meter.js +1 -1
  358. package/dist/components/page-header.js +1 -1
  359. package/dist/components/pagination.js +1 -1
  360. package/dist/components/playground.js +1448 -694
  361. package/dist/components/playground.js.map +1 -1
  362. package/dist/components/popover.js +1 -1
  363. package/dist/components/qr-code.js +1 -1
  364. package/dist/components/radio.js +1 -1
  365. package/dist/components/release-art.js +1 -1
  366. package/dist/components/scroll-area.js +1 -1
  367. package/dist/components/section.js +1 -1
  368. package/dist/components/segmented.js +1 -1
  369. package/dist/components/select.js +1 -1
  370. package/dist/components/separator.js +1 -1
  371. package/dist/components/settings.js +1 -1
  372. package/dist/components/sheet.js +1 -1
  373. package/dist/components/sidebar.js +1 -1
  374. package/dist/components/skeleton.js +1 -1
  375. package/dist/components/slider.js +1 -1
  376. package/dist/components/stat.js +3 -3
  377. package/dist/components/status.js +1 -1
  378. package/dist/components/swap-text.js +1 -1
  379. package/dist/components/switch.js +1 -1
  380. package/dist/components/table.js +1 -1
  381. package/dist/components/tabs.js +1 -1
  382. package/dist/components/tag.js +1 -1
  383. package/dist/components/text.js +1 -1
  384. package/dist/components/theme-image.js +1 -1
  385. package/dist/components/theme-menu.js +1 -1
  386. package/dist/components/thumbnail.js +2 -2
  387. package/dist/components/timeline.js +1 -1
  388. package/dist/components/toast.js +1 -1
  389. package/dist/components/toc.js +1 -1
  390. package/dist/components/toolbar.js +1 -1
  391. package/dist/components/tooltip.js +2 -2
  392. package/dist/components/visually-hidden.js +1 -1
  393. package/dist/format.js +275 -196
  394. package/dist/format.js.map +1 -1
  395. package/dist/i18n-locales.js +1 -2
  396. package/dist/i18n-provider.js +6 -7
  397. package/dist/i18n-provider.js.map +1 -1
  398. package/dist/i18n.js +5 -4
  399. package/dist/index.js +114 -113
  400. package/dist/kaeso.css +144 -32
  401. package/dist/styles.css +2 -2
  402. package/dist/theme.js +1 -1
  403. package/dist/types/components/avatar/avatar.d.ts +1 -1
  404. package/dist/types/components/banner/banner.d.ts +12 -12
  405. package/dist/types/components/button/button.d.ts +2 -2
  406. package/dist/types/components/charts/core.d.ts +37 -3
  407. package/dist/types/components/charts/domain.d.ts +0 -1
  408. package/dist/types/components/charts/donut.d.ts +3 -2
  409. package/dist/types/components/charts/marks.d.ts +1 -0
  410. package/dist/types/components/charts/tooltip.d.ts +1 -0
  411. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  412. package/dist/types/components/code/code.d.ts +2 -2
  413. package/dist/types/components/code-block/code-block.d.ts +2 -2
  414. package/dist/types/components/code-block/diff-view.d.ts +2 -2
  415. package/dist/types/components/code-block/json-view.d.ts +1 -1
  416. package/dist/types/components/code-block/words.d.ts +3 -0
  417. package/dist/types/components/combobox/combobox.d.ts +1 -1
  418. package/dist/types/components/command-list/command-list.d.ts +1 -1
  419. package/dist/types/components/copy-button/copy-button.d.ts +2 -2
  420. package/dist/types/components/dashboard/dashboard.d.ts +3 -3
  421. package/dist/types/components/dashboard/swap-value.d.ts +1 -0
  422. package/dist/types/components/data-table/data-table.d.ts +2 -1
  423. package/dist/types/components/empty/empty.d.ts +6 -6
  424. package/dist/types/components/figure/figure.d.ts +2 -2
  425. package/dist/types/components/filter-chip/docs.d.ts +1 -0
  426. package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
  427. package/dist/types/components/flow/flow.d.ts +1 -1
  428. package/dist/types/components/heading/heading.d.ts +4 -4
  429. package/dist/types/components/input/input-group.d.ts +3 -24
  430. package/dist/types/components/input/sizes.d.ts +24 -0
  431. package/dist/types/components/kaeso/identity.d.ts +1 -0
  432. package/dist/types/components/key-value/key-value.d.ts +5 -5
  433. package/dist/types/components/label/label.d.ts +4 -4
  434. package/dist/types/components/link/link.d.ts +8 -4
  435. package/dist/types/components/list/list.d.ts +1 -0
  436. package/dist/types/components/menu/menu.d.ts +1 -1
  437. package/dist/types/components/menu/styles.d.ts +2 -2
  438. package/dist/types/components/meter/docs.d.ts +1 -0
  439. package/dist/types/components/meter/gauge.d.ts +1 -0
  440. package/dist/types/components/meter/meter.d.ts +5 -4
  441. package/dist/types/components/page-header/page-header.d.ts +1 -1
  442. package/dist/types/components/playground/decision-questions.d.ts +20 -0
  443. package/dist/types/components/playground/decision-response.d.ts +41 -0
  444. package/dist/types/components/playground/decision-types.d.ts +69 -0
  445. package/dist/types/components/playground/docs.d.ts +50 -0
  446. package/dist/types/components/playground/index.d.ts +9 -0
  447. package/dist/types/components/playground/model-picker.d.ts +2 -2
  448. package/dist/types/components/playground/probability-bar.d.ts +34 -0
  449. package/dist/types/components/playground/question-editor.d.ts +29 -0
  450. package/dist/types/components/playground/response-metrics.d.ts +3 -1
  451. package/dist/types/components/playground/response-view.d.ts +2 -0
  452. package/dist/types/components/popover/popover.d.ts +1 -1
  453. package/dist/types/components/section/section.d.ts +1 -1
  454. package/dist/types/components/select/select.d.ts +9 -9
  455. package/dist/types/components/separator/separator.d.ts +12 -0
  456. package/dist/types/components/sidebar/sidebar-menu.d.ts +1 -1
  457. package/dist/types/components/sidebar/sidebar.d.ts +4 -4
  458. package/dist/types/components/skeleton/skeleton.d.ts +3 -3
  459. package/dist/types/components/stat/stat.d.ts +6 -6
  460. package/dist/types/components/switch/switch.d.ts +9 -7
  461. package/dist/types/components/tabs/tabs.d.ts +1 -1
  462. package/dist/types/components/text/text.d.ts +5 -5
  463. package/dist/types/components/theme-menu/docs.d.ts +1 -0
  464. package/dist/types/components/theme-menu/theme-menu.d.ts +1 -0
  465. package/dist/types/components/thumbnail/media-view.d.ts +3 -3
  466. package/dist/types/components/toc/toc.d.ts +3 -3
  467. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  468. package/dist/types/format/index.d.ts +50 -4
  469. package/dist/types/hooks/use-scrolled-under.d.ts +6 -0
  470. package/dist/types/hooks/use-utc-while-hydrating.d.ts +1 -0
  471. package/dist/types/i18n/context.d.ts +1 -0
  472. package/dist/types/i18n/formatters.d.ts +3 -0
  473. package/dist/types/i18n/index.d.ts +1 -0
  474. package/dist/types/icons/groups.d.ts +1 -1
  475. package/dist/types/icons/vocabulary.d.ts +5 -0
  476. package/dist/types/utils/arrow-focus.d.ts +4 -1
  477. package/dist/types/utils/cn.d.ts +9 -0
  478. package/dist/types/utils/row-control.d.ts +2 -0
  479. package/dist/utils.js +6 -6
  480. package/foundations/color.md +23 -24
  481. package/foundations/elevation.md +5 -4
  482. package/foundations/layout.md +1 -1
  483. package/foundations/motion.md +1 -1
  484. package/foundations/shape.md +4 -3
  485. package/foundations/typography.md +3 -2
  486. package/package.json +19 -19
  487. package/dist/chunks/app-frame-R1TWy5PY.js +0 -235
  488. package/dist/chunks/app-frame-R1TWy5PY.js.map +0 -1
  489. package/dist/chunks/arrow-focus-B0KdRFX8.js +0 -20
  490. package/dist/chunks/arrow-focus-B0KdRFX8.js.map +0 -1
  491. package/dist/chunks/avatar-DVrkoFEg.js.map +0 -1
  492. package/dist/chunks/banner-cJ89c-IR.js.map +0 -1
  493. package/dist/chunks/cn-CLpm819s.js.map +0 -1
  494. package/dist/chunks/code-block-7c_BOBlJ.js +0 -247
  495. package/dist/chunks/code-block-7c_BOBlJ.js.map +0 -1
  496. package/dist/chunks/code-block-BqFGa1-b.js.map +0 -1
  497. package/dist/chunks/collapsible-DmLyF8Ol.js.map +0 -1
  498. package/dist/chunks/combobox-B-xciC2c.js +0 -357
  499. package/dist/chunks/combobox-B-xciC2c.js.map +0 -1
  500. package/dist/chunks/command-list-GQ3y8on6.js.map +0 -1
  501. package/dist/chunks/command-palette-DEJDRW31.js.map +0 -1
  502. package/dist/chunks/context-BELWW79w.js +0 -20
  503. package/dist/chunks/context-BELWW79w.js.map +0 -1
  504. package/dist/chunks/copy-button-B67MEIu2.js.map +0 -1
  505. package/dist/chunks/core-CQUQdd7y.js +0 -414
  506. package/dist/chunks/core-CQUQdd7y.js.map +0 -1
  507. package/dist/chunks/dashboard-NqG9Wgga.js +0 -132
  508. package/dist/chunks/dashboard-NqG9Wgga.js.map +0 -1
  509. package/dist/chunks/data-table-ByhxIgY2.js +0 -625
  510. package/dist/chunks/data-table-ByhxIgY2.js.map +0 -1
  511. package/dist/chunks/date-picker-BmLb22jd.js +0 -346
  512. package/dist/chunks/date-picker-BmLb22jd.js.map +0 -1
  513. package/dist/chunks/de-V_lN_KKk.js.map +0 -1
  514. package/dist/chunks/dialog-C3CMOFxU.js +0 -611
  515. package/dist/chunks/dialog-C3CMOFxU.js.map +0 -1
  516. package/dist/chunks/display-options-BTFqLSJX.js.map +0 -1
  517. package/dist/chunks/domain-DtP6QrOA.js +0 -28
  518. package/dist/chunks/domain-DtP6QrOA.js.map +0 -1
  519. package/dist/chunks/empty-BSAHpS5Q.js +0 -38
  520. package/dist/chunks/empty-BSAHpS5Q.js.map +0 -1
  521. package/dist/chunks/field-ng87P1GV.js.map +0 -1
  522. package/dist/chunks/figure-_uZS1Y52.js.map +0 -1
  523. package/dist/chunks/filter-chip-CQO2lHeZ.js +0 -204
  524. package/dist/chunks/filter-chip-CQO2lHeZ.js.map +0 -1
  525. package/dist/chunks/flow-BGFXfXgJ.js.map +0 -1
  526. package/dist/chunks/icon-lgMMe3zk.js.map +0 -1
  527. package/dist/chunks/identity-DCghs4Wp.js.map +0 -1
  528. package/dist/chunks/input-QQR4KS9D.js.map +0 -1
  529. package/dist/chunks/input-group-A2mru3OM.js +0 -106
  530. package/dist/chunks/input-group-A2mru3OM.js.map +0 -1
  531. package/dist/chunks/json-view-DeHSFq-2.js.map +0 -1
  532. package/dist/chunks/kaeso-Bs1aLSTp.js.map +0 -1
  533. package/dist/chunks/key-value-DKW2q0zt.js.map +0 -1
  534. package/dist/chunks/link-CWYlF_dE.js +0 -54
  535. package/dist/chunks/link-CWYlF_dE.js.map +0 -1
  536. package/dist/chunks/list-CT7yIoA5.js +0 -565
  537. package/dist/chunks/list-CT7yIoA5.js.map +0 -1
  538. package/dist/chunks/markdown-BlIl3LuV.js.map +0 -1
  539. package/dist/chunks/menu-D3tUjkCM.js.map +0 -1
  540. package/dist/chunks/meter-wcH0LXva.js +0 -193
  541. package/dist/chunks/meter-wcH0LXva.js.map +0 -1
  542. package/dist/chunks/nav-sheet-CteQQuMz.js +0 -66
  543. package/dist/chunks/nav-sheet-CteQQuMz.js.map +0 -1
  544. package/dist/chunks/over-sheet-B8vzr_zU.js +0 -8
  545. package/dist/chunks/over-sheet-B8vzr_zU.js.map +0 -1
  546. package/dist/chunks/page-header-JWk6TQNN.js +0 -45
  547. package/dist/chunks/page-header-JWk6TQNN.js.map +0 -1
  548. package/dist/chunks/picker-popover-Bb-2Amjw.js.map +0 -1
  549. package/dist/chunks/range-popup-iBru5bpM.js.map +0 -1
  550. package/dist/chunks/rights-DDGgi823.js.map +0 -1
  551. package/dist/chunks/scroll-area-D-ykAChX.js.map +0 -1
  552. package/dist/chunks/section-BmR6_Wts.js +0 -99
  553. package/dist/chunks/section-BmR6_Wts.js.map +0 -1
  554. package/dist/chunks/segmented-BJJHHn0N.js.map +0 -1
  555. package/dist/chunks/select-Ch4u5oIg.js.map +0 -1
  556. package/dist/chunks/selects-text-R1lZHLKm.js.map +0 -1
  557. package/dist/chunks/separator-B2CT4qia.js.map +0 -1
  558. package/dist/chunks/settings-BnheJGYB.js +0 -83
  559. package/dist/chunks/settings-BnheJGYB.js.map +0 -1
  560. package/dist/chunks/sheet-K6qa1kRf.js +0 -119
  561. package/dist/chunks/sheet-K6qa1kRf.js.map +0 -1
  562. package/dist/chunks/sidebar-D7eSzz33.js +0 -664
  563. package/dist/chunks/sidebar-D7eSzz33.js.map +0 -1
  564. package/dist/chunks/sidebar-menu-f5NMgTdE.js.map +0 -1
  565. package/dist/chunks/skeleton-Bx-vRJdy.js.map +0 -1
  566. package/dist/chunks/stat-gR4hFqO8.js.map +0 -1
  567. package/dist/chunks/styles-8fn_bHRP.js +0 -21
  568. package/dist/chunks/styles-8fn_bHRP.js.map +0 -1
  569. package/dist/chunks/swap-value-DMEInk8V.js +0 -30
  570. package/dist/chunks/swap-value-DMEInk8V.js.map +0 -1
  571. package/dist/chunks/switch-CklvBjKu.js +0 -76
  572. package/dist/chunks/switch-CklvBjKu.js.map +0 -1
  573. package/dist/chunks/table-BTUUwlXD.js.map +0 -1
  574. package/dist/chunks/tabs-D0I6Jkd4.js.map +0 -1
  575. package/dist/chunks/tag-BGvgGsvr.js.map +0 -1
  576. package/dist/chunks/text-ChUk0Z46.js.map +0 -1
  577. package/dist/chunks/textarea-Bmj2Yk79.js +0 -171
  578. package/dist/chunks/textarea-Bmj2Yk79.js.map +0 -1
  579. package/dist/chunks/theme-menu-DvtuCuuN.js +0 -56
  580. package/dist/chunks/theme-menu-DvtuCuuN.js.map +0 -1
  581. package/dist/chunks/thumbnail-DadL1nPU.js +0 -71
  582. package/dist/chunks/thumbnail-DadL1nPU.js.map +0 -1
  583. package/dist/chunks/timeline-BQm5Q-Ul.js.map +0 -1
  584. package/dist/chunks/timeseries-B_Z3nNn6.js +0 -403
  585. package/dist/chunks/timeseries-B_Z3nNn6.js.map +0 -1
  586. package/dist/chunks/toast-CSlvlu-r.js.map +0 -1
  587. package/dist/chunks/toc-Cu2QJL5A.js.map +0 -1
  588. package/dist/chunks/toolbar-DE-R3sjA.js.map +0 -1
  589. package/dist/chunks/tooltip-C8ehtFju.js.map +0 -1
  590. package/dist/chunks/tooltip-SZvkUaq9.js +0 -202
  591. package/dist/chunks/tooltip-SZvkUaq9.js.map +0 -1
  592. package/dist/chunks/tooltip-root-CrLuOT4j.js.map +0 -1
  593. package/dist/chunks/virtual-rows-CC_kc2PR.js.map +0 -1
  594. package/dist/chunks/zh-CN-Dv7n5mAr.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui component registry
2
2
 
3
- Version 0.6.0. Generated from the component types, their descriptions and variants; do not edit.
3
+ Version 0.7.0. Generated from the component types, their descriptions and variants; do not edit.
4
4
 
5
5
  ## app-frame
6
6
 
@@ -11,11 +11,11 @@ Version 0.6.0. Generated from the component types, their descriptions and varian
11
11
 
12
12
  ### AppFrame
13
13
 
14
- The page frame of an app: a skip link to the content, the sidebar, the inset panel and, on phones, a bar with a menu button. The navigation sheet's code loads once the page is idle or on the first tap; after a failed download the next tap or hover loads it again from a fresh address. Chromium and WebKit keep a failed download of a chunk the sheet shares with the rest of the app until the page is reloaded.
14
+ The page frame of an app: a skip link to the content, the sidebar and the content panel, one square ground divided by a hairline, and on phones a bar with a menu button. `AppFrame.Body` draws a hairline at the foot of the band right above it (the page header or a toolbar) while its content is scrolled under that band. The navigation sheet's code loads once the page is idle or on the first tap; after a failed download the next tap or hover loads it again from a fresh address. Chromium and WebKit keep a failed download of a chunk the sheet shares with the rest of the app until the page is reloaded. The sheet closes when a link in it or in a switcher's menu is followed, when a switcher's item is chosen, and when a control marked `data-leaves-navigation` is pressed, such as a search button that opens a palette over the page.
15
15
 
16
16
  | Prop | Type | Default | Description |
17
17
  |---|---|---|---|
18
- | `children` * | `ReactNode` | | The page, inside the inset panel. |
18
+ | `children` * | `ReactNode` | | The page, in the content panel. |
19
19
  | `sidebar` * | `ReactNode` | | The Sidebar. |
20
20
  | `brandHref` | `string` | | Where the phone bar's wordmark links to (the app's home), as `Sidebar.Brand`'s `href`; without it the wordmark is not a link. |
21
21
  | `brandLabel` | `string` | | The accessible name of the phone bar's wordmark (default "Kaeso"), as `Sidebar.Brand`'s `label`. |
@@ -29,7 +29,7 @@ The page frame of an app: a skip link to the content, the sidebar, the inset pan
29
29
  `import { Avatar } from "@logicplanes/kaeso-ui/avatar";`
30
30
 
31
31
  - **size** (avatar): `20` — 20px; `24` (default) — 24px: rows and the org switcher (default); `28` — 28px; `32` — 32px; `40` — 40px: menus, profiles
32
- - **kind** (avatar): `person` (default) — People are round; `org` — Organizations and projects: radius 8; `agent` — An agent acting for a person: one bot face on a square, the same for every agent
32
+ - **kind** (avatar): `person` (default) — People are round; `org` — Organizations and projects: a cut square, radius 6 (4 at 24px and under); `agent` — An agent acting for a person: one bot face on a square, the same for every agent
33
33
 
34
34
  ### Avatar
35
35
 
@@ -41,7 +41,7 @@ The first letters of the first and last word; `max` 1 keeps only the first. A ph
41
41
  | `agent` | `{ name: string; model: string; }` | | The agent that acted for this person, with its name and model family id from the API: a badge of about 40% of the avatar on its corner, and the family in the accessible name, such as `Ada Okafor via Release helper (Claude)`. |
42
42
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
43
43
  | `decorative` | `boolean` | | Hides it from assistive technology when the same information is already written next to it. |
44
- | `kind` | `"person" \| "agent" \| "org"` | `person` | A person (round), an organization (rounded square), or an agent (a bot face on a square). |
44
+ | `kind` | `"person" \| "agent" \| "org"` | `person` | A person (round), an organization (a cut square), or an agent (a bot face on a cut square). |
45
45
  | `size` | `24 \| 20 \| 28 \| 32 \| 40` | `24` | The diameter in pixels. |
46
46
  | `src` | `string` | | The picture's address; without one, or when it fails to load, the letters show. |
47
47
 
@@ -65,7 +65,7 @@ Overlapping avatars, each separated from the one under it by a 2px gap cut out o
65
65
 
66
66
  ### Badge
67
67
 
68
- A small read-only pill label: 22px, 12/500, smaller than a Tag (24 or 28px) so a mark never looks like a control. Words carry meaning; color supports them. A label longer than its room ends in an ellipsis and shows in full in a tooltip. `ink` is for at most one badge on a view.
68
+ A small read-only label on a cut plate: 22px, 12/500, radius 4, set apart from a Tag's pill (24 or 28px) so a mark never looks like a control. Words carry meaning; color supports them, with no dot beside the word. A label longer than its room ends in an ellipsis and shows in full in a tooltip. `ink` is for at most one badge on a view.
69
69
 
70
70
  | Prop | Type | Default | Description |
71
71
  |---|---|---|---|
@@ -76,12 +76,12 @@ A small read-only pill label: 22px, 12/500, smaller than a Tag (24 or 28px) so a
76
76
 
77
77
  `import { Banner } from "@logicplanes/kaeso-ui/banner";`
78
78
 
79
- - **tone** (banner): `neutral` (default) — A neutral notice (default); `info` — Information; `success` — Something worked; `warning` — Attention needed soon; `danger` — Something failed or will fail
80
- - **layout** (banner): `inline` (default) — Inside content: radius 14, its icon 12px in, at least 56px tall with or without actions (default); `full` — Across the top of the panel for global notices: its icon on the 24px gutter
79
+ - **tone** (banner): `neutral` (default) — A neutral notice, without an icon (default); `info` — Information: a blue mark before the words; `success` — Something worked: a green mark before the words; `warning` — Attention needed soon: an amber mark before the words; `danger` — Something failed or will fail: a red mark before the words
80
+ - **layout** (banner): `inline` (default) — Inside content: a cut plate, radius 6, its icon 12px in, at least 56px tall with or without actions (default); `full` — Across the top of the panel for global notices: its icon on the 24px gutter, a hairline at its foot
81
81
 
82
82
  ### Banner
83
83
 
84
- An inline notice: a tint, an icon (none for a neutral notice, so it never looks like information), an optional title, the text, actions at the end. Inline, the icon sits 12px in and the banner is at least 56px tall, so banners with and without actions stack evenly; full width, the icon sits on the 24px gutter and the text 24px further in. The banner is its own size container. From 480px inside its padding (the `banner` container size, `@banner:`) the actions sit on the right, centered on the title and text together, and the icon stays on the first line. Narrower (a phone) the actions go under the text, starting where the text starts: their 24px inset is the icon's 16px column and its 8px gap, which in the row is the gap before them.
84
+ An inline notice on a flat plate, the same for every tone: the tone's color only in its icon, a mark before the words (none for a neutral notice, so it never looks like information), an optional title with the text under it in the secondary color, actions at the end. Inline, the icon sits 12px in and the banner is at least 56px tall, so banners with and without actions stack evenly; full width, the icon sits on the 24px gutter and the text 24px further in. The banner is its own size container. From 480px inside its padding (the `banner` container size, `@banner:`) the actions sit on the right, centered on the title and text together, and the icon stays on the first line. Narrower (a phone) the actions go under the text, starting where the text starts: their 24px inset is the icon's 16px column and its 8px gap, which in the row is the gap before them.
85
85
 
86
86
  | Prop | Type | Default | Description |
87
87
  |---|---|---|---|
@@ -98,7 +98,7 @@ An inline notice: a tint, an icon (none for a neutral notice, so it never looks
98
98
 
99
99
  `import { Button } from "@logicplanes/kaeso-ui/button";`
100
100
 
101
- - **variant** (button): `primary` — Ink with a faint top light. Exactly one per view.; `secondary` (default) — Raised, ring and a soft shadow. The default.; `ghost` — Transparent until hovered: toolbars, rows, quiet actions; `quiet` — A ghost in secondary text that darkens on hover: actions inside a field (clear, reveal, copy); `soft` — A fill without a ring: the active pill tab; `selector` — Quiet like an unset select; with `pressed`, a check and full text: an on-or-off filter in a row of selects; `danger` — The destructive confirm, with the primary's material; `danger-secondary` — Raised with danger text; tints on hover. Destructive triggers.; `link` — Text with an underline, for actions inside sentences
101
+ - **variant** (button): `primary` — A flat ink fill. Exactly one per view.; `secondary` (default) — Raised, with a hairline ring and no shadow. The default.; `ghost` — Transparent until hovered: toolbars, rows, quiet actions; `quiet` — A ghost in secondary text that darkens on hover: actions inside a field (clear, reveal, copy); `soft` — A fill without a ring: the active pill tab; `selector` — Quiet like an unset select; with `pressed`, a check and full text: an on-or-off filter in a row of selects; `danger` — The destructive confirm, with the primary's material; `danger-secondary` — Raised with danger text; tints on hover. Destructive triggers.; `link` — Text with an underline, for actions inside sentences
102
102
  - **size** (button): `xs` — 24px: chips inside rows and tables only; `sm` — 32px: toolbars, headers, settings rows; `md` (default) — 36px: the default; `lg` — 40px: prominent actions; `xl` — 48px: sign-in and setup forms, empty-state actions
103
103
  - **shape** (button): `pill` (default) — A button with a label is a pill; `circle` — A button with `icon` and no label is a circle of the same height
104
104
 
@@ -177,7 +177,7 @@ The calendar: 36px day circles, today ringed, ranges as a continuous strip with
177
177
  `import { BarChart, Donut, Heatmap, Sankey, ShareBar, Sparkline, TimeseriesChart } from "@logicplanes/kaeso-ui/charts";`
178
178
 
179
179
  - **layout** (bar_chart): `grouped` (default) — Bars side by side per category (default); `stacked` — Bars stacked per category; `horizontal` — Horizontal bars for rankings
180
- - **chrome** (charts): `default` (default) — Dashed 3 3 grid, tertiary 12px labels, a strong baseline; no frame
180
+ - **chrome** (charts): `default` (default) — Solid 1px hairline grid, so only data is ever dashed; tertiary 12px labels, a strong baseline; no frame
181
181
  - **size** (donut): `md` (default) — 160px (default); `sm` — 140px; `lg` — 180px
182
182
  - **layout** (heatmap): `week` (default) — Hour × weekday (default); `year` — Day × week
183
183
  - **size** (sankey): `md` (default) — Fills its width; 320px tall by default
@@ -211,7 +211,7 @@ Bars for comparing values across categories: grouped, stacked, or horizontal for
211
211
 
212
212
  ### Donut
213
213
 
214
- A ring of shares with the total in the center and a legend beside it, or under it when narrow. Use it for a few parts of one whole.
214
+ A ring of shares with the total in the center and a legend beside it, or under it when narrow, its rows divided by hairlines. Use it for a few parts of one whole.
215
215
 
216
216
  | Prop | Type | Default | Description |
217
217
  |---|---|---|---|
@@ -221,7 +221,7 @@ A ring of shares with the total in the center and a legend beside it, or under i
221
221
  | `empty` | `boolean` | | Shows the empty state (`emptyText`) in place of the ring and legend. By default it shows when every value is 0, since a ring of nothing has no shares. |
222
222
  | `emptyText` | `ReactNode` | | What the empty state says. Defaults to "No data for this period" in the provider's language. |
223
223
  | `error` | `ReactNode` | | The data failed to load: the chart keeps its height, hides its legend and table toggle, and says so quietly, with Try again when there is `onRetry` and otherwise a hint to reload the page. Errors are toasts, so the value isn't shown; pass `true` and toast the message where the request fails. |
224
- | `formatValue` | `((v: number) => string)` | `(v) => formatNumber(v)` | Formats the total in the center and the values in the legend. Defaults to `formatNumber`. |
224
+ | `formatValue` | `((v: number) => string)` | | Formats the total in the center and the values in the legend. Defaults to `formatNumber`. |
225
225
  | `loading` | `boolean` | | The data is loading: the chart keeps its height and is marked busy; data already on screen dims and breathes, and with none yet the plot is a skeleton. |
226
226
  | `onRetry` | `(() => void)` | | Called when Try again is pressed after `error`; without it, the button doesn't show. |
227
227
  | `size` | `"md" \| "sm" \| "lg"` | `md` | The ring's diameter: `sm` 140px, `md` 160px (default) or `lg` 180px. |
@@ -240,7 +240,7 @@ A grid of cells shaded on a five-step ramp, for one value across two dimensions
240
240
  | `values` * | `number[][]` | | The values by row, then column: `values[row][column]`. The darkest step is the largest value. |
241
241
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
242
242
  | `columnLabelEvery` | `number` | `3` | Labels every nth column, starting with the first (3 by default), so dense columns stay readable. |
243
- | `formatValue` | `((v: number) => string)` | `(v) => formatNumber(v)` | Formats a cell's value for its tooltip, the table and screen readers. Defaults to `formatNumber`. |
243
+ | `formatValue` | `((v: number) => string)` | | Formats a cell's value for its tooltip, the table and screen readers. Defaults to `formatNumber`. |
244
244
 
245
245
  ### Sankey
246
246
 
@@ -255,7 +255,7 @@ A flow diagram, such as requests from keys to models to providers, with ribbons
255
255
  | `empty` | `boolean` | | Shows the empty state (`emptyText`) in place of the data. By default it shows when no link carries a value. |
256
256
  | `emptyText` | `ReactNode` | | What the empty state says. Defaults to "No data for this period" in the provider's language. |
257
257
  | `error` | `ReactNode` | | The data failed to load: the chart keeps its height, hides its legend and table toggle, and says so quietly, with Try again when there is `onRetry` and otherwise a hint to reload the page. Errors are toasts, so the value isn't shown; pass `true` and toast the message where the request fails. |
258
- | `formatValue` | `((v: number) => string)` | `(v) => formatNumber(v)` | Formats the values beside the nodes and in the data table. Defaults to `formatNumber`. |
258
+ | `formatValue` | `((v: number) => string)` | | Formats the values beside the nodes and in the data table. Defaults to `formatNumber`. |
259
259
  | `height` | `number` | `320` | The diagram's height in px (320 by default). |
260
260
  | `loading` | `boolean` | | The data is loading: the chart keeps its height and is marked busy; data already on screen dims and breathes, and with none yet the plot is a skeleton. |
261
261
  | `onRetry` | `(() => void)` | | Called when Try again is pressed after `error`; without it, the button doesn't show. |
@@ -269,7 +269,7 @@ One pill split into segments by share, with a legend under it. Use it for a comp
269
269
  | `aria-label` * | `string` | | The chart's accessible name ("Requests by model"). |
270
270
  | `slices` * | `Slice[]` | | The parts of the whole, each with an `id`, a `label`, a `value` and an optional `color`. |
271
271
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
272
- | `formatValue` | `((v: number) => string)` | `(v) => formatNumber(v)` | Formats each segment's value for screen readers, beside its share. Defaults to `formatNumber`. |
272
+ | `formatValue` | `((v: number) => string)` | | Formats each segment's value for screen readers, beside its share. Defaults to `formatNumber`. |
273
273
  | `legend` | `boolean` | `true` | Shows the legend with each share under the bar (on by default). |
274
274
 
275
275
  ### Sparkline
@@ -319,7 +319,7 @@ A line or area chart of values over time, such as usage, with a crosshair and to
319
319
 
320
320
  `import { Checkbox, CheckboxGroup } from "@logicplanes/kaeso-ui/checkbox";`
321
321
 
322
- - **size** (checkbox): `md` (default) — 18px, radius 5 (default)
322
+ - **size** (checkbox): `md` (default) — 18px, radius 4 (default)
323
323
  - **variant** (checkbox): `default` (default) — The box with its label beside it (default); `card` — A row of a settings group with the box at the end, for an option with a description
324
324
  - **variant** (checkbox_group): `default` (default) — A list of checkboxes (default); `cards` — Rows inside a settings group with the box at the end, for options with descriptions
325
325
 
@@ -371,29 +371,29 @@ Checkboxes that share one value, a list of the checked values.
371
371
 
372
372
  `import { Code } from "@logicplanes/kaeso-ui/code";`
373
373
 
374
- - **shape** (code): `auto` (default) — Radius 6, like every inline code in running text (default); `pill` — Always a pill; `rounded` — Always radius 6
374
+ - **shape** (code): `auto` (default) — A cut plate, radius 4, like every inline code in running text (default); `pill` — Always a pill; `rounded` — Always a cut plate, radius 4
375
375
  - **flow** (code): `box` (default) — One box: it moves to the next line whole and wraps inside itself (default); `text` — Breaks with the sentence around it, each line keeping its fill and corners; for long code in running text; `cell` — Breaks with the text around it and ends square at a break, so no padding hangs past a narrow table cell; for long code in a table
376
376
 
377
377
  ### Code
378
378
 
379
- Inline code: Geist Mono 13 on fill-1.
379
+ Inline code: Geist Mono 13 on a fill-1 cut plate (radius 4).
380
380
 
381
381
  | Prop | Type | Default | Description |
382
382
  |---|---|---|---|
383
383
  | `flow` | `"cell" \| "text" \| "box"` | `box` | `text` for long code in running text, so it breaks with the sentence instead of jumping to its own line as one box; `cell` for the same in a table cell. The default box wraps inside itself when it is wider than its line. |
384
- | `shape` | `"auto" \| "pill" \| "rounded"` | `auto` | `auto` (default) and `rounded` keep radius 6, so code in a sentence never mixes shapes; pass `pill` for one word standing alone, such as a model name in a table cell. |
384
+ | `shape` | `"auto" \| "pill" \| "rounded"` | `auto` | `auto` (default) and `rounded` keep radius 4, so code in a sentence never mixes shapes; pass `pill` for one word standing alone, such as a model name in a table cell. |
385
385
 
386
386
  ## code-block
387
387
 
388
388
  `import { CodeBlock, DiffView, JsonView } from "@logicplanes/kaeso-ui/code-block";`
389
389
 
390
- - **surface** (code_block): `well` (default) — A well: radius 14, fill, no ring (default); `plain` — No surface, inside another well
391
- - **surface** (diff_view): `well` (default) — A well: radius 14, fill, no ring (default); `plain` — No surface, inside another well
392
- - **surface** (json_view): `well` (default) — On a well (default); `plain` — No surface
390
+ - **surface** (code_block): `well` (default) — A flat plate: cut corners (radius 6), fill, no ring (default); `plain` — No surface, inside another plate
391
+ - **surface** (diff_view): `well` (default) — A flat plate: cut corners (radius 6), fill, no ring (default); `plain` — No surface, inside another plate
392
+ - **surface** (json_view): `well` (default) — On a flat plate: cut corners, fill, no ring (default); `plain` — No surface
393
393
 
394
394
  ### CodeBlock
395
395
 
396
- Highlighted code on a well in Kaeso's syntax palette, in every common language, each loaded the first time a block shows it: copy in the header with a title or tabs and on hover without, tabs, line numbers, collapse with a fade at the cut. Long lines scroll sideways inside 16px of padding at both ends, and the code fades out at an edge with more to scroll to.
396
+ Highlighted code on a flat plate (cut corners, no ring) in Kaeso's syntax palette, in every common language, each loaded the first time a block shows it: a quiet title bar under a hairline holds the title, the tabs and the copy circle, which otherwise shows on hover beside the first line; line numbers; collapse with a fade at the cut and a toggle hung from the code's edge. Long lines scroll sideways inside 16px of padding at both ends, and the code fades out at an edge with more to scroll to.
397
397
 
398
398
  | Prop | Type | Default | Description |
399
399
  |---|---|---|---|
@@ -405,11 +405,11 @@ Highlighted code on a well in Kaeso's syntax palette, in every common language,
405
405
  | `lang` | `CodeLang` | `ts` | The language to highlight (`ts` by default), or `text` to show the code plain. `resolveCodeLang` turns a Markdown fence name such as `py` or `sh` into one. |
406
406
  | `lineNumbers` | `boolean` | | Shows line numbers. |
407
407
  | `onTabChange` | `((label: string) => void)` | | Called with the label of the tab a person chooses, to remember it. |
408
- | `surface` | `"well" \| "plain"` | `well` | On a filled well (`well`) or on the panel itself (`plain`). |
408
+ | `surface` | `"well" \| "plain"` | `well` | On a flat plate (`well`) or on the panel itself (`plain`), such as inside a plate of your own. |
409
409
  | `tab` | `string` | | The label of the tab to show, such as a language the reader chose before. A label the block lacks leaves its own choice. |
410
- | `tabs` | `CodeTab[]` | | Several versions: "Python · Node · curl", shown as pill tabs. |
410
+ | `tabs` | `CodeTab[]` | | Several versions: "Python · Node · curl", shown as pill tabs in the title bar, the chosen one raised on the plate as in a segmented control. |
411
411
  | `title` | `ReactNode` | | A file name in the title bar. |
412
- | `wrap` | `boolean \| "phone"` | `false` | Long lines wrap instead of scrolling sideways: code in a narrow column (a model's response). `phone` wraps them only below 640px, with wrapped parts indented, and scrolls from there up. |
412
+ | `wrap` | `boolean \| "phone"` | `false` | Long lines wrap instead of scrolling sideways: code in a narrow column (a model's response). They break at spaces, never inside a flag or a name unless it is wider than the line. `phone` wraps them only below 640px, with wrapped parts indented, and scrolls from there up. |
413
413
 
414
414
  ### DiffView
415
415
 
@@ -424,7 +424,7 @@ Two versions of a text side by side in one column: removed lines on red, added l
424
424
  | `copy` | `boolean` | `true` | Hide the copy circle, which copies the diff with + and - markers. |
425
425
  | `lang` | `CodeLang` | `text` | The language of both versions to highlight (`text` by default). `resolveCodeLang` turns a fence name such as `py` or `sh` into one. |
426
426
  | `lineNumbers` | `boolean` | | Shows the old and the new line numbers. |
427
- | `surface` | `"well" \| "plain"` | `well` | On a filled well (`well`) or on the panel itself (`plain`). |
427
+ | `surface` | `"well" \| "plain"` | `well` | On a flat plate (`well`) or on the panel itself (`plain`). |
428
428
  | `title` | `ReactNode` | | A name in the title bar, beside the count of added and removed lines. |
429
429
  | `wrap` | `boolean` | `false` | Long lines wrap instead of scrolling sideways, keeping their indent: values in a narrow column such as a sheet. |
430
430
 
@@ -438,7 +438,7 @@ A folding JSON tree: copy any path, highlight a search. For request and response
438
438
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
439
439
  | `defaultDepth` | `number` | `2` | Levels open at first (2 by default). |
440
440
  | `query` | `string` | | Highlights keys and values that contain this text. |
441
- | `surface` | `"well" \| "plain"` | `well` | On a filled well (`well`) or on the panel itself (`plain`). |
441
+ | `surface` | `"well" \| "plain"` | `well` | On a flat plate (`well`) or on the panel itself (`plain`). |
442
442
 
443
443
  ## collapsible
444
444
 
@@ -555,7 +555,7 @@ A pill input with a filtered list: matched characters highlighted, async, chips
555
555
 
556
556
  `import { CopyButton } from "@logicplanes/kaeso-ui/copy-button";`
557
557
 
558
- - **display** (copy_button): `icon` (default) — A circle that copies a value (default); `inline` — Mono text in a sentence or a row that copies itself on click; `field` — A read-only pill field: the value in mono and a copy circle inside
558
+ - **display** (copy_button): `icon` (default) — A circle that copies a value (default); `inline` — Mono text in a sentence or a row that copies itself on click; `field` — A read-only pill field, filled and ringed like a read-only input: the value in mono and a copy circle inside
559
559
  - **variant** (copy_button): `ghost` (default) — Inside fields and wells (default); `quiet` — Secondary text until hovered: under a response, beside its metrics; `secondary` — On its own
560
560
  - **size** (copy_button): `xs` — 24px circle: inside rows and chips; `sm` (default) — 32px circle: toolbars and headers (default); `md` — 36px circle: beside md controls; `lg` — 40px circle; `xl` — 48px circle
561
561
 
@@ -579,12 +579,12 @@ Copies a value, with a check and "Copied" for 1.2s: a circle (the default), a re
579
579
 
580
580
  `import { Announcement, CellInset, Dashboard, DashboardCell, Legend, MetricTabs, ModelCard, RankList, Readout } from "@logicplanes/kaeso-ui/dashboard";`
581
581
 
582
- - **surface** (dashboard): `grid` (default) — Cells on one surface, split by hairlines like a StatGroup (default)
583
- - **size** (readout): `md` (default) — 28/32: the cell's main number (default); `sm` — 20/28: a number beside another, under a small label
582
+ - **surface** (dashboard): `grid` (default) — Cells on one raised surface with 6px corners, split by hairlines (default)
583
+ - **size** (readout): `md` (default) — 28/32 medium and tight: the cell's main number (default); `sm` — 20/26 medium: a number beside another, under a small label
584
584
 
585
585
  ### Announcement
586
586
 
587
- One piece of news across the top of a home page: an eyebrow, a title, a line and an action beside its artwork, such as a new release with a flush `ReleaseArt`. The artwork leaves on narrow screens.
587
+ One piece of news across the top of a home page: a title set large and tight, what kind of news it is under it (never above it: no eyebrows), a line and an action beside its artwork, such as a new release with a flush `ReleaseArt`. The artwork leaves on narrow screens.
588
588
 
589
589
  | Prop | Type | Default | Description |
590
590
  |---|---|---|---|
@@ -593,7 +593,7 @@ One piece of news across the top of a home page: an eyebrow, a title, a line and
593
593
  | `art` | `ReactNode` | | The artwork on the right, 16:9 at 320px: a `ReleaseArt` with `flush`, so the whole cover shows. |
594
594
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
595
595
  | `description` | `ReactNode` | | One line, two at most. |
596
- | `eyebrow` | `ReactNode` | | What kind of news: "New release". |
596
+ | `eyebrow` | `ReactNode` | | What kind of news: "New release". It stands under the title as a small label, never above it. |
597
597
 
598
598
  ### CellInset
599
599
 
@@ -606,7 +606,7 @@ Places a chart, a meter or a note on the cell's text edge, 12px in from where ro
606
606
 
607
607
  ### Dashboard
608
608
 
609
- An overview page's numbers, charts and lists on one raised surface split by hairlines, the way a `StatGroup` splits its tiles. As many columns from 1024px as `columns` says (twelve by default), one below it; each `DashboardCell` takes its span through `className` (`lg:col-span-2`). Put `MetricTabs` first, so the totals lead and pick what the chart beneath them shows.
609
+ An overview page's numbers, charts and lists on one raised surface split by hairlines, its numbers set medium, tight and tabular. As many columns from 1024px as `columns` says (twelve by default), one below it; each `DashboardCell` takes its span through `className` (`lg:col-span-2`). Put `MetricTabs` first, so the totals lead and pick what the chart beneath them shows.
610
610
 
611
611
  | Prop | Type | Default | Description |
612
612
  |---|---|---|---|
@@ -679,7 +679,7 @@ The top rows of a breakdown, largest first: the label, the share and the number
679
679
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
680
680
  | `empty` | `ReactNode` | | What an empty list says: "Nothing in this period". |
681
681
  | `loading` | `boolean` | | While the rows load: `rows` lines of their shape. |
682
- | `onOpen` | `((id: string) => void)` | | Called with a row's id when it is chosen; without it, rows are plain text. |
682
+ | `onOpen` | `((id: string) => void)` | | Called with a row's id when it is chosen; without it, rows are plain text. Rows that open something grow to 44px on a touch screen. |
683
683
  | `rows` | `number` | `5` | How many lines the loading state shows. |
684
684
 
685
685
  ### Readout
@@ -704,7 +704,7 @@ A cell's number on its text edge: the value and an optional unit word, then a li
704
704
 
705
705
  ### DataTable
706
706
 
707
- A table for many rows: sorting, selection, loading and empty states, more rows on demand, and virtual scrolling for long lists. One tab stop: the arrows move between rows and header buttons, Right reaches a row's controls, Shift with Left or Right resizes a column from its header, and a header's context menu widens, narrows or resets it.
707
+ A table for many rows: sorting, selection, loading and empty states, more rows on demand, and virtual scrolling for long lists. Its head stands on a rule in the strong line colour and every row a hairline at its foot, the same length; a row's hover and selected fill is square and sits under that hairline. One tab stop: the arrows move between rows and header buttons, Right reaches a row's controls, Shift with Left or Right resizes a column from its header, and a header's context menu widens, narrows or resets it.
708
708
 
709
709
  | Prop | Type | Default | Description |
710
710
  |---|---|---|---|
@@ -856,7 +856,7 @@ Confirms an irreversible action: names it, explains the consequence, optionally
856
856
 
857
857
  ### Dialog
858
858
 
859
- A modal dialog: 440 / 560 / 720, radius 20, title, description, body, actions. Enter in a single-line field and ⌘/Ctrl+Enter anywhere submit; Enter in a text area adds a line. It stays centered (or, with `anchor="top"`, keeps its top edge) while its content changes, growing or shrinking 200ms from the size it has; the body scrolls between the header and the footer when the content is taller than the screen. Its content unmounts once it has closed; state kept beside it, like a field, a step or a secret, goes in a component inside a DialogScope.
859
+ A modal dialog: 440 / 560 / 720, radius 14, its title alone at the top, one sentence under it, the body, and the actions at the end edge. Enter in a single-line field and ⌘/Ctrl+Enter anywhere submit; Enter in a text area adds a line. It stays centered (or, with `anchor="top"`, keeps its top edge) while its content changes, growing or shrinking 200ms from the size it has; the body scrolls between the header and the footer when the content is taller than the screen, with a hairline under the header once it scrolls and over the footer while content is below. Its content unmounts once it has closed; state kept beside it, like a field, a step or a secret, goes in a component inside a DialogScope.
860
860
 
861
861
  | Prop | Type | Default | Description |
862
862
  |---|---|---|---|
@@ -955,11 +955,11 @@ Display options: view, grouping and ordering, toggles, properties.
955
955
 
956
956
  `import { Empty } from "@logicplanes/kaeso-ui/empty";`
957
957
 
958
- - **size** (empty): `lg` (default) — Centered in a panel (default); `md` — Inside a section; `compact` — Inside tables and lists
958
+ - **size** (empty): `lg` (default) — A page with nothing in it: hung from the page's gutter (default); `md` — Inside a section: hung from the section's gutter; `compact` — Inside tables and lists: one line, centered in the row
959
959
 
960
960
  ### Empty
961
961
 
962
- An empty state: a title, one sentence, one action. No icon, no illustration. The `lg` title is a heading (h2) for a page that is empty; `md` and `compact` titles are text, so an empty table, list or section adds no heading to the page's outline.
962
+ An empty state: a strong title, one sentence, one action. No icon, no illustration. On a page (`lg`) and in a section (`md`) it hangs from the gutter the page's title and rows start on, its title in the empty-state size (`text-title`); in a table or list row (`compact`) it is one short statement, centered. On an edge-to-edge page body it keeps the 24px gutter itself; on a padded surface it uses the surface's padding; inside a card it keeps 20px off the card's edges, like the card's rows. The title is a heading (h2) at every size.
963
963
 
964
964
  | Prop | Type | Default | Description |
965
965
  |---|---|---|---|
@@ -991,7 +991,7 @@ The aria wiring a control needs, whether it sits in a <Field> or wraps itself in
991
991
 
992
992
  ### Fieldset
993
993
 
994
- A group of fields under one legend, which names the group for screen readers.
994
+ A group of fields under one legend, which names the group for screen readers. The legend and its description are set as a section head, with a hairline under them.
995
995
 
996
996
  | Prop | Type | Default | Description |
997
997
  |---|---|---|---|
@@ -1002,20 +1002,20 @@ A group of fields under one legend, which names the group for screen readers.
1002
1002
 
1003
1003
  `import { Figure } from "@logicplanes/kaeso-ui/figure";`
1004
1004
 
1005
- - **surface** (figure): `well` (default) — A well like a code block's: radius 14, fill, no ring (default); `plain` — No surface, for a figure that brings its own
1005
+ - **surface** (figure): `well` (default) — A flat plate like a code block's: cut corners, fill, no ring, the caption at its foot (default); `plain` — No surface, for a figure that brings its own
1006
1006
 
1007
1007
  ### Figure
1008
1008
 
1009
- A diagram or image set apart from the text: centred on a well, with a caption, scrolling sideways only when it can't shrink to fit.
1009
+ A diagram or image set apart from the text: centred on a flat plate, its caption hung from the plate's left edge under a hairline at its foot, scrolling sideways only when it can't shrink to fit.
1010
1010
 
1011
1011
  | Prop | Type | Default | Description |
1012
1012
  |---|---|---|---|
1013
1013
  | `children` * | `ReactNode` | | What the figure shows, usually a ThemeImage. |
1014
1014
  | `label` * | `string` | | The name of the figure's scrolling region, read by screen readers; give each figure on a page its own. |
1015
- | `caption` | `ReactNode` | | A few words under the figure that say what it shows, such as a diagram's title. |
1015
+ | `caption` | `ReactNode` | | A few words at the figure's foot that say what it shows, such as a diagram's title. |
1016
1016
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1017
1017
  | `focus` | `number` | `0.5` | Where a figure wider than its column starts, as a share of its width: 0.5, the middle, by default. |
1018
- | `surface` | `"well" \| "plain"` | `well` | The figure's background: a well like a code block's, or none. |
1018
+ | `surface` | `"well" \| "plain"` | `well` | The figure's background: a flat plate like a code block's, or none, with the caption under a hairline. |
1019
1019
 
1020
1020
  ## filter-chip
1021
1021
 
@@ -1035,6 +1035,7 @@ A filter as one pill: "Status is 2xx ×", each part opening a menu.
1035
1035
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1036
1036
  | `data-force` | `string` | | Forces an interaction state for state matrices: `hover`, `pressed`, `focus`, `open`. |
1037
1037
  | `defaultValuesOpen` | `boolean` | | Open the value menu when the chip appears: a filter just added asks for its value at once. |
1038
+ | `freeText` | `((text: string) => ReactNode)` | | Lets what someone types in the search field be the value, for a filter no list can hold, such as text an error message contains: the label of the item that takes it. Enter takes it too. |
1038
1039
  | `groups` | `CommandListGroup[]` | | Choices as ready-made searchable list groups, in place of `values`: rows with marks and details and headings with logos, such as `useModelGroups` or `useProviderGroups` build. |
1039
1040
  | `multiple` | `boolean` | | Several values may be chosen. |
1040
1041
  | `onOperatorChange` | `((operator: string) => void)` | | Called with the chosen comparison. |
@@ -1056,7 +1057,7 @@ A filter as one pill: "Status is 2xx ×", each part opening a menu.
1056
1057
 
1057
1058
  ### FilterRow
1058
1059
 
1059
- The row between a page's header and its list or table: pill tabs at the start, filters at the end. It grows with its content instead of keeping a toolbar's 48px, and on a narrow screen the filters wrap under the tabs, at the start. The tabs keep their own arrow keys; Left and Right move from filter to filter, which form their own toolbar.
1060
+ The row between a page's header and its list or table: pill tabs at the start, filters at the end. It grows with its content instead of keeping a toolbar's 48px, and on a narrow screen the filters wrap under the tabs, at the start, and take the whole line, so a search can fill what the other filters leave. The tabs keep their own arrow keys; Left and Right move from filter to filter, which form their own toolbar.
1060
1061
 
1061
1062
  | Prop | Type | Default | Description |
1062
1063
  |---|---|---|---|
@@ -1069,7 +1070,7 @@ The row between a page's header and its list or table: pill tabs at the start, f
1069
1070
 
1070
1071
  `import { Flow } from "@logicplanes/kaeso-ui/flow";`
1071
1072
 
1072
- - **node** (flow): `pill` (default) — A pill with a hairline (default); `box` — A rounded-14 box with a description line
1073
+ - **node** (flow): `pill` (default) — A pill with a hairline (default); `box` — A cut plate (radius 6) with a description line
1073
1074
 
1074
1075
  ### Flow
1075
1076
 
@@ -1093,7 +1094,7 @@ A node-and-connector diagram: the route "app → Kaeso → provider / model". A
1093
1094
 
1094
1095
  ### FlowCanvas
1095
1096
 
1096
- An editable route drawn as a tree, top down: the start, then each step with its branches side by side under it, and a model's fallback straight under the model on a dashed line, so a chain reads top down in the order its models are tried and a route stays as narrow as its widest row of steps. The layout is computed, never measured, so it is the same at every zoom. Drag the background or scroll to pan; ⌘ or Ctrl with the wheel, a pinch or the buttons at the bottom left zoom between 25% and 150%; it fits itself once, on first render, never below 67% so every step stays readable, and then keeps the view when the route changes. The steps are one tree for the keyboard and screen readers.
1097
+ An editable route drawn as a tree, top down: the start, then each step with its branches side by side under it, and a model's fallback straight under the model on a dashed line, so a chain reads top down in the order its models are tried and a route stays as narrow as its widest row of steps. The layout is computed, never measured, so it is the same at every zoom. Drag the background or scroll to pan; ⌘ or Ctrl with the wheel, a pinch or the buttons at the bottom left zoom between 25% and 150%; it fits itself on first render, never below 67% so every step stays readable, fits again whenever the canvas changes size until the person pans or zooms, and keeps the view when the route changes. The steps are one tree for the keyboard and screen readers.
1097
1098
 
1098
1099
  | Prop | Type | Default | Description |
1099
1100
  |---|---|---|---|
@@ -1135,7 +1136,7 @@ One inspector section on the 24px gutter: a title with actions beside it, a line
1135
1136
 
1136
1137
  `import { Heading } from "@logicplanes/kaeso-ui/heading";`
1137
1138
 
1138
- - **size** (heading): `title-sm` (default) — 17/24: section, dialog and sheet titles; `title` — 20/28: empty states, compact page titles; `title-lg` — 28/34: settings page titles, auth screens; `display` — 40/44: showcase headings, the setup screen
1139
+ - **size** (heading): `title-sm` (default) — 17/24, -0.014em: section, dialog and sheet titles; `title` — 20/26, -0.022em: empty states, compact page titles; `title-lg` — 28/32, -0.032em: settings page titles, auth screens; `display` — 40/42, -0.042em: showcase headings, the setup screen
1139
1140
 
1140
1141
  ### Heading
1141
1142
 
@@ -1338,7 +1339,7 @@ What someone can do, at a glance: a row per group with the granted rights in wor
1338
1339
 
1339
1340
  ### GrantSummary
1340
1341
 
1341
- What an agent or a key may do, one short line each after a check mark, on a group surface with 20px inside, like a settings group.
1342
+ What an agent or a key may do, one short line each after a check mark, on a flat cut plate with 20px inside, the note under a hairline.
1342
1343
 
1343
1344
  | Prop | Type | Default | Description |
1344
1345
  |---|---|---|---|
@@ -1496,12 +1497,13 @@ The one-time secret: calm, centered, certain. The secret on a well (selected on
1496
1497
 
1497
1498
  ### StatusCode
1498
1499
 
1499
- An HTTP status: the code in mono, in its class color (with its phrase in a tooltip).
1500
+ An HTTP status: the code in mono, in its class color. Without `showText`, its phrase is in a tooltip that hover and keyboard focus open, with a focus ring.
1500
1501
 
1501
1502
  | Prop | Type | Default | Description |
1502
1503
  |---|---|---|---|
1503
1504
  | `code` * | `number` | | The HTTP status code. |
1504
1505
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1506
+ | `data-force` | `string` | | Forces an interaction state for state matrices: `hover`, `pressed`, `focus`, `open`. |
1505
1507
  | `showText` | `boolean` | | Writes the status's name next to its code. |
1506
1508
 
1507
1509
  ### UsageBreakdown
@@ -1533,12 +1535,12 @@ A key cap, 20px tall in 11/500 Inter with a fill and ring, or with `keys` a whol
1533
1535
 
1534
1536
  `import { KeyValue } from "@logicplanes/kaeso-ui/key-value";`
1535
1537
 
1536
- - **layout** (key_value): `columns` (default) — Label and value side by side (default); `stacked` — Label above value, for narrow sheets; `grid` — Label above value, in columns: a wide sheet's details, two or more to a row
1538
+ - **layout** (key_value): `columns` (default) — Label and value side by side, each pair a row with a hairline at its foot (default); `stacked` — Label above value, each pair over a hairline, for narrow sheets; `grid` — Label above value, in columns, each pair over its own hairline: a wide sheet's details, two or more to a row
1537
1539
  - **columns** (key_value): `2` (default) — Two to a row from 480px; one below (default); `3` — Three to a row from 480px; two below; `4` — Four to a row from 480px, for short values (counts, sizes); two below
1538
1540
 
1539
1541
  ### KeyValue
1540
1542
 
1541
- Label and value pairs (13 secondary label, 14 value), copyable values. Side by side for sheets; label above value in columns (`grid`) where a sheet is wide enough for two or more to a row. A value or grid label that doesn't fit ends in an ellipsis, takes focus and shows whole in a tooltip. Side by side, the label column grows to its longest label up to 240px, and longer labels wrap. Ids and keys (`mono`) are 13px, like ids everywhere in the library.
1543
+ Label and value pairs (13/500 secondary label, 14 value), copyable values, each pair a row with a hairline at its foot; values line up on one edge. Side by side for sheets; label above value in columns (`grid`) where a sheet is wide enough for two or more to a row. A value or grid label that doesn't fit ends in an ellipsis, takes focus and shows whole in a tooltip. A value that wraps (`wrap`) keeps its line breaks. Side by side, the label column grows to its longest label up to 240px, and longer labels wrap; a label and its value share their first line's baseline, however many lines either takes. Ids and keys (`mono`) are 13px, like ids everywhere in the library.
1542
1544
 
1543
1545
  | Prop | Type | Default | Description |
1544
1546
  |---|---|---|---|
@@ -1551,7 +1553,7 @@ Label and value pairs (13 secondary label, 14 value), copyable values. Side by s
1551
1553
 
1552
1554
  `import { Link } from "@logicplanes/kaeso-ui/link";`
1553
1555
 
1554
- - **variant** (link): `inline` (default) — Inside prose: text color with a grey underline that turns to the text color on hover; `quiet` — Navigation-style links in footers and metadata; no underline until hover; `standalone` — A link on its own line (“Team overview ›”); `heading` — A heading's link to itself: the heading's own look, with a # beside it on hover and keyboard focus; `card` — A page to read next: a filled well with the page's name and one sentence about it
1556
+ - **variant** (link): `inline` (default) — Inside prose: text color with a grey underline that turns to the text color on hover; `action` — Under a form, on its own line or ending its sentence (“Forgot your password?”): inline's underline, with a touch target a finger can hit; `quiet` — Navigation-style links in footers and metadata; no underline until hover; `standalone` — A link on its own line (“Team overview ›”): full text that steps back to 60% on hover; `heading` — A heading's link to itself: the heading's own look, with a # beside it on hover and keyboard focus; `card` — A page to read next: a flat cut plate with the page's name in medium weight and one sentence about it in secondary text; a hairline rings it on hover
1555
1557
 
1556
1558
  ### Link
1557
1559
 
@@ -1562,7 +1564,7 @@ A link. Router links come from `LinkProvider`.
1562
1564
  | `children` * | `ReactNode` | | The link's text. |
1563
1565
  | `href` * | `string` | | The address the link goes to. |
1564
1566
  | `external` | `boolean` | | Opens in a new tab, adds rel and a 14px ↗. Detected from the href when not set. |
1565
- | `variant` | `"heading" \| "inline" \| "quiet" \| "card" \| "standalone"` | `inline` | Underlined in text (`inline`), quiet in lists (`quiet`), on its own line with an arrow (`standalone`), inside a heading that links to itself (`heading`), or as a page to read next with its name and a sentence (`card`). |
1567
+ | `variant` | `"heading" \| "inline" \| "quiet" \| "card" \| "action" \| "standalone"` | `inline` | Underlined in text (`inline`) or on a line of its own under a form, with a touch target a finger can hit (`action`), secondary until hovered in footers and lists (`quiet`), on its own line in full text that steps back on hover (`standalone`), inside a heading that links to itself (`heading`), or as a page to read next on a cut plate, its name strong and a sentence under it (`card`). |
1566
1568
 
1567
1569
  ## list
1568
1570
 
@@ -1572,7 +1574,7 @@ A link. Router links come from `LinkProvider`.
1572
1574
 
1573
1575
  ### List
1574
1576
 
1575
- The console list: 44px rows on the panel (48px in a card, 56px with a second line), no lines, metadata on the right, keyboard-first. An ARIA grid of one-cell rows with one tab stop: arrows move between rows, Space selects, Enter opens, the right arrow reaches a row's actions and Escape comes back. A row's text can be selected and copied; a click that selects text doesn't open the row.
1577
+ The console list: 44px rows on the panel (48px in a card, 56px with a second line), each with a hairline at its foot from gutter to gutter as kaeso.app lists its rows and a square fill under it on hover and selection, metadata on the right, keyboard-first. On a phone the metadata moves to a line under the title and the row's actions and avatar stay at the title's end. An ARIA grid of one-cell rows with one tab stop: arrows move between rows, Space selects, Enter opens, the right arrow reaches a row's actions and Escape comes back. A row's text can be selected and copied; a click that selects text doesn't open the row.
1576
1578
 
1577
1579
  | Prop | Type | Default | Description |
1578
1580
  |---|---|---|---|
@@ -1662,7 +1664,7 @@ Kaeso's spinner: three routes on a ring, the lead in full color and the two behi
1662
1664
 
1663
1665
  ### Markdown
1664
1666
 
1665
- Markdown, safely: headings, paragraphs, lists, tasks, code fences (CodeBlock), inline code, emphasis, links, quotes, rules and tables. Raw HTML stays text, links open only for http, https and mailto in a new tab, images are links. Long texts show their start until "Show all". A table wider than its column scrolls sideways with a fade and takes focus.
1667
+ Markdown, safely: headings, paragraphs, lists, tasks, code fences (CodeBlock), inline code, emphasis, links, quotes, rules and tables. Raw HTML stays text, links open only for http, https and mailto in a new tab, images are links. Headings take twice the room above them as below, a top-level heading stands on a strong hairline, bullets are short rules and quotes stand behind a 2px rule. Long texts show their start until "Show all". A table wider than its column scrolls sideways with a fade and takes focus.
1666
1668
 
1667
1669
  | Prop | Type | Default | Description |
1668
1670
  |---|---|---|---|
@@ -1695,27 +1697,27 @@ The same menu, opened by a right click, a long press or the context-menu key on
1695
1697
 
1696
1698
  ### Menu
1697
1699
 
1698
- A dropdown menu: 16px radius, 34px rows that grow when a label wraps, typeahead, Home/End, loops. An item's shortcut and hint describe it rather than name it. Checkbox and radio items show a check when chosen; the group's label says whether it takes one or several.
1700
+ A dropdown menu: a 10px plate with 4px rows inset 6px, 34px rows that grow when a label wraps, hairlines between groups that run edge to edge, labels on one column (an item without an icon lines up with those that have one), typeahead, Home/End, loops. An item's shortcut and hint describe it rather than name it. Checkbox and radio items show a check when chosen; the group's label says whether it takes one or several.
1699
1701
 
1700
1702
  | Prop | Type | Default | Description |
1701
1703
  |---|---|---|---|
1702
1704
  | `children` * | `ReactNode` | | The trigger and the menu's content. |
1703
1705
  | `defaultOpen` | `boolean` | | Whether it starts open, when the component keeps its own state. |
1704
1706
  | `modal` | `boolean` | | Blocks the rest of the page while the menu is open. |
1705
- | `onOpenChange` | `((open: boolean) => void)` | | Called when it opens or closes. |
1707
+ | `onOpenChange` | `((open: boolean, reason?: string) => void)` | | Called when it opens or closes, with why: `item-press` when a chosen item closed it, `escape-key`, `outside-press` or `trigger-press` otherwise. |
1706
1708
  | `open` | `boolean` | | Whether it is open, when you control it. |
1707
1709
 
1708
1710
  ## meter
1709
1711
 
1710
1712
  `import { Meter, Progress } from "@logicplanes/kaeso-ui/meter";`
1711
1713
 
1712
- - **tone** (meter): `auto` (default) — Series 1 until the first alert threshold, amber (series 2) after, danger at 100%; the value and the caption take the warning or danger color too (default); `neutral` — A plain share
1713
- - **shape** (meter): `bar` (default) — A 6px pill bar under its label and value (default); `gauge` — A 180px half circle with the value in its middle, for one number a page is about
1714
- - **kind** (progress): `determinate` (default) — A pill bar with a known amount; `indeterminate` — A 2px line at the top of a container
1714
+ - **tone** (meter): `auto` (default) — Series 1 until the first alert threshold, amber (series 2) after, danger at 100%; the bar alone carries the color, and the value and the caption step up to the text color (default); `neutral` — A plain share
1715
+ - **shape** (meter): `bar` (default) — A 6px bar under its label and value, cut square like a plate (default); `gauge` — A 180px half circle with the value in its middle, for one number a page is about
1716
+ - **kind** (progress): `determinate` (default) — A 6px bar with a known amount, cut square like a plate; `indeterminate` — A 2px line at the top of a container
1715
1717
 
1716
1718
  ### Meter
1717
1719
 
1718
- A limit or quota: label and value, a 6px pill track, threshold ticks cut out of the bar, a caption. Past the first threshold the bar turns amber and the value and caption turn the warning color, at the limit red, and screen readers hear "near the limit" or "over the limit" after the value; in light the bar's end keeps 3:1 against the track. With `shape="gauge"` it is a half circle with the value in its middle, for the one number a page is about.
1720
+ A limit or quota: label and value, a 6px track cut square like a plate, threshold ticks cut out of the bar, a caption. Past the first threshold the bar turns amber and the value and caption step up from the secondary to the text color, at the limit the bar turns red; the bar alone carries the color, and screen readers hear "near the limit" or "over the limit" after the value; in light the bar's end keeps 3:1 against the track. With `shape="gauge"` it is a half circle with the value in its middle, for the one number a page is about.
1719
1721
 
1720
1722
  | Prop | Type | Default | Description |
1721
1723
  |---|---|---|---|
@@ -1725,15 +1727,16 @@ A limit or quota: label and value, a 6px pill track, threshold ticks cut out of
1725
1727
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1726
1728
  | `label` | `ReactNode` | | The label above the bar, or the caption under a gauge's arc. |
1727
1729
  | `leading` | `ReactNode` | | Leading content in the label row (an icon). |
1728
- | `shape` | `"bar" \| "gauge"` | `bar` | A pill bar (`bar`), or a half circle (`gauge`) that says near or over the limit in its middle. |
1730
+ | `shape` | `"bar" \| "gauge"` | `bar` | A bar (`bar`), or a half circle with square ends (`gauge`) with the number in its middle and, under its caption, near or over the limit. |
1729
1731
  | `thresholds` | `number[]` | | Alert thresholds as ratios, drawn as ticks: [0.5, 0.8]. A gauge marks 0.8 when none are given. |
1730
1732
  | `tone` | `"neutral" \| "auto"` | `auto` | Colors the bar by how full it is (`auto`) or keeps it neutral. |
1731
1733
  | `trailing` | `ReactNode` | | Content at the end of the label row, such as the value. |
1732
1734
  | `valueLabel` | `ReactNode` | | "$32.10 of $50.00" |
1735
+ | `valueText` | `string` | | What screen readers hear as the value when `valueLabel` is not plain text, such as a shortened figure with the exact one in a tooltip: "10,624,184 of 100,000,000". |
1733
1736
 
1734
1737
  ### Progress
1735
1738
 
1736
- Progress for work over a second: a determinate pill, or an indeterminate 2px line. With reduced motion the indeterminate line spans the width and pulses instead of sliding, so it never reads as a third done.
1739
+ Progress for work over a second: a determinate 6px bar, or an indeterminate 2px line. With reduced motion the indeterminate line spans the width and pulses instead of sliding, so it never reads as a third done.
1737
1740
 
1738
1741
  | Prop | Type | Default | Description |
1739
1742
  |---|---|---|---|
@@ -1745,11 +1748,11 @@ Progress for work over a second: a determinate pill, or an indeterminate 2px lin
1745
1748
 
1746
1749
  `import { PageHeader } from "@logicplanes/kaeso-ui/page-header";`
1747
1750
 
1748
- - **size** (page_header): `md` (default) — 52px, no bottom line (default); on a phone the title and actions keep the first row and the tabs take a second
1751
+ - **size** (page_header): `md` (default) — 52px, the title alone at 17/600; a hairline at its foot only while the page scrolls under it (default); on a phone the actions sit beside a title that fits and under one that doesn't, wrap rather than run off the edge, and the tabs take a row of their own
1749
1752
 
1750
1753
  ### PageHeader
1751
1754
 
1752
- The 52px header of a page: its title, pill tabs, actions. On a phone the tabs move to a row of their own under the title and actions, and actions that would leave the title less than 96px move to a row of their own too, so the title isn't cut to a few letters and the tabs aren't squeezed beside a button.
1755
+ The 52px header of a page: its title, pill tabs, actions. Beside the tabs, a long title is cut short first, down to nothing if need be; only then do the tabs scroll. Whatever sits right above AppFrame.Body (this header, or a toolbar under it) shows a hairline at its foot while the content is scrolled under it, so the line separates only where something passes beneath. On a phone the tabs move to a row of their own under the title and actions, and actions that don't fit beside the whole title move to a row of their own too, wrapping onto another line when they are wider than the page, so the title isn't cut short, the tabs aren't squeezed beside a button and no action runs off the edge.
1753
1756
 
1754
1757
  | Prop | Type | Default | Description |
1755
1758
  |---|---|---|---|
@@ -1758,7 +1761,7 @@ The 52px header of a page: its title, pill tabs, actions. On a phone the tabs mo
1758
1761
  | `icon` | `IconSvgElement` | | An icon before the title. |
1759
1762
  | `start` | `ReactNode` | | Before everything: AppFrame.MenuButton, which shows while a wide screen's sidebar is collapsed (on a phone the frame's phone bar opens the navigation). |
1760
1763
  | `tabs` | `ReactNode` | | Pill tabs after the title. |
1761
- | `title` | `ReactNode` | | The page's title (15/600). |
1764
+ | `title` | `ReactNode` | | The page's title (17/600), alone: no label above it. |
1762
1765
 
1763
1766
  ## pagination
1764
1767
 
@@ -1786,14 +1789,18 @@ Moves through long lists by pages, by cursor, or with a Load more button.
1786
1789
 
1787
1790
  ## playground
1788
1791
 
1789
- `import { Attachments, CompareGrid, Composer, MediaResponse, ModelPicker, ParameterPanel, Reasoning, ResponseMetrics, ResponseView, Thread, UserMessage } from "@logicplanes/kaeso-ui/playground";`
1792
+ `import { Attachments, CompareGrid, Composer, DecisionQuestions, DecisionResponse, MediaResponse, ModelPicker, ParameterPanel, ProbabilityBar, QuestionEditor, Reasoning, ResponseMetrics, ResponseView, Thread, UserMessage } from "@logicplanes/kaeso-ui/playground";`
1790
1793
 
1791
1794
  - **align** (attachments): `start` (default) — At the start of the line: in the composer, above the prompt (default); `end` — At the end of the line: above a sent prompt's bubble
1792
1795
  - **divider** (compare_grid): `hairline` (default) — Columns separated by a hairline, edge to edge (default); `none` — No line between columns: columns that sit in panels of their own
1793
1796
  - **size** (composer): `md` (default) — Text 14/20 starting two lines tall, 8px around the buttons; the outline concentric with them (16 + 8) (default); `sm` — The same box starting one line tall: a chat's prompt box, a follow-up field under a thread
1797
+ - **layout** (decision_questions): `list` (default) — Each question with its type, instructions and what its answers mean, a hairline between questions (default)
1798
+ - **status** (decision_response): `pending` — Sent, no answers yet: every question's row is drawn with quiet placeholders of the height its answer will take; `done` (default) — Answered: each question's answer, its probabilities and the confidence; a refusal in its own row (default); `error` — Failed: the error in place of the answers, and Retry
1794
1799
  - **kind** (media_response): `image` (default) — Images in a grid of squares, two across, each with Download (default); `audio` — One audio player a row tall, with Download; `video` — A 16:9 video player; while the job runs, its progress and Cancel
1795
1800
  - **appearance** (model_picker): `ghost` (default) — Transparent until hovered: a column header (default); `default` — A pill with a text input's ring: a form or toolbar
1796
1801
  - **layout** (parameter_panel): `popover` (default) — Inside a 320px popover, as with a `trigger` (default); `panel` — A side panel or sheet: a little more room between groups
1802
+ - **layout** (probability_bar): `inline` (default) — The label, a 6px bar and the value on one line, so a list of options lines up (default); `stacked` — The label and the value above a full-width bar, for one probability alone; `row` — One row of a `grid-cols-meter` grid: labels, bars and values line up in columns as wide as the longest label and value
1803
+ - **layout** (question_editor): `panel` (default) — Questions 24px apart, in a side panel or a sheet (default); `compact` — Questions 16px apart, inside a popover or a narrow column
1797
1804
  - **state** (reasoning): `done` (default) — Finished: “Thought for 4.2 s”, closed until opened (default); `live` — Still reasoning: “Thinking” pulses quietly and the latest line shows beside it
1798
1805
  - **size** (response_metrics): `sm` (default) — 12/16: a column footer or under a turn (default); `md` — 13/18: a response on its own
1799
1806
  - **status** (response_view): `pending` — Sent, nothing back yet: an empty line where the text will start, nothing drawn; `streaming` — Arriving: the text grows, earlier lines never re-wrap; Thinking is live; `done` (default) — Complete (default); `stopped` — Stopped by the person: the text so far and “Stopped”; `incomplete` — Cut off by the model: the text so far and why, such as “Stopped at the output limit”; `error` — Failed: the error in place of the response, and Retry
@@ -1859,6 +1866,35 @@ The prompt box: a text box that grows with what is written up to `maxRows`, then
1859
1866
  | `submitOn` | `"enter" \| "mod-enter"` | `enter` | The key that sends from the text box. `"enter"` (default): Enter sends and Shift Enter adds a line; on a touch screen Enter adds a line and the Send button sends. `"mod-enter"`: Enter adds a line and only ⌘ Enter (Ctrl Enter) sends. ⌘ Enter and Ctrl Enter send with either. |
1860
1867
  | `value` | `string` | | The message being written, when you control it. |
1861
1868
 
1869
+ ### DecisionQuestions
1870
+
1871
+ The questions a decision model was asked, read only, in the order the app sent them: each with its name, type and instructions, then what its answers mean: what yes and no mean, each option's value and description, or each level's number, label and description. A hairline sits between questions; a question without instructions or an option without a description says so.
1872
+
1873
+ | Prop | Type | Default | Description |
1874
+ |---|---|---|---|
1875
+ | `questions` * | `readonly DecisionQuestion[]` | | The questions as they were sent: kind, name, instructions, and what yes and no, the options or the levels mean. |
1876
+ | `aria-label` | `string` | | The list's accessible name ("Questions" by default, in the provider's language). |
1877
+ | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1878
+ | `layout` | `"list"` | `list` | The list of questions, a hairline between them. |
1879
+
1880
+ ### DecisionResponse
1881
+
1882
+ A decision model's answers, one row per question in the order asked, a hairline between rows: its name, type and the confidence when the provider gives one, the instructions when asked for, then a probability bar for every option or level with the answer's bar marked, and a score's value on its scale. Labels, bars and values line up in columns. A box question draws its box on the image and gives its edges as numbers. While the answers are on their way every row holds its room with quiet placeholders, so nothing moves when they arrive; a missing answer reads “No answer”, a refused question says so in its row, and a failure shows its error in place of the answers.
1883
+
1884
+ | Prop | Type | Default | Description |
1885
+ |---|---|---|---|
1886
+ | `questions` * | `readonly DecisionQuestion[]` | | The questions as they were sent: kind, name, and the options or levels whose labels name the bars. |
1887
+ | `answers` | `readonly (DecisionAnswer \| null)[]` | `[]` | The answers in question order: a yes probability, a chosen option index with a probability per option, a score with a probability per level, a box's four edges from 0 to 1, or a refusal with its reason. A probability left out reads “Not given”; a missing answer reads “No answer”. |
1888
+ | `aria-label` | `string` | | The response's accessible name ("GPT-6 Luna response" in a comparison). Defaults to "Response" in the provider's language. |
1889
+ | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1890
+ | `error` | `string` | | Why the call failed, shown under "No answers" with status "error". |
1891
+ | `footer` | `ReactNode` | | Under the answers, after Retry: the call's metrics. |
1892
+ | `image` | `DecisionImage` | | The image a box question was asked about: the box is drawn on it, and its edges stay as numbers under it. |
1893
+ | `maxBars` | `number` | `8` | Bars shown per question before “Show all” (8 by default): the most likely ones and the answer's, in their order, so a choice of 200 options stays short. |
1894
+ | `onRetry` | `(() => void)` | | Sends the call again: a Retry button after a failure, and a quiet Retry circle under the answers. |
1895
+ | `showInstructions` | `boolean` | `false` | Shows each question's instructions under its name, where the questions aren't on screen beside the answers, as in a request log. |
1896
+ | `status` | `"done" \| "error" \| "pending"` | `done` | Where the call stands: waiting for answers, answered, or failed. |
1897
+
1862
1898
  ### MediaResponse
1863
1899
 
1864
1900
  What an image, speech, sound or video model made, in the place a text response takes: images in a grid of squares, audio in a player a row tall, a video in a 16:9 player, each with Download. While it is made, quiet placeholders of the same size hold the room; a video job shows its progress, the seconds it has taken and Cancel. A stop or a failure reads as in ResponseView.
@@ -1939,6 +1975,37 @@ A request's parameters: system instructions, temperature, top P, maximum output
1939
1975
  | `trigger` | `ReactElement<unknown, string \| JSXElementConstructor<any>>` | | The button that opens the parameters in a popover; without one, the parameters sit in the page. |
1940
1976
  | `voices` | `boolean \| readonly string[]` | `false` | A speech model's voices to choose from, or true for a field that takes any voice name or id. |
1941
1977
 
1978
+ ### ProbabilityBar
1979
+
1980
+ One probability as a 6px bar beside its label and its value in whole percents, with “<1%” and “>99%” where rounding would mislead. The chosen option's bar takes the data colour and its label and value take medium weight, so it doesn't rely on colour. A probability the provider left out reads “Not given” over an empty track. The bar grows only without reduced motion.
1981
+
1982
+ | Prop | Type | Default | Description |
1983
+ |---|---|---|---|
1984
+ | `aria-label` | `string` | | The meter's accessible name, when the label isn't plain text. |
1985
+ | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1986
+ | `highlight` | `boolean` | `false` | Marks the bar as the answer: the data colour, medium-weight text, and “chosen” after its value for screen readers. |
1987
+ | `label` | `ReactNode` | | What the probability is of: an option, a level, Yes or No. |
1988
+ | `layout` | `"row" \| "inline" \| "stacked"` | `inline` | Label, bar and value on one line, the label and value above the bar, or one row of a `grid-cols-meter` grid so a list's bars line up. |
1989
+ | `pending` | `boolean` | `false` | The value is on its way: the track pulses quietly and screen readers skip it. |
1990
+ | `value` | `number \| null` | | The probability from 0 to 1; null or absent when the provider left it out. |
1991
+
1992
+ ### QuestionEditor
1993
+
1994
+ Typed questions for a decision model: each with a type (Yes/no, Choice, Score, and Box when the model draws boxes), a name, instructions, and what its answers mean: what yes and no mean, each option's value and description, each level's label and description from level 0 up. Add and remove questions, options and levels with buttons; Enter in an option or a level adds the next one below it, and focus follows every addition and removal.
1995
+
1996
+ | Prop | Type | Default | Description |
1997
+ |---|---|---|---|
1998
+ | `onValueChange` * | `(next: DecisionQuestion[]) => void` | | Called with the changed questions. A question added here has an `id`; empty optional text is left out. |
1999
+ | `value` * | `readonly DecisionQuestion[]` | | The questions, in order. Give each an `id` so its fields keep their place when one above it is removed. |
2000
+ | `allowBox` | `boolean` | `false` | Offers the Box type, for a model that answers with a box on an image. |
2001
+ | `aria-label` | `string` | | The group's accessible name ("Questions" by default). |
2002
+ | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
2003
+ | `disabled` | `boolean` | `false` | Turns off every field and button. |
2004
+ | `layout` | `"compact" \| "panel"` | `panel` | Questions 24px apart in a panel, or 16px in a narrow column. |
2005
+ | `maxLevels` | `number` | `10` | Levels a score takes at most (10 by default): Add level turns off there and says so. |
2006
+ | `maxOptions` | `number` | `255` | Options a choice takes at most (255 by default): Add option turns off there and says so. |
2007
+ | `maxQuestions` | `number` | | Questions at most; none by default. |
2008
+
1942
2009
  ### Reasoning
1943
2010
 
1944
2011
  A model's reasoning behind a quiet disclosure, closed by default: a chevron, then “Thought for 4.2 s” when it is done, or “Thinking” with the latest line beside it while it streams. Opened, the reasoning reads in small secondary text under the title, beside a line under the chevron. The Playground and the request log (ConversationView) show reasoning with it.
@@ -1967,6 +2034,7 @@ A response's numbers on one line: time to first token, total time, tokens ("412
1967
2034
  | `cost` | `string \| null` | | USD as a decimal string, shown with its own decimals (two at least, six at most): "0.004213" reads "$0.004213", "1.2311" reads "$1.2311", zero reads "$0" and less than a millionth reads "< $0.000001". |
1968
2035
  | `costKnown` | `boolean` | `true` | False when the model has no price for what it made: the cost reads "Unknown" (true by default). |
1969
2036
  | `duration` | `number \| null` | | Milliseconds from sending to the last token. |
2037
+ | `formatCost` | `((cost: string) => string)` | | Writes `cost` in place of the dollar format, such as in another currency at the day's rate. |
1970
2038
  | `inputTokens` | `number \| null` | | The tokens sent, once known. |
1971
2039
  | `live` | `boolean` | `false` | A response is arriving: Total counts up from `startedAt`, and an unknown cost isn't called Unknown yet. |
1972
2040
  | `outputTokens` | `number \| null` | | The tokens received, once known. |
@@ -2011,6 +2079,7 @@ A person's turn: their prompt in a bubble on a quiet fill at the end of the line
2011
2079
  | Prop | Type | Default | Description |
2012
2080
  |---|---|---|---|
2013
2081
  | `children` * | `ReactNode` | | The prompt as it was written: plain text, line breaks kept. |
2082
+ | `actions` | `ReactNode` | | Actions on the prompt, such as Edit, in a row under its bubble after "Show all". |
2014
2083
  | `aria-label` | `string` | | The message's accessible name. Defaults to "Prompt" in the provider's language. |
2015
2084
  | `attachments` | `readonly Attachment[]` | `[]` | The files sent with the prompt, above its bubble: images as thumbnails, other files by name. |
2016
2085
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
@@ -2020,11 +2089,11 @@ A person's turn: their prompt in a bubble on a quiet fill at the end of the line
2020
2089
 
2021
2090
  `import { Popover } from "@logicplanes/kaeso-ui/popover";`
2022
2091
 
2023
- - **padding** (popover): `form` (default) — 12px: forms and free content (default); `list` — 6px: lists of rows, concentric with 10px items; `none` — No padding: calendars and custom layouts
2092
+ - **padding** (popover): `form` (default) — 12px: forms and free content (default); `list` — 6px: lists of rows, concentric with 4px items; `none` — No padding: calendars and custom layouts
2024
2093
 
2025
2094
  ### Popover
2026
2095
 
2027
- A floating panel next to its trigger: radius 16, raised; collision-aware and never wider than the screen. Its content takes a title, or an aria-label, which names it.
2096
+ A floating panel next to its trigger: a 10px plate with a hairline and one long, quiet shadow; collision-aware and never wider than the screen. Its content takes a title, or an aria-label, which names it.
2028
2097
 
2029
2098
  | Prop | Type | Default | Description |
2030
2099
  |---|---|---|---|
@@ -2144,15 +2213,15 @@ Sign-in and setup: no chrome, a centered 400px column on the panel with the titl
2144
2213
 
2145
2214
  | Prop | Type | Default | Description |
2146
2215
  |---|---|---|---|
2147
- | `children` * | `ReactNode` | | The form. |
2148
2216
  | `title` * | `ReactNode` | | The page's heading. |
2217
+ | `children` | `ReactNode` | | The form or the page's one action; leave it out when the title and description say everything. |
2149
2218
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
2150
2219
  | `description` | `ReactNode` | | One sentence under the heading. |
2151
- | `footer` | `ReactNode` | | Content under the form, such as a link to sign up. |
2220
+ | `footer` | `ReactNode` | | Content under the form, such as a link to sign up; centered in the column, also when it wraps. |
2152
2221
 
2153
2222
  ### Section
2154
2223
 
2155
- A section of a page: a title-sm heading with optional description and actions, no frame.
2224
+ A section of a page, as kaeso.app heads one: a title-sm heading with an optional sentence under it and actions at the end of its row, standing on a 1px rule in the strong line colour. No frame: the content follows 16px under the rule. The title keeps 240px beside the actions before they wrap under it, and actions wider than the row wrap among themselves.
2156
2225
 
2157
2226
  | Prop | Type | Default | Description |
2158
2227
  |---|---|---|---|
@@ -2200,8 +2269,8 @@ Two to five mutually exclusive options: 24h/7d/30d, List/Board, providers. Optio
2200
2269
 
2201
2270
  `import { Select } from "@logicplanes/kaeso-ui/select";`
2202
2271
 
2203
- - **appearance** (select): `default` (default) — A pill with the same ring, hover and focus as a text input (default); `ghost` — Inline in settings rows: “GPT-5 mini (default) ⌄”; `header` — Transparent until hovered, in full text colour: a column header's model
2204
- - **size** (select): `sm` — 32px: settings rows and toolbars; `md` (default) — 36px (default); `lg` — 40px; `xl` — 48px: sign-in and setup forms
2272
+ - **appearance** (select): `default` (default) — A pill with the same ring, hover and focus as a text input, its value in the input's regular weight (default); `ghost` — Inline in settings rows: “GPT-5 mini (default) ⌄”; `header` — Transparent until hovered, in full text colour: a column header's model
2273
+ - **size** (select): `sm` — 32px: settings rows and toolbars; the chevron centred in the pill's end, as in every field; `md` (default) — 36px (default); `lg` — 40px; `xl` — 48px: sign-in and setup forms
2205
2274
 
2206
2275
  ### Select
2207
2276
 
@@ -2240,7 +2309,7 @@ A pill that opens a list on the menu surface: check on the selected item, groups
2240
2309
  `import { Separator } from "@logicplanes/kaeso-ui/separator";`
2241
2310
 
2242
2311
  - **orientation** (separator): `horizontal` (default) — A 1px line across; `vertical` — A 1px line down
2243
- - **tone** (separator): `subtle` (default) — Inside groups and tables (default); `default` — Between regions that tone and space cannot separate
2312
+ - **tone** (separator): `subtle` (default) — Inside groups and tables (default); `default` — Between regions that tone and space cannot separate; `strong` — A section head's rule, as kaeso.app draws it; `marker` — A list item's short hairline marker, as kaeso.app's articles draw it; `ink` — A quotation's rule: kaeso.app's blockquote stands behind a line in the text colour, 2px wide when vertical
2244
2313
 
2245
2314
  ### Separator
2246
2315
 
@@ -2250,7 +2319,7 @@ A 1px line. Use space and tone first; a line only where they cannot separate.
2250
2319
  |---|---|---|---|
2251
2320
  | `label` | `ReactNode` | | A caption in the middle of a horizontal line ("or"). |
2252
2321
  | `orientation` | `"horizontal" \| "vertical"` | `horizontal` | A horizontal or vertical line. |
2253
- | `tone` | `"default" \| "subtle"` | `subtle` | A subtle or a clearer line. |
2322
+ | `tone` | `"ink" \| "default" \| "subtle" \| "strong" \| "marker"` | `subtle` | A subtle line inside groups, a clearer one between regions, `strong` for a section head's rule, `marker` for a list item's short hairline, or `ink` in the text colour for a quotation's rule (2px wide when vertical). |
2254
2323
 
2255
2324
  ## settings
2256
2325
 
@@ -2260,7 +2329,7 @@ A 1px line. Use space and tone first; a line only where they cannot separate.
2260
2329
 
2261
2330
  ### SettingsGroup
2262
2331
 
2263
- A group of settings rows: radius 14, raised, ring and a whisper of shadow; hairlines inset to the text.
2332
+ A group of settings rows on one cut plate: raised, 6px corners and a hairline ring, no shadow. Rows are divided by hairlines across the whole plate, as the checkbox and radio cards it holds are.
2264
2333
 
2265
2334
  | Prop | Type | Default | Description |
2266
2335
  |---|---|---|---|
@@ -2270,7 +2339,7 @@ A group of settings rows: radius 14, raised, ring and a whisper of shadow; hairl
2270
2339
 
2271
2340
  ### SettingsRow
2272
2341
 
2273
- One setting: title 15/500 and description 13 on the left, the control on the right. The row is its own size container: narrower than 480px inside its padding (the `settings-row` container size, a phone), every row's control moves under its text, so the rows of a group line up the same way whatever their control's width. A ghost or quiet button that ends the control keeps its label on the row's edge, where an outlined button's ring ends; under the text it starts on the text's edge.
2342
+ One setting: title 15/500 and description 13 on the left, the control on the right. The row is its own size container: narrower than 480px inside its padding (the `settings-row` container size, a phone), every row's control moves under its text, so the rows of a group line up the same way whatever their control's width; a `Switch`, as narrow as a chevron, keeps its place at the row's end. A ghost or quiet button that ends the control keeps its label on the row's edge, where an outlined button's ring ends; under the text it starts on the text's edge.
2274
2343
 
2275
2344
  | Prop | Type | Default | Description |
2276
2345
  |---|---|---|---|
@@ -2295,7 +2364,7 @@ One setting: title 15/500 and description 13 on the left, the control on the rig
2295
2364
 
2296
2365
  ### Sheet
2297
2366
 
2298
- A panel that slides in from the edge of the screen, for details and longer forms. While it slides out it keeps showing what it showed when it was open, so a page can let go of the row as soon as it closes.
2367
+ A panel that slides in from the edge of the screen, for details and longer forms: its title alone at the top with its actions and the close circle at the end edge, a hairline under it once the body scrolls and over the footer while content is below. While it slides out it keeps showing what it showed when it was open, so a page can let go of the row as soon as it closes.
2299
2368
 
2300
2369
  | Prop | Type | Default | Description |
2301
2370
  |---|---|---|---|
@@ -2318,7 +2387,7 @@ A panel that slides in from the edge of the screen, for details and longer forms
2318
2387
  `import { Sidebar } from "@logicplanes/kaeso-ui/sidebar";`
2319
2388
 
2320
2389
  - **mode** (sidebar): `expanded` (default) — 248px by default, resizable between 232 and 280; `rail` — 60px: icons only, labels in tooltips
2321
- - **item** (sidebar): `default` (default) — A navigation item; `active` — The current page
2390
+ - **item** (sidebar): `default` (default) — A navigation item: a pill that fills under the pointer; `active` — The current page, a filled pill
2322
2391
  - **caption** (sidebar): `secondary` (default) — A quiet second line under the switcher's label (default); `danger` — A second line that warns: the organization is scheduled for deletion
2323
2392
 
2324
2393
  ### Sidebar
@@ -2345,7 +2414,7 @@ Holds the sidebar's state for everything inside it: whether it shows as a rail,
2345
2414
 
2346
2415
  `import { Skeleton } from "@logicplanes/kaeso-ui/skeleton";`
2347
2416
 
2348
- - **shape** (skeleton): `block` (default) — Rounded blocks for charts and wells (default); `line` — A pill line for text; `circle` — Avatars and icons; `control` — The shape of a 36px control
2417
+ - **shape** (skeleton): `block` (default) — A cut plate for charts and wells (default); `line` — A bar for a line of text, cut like a plate; `circle` — Avatars and icons; `control` — The shape of a 36px control
2349
2418
 
2350
2419
  ### Skeleton
2351
2420
 
@@ -2389,9 +2458,9 @@ A 4px pill track, an ink range and a 16px ink thumb; a value bubble while draggi
2389
2458
  `import { Delta, RollingNumber, Stat, StatGroup } from "@logicplanes/kaeso-ui/stat";`
2390
2459
 
2391
2460
  - **tone** (delta): `better` — The change goes the way people want; `worse` — The change goes the wrong way; `flat` — No change, or a change with no better side
2392
- - **variant** (stat): `plain` (default) — A number with its unit and change, in a row of numbers (default); `tile` — A tile in a StatGroup: label, number, change, detail and an optional trend
2393
- - **size** (stat): `md` (default) — 28/32 metric (default); `sm` — 20/28 for dense rows
2394
- - **variant** (stat_group): `grid` (default) — Tiles in one group that fits its columns and the size of every number to the room (default); `row` — Plain numbers in a row that wraps
2461
+ - **variant** (stat): `plain` (default) — A number with its unit and change, in a row of numbers (default); `tile` — A flat plate in a StatGroup: the number large at its head, its change, detail and optional trend, and what it counts at its foot
2462
+ - **size** (stat): `md` (default) — 28/32 metric, medium and tight (default); `sm` — 20/26 for dense rows
2463
+ - **variant** (stat_group): `grid` (default) — Tiles as flat plates 8px apart, fitting the columns and the size of every number to the room (default); `row` — Plain numbers in a row that wraps
2395
2464
 
2396
2465
  ### Delta
2397
2466
 
@@ -2414,7 +2483,7 @@ A formatted number whose digits roll to their new value when it changes, each di
2414
2483
 
2415
2484
  ### Stat
2416
2485
 
2417
- A number. Plain, it is a big number followed by its word, no box, as on a usage page. As a `tile` (`variant="tile"`), it is one metric of a dashboard row in a `StatGroup`: its label, the number, the change against the previous period and the trend.
2486
+ A number, set medium, tight and tabular. Plain, it is a big number followed by its word, no box, as on a usage page. As a `tile` (`variant="tile"`), it is one metric of a dashboard row in a `StatGroup`, set as kaeso.app sets its key figures: a flat plate with the number large at its head (40px where it fits), the change against the previous period and the trend under it, and its label at the foot over a rule. Screen readers still hear the label first.
2418
2487
 
2419
2488
  | Prop | Type | Default | Description |
2420
2489
  |---|---|---|---|
@@ -2423,7 +2492,7 @@ A number. Plain, it is a big number followed by its word, no box, as on a usage
2423
2492
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
2424
2493
  | `delta` | `{ label: string; tone?: "neutral" \| "success" \| "danger"; }` | | A delta badge: "+12%". |
2425
2494
  | `detail` | `ReactNode` | | A quiet line under the number: "vs. the previous 30 days", "0.4% of requests". |
2426
- | `label` | `ReactNode` | | What the number is: "Requests", "Cost". |
2495
+ | `label` | `ReactNode` | | What the number counts: "Requests", "Cost". A tile sets it at its foot. |
2427
2496
  | `loading` | `boolean` | | While the numbers load: the value, the change and the trend show their shape at the tile's final height. |
2428
2497
  | `size` | `"md" \| "sm"` | `md` | The size of the number. |
2429
2498
  | `trend` | `number[]` | | One value per day (or step), drawn as a sparkline across the tile. A tile without it has no room for one; pass `[]` while a trend loads to keep it. |
@@ -2433,7 +2502,7 @@ A number. Plain, it is a big number followed by its word, no box, as on a usage
2433
2502
 
2434
2503
  ### StatGroup
2435
2504
 
2436
- Stats side by side. As a `grid` (the default), tiles sit in one raised group divided by hairlines: two to a row, then as many as there are tiles (up to four) from 1024px. The last tile of a short row widens to fill it, so the group never shows an empty cell. Where a number doesn't fit its tile, every tile's number steps down a size, and the tiles take a row each when even the smallest doesn't fit; live numbers only step down at the same width, so a digit that comes and goes doesn't make the tiles jump. As a `row`, three to five plain numbers sit side by side with generous space between them.
2505
+ Stats side by side. As a `grid` (the default), tiles are flat plates 8px apart: two to a row, then as many as there are tiles (up to four) from 1024px. The last tile of a short row widens to fill it, so the group never shows an empty cell. Where a number doesn't fit its tile, every tile's number steps down a size (40, 28, 20, then 17px), and the tiles take a row each when even the smallest doesn't fit; live numbers only step down at the same width, so a digit that comes and goes doesn't make the tiles jump. As a `row`, three to five plain numbers sit side by side with generous space between them.
2437
2506
 
2438
2507
  | Prop | Type | Default | Description |
2439
2508
  |---|---|---|---|
@@ -2481,11 +2550,11 @@ Text that changes with state without changing size: all alternatives sit in one
2481
2550
 
2482
2551
  `import { Switch } from "@logicplanes/kaeso-ui/switch";`
2483
2552
 
2484
- - **size** (switch): `sm` — 28×16, 12px thumb; `md` (default) — 36×20, 16px thumb (default); `lg` — 44×24, 20px thumb
2553
+ - **size** (switch): `sm` — 28×16, 10px thumb; `md` (default) — 36×20, 14px thumb (default); `lg` — 44×24, 18px thumb
2485
2554
 
2486
2555
  ### Switch
2487
2556
 
2488
- A pill track and a round thumb that travels in 180ms.
2557
+ A pill track and a round thumb that travels in 180ms. Off, it is ringed like a field with a grey thumb; on, it fills with ink and the thumb turns light, as a checked box does.
2489
2558
 
2490
2559
  | Prop | Type | Default | Description |
2491
2560
  |---|---|---|---|
@@ -2515,7 +2584,7 @@ A pill track and a round thumb that travels in 180ms.
2515
2584
 
2516
2585
  ### Table
2517
2586
 
2518
- A plain table for small amounts of data; use `DataTable` for sorting, selection and many rows. It has no row boxes, so its text sits on the gutter, not 12px in; its rows are 40px like DataTable's and grow when a cell wraps. Wider than its room, it scrolls sideways inside its own box under an edge fade, and the box takes focus as a group named "Table, scrolls sideways". Keep ids and model names on one line with `className="whitespace-nowrap"` on their cells.
2587
+ A plain table for small amounts of data; use `DataTable` for sorting, selection and many rows. It has no row boxes, so its text sits on the gutter, not 12px in; its rows are 40px like DataTable's, each with a hairline at its foot under a head that stands on a rule in the strong line colour, and grow when a cell wraps, the first lines of its cells on one baseline so a key reads beside the first line of its note. Wider than its room, it scrolls sideways inside its own box under an edge fade, and the box takes focus as a group named "Table, scrolls sideways". Keep ids and model names on one line with `className="whitespace-nowrap"` on their cells.
2519
2588
 
2520
2589
  | Prop | Type | Default | Description |
2521
2590
  |---|---|---|---|
@@ -2525,7 +2594,7 @@ A plain table for small amounts of data; use `DataTable` for sorting, selection
2525
2594
 
2526
2595
  `import { Tabs } from "@logicplanes/kaeso-ui/tabs";`
2527
2596
 
2528
- - **variant** (tabs): `underline` (default) — Underline tabs for detail pages: 40px, the first label on the content edge like the heading above, 24px apart, a 2px ink indicator under the label that slides; hover previews the line; `pill` — Header tabs: separate 32px pills, the active one filled; the first pill's edge on the gutter
2597
+ - **variant** (tabs): `underline` (default) — Underline tabs for detail pages: 40px, the first label on the content edge like the heading above, 24px apart, a square 2px ink rule under the label that slides along the hairline; hover previews it; `pill` — Header tabs: separate 32px pills, the active one filled; the first pill's edge on the gutter
2529
2598
 
2530
2599
  ### Tabs
2531
2600
 
@@ -2568,7 +2637,7 @@ A metadata pill: 28px, 13/500, an optional icon, an optional remove circle. A la
2568
2637
 
2569
2638
  `import { Text } from "@logicplanes/kaeso-ui/text";`
2570
2639
 
2571
- - **variant** (text): `micro` — 11/14 500: keyboard keys and chart ticks only; `caption` — 12/16 500: group labels, badges, table headers; `small` — 13/18: descriptions, secondary cells, hints; `body` (default) — 14/20: the default; `body-lg` — 15/22 500: settings row titles, dialog body; `title-sm` — 17/24 600: section and dialog titles; `title` — 20/28 600: empty-state and compact page titles; `title-lg` — 28/34 600: settings page titles, auth screens; `display` — 40/44 600: showcase headings, the setup screen; `metric` — 28/32 600 tabular: big numbers
2640
+ - **variant** (text): `micro` — 11/14 500: keyboard keys and chart ticks only; `caption` — 12/16 500: group labels, badges, table headers; `small` — 13/18: descriptions, secondary cells, hints; `body` (default) — 14/20: the default; `body-lg` — 15/22 500: settings row titles, dialog body; `title-sm` — 17/24 600: section and dialog titles; `title` — 20/26 600, -0.022em: empty-state and compact page titles; `title-lg` — 28/32 600, -0.032em: settings page titles, auth screens; `display` — 40/42 600, -0.042em: showcase headings, the setup screen; `metric` — 28/32 500 tabular, -0.04em: big numbers, set like kaeso.app's figures
2572
2641
  - **tone** (text): `default` (default) — Primary text; `secondary` — Descriptions and metadata; `tertiary` — Placeholders and redundant hints; never the only carrier of meaning; `danger` — Errors, next to an icon or a word; `success` — Confirmation, next to an icon or a word; `warning` — Warnings, next to an icon or a word; `info` — Information in progress (syncing, queued), next to an icon or a word; `inherit` — Inherit from the parent
2573
2642
  - **weight** (text): `regular` — 400; `medium` — 500 (480 in dark mode); `semibold` — 600 (580 in dark mode)
2574
2643
 
@@ -2621,20 +2690,21 @@ System, light or dark, stored as `kaeso:theme`.
2621
2690
  |---|---|---|---|
2622
2691
  | `align` | `"start" \| "end"` | `end` | Which edge of the button the menu lines up with: its end (`end`) or its start (`start`), for a button at the left edge. |
2623
2692
  | `data-force` | `string` | | Forces an interaction state for state matrices: `hover`, `pressed`, `focus`, `open`. |
2693
+ | `display` | `"menu" \| "segmented"` | `menu` | One circle that opens the choices (`menu`), or the three choices side by side as icons with the current one raised (`segmented`), for the foot of a sidebar where one tap changes the theme. |
2624
2694
  | `side` | `"top" \| "bottom"` | `bottom` | Where the menu opens: below the button (`bottom`), or above it (`top`) when the button sits at the foot of a sidebar. |
2625
- | `size` | `"md" \| "sm"` | `sm` | The button's height. |
2695
+ | `size` | `"md" \| "sm"` | `sm` | The button's or the track's height. |
2626
2696
  | `variant` | `"secondary" \| "ghost"` | `ghost` | A filled button (`secondary`) or a quiet one (`ghost`). |
2627
2697
 
2628
2698
  ## thumbnail
2629
2699
 
2630
2700
  `import { MediaView, Thumbnail } from "@logicplanes/kaeso-ui/thumbnail";`
2631
2701
 
2632
- - **kind** (media_view): `image` (default) — A thumbnail that opens to the whole image in place, and closes again (default); `audio` — The browser's audio player; `video` — The browser's video player on a well; `file` — Nothing to play: the name, the detail and the download alone
2702
+ - **kind** (media_view): `image` (default) — A thumbnail that opens to the whole image in place, and closes again (default); `audio` — The browser's audio player; `video` — The browser's video player on a cut plate; `file` — Nothing to play: a file mark on a cut plate beside the name, the detail and the download
2633
2703
  - **size** (thumbnail): `sm` — 64px: a row or a compact list; `md` (default) — 120px: an image inside a message (default); `lg` — 160px: an image a page is about
2634
2704
 
2635
2705
  ### MediaView
2636
2706
 
2637
- An image, an audio clip, a video or a file someone sent or a model made, with a line that names it and a download: an image is a thumbnail that opens to the whole image in place, audio and video play in the browser's own player.
2707
+ An image, an audio clip, a video or a file someone sent or a model made, with a line that names it and a download: an image is a thumbnail that opens to the whole image in place, audio and video play in the browser's own player, and a file that can only be downloaded stands beside a file mark on a cut plate. The download carries its arrow.
2638
2708
 
2639
2709
  | Prop | Type | Default | Description |
2640
2710
  |---|---|---|---|
@@ -2648,7 +2718,7 @@ An image, an audio clip, a video or a file someone sent or a model made, with a
2648
2718
 
2649
2719
  ### Thumbnail
2650
2720
 
2651
- A square image someone sent, such as a photo in a conversation: cropped to fill, on a well with radius 14; when it can't load, its text alternative shows instead.
2721
+ A square image someone sent, such as a photo in a conversation: cropped to fill, on a cut plate (radius 6) with a hairline just inside its edge; when it can't load, its text alternative shows instead, at the plate's foot like a caption.
2652
2722
 
2653
2723
  | Prop | Type | Default | Description |
2654
2724
  |---|---|---|---|
@@ -2665,7 +2735,7 @@ A square image someone sent, such as a photo in a conversation: cropped to fill,
2665
2735
 
2666
2736
  ### Timeline
2667
2737
 
2668
- Events down a 1px line (the audit log): each event marks the line with a short 3px bar in its tone, no dots; titles, and times on the right. A toned event's title starts with its tone in words for screen readers ("Critical: Key revoked"), and a time with `datetime` shows the exact date and time in a tooltip.
2738
+ Events down a 1px line (the audit log): each event marks the line with a short 3px bar in its tone with cut corners, no dots; titles, and times on the right. A toned event's title starts with its tone in words for screen readers ("Critical: Key revoked"), and a time with `datetime` shows the exact date and time in a tooltip.
2669
2739
 
2670
2740
  | Prop | Type | Default | Description |
2671
2741
  |---|---|---|---|
@@ -2691,11 +2761,11 @@ Mount once near the root. Three visible at most; 5s, paused on hover and focus;
2691
2761
 
2692
2762
  `import { TableOfContents } from "@logicplanes/kaeso-ui/toc";`
2693
2763
 
2694
- - **state** (table_of_contents): `default` (default) — A heading; `active` — The heading in view, with a 2px ink bar on the rail (a solid line in forced colours)
2764
+ - **state** (table_of_contents): `default` (default) — A heading, faded until it is read or pointed at; `active` — The heading in view, at full strength, its row's hairline drawn in ink (the only line left in forced colours)
2695
2765
 
2696
2766
  ### TableOfContents
2697
2767
 
2698
- "On this page": the heading in view in text color with a 2px ink bar on the rail.
2768
+ "On this page" beside the text: one row per heading between hairlines, the heading in view at full strength with the line under it in ink, the others faded. A subheading's row and its line start 12px in.
2699
2769
 
2700
2770
  | Prop | Type | Default | Description |
2701
2771
  |---|---|---|---|
@@ -2712,7 +2782,7 @@ Mount once near the root. Three visible at most; 5s, paused on hover and focus;
2712
2782
 
2713
2783
  ### Toolbar
2714
2784
 
2715
- A row of controls above a list or a chart: one tab stop, with the arrow keys moving between its controls.
2785
+ A row of controls above a list or a chart: one tab stop, with the arrow keys moving between its controls; a Segmented or tabs in it keep their own tab stop and arrow keys.
2716
2786
 
2717
2787
  | Prop | Type | Default | Description |
2718
2788
  |---|---|---|---|
@@ -2724,11 +2794,11 @@ A row of controls above a list or a chart: one tab stop, with the arrow keys mov
2724
2794
  `import { Tooltip, TooltipProvider } from "@logicplanes/kaeso-ui/tooltip";`
2725
2795
 
2726
2796
  - **side** (tooltip): `top` (default) — Above the trigger (default); `bottom` — Below the trigger; `left` — Left of the trigger; `right` — Right of the trigger
2727
- - **shape** (tooltip): `pill` (default) — Single line: a pill (default); `multiline` — Several lines: radius 12, max 280px
2797
+ - **shape** (tooltip): `pill` (default) — Single line: a pill (default); `multiline` — Several lines: radius 8, max 280px
2728
2798
 
2729
2799
  ### Tooltip
2730
2800
 
2731
- A short label for a control, shown on hover and focus. When it says more than the control's name, it is also the control's accessible description. Never on disabled elements without a reason.
2801
+ A short label for a control, shown on hover and focus, on a dark plate in both themes so it never reads as another control. When it says more than the control's name, it is also the control's accessible description. Never on disabled elements without a reason.
2732
2802
 
2733
2803
  | Prop | Type | Default | Description |
2734
2804
  |---|---|---|---|