@logicplanes/kaeso-ui 0.5.6 → 0.6.0-rc.2

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 (269) hide show
  1. package/ai/component-guides.md +303 -1
  2. package/ai/component-registry.json +187 -2
  3. package/ai/component-registry.md +49 -2
  4. package/ai/icons.md +3 -3
  5. package/ai/tokens.md +2 -1
  6. package/dist/blocks/delete-resource.js +1 -1
  7. package/dist/blocks/pages.js +4 -4
  8. package/dist/blocks/resource-list.js +5 -5
  9. package/dist/chunks/{agent-avatar-DHieggHK.js → agent-avatar-Djd5BojE.js} +4 -4
  10. package/dist/chunks/{agent-avatar-DHieggHK.js.map → agent-avatar-Djd5BojE.js.map} +1 -1
  11. package/dist/chunks/{app-frame-P0frr7bS.js → app-frame-FPxcLx5a.js} +7 -7
  12. package/dist/chunks/{app-frame-P0frr7bS.js.map → app-frame-FPxcLx5a.js.map} +1 -1
  13. package/dist/chunks/{avatar-CYNMK7uY.js → avatar-CAtsciEK.js} +3 -3
  14. package/dist/chunks/{avatar-CYNMK7uY.js.map → avatar-CAtsciEK.js.map} +1 -1
  15. package/dist/chunks/{badge-C0GC3B9X.js → badge-DCG794sL.js} +3 -3
  16. package/dist/chunks/{badge-C0GC3B9X.js.map → badge-DCG794sL.js.map} +1 -1
  17. package/dist/chunks/{banner-DEbXXqmm.js → banner-Bh9ALjtn.js} +4 -4
  18. package/dist/chunks/{banner-DEbXXqmm.js.map → banner-Bh9ALjtn.js.map} +1 -1
  19. package/dist/chunks/{button-DAzCLcr-.js → button-BhgnxxnI.js} +7 -7
  20. package/dist/chunks/{button-DAzCLcr-.js.map → button-BhgnxxnI.js.map} +1 -1
  21. package/dist/chunks/{calendar-Dc6_dl0f.js → calendar-BF77Yau7.js} +2 -2
  22. package/dist/chunks/{calendar-Dc6_dl0f.js.map → calendar-BF77Yau7.js.map} +1 -1
  23. package/dist/chunks/{checkbox-ahl1SOqU.js → checkbox-CX9ocjBN.js} +3 -3
  24. package/dist/chunks/{checkbox-ahl1SOqU.js.map → checkbox-CX9ocjBN.js.map} +1 -1
  25. package/dist/chunks/{cn-BjnOAUrA.js → cn-y70pJ-RU.js} +19 -1
  26. package/dist/chunks/cn-y70pJ-RU.js.map +1 -0
  27. package/dist/chunks/{code-xqjww4Pv.js → code-C9y0iqOD.js} +2 -2
  28. package/dist/chunks/{code-xqjww4Pv.js.map → code-C9y0iqOD.js.map} +1 -1
  29. package/dist/chunks/{code-block-CgFazxDO.js → code-block-Co5XHbO4.js} +6 -6
  30. package/dist/chunks/{code-block-CgFazxDO.js.map → code-block-Co5XHbO4.js.map} +1 -1
  31. package/dist/chunks/{code-block-DlepLS16.js → code-block-ojOGgAZo.js} +5 -5
  32. package/dist/chunks/{code-block-DlepLS16.js.map → code-block-ojOGgAZo.js.map} +1 -1
  33. package/dist/chunks/{combobox-Bl6ewCVK.js → combobox-DIDrrFMN.js} +6 -6
  34. package/dist/chunks/{combobox-Bl6ewCVK.js.map → combobox-DIDrrFMN.js.map} +1 -1
  35. package/dist/chunks/{command-list-CmFekgMn.js → command-list-DWXF8Zg5.js} +4 -4
  36. package/dist/chunks/{command-list-CmFekgMn.js.map → command-list-DWXF8Zg5.js.map} +1 -1
  37. package/dist/chunks/{copy-button-8W-3B59C.js → copy-button-Blv3FuOX.js} +5 -5
  38. package/dist/chunks/{copy-button-8W-3B59C.js.map → copy-button-Blv3FuOX.js.map} +1 -1
  39. package/dist/chunks/{core-eNNh7t33.js → core-CEO7wu2u.js} +6 -6
  40. package/dist/chunks/{core-eNNh7t33.js.map → core-CEO7wu2u.js.map} +1 -1
  41. package/dist/chunks/{data-table-DvErn5iF.js → data-table-DS8QEm1P.js} +14 -14
  42. package/dist/chunks/{data-table-DvErn5iF.js.map → data-table-DS8QEm1P.js.map} +1 -1
  43. package/dist/chunks/{date-popup-DOoksCNY.js → date-popup-D7f-QQJm.js} +4 -4
  44. package/dist/chunks/{date-popup-DOoksCNY.js.map → date-popup-D7f-QQJm.js.map} +1 -1
  45. package/dist/chunks/{de-CqC4aSIV.js → de-CRbLcQNS.js} +10 -1
  46. package/dist/chunks/de-CRbLcQNS.js.map +1 -0
  47. package/dist/chunks/{dialog-bUFUnQC0.js → dialog-BoQZ-CRe.js} +5 -5
  48. package/dist/chunks/{dialog-bUFUnQC0.js.map → dialog-BoQZ-CRe.js.map} +1 -1
  49. package/dist/chunks/{disclosure-3CIz2WZa.js → disclosure-DVefCcYM.js} +2 -2
  50. package/dist/chunks/{disclosure-3CIz2WZa.js.map → disclosure-DVefCcYM.js.map} +1 -1
  51. package/dist/chunks/{domain-D-rdW5fm.js → domain-Dd4A6swO.js} +2 -2
  52. package/dist/chunks/{domain-D-rdW5fm.js.map → domain-Dd4A6swO.js.map} +1 -1
  53. package/dist/chunks/{empty-BpiUgGzm.js → empty-DZ-j3vpS.js} +2 -2
  54. package/dist/chunks/{empty-BpiUgGzm.js.map → empty-DZ-j3vpS.js.map} +1 -1
  55. package/dist/chunks/{field-D7m-yl-D.js → field-BoF0Q8U2.js} +3 -3
  56. package/dist/chunks/{field-D7m-yl-D.js.map → field-BoF0Q8U2.js.map} +1 -1
  57. package/dist/chunks/icon-CPNoEw5s.js +102 -0
  58. package/dist/chunks/icon-CPNoEw5s.js.map +1 -0
  59. package/dist/chunks/{icon-CBzOwqrX.js → icon-R4bPkYOo.js} +2 -2
  60. package/dist/chunks/{icon-CBzOwqrX.js.map → icon-R4bPkYOo.js.map} +1 -1
  61. package/dist/chunks/{icon-button--mBwM08L.js → icon-button-B8Xm10KH.js} +3 -3
  62. package/dist/chunks/{icon-button--mBwM08L.js.map → icon-button-B8Xm10KH.js.map} +1 -1
  63. package/dist/chunks/{identity-mwyVq4mE.js → identity-qb5JVtKG.js} +6 -6
  64. package/dist/chunks/{identity-mwyVq4mE.js.map → identity-qb5JVtKG.js.map} +1 -1
  65. package/dist/chunks/{input-BJpzRpEj.js → input-DvU5KIT0.js} +5 -5
  66. package/dist/chunks/{input-BJpzRpEj.js.map → input-DvU5KIT0.js.map} +1 -1
  67. package/dist/chunks/{input-group-BpHmsM9g.js → input-group-BPf_IWMR.js} +4 -4
  68. package/dist/chunks/{input-group-BpHmsM9g.js.map → input-group-BPf_IWMR.js.map} +1 -1
  69. package/dist/chunks/{iso-field-C97XNnpF.js → iso-field-CgLCZF7B.js} +2 -2
  70. package/dist/chunks/{iso-field-C97XNnpF.js.map → iso-field-CgLCZF7B.js.map} +1 -1
  71. package/dist/chunks/{json-view-DZ2nL2Ir.js → json-view-B2OSpSY-.js} +3 -3
  72. package/dist/chunks/{json-view-DZ2nL2Ir.js.map → json-view-B2OSpSY-.js.map} +1 -1
  73. package/dist/chunks/{kbd-8A0ML_up.js → kbd-B1rQ6Xzz.js} +2 -2
  74. package/dist/chunks/{kbd-8A0ML_up.js.map → kbd-B1rQ6Xzz.js.map} +1 -1
  75. package/dist/chunks/{label-DW24Aj0Z.js → label-Bd7EgBMU.js} +2 -2
  76. package/dist/chunks/{label-DW24Aj0Z.js.map → label-Bd7EgBMU.js.map} +1 -1
  77. package/dist/chunks/{link-CMjkcLQK.js → link-CkEhtnKp.js} +3 -3
  78. package/dist/chunks/{link-CMjkcLQK.js.map → link-CkEhtnKp.js.map} +1 -1
  79. package/dist/chunks/{list-DBltIx9B.js → list-CHKT0Q3_.js} +9 -9
  80. package/dist/chunks/{list-DBltIx9B.js.map → list-CHKT0Q3_.js.map} +1 -1
  81. package/dist/chunks/{loader-zo8CCIGJ.js → loader-BL8eBso7.js} +2 -2
  82. package/dist/chunks/{loader-zo8CCIGJ.js.map → loader-BL8eBso7.js.map} +1 -1
  83. package/dist/chunks/{markdown-C0_t7T9r.js → markdown-CzhAHVFg.js} +10 -10
  84. package/dist/chunks/{markdown-C0_t7T9r.js.map → markdown-CzhAHVFg.js.map} +1 -1
  85. package/dist/chunks/{menu-BDce2kiw.js → menu-CRZ-O7Ok.js} +4 -4
  86. package/dist/chunks/{menu-BDce2kiw.js.map → menu-CRZ-O7Ok.js.map} +1 -1
  87. package/dist/chunks/{meter-CASMHlxl.js → meter-dMtm0QPc.js} +3 -3
  88. package/dist/chunks/{meter-CASMHlxl.js.map → meter-dMtm0QPc.js.map} +1 -1
  89. package/dist/chunks/{nav-sheet-S7tagFJT.js → nav-sheet-C1oJliq_.js} +3 -3
  90. package/dist/chunks/{nav-sheet-S7tagFJT.js.map → nav-sheet-C1oJliq_.js.map} +1 -1
  91. package/dist/chunks/{nav-wordmark-J4pB_vjr.js → nav-wordmark-Cd-zaGgh.js} +2 -2
  92. package/dist/chunks/{nav-wordmark-J4pB_vjr.js.map → nav-wordmark-Cd-zaGgh.js.map} +1 -1
  93. package/dist/chunks/{page-header-D-8GD_Dz.js → page-header-BjW-S0c2.js} +5 -5
  94. package/dist/chunks/{page-header-D-8GD_Dz.js.map → page-header-BjW-S0c2.js.map} +1 -1
  95. package/dist/chunks/{pagination-DMb0xe4q.js → pagination--er5TNg5.js} +4 -4
  96. package/dist/chunks/{pagination-DMb0xe4q.js.map → pagination--er5TNg5.js.map} +1 -1
  97. package/dist/chunks/{picker-popover-DuhzZbyA.js → picker-popover-B7V6Z-qY.js} +7 -7
  98. package/dist/chunks/{picker-popover-DuhzZbyA.js.map → picker-popover-B7V6Z-qY.js.map} +1 -1
  99. package/dist/chunks/{popover-Bl5QYqnh.js → popover-CxYzFnPK.js} +2 -2
  100. package/dist/chunks/{popover-Bl5QYqnh.js.map → popover-CxYzFnPK.js.map} +1 -1
  101. package/dist/chunks/{radio-C6GtzF_t.js → radio-BIBakGpi.js} +2 -2
  102. package/dist/chunks/{radio-C6GtzF_t.js.map → radio-BIBakGpi.js.map} +1 -1
  103. package/dist/chunks/{range-popup-BHgt4Buj.js → range-popup-DuMX8dGS.js} +7 -7
  104. package/dist/chunks/{range-popup-BHgt4Buj.js.map → range-popup-DuMX8dGS.js.map} +1 -1
  105. package/dist/chunks/{reasoning-frame-C3HdQRRS.js → reasoning-frame-CX236xqG.js} +3 -3
  106. package/dist/chunks/{reasoning-frame-C3HdQRRS.js.map → reasoning-frame-CX236xqG.js.map} +1 -1
  107. package/dist/chunks/{release-art-ChiT4T2S.js → release-art-D1knR09f.js} +2 -2
  108. package/dist/chunks/{release-art-ChiT4T2S.js.map → release-art-D1knR09f.js.map} +1 -1
  109. package/dist/chunks/{rights-DWXZSM9D.js → rights-ghO_k76Q.js} +10 -10
  110. package/dist/chunks/{rights-DWXZSM9D.js.map → rights-ghO_k76Q.js.map} +1 -1
  111. package/dist/chunks/{scroll-area-_Ljh4-bG.js → scroll-area-eHO5yx8V.js} +2 -2
  112. package/dist/chunks/{scroll-area-_Ljh4-bG.js.map → scroll-area-eHO5yx8V.js.map} +1 -1
  113. package/dist/chunks/{section-CFBYhsUi.js → section-DdBjIPpm.js} +3 -3
  114. package/dist/chunks/{section-CFBYhsUi.js.map → section-DdBjIPpm.js.map} +1 -1
  115. package/dist/chunks/{segmented-D9i1avik.js → segmented--cvKKVgU.js} +4 -4
  116. package/dist/chunks/{segmented-D9i1avik.js.map → segmented--cvKKVgU.js.map} +1 -1
  117. package/dist/chunks/{select-UTdHKubp.js → select-CYxdDJuW.js} +4 -4
  118. package/dist/chunks/{select-UTdHKubp.js.map → select-CYxdDJuW.js.map} +1 -1
  119. package/dist/chunks/{separator-BNWf6BBj.js → separator-cMjJSR_v.js} +2 -2
  120. package/dist/chunks/{separator-BNWf6BBj.js.map → separator-cMjJSR_v.js.map} +1 -1
  121. package/dist/chunks/{sidebar-menu-C0qJsQF5.js → sidebar-menu-BIzCokEt.js} +2 -2
  122. package/dist/chunks/{sidebar-menu-C0qJsQF5.js.map → sidebar-menu-BIzCokEt.js.map} +1 -1
  123. package/dist/chunks/{sidebar-BO1mnjVH.js → sidebar-rSlJVHXr.js} +8 -8
  124. package/dist/chunks/{sidebar-BO1mnjVH.js.map → sidebar-rSlJVHXr.js.map} +1 -1
  125. package/dist/chunks/{skeleton-D-qk3mes.js → skeleton-CRaxQo8h.js} +2 -2
  126. package/dist/chunks/{skeleton-D-qk3mes.js.map → skeleton-CRaxQo8h.js.map} +1 -1
  127. package/dist/chunks/{slider-CcE8GtuV.js → slider-CJ5xhCGl.js} +2 -2
  128. package/dist/chunks/{slider-CcE8GtuV.js.map → slider-CJ5xhCGl.js.map} +1 -1
  129. package/dist/chunks/{status-dot-CP6runiC.js → status-dot-BJ_xdPOz.js} +3 -3
  130. package/dist/chunks/{status-dot-CP6runiC.js.map → status-dot-BJ_xdPOz.js.map} +1 -1
  131. package/dist/chunks/{swap-text-D88Zlu4i.js → swap-text-Dg5TYR3P.js} +2 -2
  132. package/dist/chunks/{swap-text-D88Zlu4i.js.map → swap-text-Dg5TYR3P.js.map} +1 -1
  133. package/dist/chunks/{switch-ngywMQdl.js → switch-BlrAa7fs.js} +4 -4
  134. package/dist/chunks/{switch-ngywMQdl.js.map → switch-BlrAa7fs.js.map} +1 -1
  135. package/dist/chunks/{table-CTK5E0J7.js → table-2mqGuSzh.js} +2 -2
  136. package/dist/chunks/{table-CTK5E0J7.js.map → table-2mqGuSzh.js.map} +1 -1
  137. package/dist/chunks/{tag-BGr6lTSV.js → tag-CyuvhNkV.js} +4 -4
  138. package/dist/chunks/{tag-BGr6lTSV.js.map → tag-CyuvhNkV.js.map} +1 -1
  139. package/dist/chunks/{text-DkKdTVUf.js → text-DG2r9OVy.js} +3 -3
  140. package/dist/chunks/{text-DkKdTVUf.js.map → text-DG2r9OVy.js.map} +1 -1
  141. package/dist/chunks/{textarea-CmUdpNFk.js → textarea-BhJSBzKA.js} +5 -5
  142. package/dist/chunks/{textarea-CmUdpNFk.js.map → textarea-BhJSBzKA.js.map} +1 -1
  143. package/dist/chunks/{timeseries-DY9PLLDJ.js → timeseries-yWYVK-Hb.js} +4 -4
  144. package/dist/chunks/{timeseries-DY9PLLDJ.js.map → timeseries-yWYVK-Hb.js.map} +1 -1
  145. package/dist/chunks/{toolbar-u0Gm7Q7-.js → toolbar-CXjo1MZi.js} +2 -2
  146. package/dist/chunks/{toolbar-u0Gm7Q7-.js.map → toolbar-CXjo1MZi.js.map} +1 -1
  147. package/dist/chunks/{tooltip-root-BC_RNNiP.js → tooltip-root-CIagHqa7.js} +4 -4
  148. package/dist/chunks/{tooltip-root-BC_RNNiP.js.map → tooltip-root-CIagHqa7.js.map} +1 -1
  149. package/dist/chunks/{tooltip-Tkm-urbi.js → tooltip-wfY3dDNy.js} +4 -4
  150. package/dist/chunks/{tooltip-Tkm-urbi.js.map → tooltip-wfY3dDNy.js.map} +1 -1
  151. package/dist/chunks/{truncated-d1afmUJT.js → truncated-BITAemX4.js} +3 -3
  152. package/dist/chunks/{truncated-d1afmUJT.js.map → truncated-BITAemX4.js.map} +1 -1
  153. package/dist/chunks/{zh-CN-BlpsT6d_.js → zh-CN-BHGxG46g.js} +10 -1
  154. package/dist/chunks/zh-CN-BHGxG46g.js.map +1 -0
  155. package/dist/components/agent-avatar.js +1 -1
  156. package/dist/components/app-frame.js +2 -2
  157. package/dist/components/avatar.js +1 -1
  158. package/dist/components/badge.js +1 -1
  159. package/dist/components/banner.js +1 -1
  160. package/dist/components/button-group.js +4 -4
  161. package/dist/components/button.js +1 -1
  162. package/dist/components/calendar.js +1 -1
  163. package/dist/components/charts/bar.js +3 -3
  164. package/dist/components/charts/donut.js +3 -3
  165. package/dist/components/charts/gauge.js +2 -2
  166. package/dist/components/charts/heatmap.js +2 -2
  167. package/dist/components/charts/sankey.js +3 -3
  168. package/dist/components/charts/sparkline.js +1 -1
  169. package/dist/components/charts/timeseries.js +1 -1
  170. package/dist/components/charts.js +2 -2
  171. package/dist/components/checkbox.js +1 -1
  172. package/dist/components/code-block.js +3 -3
  173. package/dist/components/code.js +1 -1
  174. package/dist/components/collapsible.js +2 -2
  175. package/dist/components/combobox.js +1 -1
  176. package/dist/components/command-list.js +2 -2
  177. package/dist/components/command-palette.js +4 -4
  178. package/dist/components/copy-button.js +1 -1
  179. package/dist/components/data-table.js +1 -1
  180. package/dist/components/date-picker.js +7 -7
  181. package/dist/components/dialog.js +2 -2
  182. package/dist/components/display-options.js +8 -8
  183. package/dist/components/empty.js +1 -1
  184. package/dist/components/field.js +1 -1
  185. package/dist/components/figure.js +2 -2
  186. package/dist/components/filter-chip.js +5 -5
  187. package/dist/components/filter-row.js +1 -1
  188. package/dist/components/filter-toggle.js +2 -2
  189. package/dist/components/flow-canvas.js +702 -0
  190. package/dist/components/flow-canvas.js.map +1 -0
  191. package/dist/components/flow.js +2 -2
  192. package/dist/components/heading.js +1 -1
  193. package/dist/components/icon-button.js +1 -1
  194. package/dist/components/icon.js +2 -2
  195. package/dist/components/input.js +8 -8
  196. package/dist/components/kaeso/conversation.js +8 -8
  197. package/dist/components/kaeso/identity.js +1 -1
  198. package/dist/components/kaeso/moments.js +5 -5
  199. package/dist/components/kaeso/rights.js +1 -1
  200. package/dist/components/kaeso/usage.js +7 -7
  201. package/dist/components/kaeso.js +12 -12
  202. package/dist/components/kbd.js +1 -1
  203. package/dist/components/key-value.js +3 -3
  204. package/dist/components/label.js +1 -1
  205. package/dist/components/layout.js +1 -1
  206. package/dist/components/link.js +1 -1
  207. package/dist/components/list.js +1 -1
  208. package/dist/components/loader.js +2 -2
  209. package/dist/components/logo.js +2 -2
  210. package/dist/components/markdown.js +1 -1
  211. package/dist/components/menu.js +1 -1
  212. package/dist/components/meter.js +1 -1
  213. package/dist/components/page-header.js +1 -1
  214. package/dist/components/pagination.js +1 -1
  215. package/dist/components/playground.js +17 -17
  216. package/dist/components/popover.js +2 -2
  217. package/dist/components/qr-code.js +1 -1
  218. package/dist/components/radio.js +1 -1
  219. package/dist/components/release-art.js +1 -1
  220. package/dist/components/scroll-area.js +1 -1
  221. package/dist/components/section.js +1 -1
  222. package/dist/components/segmented.js +1 -1
  223. package/dist/components/select.js +1 -1
  224. package/dist/components/separator.js +1 -1
  225. package/dist/components/settings.js +2 -2
  226. package/dist/components/sheet.js +2 -2
  227. package/dist/components/sidebar.js +1 -1
  228. package/dist/components/skeleton.js +1 -1
  229. package/dist/components/slider.js +1 -1
  230. package/dist/components/stat.js +4 -4
  231. package/dist/components/status-dot.js +1 -1
  232. package/dist/components/surface.js +1 -1
  233. package/dist/components/swap-text.js +1 -1
  234. package/dist/components/switch.js +1 -1
  235. package/dist/components/table.js +1 -1
  236. package/dist/components/tabs.js +2 -2
  237. package/dist/components/tag.js +1 -1
  238. package/dist/components/text.js +1 -1
  239. package/dist/components/theme-image.js +1 -1
  240. package/dist/components/theme-menu.js +2 -2
  241. package/dist/components/theme-select.js +1 -1
  242. package/dist/components/thumbnail.js +1 -1
  243. package/dist/components/timeline.js +3 -3
  244. package/dist/components/timeline.js.map +1 -1
  245. package/dist/components/toast.js +4 -4
  246. package/dist/components/toc.js +1 -1
  247. package/dist/components/toolbar.js +1 -1
  248. package/dist/components/tooltip.js +1 -1
  249. package/dist/components/visually-hidden.js +1 -1
  250. package/dist/i18n-provider.js +1 -1
  251. package/dist/index.js +60 -60
  252. package/dist/kaeso.css +38 -0
  253. package/dist/styles.css +1 -1
  254. package/dist/types/components/flow-canvas/docs.d.ts +35 -0
  255. package/dist/types/components/flow-canvas/flow-canvas.d.ts +36 -0
  256. package/dist/types/components/flow-canvas/flow-workspace.d.ts +32 -0
  257. package/dist/types/components/flow-canvas/index.d.ts +2 -0
  258. package/dist/types/components/flow-canvas/layout.d.ts +74 -0
  259. package/dist/types/components/timeline/timeline.d.ts +1 -1
  260. package/dist/types/icons/groups.d.ts +2 -2
  261. package/dist/types/icons/vocabulary.d.ts +35 -0
  262. package/dist/types/utils/cn.d.ts +6 -0
  263. package/dist/utils.js +1 -1
  264. package/package.json +2 -2
  265. package/dist/chunks/cn-BjnOAUrA.js.map +0 -1
  266. package/dist/chunks/de-CqC4aSIV.js.map +0 -1
  267. package/dist/chunks/icon-CPJWE2N-.js +0 -95
  268. package/dist/chunks/icon-CPJWE2N-.js.map +0 -1
  269. package/dist/chunks/zh-CN-BlpsT6d_.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui component guides
2
2
 
3
- Version 0.5.6. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
3
+ Version 0.6.0-rc.2. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
4
4
 
5
5
  ## AgentAttribution
6
6
 
@@ -2158,6 +2158,308 @@ function Changes() {
2158
2158
  }
2159
2159
  ```
2160
2160
 
2161
+ ## FlowCanvas
2162
+
2163
+ An editable route drawn as a tree: conditions and splits branch downward, and each model's fallback hangs straight under it.
2164
+
2165
+ `import { FlowCanvas } from "@logicplanes/kaeso-ui/flow-canvas";`
2166
+
2167
+ ### Keyboard
2168
+
2169
+ | Key | Action |
2170
+ |---|---|
2171
+ | Tab | Reaches the route as one stop, on the selected step or the start |
2172
+ | ↑ ↓ | Moves to the step's parent or its first branch |
2173
+ | ← → | Moves between branches of one step |
2174
+ | Home, End | Moves to the start or the last step |
2175
+ | Enter, Space | Selects the step, or opens an open slot's menu |
2176
+ | Escape | Clears the selection |
2177
+ | Delete | Asks to remove the step |
2178
+ | Shift F10 | Opens the step's actions |
2179
+ | + − 0 | Zooms in, out, and fits the route to the view |
2180
+
2181
+ ### Accessibility
2182
+
2183
+ - The route is a named tree: each step is a tree item with its level and position among its branches, and the tree's description lists the keys.
2184
+ - Every connection is also written out for screen readers, such as “gpt-5 to claude-sonnet-4-5, Fallback” or “x-plan is paid to gpt-5, Then”.
2185
+ - A traced request is told in words too: each model on the path carries its try as a badge, and the steps off the path stay in the tree.
2186
+ - A step's status is a word, never a colour alone; a removed model also draws a red ring around its step.
2187
+ - A sent request's answer is a word on each step it tried, such as “529 Overloaded” or “200 OK”; the colours of its lines and rings repeat it, and the tree is marked busy while the request is on its way.
2188
+ - The + between steps is for the pointer; from the keyboard, a step's actions (Shift F10) carry the same choices.
2189
+
2190
+ ### Examples
2191
+
2192
+ #### Edit a route
2193
+
2194
+ Select a step, add a fallback in the open slot under a model, or insert a condition, a split or a model with the + between steps.
2195
+
2196
+ ```tsx
2197
+ function Editor() {
2198
+ const [route, setRoute] = useState<Step>(basic);
2199
+ const [selected, setSelected] = useState<string | null>("s2");
2200
+ const add = (edge: string, insert: boolean) => (kind: "model" | "condition" | "split") => setRoute((r) => edit(r, edge, insert, kind));
2201
+ return (
2202
+ <Frame>
2203
+ <FlowCanvas
2204
+ aria-label="Route of fast"
2205
+ root={startNode("fast", route)}
2206
+ selected={selected}
2207
+ onSelect={setSelected}
2208
+ onDelete={(id) => setRoute((r) => remove(r, id))}
2209
+ addMenu={({ edge, insert }) => (
2210
+ <>
2211
+ <Menu.Item icon={icons.model} onClick={() => add(edge, insert)("model")}>
2212
+ Model
2213
+ </Menu.Item>
2214
+ <Menu.Item icon={icons.condition} onClick={() => add(edge, insert)("condition")}>
2215
+ Condition
2216
+ </Menu.Item>
2217
+ <Menu.Item icon={icons.split} onClick={() => add(edge, insert)("split")}>
2218
+ Split
2219
+ </Menu.Item>
2220
+ </>
2221
+ )}
2222
+ nodeActions={(id) =>
2223
+ id === "start" ? null : (
2224
+ <Menu.Item icon={icons.delete} variant="danger" onClick={() => setRoute((r) => remove(r, id))}>
2225
+ Remove step
2226
+ </Menu.Item>
2227
+ )
2228
+ }
2229
+ />
2230
+ </Frame>
2231
+ );
2232
+ }
2233
+ ```
2234
+
2235
+ #### A fallback chain
2236
+
2237
+ Each fallback hangs under the model before it, in the order the models are tried.
2238
+
2239
+ ```tsx
2240
+ function Fallbacks() {
2241
+ const chain: Step = {
2242
+ id: "f1",
2243
+ type: "model",
2244
+ provider: "openai",
2245
+ model: "gpt-5",
2246
+ fallback: {
2247
+ id: "f2",
2248
+ type: "model",
2249
+ provider: "anthropic",
2250
+ model: "claude-sonnet-4-5",
2251
+ fallback: { id: "f3", type: "model", provider: "groq", model: "llama-3.3-70b-versatile" },
2252
+ },
2253
+ };
2254
+ return (
2255
+ <Frame>
2256
+ <FlowCanvas aria-label="Route of chat-default" root={startNode("chat-default", chain)} />
2257
+ </Frame>
2258
+ );
2259
+ }
2260
+ ```
2261
+
2262
+ #### A traced request
2263
+
2264
+ The path one request takes stays strong and each model on it says which try it is; the rest turns quieter.
2265
+
2266
+ ```tsx
2267
+ function Traced() {
2268
+ const route: Step = {
2269
+ id: "t1",
2270
+ type: "condition",
2271
+ rule: "x-plan is enterprise",
2272
+ matched: {
2273
+ id: "t2",
2274
+ type: "model",
2275
+ provider: "anthropic",
2276
+ model: "claude-sonnet-4-5",
2277
+ fallback: { id: "t3", type: "model", provider: "openai", model: "gpt-5" },
2278
+ },
2279
+ otherwise: { id: "t4", type: "model", provider: "openai", model: "gpt-5-mini" },
2280
+ };
2281
+ return (
2282
+ <Frame>
2283
+ <FlowCanvas
2284
+ aria-label="Route of support"
2285
+ root={tries(startNode("support", route), { t2: 1, t3: 2 })}
2286
+ trace={["start", "t1", "t2", "t3"]}
2287
+ background="plain"
2288
+ />
2289
+ </Frame>
2290
+ );
2291
+ }
2292
+ ```
2293
+
2294
+ #### A request that fell back
2295
+
2296
+ Each line a sent request took takes the colour of the answer at its end: the model that failed in red, the one that answered in green.
2297
+
2298
+ ```tsx
2299
+ function Sent() {
2300
+ const route: Step = {
2301
+ id: "s1",
2302
+ type: "condition",
2303
+ rule: "x-plan is enterprise",
2304
+ matched: {
2305
+ id: "s2",
2306
+ type: "model",
2307
+ provider: "anthropic",
2308
+ model: "claude-sonnet-4-5",
2309
+ fallback: { id: "s3", type: "model", provider: "openai", model: "gpt-5" },
2310
+ },
2311
+ otherwise: { id: "s4", type: "model", provider: "openai", model: "gpt-5-mini" },
2312
+ };
2313
+ return (
2314
+ <Frame>
2315
+ <FlowCanvas
2316
+ aria-label="Route of support"
2317
+ root={answered(startNode("support", route), {
2318
+ s2: { tone: "danger", label: "529 Overloaded" },
2319
+ s3: { tone: "success", label: "200 OK" },
2320
+ })}
2321
+ trace={["start", "s1", "s2", "s3"]}
2322
+ background="plain"
2323
+ />
2324
+ </Frame>
2325
+ );
2326
+ }
2327
+ ```
2328
+
2329
+ #### A condition with a split
2330
+
2331
+ ```tsx
2332
+ function Branches() {
2333
+ const route: Step = {
2334
+ id: "b1",
2335
+ type: "condition",
2336
+ rule: "Uses images",
2337
+ matched: {
2338
+ id: "b2",
2339
+ type: "model",
2340
+ provider: "anthropic",
2341
+ model: "claude-sonnet-4-5",
2342
+ fallback: { id: "b3", type: "model", provider: "openai", model: "gpt-5" },
2343
+ },
2344
+ otherwise: {
2345
+ id: "b4",
2346
+ type: "split",
2347
+ branches: [
2348
+ { weight: 90, step: { id: "b5", type: "model", provider: "openai", model: "gpt-5-mini" } },
2349
+ { weight: 10, step: { id: "b6", type: "model", provider: "deepseek", model: "deepseek-chat" } },
2350
+ ],
2351
+ },
2352
+ };
2353
+ return (
2354
+ <Frame>
2355
+ <FlowCanvas aria-label="Route of support" root={startNode("support", route)} selected="b4" />
2356
+ </Frame>
2357
+ );
2358
+ }
2359
+ ```
2360
+
2361
+ #### A removed model
2362
+
2363
+ A step whose model is gone says so in words, with a red ring.
2364
+
2365
+ ```tsx
2366
+ function Removed() {
2367
+ const route: Step = {
2368
+ id: "r1",
2369
+ type: "model",
2370
+ provider: "openai",
2371
+ model: "gpt-4o",
2372
+ removed: true,
2373
+ fallback: { id: "r2", type: "model", provider: "openai", model: "gpt-5-mini" },
2374
+ };
2375
+ return (
2376
+ <Frame height="h-400">
2377
+ <FlowCanvas aria-label="Route of legacy" root={startNode("legacy", route)} selected="r1" />
2378
+ </Frame>
2379
+ );
2380
+ }
2381
+ ```
2382
+
2383
+ #### A large route
2384
+
2385
+ Larger than its view, it fits itself once; drag, scroll or zoom to move around.
2386
+
2387
+ ```tsx
2388
+ function Large() {
2389
+ const chain = (id: string, models: [string, string][]): Step => {
2390
+ const [first, ...rest] = models;
2391
+ return { id, type: "model", provider: first![0], model: first![1], ...(rest.length ? { fallback: chain(`${id}x`, rest) } : {}) };
2392
+ };
2393
+ const route: Step = {
2394
+ id: "l1",
2395
+ type: "condition",
2396
+ rule: "Input over 100,000 tokens",
2397
+ matched: chain("l2", [
2398
+ ["anthropic", "claude-sonnet-4-5"],
2399
+ ["openai", "gpt-5"],
2400
+ ]),
2401
+ otherwise: {
2402
+ id: "l3",
2403
+ type: "split",
2404
+ branches: [
2405
+ {
2406
+ weight: 70,
2407
+ step: chain("l4", [
2408
+ ["openai", "gpt-5-mini"],
2409
+ ["anthropic", "claude-haiku-4-5"],
2410
+ ["groq", "llama-3.3-70b-versatile"],
2411
+ ]),
2412
+ },
2413
+ {
2414
+ weight: 20,
2415
+ step: {
2416
+ id: "l5",
2417
+ type: "condition",
2418
+ rule: "Uses tools",
2419
+ matched: chain("l6", [["deepseek", "deepseek-chat"]]),
2420
+ otherwise: chain("l7", [
2421
+ ["mistral", "mistral-large-latest"],
2422
+ ["cerebras", "gpt-oss-120b"],
2423
+ ]),
2424
+ },
2425
+ },
2426
+ { weight: 10, step: chain("l8", [["moonshotai", "kimi-k2"]]) },
2427
+ ],
2428
+ },
2429
+ };
2430
+ return (
2431
+ <Frame>
2432
+ <FlowCanvas aria-label="Route of everything" root={startNode("everything", route)} />
2433
+ </Frame>
2434
+ );
2435
+ }
2436
+ ```
2437
+
2438
+ ## FlowWorkspace
2439
+
2440
+ The body of a route editor: the canvas fills the panel under the page header, with an inspector on the right that edits what is selected.
2441
+
2442
+ `import { FlowWorkspace } from "@logicplanes/kaeso-ui/flow-canvas";`
2443
+
2444
+ ### Accessibility
2445
+
2446
+ - The inspector is a complementary region named by `panelLabel`; each panel inside it is a region named by its heading.
2447
+ - From 1024px the inspector scrolls on its own beside the canvas; below, it follows a 400px canvas and the page scrolls.
2448
+
2449
+ ### Examples
2450
+
2451
+ #### A route editor
2452
+
2453
+ Select a step on the canvas to edit it in the inspector; with nothing selected, the inspector shows the alias.
2454
+
2455
+ ```tsx
2456
+ function Editor() {
2457
+ const [selected, setSelected] = useState<string | null>("primary");
2458
+ const [primary, setPrimary] = useState("claude-sonnet-4-5");
2459
+ return <Page selected={selected} onSelect={setSelected} primary={primary} setPrimary={setPrimary} />;
2460
+ }
2461
+ ```
2462
+
2161
2463
  ## Gauge
2162
2464
 
2163
2465
  A semicircle for “budget used”; thresholds as ticks.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@logicplanes/kaeso-ui",
3
- "version": "0.5.6",
3
+ "version": "0.6.0-rc.2",
4
4
  "components": [
5
5
  {
6
6
  "entry": "agent-avatar",
@@ -5715,6 +5715,191 @@
5715
5715
  }
5716
5716
  }
5717
5717
  },
5718
+ {
5719
+ "entry": "flow-canvas",
5720
+ "kind": "components",
5721
+ "import": "@logicplanes/kaeso-ui/flow-canvas",
5722
+ "components": [
5723
+ {
5724
+ "name": "FlowCanvas",
5725
+ "description": "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.",
5726
+ "props": [
5727
+ {
5728
+ "name": "aria-label",
5729
+ "type": "string",
5730
+ "required": true,
5731
+ "default": null,
5732
+ "description": "The tree's accessible name: what the route belongs to, such as \"Route of fast\"."
5733
+ },
5734
+ {
5735
+ "name": "root",
5736
+ "type": "FlowCanvasNode",
5737
+ "required": true,
5738
+ "default": null,
5739
+ "description": "The start of the route. Each node has `kind` (its tag), `title`, an optional `subtitle`, `leading` (such as a provider badge), `status` (a word and a tone: `danger`, `warning` and `success` also ring the step), `badge` (a short word at its top right, such as its try), `terminal` (a model: its one connection is its fallback, drawn straight under it, with an open slot just below the model) and `children`: connections with an `id`, a `label`, a `variant` (`fallback` draws a dashed line), a `tone` (`success`, `warning` or `danger`: on a traced path, the line takes that color, such as the status a tried step answered with) and the `node` they lead to; a connection without a node is an open slot."
5740
+ },
5741
+ {
5742
+ "name": "addMenu",
5743
+ "type": "((slot: FlowCanvasSlot) => ReactNode)",
5744
+ "required": false,
5745
+ "default": null,
5746
+ "description": "Turns editing on: open slots and a + midway on every connection show, and each opens a menu with these items. Called with the connection's `edge` id and `insert`: false for an open slot, true for the + that puts a step before the connection's step. Without it, open slots are not drawn."
5747
+ },
5748
+ {
5749
+ "name": "background",
5750
+ "type": "\"plain\" | \"dots\"",
5751
+ "required": false,
5752
+ "default": "dots",
5753
+ "description": "A dotted grid that moves with the view, or the plain panel."
5754
+ },
5755
+ {
5756
+ "name": "busy",
5757
+ "type": "boolean",
5758
+ "required": false,
5759
+ "default": null,
5760
+ "description": "A request is on its way along `trace`: its lines without a `tone` run as moving dashes, or pulse with reduced motion, and the tree is marked busy. Turn it off once the request answers."
5761
+ },
5762
+ {
5763
+ "name": "className",
5764
+ "type": "string",
5765
+ "required": false,
5766
+ "default": null,
5767
+ "description": "Classes for the layout of the outer element: margin, width and placement, never its look."
5768
+ },
5769
+ {
5770
+ "name": "nodeActions",
5771
+ "type": "((id: string) => ReactNode)",
5772
+ "required": false,
5773
+ "default": null,
5774
+ "description": "Menu items for a step, shown in a button on the step and opened with Shift F10 or the context-menu key. Return nothing for a step without actions, such as the start."
5775
+ },
5776
+ {
5777
+ "name": "onDelete",
5778
+ "type": "((id: string) => void)",
5779
+ "required": false,
5780
+ "default": null,
5781
+ "description": "Called with a step's id when Delete or Backspace is pressed on it."
5782
+ },
5783
+ {
5784
+ "name": "onSelect",
5785
+ "type": "((id: string | null) => void)",
5786
+ "required": false,
5787
+ "default": null,
5788
+ "description": "Called with a step's id when it is clicked or chosen with Enter or Space, and with null when the background is clicked or Escape is pressed."
5789
+ },
5790
+ {
5791
+ "name": "selected",
5792
+ "type": "string | null",
5793
+ "required": false,
5794
+ "default": "null",
5795
+ "description": "The id of the selected step, drawn with the selection ring; the view moves to show it when it changes."
5796
+ },
5797
+ {
5798
+ "name": "trace",
5799
+ "type": "readonly string[]",
5800
+ "required": false,
5801
+ "default": null,
5802
+ "description": "The ids of the steps one request passes, such as from a dry run: they and the lines between them stay strong, and every other step turns quieter: secondary text and a hairline, still readable. When its last step changes, the view moves to show that step. Leave it out to draw the route evenly."
5803
+ }
5804
+ ],
5805
+ "file": "src/components/flow-canvas/flow-canvas.tsx"
5806
+ },
5807
+ {
5808
+ "name": "FlowWorkspace",
5809
+ "description": "The page body of an editor built on a `FlowCanvas`: the canvas fills the panel under the page header, and an inspector column on the right edits what is selected. From `lg` the inspector is a column of its own that scrolls on its own; below `lg` it sits under a 400px canvas and the page scrolls.",
5810
+ "props": [
5811
+ {
5812
+ "name": "children",
5813
+ "type": "ReactNode",
5814
+ "required": true,
5815
+ "default": null,
5816
+ "description": "The canvas."
5817
+ },
5818
+ {
5819
+ "name": "panel",
5820
+ "type": "ReactNode",
5821
+ "required": false,
5822
+ "default": null,
5823
+ "description": "The inspector: usually a `FlowWorkspace.Panel`."
5824
+ },
5825
+ {
5826
+ "name": "panelLabel",
5827
+ "type": "string",
5828
+ "required": false,
5829
+ "default": null,
5830
+ "description": "The inspector's accessible name as a region, such as \"Step settings\"."
5831
+ },
5832
+ {
5833
+ "name": "width",
5834
+ "type": "\"default\" | \"wide\"",
5835
+ "required": false,
5836
+ "default": "default",
5837
+ "description": "The inspector's width from `lg`."
5838
+ }
5839
+ ],
5840
+ "file": "src/components/flow-canvas/flow-workspace.tsx"
5841
+ },
5842
+ {
5843
+ "name": "FlowWorkspace.Panel",
5844
+ "description": "One inspector section on the 24px gutter: a title with actions beside it, a line of description, then the fields.",
5845
+ "props": [
5846
+ {
5847
+ "name": "title",
5848
+ "type": "ReactNode",
5849
+ "required": true,
5850
+ "default": null,
5851
+ "description": "The section's heading."
5852
+ },
5853
+ {
5854
+ "name": "actions",
5855
+ "type": "ReactNode",
5856
+ "required": false,
5857
+ "default": null,
5858
+ "description": "Buttons beside the title, such as Remove step."
5859
+ },
5860
+ {
5861
+ "name": "children",
5862
+ "type": "ReactNode",
5863
+ "required": false,
5864
+ "default": null,
5865
+ "description": "The fields, 20px apart."
5866
+ },
5867
+ {
5868
+ "name": "description",
5869
+ "type": "ReactNode",
5870
+ "required": false,
5871
+ "default": null,
5872
+ "description": "One sentence under the title."
5873
+ }
5874
+ ],
5875
+ "file": "src/components/flow-canvas/flow-workspace.tsx"
5876
+ }
5877
+ ],
5878
+ "variants": {
5879
+ "FLOW_CANVAS": {
5880
+ "axes": {
5881
+ "background": {
5882
+ "dots": "A dotted grid that moves and scales with the view (default)",
5883
+ "plain": "The panel alone, for a canvas inside a framed preview"
5884
+ }
5885
+ },
5886
+ "defaults": {
5887
+ "background": "dots"
5888
+ }
5889
+ },
5890
+ "FLOW_WORKSPACE": {
5891
+ "axes": {
5892
+ "width": {
5893
+ "default": "A 400px inspector from lg (default)",
5894
+ "wide": "A 480px inspector from lg, for forms with long values"
5895
+ }
5896
+ },
5897
+ "defaults": {
5898
+ "width": "default"
5899
+ }
5900
+ }
5901
+ }
5902
+ },
5718
5903
  {
5719
5904
  "entry": "heading",
5720
5905
  "kind": "components",
@@ -13784,7 +13969,7 @@
13784
13969
  "type": "TimelineEvent[]",
13785
13970
  "required": true,
13786
13971
  "default": null,
13787
- "description": "The events, oldest first."
13972
+ "description": "The events, oldest first. Leave out an event's `time` for steps that have none, such as the steps a request takes."
13788
13973
  },
13789
13974
  {
13790
13975
  "name": "className",
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui component registry
2
2
 
3
- Version 0.5.6. Generated from the component types, their descriptions and variants; do not edit.
3
+ Version 0.6.0-rc.2. Generated from the component types, their descriptions and variants; do not edit.
4
4
 
5
5
  ## agent-avatar
6
6
 
@@ -1278,6 +1278,53 @@ A node-and-connector diagram: the route "app → Kaeso → provider / model". A
1278
1278
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1279
1279
  | `node` | `"pill" \| "box"` | `pill` | The shape of each step: a pill or a box. |
1280
1280
 
1281
+ ## flow-canvas
1282
+
1283
+ `import { FlowCanvas, FlowWorkspace } from "@logicplanes/kaeso-ui/flow-canvas";`
1284
+
1285
+ - **background** (flow_canvas): `dots` (default) — A dotted grid that moves and scales with the view (default); `plain` — The panel alone, for a canvas inside a framed preview
1286
+ - **width** (flow_workspace): `default` (default) — A 400px inspector from lg (default); `wide` — A 480px inspector from lg, for forms with long values
1287
+
1288
+ ### FlowCanvas
1289
+
1290
+ 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.
1291
+
1292
+ | Prop | Type | Default | Description |
1293
+ |---|---|---|---|
1294
+ | `aria-label` * | `string` | | The tree's accessible name: what the route belongs to, such as "Route of fast". |
1295
+ | `root` * | `FlowCanvasNode` | | The start of the route. Each node has `kind` (its tag), `title`, an optional `subtitle`, `leading` (such as a provider badge), `status` (a word and a tone: `danger`, `warning` and `success` also ring the step), `badge` (a short word at its top right, such as its try), `terminal` (a model: its one connection is its fallback, drawn straight under it, with an open slot just below the model) and `children`: connections with an `id`, a `label`, a `variant` (`fallback` draws a dashed line), a `tone` (`success`, `warning` or `danger`: on a traced path, the line takes that color, such as the status a tried step answered with) and the `node` they lead to; a connection without a node is an open slot. |
1296
+ | `addMenu` | `((slot: FlowCanvasSlot) => ReactNode)` | | Turns editing on: open slots and a + midway on every connection show, and each opens a menu with these items. Called with the connection's `edge` id and `insert`: false for an open slot, true for the + that puts a step before the connection's step. Without it, open slots are not drawn. |
1297
+ | `background` | `"plain" \| "dots"` | `dots` | A dotted grid that moves with the view, or the plain panel. |
1298
+ | `busy` | `boolean` | | A request is on its way along `trace`: its lines without a `tone` run as moving dashes, or pulse with reduced motion, and the tree is marked busy. Turn it off once the request answers. |
1299
+ | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1300
+ | `nodeActions` | `((id: string) => ReactNode)` | | Menu items for a step, shown in a button on the step and opened with Shift F10 or the context-menu key. Return nothing for a step without actions, such as the start. |
1301
+ | `onDelete` | `((id: string) => void)` | | Called with a step's id when Delete or Backspace is pressed on it. |
1302
+ | `onSelect` | `((id: string \| null) => void)` | | Called with a step's id when it is clicked or chosen with Enter or Space, and with null when the background is clicked or Escape is pressed. |
1303
+ | `selected` | `string \| null` | `null` | The id of the selected step, drawn with the selection ring; the view moves to show it when it changes. |
1304
+ | `trace` | `readonly string[]` | | The ids of the steps one request passes, such as from a dry run: they and the lines between them stay strong, and every other step turns quieter: secondary text and a hairline, still readable. When its last step changes, the view moves to show that step. Leave it out to draw the route evenly. |
1305
+
1306
+ ### FlowWorkspace
1307
+
1308
+ The page body of an editor built on a `FlowCanvas`: the canvas fills the panel under the page header, and an inspector column on the right edits what is selected. From `lg` the inspector is a column of its own that scrolls on its own; below `lg` it sits under a 400px canvas and the page scrolls.
1309
+
1310
+ | Prop | Type | Default | Description |
1311
+ |---|---|---|---|
1312
+ | `children` * | `ReactNode` | | The canvas. |
1313
+ | `panel` | `ReactNode` | | The inspector: usually a `FlowWorkspace.Panel`. |
1314
+ | `panelLabel` | `string` | | The inspector's accessible name as a region, such as "Step settings". |
1315
+ | `width` | `"default" \| "wide"` | `default` | The inspector's width from `lg`. |
1316
+
1317
+ ### FlowWorkspace.Panel
1318
+
1319
+ One inspector section on the 24px gutter: a title with actions beside it, a line of description, then the fields.
1320
+
1321
+ | Prop | Type | Default | Description |
1322
+ |---|---|---|---|
1323
+ | `title` * | `ReactNode` | | The section's heading. |
1324
+ | `actions` | `ReactNode` | | Buttons beside the title, such as Remove step. |
1325
+ | `children` | `ReactNode` | | The fields, 20px apart. |
1326
+ | `description` | `ReactNode` | | One sentence under the title. |
1327
+
1281
1328
  ## heading
1282
1329
 
1283
1330
  `import { Heading } from "@logicplanes/kaeso-ui/heading";`
@@ -3250,7 +3297,7 @@ Events down a 1px line (the audit log): each event marks the line with a short 3
3250
3297
 
3251
3298
  | Prop | Type | Default | Description |
3252
3299
  |---|---|---|---|
3253
- | `events` * | `TimelineEvent[]` | | The events, oldest first. |
3300
+ | `events` * | `TimelineEvent[]` | | The events, oldest first. Leave out an event's `time` for steps that have none, such as the steps a request takes. |
3254
3301
  | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
3255
3302
 
3256
3303
  ## toast
package/ai/icons.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Icon vocabulary
2
2
 
3
- Version 0.5.6. Generated from `src/icons/vocabulary.ts`; do not edit. Use the name, never an icon picked by look: `icons.key` always means a key. Hugeicons, Stroke Rounded. Rules: `foundations/icons.md`.
3
+ Version 0.6.0-rc.2. Generated from `src/icons/vocabulary.ts`; do not edit. Use the name, never an icon picked by look: `icons.key` always means a key. Hugeicons, Stroke Rounded. Rules: `foundations/icons.md`.
4
4
 
5
5
  ## Kaeso objects
6
6
 
7
- `key`, `providerKey`, `project`, `organization`, `model`, `playground`, `alias`, `limit`, `budget`, `requestLog`, `usage`, `member`, `members`, `serviceAccount`, `agent`, `settings`, `audit`, `instance`, `provider`, `route`, `gateway`, `database`, `update`, `security`, `session`, `overview`, `chart`, `home`
7
+ `key`, `providerKey`, `project`, `organization`, `model`, `playground`, `alias`, `limit`, `budget`, `requestLog`, `usage`, `member`, `members`, `serviceAccount`, `agent`, `settings`, `audit`, `instance`, `provider`, `route`, `condition`, `split`, `gateway`, `database`, `update`, `security`, `session`, `overview`, `chart`, `home`
8
8
 
9
9
  ## Capabilities
10
10
 
@@ -12,7 +12,7 @@ Version 0.5.6. Generated from `src/icons/vocabulary.ts`; do not edit. Use the na
12
12
 
13
13
  ## Actions
14
14
 
15
- `signOut`, `copy`, `externalLink`, `openExternal`, `add`, `close`, `edit`, `delete`, `download`, `upload`, `refresh`, `retry`, `search`, `filter`, `displayOptions`, `more`, `menu`, `sort`, `switcher`, `unfold`, `expand`, `collapse`, `show`, `hide`, `reveal`, `sidebar`, `sidePanel`, `list`, `board`, `stack`
15
+ `signOut`, `copy`, `externalLink`, `openExternal`, `add`, `close`, `edit`, `delete`, `download`, `upload`, `refresh`, `retry`, `undo`, `redo`, `swap`, `moveUp`, `moveDown`, `search`, `filter`, `displayOptions`, `more`, `menu`, `sort`, `switcher`, `unfold`, `expand`, `collapse`, `show`, `hide`, `reveal`, `sidebar`, `sidePanel`, `list`, `board`, `stack`
16
16
 
17
17
  ## Status
18
18
 
package/ai/tokens.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui tokens
2
2
 
3
- Version 0.5.6. Generated from `@logicplanes/kaeso-tokens`; do not edit. Components use these through role names (`bg-panel`, `text-fg-secondary`, `h-36`, `rounded-pill`); a raw value never appears in a component. How to use them: `foundations/*.md`.
3
+ Version 0.6.0-rc.2. Generated from `@logicplanes/kaeso-tokens`; do not edit. Components use these through role names (`bg-panel`, `text-fg-secondary`, `h-36`, `rounded-pill`); a raw value never appears in a component. How to use them: `foundations/*.md`.
4
4
 
5
5
  ## Neutrals
6
6
 
@@ -156,6 +156,7 @@ Version 0.5.6. Generated from `@logicplanes/kaeso-tokens`; do not edit. Componen
156
156
  | `shadow-control` | `inset 0 0 0 1px var(--k-line), 0 1px 2px rgb(0 0 0 / 0.05)` | `inset 0 0 0 1px var(--k-line)` |
157
157
  | `shadow-control-hover` | `inset 0 0 0 1px var(--k-line-strong), 0 1px 2px rgb(0 0 0 / 0.05)` | `inset 0 0 0 1px var(--k-line-strong)` |
158
158
  | `shadow-control-on-fill` | `inset 0 0 0 1px var(--k-line-strong)` | `inset 0 0 0 1px var(--k-line-strong)` |
159
+ | `shadow-control-selected` | `inset 0 0 0 2px var(--k-ink), 0 1px 2px rgb(0 0 0 / 0.05)` | `inset 0 0 0 2px var(--k-ink)` |
159
160
  | `shadow-field` | `inset 0 0 0 1px var(--k-line-field), 0 1px 2px rgb(0 0 0 / 0.05)` | `inset 0 0 0 1px var(--k-line-field)` |
160
161
  | `shadow-field-hover` | `inset 0 0 0 1px var(--k-line-field-hover), 0 1px 2px rgb(0 0 0 / 0.05)` | `inset 0 0 0 1px var(--k-line-field-hover)` |
161
162
  | `shadow-selector` | `inset 0 0 0 1px var(--k-line-field), 0 1px 2px rgb(0 0 0 / 0.05)` | `inset 0 0 0 1px var(--k-line-field)` |
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { i as e } from "../chunks/context-BELWW79w.js";
3
- import { t } from "../chunks/dialog-bUFUnQC0.js";
3
+ import { t } from "../chunks/dialog-BoQZ-CRe.js";
4
4
  import { forwardRef as n } from "react";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
6
  //#region src/blocks/delete-resource/delete-resource.tsx
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as e } from "../chunks/app-frame-P0frr7bS.js";
3
- import { r as t } from "../chunks/page-header-D-8GD_Dz.js";
4
- import { t as n } from "../chunks/empty-BpiUgGzm.js";
5
- import { a as r, t as i } from "../chunks/section-CFBYhsUi.js";
2
+ import { t as e } from "../chunks/app-frame-FPxcLx5a.js";
3
+ import { r as t } from "../chunks/page-header-BjW-S0c2.js";
4
+ import { t as n } from "../chunks/empty-DZ-j3vpS.js";
5
+ import { a as r, t as i } from "../chunks/section-DdBjIPpm.js";
6
6
  import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  //#region src/blocks/pages/pages.tsx
8
8
  var c = { page: {