@logicplanes/kaeso-ui 0.2.2 → 0.3.1

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 (349) hide show
  1. package/AGENTS.md +2 -0
  2. package/NOTICE.md +1 -1
  3. package/ai/component-guides.md +223 -24
  4. package/ai/component-registry.json +985 -91
  5. package/ai/component-registry.md +219 -52
  6. package/ai/icons.md +1 -1
  7. package/ai/tokens.md +7 -3
  8. package/dist/blocks/delete-resource.js +1 -1
  9. package/dist/blocks/pages.js +5 -5
  10. package/dist/blocks/resource-list.js +4 -4
  11. package/dist/chunks/app-frame-B9vrgwaE.js +220 -0
  12. package/dist/chunks/app-frame-B9vrgwaE.js.map +1 -0
  13. package/dist/chunks/{avatar-D2nJNbtC.js → avatar-DOzOhYJr.js} +2 -2
  14. package/dist/chunks/{avatar-D2nJNbtC.js.map → avatar-DOzOhYJr.js.map} +1 -1
  15. package/dist/chunks/{badge-Dkyhs0_j.js → badge-wUHlj7m3.js} +2 -2
  16. package/dist/chunks/{badge-Dkyhs0_j.js.map → badge-wUHlj7m3.js.map} +1 -1
  17. package/dist/chunks/{banner-DxGBPQ7p.js → banner-BBlNFHd-.js} +4 -4
  18. package/dist/chunks/{banner-DxGBPQ7p.js.map → banner-BBlNFHd-.js.map} +1 -1
  19. package/dist/chunks/{button-DQvoOxVQ.js → button-CAPyW-v8.js} +8 -8
  20. package/dist/chunks/{button-DQvoOxVQ.js.map → button-CAPyW-v8.js.map} +1 -1
  21. package/dist/chunks/{calendar-CN3YJi2k.js → calendar-CBeptQFq.js} +2 -2
  22. package/dist/chunks/{calendar-CN3YJi2k.js.map → calendar-CBeptQFq.js.map} +1 -1
  23. package/dist/chunks/{checkbox-BgRdbfCE.js → checkbox-C5yvSS7O.js} +3 -3
  24. package/dist/chunks/{checkbox-BgRdbfCE.js.map → checkbox-C5yvSS7O.js.map} +1 -1
  25. package/dist/chunks/{cn-CidVUKMm.js → cn-DUDmdLpZ.js} +3 -1
  26. package/dist/chunks/cn-DUDmdLpZ.js.map +1 -0
  27. package/dist/chunks/{code-BADhvsgC.js → code-C49NzHUQ.js} +2 -2
  28. package/dist/chunks/{code-BADhvsgC.js.map → code-C49NzHUQ.js.map} +1 -1
  29. package/dist/chunks/{code-block-DxtladFW.js → code-block-DREsvJ-g.js} +24 -21
  30. package/dist/chunks/code-block-DREsvJ-g.js.map +1 -0
  31. package/dist/chunks/{collapsible-Cw_1aem5.js → collapsible-CDQq1Y9x.js} +6 -6
  32. package/dist/chunks/collapsible-CDQq1Y9x.js.map +1 -0
  33. package/dist/chunks/combobox-DqtzsAKG.js +314 -0
  34. package/dist/chunks/combobox-DqtzsAKG.js.map +1 -0
  35. package/dist/chunks/command-list-D5k0uvkR.js +417 -0
  36. package/dist/chunks/command-list-D5k0uvkR.js.map +1 -0
  37. package/dist/chunks/{copy-button-DXxn-YYZ.js → copy-button-CNpEnS04.js} +6 -6
  38. package/dist/chunks/{copy-button-DXxn-YYZ.js.map → copy-button-CNpEnS04.js.map} +1 -1
  39. package/dist/chunks/{core-K960A4OT.js → core-CqLWVMDI.js} +36 -36
  40. package/dist/chunks/core-CqLWVMDI.js.map +1 -0
  41. package/dist/chunks/{date-popup-B-6xhb-1.js → date-popup-BgDz6SUj.js} +4 -4
  42. package/dist/chunks/{date-popup-B-6xhb-1.js.map → date-popup-BgDz6SUj.js.map} +1 -1
  43. package/dist/chunks/{de-CTAo4KL7.js → de-CkXZKaBD.js} +37 -5
  44. package/dist/chunks/de-CkXZKaBD.js.map +1 -0
  45. package/dist/chunks/dialog-truWH0qe.js +353 -0
  46. package/dist/chunks/dialog-truWH0qe.js.map +1 -0
  47. package/dist/chunks/{empty-DIbBpytW.js → empty-YXmSkKzR.js} +2 -2
  48. package/dist/chunks/{empty-DIbBpytW.js.map → empty-YXmSkKzR.js.map} +1 -1
  49. package/dist/chunks/{field-d8V94bvZ.js → field-BZriODU7.js} +3 -3
  50. package/dist/chunks/field-BZriODU7.js.map +1 -0
  51. package/dist/chunks/{icon-CeNQtobn.js → icon-BqujXDUc.js} +2 -2
  52. package/dist/chunks/{icon-CeNQtobn.js.map → icon-BqujXDUc.js.map} +1 -1
  53. package/dist/chunks/{icon-button-_x1RUphC.js → icon-button-D4O4puwH.js} +3 -3
  54. package/dist/chunks/{icon-button-_x1RUphC.js.map → icon-button-D4O4puwH.js.map} +1 -1
  55. package/dist/chunks/identity-CsZvAUwu.js +361 -0
  56. package/dist/chunks/identity-CsZvAUwu.js.map +1 -0
  57. package/dist/chunks/{input-CNTfI6YE.js → input-B0wtkcNh.js} +5 -5
  58. package/dist/chunks/{input-CNTfI6YE.js.map → input-B0wtkcNh.js.map} +1 -1
  59. package/dist/chunks/{input-group-CYA1MEoZ.js → input-group-BQLw06B0.js} +33 -27
  60. package/dist/chunks/input-group-BQLw06B0.js.map +1 -0
  61. package/dist/chunks/{inset-BLMdxX4I.js → inset-BnBj8NJV.js} +12 -2
  62. package/dist/chunks/inset-BnBj8NJV.js.map +1 -0
  63. package/dist/chunks/{iso-field-1qmg7TP8.js → iso-field-BUXgY1dB.js} +5 -3
  64. package/dist/chunks/{iso-field-1qmg7TP8.js.map → iso-field-BUXgY1dB.js.map} +1 -1
  65. package/dist/chunks/{json-view-B6KHIWzh.js → json-view-BkG2hTXV.js} +11 -10
  66. package/dist/chunks/{json-view-B6KHIWzh.js.map → json-view-BkG2hTXV.js.map} +1 -1
  67. package/dist/chunks/{kbd-CBcBDvqU.js → kbd-DqWmbr_e.js} +2 -2
  68. package/dist/chunks/{kbd-CBcBDvqU.js.map → kbd-DqWmbr_e.js.map} +1 -1
  69. package/dist/chunks/{link-vz9aV8WX.js → link-YMcxM-BZ.js} +4 -4
  70. package/dist/chunks/{link-vz9aV8WX.js.map → link-YMcxM-BZ.js.map} +1 -1
  71. package/dist/chunks/{link-provider---9JdxTg.js → link-provider-BsUxhZKG.js} +2 -2
  72. package/dist/chunks/{link-provider---9JdxTg.js.map → link-provider-BsUxhZKG.js.map} +1 -1
  73. package/dist/chunks/list-wXZIZo_s.js +492 -0
  74. package/dist/chunks/list-wXZIZo_s.js.map +1 -0
  75. package/dist/chunks/{loader-CUehxvSZ.js → loader-ENBh2Fbt.js} +2 -2
  76. package/dist/chunks/{loader-CUehxvSZ.js.map → loader-ENBh2Fbt.js.map} +1 -1
  77. package/dist/chunks/{markdown-5NyaHHfN.js → markdown-DWyxjsSY.js} +10 -10
  78. package/dist/chunks/{markdown-5NyaHHfN.js.map → markdown-DWyxjsSY.js.map} +1 -1
  79. package/dist/chunks/{menu-DyVPwgfF.js → menu-Bnfi9P3t.js} +7 -7
  80. package/dist/chunks/{menu-DyVPwgfF.js.map → menu-Bnfi9P3t.js.map} +1 -1
  81. package/dist/chunks/{meter-DWhyzFGQ.js → meter-DhTnem4k.js} +2 -2
  82. package/dist/chunks/{meter-DWhyzFGQ.js.map → meter-DhTnem4k.js.map} +1 -1
  83. package/dist/chunks/nav-sheet-QqNRHo-y.js +60 -0
  84. package/dist/chunks/nav-sheet-QqNRHo-y.js.map +1 -0
  85. package/dist/chunks/{nav-wordmark-DLkItdvo.js → nav-wordmark-DmbT1Aiw.js} +2 -2
  86. package/dist/chunks/{nav-wordmark-DLkItdvo.js.map → nav-wordmark-DmbT1Aiw.js.map} +1 -1
  87. package/dist/chunks/option-checkbox-Df7WhGn4.js +25 -0
  88. package/dist/chunks/option-checkbox-Df7WhGn4.js.map +1 -0
  89. package/dist/chunks/over-sheet-B8vzr_zU.js +8 -0
  90. package/dist/chunks/over-sheet-B8vzr_zU.js.map +1 -0
  91. package/dist/chunks/{page-header-CEPZzhRp.js → page-header-Ccnrspbp.js} +5 -5
  92. package/dist/chunks/{page-header-CEPZzhRp.js.map → page-header-Ccnrspbp.js.map} +1 -1
  93. package/dist/chunks/{pagination-CCMxQ5pH.js → pagination-CEmWZNjp.js} +5 -4
  94. package/dist/chunks/{pagination-CCMxQ5pH.js.map → pagination-CEmWZNjp.js.map} +1 -1
  95. package/dist/chunks/picker-popover-C4ElNk7t.js +102 -0
  96. package/dist/chunks/picker-popover-C4ElNk7t.js.map +1 -0
  97. package/dist/chunks/{popover-BE7VO-a4.js → popover-bjxg020P.js} +3 -3
  98. package/dist/chunks/{popover-BE7VO-a4.js.map → popover-bjxg020P.js.map} +1 -1
  99. package/dist/chunks/{radio-CUxbLCvD.js → radio-DwYcXAzv.js} +2 -2
  100. package/dist/chunks/{radio-CUxbLCvD.js.map → radio-DwYcXAzv.js.map} +1 -1
  101. package/dist/chunks/range-popup-CG9Jo5B7.js +128 -0
  102. package/dist/chunks/range-popup-CG9Jo5B7.js.map +1 -0
  103. package/dist/chunks/{release-art-DEc9HNa6.js → release-art-Ogl-L1Vh.js} +189 -183
  104. package/dist/chunks/release-art-Ogl-L1Vh.js.map +1 -0
  105. package/dist/chunks/{resize-motion-CMaidkwe.js → resize-motion-BWGMchyP.js} +27 -23
  106. package/dist/chunks/resize-motion-BWGMchyP.js.map +1 -0
  107. package/dist/chunks/{rights-BbiJ0AJB.js → rights-hMoaFasn.js} +12 -12
  108. package/dist/chunks/rights-hMoaFasn.js.map +1 -0
  109. package/dist/chunks/{section-DzOLLN1p.js → section-BsET7Fo-.js} +4 -4
  110. package/dist/chunks/{section-DzOLLN1p.js.map → section-BsET7Fo-.js.map} +1 -1
  111. package/dist/chunks/{segmented-MrinfDL8.js → segmented-DXKVF-nY.js} +4 -4
  112. package/dist/chunks/{segmented-MrinfDL8.js.map → segmented-DXKVF-nY.js.map} +1 -1
  113. package/dist/chunks/{select-Bc4kRiSG.js → select-Bbv2f5F8.js} +63 -80
  114. package/dist/chunks/select-Bbv2f5F8.js.map +1 -0
  115. package/dist/chunks/{separator-D5AzVFTS.js → separator-CpAUELNs.js} +2 -2
  116. package/dist/chunks/{separator-D5AzVFTS.js.map → separator-CpAUELNs.js.map} +1 -1
  117. package/dist/chunks/{sidebar-5IA18LuP.js → sidebar-Dey1ZfGt.js} +54 -51
  118. package/dist/chunks/sidebar-Dey1ZfGt.js.map +1 -0
  119. package/dist/chunks/{sidebar-menu-DRWRxcJ3.js → sidebar-menu-ct8IiL4z.js} +2 -2
  120. package/dist/chunks/{sidebar-menu-DRWRxcJ3.js.map → sidebar-menu-ct8IiL4z.js.map} +1 -1
  121. package/dist/chunks/{skeleton-kfuqdl1a.js → skeleton-BM797MAg.js} +2 -2
  122. package/dist/chunks/{skeleton-kfuqdl1a.js.map → skeleton-BM797MAg.js.map} +1 -1
  123. package/dist/chunks/{slider-DbhjJ3ML.js → slider-Ds-tqY-1.js} +2 -2
  124. package/dist/chunks/{slider-DbhjJ3ML.js.map → slider-Ds-tqY-1.js.map} +1 -1
  125. package/dist/chunks/{status-dot-BzMlYuMe.js → status-dot-BqVOlShY.js} +3 -3
  126. package/dist/chunks/{status-dot-BzMlYuMe.js.map → status-dot-BqVOlShY.js.map} +1 -1
  127. package/dist/chunks/{styles-Btvg2DCf.js → styles-CVJU9t9v.js} +2 -2
  128. package/dist/chunks/{styles-Btvg2DCf.js.map → styles-CVJU9t9v.js.map} +1 -1
  129. package/dist/chunks/{swap-text-BhPI8DOf.js → swap-text-Cica0pUr.js} +2 -2
  130. package/dist/chunks/{swap-text-BhPI8DOf.js.map → swap-text-Cica0pUr.js.map} +1 -1
  131. package/dist/chunks/{switch-XMY_CQE-.js → switch-CSKMEomo.js} +3 -3
  132. package/dist/chunks/{switch-XMY_CQE-.js.map → switch-CSKMEomo.js.map} +1 -1
  133. package/dist/chunks/{table-DYKa86af.js → table-D-36EM7f.js} +2 -2
  134. package/dist/chunks/{table-DYKa86af.js.map → table-D-36EM7f.js.map} +1 -1
  135. package/dist/chunks/{tag-Dg89uYpV.js → tag-CwDKXVHj.js} +4 -4
  136. package/dist/chunks/{tag-Dg89uYpV.js.map → tag-CwDKXVHj.js.map} +1 -1
  137. package/dist/chunks/{text--5MKh2G4.js → text-Dvvgg5Jt.js} +3 -3
  138. package/dist/chunks/{text--5MKh2G4.js.map → text-Dvvgg5Jt.js.map} +1 -1
  139. package/dist/chunks/{textarea-Cj8iR82R.js → textarea-2d373OyU.js} +35 -31
  140. package/dist/chunks/textarea-2d373OyU.js.map +1 -0
  141. package/dist/chunks/timeseries-LRDAZHV0.js +339 -0
  142. package/dist/chunks/timeseries-LRDAZHV0.js.map +1 -0
  143. package/dist/chunks/{toolbar-Dw3uxpsE.js → toolbar-nVLFWH2i.js} +3 -3
  144. package/dist/chunks/{toolbar-Dw3uxpsE.js.map → toolbar-nVLFWH2i.js.map} +1 -1
  145. package/dist/chunks/{tooltip-DEbCCsru.js → tooltip-S1DmyLVl.js} +4 -4
  146. package/dist/chunks/{tooltip-DEbCCsru.js.map → tooltip-S1DmyLVl.js.map} +1 -1
  147. package/dist/chunks/{tooltip-root-DRd4ciUv.js → tooltip-root-vjylFUqw.js} +4 -4
  148. package/dist/chunks/{tooltip-root-DRd4ciUv.js.map → tooltip-root-vjylFUqw.js.map} +1 -1
  149. package/dist/chunks/{virtual-rows-BZe49bKi.js → virtual-rows-yAMjeAwj.js} +4 -3
  150. package/dist/chunks/virtual-rows-yAMjeAwj.js.map +1 -0
  151. package/dist/chunks/{zh-CN-C7GmVswt.js → zh-CN-CqEA4PCM.js} +37 -5
  152. package/dist/chunks/zh-CN-CqEA4PCM.js.map +1 -0
  153. package/dist/components/app-frame.js +2 -2
  154. package/dist/components/avatar.js +1 -1
  155. package/dist/components/badge.js +1 -1
  156. package/dist/components/banner.js +1 -1
  157. package/dist/components/button-group.js +33 -32
  158. package/dist/components/button-group.js.map +1 -1
  159. package/dist/components/button.js +1 -1
  160. package/dist/components/calendar.js +1 -1
  161. package/dist/components/charts/bar.js +34 -31
  162. package/dist/components/charts/bar.js.map +1 -1
  163. package/dist/components/charts/donut.js +2 -2
  164. package/dist/components/charts/gauge.js +2 -2
  165. package/dist/components/charts/heatmap.js +1 -1
  166. package/dist/components/charts/sankey.js +2 -2
  167. package/dist/components/charts/sparkline.js +1 -1
  168. package/dist/components/charts/timeseries.js +1 -255
  169. package/dist/components/charts.js +3 -3
  170. package/dist/components/checkbox.js +1 -1
  171. package/dist/components/code-block.js +2 -2
  172. package/dist/components/code.js +1 -1
  173. package/dist/components/collapsible.js +1 -1
  174. package/dist/components/combobox.js +1 -1
  175. package/dist/components/command-list.js +4 -0
  176. package/dist/components/command-palette.js +120 -171
  177. package/dist/components/command-palette.js.map +1 -1
  178. package/dist/components/copy-button.js +1 -1
  179. package/dist/components/data-table.js +251 -193
  180. package/dist/components/data-table.js.map +1 -1
  181. package/dist/components/date-picker.js +6 -6
  182. package/dist/components/dialog.js +7 -9
  183. package/dist/components/dialog.js.map +1 -1
  184. package/dist/components/display-options.js +67 -53
  185. package/dist/components/display-options.js.map +1 -1
  186. package/dist/components/empty.js +1 -1
  187. package/dist/components/field.js +1 -1
  188. package/dist/components/filter-chip.js +138 -63
  189. package/dist/components/filter-chip.js.map +1 -1
  190. package/dist/components/filter-row.js +2 -2
  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 +1 -1
  195. package/dist/components/input.js +56 -54
  196. package/dist/components/input.js.map +1 -1
  197. package/dist/components/kaeso/conversation.js +88 -79
  198. package/dist/components/kaeso/conversation.js.map +1 -1
  199. package/dist/components/kaeso/identity.js +1 -1
  200. package/dist/components/kaeso/moments.js +8 -8
  201. package/dist/components/kaeso/moments.js.map +1 -1
  202. package/dist/components/kaeso/rights.js +1 -1
  203. package/dist/components/kaeso/usage.js +6 -6
  204. package/dist/components/kaeso/usage.js.map +1 -1
  205. package/dist/components/kaeso.js +212 -84
  206. package/dist/components/kaeso.js.map +1 -1
  207. package/dist/components/kbd.js +1 -1
  208. package/dist/components/key-value.js +3 -3
  209. package/dist/components/label.js +1 -1
  210. package/dist/components/layout.js +1 -1
  211. package/dist/components/link.js +1 -1
  212. package/dist/components/list.js +1 -1
  213. package/dist/components/loader.js +2 -2
  214. package/dist/components/logo.js +2 -2
  215. package/dist/components/markdown.js +1 -1
  216. package/dist/components/menu.js +2 -2
  217. package/dist/components/meter.js +1 -1
  218. package/dist/components/page-header.js +1 -1
  219. package/dist/components/pagination.js +1 -1
  220. package/dist/components/playground.js +654 -381
  221. package/dist/components/playground.js.map +1 -1
  222. package/dist/components/popover.js +2 -2
  223. package/dist/components/qr-code.js +1 -1
  224. package/dist/components/radio.js +1 -1
  225. package/dist/components/release-art.js +1 -1
  226. package/dist/components/scroll-area.js +1 -1
  227. package/dist/components/section.js +1 -1
  228. package/dist/components/segmented.js +1 -1
  229. package/dist/components/select.js +1 -1
  230. package/dist/components/separator.js +1 -1
  231. package/dist/components/settings.js +3 -3
  232. package/dist/components/sheet.js +69 -52
  233. package/dist/components/sheet.js.map +1 -1
  234. package/dist/components/sidebar.js +1 -1
  235. package/dist/components/skeleton.js +1 -1
  236. package/dist/components/slider.js +1 -1
  237. package/dist/components/stat.js +88 -74
  238. package/dist/components/stat.js.map +1 -1
  239. package/dist/components/status-dot.js +1 -1
  240. package/dist/components/surface.js +1 -1
  241. package/dist/components/swap-text.js +1 -1
  242. package/dist/components/switch.js +1 -1
  243. package/dist/components/table.js +1 -1
  244. package/dist/components/tabs.js +48 -49
  245. package/dist/components/tabs.js.map +1 -1
  246. package/dist/components/tag.js +1 -1
  247. package/dist/components/text.js +1 -1
  248. package/dist/components/theme-image.js +1 -1
  249. package/dist/components/theme-menu.js +2 -2
  250. package/dist/components/theme-select.js +1 -1
  251. package/dist/components/timeline.js +1 -1
  252. package/dist/components/toast.js +4 -4
  253. package/dist/components/toc.js +1 -1
  254. package/dist/components/toolbar.js +1 -1
  255. package/dist/components/tooltip.js +1 -1
  256. package/dist/components/visually-hidden.js +1 -1
  257. package/dist/format.js +87 -50
  258. package/dist/format.js.map +1 -1
  259. package/dist/i18n-provider.js +1 -1
  260. package/dist/index.js +115 -112
  261. package/dist/kaeso.css +20 -7
  262. package/dist/styles.css +1 -1
  263. package/dist/types/components/charts/bar.d.ts +6 -0
  264. package/dist/types/components/charts/core.d.ts +2 -2
  265. package/dist/types/components/charts/docs.d.ts +7 -0
  266. package/dist/types/components/charts/time-axis.d.ts +5 -0
  267. package/dist/types/components/charts/timeseries.d.ts +9 -0
  268. package/dist/types/components/code-block/highlighter.d.ts +2 -0
  269. package/dist/types/components/combobox/combobox.d.ts +2 -0
  270. package/dist/types/components/combobox/docs.d.ts +2 -4
  271. package/dist/types/components/command-list/command-list.d.ts +84 -0
  272. package/dist/types/components/command-list/docs.d.ts +52 -0
  273. package/dist/types/components/command-list/index.d.ts +3 -0
  274. package/dist/types/components/command-list/match.d.ts +1 -0
  275. package/dist/types/components/command-list/picker-popover.d.ts +44 -0
  276. package/dist/types/components/data-table/data-table.d.ts +3 -2
  277. package/dist/types/components/data-table/docs.d.ts +1 -0
  278. package/dist/types/components/date-picker/docs.d.ts +0 -6
  279. package/dist/types/components/dialog/dialog.d.ts +24 -0
  280. package/dist/types/components/dialog/docs.d.ts +4 -0
  281. package/dist/types/components/display-options/display-options.d.ts +1 -0
  282. package/dist/types/components/filter-chip/docs.d.ts +4 -0
  283. package/dist/types/components/filter-chip/filter-chip.d.ts +7 -0
  284. package/dist/types/components/input/docs.d.ts +2 -12
  285. package/dist/types/components/input/number-input.d.ts +1 -0
  286. package/dist/types/components/input/tag-input.d.ts +1 -0
  287. package/dist/types/components/kaeso/docs.d.ts +34 -0
  288. package/dist/types/components/kaeso/identity.d.ts +10 -1
  289. package/dist/types/components/kaeso/index.d.ts +1 -0
  290. package/dist/types/components/kaeso/provider-marks.d.ts +5 -1
  291. package/dist/types/components/kaeso/provider-picker.d.ts +42 -0
  292. package/dist/types/components/list/docs.d.ts +2 -0
  293. package/dist/types/components/list/list.d.ts +2 -0
  294. package/dist/types/components/menu/styles.d.ts +1 -1
  295. package/dist/types/components/playground/docs.d.ts +32 -0
  296. package/dist/types/components/playground/index.d.ts +1 -0
  297. package/dist/types/components/playground/model-picker.d.ts +39 -4
  298. package/dist/types/components/playground/reasoning.d.ts +29 -0
  299. package/dist/types/components/playground/response-view.d.ts +7 -1
  300. package/dist/types/components/release-art/docs.d.ts +1 -0
  301. package/dist/types/components/release-art/release-art.d.ts +1 -0
  302. package/dist/types/components/select/docs.d.ts +0 -2
  303. package/dist/types/components/select/option-checkbox.d.ts +1 -0
  304. package/dist/types/components/sidebar/sidebar.d.ts +1 -0
  305. package/dist/types/components/stat/docs.d.ts +1 -0
  306. package/dist/types/components/stat/stat.d.ts +1 -0
  307. package/dist/types/format/index.d.ts +6 -0
  308. package/dist/types/index.d.ts +1 -0
  309. package/dist/types/utils/index.d.ts +1 -1
  310. package/dist/types/utils/inset.d.ts +5 -0
  311. package/dist/types/utils/over-sheet.d.ts +1 -0
  312. package/dist/types/utils/restore-focus.d.ts +1 -1
  313. package/dist/utils.js +4 -4
  314. package/foundations/layout.md +45 -0
  315. package/foundations/writing.md +1 -0
  316. package/package.json +2 -2
  317. package/dist/chunks/app-frame-BXh-06HL.js +0 -214
  318. package/dist/chunks/app-frame-BXh-06HL.js.map +0 -1
  319. package/dist/chunks/cn-CidVUKMm.js.map +0 -1
  320. package/dist/chunks/code-block-DxtladFW.js.map +0 -1
  321. package/dist/chunks/collapsible-Cw_1aem5.js.map +0 -1
  322. package/dist/chunks/combobox-D30Wt11R.js +0 -291
  323. package/dist/chunks/combobox-D30Wt11R.js.map +0 -1
  324. package/dist/chunks/core-K960A4OT.js.map +0 -1
  325. package/dist/chunks/de-CTAo4KL7.js.map +0 -1
  326. package/dist/chunks/dialog-LNKgPEsV.js +0 -319
  327. package/dist/chunks/dialog-LNKgPEsV.js.map +0 -1
  328. package/dist/chunks/field-d8V94bvZ.js.map +0 -1
  329. package/dist/chunks/field-press-DwzBFafd.js +0 -10
  330. package/dist/chunks/field-press-DwzBFafd.js.map +0 -1
  331. package/dist/chunks/identity-BtZC_d_Q.js +0 -342
  332. package/dist/chunks/identity-BtZC_d_Q.js.map +0 -1
  333. package/dist/chunks/input-group-CYA1MEoZ.js.map +0 -1
  334. package/dist/chunks/inset-BLMdxX4I.js.map +0 -1
  335. package/dist/chunks/list-CzaiyNja.js +0 -483
  336. package/dist/chunks/list-CzaiyNja.js.map +0 -1
  337. package/dist/chunks/nav-sheet-BIErlV74.js +0 -58
  338. package/dist/chunks/nav-sheet-BIErlV74.js.map +0 -1
  339. package/dist/chunks/range-popup-DGOnGGag.js +0 -111
  340. package/dist/chunks/range-popup-DGOnGGag.js.map +0 -1
  341. package/dist/chunks/release-art-DEc9HNa6.js.map +0 -1
  342. package/dist/chunks/resize-motion-CMaidkwe.js.map +0 -1
  343. package/dist/chunks/rights-BbiJ0AJB.js.map +0 -1
  344. package/dist/chunks/select-Bc4kRiSG.js.map +0 -1
  345. package/dist/chunks/sidebar-5IA18LuP.js.map +0 -1
  346. package/dist/chunks/textarea-Cj8iR82R.js.map +0 -1
  347. package/dist/chunks/virtual-rows-BZe49bKi.js.map +0 -1
  348. package/dist/chunks/zh-CN-C7GmVswt.js.map +0 -1
  349. package/dist/components/charts/timeseries.js.map +0 -1
@@ -18,8 +18,6 @@ export declare const docs: {
18
18
  size: string;
19
19
  suggestions: string;
20
20
  value: string;
21
- };
22
- deprecated: {
23
21
  error: string;
24
22
  };
25
23
  };
@@ -38,17 +36,17 @@ export declare const docs: {
38
36
  loading: string;
39
37
  multiple: string;
40
38
  name: string;
39
+ createLabel: string;
41
40
  onCreate: string;
42
41
  onInputValueChange: string;
43
42
  onValueChange: string;
43
+ searchDelay: string;
44
44
  optional: string;
45
45
  options: string;
46
46
  placeholder: string;
47
47
  required: string;
48
48
  size: string;
49
49
  value: string;
50
- };
51
- deprecated: {
52
50
  error: string;
53
51
  };
54
52
  };
@@ -0,0 +1,84 @@
1
+ import { type KeyboardEvent, type ReactNode } from "react";
2
+ export declare const KAESO_COMMAND_LIST_VARIANTS: {
3
+ readonly height: {
4
+ readonly popover: {
5
+ readonly classes: "picker-limits";
6
+ readonly description: "At most 480px or 70% of the window, shrinking to its rows: a popover (default)";
7
+ };
8
+ readonly inline: {
9
+ readonly classes: "max-h-360 rounded-group bg-raised shadow-xs";
10
+ readonly description: "Its rows' height up to 360px in a raised frame, kept while searching: a dialog step";
11
+ };
12
+ readonly fill: {
13
+ readonly classes: "min-h-0 flex-1";
14
+ readonly description: "Fills its parent: a phone sheet or a command palette";
15
+ };
16
+ };
17
+ readonly size: {
18
+ readonly md: {
19
+ readonly classes: "";
20
+ readonly description: "A 44px search over 34px rows (default)";
21
+ };
22
+ readonly lg: {
23
+ readonly classes: "";
24
+ readonly description: "A 56px search over 40px rows: the command palette";
25
+ };
26
+ };
27
+ };
28
+ export declare const KAESO_COMMAND_LIST_DEFAULT_VARIANTS: {
29
+ readonly height: "popover";
30
+ readonly size: "md";
31
+ };
32
+ export type CommandListHeight = keyof typeof KAESO_COMMAND_LIST_VARIANTS.height;
33
+ export interface CommandListRowState {
34
+ query: string;
35
+ active: boolean;
36
+ selected: boolean;
37
+ }
38
+ export interface CommandListItem {
39
+ value: string;
40
+ label: string;
41
+ keywords?: readonly string[] | undefined;
42
+ leading?: ReactNode | undefined;
43
+ meta?: ReactNode | undefined;
44
+ render?: ((state: CommandListRowState) => ReactNode) | undefined;
45
+ disabled?: boolean | undefined;
46
+ }
47
+ export interface CommandListGroup {
48
+ id: string;
49
+ label?: string | undefined;
50
+ leading?: ReactNode | undefined;
51
+ count?: ReactNode | undefined;
52
+ loading?: boolean | undefined;
53
+ items: CommandListItem[];
54
+ }
55
+ export interface CommandListProps {
56
+ groups: CommandListGroup[];
57
+ "aria-label": string;
58
+ value?: string | readonly string[] | null | undefined;
59
+ multiple?: boolean | undefined;
60
+ onSelect?: ((value: string) => void) | undefined;
61
+ query?: string | undefined;
62
+ defaultQuery?: string | undefined;
63
+ onQueryChange?: ((query: string) => void) | undefined;
64
+ placeholder?: string | undefined;
65
+ emptyText?: ReactNode | undefined;
66
+ toolbar?: ReactNode | undefined;
67
+ footer?: ReactNode | undefined;
68
+ searchPrefix?: ReactNode | undefined;
69
+ loading?: boolean | undefined;
70
+ onInputKeyDown?: ((event: KeyboardEvent<HTMLInputElement>) => void) | undefined;
71
+ size?: keyof typeof KAESO_COMMAND_LIST_VARIANTS.size | undefined;
72
+ height?: CommandListHeight | undefined;
73
+ autoFocus?: boolean | undefined;
74
+ onEscape?: (() => void) | undefined;
75
+ escapeClears?: boolean | undefined;
76
+ match?: ((item: CommandListItem, query: string) => number) | undefined;
77
+ inputProps?: {
78
+ [attribute: `data-${string}`]: string;
79
+ } | undefined;
80
+ className?: string | undefined;
81
+ "data-force"?: string | undefined;
82
+ }
83
+ export declare const CommandListHeightContext: import("react").Context<"inline" | "fill" | "popover" | null>;
84
+ export declare const CommandList: import("react").ForwardRefExoticComponent<CommandListProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,52 @@
1
+ export declare const docs: {
2
+ CommandList: {
3
+ description: string;
4
+ props: {
5
+ "aria-label": string;
6
+ autoFocus: string;
7
+ defaultQuery: string;
8
+ escapeClears: string;
9
+ emptyText: string;
10
+ footer: string;
11
+ groups: string;
12
+ loading: string;
13
+ height: string;
14
+ inputProps: string;
15
+ match: string;
16
+ multiple: string;
17
+ onEscape: string;
18
+ onQueryChange: string;
19
+ onInputKeyDown: string;
20
+ onSelect: string;
21
+ placeholder: string;
22
+ query: string;
23
+ searchPrefix: string;
24
+ size: string;
25
+ toolbar: string;
26
+ value: string;
27
+ };
28
+ };
29
+ PickerPopover: {
30
+ description: string;
31
+ props: {
32
+ align: string;
33
+ children: string;
34
+ onOpenChange: string;
35
+ open: string;
36
+ title: string;
37
+ trigger: string;
38
+ width: string;
39
+ };
40
+ };
41
+ PickerTrigger: {
42
+ description: string;
43
+ props: {
44
+ appearance: string;
45
+ children: string;
46
+ fullWidth: string;
47
+ invalid: string;
48
+ placeholder: string;
49
+ size: string;
50
+ };
51
+ };
52
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./command-list.js";
2
+ export * from "./picker-popover.js";
3
+ export { commandMatch } from "./match.js";
@@ -0,0 +1 @@
1
+ export declare function commandMatch(query: string, fields: readonly string[]): number;
@@ -0,0 +1,44 @@
1
+ import { type ButtonHTMLAttributes, type ReactElement, type ReactNode } from "react";
2
+ import { KAESO_SELECT_VARIANTS } from "../select/select.js";
3
+ export declare const KAESO_PICKER_POPOVER_VARIANTS: {
4
+ readonly width: {
5
+ readonly sm: {
6
+ readonly classes: "w-320";
7
+ readonly description: "320px: providers and short lists";
8
+ };
9
+ readonly md: {
10
+ readonly classes: "w-400";
11
+ readonly description: "400px (default)";
12
+ };
13
+ readonly lg: {
14
+ readonly classes: "w-560";
15
+ readonly description: "560px: models with their details";
16
+ };
17
+ };
18
+ };
19
+ export declare const KAESO_PICKER_POPOVER_DEFAULT_VARIANTS: {
20
+ readonly width: "md";
21
+ };
22
+ export interface PickerPopoverProps {
23
+ trigger: ReactElement;
24
+ title: string;
25
+ open?: boolean | undefined;
26
+ onOpenChange?: ((open: boolean) => void) | undefined;
27
+ width?: keyof typeof KAESO_PICKER_POPOVER_VARIANTS.width | undefined;
28
+ align?: "start" | "end" | undefined;
29
+ children: ReactNode;
30
+ }
31
+ export declare function PickerPopover({ trigger, title, open, onOpenChange, width, align, children }: PickerPopoverProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare namespace PickerPopover {
33
+ var displayName: string;
34
+ }
35
+ export interface PickerTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
36
+ appearance?: keyof typeof KAESO_SELECT_VARIANTS.appearance | undefined;
37
+ size?: keyof typeof KAESO_SELECT_VARIANTS.size | undefined;
38
+ fullWidth?: boolean | undefined;
39
+ invalid?: boolean | undefined;
40
+ placeholder?: ReactNode | undefined;
41
+ children?: ReactNode | undefined;
42
+ "data-force"?: string | undefined;
43
+ }
44
+ export declare const PickerTrigger: import("react").ForwardRefExoticComponent<PickerTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -58,6 +58,7 @@ export interface DataTableProps<T> {
58
58
  className?: string | undefined;
59
59
  activeRowId?: string | undefined;
60
60
  freshRowIds?: ReadonlySet<string> | undefined;
61
+ onHiddenColumnsChange?: ((ids: string[]) => void) | undefined;
61
62
  }
62
63
  export declare const DATA_TABLE_GROW_MIN = 136;
63
64
  type FitColumn = {
@@ -68,12 +69,12 @@ type FitColumn = {
68
69
  minWidth: number | undefined;
69
70
  fixed?: boolean | undefined;
70
71
  };
71
- export declare function fitColumns(columns: FitColumn[], width: number): {
72
+ export declare function fitColumns(columns: FitColumn[], width: number, reserve?: number): {
72
73
  hidden: string[];
73
74
  tight: boolean;
74
75
  overflow: boolean;
75
76
  };
76
- declare function DataTableInner<T>({ data, columns: userColumns, getRowId, density, onRowClick, rowMenu, selectable, selection, onSelectionChange, sorting: sortingProp, onSortingChange, manualSorting, loading, error, onRetry, empty, hasMore, loadingMore, onLoadMore, stickyFirstColumn, virtualizeAbove, className, activeRowId, freshRowIds, "aria-label": ariaLabel, }: DataTableProps<T>, ref: React.Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
77
+ declare function DataTableInner<T>({ data, columns: userColumns, getRowId, density, onRowClick, rowMenu, selectable, selection, onSelectionChange, sorting: sortingProp, onSortingChange, manualSorting, loading, error, onRetry, empty, hasMore, loadingMore, onLoadMore, stickyFirstColumn, virtualizeAbove, className, activeRowId, freshRowIds, onHiddenColumnsChange, "aria-label": ariaLabel, }: DataTableProps<T>, ref: React.Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
77
78
  export declare const DataTable: <T>(p: DataTableProps<T> & {
78
79
  ref?: React.Ref<HTMLDivElement> | undefined;
79
80
  }) => ReturnType<typeof DataTableInner>;
@@ -15,6 +15,7 @@ export declare const docs: {
15
15
  loading: string;
16
16
  loadingMore: string;
17
17
  manualSorting: string;
18
+ onHiddenColumnsChange: string;
18
19
  onLoadMore: string;
19
20
  onRetry: string;
20
21
  onRowClick: string;
@@ -18,8 +18,6 @@ export declare const docs: {
18
18
  size: string;
19
19
  value: string;
20
20
  weekStartsOn: string;
21
- };
22
- deprecated: {
23
21
  error: string;
24
22
  };
25
23
  };
@@ -44,8 +42,6 @@ export declare const docs: {
44
42
  size: string;
45
43
  value: string;
46
44
  weekStartsOn: string;
47
- };
48
- deprecated: {
49
45
  error: string;
50
46
  };
51
47
  };
@@ -65,8 +61,6 @@ export declare const docs: {
65
61
  size: string;
66
62
  utc: string;
67
63
  value: string;
68
- };
69
- deprecated: {
70
64
  error: string;
71
65
  };
72
66
  };
@@ -14,9 +14,20 @@ export declare const KAESO_DIALOG_VARIANTS: {
14
14
  readonly description: "720px: two columns, previews";
15
15
  };
16
16
  };
17
+ readonly anchor: {
18
+ readonly center: {
19
+ readonly classes: "items-center";
20
+ readonly description: "Centered on the screen (default)";
21
+ };
22
+ readonly top: {
23
+ readonly classes: "items-start pt-dialog-top";
24
+ readonly description: "A fixed top edge, for content that changes height, such as the steps of a StepDialog";
25
+ };
26
+ };
17
27
  };
18
28
  export declare const KAESO_DIALOG_DEFAULT_VARIANTS: {
19
29
  readonly size: "md";
30
+ readonly anchor: "center";
20
31
  };
21
32
  export interface DialogProps {
22
33
  open?: boolean | undefined;
@@ -27,6 +38,7 @@ export interface DialogProps {
27
38
  description?: ReactNode | undefined;
28
39
  busy?: boolean | undefined;
29
40
  size?: keyof typeof KAESO_DIALOG_VARIANTS.size | undefined;
41
+ anchor?: keyof typeof KAESO_DIALOG_VARIANTS.anchor | undefined;
30
42
  children?: ReactNode | undefined;
31
43
  footer?: ReactNode | undefined;
32
44
  onSubmit?: (() => void) | undefined;
@@ -34,6 +46,7 @@ export interface DialogProps {
34
46
  headerStart?: ReactNode | undefined;
35
47
  className?: string | undefined;
36
48
  inline?: boolean | undefined;
49
+ persistent?: boolean | undefined;
37
50
  }
38
51
  declare function Close({ children }: {
39
52
  children: ReactElement<{
@@ -99,9 +112,20 @@ export declare const KAESO_LAYER_DIALOG_VARIANTS: {
99
112
  readonly description: "720px: two columns, previews";
100
113
  };
101
114
  };
115
+ readonly anchor: {
116
+ readonly center: {
117
+ readonly classes: "items-center";
118
+ readonly description: "Centered on the screen (default)";
119
+ };
120
+ readonly top: {
121
+ readonly classes: "items-start pt-dialog-top";
122
+ readonly description: "A fixed top edge, for content that changes height, such as the steps of a StepDialog";
123
+ };
124
+ };
102
125
  };
103
126
  export declare const KAESO_LAYER_DIALOG_DEFAULT_VARIANTS: {
104
127
  readonly size: "md";
128
+ readonly anchor: "center";
105
129
  };
106
130
  export interface DialogLayer {
107
131
  title: ReactNode;
@@ -20,6 +20,7 @@ export declare const docs: {
20
20
  Dialog: {
21
21
  description: string;
22
22
  props: {
23
+ anchor: string;
23
24
  busy: string;
24
25
  children: string;
25
26
  defaultOpen: string;
@@ -31,6 +32,7 @@ export declare const docs: {
31
32
  onOpenChange: string;
32
33
  onSubmit: string;
33
34
  open: string;
35
+ persistent: string;
34
36
  size: string;
35
37
  title: string;
36
38
  trigger: string;
@@ -46,6 +48,7 @@ export declare const docs: {
46
48
  LayerDialog: {
47
49
  description: string;
48
50
  props: {
51
+ anchor: string;
49
52
  busy: string;
50
53
  defaultOpen: string;
51
54
  hideClose: string;
@@ -56,6 +59,7 @@ export declare const docs: {
56
59
  onOpenChange: string;
57
60
  onSubmit: string;
58
61
  open: string;
62
+ persistent: string;
59
63
  size: string;
60
64
  trigger: string;
61
65
  };
@@ -44,6 +44,7 @@ export interface DisplayOptionsProps {
44
44
  }[];
45
45
  value: string[];
46
46
  onChange: (v: string[]) => void;
47
+ hidden?: string[] | undefined;
47
48
  } | undefined;
48
49
  trigger?: keyof typeof KAESO_DISPLAY_OPTIONS_VARIANTS.trigger | undefined;
49
50
  inline?: boolean | undefined;
@@ -3,16 +3,20 @@ export declare const docs: {
3
3
  description: string;
4
4
  props: {
5
5
  defaultValuesOpen: string;
6
+ groups: string;
6
7
  multiple: string;
7
8
  onOperatorChange: string;
8
9
  onRemove: string;
9
10
  onSelectedChange: string;
11
+ onValuesOpenChange: string;
10
12
  operator: string;
11
13
  operators: string;
12
14
  property: string;
13
15
  propertyIcon: string;
16
+ searchable: string;
14
17
  selected: string;
15
18
  value: string;
19
+ width: string;
16
20
  values: string;
17
21
  };
18
22
  };
@@ -1,5 +1,7 @@
1
1
  import { type ReactNode } from "react";
2
2
  import { type IconData } from "../icon/icon.js";
3
+ import { type CommandListGroup } from "../command-list/command-list.js";
4
+ import { type PickerPopoverProps } from "../command-list/picker-popover.js";
3
5
  export declare const KAESO_FILTER_CHIP_VARIANTS: {
4
6
  readonly size: {
5
7
  readonly sm: {
@@ -17,6 +19,7 @@ export interface FilterChipChoice {
17
19
  icon?: IconData | undefined;
18
20
  leading?: ReactNode | undefined;
19
21
  textValue?: string | undefined;
22
+ group?: string | undefined;
20
23
  }
21
24
  export interface FilterChipProps {
22
25
  property: ReactNode;
@@ -26,11 +29,15 @@ export interface FilterChipProps {
26
29
  onOperatorChange?: ((operator: string) => void) | undefined;
27
30
  value: ReactNode;
28
31
  values?: FilterChipChoice[] | undefined;
32
+ groups?: CommandListGroup[] | undefined;
33
+ searchable?: boolean | undefined;
34
+ width?: PickerPopoverProps["width"] | undefined;
29
35
  selected?: string[] | undefined;
30
36
  multiple?: boolean | undefined;
31
37
  onSelectedChange?: ((selected: string[]) => void) | undefined;
32
38
  onRemove?: (() => void) | undefined;
33
39
  defaultValuesOpen?: boolean | undefined;
40
+ onValuesOpenChange?: ((open: boolean) => void) | undefined;
34
41
  className?: string | undefined;
35
42
  "data-force"?: string | undefined;
36
43
  }
@@ -13,8 +13,6 @@ export declare const docs: {
13
13
  size: string;
14
14
  suffix: string;
15
15
  trailing: string;
16
- };
17
- deprecated: {
18
16
  error: string;
19
17
  };
20
18
  };
@@ -36,6 +34,7 @@ export declare const docs: {
36
34
  defaultValue: string;
37
35
  description: string;
38
36
  hideStepper: string;
37
+ integer: string;
39
38
  invalid: string;
40
39
  label: string;
41
40
  layout: string;
@@ -51,8 +50,6 @@ export declare const docs: {
51
50
  trailing: string;
52
51
  unit: string;
53
52
  value: string;
54
- };
55
- deprecated: {
56
53
  error: string;
57
54
  };
58
55
  };
@@ -82,8 +79,6 @@ export declare const docs: {
82
79
  shortcut: string;
83
80
  size: string;
84
81
  trailing: string;
85
- };
86
- deprecated: {
87
82
  error: string;
88
83
  };
89
84
  };
@@ -102,8 +97,6 @@ export declare const docs: {
102
97
  prefix: string;
103
98
  size: string;
104
99
  suffix: string;
105
- };
106
- deprecated: {
107
100
  error: string;
108
101
  };
109
102
  };
@@ -118,6 +111,7 @@ export declare const docs: {
118
111
  label: string;
119
112
  layout: string;
120
113
  name: string;
114
+ onInputValueChange: string;
121
115
  onValueChange: string;
122
116
  optional: string;
123
117
  placeholder: string;
@@ -125,8 +119,6 @@ export declare const docs: {
125
119
  separators: string;
126
120
  validate: string;
127
121
  value: string;
128
- };
129
- deprecated: {
130
122
  error: string;
131
123
  };
132
124
  };
@@ -141,8 +133,6 @@ export declare const docs: {
141
133
  mono: string;
142
134
  optional: string;
143
135
  resize: string;
144
- };
145
- deprecated: {
146
136
  error: string;
147
137
  };
148
138
  };
@@ -23,6 +23,7 @@ export interface NumberInputProps extends Omit<InputProps, "type" | "value" | "d
23
23
  min?: string | undefined;
24
24
  max?: string | undefined;
25
25
  hideStepper?: boolean | undefined;
26
+ integer?: boolean | undefined;
26
27
  align?: keyof typeof KAESO_NUMBER_INPUT_VARIANTS.align | undefined;
27
28
  }
28
29
  export declare const NumberInput: import("react").ForwardRefExoticComponent<NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -14,6 +14,7 @@ export interface TagInputProps extends FieldWrapProps {
14
14
  value?: string[] | undefined;
15
15
  defaultValue?: string[] | undefined;
16
16
  onValueChange?: ((value: string[]) => void) | undefined;
17
+ onInputValueChange?: ((draft: string) => void) | undefined;
17
18
  placeholder?: string | undefined;
18
19
  validate?: ((tag: string) => true | string) | undefined;
19
20
  separators?: string[] | undefined;
@@ -32,6 +32,7 @@ export declare const docs: {
32
32
  copy: string;
33
33
  redacted: string;
34
34
  state: string;
35
+ stateBadge: string;
35
36
  };
36
37
  };
37
38
  LimitMeter: {
@@ -52,19 +53,28 @@ export declare const docs: {
52
53
  description: string;
53
54
  props: {
54
55
  capabilities: string;
56
+ mark: string;
55
57
  model: string;
56
58
  name: string;
57
59
  provider: string;
60
+ providerName: string;
58
61
  };
59
62
  };
60
63
  ProviderBadge: {
61
64
  description: string;
62
65
  props: {
66
+ name: string;
63
67
  provider: string;
64
68
  size: string;
65
69
  withName: string;
66
70
  };
67
71
  };
72
+ CapabilityIcons: {
73
+ description: string;
74
+ props: {
75
+ capabilities: string;
76
+ };
77
+ };
68
78
  ProviderCard: {
69
79
  description: string;
70
80
  props: {
@@ -72,10 +82,34 @@ export declare const docs: {
72
82
  connected: string;
73
83
  detail: string;
74
84
  keyLabel: string;
85
+ name: string;
75
86
  provider: string;
76
87
  status: string;
77
88
  };
78
89
  };
90
+ ProviderPicker: {
91
+ description: string;
92
+ props: {
93
+ description: string;
94
+ label: string;
95
+ layout: string;
96
+ optional: string;
97
+ required: string;
98
+ allLabel: string;
99
+ appearance: string;
100
+ "aria-label": string;
101
+ autoFocus: string;
102
+ disabled: string;
103
+ onValueChange: string;
104
+ placeholder: string;
105
+ providers: string;
106
+ size: string;
107
+ value: string;
108
+ };
109
+ deprecated: {
110
+ error: string;
111
+ };
112
+ };
79
113
  RequestTimeline: {
80
114
  description: string;
81
115
  props: {
@@ -22,9 +22,10 @@ export declare const KAESO_IDENTITY_VARIANTS: {
22
22
  export declare const KAESO_IDENTITY_DEFAULT_VARIANTS: {
23
23
  readonly provider: "md";
24
24
  };
25
- export declare const providerName: (id: string) => string;
25
+ export declare const providerName: (id: string, name?: string | undefined) => string;
26
26
  export declare const ProviderBadge: import("react").ForwardRefExoticComponent<{
27
27
  provider: string;
28
+ name?: string | undefined;
28
29
  size?: keyof typeof KAESO_IDENTITY_VARIANTS.provider | undefined;
29
30
  withName?: boolean | undefined;
30
31
  className?: string | undefined;
@@ -32,12 +33,18 @@ export declare const ProviderBadge: import("react").ForwardRefExoticComponent<{
32
33
  export type Capability = "tools" | "reasoning" | "vision" | "pdf" | "structuredOutput";
33
34
  export interface ModelLabelProps {
34
35
  provider: string;
36
+ providerName?: string | undefined;
35
37
  model: string;
36
38
  name?: string | undefined;
37
39
  capabilities?: Capability[] | undefined;
40
+ mark?: boolean | undefined;
38
41
  className?: string | undefined;
39
42
  }
40
43
  export declare const ModelLabel: import("react").ForwardRefExoticComponent<ModelLabelProps & import("react").RefAttributes<HTMLSpanElement>>;
44
+ export declare const CapabilityIcons: import("react").ForwardRefExoticComponent<{
45
+ capabilities: Capability[];
46
+ className?: string | undefined;
47
+ } & import("react").RefAttributes<HTMLSpanElement>>;
41
48
  export type KeyState = "active" | "disabled" | "expired" | "archived";
42
49
  export interface KeyDisplayProps {
43
50
  redacted: string;
@@ -45,6 +52,7 @@ export interface KeyDisplayProps {
45
52
  access?: "inference" | "platform" | "both" | undefined;
46
53
  copy?: boolean | undefined;
47
54
  className?: string | undefined;
55
+ stateBadge?: boolean | undefined;
48
56
  }
49
57
  export declare const KeyDisplay: import("react").ForwardRefExoticComponent<KeyDisplayProps & import("react").RefAttributes<HTMLSpanElement>>;
50
58
  export declare const StatusCode: import("react").ForwardRefExoticComponent<{
@@ -60,6 +68,7 @@ export declare const RequestTimeline: import("react").ForwardRefExoticComponent<
60
68
  } & import("react").RefAttributes<HTMLDivElement>>;
61
69
  export interface ProviderCardProps {
62
70
  provider: string;
71
+ name?: string | undefined;
63
72
  connected: boolean;
64
73
  status: ReactNode;
65
74
  keyLabel?: ReactNode | undefined;
@@ -6,3 +6,4 @@ export * from "./rights.js";
6
6
  export * from "./rights-logic.js";
7
7
  export * from "./role-picker.js";
8
8
  export * from "./effective-access.js";
9
+ export * from "./provider-picker.js";
@@ -1 +1,5 @@
1
- export declare const PROVIDER_MARKS: Record<string, string>;
1
+ export interface ProviderMark {
2
+ d: string;
3
+ color: string;
4
+ }
5
+ export declare const PROVIDER_MARKS: Record<string, ProviderMark>;